diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000000000000000000000000000000000000..a55e7a179bde3e4e772c29c0c85e53354aa54618 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ +<component name="ProjectCodeStyleConfiguration"> + <state> + <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" /> + </state> +</component> \ No newline at end of file diff --git a/Makefile b/Makefile index 80528e644d67bf39cfce704e568369f5b9877f2c..186f344970bd2cf35bb014310fca3ec0bcaec7e1 100644 --- a/Makefile +++ b/Makefile @@ -310,8 +310,9 @@ test-browser-monster: $(QUIET) $(FIND) $(MONSTER_TEST_CASE_DIR) -type f | $(SED) "s|^$(MONSTER_TEST_CASE_DIR)||" > $(MONSTER_TEST_DIR)web/import.js $(QUIET) $(SED) -i 's|^|import "../cases/|' $(MONSTER_TEST_DIR)web/import.js $(QUIET) $(SED) -i 's|$$|";|' $(MONSTER_TEST_DIR)web/import.js + $(QUIET) $(SED) -i "1 i SharedArrayBuffer = ArrayBuffer;" $(MONSTER_TEST_DIR)web/import.js $(QUIET) $(SED) -i "1 i /** this file was created automatically by the make target test-browser-monster */" $(MONSTER_TEST_DIR)web/import.js - $(QUIET) $(BROWSERIFY) $(MONSTER_TEST_DIR)web/import.js -t [ babelify --presets [ @babel/preset-env ] ] > $(MONSTER_TEST_DIR)web/tests.js + $(QUIET) $(BROWSERIFY) $(MONSTER_TEST_DIR)web/import.js -t [ babelify --presets [ @babel/preset-env ] --plugins [ @babel/plugin-transform-runtime ] ] > $(MONSTER_TEST_DIR)web/tests.js $(QUIET) google-chrome --profile-directory="Default" $(MONSTER_TEST_DIR)web/test.html .PHONY: test-monster diff --git a/README.md b/README.md index 7e64c5d428b5885ba50a867416a2ba5cdcdaf7d2..b292a428acd004d724b98970f789c92c16199dcf 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ One first design target is to reach the shiny sun with as little Javascript as p Monster was built with ES6 modules and uses [import](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/import) and [export](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export). -There is a version in the `/dist` folder that was built via browserfy and thus supports all browsers that are compatible with ES5. +There is a version in the `/dist` folder that was built via [browserify](https://browserify.org/) and thus supports all browsers that are compatible with ES5. ## Build & Development diff --git a/carbon-config.json b/carbon-config.json new file mode 100644 index 0000000000000000000000000000000000000000..7348b3ced4b33924d355c5e94d8822b5b6e699f9 --- /dev/null +++ b/carbon-config.json @@ -0,0 +1 @@ +{"paddingVertical":"74px","paddingHorizontal":"56px","backgroundImage":null,"backgroundImageSelection":null,"backgroundMode":"color","backgroundColor":"rgba(239,40,44,1)","dropShadow":true,"dropShadowOffsetY":"20px","dropShadowBlurRadius":"68px","theme":"one-light","windowTheme":"boxy","language":"htmlmixed","fontFamily":"Hack","fontSize":"14px","lineHeight":"143%","windowControls":true,"widthAdjustment":true,"lineNumbers":false,"firstLineNumber":1,"exportSize":"2x","watermark":false,"squaredImage":false,"hiddenCharacters":false,"name":"Monster Version","width":680} \ No newline at end of file diff --git a/docs/Monster.Constraint.Valid.html b/docs/Monster.Constraint.Valid.html deleted file mode 100644 index 2ba036a777197b5697ff05057b49684de04c953a..0000000000000000000000000000000000000000 --- a/docs/Monster.Constraint.Valid.html +++ /dev/null @@ -1,375 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Valid - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster.Constraints.html">Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">Valid</h1> - - - - - - - -<section> - -<header> - - <h2> - Valid - </h2> - - <div class="class-description usertext"><p>the valid constraint allows an always valid query to be performed. this contraint is mainly intended for testing.</p> -<p>you can call the method via the monster namespace <code>new Monster.Constraint.Valid()</code>.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; -new Monster.Constraint.Valid().then(()=>console.log(true)); -</script> -</code></pre> -<p>Alternatively, you can also integrate this function individually.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; -new Valid().then(()=>console.log(true)); -</script> -</code></pre></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="Valid"><span class="type-signature"></span>new Valid<span class="signature">()</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_valid.js.html">constraint/valid.js</a>, <a href="constraint_valid.js.html#line34">line 34</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="isValid"><span class="type-signature"></span>isValid<span class="signature">(value)</span><span class="type-signature"> → {Promise}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_valid.js.html">constraint/valid.js</a>, <a href="constraint_valid.js.html#line42">line 42</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>this method return a promise containing the result of the check.</p> -</div> - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Promise</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster.Constraints.html b/docs/Monster.Constraints.html deleted file mode 100644 index c954bb5bd020603d03676191cf74189375f1a700..0000000000000000000000000000000000000000 --- a/docs/Monster.Constraints.html +++ /dev/null @@ -1,170 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Constraints - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster.Constraints.html">Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">Constraints</h1> - - - - - - - -<section> - -<header> - - <h2> - <span class="ancestors"><a href="global.html#Monster">Monster</a>.</span> - - Constraints - </h2> - - -</header> - -<article> - - <div class="container-overview"> - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_namespace.js.html">constraint/namespace.js</a>, <a href="constraint_namespace.js.html#line3">line 3</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - <dt class="tag-author">Author:</dt> - <dd class="tag-author"> - <ul> - <li>schukai GmbH</li> - </ul> - </dd> - - - - - - - - - - - - - -</dl> - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster.DOM.Assembler.html b/docs/Monster.DOM.Assembler.html new file mode 100644 index 0000000000000000000000000000000000000000..56bf44d7d51db26596ac2077e27a79966dcb40e4 --- /dev/null +++ b/docs/Monster.DOM.Assembler.html @@ -0,0 +1,814 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>Assembler - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">Assembler</h1> + + + + + + + +<section> + +<header> + + <h2> + Assembler + </h2> + + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.DOM.Assembler()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; +console.log(new Monster.DOM.Assembler()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; +console.log(new Assembler()) +</script> +</code></pre></div> + + +</header> + +<article> + + <div class="container-overview"> + + + + + <h2>Constructor</h2> + + + <h4 class="name" id="Assembler"><span class="type-signature"></span>new Assembler<span class="signature">(fragment)</span><span class="type-signature"></span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line44">line 44</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>fragment</code></td> + + + <td class="type"> + + +<span class="param-type">DocumentFragment</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> +<ul> + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a function</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>the function is not defined</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + </ul> + + + + + + + </div> + + + + + + + + + + + + + + + + + + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id="createDocumentFragment"><span class="type-signature"></span>createDocumentFragment<span class="signature">(data)</span><span class="type-signature"> → {DocumentFragment}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line85">line 85</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>data</code></td> + + + <td class="type"> + + +<span class="param-type">ProxyObserver</span> +| + +<span class="param-type">undefined</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">DocumentFragment</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="getAttributePrefix"><span class="type-signature"></span>getAttributePrefix<span class="signature">()</span><span class="type-signature"> → {string}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line75">line 75</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">string</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="setAttributePrefix"><span class="type-signature"></span>setAttributePrefix<span class="signature">(prefix)</span><span class="type-signature"> → {Assembler}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line65">line 65</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>prefix</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a string</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Assembler</span> + + + </dd> +</dl> + + + + + + + + + + + +</article> + +</section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> \ No newline at end of file diff --git a/docs/Monster.DOM.Handle.html b/docs/Monster.DOM.Handle.html new file mode 100644 index 0000000000000000000000000000000000000000..9dd60035a5b5a6550d437d0b2157a4fb3b9b2247 --- /dev/null +++ b/docs/Monster.DOM.Handle.html @@ -0,0 +1,676 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>Handle - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">Handle</h1> + + + + + + + +<section> + +<header> + + <h2> + Handle + </h2> + + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.DOM.Handle()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; +console.log(new Monster.DOM.Handle()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Handle} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; +console.log(new Handle()) +</script> +</code></pre></div> + + +</header> + +<article> + + <div class="container-overview"> + + + + + <h2>Constructor</h2> + + + <h4 class="name" id="Handle"><span class="type-signature"></span>new Handle<span class="signature">(data)</span><span class="type-signature"></span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_handle.js.html">dom/handle.js</a>, <a href="dom_handle.js.html#line46">line 46</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>data</code></td> + + + <td class="type"> + + +<span class="param-type">ProxyObserver</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + + + + + + + + </div> + + + + + + + + + + + + + + + + + + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id="append"><span class="type-signature"></span>append<span class="signature">(node)</span><span class="type-signature"> → {Handle}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_handle.js.html">dom/handle.js</a>, <a href="dom_handle.js.html#line109">line 109</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>node</code></td> + + + <td class="type"> + + +<span class="param-type">HTMLElement</span> +| + +<span class="param-type">Document</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Handle</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="remove"><span class="type-signature"></span>remove<span class="signature">(node)</span><span class="type-signature"> → {Handle}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_handle.js.html">dom/handle.js</a>, <a href="dom_handle.js.html#line83">line 83</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>node</code></td> + + + <td class="type"> + + +<span class="param-type">HTMLElement</span> +| + +<span class="param-type">Document</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Handle</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="update"><span class="type-signature"></span>update<span class="signature">()</span><span class="type-signature"> → {void}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_handle.js.html">dom/handle.js</a>, <a href="dom_handle.js.html#line74">line 74</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">void</span> + + + </dd> +</dl> + + + + + + + + + + + +</article> + +</section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> \ No newline at end of file diff --git a/docs/Monster.DOM.html b/docs/Monster.DOM.html new file mode 100644 index 0000000000000000000000000000000000000000..8e798c761851ad7bef5b5c5f02b0ee577aa317b5 --- /dev/null +++ b/docs/Monster.DOM.html @@ -0,0 +1,257 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>DOM - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster.DOM.html">DOM</a></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">DOM</h1> + + + + + + + +<section> + +<header> + + <h2> + <span class="ancestors"><a href="global.html#Monster">Monster</a>.</span> + + DOM + </h2> + + +</header> + +<article> + + <div class="container-overview"> + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_namespace.js.html">dom/namespace.js</a>, <a href="dom_namespace.js.html#line3">line 3</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + <dt class="tag-author">Author:</dt> + <dd class="tag-author"> + <ul> + <li>schukai GmbH</li> + </ul> + </dd> + + + + + + + + + + + + + +</dl> + + + + + + + + + </div> + + + + + + + + <h3 class="subsection-title">Classes</h3> + + <dl> + <dt><a href="Monster.DOM.Assembler.html">Assembler</a></dt> + <dd></dd> + + <dt><a href="Monster.DOM.Handle.html">Handle</a></dt> + <dd></dd> + </dl> + + + + + + + + + + <h3 class="subsection-title">Members</h3> + + + +<h4 class="name" id=".ATTRIBUTEPREFIX"><span class="type-signature">(static, constant) </span>ATTRIBUTEPREFIX<span class="type-signature"> :string</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line19">line 19</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>attribute prefix</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">string</span> + + + </li> + </ul> + + + + + + + + + + + + + + +</article> + +</section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> \ No newline at end of file diff --git a/docs/Monster.Namespace.html b/docs/Monster.Namespace.html index 536cb27405816d0856a19d71b4417671fc45e21b..a99e78311c6aed1af80465943f098bb2e33e4d8f 100644 --- a/docs/Monster.Namespace.html +++ b/docs/Monster.Namespace.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -84,7 +84,7 @@ <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line21">line 21</a> + <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line20">line 20</a> </li></ul></dd> @@ -256,7 +256,7 @@ <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line39">line 39</a> + <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line38">line 38</a> </li></ul></dd> @@ -357,7 +357,7 @@ <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line47">line 47</a> + <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line46">line 46</a> </li></ul></dd> diff --git a/docs/Monster_Constraint.AbstractConstraint.html b/docs/Monster_Constraint.AbstractConstraint.html deleted file mode 100644 index c8ce124c08f256caaf9d765f92e158a97b4ed554..0000000000000000000000000000000000000000 --- a/docs/Monster_Constraint.AbstractConstraint.html +++ /dev/null @@ -1,364 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>AbstractConstraint - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">AbstractConstraint</h1> - - - - - - - -<section> - -<header> - - <h2> - AbstractConstraint - </h2> - - <div class="class-description usertext"><p>the abstract contraint defines the api for all constraints. mainly the method isValid() is defined.</p> -<p>derived classes must implement the method isValid().</p></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="AbstractConstraint"><span class="type-signature"></span>new AbstractConstraint<span class="signature">()</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_abstract.js.html">constraint/abstract.js</a>, <a href="constraint_abstract.js.html#line20">line 20</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="isValid"><span class="type-signature"></span>isValid<span class="signature">(value)</span><span class="type-signature"> → {Promise}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_abstract.js.html">constraint/abstract.js</a>, <a href="constraint_abstract.js.html#line35">line 35</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>this method must return a promise containing the result of the check.</p> -</div> - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Promise</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Constraint.AbstractOperator.html b/docs/Monster_Constraint.AbstractOperator.html deleted file mode 100644 index 0767ce7cebbf9e4d2b24da62ace6fd96de4d4d42..0000000000000000000000000000000000000000 --- a/docs/Monster_Constraint.AbstractOperator.html +++ /dev/null @@ -1,306 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>AbstractOperator - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">AbstractOperator</h1> - - - - - - - -<section> - -<header> - - <h2> - AbstractOperator - </h2> - - <div class="class-description usertext"><p>Operators allow you to link constraints together. for example, you can check whether a value is an object or an array. each operator has two operands that are linked together.</p></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="AbstractOperator"><span class="type-signature"></span>new AbstractOperator<span class="signature">(operantA, operantB)</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_abstractoperator.js.html">constraint/abstractoperator.js</a>, <a href="constraint_abstractoperator.js.html#line16">line 16</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>operantA</code></td> - - - <td class="type"> - - -<span class="param-type">AbstractConstraint</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - - <tr> - - <td class="name"><code>operantB</code></td> - - - <td class="type"> - - -<span class="param-type">AbstractConstraint</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - -<h5>Throws:</h5> - - - -<dl> - <dt> - <div class="param-desc usertext"> - <p>"parameters must be from type AbstractConstraint"</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Constraint.AndOperator.html b/docs/Monster_Constraint.AndOperator.html deleted file mode 100644 index 1e244049876ea042e952eb184ee7267404927e5b..0000000000000000000000000000000000000000 --- a/docs/Monster_Constraint.AndOperator.html +++ /dev/null @@ -1,375 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>AndOperator - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">AndOperator</h1> - - - - - - - -<section> - -<header> - - <h2> - AndOperator - </h2> - - <div class="class-description usertext"><p>The AndOperator is used to link several contraints. The constraint is fulfilled if all constraints of the operators are fulfilled.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/andoperator.js'; -new Monster.Constraint.AndOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); -</script> -</code></pre> -<p>Alternatively, you can also integrate this function individually.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; -import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/andoperator.js'; -new AndOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); -</script> -</code></pre></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="AndOperator"><span class="type-signature"></span>new AndOperator<span class="signature">()</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_andoperator.js.html">constraint/andoperator.js</a>, <a href="constraint_andoperator.js.html#line34">line 34</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="isValid"><span class="type-signature"></span>isValid<span class="signature">(value)</span><span class="type-signature"> → {Promise}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_andoperator.js.html">constraint/andoperator.js</a>, <a href="constraint_andoperator.js.html#line42">line 42</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>this method return a promise containing the result of the check.</p> -</div> - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Promise</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Constraint.Invalid.html b/docs/Monster_Constraint.Invalid.html deleted file mode 100644 index 61832fc5958225c130b33d21322e23984f666d8d..0000000000000000000000000000000000000000 --- a/docs/Monster_Constraint.Invalid.html +++ /dev/null @@ -1,375 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Invalid - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">Invalid</h1> - - - - - - - -<section> - -<header> - - <h2> - Invalid - </h2> - - <div class="class-description usertext"><p>the invalid constraint allows an always invalid query to be performed. this contraint is mainly intended for testing.</p> -<p>you can call the method via the monster namespace <code>new Monster.Constraint.Invalid()</code>.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/invalid.js'; -new Monster.Constraint.Invalid().catch(()=>console.log(true)); -</script> -</code></pre> -<p>Alternatively, you can also integrate this function individually.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/invalid.js'; -new Invalid().catch(()=>console.log(true)); -</script> -</code></pre></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="Invalid"><span class="type-signature"></span>new Invalid<span class="signature">()</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_invalid.js.html">constraint/invalid.js</a>, <a href="constraint_invalid.js.html#line34">line 34</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="isValid"><span class="type-signature"></span>isValid<span class="signature">(value)</span><span class="type-signature"> → {Promise}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_invalid.js.html">constraint/invalid.js</a>, <a href="constraint_invalid.js.html#line42">line 42</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>this method return a rejected promise</p> -</div> - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Promise</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Constraint.IsArray.html b/docs/Monster_Constraint.IsArray.html deleted file mode 100644 index 4ff779bce95682bb7c2b44e531d91dcac0944579..0000000000000000000000000000000000000000 --- a/docs/Monster_Constraint.IsArray.html +++ /dev/null @@ -1,374 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>IsArray - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">IsArray</h1> - - - - - - - -<section> - -<header> - - <h2> - IsArray - </h2> - - <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Constraint.IsObject()</code>.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/isarray.js'; -console.log(new Monster.Constraint.IsArray()) -</script> -</code></pre> -<p>Alternatively, you can also integrate this function individually.</p> -<pre class="prettyprint source"><code><script type="module"> -import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/isarray.js'; -console.log(new IsArray()) -</script> -</code></pre></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="IsArray"><span class="type-signature"></span>new IsArray<span class="signature">()</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_isarray.js.html">constraint/isarray.js</a>, <a href="constraint_isarray.js.html#line35">line 35</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="isValid"><span class="type-signature"></span>isValid<span class="signature">(value)</span><span class="type-signature"> → {Promise}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_isarray.js.html">constraint/isarray.js</a>, <a href="constraint_isarray.js.html#line43">line 43</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>this method return a promise containing the result of the check.</p> -</div> - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Promise</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Constraint.IsObject.html b/docs/Monster_Constraint.IsObject.html deleted file mode 100644 index 7a07269d2cc3ebb42a906a3853f8c2ad6f3b268a..0000000000000000000000000000000000000000 --- a/docs/Monster_Constraint.IsObject.html +++ /dev/null @@ -1,374 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>IsObject - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">IsObject</h1> - - - - - - - -<section> - -<header> - - <h2> - IsObject - </h2> - - <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Constraint.IsObject()</code>.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/isobject.js'; -console.log(new Monster.Constraint.IsObject()) -</script> -</code></pre> -<p>Alternatively, you can also integrate this function individually.</p> -<pre class="prettyprint source"><code><script type="module"> -import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/isobject.js'; -console.log(new IsObject()) -</script> -</code></pre></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="IsObject"><span class="type-signature"></span>new IsObject<span class="signature">()</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_isobject.js.html">constraint/isobject.js</a>, <a href="constraint_isobject.js.html#line35">line 35</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="isValid"><span class="type-signature"></span>isValid<span class="signature">(value)</span><span class="type-signature"> → {Promise}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_isobject.js.html">constraint/isobject.js</a>, <a href="constraint_isobject.js.html#line43">line 43</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>this method return a promise containing the result of the check.</p> -</div> - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Promise</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Constraint.Operator.html b/docs/Monster_Constraint.Operator.html deleted file mode 100644 index 9373553b201f8256ee9dc519dd4484946e4e31fd..0000000000000000000000000000000000000000 --- a/docs/Monster_Constraint.Operator.html +++ /dev/null @@ -1,302 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Operator - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Operator.html">Operator</a></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">Operator</h1> - - - - - - - -<section> - -<header> - - <h2> - Operator - </h2> - - -</header> - -<article> - - <div class="container-overview"> - - - - - - <h4 class="name" id="Operator"><span class="type-signature"></span>new Operator<span class="signature">(operantA, operantB)</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_operator.js.html">constraint/abstractoperator.js</a>, <a href="constraint_operator.js.html#line15">line 15</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>operantA</code></td> - - - <td class="type"> - - -<span class="param-type">AbstractConstraint</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - - <tr> - - <td class="name"><code>operantB</code></td> - - - <td class="type"> - - -<span class="param-type">AbstractConstraint</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - -<h5>Throws:</h5> - - - -<dl> - <dt> - <div class="param-desc usertext"> - <p>"parameters must be from type AbstractConstraint"</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Constraint.OrOperator.html b/docs/Monster_Constraint.OrOperator.html deleted file mode 100644 index 3070aa44cc808aae7d6b907d9be054f8f7f9733e..0000000000000000000000000000000000000000 --- a/docs/Monster_Constraint.OrOperator.html +++ /dev/null @@ -1,375 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>OrOperator - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">OrOperator</h1> - - - - - - - -<section> - -<header> - - <h2> - OrOperator - </h2> - - <div class="class-description usertext"><p>The OrOperator is used to link several constraints. The constraint is fulfilled if one of the constraints is fulfilled.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/oroperator.js'; -new Monster.Constraint.OrOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); -</script> -</code></pre> -<p>Alternatively, you can also integrate this function individually.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; -import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/oroperator.js'; -new OrOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); -</script> -</code></pre></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="OrOperator"><span class="type-signature"></span>new OrOperator<span class="signature">()</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_oroperator.js.html">constraint/oroperator.js</a>, <a href="constraint_oroperator.js.html#line34">line 34</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="isValid"><span class="type-signature"></span>isValid<span class="signature">(value)</span><span class="type-signature"> → {Promise}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_oroperator.js.html">constraint/oroperator.js</a>, <a href="constraint_oroperator.js.html#line42">line 42</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>this method return a promise containing the result of the check.</p> -</div> - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Promise</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Constraint.Valid.html b/docs/Monster_Constraint.Valid.html deleted file mode 100644 index 8ca4dd0fbf422be8f363c3f970cef372009bbbd5..0000000000000000000000000000000000000000 --- a/docs/Monster_Constraint.Valid.html +++ /dev/null @@ -1,375 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Valid - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">Valid</h1> - - - - - - - -<section> - -<header> - - <h2> - Valid - </h2> - - <div class="class-description usertext"><p>the valid constraint allows an always valid query to be performed. this contraint is mainly intended for testing.</p> -<p>you can call the method via the monster namespace <code>new Monster.Constraint.Valid()</code>.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; -new Monster.Constraint.Valid().then(()=>console.log(true)); -</script> -</code></pre> -<p>Alternatively, you can also integrate this function individually.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; -new Valid().then(()=>console.log(true)); -</script> -</code></pre></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="Valid"><span class="type-signature"></span>new Valid<span class="signature">()</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_valid.js.html">constraint/valid.js</a>, <a href="constraint_valid.js.html#line34">line 34</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.3.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="isValid"><span class="type-signature"></span>isValid<span class="signature">(value)</span><span class="type-signature"> → {Promise}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="constraint_valid.js.html">constraint/valid.js</a>, <a href="constraint_valid.js.html#line42">line 42</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>this method return a promise containing the result of the check.</p> -</div> - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Promise</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Constraints.AbstractConstraint.html b/docs/Monster_Constraints.AbstractConstraint.html index 3b3a5667cfc8961458a6885f1986a4ecec59ea82..dd4c6b7c0d0ceae725c612c49709e0a7e2efe9de 100644 --- a/docs/Monster_Constraints.AbstractConstraint.html +++ b/docs/Monster_Constraints.AbstractConstraint.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> diff --git a/docs/Monster_Constraints.AbstractOperator.html b/docs/Monster_Constraints.AbstractOperator.html index 4017bbd164b13564ba1f8acb67c970a15d15740b..1da1d8956a70df37f6ae21312d5c545aff162b41 100644 --- a/docs/Monster_Constraints.AbstractOperator.html +++ b/docs/Monster_Constraints.AbstractOperator.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> diff --git a/docs/Monster_Constraints.AndOperator.html b/docs/Monster_Constraints.AndOperator.html index 3aa5a6bf89664cbf9ff729dfa04c8ca6f3626ff0..2e22c9d087c78d7ccb12ac212c102e112ae31c67 100644 --- a/docs/Monster_Constraints.AndOperator.html +++ b/docs/Monster_Constraints.AndOperator.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -57,14 +57,14 @@ <div class="class-description usertext"><p>The AndOperator is used to link several contraints. The constraint is fulfilled if all constraints of the operators are fulfilled.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; new Monster.Constraint.AndOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; -import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; +import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; +import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; new AndOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); </script> </code></pre></div> diff --git a/docs/Monster_Constraints.Invalid.html b/docs/Monster_Constraints.Invalid.html index c6dacfbdd7ed0bcc02957a111736130bf4de6521..5b461238e72a91e14d4308f26918a829e83b45ec 100644 --- a/docs/Monster_Constraints.Invalid.html +++ b/docs/Monster_Constraints.Invalid.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -58,13 +58,13 @@ <div class="class-description usertext"><p>the invalid constraint allows an always invalid query to be performed. this contraint is mainly intended for testing.</p> <p>you can call the method via the monster namespace <code>new Monster.Constraint.Invalid()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; new Monster.Constraint.Invalid().catch(()=>console.log(true)); </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; +import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; new Invalid().catch(()=>console.log(true)); </script> </code></pre></div> diff --git a/docs/Monster_Constraints.IsArray.html b/docs/Monster_Constraints.IsArray.html index 4503bb77caa370c4b225b740176dc247bb1f4162..1d2e7d3b78776a9fe0fef87f00a53d48c4924202 100644 --- a/docs/Monster_Constraints.IsArray.html +++ b/docs/Monster_Constraints.IsArray.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -57,13 +57,13 @@ <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Constraint.IsObject()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; console.log(new Monster.Constraint.IsArray()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; +import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; console.log(new IsArray()) </script> </code></pre></div> @@ -93,7 +93,7 @@ console.log(new IsArray()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="constraints_isarray.js.html">constraints/isarray.js</a>, <a href="constraints_isarray.js.html#line35">line 35</a> + <a href="constraints_isarray.js.html">constraints/isarray.js</a>, <a href="constraints_isarray.js.html#line33">line 33</a> </li></ul></dd> @@ -203,7 +203,7 @@ console.log(new IsArray()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="constraints_isarray.js.html">constraints/isarray.js</a>, <a href="constraints_isarray.js.html#line43">line 43</a> + <a href="constraints_isarray.js.html">constraints/isarray.js</a>, <a href="constraints_isarray.js.html#line41">line 41</a> </li></ul></dd> diff --git a/docs/Monster_Constraints.IsObject.html b/docs/Monster_Constraints.IsObject.html index 625021050fa4c1965ec2ac2270542a65430ca055..0869aa620f45d5b2c6d8d7dc8a35b94808a6a394 100644 --- a/docs/Monster_Constraints.IsObject.html +++ b/docs/Monster_Constraints.IsObject.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -57,13 +57,13 @@ <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Constraint.IsObject()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; console.log(new Monster.Constraint.IsObject()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; +import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; console.log(new IsObject()) </script> </code></pre></div> @@ -93,7 +93,7 @@ console.log(new IsObject()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="constraints_isobject.js.html">constraints/isobject.js</a>, <a href="constraints_isobject.js.html#line35">line 35</a> + <a href="constraints_isobject.js.html">constraints/isobject.js</a>, <a href="constraints_isobject.js.html#line33">line 33</a> </li></ul></dd> @@ -203,7 +203,7 @@ console.log(new IsObject()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="constraints_isobject.js.html">constraints/isobject.js</a>, <a href="constraints_isobject.js.html#line43">line 43</a> + <a href="constraints_isobject.js.html">constraints/isobject.js</a>, <a href="constraints_isobject.js.html#line41">line 41</a> </li></ul></dd> diff --git a/docs/Monster_Constraints.OrOperator.html b/docs/Monster_Constraints.OrOperator.html index 94ebfbe990a8436ced1c042a492333121a1cf260..e9c51460b0a5adb3ba0ba563f19a915110d5c2b2 100644 --- a/docs/Monster_Constraints.OrOperator.html +++ b/docs/Monster_Constraints.OrOperator.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -57,14 +57,14 @@ <div class="class-description usertext"><p>The OrOperator is used to link several constraints. The constraint is fulfilled if one of the constraints is fulfilled.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; new Monster.Constraint.OrOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; -import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; +import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; +import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; new OrOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); </script> </code></pre></div> diff --git a/docs/Monster_Constraints.Valid.html b/docs/Monster_Constraints.Valid.html index ff2c5e498336e18afdf40076d1fed8f82a477c39..ca3766976237b47a60735c24fee4542ae4597119 100644 --- a/docs/Monster_Constraints.Valid.html +++ b/docs/Monster_Constraints.Valid.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -58,13 +58,13 @@ <div class="class-description usertext"><p>the valid constraint allows an always valid query to be performed. this contraint is mainly intended for testing.</p> <p>you can call the method via the monster namespace <code>new Monster.Constraint.Valid()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; new Monster.Constraint.Valid().then(()=>console.log(true)); </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; +import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; new Valid().then(()=>console.log(true)); </script> </code></pre></div> diff --git a/docs/Monster_Constraints.html b/docs/Monster_Constraints.html index 1407f766590e249111f149e7bfa5af5c314c7274..4d9e0c544bceead2ab2736934b3e36f87d563980 100644 --- a/docs/Monster_Constraints.html +++ b/docs/Monster_Constraints.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> diff --git a/docs/Monster_DOM.Assembler.html b/docs/Monster_DOM.Assembler.html new file mode 100644 index 0000000000000000000000000000000000000000..4306e0d663ce5cac17bace2fd1044d07e41f0ede --- /dev/null +++ b/docs/Monster_DOM.Assembler.html @@ -0,0 +1,816 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>Assembler - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">Assembler</h1> + + + + + + + +<section> + +<header> + + <h2> + <span class="ancestors"><a href="Monster_DOM.html">Monster/DOM</a>.</span> + + Assembler + </h2> + + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.DOM.Assembler()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; +console.log(new Monster.DOM.Assembler()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; +console.log(new Assembler()) +</script> +</code></pre></div> + + +</header> + +<article> + + <div class="container-overview"> + + + + + <h2>Constructor</h2> + + + <h4 class="name" id="Assembler"><span class="type-signature"></span>new Assembler<span class="signature">(fragment)</span><span class="type-signature"></span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line44">line 44</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>fragment</code></td> + + + <td class="type"> + + +<span class="param-type">DocumentFragment</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> +<ul> + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a function</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>the function is not defined</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + </ul> + + + + + + + </div> + + + + + + + + + + + + + + + + + + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id="createDocumentFragment"><span class="type-signature"></span>createDocumentFragment<span class="signature">(data)</span><span class="type-signature"> → {DocumentFragment}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line85">line 85</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>data</code></td> + + + <td class="type"> + + +<span class="param-type">ProxyObserver</span> +| + +<span class="param-type">undefined</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">DocumentFragment</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="getAttributePrefix"><span class="type-signature"></span>getAttributePrefix<span class="signature">()</span><span class="type-signature"> → {string}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line75">line 75</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">string</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="setAttributePrefix"><span class="type-signature"></span>setAttributePrefix<span class="signature">(prefix)</span><span class="type-signature"> → {Assembler}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line65">line 65</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>prefix</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a string</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Assembler</span> + + + </dd> +</dl> + + + + + + + + + + + +</article> + +</section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> \ No newline at end of file diff --git a/docs/Monster_DOM.Handle.html b/docs/Monster_DOM.Handle.html new file mode 100644 index 0000000000000000000000000000000000000000..6bccd848e81fa04edd92784e424d4981170c1b8d --- /dev/null +++ b/docs/Monster_DOM.Handle.html @@ -0,0 +1,677 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>Handle - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster.DOM.html">DOM</a></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">Handle</h1> + + + + + + + +<section> + +<header> + + <h2> + Handle + </h2> + + <div class="class-description usertext"><p>Handle class</p> +<p>you can call the method via the monster namespace <code>new Monster.DOM.Handle()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; +console.log(new Monster.DOM.Handle()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Handle} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; +console.log(new Handle()) +</script> +</code></pre></div> + + +</header> + +<article> + + <div class="container-overview"> + + + + + <h2>Constructor</h2> + + + <h4 class="name" id="Handle"><span class="type-signature"></span>new Handle<span class="signature">(data)</span><span class="type-signature"></span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_handle.js.html">dom/handle.js</a>, <a href="dom_handle.js.html#line48">line 48</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>data</code></td> + + + <td class="type"> + + +<span class="param-type">ProxyObserver</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + + + + + + + + </div> + + + + + + + + + + + + + + + + + + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id="append"><span class="type-signature"></span>append<span class="signature">(node)</span><span class="type-signature"> → {Handle}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_handle.js.html">dom/handle.js</a>, <a href="dom_handle.js.html#line113">line 113</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>node</code></td> + + + <td class="type"> + + +<span class="param-type">HTMLElement</span> +| + +<span class="param-type">Document</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Handle</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="remove"><span class="type-signature"></span>remove<span class="signature">(node)</span><span class="type-signature"> → {Handle}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_handle.js.html">dom/handle.js</a>, <a href="dom_handle.js.html#line87">line 87</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>node</code></td> + + + <td class="type"> + + +<span class="param-type">HTMLElement</span> +| + +<span class="param-type">Document</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Handle</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="update"><span class="type-signature"></span>update<span class="signature">()</span><span class="type-signature"> → {void}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_handle.js.html">dom/handle.js</a>, <a href="dom_handle.js.html#line76">line 76</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">void</span> + + + </dd> +</dl> + + + + + + + + + + + +</article> + +</section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> \ No newline at end of file diff --git a/docs/Monster_DOM.Template.html b/docs/Monster_DOM.Template.html new file mode 100644 index 0000000000000000000000000000000000000000..eac387c0cc07d0e2a31d19666c3075f31d4c0a0f --- /dev/null +++ b/docs/Monster_DOM.Template.html @@ -0,0 +1,585 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>Template - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">Template</h1> + + + + + + + +<section> + +<header> + + <h2> + <span class="ancestors"><a href="Monster_DOM.html">Monster/DOM</a>.</span> + + Template + </h2> + + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.DOM.Template()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; +console.log(new Monster.DOM.Template()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; +console.log(new Template()) +</script> +</code></pre></div> + + +</header> + +<article> + + <div class="container-overview"> + + + + + <h2>Constructor</h2> + + + <h4 class="name" id="Template"><span class="type-signature"></span>new Template<span class="signature">(template)</span><span class="type-signature"></span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_template.js.html">dom/template.js</a>, <a href="dom_template.js.html#line34">line 34</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>template</code></td> + + + <td class="type"> + + +<span class="param-type">HTMLTemplateElement</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> +<ul> + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a function</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>the function is not defined</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + </ul> + + + + + + + </div> + + + + + + + + + + + + + + + + + + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id="createDocumentFragment"><span class="type-signature"></span>createDocumentFragment<span class="signature">()</span><span class="type-signature"> → {DocumentFragment}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_template.js.html">dom/template.js</a>, <a href="dom_template.js.html#line61">line 61</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">DocumentFragment</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="getTemplateElement"><span class="type-signature"></span>getTemplateElement<span class="signature">()</span><span class="type-signature"> → {HTMLTemplateElement}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_template.js.html">dom/template.js</a>, <a href="dom_template.js.html#line52">line 52</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">HTMLTemplateElement</span> + + + </dd> +</dl> + + + + + + + + + + + +</article> + +</section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> \ No newline at end of file diff --git a/docs/Monster_DOM.html b/docs/Monster_DOM.html new file mode 100644 index 0000000000000000000000000000000000000000..c3f61c4cd86268eb0f06d7344be2bd4b9a4da1c3 --- /dev/null +++ b/docs/Monster_DOM.html @@ -0,0 +1,1019 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>Monster/DOM - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">Monster/DOM</h1> + + + + + + + +<section> + +<header> + + <h2> + Monster/DOM + </h2> + + +</header> + +<article> + + <div class="container-overview"> + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_namespace.js.html">dom/namespace.js</a>, <a href="dom_namespace.js.html#line3">line 3</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + <dt class="tag-author">Author:</dt> + <dd class="tag-author"> + <ul> + <li>schukai GmbH</li> + </ul> + </dd> + + + + + + + + + + + + + +</dl> + + + + + + + + + </div> + + + + + + + + <h3 class="subsection-title">Classes</h3> + + <dl> + <dt><a href="Monster_DOM.Assembler.html">Assembler</a></dt> + <dd></dd> + + <dt><a href="Monster_DOM.Template.html">Template</a></dt> + <dd></dd> + </dl> + + + + + + + + + + <h3 class="subsection-title">Members</h3> + + + +<h4 class="name" id=".ATTRIBUTEPREFIX"><span class="type-signature">(static, constant) </span>ATTRIBUTEPREFIX<span class="type-signature"> :string</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line19">line 19</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>attribute prefix</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">string</span> + + + </li> + </ul> + + + + + + + + + + + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id=".getDocument"><span class="type-signature">(static) </span>getDocument<span class="signature">()</span><span class="type-signature"> → {object}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_util.js.html">dom/util.js</a>, <a href="dom_util.js.html#line63">line 63</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>this method fetches the document object</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; +console.log(Monster.DOM.getDocument()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; +console.log(getDocument()) +</script> +</code></pre> +<p>in nodejs this functionality can be performed with <a href="https://www.npmjs.com/package/jsdom">jsdom</a>.</p> +<pre class="prettyprint source"><code>import {JSDOM} from "jsdom" +if (typeof window !== "object") { + const {window} = new JSDOM('', { + url: 'http://example.com/', + pretendToBeVisual: true + }); + + [ + 'self', + 'document', + 'Document', + 'Node', + 'Element', + 'HTMLElement', + 'DocumentFragment', + 'DOMParser', + 'XMLSerializer', + 'NodeFilter', + 'InputEvent', + 'CustomEvent' + ].forEach(key => (getGlobal()[key] = window[key])); +} +</code></pre> +</div> + + + + + + + + + + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>not supported environment</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">object</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id=".getDocumentFragmentFromString"><span class="type-signature">(static) </span>getDocumentFragmentFromString<span class="signature">()</span><span class="type-signature"> → {DocumentFragment}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_util.js.html">dom/util.js</a>, <a href="dom_util.js.html#line191">line 191</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>this method fetches the document object</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; +console.log(Monster.DOM.getDocumentFragmentFromString()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; +console.log(getDocumentFragmentFromString('<div></div>')) +</script> +</code></pre> +<p>in nodejs this functionality can be performed with <a href="https://www.npmjs.com/package/jsdom">jsdom</a>.</p> +<pre class="prettyprint source"><code>import {JSDOM} from "jsdom" +if (typeof window !== "object") { + const {window} = new JSDOM('', { + url: 'http://example.com/', + pretendToBeVisual: true + }); + + [ + 'self', + 'document', + 'Document', + 'Node', + 'Element', + 'HTMLElement', + 'DocumentFragment', + 'DOMParser', + 'XMLSerializer', + 'NodeFilter', + 'InputEvent', + 'CustomEvent' + ].forEach(key => (getGlobal()[key] = window[key])); +} +</code></pre> +</div> + + + + + + + + + + + + + + + + + + + + + + + +<h5>Throws:</h5> +<ul> + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>not supported environment</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a string</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + </ul> + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">DocumentFragment</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id=".getHandleFromNode"><span class="type-signature">(static) </span>getHandleFromNode<span class="signature">(node)</span><span class="type-signature"> → {Handle|undefined}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_handle.js.html">dom/handle.js</a>, <a href="dom_handle.js.html#line212">line 212</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>get the handle of a node</p> +<p>if a node is specified without a handler, a recursive search upwards is performed until the corresponding +handle is found, or undefined is returned.</p> +<p>you can call the method via the monster namespace <code>Monster.DOM.getHandleFromNode()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; +console.log(Monster.DOM.getHandleFromNode()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {getHandleFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; +console.log(getHandleFromNode()) +</script> +</code></pre> +</div> + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>node</code></td> + + + <td class="type"> + + +<span class="param-type">Node</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of Node</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Handle</span> +| + +<span class="param-type">undefined</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id=".getWindow"><span class="type-signature">(static) </span>getWindow<span class="signature">()</span><span class="type-signature"> → {object}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_util.js.html">dom/util.js</a>, <a href="dom_util.js.html#line126">line 126</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>this method fetches the window object</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; +console.log(Monster.DOM.getWindow()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; +console.log(getWindow(null)) +</script> +</code></pre> +<p>in nodejs this functionality can be performed with <a href="https://www.npmjs.com/package/jsdom">jsdom</a>.</p> +<pre class="prettyprint source"><code>import {JSDOM} from "jsdom" +if (typeof window !== "object") { + const {window} = new JSDOM('', { + url: 'http://example.com/', + pretendToBeVisual: true + }); + + getGlobal()['window']=window; + + [ + 'self', + 'document', + 'Document', + 'Node', + 'Element', + 'HTMLElement', + 'DocumentFragment', + 'DOMParser', + 'XMLSerializer', + 'NodeFilter', + 'InputEvent', + 'CustomEvent' + ].forEach(key => (getGlobal()[key] = window[key])); +} +</code></pre> +</div> + + + + + + + + + + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>not supported environment</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">object</span> + + + </dd> +</dl> + + + + + + + + + + + +</article> + +</section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> \ No newline at end of file diff --git a/docs/Monster_Data.Pathfinder.html b/docs/Monster_Data.Pathfinder.html index 1f8ab809f5f3e5c79a0d8e70bb8979869bd825c0..0ca83a8c50ae4a842bc56a25a0db527c0ea6c6e0 100644 --- a/docs/Monster_Data.Pathfinder.html +++ b/docs/Monster_Data.Pathfinder.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,16 +55,15 @@ Pathfinder </h2> - <div class="class-description usertext"><p>Pathfinder class</p> -<p>you can call the method via the monster namespace <code>new Monster.Data.Pathfinder()</code>.</p> + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Data.Pathfinder()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pathfinder.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; console.log(new Monster.Data.Pathfinder()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pathfinder.js'; +import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; console.log(new Pathfinder()) </script> </code></pre> @@ -117,7 +116,7 @@ new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="data_pathfinder.js.html">data/pathfinder.js</a>, <a href="data_pathfinder.js.html#line81">line 81</a> + <a href="data_pathfinder.js.html">data/pathfinder.js</a>, <a href="data_pathfinder.js.html#line79">line 79</a> </li></ul></dd> @@ -273,6 +272,273 @@ new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} + <h4 class="name" id="deleteVia"><span class="type-signature"></span>deleteVia<span class="signature">(path)</span><span class="type-signature"> → {Pathfinder}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="data_pathfinder.js.html">data/pathfinder.js</a>, <a href="data_pathfinder.js.html#line134">line 134</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>Delete Via Path</p> +</div> + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>path</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> +<ul> + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>unsupported type</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a string</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an integer</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>unsupported action for this data type</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + </ul> + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Pathfinder</span> + + + </dd> +</dl> + + + + + + + + + + <h4 class="name" id="exists"><span class="type-signature"></span>exists<span class="signature">(path)</span><span class="type-signature"> → {bool}</span></h4> @@ -285,7 +551,7 @@ new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="data_pathfinder.js.html">data/pathfinder.js</a>, <a href="data_pathfinder.js.html#line132">line 132</a> + <a href="data_pathfinder.js.html">data/pathfinder.js</a>, <a href="data_pathfinder.js.html#line149">line 149</a> </li></ul></dd> @@ -521,7 +787,7 @@ new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="data_pathfinder.js.html">data/pathfinder.js</a>, <a href="data_pathfinder.js.html#line102">line 102</a> + <a href="data_pathfinder.js.html">data/pathfinder.js</a>, <a href="data_pathfinder.js.html#line101">line 101</a> </li></ul></dd> @@ -742,6 +1008,33 @@ new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} <dd></dd> </dl> +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>unsupported action for this data type</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + </li> </ul> @@ -1001,6 +1294,33 @@ new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} <dd></dd> </dl> +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>unsupported action for this data type</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + </li> </ul> diff --git a/docs/Monster_Data.Pipe.html b/docs/Monster_Data.Pipe.html index 66bd4b3f2fbbfba4f3373d643defd86ebeb18ce3..9b1fdb026e2d217c407e82c428789964661c58d0 100644 --- a/docs/Monster_Data.Pipe.html +++ b/docs/Monster_Data.Pipe.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,17 +55,16 @@ Pipe </h2> - <div class="class-description usertext"><p>Pipe class</p> -<p>the pipe class makes it possible to combine several processing steps.</p> + <div class="class-description usertext"><p>the pipe class makes it possible to combine several processing steps.</p> <p>you can call the method via the monster namespace <code>new Monster.Data.Pipe()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pipe.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; console.log(new Monster.Data.Pipe()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pipe.js'; +import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; console.log(new Pipe()) </script> </code></pre> @@ -110,7 +109,7 @@ new Pipe('path:a.b.c.d | toupper | prefix:Hello\\ ').run(obj); // ↦ Hello WORL <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="data_pipe.js.html">data/pipe.js</a>, <a href="data_pipe.js.html#line61">line 61</a> + <a href="data_pipe.js.html">data/pipe.js</a>, <a href="data_pipe.js.html#line59">line 59</a> </li></ul></dd> @@ -284,7 +283,7 @@ new Pipe('path:a.b.c.d | toupper | prefix:Hello\\ ').run(obj); // ↦ Hello WORL <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="data_pipe.js.html">data/pipe.js</a>, <a href="data_pipe.js.html#line83">line 83</a> + <a href="data_pipe.js.html">data/pipe.js</a>, <a href="data_pipe.js.html#line81">line 81</a> </li></ul></dd> diff --git a/docs/Monster_Data.Transformer.html b/docs/Monster_Data.Transformer.html index 552698f7b5ff29692c8a04e1c7c435c924c6af14..35b658f8f19d4a904026ec26e20c874b75956e8f 100644 --- a/docs/Monster_Data.Transformer.html +++ b/docs/Monster_Data.Transformer.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,17 +55,16 @@ Transformer </h2> - <div class="class-description usertext"><p>Transformer class</p> -<p>the transformer class is a swiss army knife for manipulating values. especially in combination with the pipe, processing chains can be built up.</p> + <div class="class-description usertext"><p>the transformer class is a swiss army knife for manipulating values. especially in combination with the pipe, processing chains can be built up.</p> <p>you can call the method via the monster namespace <code>new Monster.Data.Transformer()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/transformer.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; console.log(new Monster.Data.Transformer()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/transformer.js'; +import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; console.log(new Transformer()) </script> </code></pre> @@ -277,7 +276,7 @@ global['crypto'] = new Crypto.Crypto(); <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="data_transformer.js.html">data/transformer.js</a>, <a href="data_transformer.js.html#line113">line 113</a> + <a href="data_transformer.js.html">data/transformer.js</a>, <a href="data_transformer.js.html#line111">line 111</a> </li></ul></dd> @@ -436,7 +435,7 @@ global['crypto'] = new Crypto.Crypto(); <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="data_transformer.js.html">data/transformer.js</a>, <a href="data_transformer.js.html#line151">line 151</a> + <a href="data_transformer.js.html">data/transformer.js</a>, <a href="data_transformer.js.html#line149">line 149</a> </li></ul></dd> @@ -669,7 +668,7 @@ global['crypto'] = new Crypto.Crypto(); <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="data_transformer.js.html">data/transformer.js</a>, <a href="data_transformer.js.html#line136">line 136</a> + <a href="data_transformer.js.html">data/transformer.js</a>, <a href="data_transformer.js.html#line134">line 134</a> </li></ul></dd> diff --git a/docs/Monster_Data.html b/docs/Monster_Data.html index d01971b5a800bde9c09697d0b387a812868b5e9c..27ac09f43a638a9cdf000bade394a8e5e44c3486 100644 --- a/docs/Monster_Data.html +++ b/docs/Monster_Data.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -147,6 +147,240 @@ + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id=".Diff"><span class="type-signature">(static) </span>Diff<span class="signature">(first, second)</span><span class="type-signature"> → {array}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="data_diff.js.html">data/diff.js</a>, <a href="data_diff.js.html#line83">line 83</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>With the diff function you can perform the change of one object to another. The result shows the changes of the second object to the first object.</p> +<p>The operator <code>add</code> means that something has been added to the second object. <code>delete</code> means that something has been deleted from the second object compared to the first object.</p> +<p>you can call the method via the monster namespace <code>Monster.Data.Diff()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; +console.log(Monster.Data.Diff(a, b)) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; +console.log(Diff(a, b)) +</script> +</code></pre> +<p>given are two objects x and y.</p> +<pre class="prettyprint source"><code>let x = { + a: 1, + b: "Hello!" +} + + let y = { + a: 2, + c: true +} +</code></pre> +<p>These two objects can be compared with each other.</p> +<pre class="prettyprint source"><code> console.log(Diff(x, y)); +</code></pre> +<p>the result is then the following</p> +<pre class="prettyprint source"><code> [ + { + operator: 'update', + path: [ 'a' ], + first: { value: 1, type: 'number' }, + second: { value: 2, type: 'number' } + }, + { + operator: 'delete', + path: [ 'b' ], + first: { value: 'Hello!', type: 'string' } + }, + { + operator: 'add', + path: [ 'c' ], + second: { value: true, type: 'boolean' } + } + ] +</code></pre> +</div> + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>first</code></td> + + + <td class="type"> + + +<span class="param-type">*</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>second</code></td> + + + <td class="type"> + + +<span class="param-type">*</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">array</span> + + + </dd> +</dl> + + + + + + + diff --git a/docs/Monster_Logging.Handler.html b/docs/Monster_Logging.Handler.html index 99324d7fe8d142c3f5a124d0a0cfc413f6f0a556..d437b1628791f6712b67258005d09f1b7850db9a 100644 --- a/docs/Monster_Logging.Handler.html +++ b/docs/Monster_Logging.Handler.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,17 +55,16 @@ Handler </h2> - <div class="class-description usertext"><p>Handler class</p> -<p>you can call the method via the monster namespace <code>new Monster.Logging.Logger()</code>.</p> + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Logging.Handler()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; -console.log(new Monster.Logging.Logger()) +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js'; +console.log(new Monster.Logging.Handler()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; -console.log(new Logger()) +import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js'; +console.log(new Handler()) </script> </code></pre></div> @@ -94,7 +93,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_handler.js.html">logging/handler.js</a>, <a href="logging_handler.js.html#line38">line 38</a> + <a href="logging_handler.js.html">logging/handler.js</a>, <a href="logging_handler.js.html#line36">line 36</a> </li></ul></dd> diff --git a/docs/Monster_Logging.LogEntry.html b/docs/Monster_Logging.LogEntry.html index 9ad829ea60d5000798ea3427cf9817801741a53a..7a887bba682d5fa7fe7ae54afc6dda4842c54d51 100644 --- a/docs/Monster_Logging.LogEntry.html +++ b/docs/Monster_Logging.LogEntry.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,17 +55,16 @@ LogEntry </h2> - <div class="class-description usertext"><p>Log class</p> -<p>you can call the method via the monster namespace <code>new Monster.Logging.Log()</code>.</p> + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Logging.LogEntry()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/log.js'; -console.log(new Monster.Logging.Log()) +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js'; +console.log(new Monster.Logging.LogEntry()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/log.js'; -console.log(new Log()) +import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js'; +console.log(new LogEntry()) </script> </code></pre></div> @@ -94,7 +93,7 @@ console.log(new Log()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logentry.js.html">logging/logentry.js</a>, <a href="logging_logentry.js.html#line37">line 37</a> + <a href="logging_logentry.js.html">logging/logentry.js</a>, <a href="logging_logentry.js.html#line35">line 35</a> </li></ul></dd> @@ -296,7 +295,7 @@ console.log(new Log()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logentry.js.html">logging/logentry.js</a>, <a href="logging_logentry.js.html#line63">line 63</a> + <a href="logging_logentry.js.html">logging/logentry.js</a>, <a href="logging_logentry.js.html#line61">line 61</a> </li></ul></dd> @@ -397,7 +396,7 @@ console.log(new Log()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logentry.js.html">logging/logentry.js</a>, <a href="logging_logentry.js.html#line55">line 55</a> + <a href="logging_logentry.js.html">logging/logentry.js</a>, <a href="logging_logentry.js.html#line53">line 53</a> </li></ul></dd> diff --git a/docs/Monster_Logging.Logger.html b/docs/Monster_Logging.Logger.html index b0a06ece4eb740b558d032213a041cefc5da8e50..fbdf7de42e648e05da992b179a10455c9693cbf5 100644 --- a/docs/Monster_Logging.Logger.html +++ b/docs/Monster_Logging.Logger.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,16 +55,15 @@ Logger </h2> - <div class="class-description usertext"><p>Logger class</p> -<p>you can call the method via the monster namespace <code>new Monster.Logging.Logger()</code>.</p> + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Logging.Logger()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; console.log(new Monster.Logging.Logger()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; +import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; console.log(new Logger()) </script> </code></pre></div> @@ -94,7 +93,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line49">line 49</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line86">line 86</a> </li></ul></dd> @@ -204,7 +203,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line65">line 65</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line102">line 102</a> </li></ul></dd> @@ -383,7 +382,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line183">line 183</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line220">line 220</a> </li></ul></dd> @@ -537,7 +536,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line204">line 204</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line241">line 241</a> </li></ul></dd> @@ -691,7 +690,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line114">line 114</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line151">line 151</a> </li></ul></dd> @@ -849,7 +848,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line157">line 157</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line194">line 194</a> </li></ul></dd> @@ -1007,7 +1006,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line171">line 171</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line208">line 208</a> </li></ul></dd> @@ -1165,7 +1164,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line129">line 129</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line166">line 166</a> </li></ul></dd> @@ -1323,7 +1322,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line100">line 100</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line137">line 137</a> </li></ul></dd> @@ -1481,7 +1480,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line143">line 143</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line180">line 180</a> </li></ul></dd> @@ -1639,7 +1638,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line81">line 81</a> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line118">line 118</a> </li></ul></dd> diff --git a/docs/Monster_Logging.html b/docs/Monster_Logging.html index 8819034cd21ed8fb7773d9e1d5f9ad7c7871080d..17c92ef77536efd53db7fdc5cb354ea901b8c2cc 100644 --- a/docs/Monster_Logging.html +++ b/docs/Monster_Logging.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -145,6 +145,594 @@ + <h3 class="subsection-title">Members</h3> + + + +<h4 class="name" id=".ALL"><span class="type-signature">(static, constant) </span>ALL<span class="type-signature"> :number</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line19">line 19</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">number</span> + + + </li> + </ul> + + + + + + + + +<h4 class="name" id=".DEBUG"><span class="type-signature">(static, constant) </span>DEBUG<span class="type-signature"> :number</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line31">line 31</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">number</span> + + + </li> + </ul> + + + + + + + + +<h4 class="name" id=".ERROR"><span class="type-signature">(static, constant) </span>ERROR<span class="type-signature"> :number</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line49">line 49</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">number</span> + + + </li> + </ul> + + + + + + + + +<h4 class="name" id=".FATAL"><span class="type-signature">(static, constant) </span>FATAL<span class="type-signature"> :number</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line55">line 55</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">number</span> + + + </li> + </ul> + + + + + + + + +<h4 class="name" id=".INFO"><span class="type-signature">(static, constant) </span>INFO<span class="type-signature"> :number</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line37">line 37</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">number</span> + + + </li> + </ul> + + + + + + + + +<h4 class="name" id=".OFF"><span class="type-signature">(static, constant) </span>OFF<span class="type-signature"> :number</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line61">line 61</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">number</span> + + + </li> + </ul> + + + + + + + + +<h4 class="name" id=".TRACE"><span class="type-signature">(static, constant) </span>TRACE<span class="type-signature"> :number</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line25">line 25</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">number</span> + + + </li> + </ul> + + + + + + + + +<h4 class="name" id=".WARN"><span class="type-signature">(static, constant) </span>WARN<span class="type-signature"> :number</span></h4> + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line43">line 43</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF</p> +</div> + + + + <h5>Type:</h5> + <ul> + <li> + +<span class="param-type">number</span> + + + </li> + </ul> + + + + + + + + diff --git a/docs/Monster_Logging_Handler.ConsoleHandler.html b/docs/Monster_Logging_Handler.ConsoleHandler.html index 09a48caae7ae66af650ceb1487b2a5ae8a9a29bb..a04bc49c03ce48e8b5e4d7023f3ba5e5b997af2a 100644 --- a/docs/Monster_Logging_Handler.ConsoleHandler.html +++ b/docs/Monster_Logging_Handler.ConsoleHandler.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,17 +55,16 @@ ConsoleHandler </h2> - <div class="class-description usertext"><p>Handler class</p> -<p>you can call the method via the monster namespace <code>new Monster.Logging.Logger()</code>.</p> + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Logging.Handler.ConsoleHandler()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; -console.log(new Monster.Logging.Logger()) +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js'; +console.log(new Monster.Logging.Handler.ConsoleHandler()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; -console.log(new Logger()) +import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js'; +console.log(new ConsoleHandler()) </script> </code></pre></div> @@ -94,7 +93,7 @@ console.log(new Logger()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_handler_console.js.html">logging/handler/console.js</a>, <a href="logging_handler_console.js.html#line36">line 36</a> + <a href="logging_handler_console.js.html">logging/handler/console.js</a>, <a href="logging_handler_console.js.html#line34">line 34</a> </li></ul></dd> diff --git a/docs/Monster_Logging_Handler.html b/docs/Monster_Logging_Handler.html index d756ec0c5a3a4808822009c54563d2e25f0e84ab..b3fba26ec95b1aaa40c32dfaa6094bca0b190b24 100644 --- a/docs/Monster_Logging_Handler.html +++ b/docs/Monster_Logging_Handler.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> diff --git a/docs/Monster_Math.html b/docs/Monster_Math.html index 34de01ae7754af48ecd0396ca77521fc89f257f8..b17f0b4670d17384d03b9db9b18321f77f142361 100644 --- a/docs/Monster_Math.html +++ b/docs/Monster_Math.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -153,7 +153,7 @@ <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="math_random.js.html">math/random.js</a>, <a href="math_random.js.html#line39">line 39</a> + <a href="math_random.js.html">math/random.js</a>, <a href="math_random.js.html#line40">line 40</a> </li></ul></dd> @@ -202,13 +202,13 @@ <p>this function uses crypt and returns a random number.</p> <p>you can call the method via the monster namespace <code>Monster.Math.random()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; console.log(Monster.Math.random(1,10)) // ↦ 5 </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; +import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; console.log(random(1,10)) // ↦ 5 </script> </code></pre> diff --git a/docs/Monster_Types.Base.html b/docs/Monster_Types.Base.html index 69eeb63d250592e87fc7dced0d813da9e540b9dd..3534fc0ca73574e36ca0ff47a61ef8d5e481bee4 100644 --- a/docs/Monster_Types.Base.html +++ b/docs/Monster_Types.Base.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -58,14 +58,14 @@ <div class="class-description usertext"><p>This is the base class from which all monster classes are derived.</p> <p>you can call the method via the monster namespace <code>new Monster.Types.Base()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; console.log(new Monster.Types.Base()) console.log(new Monster.Types.Base()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; +import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; console.log(new Base()) console.log(new Base()) </script> diff --git a/docs/Monster_Types.ID.html b/docs/Monster_Types.ID.html index 504a0670b655525edeccd8c27664be324d5d1a18..ff70b50180189e99dbb203e3cd185f47885c848b 100644 --- a/docs/Monster_Types.ID.html +++ b/docs/Monster_Types.ID.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,19 +55,23 @@ ID </h2> - <div class="class-description usertext"><p>id class</p> + <div class="class-description usertext"><p>with the id class, sequences of ids can be created. for this purpose, an internal counter is incremented for each prefix. +thus, the first id with the prefix <code>myid</code> will be <code>myid1</code> and the second id <code>myid2</code>. +The ids are the same for every call, for example on a web page.</p> +<p>so the ids can also be used for navigation. you just have to take care that the order stays the same.</p> <p>you can call the method via the monster namespace <code>new Monster.Types.ID()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; console.log(new Monster.Types.ID()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; +import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; console.log(new ID()) </script> -</code></pre></div> +</code></pre> +<p>as of version 1.6.0 there is the new RandomID. this ID class is continuous from now on.</p></div> </header> @@ -94,7 +98,7 @@ console.log(new ID()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_id.js.html">types/id.js</a>, <a href="types_id.js.html#line38">line 38</a> + <a href="types_id.js.html">types/id.js</a>, <a href="types_id.js.html#line47">line 47</a> </li></ul></dd> @@ -189,6 +193,111 @@ console.log(new ID()) + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> → {string}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="types_id.js.html">types/id.js</a>, <a href="types_id.js.html#line74">line 74</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">string</span> + + + </dd> +</dl> + + + + + + + diff --git a/docs/Monster_Types.Object.html b/docs/Monster_Types.Object.html deleted file mode 100644 index a0bf330b04cbcd1988eb2cc29c2d930956679dbf..0000000000000000000000000000000000000000 --- a/docs/Monster_Types.Object.html +++ /dev/null @@ -1,326 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Object - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li><li><a href="Monster_Util.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#setVia">setVia</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> -</nav> - -<div id="main"> - - <h1 class="page-title">Object</h1> - - - - - - - -<section> - -<header> - - <h2> - <span class="ancestors"><a href="Monster_Types.html">Monster/Types</a>.</span> - - Object - </h2> - - <div class="class-description usertext"><p>This is the base class from which all monster classes are derived.</p> -<p>you can call the method via the monster namespace <code>new Monster.Types.Object()</code>.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.4.0/dist/modules/types/base.js'; -console.log(new Monster.Types.Object()) -console.log(new Monster.Types.Object()) -</script> -</code></pre> -<p>Alternatively, you can also integrate this function individually.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.4.0/dist/modules/types/base.js'; -console.log(new Object()) -console.log(new Object()) -</script> -</code></pre></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="Object"><span class="type-signature"></span>new Object<span class="signature">()</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="types_object.js.html">types/base.js</a>, <a href="types_object.js.html#line37">line 37</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.0.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> → {string}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="types_object.js.html">types/base.js</a>, <a href="types_object.js.html#line49">line 49</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">string</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Types.Observer.html b/docs/Monster_Types.Observer.html index 24bc45a1f8ea2e205a20f3251b3450e8539db129..f5d82e93ae1e1f7e321b4a548aa4f05bb873bda4 100644 --- a/docs/Monster_Types.Observer.html +++ b/docs/Monster_Types.Observer.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -58,13 +58,13 @@ <div class="class-description usertext"><p>an observer manages a callback function</p> <p>you can call the method via the monster namespace <code>new Monster.Types.Observer()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; console.log(new Monster.Types.Observer()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; +import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; console.log(Observer()) </script> </code></pre> diff --git a/docs/Monster_Types.ObserverList.html b/docs/Monster_Types.ObserverList.html index db2565d47c6f9b2d4ad34f1355405a3ce185e356..547334316d8585307be17dd631ebb852cd09ce28 100644 --- a/docs/Monster_Types.ObserverList.html +++ b/docs/Monster_Types.ObserverList.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -58,14 +58,14 @@ <div class="class-description usertext"><p>With the help of the ObserverList class, observer can be managed.</p> <p>you can call the method via the monster namespace <code>new Monster.Types.ObserverList()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; -console.log(new Monster.Types.ObserverList()) -console.log(new Monster.Types.ObserverList()) +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; +console.log(new Monster.Types.ObserverList()) +console.log(new Monster.Types.ObserverList()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; +import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; console.log(ObserverList()) console.log(ObserverList()) </script> @@ -96,7 +96,7 @@ console.log(ObserverList()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_observerlist.js.html">types/observerlist.js</a>, <a href="types_observerlist.js.html#line37">line 37</a> + <a href="types_observerlist.js.html">types/observerlist.js</a>, <a href="types_observerlist.js.html#line39">line 39</a> </li></ul></dd> @@ -187,6 +187,692 @@ console.log(ObserverList()) + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id="attach"><span class="type-signature"></span>attach<span class="signature">(observer)</span><span class="type-signature"> → {ObserverList}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="types_observerlist.js.html">types/observerlist.js</a>, <a href="types_observerlist.js.html#line55">line 55</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>observer</code></td> + + + <td class="type"> + + +<span class="param-type">Observer</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of Observer</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">ObserverList</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="contains"><span class="type-signature"></span>contains<span class="signature">(observer)</span><span class="type-signature"> → {boolean}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="types_observerlist.js.html">types/observerlist.js</a>, <a href="types_observerlist.js.html#line87">line 87</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>observer</code></td> + + + <td class="type"> + + +<span class="param-type">Observer</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of Observer</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">boolean</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="detach"><span class="type-signature"></span>detach<span class="signature">(observer)</span><span class="type-signature"> → {ObserverList}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="types_observerlist.js.html">types/observerlist.js</a>, <a href="types_observerlist.js.html#line68">line 68</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>observer</code></td> + + + <td class="type"> + + +<span class="param-type">Observer</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of Observer</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">ObserverList</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="notify"><span class="type-signature"></span>notify<span class="signature">(subject)</span><span class="type-signature"> → {Promise}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="types_observerlist.js.html">types/observerlist.js</a>, <a href="types_observerlist.js.html#line103">line 103</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>subject</code></td> + + + <td class="type"> + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Promise</span> + + + </dd> +</dl> + + + + + + + diff --git a/docs/Monster_Types.ProxyObserver.html b/docs/Monster_Types.ProxyObserver.html index 525c68ef2c8044b3041899d82e1e567569a9d526..5aec2653147f8153c3b6d1b77dcea095855bbb3c 100644 --- a/docs/Monster_Types.ProxyObserver.html +++ b/docs/Monster_Types.ProxyObserver.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -58,13 +58,13 @@ <div class="class-description usertext"><p>an observer manages a callback function</p> <p>you can call the method via the monster namespace <code>new Monster.Types.Observer()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; console.log(new Monster.Types.ProxyObserver()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; +import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; console.log(new ProxyObserver()) </script> </code></pre> @@ -233,6 +233,35 @@ s.a.b.c = false; +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a object</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + @@ -276,7 +305,7 @@ s.a.b.c = false; <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line110">line 110</a> + <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line111">line 111</a> </li></ul></dd> @@ -430,7 +459,7 @@ s.a.b.c = false; <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line140">line 140</a> + <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line141">line 141</a> </li></ul></dd> @@ -580,7 +609,7 @@ s.a.b.c = false; <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line121">line 121</a> + <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line122">line 122</a> </li></ul></dd> @@ -734,7 +763,7 @@ s.a.b.c = false; <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line100">line 100</a> + <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line101">line 101</a> </li></ul></dd> @@ -839,7 +868,7 @@ s.a.b.c = false; <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line91">line 91</a> + <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line92">line 92</a> </li></ul></dd> @@ -945,7 +974,7 @@ s.a.b.c = false; <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line131">line 131</a> + <a href="types_proxyobserver.js.html">types/proxyobserver.js</a>, <a href="types_proxyobserver.js.html#line132">line 132</a> </li></ul></dd> diff --git a/docs/Monster_Types.Queue.html b/docs/Monster_Types.Queue.html index fb8da53cbe8c8b446b6be684ffdfc758c4eeed7d..3a68214c7473ad0cb4db6aac826986185c0ffd1a 100644 --- a/docs/Monster_Types.Queue.html +++ b/docs/Monster_Types.Queue.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,16 +55,15 @@ Queue </h2> - <div class="class-description usertext"><p>queue class</p> -<p>you can call the method via the monster namespace <code>new Monster.Types.Queue()</code>.</p> + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Types.Queue()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; console.log(new Monster.Types.Queue()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; +import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; console.log(new Queue()) </script> </code></pre></div> @@ -94,7 +93,7 @@ console.log(new Queue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line28">line 28</a> + <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line26">line 26</a> </li></ul></dd> @@ -204,7 +203,7 @@ console.log(new Queue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line65">line 65</a> + <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line63">line 63</a> </li></ul></dd> @@ -358,7 +357,7 @@ console.log(new Queue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line75">line 75</a> + <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line73">line 73</a> </li></ul></dd> @@ -463,7 +462,7 @@ console.log(new Queue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line42">line 42</a> + <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line40">line 40</a> </li></ul></dd> @@ -564,7 +563,7 @@ console.log(new Queue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line51">line 51</a> + <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line49">line 49</a> </li></ul></dd> @@ -669,7 +668,7 @@ console.log(new Queue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line86">line 86</a> + <a href="types_queue.js.html">types/queue.js</a>, <a href="types_queue.js.html#line84">line 84</a> </li></ul></dd> diff --git a/docs/Monster_Types.RandomID.html b/docs/Monster_Types.RandomID.html new file mode 100644 index 0000000000000000000000000000000000000000..5552913e0f492f0db1c92215863a3e3a90c20331 --- /dev/null +++ b/docs/Monster_Types.RandomID.html @@ -0,0 +1,222 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>RandomID - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">RandomID</h1> + + + + + + + +<section> + +<header> + + <h2> + <span class="ancestors"><a href="Monster_Types.html">Monster/Types</a>.</span> + + RandomID + </h2> + + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Types.RandomID()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; +console.log(new Monster.Types.RandomID()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; +console.log(new RandomID()) +</script> +</code></pre></div> + + +</header> + +<article> + + <div class="container-overview"> + + + + + <h2>Constructor</h2> + + + <h4 class="name" id="RandomID"><span class="type-signature"></span>new RandomID<span class="signature">()</span><span class="type-signature"></span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="types_randomid.js.html">types/randomid.js</a>, <a href="types_randomid.js.html#line40">line 40</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>create new object</p> +</div> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </div> + + + + + + + + + + + + + + + + + + + + + +</article> + +</section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> \ No newline at end of file diff --git a/docs/Monster_Types.Stack.html b/docs/Monster_Types.Stack.html index d722e277ae9341f8dbc36520fe51d9d1e7fcae0e..1e847e97e58ced5a1ce05bf4c5325cfc9f05ac5b 100644 --- a/docs/Monster_Types.Stack.html +++ b/docs/Monster_Types.Stack.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,16 +55,15 @@ Stack </h2> - <div class="class-description usertext"><p>Stack class</p> -<p>you can call the method via the monster namespace <code>new Monster.Types.Queue()</code>.</p> + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Types.Queue()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/stack.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; console.log(new Monster.Types.Stack()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/stack.js'; +import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; console.log(new Stack()) </script> </code></pre></div> @@ -94,7 +93,7 @@ console.log(new Stack()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line28">line 28</a> + <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line26">line 26</a> </li></ul></dd> @@ -204,7 +203,7 @@ console.log(new Stack()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line75">line 75</a> + <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line73">line 73</a> </li></ul></dd> @@ -309,7 +308,7 @@ console.log(new Stack()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line42">line 42</a> + <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line40">line 40</a> </li></ul></dd> @@ -410,7 +409,7 @@ console.log(new Stack()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line51">line 51</a> + <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line49">line 49</a> </li></ul></dd> @@ -515,7 +514,7 @@ console.log(new Stack()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line87">line 87</a> + <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line85">line 85</a> </li></ul></dd> @@ -622,7 +621,7 @@ the return value is undefined.</p> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line65">line 65</a> + <a href="types_stack.js.html">types/stack.js</a>, <a href="types_stack.js.html#line63">line 63</a> </li></ul></dd> diff --git a/docs/Monster_Types.TokenList.html b/docs/Monster_Types.TokenList.html index 0c11b6cfec042cf6bb1f498bf7141e1dbb1fa53a..16438cceca9719631a03ee96b057be97ff44a9af 100644 --- a/docs/Monster_Types.TokenList.html +++ b/docs/Monster_Types.TokenList.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -59,14 +59,14 @@ <p>The tokenlist offers various functions to manipulate values. For example, you can add, remove or replace a class in a CSS list.</p> <p>you can call the method via the monster namespace <code>new Monster.Types.TokenList()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; console.log(new Monster.Types.TokenList("myclass row")) console.log(new Monster.Types.TokenList("myclass row")) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; +import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; console.log(new TokenList("myclass row")) console.log(new TokenList("myclass row")) </script> diff --git a/docs/Monster_Types.UniqueQueue.html b/docs/Monster_Types.UniqueQueue.html index 09e68a8eadd1b66e16ae405a91f4331c558d3d27..e014426830f24f85fe2b736327959ed74b8787ac 100644 --- a/docs/Monster_Types.UniqueQueue.html +++ b/docs/Monster_Types.UniqueQueue.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,16 +55,15 @@ UniqueQueue </h2> - <div class="class-description usertext"><p>UniqueQueue class</p> -<p>you can call the method via the monster namespace <code>new Monster.Types.Queue()</code>.</p> + <div class="class-description usertext"><p>you can call the method via the monster namespace <code>new Monster.Types.Queue()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; console.log(new Monster.Types.UniqueQueue()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; +import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; console.log(new UniqueQueue()) </script> </code></pre></div> @@ -94,7 +93,7 @@ console.log(new UniqueQueue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_uniquequeue.js.html">types/uniquequeue.js</a>, <a href="types_uniquequeue.js.html#line29">line 29</a> + <a href="types_uniquequeue.js.html">types/uniquequeue.js</a>, <a href="types_uniquequeue.js.html#line27">line 27</a> </li></ul></dd> @@ -204,7 +203,7 @@ console.log(new UniqueQueue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_uniquequeue.js.html">types/uniquequeue.js</a>, <a href="types_uniquequeue.js.html#line46">line 46</a> + <a href="types_uniquequeue.js.html">types/uniquequeue.js</a>, <a href="types_uniquequeue.js.html#line44">line 44</a> </li></ul></dd> @@ -387,7 +386,7 @@ console.log(new UniqueQueue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_uniquequeue.js.html">types/uniquequeue.js</a>, <a href="types_uniquequeue.js.html#line63">line 63</a> + <a href="types_uniquequeue.js.html">types/uniquequeue.js</a>, <a href="types_uniquequeue.js.html#line61">line 61</a> </li></ul></dd> @@ -492,7 +491,7 @@ console.log(new UniqueQueue()) <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_uniquequeue.js.html">types/uniquequeue.js</a>, <a href="types_uniquequeue.js.html#line75">line 75</a> + <a href="types_uniquequeue.js.html">types/uniquequeue.js</a>, <a href="types_uniquequeue.js.html#line73">line 73</a> </li></ul></dd> diff --git a/docs/Monster_Types.Version.html b/docs/Monster_Types.Version.html index c1d4fbd45c5bd81eb5b982be76923a2e6c497b66..1a9477dd96b27714f63d765fc6c201e81ffc8332 100644 --- a/docs/Monster_Types.Version.html +++ b/docs/Monster_Types.Version.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -58,14 +58,14 @@ <div class="class-description usertext"><p>the version object contains a sematic version number</p> <p>you can create the object via the monster namespace <code>new Monster.Types.Version()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3 console.log(new Monster.Types.Version('1')) // ↦ 1.0.0 </script> </code></pre> <p>Alternatively, you can also integrate this class individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; +import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; console.log(new Version('1.2.3')) // ↦ 1.2.3 console.log(new Version('1')) // ↦ 1.0.0 </script> diff --git a/docs/Monster_Types.html b/docs/Monster_Types.html index a43df6b39f3a8af2aaf65647229fa4c0a48b6439..5a0d36c137647344e8fd401fcf931a0fd1abb120 100644 --- a/docs/Monster_Types.html +++ b/docs/Monster_Types.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -145,30 +145,650 @@ <dt><a href="Monster_Types.Queue.html">Queue</a></dt> <dd></dd> + <dt><a href="Monster_Types.RandomID.html">RandomID</a></dt> + <dd></dd> + <dt><a href="Monster_Types.Stack.html">Stack</a></dt> <dd></dd> - <dt><a href="Monster_Types.TokenList.html">TokenList</a></dt> - <dd></dd> + <dt><a href="Monster_Types.TokenList.html">TokenList</a></dt> + <dd></dd> + + <dt><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a></dt> + <dd></dd> + + <dt><a href="Monster_Types.Version.html">Version</a></dt> + <dd></dd> + </dl> + + + + + + + + + + + + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id=".getGlobal"><span class="type-signature">(static) </span>getGlobal<span class="signature">()</span><span class="type-signature"> → {objec}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="types_global.js.html">types/global.js</a>, <a href="types_global.js.html#line48">line 48</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>return globalThis</p> +<p>if globalThis is not available, it will be polyfilled</p> +</div> + + + + + + + + + + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + +<div class="param-desc"> + <p>globalThis</p> +</div> + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">objec</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id=".getGlobalFunction"><span class="type-signature">(static) </span>getGlobalFunction<span class="signature">(name)</span><span class="type-signature"> → {objec}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="types_global.js.html">types/global.js</a>, <a href="types_global.js.html#line118">line 118</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>return global function or throw Error</p> +<p>you can call the method via the monster namespace <code>Monster.Types.getGlobalFunction()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; +console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { } +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; +console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { } +</script> +</code></pre> +</div> + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>name</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> +<ul> + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a function</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>the function is not defined</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a string</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + </ul> + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> - <dt><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a></dt> - <dd></dd> +<span class="param-type">objec</span> + + + </dd> +</dl> + + + + + - <dt><a href="Monster_Types.Version.html">Version</a></dt> - <dd></dd> - </dl> + + + + + <h4 class="name" id=".getGlobalObject"><span class="type-signature">(static) </span>getGlobalObject<span class="signature">(name)</span><span class="type-signature"> → {objec}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="types_global.js.html">types/global.js</a>, <a href="types_global.js.html#line81">line 81</a> + </li></ul></dd> + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> - + - <h3 class="subsection-title">Methods</h3> + + + + + + + + + + + + + + + + + + +</dl> + + + + + +<div class="description usertext"> + <p>return global object or throw Error</p> +<p>you can call the method via the monster namespace <code>Monster.Types.getGlobalObject()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; +console.log(Monster.Types.getGlobalObject('document')) // ↦ { } +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; +console.log(getGlobalObject('document')) // ↦ { } +</script> +</code></pre> +</div> + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>name</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> +<ul> + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>the object is not defined</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a object</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a string</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + </ul> + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">objec</span> + + + </dd> +</dl> + + + + @@ -236,14 +856,14 @@ <p>checks whether the value passed is a array</p> <p>you can call the method via the monster namespace <code>Monster.Types.isArray()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(Monster.Types.isArray('2')) // ↦ false console.log(Monster.Types.isArray([])) // ↦ true </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(isArray('2')) // ↦ false console.log(isArray([])) // ↦ true </script> @@ -410,7 +1030,7 @@ console.log(isArray([])) // ↦ true <p>checks whether the value passed is a boolean</p> <p>you can call the method via the monster namespace <code>Monster.Types.isBoolean()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(Monster.Types.isBoolean('2')) // ↦ false console.log(Monster.Types.isBoolean([])) // ↦ false console.log(Monster.Types.isBoolean(true)) // ↦ true @@ -418,7 +1038,7 @@ console.log(Monster.Types.isBoolean(true)) // ↦ true </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(isBoolean('2')) // ↦ false console.log(isBoolean([])) // ↦ false console.log(isBoolean(2>4)) // ↦ true @@ -586,7 +1206,7 @@ console.log(isBoolean(2>4)) // ↦ true <p>checks whether the value passed is a function</p> <p>you can call the method via the monster namespace <code>Monster.Types.isFunction()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(Monster.Types.isFunction(()=>{})) // ↦ true console.log(Monster.Types.isFunction('2')) // ↦ false console.log(Monster.Types.isFunction([])) // ↦ false @@ -594,7 +1214,7 @@ console.log(Monster.Types.isFunction([])) // ↦ false </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(isFunction(()=>{})) // ↦ true console.log(isFunction('2')) // ↦ false console.log(isFunction([])) // ↦ false @@ -762,7 +1382,7 @@ console.log(isFunction([])) // ↦ false <p>checks whether the value passed is a object and instance of instance</p> <p>you can call the method via the monster namespace <code>Monster.Types.isInstance()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(Monster.Types.isInstance('2')) // ↦ false console.log(Monster.Types.isInstance([])) // ↦ false console.log(Monster.Types.isInstance({})) // ↦ true @@ -770,7 +1390,7 @@ console.log(Monster.Types.isInstance({})) // ↦ true </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(isInstance('2')) // ↦ false console.log(isInstance([])) // ↦ false </script> @@ -960,7 +1580,7 @@ console.log(isInstance([])) // ↦ false <p>checks whether the value passed is an integer</p> <p>you can call the method via the monster namespace <code>Monster.Types.isFunction()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(Monster.Types.isInteger(()=>{})) // ↦ true console.log(Monster.Types.isInteger('2')) // ↦ false console.log(Monster.Types.isInteger(2)) // ↦ true @@ -968,7 +1588,7 @@ console.log(Monster.Types.isInteger(2)) // ↦ true </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(isInteger(()=>{})) // ↦ true console.log(isInteger('2')) // ↦ false console.log(isInteger(2)) // ↦ true @@ -1136,7 +1756,7 @@ console.log(isInteger(2)) // ↦ true <p>with this function you can check if a value is iterable</p> <p>you can call the method via the monster namespace <code>Monster.Types.isPrimitive()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(Monster.Types.isIterable(null)) // ↦ false console.log(Monster.Types.isIterable('hello')) // ↦ true console.log(Monster.Types.isIterable([])) // ↦ true @@ -1144,7 +1764,7 @@ console.log(Monster.Types.isIterable([])) // ↦ true </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(isIterable(null)) // ↦ false console.log(isIterable('hello')) // ↦ true console.log(isIterable([])) // ↦ true @@ -1312,7 +1932,7 @@ console.log(isIterable([])) // ↦ true <p>checks whether the value passed is a object</p> <p>you can call the method via the monster namespace <code>Monster.Types.isObject()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(Monster.Types.isObject('2')) // ↦ false console.log(Monster.Types.isObject([])) // ↦ false console.log(Monster.Types.isObject({})) // ↦ true @@ -1320,7 +1940,7 @@ console.log(Monster.Types.isObject({})) // ↦ true </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(isObject('2')) // ↦ false console.log(isObject([])) // ↦ false </script> @@ -1487,14 +2107,14 @@ console.log(isObject([])) // ↦ false <p>checks whether the value passed is a primitive (string, number, boolean, NaN, undefined, null or symbol)</p> <p>you can call the method via the monster namespace <code>Monster.Types.isPrimitive()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(Monster.Types.isPrimitive('2')) // ↦ false console.log(Monster.Types.isPrimitive([])) // ↦ true </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(isPrimitive('2')) // ↦ true console.log(isPrimitive([])) // ↦ false </script> @@ -1661,14 +2281,14 @@ console.log(isPrimitive([])) // ↦ false <p>checks whether the value passed is a string</p> <p>you can call the method via the monster namespace <code>Monster.Types.isString()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(Monster.Types.isString('2')) // ↦ true console.log(Monster.Types.isString([])) // ↦ false </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; +import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; console.log(isString('2')) // ↦ true console.log(isString([])) // ↦ false </script> @@ -1786,7 +2406,7 @@ console.log(isString([])) // ↦ false <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_validate.js.html">types/validate.js</a>, <a href="types_validate.js.html#line280">line 280</a> + <a href="types_validate.js.html">types/validate.js</a>, <a href="types_validate.js.html#line289">line 289</a> </li></ul></dd> @@ -1835,14 +2455,14 @@ console.log(isString([])) // ↦ false <p>this method checks if the type matches the array type. this function is identical to isArray() except that a TypeError is thrown.</p> <p>you can call the method via the monster namespace <code>Monster.Types.validateArray()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(Monster.Types.validateArray('2')) // ↦ TypeError console.log(Monster.Types.validateArray([])) // ↦ undefined </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(validateArray('2')) // ↦ TypeError console.log(validateArray([])) // ↦ undefined </script> @@ -2038,7 +2658,7 @@ console.log(validateArray([])) // ↦ undefined <p>this method checks if the type matches the boolean type. this function is identical to isBoolean() except that a TypeError is thrown.</p> <p>you can call the method via the monster namespace <code>Monster.Types.validateBoolean()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(Monster.Types.validateBoolean(true)) // ↦ undefined console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError console.log(Monster.Types.validateBoolean([])) // ↦ TypeError @@ -2046,7 +2666,7 @@ console.log(Monster.Types.validateBoolean([])) // ↦ TypeError </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(validateBoolean(false)) // ↦ undefined console.log(validateBoolean('2')) // ↦ TypeError console.log(validateBoolean([])) // ↦ TypeError @@ -2194,7 +2814,7 @@ console.log(validateBoolean([])) // ↦ TypeError <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_validate.js.html">types/validate.js</a>, <a href="types_validate.js.html#line318">line 318</a> + <a href="types_validate.js.html">types/validate.js</a>, <a href="types_validate.js.html#line327">line 327</a> </li></ul></dd> @@ -2243,7 +2863,7 @@ console.log(validateBoolean([])) // ↦ TypeError <p>this method checks if the type matches the function type. this function is identical to isFunction() except that a TypeError is thrown.</p> <p>you can call the method via the monster namespace <code>Monster.Types.validateFunction()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(Monster.Types.validateFunction(()=>{})) // ↦ undefined console.log(Monster.Types.validateFunction('2')) // ↦ TypeError console.log(Monster.Types.validateFunction([])) // ↦ TypeError @@ -2251,7 +2871,7 @@ console.log(Monster.Types.validateFunction([])) // ↦ TypeError </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(validateFunction(()=>{})) // ↦ undefined console.log(validateFunction('2')) // ↦ TypeError console.log(validateFunction([])) // ↦ TypeError @@ -2445,10 +3065,10 @@ console.log(validateFunction([])) // ↦ TypeError <div class="description usertext"> - <p>this method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown.</p> -<p>you can call the method via the monster namespace <code>Monster.Types.validateObject()</code>.</p> + <p>this method checks if the type matches the object instance.</p> +<p>you can call the method via the monster namespace <code>Monster.Types.validateInstance()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(Monster.Types.validateInstance({}, Object)) // ↦ undefined console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError @@ -2456,7 +3076,7 @@ console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(validateInstance({}, Object)) // ↦ undefined console.log(validateInstance('2', Object)) // ↦ TypeError console.log(validateInstance([], Object)) // ↦ TypeError @@ -2604,7 +3224,7 @@ console.log(validateInstance([], Object)) // ↦ TypeError <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="types_validate.js.html">types/validate.js</a>, <a href="types_validate.js.html#line356">line 356</a> + <a href="types_validate.js.html">types/validate.js</a>, <a href="types_validate.js.html#line365">line 365</a> </li></ul></dd> @@ -2653,7 +3273,7 @@ console.log(validateInstance([], Object)) // ↦ TypeError <p>this method checks if the type is an integer. this function is identical to isInteger() except that a TypeError is thrown.</p> <p>you can call the method via the monster namespace <code>Monster.Types.validateInteger()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(Monster.Types.validateInteger(true)) // ↦ TypeError console.log(Monster.Types.validateInteger('2')) // ↦ TypeError console.log(Monster.Types.validateInteger(2)) // ↦ undefined @@ -2661,7 +3281,7 @@ console.log(Monster.Types.validateInteger(2)) // ↦ undefined </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(validateInteger(true)) // ↦ TypeError console.log(validateInteger('2')) // ↦ TypeError console.log(validateInteger(2)) // ↦ undefined @@ -2869,14 +3489,14 @@ console.log(validateInteger(2)) // ↦ undefined <p>this method checks if the type matches the primitive type. this function is identical to isPrimitive() except that a TypeError is thrown.</p> <p>you can call the method via the monster namespace <code>Monster.Types.validatePrimitive()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(Monster.Types.validateIterable('2')) // ↦ TypeError console.log(Monster.Types.validateIterable([])) // ↦ undefined </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(validateIterable('2')) // ↦ TypeError console.log(validateIterable([])) // ↦ undefined </script> @@ -3072,7 +3692,7 @@ console.log(validateIterable([])) // ↦ undefined <p>this method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown.</p> <p>you can call the method via the monster namespace <code>Monster.Types.validateObject()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(Monster.Types.validateObject({})) // ↦ undefined console.log(Monster.Types.validateObject('2')) // ↦ TypeError console.log(Monster.Types.validateObject([])) // ↦ TypeError @@ -3080,7 +3700,7 @@ console.log(Monster.Types.validateObject([])) // ↦ TypeError </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(validateObject({})) // ↦ undefined console.log(validateObject('2')) // ↦ TypeError console.log(validateObject([])) // ↦ TypeError @@ -3288,14 +3908,14 @@ console.log(validateObject([])) // ↦ TypeError <p>this method checks if the type matches the primitive type. this function is identical to isPrimitive() except that a TypeError is thrown.</p> <p>you can call the method via the monster namespace <code>Monster.Types.validatePrimitive()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(Monster.Types.validatePrimitive('2')) // ↦ undefined console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(validatePrimitive('2')) // ↦ undefined console.log(validatePrimitive([])) // ↦ TypeError </script> @@ -3491,14 +4111,14 @@ console.log(validatePrimitive([])) // ↦ TypeError <p>this method checks if the type matches the string type. this function is identical to isString() except that a TypeError is thrown.</p> <p>you can call the method via the monster namespace <code>Monster.Types.validateString()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(Monster.Types.validateString('2')) // ↦ undefined console.log(Monster.Types.validateString([])) // ↦ TypeError </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; +import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; console.log(validateString('2')) // ↦ undefined console.log(validateString([])) // ↦ TypeError </script> diff --git a/docs/Monster_Util.Comparator.html b/docs/Monster_Util.Comparator.html index 024a3cc2169e5dc2653434b8af44ca737889d3bb..c37ee7741c67400b9cda31de30a3eadf1bd2cfda 100644 --- a/docs/Monster_Util.Comparator.html +++ b/docs/Monster_Util.Comparator.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -57,14 +57,14 @@ <div class="class-description usertext"><p>the comparator allows a comparison function to be abstracted.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; console.log(new Monster.Util.Comparator()) console.log(new Monster.Util.Comparator()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; +import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; console.log(new Util()) console.log(new Util()) </script> diff --git a/docs/Monster_Util.Pathfinder.html b/docs/Monster_Util.Pathfinder.html deleted file mode 100644 index eb380c3cb325f692b2f6648384bbc9aa19879711..0000000000000000000000000000000000000000 --- a/docs/Monster_Util.Pathfinder.html +++ /dev/null @@ -1,1062 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>Pathfinder - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li><li><a href="Monster_Util.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#setVia">setVia</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> -</nav> - -<div id="main"> - - <h1 class="page-title">Pathfinder</h1> - - - - - - - -<section> - -<header> - - <h2> - <span class="ancestors"><a href="Monster_Util.html">Monster/Util</a>.</span> - - Pathfinder - </h2> - - <div class="class-description usertext"><p>Pathfinder class</p> -<p>you can call the method via the monster namespace <code>new Monster.Util.Pathfinder()</code>.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.4.0/dist/modules/util/pathfinder.js'; -console.log(new Monster.Util.Pathfinder()) -</script> -</code></pre> -<p>Alternatively, you can also integrate this function individually.</p> -<pre class="prettyprint source"><code><script type="module"> -import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.4.0/dist/modules/util/pathfinder.js'; -console.log(new Pathfinder()) -</script> -</code></pre> -<p>With the help of the pathfinder, values can be read and written from an object construct.</p> -<pre class="prettyprint source"><code>new Pathfinder({ -a: { - b: { - f: [ - { - g: false, - } - ], - } -} -}).getVia("a.b.f.0.g"); // ↦ false -</code></pre> -<p>if a value is not present or has the wrong type, a corresponding exception is thrown.</p> -<pre class="prettyprint source"><code>new Pathfinder({}).getVia("a.b.f.0.g"); // ↦ Error -</code></pre> -<p>The <code>Pathfinder.exists()</code> method can be used to check whether access to the path is possible.</p> -<pre class="prettyprint source"><code>new Pathfinder({}).exists("a.b.f.0.g"); // ↦ false -</code></pre> -<p>pathfinder can also be used to build object structures. to do this, the <code>Pathfinder.setVia()</code> method must be used.</p> -<pre class="prettyprint source"><code>obj = {}; -new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} -</code></pre></div> - - -</header> - -<article> - - <div class="container-overview"> - - - - - <h2>Constructor</h2> - - - <h4 class="name" id="Pathfinder"><span class="type-signature"></span>new Pathfinder<span class="signature">(value)</span><span class="type-signature"></span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="util_pathfinder.js.html">util/pathfinder.js</a>, <a href="util_pathfinder.js.html#line81">line 81</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.4.0</li></ul></dd> - - - - - - - - - - - - - - - - - - <dt class="tag-copyright">Copyright:</dt> - <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">array</span> -| - -<span class="param-type">object</span> -| - -<span class="param-type">Map</span> -| - -<span class="param-type">Set</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - - - - - - </div> - - - - - - - - - - - - - - - - - - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="exists"><span class="type-signature"></span>exists<span class="signature">(path)</span><span class="type-signature"> → {bool}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="util_pathfinder.js.html">util/pathfinder.js</a>, <a href="util_pathfinder.js.html#line132">line 132</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.4.0</li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>path</code></td> - - - <td class="type"> - - -<span class="param-type">string</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - -<h5>Throws:</h5> -<ul> - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>unsupported type</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>value is not a string</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>value is not an integer</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - </ul> - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">bool</span> - - - </dd> -</dl> - - - - - - - - - - - <h4 class="name" id="getVia"><span class="type-signature"></span>getVia<span class="signature">(path)</span><span class="type-signature"> → {*}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="util_pathfinder.js.html">util/pathfinder.js</a>, <a href="util_pathfinder.js.html#line102">line 102</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.4.0</li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>path</code></td> - - - <td class="type"> - - -<span class="param-type">string</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - -<h5>Throws:</h5> -<ul> - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>unsupported type</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>the journey is not at its end</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Error</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>value is not a string</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>value is not an integer</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - </ul> - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">*</span> - - - </dd> -</dl> - - - - - - - - - - - <h4 class="name" id="setVia"><span class="type-signature"></span>setVia<span class="signature">(path, value)</span><span class="type-signature"> → {Pathfinder}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="util_pathfinder.js.html">util/pathfinder.js</a>, <a href="util_pathfinder.js.html#line117">line 117</a> - </li></ul></dd> - - - - - - <dt class="tag-since">Since:</dt> - <dd class="tag-since"><ul class="dummy"><li>1.4.0</li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>path</code></td> - - - <td class="type"> - - -<span class="param-type">string</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - -<h5>Throws:</h5> -<ul> - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>unsupported type</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>value is not a string</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>value is not an integer</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - </ul> - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Pathfinder</span> - - - </dd> -</dl> - - - - - - - - - - - -</article> - -</section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> \ No newline at end of file diff --git a/docs/Monster_Util.html b/docs/Monster_Util.html index 4fd10554a04750e20aa4511aefb82aa1429a6e4c..18fa2961da09d42b5de3bcd03b4023f7bbb761e8 100644 --- a/docs/Monster_Util.html +++ b/docs/Monster_Util.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -160,7 +160,7 @@ <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="util_clone.js.html">util/clone.js</a>, <a href="util_clone.js.html#line47">line 47</a> + <a href="util_clone.js.html">util/clone.js</a>, <a href="util_clone.js.html#line48">line 48</a> </li></ul></dd> @@ -213,13 +213,13 @@ Global objects such as windows are also not cloned,</p> <p>If an object has a method <code>getClone()</code>, this method is used to create the clone.</p> <p>you can call the method via the monster namespace <code>Monster.Util.clone()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; console.log(Monster.Util.clone({})) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; +import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; console.log(clone({})) </script> </code></pre> @@ -414,13 +414,13 @@ console.log(clone({})) <p>deep freeze a object</p> <p>you can call the method via the monster namespace <code>Monster.Util.deepFreeze()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js'; console.log(Monster.Util.deepFreeze({})) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js'; +import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js'; console.log(deepFreeze({})) </script> </code></pre> diff --git a/docs/constraint_abstract.js.html b/docs/constraint_abstract.js.html deleted file mode 100644 index ee6ce4b6d7fcfb8f9d1fd7a2f5431c6c6607ac52..0000000000000000000000000000000000000000 --- a/docs/constraint_abstract.js.html +++ /dev/null @@ -1,117 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/abstract.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/abstract.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster} from '../namespace.js'; -import '../types/base.js'; - - -/** - * the abstract contraint defines the api for all constraints. mainly the method isValid() is defined. - * - * derived classes must implement the method isValid(). - * - * @since 1.3.0 - * @copyright schukai GmbH - * @memberOf Monster/Constraint - */ -class AbstractConstraint extends Object { - - /** - * - */ - constructor() { - super(); - } - - /** - * this method must return a promise containing the result of the check. - * - * @param {*} value - * @returns {Promise} - */ - isValid(value) { - return Promise.reject(value); - } -} - -Monster.assignToNamespace('Monster.Constraint', AbstractConstraint); -export {Monster, AbstractConstraint}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraint_abstractoperator.js.html b/docs/constraint_abstractoperator.js.html deleted file mode 100644 index 4caee75b67469a18cc50457b476be9045c0be43d..0000000000000000000000000000000000000000 --- a/docs/constraint_abstractoperator.js.html +++ /dev/null @@ -1,116 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/abstractoperator.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/abstractoperator.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster, AbstractConstraint} from "./abstract.js"; - -/** - * Operators allow you to link constraints together. for example, you can check whether a value is an object or an array. each operator has two operands that are linked together. - * - * @since 1.3.0 - * @copyright schukai GmbH - * @memberOf Monster/Constraint - */ -class AbstractOperator extends AbstractConstraint { - - /** - * - * @param {AbstractConstraint} operantA - * @param {AbstractConstraint} operantB - * @throws {TypeError} "parameters must be from type AbstractConstraint" - */ - constructor(operantA, operantB) { - super(); - - if (!(operantA instanceof AbstractConstraint) || !(operantB instanceof AbstractConstraint)) { - throw new TypeError("parameters must be from type AbstractConstraint") - } - - this.operantA = operantA; - this.operantB = operantB; - - } - - -} - -Monster.assignToNamespace('Monster.Constraint', AbstractOperator); -export {Monster, AbstractOperator}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraint_andoperator.js.html b/docs/constraint_andoperator.js.html deleted file mode 100644 index 48d79f76d76d725c06de6cfda25c4f0acede567c..0000000000000000000000000000000000000000 --- a/docs/constraint_andoperator.js.html +++ /dev/null @@ -1,125 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/andoperator.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/andoperator.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster, AbstractConstraint} from "./abstract.js"; -import {AbstractOperator} from "./abstractoperator.js"; - -/** - * The AndOperator is used to link several contraints. The constraint is fulfilled if all constraints of the operators are fulfilled. - * - * ``` - * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/andoperator.js'; - * new Monster.Constraint.AndOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); - * </script> - * ``` - * - * Alternatively, you can also integrate this function individually. - * - * ``` - * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/andoperator.js'; - * new AndOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); - * </script> - * ``` - * - * @since 1.3.0 - * @copyright schukai GmbH - * @memberOf Monster/Constraint - */ -class AndOperator extends AbstractOperator { - - /** - * this method return a promise containing the result of the check. - * - * @param {*} value - * @returns {Promise} - */ - isValid(value) { - return Promise.all([this.operantA.isValid(value), this.operantB.isValid(value)]); - } - -} - -Monster.assignToNamespace('Monster.Constraint', AndOperator); -export {Monster, AndOperator}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraint_invalid.js.html b/docs/constraint_invalid.js.html deleted file mode 100644 index dfd2475ea850f4e791cf94ffcdfcae8a5e2b2180..0000000000000000000000000000000000000000 --- a/docs/constraint_invalid.js.html +++ /dev/null @@ -1,125 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/invalid.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/invalid.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster, AbstractConstraint} from "./abstract.js"; - -/** - * the invalid constraint allows an always invalid query to be performed. this contraint is mainly intended for testing. - * - * you can call the method via the monster namespace `new Monster.Constraint.Invalid()`. - * - * ``` - * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/invalid.js'; - * new Monster.Constraint.Invalid().catch(()=>console.log(true)); - * </script> - * ``` - * - * Alternatively, you can also integrate this function individually. - * - * ``` - * <script type="module"> - * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/invalid.js'; - * new Invalid().catch(()=>console.log(true)); - * </script> - * ``` - * - * @since 1.3.0 - * @copyright schukai GmbH - * @memberOf Monster/Constraint - */ -class Invalid extends AbstractConstraint { - - /** - * this method return a rejected promise - * - * @param {*} value - * @returns {Promise} - */ - isValid(value) { - return Promise.reject(value); - } - -} - -Monster.assignToNamespace('Monster.Constraint', Invalid); -export {Monster, Invalid}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraint_isarray.js.html b/docs/constraint_isarray.js.html deleted file mode 100644 index 5c2f860cf300f1044774118cad339e4d3e8f0869..0000000000000000000000000000000000000000 --- a/docs/constraint_isarray.js.html +++ /dev/null @@ -1,130 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/isarray.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/isarray.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster, AbstractConstraint} from "./abstract.js"; -import {isArray} from "../types/is.js"; - -/** - * - * - * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`. - * - * ``` - * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/isarray.js'; - * console.log(new Monster.Constraint.IsArray()) - * </script> - * ``` - * - * Alternatively, you can also integrate this function individually. - * - * ``` - * <script type="module"> - * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/isarray.js'; - * console.log(new IsArray()) - * </script> - * ``` - * - * @since 1.3.0 - * @copyright schukai GmbH - * @memberOf Monster/Constraint - */ -class IsArray extends AbstractConstraint { - - /** - * this method return a promise containing the result of the check. - * - * @param {*} value - * @returns {Promise} - */ - isValid(value) { - if(isArray(value)) { - return Promise.resolve(value); - } - - return Promise.reject(value); - } - -} - -Monster.assignToNamespace('Monster.Constraint', IsArray); -export {Monster, IsArray}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraint_isobject.js.html b/docs/constraint_isobject.js.html deleted file mode 100644 index 1b1a3778531862d1378a7f027e74a368f62e3f78..0000000000000000000000000000000000000000 --- a/docs/constraint_isobject.js.html +++ /dev/null @@ -1,130 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/isobject.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/isobject.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster, AbstractConstraint} from "./abstract.js"; -import {isObject} from "../types/is.js"; - -/** - * - * - * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`. - * - * ``` - * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/isobject.js'; - * console.log(new Monster.Constraint.IsObject()) - * </script> - * ``` - * - * Alternatively, you can also integrate this function individually. - * - * ``` - * <script type="module"> - * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/isobject.js'; - * console.log(new IsObject()) - * </script> - * ``` - * - * @since 1.3.0 - * @copyright schukai GmbH - * @memberOf Monster/Constraint - */ -class IsObject extends AbstractConstraint { - - /** - * this method return a promise containing the result of the check. - * - * @param {*} value - * @returns {Promise} - */ - isValid(value) { - if (isObject(value)) { - return Promise.resolve(value); - } - - return Promise.reject(value); - } - -} - -Monster.assignToNamespace('Monster.Constraint', IsObject); -export {Monster, IsObject}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraint_namespace.js.html b/docs/constraint_namespace.js.html deleted file mode 100644 index d609a7512c0a94e9a38ba9e34a3cf1249e74d199..0000000000000000000000000000000000000000 --- a/docs/constraint_namespace.js.html +++ /dev/null @@ -1,83 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/namespace.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/namespace.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @namespace Monster/Constraints - - * @author schukai GmbH - */</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraint_operator.js.html b/docs/constraint_operator.js.html deleted file mode 100644 index 66bc773be0a9a0e16b9755ec270f7e8a24a0c3fd..0000000000000000000000000000000000000000 --- a/docs/constraint_operator.js.html +++ /dev/null @@ -1,115 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/abstractoperator.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Operator.html">Operator</a></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/abstractoperator.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster, AbstractConstraint} from "./abstract.js"; - -/** - * - * @since 1.3.0 - * @copyright schukai GmbH - * @memberOf Monster/Constraint - */ -class Operator extends AbstractConstraint { - - /** - * - * @param {AbstractConstraint} operantA - * @param {AbstractConstraint} operantB - * @throws {TypeError} "parameters must be from type AbstractConstraint" - */ - constructor(operantA, operantB) { - super(); - - if (!(operantA instanceof AbstractConstraint) || !(operantB instanceof AbstractConstraint)) { - throw new TypeError("parameters must be from type AbstractConstraint") - } - - this.operantA = operantA; - this.operantB = operantB; - - } - - -} - -Monster.assignToNamespace('Monster.Constraint', Operator); -export {Monster, Operator}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraint_oroperator.js.html b/docs/constraint_oroperator.js.html deleted file mode 100644 index 31f615d131a10a063f29b4fe8ac842388879e055..0000000000000000000000000000000000000000 --- a/docs/constraint_oroperator.js.html +++ /dev/null @@ -1,152 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/oroperator.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/oroperator.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster, AbstractConstraint} from "./abstract.js"; -import {AbstractOperator} from "./abstractoperator.js"; - -/** - * The OrOperator is used to link several constraints. The constraint is fulfilled if one of the constraints is fulfilled. - * - * ``` - * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/oroperator.js'; - * new Monster.Constraint.OrOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); - * </script> - * ``` - * - * Alternatively, you can also integrate this function individually. - * - * ``` - * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/oroperator.js'; - * new OrOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); - * </script> - * ``` - * - * @since 1.3.0 - * @copyright schukai GmbH - * @memberOf Monster/Constraint - */ -class OrOperator extends AbstractOperator { - - /** - * this method return a promise containing the result of the check. - * - * @param {*} value - * @returns {Promise} - */ - isValid(value) { - var self = this; - - return new Promise(function (resolve, reject) { - let a, b; - - self.operantA.isValid(value) - .then(function () { - resolve(); - }).catch(function () { - a = false; - /** b has already been evaluated and was not true */ - if (b === false) { - reject(); - } - }); - - self.operantB.isValid(value) - .then(function () { - resolve(); - }).catch(function () { - b = false; - /** b has already been evaluated and was not true */ - if (a === false) { - reject(); - } - }); - }); - } - - -} - -Monster.assignToNamespace('Monster.Constraint', OrOperator); -export {Monster, OrOperator}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraint_valid.js.html b/docs/constraint_valid.js.html deleted file mode 100644 index 116cbf30504ec73d10ea59f325f0ca7b6976ff2c..0000000000000000000000000000000000000000 --- a/docs/constraint_valid.js.html +++ /dev/null @@ -1,125 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>constraint/valid.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraint.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraint.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraint.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraint.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> -</nav> - -<div id="main"> - - <h1 class="page-title">constraint/valid.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster, AbstractConstraint} from "./abstract.js"; - -/** - * the valid constraint allows an always valid query to be performed. this contraint is mainly intended for testing. - * - * you can call the method via the monster namespace `new Monster.Constraint.Valid()`. - * - * ``` - * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; - * new Monster.Constraint.Valid().then(()=>console.log(true)); - * </script> - * ``` - * - * Alternatively, you can also integrate this function individually. - * - * ``` - * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.2.1/dist/modules/constraint/valid.js'; - * new Valid().then(()=>console.log(true)); - * </script> - * ``` - * - * @since 1.3.0 - * @copyright schukai GmbH - * @memberOf Monster/Constraint - */ -class Valid extends AbstractConstraint { - - /** - * this method return a promise containing the result of the check. - * - * @param {*} value - * @returns {Promise} - */ - isValid(value) { - return Promise.resolve(value); - } - -} - -Monster.assignToNamespace('Monster.Constraint', Valid); -export {Monster, Valid}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/constraints_abstract.js.html b/docs/constraints_abstract.js.html index 645100630980e2e4b8de9005618cfb1171a001a2..27646b95ddb3e37618b7ad5ae30417d54b6df8d2 100644 --- a/docs/constraints_abstract.js.html +++ b/docs/constraints_abstract.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> diff --git a/docs/constraints_abstractoperator.js.html b/docs/constraints_abstractoperator.js.html index d217b57ef8fbeb43964e8722e9847382bd3fd364..0f53db5b63b8dac4219beb8acbb4d11f42fa1182 100644 --- a/docs/constraints_abstractoperator.js.html +++ b/docs/constraints_abstractoperator.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> diff --git a/docs/constraints_andoperator.js.html b/docs/constraints_andoperator.js.html index 6e05114e785c99cba5cba80c1fdfe319b2aa9e8f..0f2e81a9b6bf19e3d8c48d234a5ad5c59aca3f33 100644 --- a/docs/constraints_andoperator.js.html +++ b/docs/constraints_andoperator.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -61,7 +61,7 @@ import {AbstractOperator} from "./abstractoperator.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; * new Monster.Constraint.AndOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -70,8 +70,8 @@ import {AbstractOperator} from "./abstractoperator.js"; * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; * new AndOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` diff --git a/docs/constraints_invalid.js.html b/docs/constraints_invalid.js.html index 2ae6bc7e74fa03216d99d8ba4cdd30d925a8016f..cc78d0f7a9cff82b80d4b50fa2be39f31ea24863 100644 --- a/docs/constraints_invalid.js.html +++ b/docs/constraints_invalid.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -62,7 +62,7 @@ import {Monster, AbstractConstraint} from "./abstract.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; * new Monster.Constraint.Invalid().catch(()=>console.log(true)); * </script> * ``` @@ -71,7 +71,7 @@ import {Monster, AbstractConstraint} from "./abstract.js"; * * ``` * <script type="module"> - * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; + * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; * new Invalid().catch(()=>console.log(true)); * </script> * ``` diff --git a/docs/constraints_isarray.js.html b/docs/constraints_isarray.js.html index 107deb6e1cda55ff80b05a27f34e6c541eb19f88..cba6988e64949e85506a2043d7c5a79f18cddb68 100644 --- a/docs/constraints_isarray.js.html +++ b/docs/constraints_isarray.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -57,13 +57,11 @@ import {Monster, AbstractConstraint} from "./abstract.js"; import {isArray} from "../types/is.js"; /** - * - * * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; * console.log(new Monster.Constraint.IsArray()) * </script> * ``` @@ -72,7 +70,7 @@ import {isArray} from "../types/is.js"; * * ``` * <script type="module"> - * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; + * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; * console.log(new IsArray()) * </script> * ``` diff --git a/docs/constraints_isobject.js.html b/docs/constraints_isobject.js.html index 601369ffa02f4c03f556e34db880b844c5d30dd0..85230e891c03c835759b5db055d60c15002c7075 100644 --- a/docs/constraints_isobject.js.html +++ b/docs/constraints_isobject.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -57,13 +57,11 @@ import {Monster, AbstractConstraint} from "./abstract.js"; import {isObject} from "../types/is.js"; /** - * - * * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; * console.log(new Monster.Constraint.IsObject()) * </script> * ``` @@ -72,7 +70,7 @@ import {isObject} from "../types/is.js"; * * ``` * <script type="module"> - * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; + * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; * console.log(new IsObject()) * </script> * ``` diff --git a/docs/constraints_namespace.js.html b/docs/constraints_namespace.js.html index 60d39824f244f7400466445b69331fc3831c1851..a53a9483bea81bc68e7e22b4afdbf64b15d9e003 100644 --- a/docs/constraints_namespace.js.html +++ b/docs/constraints_namespace.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -52,7 +52,13 @@ /** * @namespace Monster/Constraints * @author schukai GmbH - */</code></pre> + */ + +/** + * @private + * @type {string} + */ +const namespace="Monster.Constraints";</code></pre> </article> </section> diff --git a/docs/constraints_oroperator.js.html b/docs/constraints_oroperator.js.html index 20ac023d2e7e3a31669e7d098d5220737d530ee8..7d9096625b9c2a38335f3f69eca148663889ddb5 100644 --- a/docs/constraints_oroperator.js.html +++ b/docs/constraints_oroperator.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -60,7 +60,7 @@ import {Monster, AbstractOperator} from "./abstractoperator.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; * new Monster.Constraint.OrOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -69,8 +69,8 @@ import {Monster, AbstractOperator} from "./abstractoperator.js"; * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; * new OrOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` diff --git a/docs/constraints_valid.js.html b/docs/constraints_valid.js.html index c776b4ceda26e57520f37809eb97d564fe9d0043..cf39d22527b39e1136eaba5dafcde8f0df08a4a0 100644 --- a/docs/constraints_valid.js.html +++ b/docs/constraints_valid.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -62,7 +62,7 @@ import {Monster, AbstractConstraint} from "./abstract.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; * new Monster.Constraint.Valid().then(()=>console.log(true)); * </script> * ``` @@ -71,7 +71,7 @@ import {Monster, AbstractConstraint} from "./abstract.js"; * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; * new Valid().then(()=>console.log(true)); * </script> * ``` diff --git a/docs/data_diff.js.html b/docs/data_diff.js.html new file mode 100644 index 0000000000000000000000000000000000000000..5b3653979498a51df1240311b07c12de1454a612 --- /dev/null +++ b/docs/data_diff.js.html @@ -0,0 +1,326 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>data/diff.js - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">data/diff.js</h1> + + + + + + + + <section> + <article> + <pre class="prettyprint source linenums"><code>'use strict'; + +/** + * @author schukai GmbH + */ + + +import {Monster, isArray, isObject} from "../types/is.js"; + +/** + * With the diff function you can perform the change of one object to another. The result shows the changes of the second object to the first object. + * + * The operator `add` means that something has been added to the second object. `delete` means that something has been deleted from the second object compared to the first object. + * + * you can call the method via the monster namespace `Monster.Data.Diff()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; + * console.log(Monster.Data.Diff(a, b)) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; + * console.log(Diff(a, b)) + * </script> + * ``` + * + * given are two objects x and y. + * + * ``` + * let x = { + * a: 1, + * b: "Hello!" + * } + * + * let y = { + * a: 2, + * c: true + * } + * ``` + * + * These two objects can be compared with each other. + * + * ``` + * console.log(Diff(x, y)); + * ``` + * + * the result is then the following + * + * ``` + * [ + * { + * operator: 'update', + * path: [ 'a' ], + * first: { value: 1, type: 'number' }, + * second: { value: 2, type: 'number' } + * }, + * { + * operator: 'delete', + * path: [ 'b' ], + * first: { value: 'Hello!', type: 'string' } + * }, + * { + * operator: 'add', + * path: [ 'c' ], + * second: { value: true, type: 'boolean' } + * } + * ] + * ``` + * + * @param {*} first + * @param {*} second + * @return {array} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/Data + */ +function Diff(first, second) { + return doDiff(first, second) +} + +/** + * @private + * @param a + * @param b + * @param type + * @return {Set<string>|Set<number>} + */ +function getKeys(a, b, type) { + if (isArray(type)) { + const keys = a.length > b.length ? new Array(a.length) : new Array(b.length); + keys.fill(0); + return new Set(keys.map((_, i) => i)); + } + + return new Set(Object.keys(a).concat(Object.keys(b))); +} + +/** + * @private + * @param a + * @param b + * @param path + * @param diff + * @return {array} + */ +function doDiff(a, b, path, diff) { + + let typeA = typeof a + let typeB = typeof b + + const currPath = path || []; + const currDiff = diff || []; + + if (typeA === typeB && typeA === 'object') { // array is object too + + getKeys(a, b, typeA).forEach((v) => { + + if (!(Object.prototype.hasOwnProperty.call(a, v))) { + currDiff.push(buildResult(a[v], b[v], 'add', currPath.concat(v))); + } else if (!(Object.prototype.hasOwnProperty.call(b, v))) { + currDiff.push(buildResult(a[v], b[v], 'delete', currPath.concat(v))); + } else { + doDiff(a[v], b[v], currPath.concat(v), currDiff); + } + }); + + } else { + + const o = getOperator(a, b, typeA, typeB); + if (o !== undefined) { + currDiff.push(buildResult(a, b, o, path)); + } + + } + + return currDiff; + +} + +/** + * + * @param {*} a + * @param {*} b + * @param {string} operator + * @param {array} path + * @return {{path: array, operator: string}} + * @private + */ +function buildResult(a, b, operator, path) { + + const result = { + operator, + path, + }; + + if (operator !== 'add') { + result.first = { + value: a, + type: typeof a + }; + + if (isObject(a)) { + const name = Object.getPrototypeOf(a)?.constructor?.name; + if (name !== undefined) { + result.first.instance = name; + } + } + } + + if (operator === 'add' || operator === 'update') { + result.second = { + value: b, + type: typeof b + }; + + if (isObject(b)) { + const name = Object.getPrototypeOf(b)?.constructor?.name; + if (name !== undefined) { + result.second.instance = name; + } + } + + } + + return result; +} + +/** + * @private + * @param {*} a + * @param {*} b + * @return {boolean} + */ +function isNotEqual(a, b) { + + if (typeof a !== typeof b) { + return true; + } + + if (a instanceof Date && b instanceof Date) { + return a.getTime() !== b.getTime(); + } + + return a !== b; +} + +/** + * @private + * @param {*} a + * @param {*} b + * @return {string|undefined} + */ +function getOperator(a, b) { + + /** + * @type {string|undefined} + */ + let operator; + + /** + * @type {string} + */ + let typeA = typeof a; + + /** + * @type {string} + */ + let typeB = typeof b; + + if (typeA === 'undefined' && typeB !== 'undefined') { + operator = 'add'; + } else if (typeA !== 'undefined' && typeB === 'undefined') { + operator = 'delete'; + } else if (isNotEqual(a, b)) { + operator = 'update'; + } + + return operator; + +} + +Monster.assignToNamespace('Monster.Data', Diff); +export {Monster, Diff} +</code></pre> + </article> + </section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> diff --git a/docs/data_namespace.js.html b/docs/data_namespace.js.html index 24f1f33e54a33783d64037b70d4d375098b574ba..d7a67f3e6c24b9047484a28d658b1df97bf7673a 100644 --- a/docs/data_namespace.js.html +++ b/docs/data_namespace.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -52,7 +52,14 @@ /** * @namespace Monster/Data * @author schukai GmbH - */</code></pre> + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Data";</code></pre> </article> </section> diff --git a/docs/data_pathfinder.js.html b/docs/data_pathfinder.js.html index 8a6502e01f57120bd2221a930158e617f160340b..0578b2f38cbe5dfe40404395eb8ae64f87da8869 100644 --- a/docs/data_pathfinder.js.html +++ b/docs/data_pathfinder.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -68,13 +68,11 @@ import {Stack} from "../types/stack.js"; const DELIMITER = '.'; /** - * Pathfinder class - * * you can call the method via the monster namespace `new Monster.Data.Pathfinder()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pathfinder.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; * console.log(new Monster.Data.Pathfinder()) * </script> * ``` @@ -83,7 +81,7 @@ const DELIMITER = '.'; * * ``` * <script type="module"> - * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pathfinder.js'; + * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; * console.log(new Pathfinder()) * </script> * ``` @@ -147,6 +145,7 @@ class Pathfinder extends Base { * @throws {Error} the journey is not at its end * @throws {TypeError} value is not a string * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type */ getVia(path) { validateString(path); @@ -162,6 +161,7 @@ class Pathfinder extends Base { * @throws {TypeError} unsupported type * @throws {TypeError} value is not a string * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type */ setVia(path, value) { validateString(path); @@ -169,6 +169,23 @@ class Pathfinder extends Base { return this; } + /** + * Delete Via Path + * + * @param {string} path + * @returns {Pathfinder} + * @since 1.6.0 + * @throws {TypeError} unsupported type + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type + */ + deleteVia(path) { + validateString(path); + deleteValueViaPath(this.object, path); + return this; + } + /** * * @param {string} path @@ -203,6 +220,8 @@ export {Monster, Pathfinder} * @returns {*} * @throws {TypeError} unsupported type * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private */ function getValueViaPath(object, path, check) { @@ -216,12 +235,17 @@ function getValueViaPath(object, path, check) { if (isObject(object) || isArray(object)) { let anchor; - if (object instanceof Map) { + if (object instanceof Map || object instanceof WeakMap) { anchor = object.get(current); - } else if (object instanceof Set) { + + } else if (object instanceof Set || object instanceof WeakSet) { current = parseInt(current); validateInteger(current) anchor = [...object]?.[current]; + + } else if (object instanceof WeakRef) { + throw Error('unsupported action for this data type'); + } else if (isArray(object)) { current = parseInt(current); validateInteger(current) @@ -255,10 +279,12 @@ function getValueViaPath(object, path, check) { * @param object * @param path * @param value - * @returns {undefined|*} + * @returns {void} * @throws {TypeError} unsupported type * @throws {TypeError} unsupported type * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private */ function setValueViaPath(object, path, value) { @@ -306,10 +332,14 @@ function setValueViaPath(object, path, value) { throw TypeError("unsupported type: " + typeof object); } - if (anchor instanceof Map) { + if (anchor instanceof Map || anchor instanceof WeakMap) { anchor.set(last, value); - } else if (anchor instanceof Set) { + } else if (anchor instanceof Set || anchor instanceof WeakSet) { anchor.append(value) + + } else if (anchor instanceof WeakRef) { + throw Error('unsupported action for this data type'); + } else if (isArray(anchor)) { last = parseInt(last); validateInteger(last) @@ -318,7 +348,44 @@ function setValueViaPath(object, path, value) { anchor[last] = value; } - return anchor; + return; + +} + +/** + * + * @param object + * @param path + * @returns {void} + * @throws {TypeError} unsupported type + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @since 1.6.0 + * @private + */ +function deleteValueViaPath(object, path) { + + const parts = path.split(DELIMITER) + let last = parts.pop(); + const subpath = parts.join(DELIMITER); + + const anchor = getValueViaPath.call(this, object, subpath); + + if (anchor instanceof Map) { + anchor.delete(last); + } else if (anchor instanceof Set || anchor instanceof WeakMap || anchor instanceof WeakSet || anchor instanceof WeakRef) { + throw Error('unsupported action for this data type'); + + } else if (isArray(anchor)) { + last = parseInt(last); + validateInteger(last) + delete anchor[last]; + } else { + delete anchor[last]; + } + + return; } </code></pre> diff --git a/docs/data_pipe.js.html b/docs/data_pipe.js.html index 5c64e1389e587fc25f08f634f1b49095b5e834b5..976b868a353123f5545c7868cb4af04279f5e612 100644 --- a/docs/data_pipe.js.html +++ b/docs/data_pipe.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -62,15 +62,13 @@ import {validateString} from '../types/validate.js'; const DELIMITER = '|'; /** - * Pipe class - * * the pipe class makes it possible to combine several processing steps. * * you can call the method via the monster namespace `new Monster.Data.Pipe()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pipe.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; * console.log(new Monster.Data.Pipe()) * </script> * ``` @@ -79,7 +77,7 @@ const DELIMITER = '|'; * * ``` * <script type="module"> - * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pipe.js'; + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; * console.log(new Pipe()) * </script> * ``` @@ -137,7 +135,8 @@ class Pipe extends Base { } Monster.assignToNamespace('Monster.Data', Pipe); -export {Monster, Pipe}</code></pre> +export {Monster, Pipe} +</code></pre> </article> </section> diff --git a/docs/data_transformer.js.html b/docs/data_transformer.js.html index 6b344d1d345f820362893ada954739d2bd0099cc..b6abd9bbf2ecc781d03fd49afd9f337924e631d8 100644 --- a/docs/data_transformer.js.html +++ b/docs/data_transformer.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -62,15 +62,13 @@ import {clone} from "../util/clone.js"; import {Pathfinder} from "./pathfinder.js"; /** - * Transformer class - * * the transformer class is a swiss army knife for manipulating values. especially in combination with the pipe, processing chains can be built up. * * you can call the method via the monster namespace `new Monster.Data.Transformer()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/transformer.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; * console.log(new Monster.Data.Transformer()) * </script> * ``` @@ -79,7 +77,7 @@ import {Pathfinder} from "./pathfinder.js"; * * ``` * <script type="module"> - * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/transformer.js'; + * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; * console.log(new Transformer()) * </script> * ``` @@ -258,6 +256,7 @@ function disassemble(command) { * * @param {*} value * @returns {string} + * @private */ function convertToString(value) { diff --git a/docs/dom_assembler.js.html b/docs/dom_assembler.js.html new file mode 100644 index 0000000000000000000000000000000000000000..500ad67bf1dc3cdc40b8d7db172fbfb66a337a58 --- /dev/null +++ b/docs/dom_assembler.js.html @@ -0,0 +1,176 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>dom/assembler.js - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">dom/assembler.js</h1> + + + + + + + + <section> + <article> + <pre class="prettyprint source linenums"><code>'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, Base} from '../types/base.js'; +import {validateInstance, validateString} from "../types/validate.js"; +import {getGlobalFunction} from "../types/global.js"; +import {ProxyObserver} from "../types/proxyobserver.js"; + + +/** + * attribute prefix + * + * @type {string} + * @memberOf Monster/DOM + */ +const ATTRIBUTEPREFIX = "data-monster-"; + +/** + * you can call the method via the monster namespace `new Monster.DOM.Assembler()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; + * console.log(new Monster.DOM.Assembler()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; + * console.log(new Assembler()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + */ +class Assembler extends Base { + + /** + * @param {DocumentFragment} fragment + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + constructor(fragment) { + super(); + this.attributePrefix = ATTRIBUTEPREFIX; + validateInstance(fragment, getGlobalFunction('DocumentFragment')); + this.fragment = fragment; + } + + /** + * + * @param {string} prefix + * @returns {Assembler} + * @throws {TypeError} value is not a string + */ + setAttributePrefix(prefix) { + validateString(prefix); + this.attributePrefix = prefix; + return this; + } + + /** + * + * @returns {string} + */ + getAttributePrefix() { + return this.attributePrefix; + } + + /** + * + * @param {ProxyObserver|undefined} data + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + createDocumentFragment(data) { + + if (data === undefined) { + data = new ProxyObserver({}); + } + + validateInstance(data, ProxyObserver); + let fragment = this.fragment.cloneNode(true); + return fragment; + } + +} + +Monster.assignToNamespace('Monster.DOM', Assembler); +export {Monster, ATTRIBUTEPREFIX, Assembler} +</code></pre> + </article> + </section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> diff --git a/docs/dom_handle.js.html b/docs/dom_handle.js.html new file mode 100644 index 0000000000000000000000000000000000000000..6dedeca19fa0e958a74bc56c4d5aed23f4117ac8 --- /dev/null +++ b/docs/dom_handle.js.html @@ -0,0 +1,305 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>dom/handle.js - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">dom/handle.js</h1> + + + + + + + + <section> + <article> + <pre class="prettyprint source linenums"><code>'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, Base} from '../types/base.js'; +import {Stack} from "../types/stack.js"; +import {validateInstance} from "../types/validate.js"; +import {ProxyObserver} from "../types/proxyobserver.js"; +import {Observer} from "../types/observer.js"; +import {getGlobalFunction, getGlobalObject} from "../types/global.js"; +import {isInstance} from "../types/is.js"; +import {ATTRIBUTEPREFIX} from "./assembler.js" +import {ID} from "../types/id.js"; + +/** + * @private + * @type {Symbol} + */ +const MONSTERDOMHANDLE = Symbol('MonsterHandle'); + +/** + * you can call the method via the monster namespace `new Monster.DOM.Handle()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(new Monster.DOM.Handle()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Handle} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(new Handle()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + */ +class Handle extends Base { + /** + * + * @param {ProxyObserver} data + */ + constructor(data) { + super(); + + let self = this; + + self.id = new ID(); + + validateInstance(data, ProxyObserver); + + this.data = data + + this.mutationObserver = createMutationObserver.call(this); + this.dataObserver = createDataObserver.call(this); + this.data.attachObserver(this.dataObserver); + + this.nodes = new WeakSet + this.updates = new Stack(); + + } + + /** + * @return {void} + */ + update() { + return; + } + + /** + * + * @param {HTMLElement|Document} node + * @return {Handle} + */ + remove(node) { + + if (isInstance(node, getGlobalFunction('Document'))) { + node = node.firstElementChild + } + + validateInstance(node, getGlobalFunction('HTMLElement')) + + if (!this.nodes.has(node)) { + return this; + } + + this.mutationObserver.disconnect(node); + + delete node.dataset[MONSTERDOMHANDLE] + node.removeAttribute(ATTRIBUTEPREFIX + "handler"); + + return this; + + } + + /** + * + * @param {HTMLElement|Document} node + * @return {Handle} + */ + append(node) { + + if (isInstance(node, getGlobalFunction('Document'))) { + node = node.firstElementChild + } + + validateInstance(node, getGlobalFunction('HTMLElement')) + + if (this.nodes.has(node)) { + return this; + } + + node.dataset[MONSTERDOMHANDLE] = this; + node.setAttribute(ATTRIBUTEPREFIX + "handler", true); + + this.mutationObserver.observe(node, { + attributes: true, + childList: true, + subtree: true, + characterData: true, + characterDataOldValue: true, + attributeOldValue: true + }); + + this.nodes.add(node); + + return this; + + } +} + +/** + * + * @private + * @return {Observer} + */ +function createDataObserver() { + const self = this; + + return new Observer(() => { + self.update(); + }); +} + +/** + * + * @private + * @return {MutationObserver} + */ +function createMutationObserver() { + + const self = this; + + /** + * @private + * @type {MutationObserver} + */ + const MutationObserver = getGlobalFunction('MutationObserver'); + + // @link https://developer.mozilla.org/en/docs/Web/API/MutationObserver + return new MutationObserver((mutationsList, observer) => { + + for (const mutation of mutationsList) { + self.updates.push(mutation); + } + + self.update(); + } + ) + +} + +/** + * get the handle of a node + * + * if a node is specified without a handler, a recursive search upwards is performed until the corresponding + * handle is found, or undefined is returned. + * + * you can call the method via the monster namespace `Monster.DOM.getHandleFromNode()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(Monster.DOM.getHandleFromNode()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getHandleFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(getHandleFromNode()) + * </script> + * ``` + * + * @param {Node} node + * @return {Handle|undefined} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {TypeError} value is not an instance of Node + */ +function getHandleFromNode(node) { + validateInstance(node, getGlobalFunction('Node')); + + let handle = node.dataset?.[MONSTERDOMHANDLE]; + if (handle === undefined) { + let parentNode = node?.['parentNode']; + if (isInstance(parentNode, getGlobalFunction('Node'))) { + return getHandleFromNode(parentNode) + } + } + + return handle; +} + +Monster.assignToNamespace('Monster.DOM', getHandleFromNode, Handle); +export {Monster, getHandleFromNode, Handle} + +</code></pre> + </article> + </section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> diff --git a/docs/dom_namespace.js.html b/docs/dom_namespace.js.html new file mode 100644 index 0000000000000000000000000000000000000000..9f2010d1cda683c1606a3727cd2392ce60e7ded1 --- /dev/null +++ b/docs/dom_namespace.js.html @@ -0,0 +1,88 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>dom/namespace.js - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">dom/namespace.js</h1> + + + + + + + + <section> + <article> + <pre class="prettyprint source linenums"><code>'use strict'; + +/** + * @namespace Monster/DOM + * @author schukai GmbH + */ + +/** + * @private + * @type {string} + */ +const namespace="Monster.DOM";</code></pre> + </article> + </section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> diff --git a/docs/dom_template.js.html b/docs/dom_template.js.html new file mode 100644 index 0000000000000000000000000000000000000000..aa9ba666f194ed903b3d78ea13be5af04d22def2 --- /dev/null +++ b/docs/dom_template.js.html @@ -0,0 +1,147 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>dom/template.js - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">dom/template.js</h1> + + + + + + + + <section> + <article> + <pre class="prettyprint source linenums"><code>'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, Base} from '../types/base.js'; +import {getGlobalFunction} from '../types/global.js'; +import {validateInstance} from "../types/validate.js"; + +/** + * you can call the method via the monster namespace `new Monster.DOM.Template()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; + * console.log(new Monster.DOM.Template()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; + * console.log(new Template()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + */ +class Template extends Base { + /** + * + * @param {HTMLTemplateElement} template + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + constructor(template) { + super(); + validateInstance(template, getGlobalFunction('HTMLTemplateElement')); + this.template = template; + } + + /** + * + * @returns {HTMLTemplateElement} + */ + getTemplateElement() { + return this.template; + } + + /** + * + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + createDocumentFragment() { + return this.template.content.cloneNode(true); + } + +} + +Monster.assignToNamespace('Monster.DOM', Template); +export {Monster, Template} + + +</code></pre> + </article> + </section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> diff --git a/docs/dom_util.js.html b/docs/dom_util.js.html new file mode 100644 index 0000000000000000000000000000000000000000..cc17477effe247c73aef5869c1aa97c59b1e82e6 --- /dev/null +++ b/docs/dom_util.js.html @@ -0,0 +1,280 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>dom/util.js - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">dom/util.js</h1> + + + + + + + + <section> + <article> + <pre class="prettyprint source linenums"><code>'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, getGlobal} from "../types/global.js"; +import {validateString} from "../types/validate.js"; + + +/** + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getDocument()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getDocument()) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + */ +function getDocument() { + let document = getGlobal()?.['document']; + if (typeof document !== 'object') { + throw new Error("not supported environment") + } + + return document; +} + +/** + * this method fetches the window object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getWindow()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getWindow(null)) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * getGlobal()['window']=window; + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + */ +function getWindow() { + let window = getGlobal()?.['window']; + if (typeof window !== 'object') { + throw new Error("not supported environment") + } + + return window; +} + + +/** + * + * + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getDocumentFragmentFromString()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getDocumentFragmentFromString('<div></div>')) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {DocumentFragment} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + * @throws {TypeError} value is not a string + */ +function getDocumentFragmentFromString(html) { + validateString(html); + + const document = getDocument(); + const template = document.createElement('template'); + template.innerHTML = html; + + return template.content; +} + + +Monster.assignToNamespace('Monster.DOM', getWindow, getDocument, getDocumentFragmentFromString); +export {Monster, getWindow, getDocument, getDocumentFragmentFromString} +</code></pre> + </article> + </section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> diff --git a/docs/global.html b/docs/global.html index ae97c462368e98ff47fbb26b9efab4b94bd42a56..ee9029f0a85236e2fa24e14dcb6b97aa60a16226 100644 --- a/docs/global.html +++ b/docs/global.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -124,69 +124,6 @@ -<h4 class="name" id="ALL"><span class="type-signature">(constant) </span>ALL<span class="type-signature"></span></h4> - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="logging_logger.js.html">logging/logger.js</a>, <a href="logging_logger.js.html#line15">line 15</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF</p> -</div> - - - - - - - - - - <h4 class="name" id="Monster"><span class="type-signature">(constant) </span>Monster<span class="type-signature"> :Namespace</span></h4> @@ -198,7 +135,7 @@ <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line57">line 57</a> + <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line55">line 55</a> </li></ul></dd> @@ -258,673 +195,6 @@ - <h3 class="subsection-title">Methods</h3> - - - - - - - <h4 class="name" id="convertToString"><span class="type-signature"></span>convertToString<span class="signature">(value)</span><span class="type-signature"> → {string}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="data_transformer.js.html">data/transformer.js</a>, <a href="data_transformer.js.html#line213">line 213</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - -<div class="description usertext"> - <p>tries to make a string out of value and if this succeeds to return it back</p> -</div> - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">string</span> - - - </dd> -</dl> - - - - - - - - - - - <h4 class="name" id="getValueViaPath"><span class="type-signature"></span>getValueViaPath<span class="signature">(object, string}, boolean})</span><span class="type-signature"> → {*}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="data_pathfinder.js.html">data/pathfinder.js</a>, <a href="data_pathfinder.js.html#line158">line 158</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>object</code></td> - - - <td class="type"> - - -<span class="param-type">*</span> - - - - </td> - - - - - - <td class="description last"></td> - </tr> - - - - <tr> - - <td class="name"><code>string}</code></td> - - - <td class="type"> - - </td> - - - - - - <td class="description last"><p>path</p></td> - </tr> - - - - <tr> - - <td class="name"><code>boolean}</code></td> - - - <td class="type"> - - </td> - - - - - - <td class="description last"><p>check</p></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - -<h5>Throws:</h5> -<ul> - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>unsupported type</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>the journey is not at its end</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Error</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - </ul> - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">*</span> - - - </dd> -</dl> - - - - - - - - - - - <h4 class="name" id="setValueViaPath"><span class="type-signature"></span>setValueViaPath<span class="signature">(object, path, value)</span><span class="type-signature"> → {undefined|*}</span></h4> - - - - - - -<dl class="details"> - - - <dt class="tag-source">Source:</dt> - <dd class="tag-source"><ul class="dummy"><li> - <a href="data_pathfinder.js.html">data/pathfinder.js</a>, <a href="data_pathfinder.js.html#line214">line 214</a> - </li></ul></dd> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</dl> - - - - - - - - - - - - - - - - <h5>Parameters:</h5> - - -<table class="params"> - <thead> - <tr> - - <th>Name</th> - - - <th>Type</th> - - - - - - <th class="last">Description</th> - </tr> - </thead> - - <tbody> - - - <tr> - - <td class="name"><code>object</code></td> - - - <td class="type"> - - </td> - - - - - - <td class="description last"></td> - </tr> - - - - <tr> - - <td class="name"><code>path</code></td> - - - <td class="type"> - - </td> - - - - - - <td class="description last"></td> - </tr> - - - - <tr> - - <td class="name"><code>value</code></td> - - - <td class="type"> - - </td> - - - - - - <td class="description last"></td> - </tr> - - - </tbody> -</table> - - - - - - - - - - - - - - -<h5>Throws:</h5> -<ul> - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>unsupported type</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>unsupported type</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">TypeError</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - - <li> - -<dl> - <dt> - <div class="param-desc usertext"> - <p>the journey is not at its end</p> - </div> - </dt> - <dd></dd> - <dt> - <dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">Error</span> - - - </dd> - </dl> - </dt> - <dd></dd> -</dl> - -</li> - </ul> - - -<h5>Returns:</h5> - - - - -<dl class="param-type"> - <dt> - Type - </dt> - <dd> - -<span class="param-type">undefined</span> -| - -<span class="param-type">*</span> - - - </dd> -</dl> - - - - - - - diff --git a/docs/global.html#Monster b/docs/global.html#Monster index 2f30bd87fae0014a1424540aee0ca37608d8df14..ffa49068742690755237c7ea3fce9d14338fa20e 100644 --- a/docs/global.html#Monster +++ b/docs/global.html#Monster @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -160,7 +160,7 @@ <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> - <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line89">line 89</a> + <a href="namespace.js.html">namespace.js</a>, <a href="namespace.js.html#line87">line 87</a> </li></ul></dd> @@ -204,7 +204,7 @@ <p>you must call the method in the monster namespace. this allows you to mount your own classes, objects and functions into the namespace.</p> <p>To avoid confusion and so that you do not accidentally overwrite existing functions, you should use the custom namespace <code>X</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/namespace.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/namespace.js'; function hello() { console.log('Hello World!'); } @@ -397,14 +397,14 @@ Monster.X.hello(); // ↦ Hello World! <p>Version of monster</p> <p>you can call the method via the monster namespace <code>Monster.getVersion()</code>.</p> <pre class="prettyprint source"><code><script type="module"> -import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; console.log(Monster.getVersion()) console.log(Monster.getVersion()) </script> </code></pre> <p>Alternatively, you can also integrate this function individually.</p> <pre class="prettyprint source"><code><script type="module"> -import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; +import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; console.log(getVersion()) console.log(getVersion()) </script> diff --git a/docs/index.html b/docs/index.html index 30802a3e256450d76f019a08b256609945e6d305..1bdc46b9721c220213fb5de17591b80b2d8c10c5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -70,7 +70,7 @@ <p>Monster is perfectly suited for the creation of beautiful and fast user interfaces and websites. The basis is formed by core functions that can be supplemented by necessary classes and objects.</p> <p>One first design target is to reach the shiny sun with as little Javascript as possible. That is why we do not have any external dependencies.</p> <p>Monster was built with ES6 modules and uses <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/import">import</a> and <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export">export</a>.</p> -<p>There is a version in the <code>/dist</code> folder that was built via browserfy and thus supports all browsers that are compatible with ES5.</p> +<p>There is a version in the <code>/dist</code> folder that was built via <a href="https://browserify.org/">browserify</a> and thus supports all browsers that are compatible with ES5.</p> <h2>Build & Development</h2> <pre class="prettyprint source"><code>// create documentation make doc diff --git a/docs/logging_handler.js.html b/docs/logging_handler.js.html index 27c0a2505a7b9e7add5869d7f08c58fc3cf47ceb..153dcb9871f0344d6aff5f7d46da9ccbc672580c 100644 --- a/docs/logging_handler.js.html +++ b/docs/logging_handler.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -60,14 +60,12 @@ import {LogEntry} from "./logentry.js"; import {validateInstance, validateInteger} from "../types/validate.js"; /** - * Handler class - * - * you can call the method via the monster namespace `new Monster.Logging.Logger()`. + * you can call the method via the monster namespace `new Monster.Logging.Handler()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; - * console.log(new Monster.Logging.Logger()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js'; + * console.log(new Monster.Logging.Handler()) * </script> * ``` * @@ -75,8 +73,8 @@ import {validateInstance, validateInteger} from "../types/validate.js"; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; - * console.log(new Logger()) + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js'; + * console.log(new Handler()) * </script> * ``` * @@ -89,7 +87,9 @@ class Handler extends Base { super(); /** - * @type {integer} Loglevel + * Loglevel + * + * @type {integer} */ this.loglevel = OFF; } diff --git a/docs/logging_handler_console.js.html b/docs/logging_handler_console.js.html index 06f5329ec7765586cbfb164b9bde876e530c0efd..dfec599df8e64d913dc2de4b0d172e2bff7eb20a 100644 --- a/docs/logging_handler_console.js.html +++ b/docs/logging_handler_console.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -58,14 +58,12 @@ import {Base} from '../../types/base.js'; import {Handler} from '../../logging/handler.js'; /** - * Handler class - * - * you can call the method via the monster namespace `new Monster.Logging.Logger()`. + * you can call the method via the monster namespace `new Monster.Logging.Handler.ConsoleHandler()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; - * console.log(new Monster.Logging.Logger()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js'; + * console.log(new Monster.Logging.Handler.ConsoleHandler()) * </script> * ``` * @@ -73,8 +71,8 @@ import {Handler} from '../../logging/handler.js'; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; - * console.log(new Logger()) + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js'; + * console.log(new ConsoleHandler()) * </script> * ``` * diff --git a/docs/logging_handler_namespace.js.html b/docs/logging_handler_namespace.js.html index 6957216b8c4c0cf73324c9d6e8c393517c997ff1..eeb0ddc5a2831552c9ba0bb1dc075ecadb3cd67b 100644 --- a/docs/logging_handler_namespace.js.html +++ b/docs/logging_handler_namespace.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -52,7 +52,14 @@ /** * @namespace Monster/Logging/Handler * @author schukai GmbH - */</code></pre> + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Logging.Handler";</code></pre> </article> </section> diff --git a/docs/logging_logentry.js.html b/docs/logging_logentry.js.html index f2c876b0284b09891d457a5ec93bcfc96a8c6e87..9f99b1ad7f1a195875243976d0854dde0f3f3b1f 100644 --- a/docs/logging_logentry.js.html +++ b/docs/logging_logentry.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -59,14 +59,12 @@ import {Base} from '../types/base.js'; /** - * Log class - * - * you can call the method via the monster namespace `new Monster.Logging.Log()`. + * you can call the method via the monster namespace `new Monster.Logging.LogEntry()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/log.js'; - * console.log(new Monster.Logging.Log()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js'; + * console.log(new Monster.Logging.LogEntry()) * </script> * ``` * @@ -74,8 +72,8 @@ import {Base} from '../types/base.js'; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/log.js'; - * console.log(new Log()) + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js'; + * console.log(new LogEntry()) * </script> * ``` * diff --git a/docs/logging_logger.js.html b/docs/logging_logger.js.html index 268e50b4aaa3bc4e0ba2ca8bffe5fe630093da4d..b99a320b6e3c76466d1b27378621943c6c17b5d6 100644 --- a/docs/logging_logger.js.html +++ b/docs/logging_logger.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -60,24 +60,61 @@ import {LogEntry} from '../logging/logentry.js'; import {Base} from '../types/base.js'; -/** ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF */ +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const ALL = 255; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const TRACE = 64; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const DEBUG = 32; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const INFO = 16; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const WARN = 8; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const ERROR = 4; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const FATAL = 2; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const OFF = 0; /** - * Logger class - * * you can call the method via the monster namespace `new Monster.Logging.Logger()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; * console.log(new Monster.Logging.Logger()) * </script> * ``` @@ -86,7 +123,7 @@ const OFF = 0; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; * console.log(new Logger()) * </script> * ``` diff --git a/docs/logging_namespace.js.html b/docs/logging_namespace.js.html index 126138b3d93387e4694fb33997e9016656d6e8fe..18c62a7fb8873c8d000651f0acfcc438b1f604c1 100644 --- a/docs/logging_namespace.js.html +++ b/docs/logging_namespace.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -52,7 +52,14 @@ /** * @namespace Monster/Logging * @author schukai GmbH - */</code></pre> + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Logging";</code></pre> </article> </section> diff --git a/docs/math_namespace.js.html b/docs/math_namespace.js.html index ad7ed4a8fb5ff174fbc53e3399e2f8f57908ab8d..ac78b5a739e265f8f15eabdbc60989818f1a8c78 100644 --- a/docs/math_namespace.js.html +++ b/docs/math_namespace.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -53,7 +53,13 @@ * @namespace Monster/Math * @author schukai GmbH */ -</code></pre> + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Math";</code></pre> </article> </section> diff --git a/docs/math_random.js.html b/docs/math_random.js.html index 2a3a4e4463df4fd92ffaa69a9531c12ae6de3355..bccc17c786486b5fab4103d4347f29f2cbef618f 100644 --- a/docs/math_random.js.html +++ b/docs/math_random.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -53,7 +53,8 @@ * @author schukai GmbH */ -import {Monster} from '../namespace.js'; + +import {Monster, getGlobal} from '../types/global.js'; /** @@ -63,7 +64,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; * console.log(Monster.Math.random(1,10)) // ↦ 5 * </script> * ``` @@ -72,7 +73,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; + * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; * console.log(random(1,10)) // ↦ 5 * </script> * ``` @@ -102,8 +103,13 @@ function random(min, max) { } +/** + * @private + * @type {number} + */ var MAX = 1000000000; + Math.log2 = Math.log2 || function (n) { return Math.log(n) / Math.log(2); }; @@ -116,13 +122,10 @@ Math.log2 = Math.log2 || function (n) { * @private */ function create(min, max) { - var crypt; + let crypt; + let globalReference = getGlobal(); - if (typeof global !== "undefined") { - crypt = global?.['crypto'] || global?.['msCrypto']; - } else { - crypt = typeof crypto !== "undefined" ? crypto : undefined; - } + crypt = globalReference?.['crypto'] || globalReference?.['msCrypto'] || globalReference?.['crypto'] || undefined; if (typeof crypt === "undefined") { throw new Error("missing crypt") diff --git a/docs/namespace.js.html b/docs/namespace.js.html index f19df80d7405cec03372d92d446ad574b3457468..203cf9927593a71a0793b2b6c9b08da9d22bf567 100644 --- a/docs/namespace.js.html +++ b/docs/namespace.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -63,7 +63,6 @@ * via `obj instanceof Monster.Namespace` it is also easy to check whether it is an object or a namespace. * * @memberOf Monster - * @copyright schukai GmbH * @since 1.0.0 */ @@ -99,7 +98,6 @@ class Namespace { } /** - * * @type {Namespace} * @global */ @@ -120,7 +118,7 @@ assignToNamespace('Monster', assignToNamespace); * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/namespace.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/namespace.js'; * function hello() { * console.log('Hello World!'); * } diff --git a/docs/namespace_Monster_DOM.Assembler.html b/docs/namespace_Monster_DOM.Assembler.html new file mode 100644 index 0000000000000000000000000000000000000000..5a0ee9c114d376907a35e743a24d006b412575fc --- /dev/null +++ b/docs/namespace_Monster_DOM.Assembler.html @@ -0,0 +1,815 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>Assembler - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li><li><a href="namespace_Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="namespace_Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="namespace_Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="namespace_Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">Assembler</h1> + + + + + + + +<section> + +<header> + + <h2> + Assembler + </h2> + + <div class="class-description usertext"><p>assembler class</p> +<p>you can call the method via the monster namespace <code>new Monster.DOM.Assembler()</code>.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; +console.log(new Monster.DOM.Assembler()) +</script> +</code></pre> +<p>Alternatively, you can also integrate this function individually.</p> +<pre class="prettyprint source"><code><script type="module"> +import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; +console.log(new Assembler()) +</script> +</code></pre></div> + + +</header> + +<article> + + <div class="container-overview"> + + + + + <h2>Constructor</h2> + + + <h4 class="name" id="Assembler"><span class="type-signature"></span>new Assembler<span class="signature">(fragment)</span><span class="type-signature"></span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line44">line 44</a> + </li></ul></dd> + + + + + + <dt class="tag-since">Since:</dt> + <dd class="tag-since"><ul class="dummy"><li>1.6.0</li></ul></dd> + + + + + + + + + + + + + + + + + + <dt class="tag-copyright">Copyright:</dt> + <dd class="tag-copyright"><ul class="dummy"><li>schukai GmbH</li></ul></dd> + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>fragment</code></td> + + + <td class="type"> + + +<span class="param-type">DocumentFragment</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> +<ul> + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a function</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + + <li> + +<dl> + <dt> + <div class="param-desc usertext"> + <p>the function is not defined</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Error</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + +</li> + </ul> + + + + + + + </div> + + + + + + + + + + + + + + + + + + <h3 class="subsection-title">Methods</h3> + + + + + + + <h4 class="name" id="createDocumentFragment"><span class="type-signature"></span>createDocumentFragment<span class="signature">(data)</span><span class="type-signature"> → {DocumentFragment}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line85">line 85</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>data</code></td> + + + <td class="type"> + + +<span class="param-type">ProxyObserver</span> +| + +<span class="param-type">undefined</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not an instance of</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">DocumentFragment</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="getAttributePrefix"><span class="type-signature"></span>getAttributePrefix<span class="signature">()</span><span class="type-signature"> → {string}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line75">line 75</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">string</span> + + + </dd> +</dl> + + + + + + + + + + + <h4 class="name" id="setAttributePrefix"><span class="type-signature"></span>setAttributePrefix<span class="signature">(prefix)</span><span class="type-signature"> → {Assembler}</span></h4> + + + + + + +<dl class="details"> + + + <dt class="tag-source">Source:</dt> + <dd class="tag-source"><ul class="dummy"><li> + <a href="dom_assembler.js.html">dom/assembler.js</a>, <a href="dom_assembler.js.html#line65">line 65</a> + </li></ul></dd> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>prefix</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + + + + + + + + + + + +<h5>Throws:</h5> + + + +<dl> + <dt> + <div class="param-desc usertext"> + <p>value is not a string</p> + </div> + </dt> + <dd></dd> + <dt> + <dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">TypeError</span> + + + </dd> + </dl> + </dt> + <dd></dd> +</dl> + + + + + +<h5>Returns:</h5> + + + + +<dl class="param-type"> + <dt> + Type + </dt> + <dd> + +<span class="param-type">Assembler</span> + + + </dd> +</dl> + + + + + + + + + + + +</article> + +</section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> \ No newline at end of file diff --git a/docs/types_base.js.html b/docs/types_base.js.html index 7819d60fb76f3f14f338df9c67a09e4f262ae899..c14082a1c325bb5d35926a84dd930f2dab2eebab 100644 --- a/docs/types_base.js.html +++ b/docs/types_base.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -63,7 +63,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; * console.log(new Monster.Types.Base()) * console.log(new Monster.Types.Base()) * </script> @@ -73,7 +73,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; + * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; * console.log(new Base()) * console.log(new Base()) * </script> diff --git a/docs/types_global.js.html b/docs/types_global.js.html new file mode 100644 index 0000000000000000000000000000000000000000..98b56dc8952e92384dd621ac484fdab9f150e377 --- /dev/null +++ b/docs/types_global.js.html @@ -0,0 +1,204 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>types/global.js - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">types/global.js</h1> + + + + + + + + <section> + <article> + <pre class="prettyprint source linenums"><code>'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster} from '../namespace.js'; +import {validateFunction, validateString, validateObject} from "./validate.js"; + +/** + * @type {objec} + * @private + */ +var globalReference; + +/** + * @private + */ +(function () { + if (typeof globalThis === 'object') { + globalReference = globalThis; + return; + } + + Object.defineProperty(Object.prototype, '__monster__', { + get: function () { + return this; + }, + configurable: true + }); + + __monster__.globalThis = __monster__; + delete Object.prototype.__monster__; + + globalReference = globalThis; + +}()); + +/** + * return globalThis + * + * if globalThis is not available, it will be polyfilled + * + * @since 1.6.0 + * @memberOf Monster/Types + * @returns {objec} globalThis + */ +function getGlobal() { + return globalReference; +} + +/** + * return global object or throw Error + * + * you can call the method via the monster namespace `Monster.Types.getGlobalObject()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(Monster.Types.getGlobalObject('document')) // ↦ { } + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(getGlobalObject('document')) // ↦ { } + * </script> + * ``` + * + * @since 1.6.0 + * @memberOf Monster/Types + * @param {string} name + * @returns {objec} + * @throws {Error} the object is not defined + * @throws {TypeError} value is not a object + * @throws {TypeError} value is not a string + */ +function getGlobalObject(name) { + validateString(name); + let o = globalReference?.[name]; + if (typeof o === 'undefined') throw new Error('the object '+name+' is not defined'); + validateObject(o); + return o; +} + +/** + * return global function or throw Error + * + * you can call the method via the monster namespace `Monster.Types.getGlobalFunction()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { } + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { } + * </script> + * ``` + * + * @since 1.6.0 + * @memberOf Monster/Types + * @param {string} name + * @returns {objec} + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + * @throws {TypeError} value is not a string + */ +function getGlobalFunction(name) { + validateString(name); + let f = globalReference?.[name]; + if (typeof f === 'undefined') throw new Error('the function '+name+' is not defined'); + validateFunction(f); + return f; +} + + +Monster.assignToNamespace('Monster.Types', getGlobal, getGlobalObject, getGlobalFunction); +export {Monster, getGlobal, getGlobalObject, getGlobalFunction}</code></pre> + </article> + </section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> diff --git a/docs/types_id.js.html b/docs/types_id.js.html index 4775b0b4fe2653053499bf2aa202743007803d38..a02f190c8c49fd8b92e128a8af2f725c715c623f 100644 --- a/docs/types_id.js.html +++ b/docs/types_id.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -53,20 +53,27 @@ * @author schukai GmbH */ -import {Monster} from '../namespace.js'; -import {random} from '../math/random.js'; -import {Base} from './base.js'; +import {Monster, Base} from './base.js'; +import {validateString} from "./validate.js"; -let internalCounter = 0; +/** + * @private + * @type {Map<string, integer>} + */ +let internalCounter = new Map; /** - * id class + * with the id class, sequences of ids can be created. for this purpose, an internal counter is incremented for each prefix. + * thus, the first id with the prefix `myid` will be `myid1` and the second id `myid2`. + * The ids are the same for every call, for example on a web page. + * + * so the ids can also be used for navigation. you just have to take care that the order stays the same. * * you can call the method via the monster namespace `new Monster.Types.ID()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Monster.Types.ID()) * </script> * ``` @@ -75,11 +82,13 @@ let internalCounter = 0; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new ID()) * </script> * ``` * + * as of version 1.6.0 there is the new RandomID. this ID class is continuous from now on. + * * @since 1.0.0 * @copyright schukai GmbH * @memberOf Monster/Types @@ -89,17 +98,28 @@ class ID extends Base { /** * create new object */ - constructor() { + constructor(prefix) { super(); - internalCounter += 1; + if (prefix === undefined) { + prefix = "id"; + } + + validateString(prefix); - this.id = global.btoa(random(1, 10000)) - .replace(/=/g, '') - /** No numbers at the beginning of the ID, because of possible problems with DOM */ - .replace(/^[0-9]+/, 'X') + internalCounter; + if (!internalCounter.has(prefix)) { + internalCounter.set(prefix, 1); + } + + let count = internalCounter.get(prefix); + this.id = prefix + count; + + internalCounter.set(prefix, ++count); } + /** + * @return {string} + */ toString() { return this.id; } diff --git a/docs/types_is.js.html b/docs/types_is.js.html index c951b48e4cae1d5dc48f487376a78eefcd987bb1..d7164a16a9f6d180730ac036a4171bbdf5eddde1 100644 --- a/docs/types_is.js.html +++ b/docs/types_is.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -62,7 +62,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isIterable(null)) // ↦ false * console.log(Monster.Types.isIterable('hello')) // ↦ true * console.log(Monster.Types.isIterable([])) // ↦ true @@ -73,7 +73,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isIterable(null)) // ↦ false * console.log(isIterable('hello')) // ↦ true * console.log(isIterable([])) // ↦ true @@ -100,7 +100,7 @@ function isIterable(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isPrimitive('2')) // ↦ false * console.log(Monster.Types.isPrimitive([])) // ↦ true * </script> @@ -110,7 +110,7 @@ function isIterable(value) { * * ``` * <script type="module"> - * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isPrimitive('2')) // ↦ true * console.log(isPrimitive([])) // ↦ false * </script> @@ -145,7 +145,7 @@ function isPrimitive(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isBoolean('2')) // ↦ false * console.log(Monster.Types.isBoolean([])) // ↦ false * console.log(Monster.Types.isBoolean(true)) // ↦ true @@ -156,7 +156,7 @@ function isPrimitive(value) { * * ``` * <script type="module"> - * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isBoolean('2')) // ↦ false * console.log(isBoolean([])) // ↦ false * console.log(isBoolean(2>4)) // ↦ true @@ -185,7 +185,7 @@ function isBoolean(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isString('2')) // ↦ true * console.log(Monster.Types.isString([])) // ↦ false * </script> @@ -195,7 +195,7 @@ function isBoolean(value) { * * ``` * <script type="module"> - * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isString('2')) // ↦ true * console.log(isString([])) // ↦ false * </script> @@ -221,7 +221,7 @@ function isString(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isObject('2')) // ↦ false * console.log(Monster.Types.isObject([])) // ↦ false * console.log(Monster.Types.isObject({})) // ↦ true @@ -232,7 +232,7 @@ function isString(value) { * * ``` * <script type="module"> - * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isObject('2')) // ↦ false * console.log(isObject([])) // ↦ false * </script> @@ -263,7 +263,7 @@ function isObject(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isInstance('2')) // ↦ false * console.log(Monster.Types.isInstance([])) // ↦ false * console.log(Monster.Types.isInstance({})) // ↦ true @@ -274,7 +274,7 @@ function isObject(value) { * * ``` * <script type="module"> - * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isInstance('2')) // ↦ false * console.log(isInstance([])) // ↦ false * </script> @@ -303,7 +303,7 @@ function isInstance(value, instance) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isArray('2')) // ↦ false * console.log(Monster.Types.isArray([])) // ↦ true * </script> @@ -313,7 +313,7 @@ function isInstance(value, instance) { * * ``` * <script type="module"> - * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isArray('2')) // ↦ false * console.log(isArray([])) // ↦ true * </script> @@ -339,7 +339,7 @@ function isArray(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isFunction(()=>{})) // ↦ true * console.log(Monster.Types.isFunction('2')) // ↦ false * console.log(Monster.Types.isFunction([])) // ↦ false @@ -350,7 +350,7 @@ function isArray(value) { * * ``` * <script type="module"> - * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isFunction(()=>{})) // ↦ true * console.log(isFunction('2')) // ↦ false * console.log(isFunction([])) // ↦ false @@ -382,7 +382,7 @@ function isFunction(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isInteger(()=>{})) // ↦ true * console.log(Monster.Types.isInteger('2')) // ↦ false * console.log(Monster.Types.isInteger(2)) // ↦ true @@ -393,7 +393,7 @@ function isFunction(value) { * * ``` * <script type="module"> - * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isInteger(()=>{})) // ↦ true * console.log(isInteger('2')) // ↦ false * console.log(isInteger(2)) // ↦ true diff --git a/docs/types_namespace.js.html b/docs/types_namespace.js.html index b227bc8b017671b6d31f619d7fae44eb61a36617..8c4a97ee2707d1439c003db9ac0aed047c5f8a3f 100644 --- a/docs/types_namespace.js.html +++ b/docs/types_namespace.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -52,7 +52,14 @@ /** * @namespace Monster/Types * @author schukai GmbH - */</code></pre> + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Types";</code></pre> </article> </section> diff --git a/docs/types_object.js.html b/docs/types_object.js.html deleted file mode 100644 index 58d48b76693cffd791677fab2cc632f30ccc5fcf..0000000000000000000000000000000000000000 --- a/docs/types_object.js.html +++ /dev/null @@ -1,134 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>types/base.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Object.html">Object</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Object.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li><li><a href="Monster_Util.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#setVia">setVia</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> -</nav> - -<div id="main"> - - <h1 class="page-title">types/base.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster} from '../namespace.js'; - - -/** - * This is the base class from which all monster classes are derived. - * - * you can call the method via the monster namespace `new Monster.Types.Object()`. - * - * ``` - * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.4.0/dist/modules/types/base.js'; - * console.log(new Monster.Types.Object()) - * console.log(new Monster.Types.Object()) - * </script> - * ``` - * - * Alternatively, you can also integrate this function individually. - * - * ``` - * <script type="module"> - * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.4.0/dist/modules/types/base.js'; - * console.log(new Object()) - * console.log(new Object()) - * </script> - * ``` - * - * @since 1.0.0 - * @copyright schukai GmbH - * @memberOf Monster/Types - */ -class Object { - - /** - * - */ - constructor() { - } - - /** - * - * @returns {string} - */ - toString() { - return JSON.stringify(this); - }; - - -} - -Monster.assignToNamespace('Monster.Types', Object); -export {Monster, Object} -</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/docs/types_observer.js.html b/docs/types_observer.js.html index a7bb3b73bb17435243f97d9eb05dc7bcea0756b7..34200c25fac51c52d2f6d07c43e28b03b5ae729d 100644 --- a/docs/types_observer.js.html +++ b/docs/types_observer.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -66,7 +66,7 @@ import {UniqueQueue} from './uniquequeue.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; * console.log(new Monster.Types.Observer()) * </script> * ``` @@ -75,7 +75,7 @@ import {UniqueQueue} from './uniquequeue.js'; * * ``` * <script type="module"> - * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; * console.log(Observer()) * </script> * ``` @@ -180,6 +180,7 @@ class Observer extends Base { return new Promise(function (resolve, reject) { if (!isObject(subject)) { reject("subject must be an object"); + return; } self.queue.add(subject); diff --git a/docs/types_observerlist.js.html b/docs/types_observerlist.js.html index 922be7062ac0895f69edfd0fed4abb8c517a907b..4d841a7c678f161af76dcc3160822fc1eeb91f01 100644 --- a/docs/types_observerlist.js.html +++ b/docs/types_observerlist.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -54,7 +54,9 @@ */ import {Monster} from '../namespace.js'; -import {Base} from './base.js'; +import {Base} from './base.js'; +import {Observer} from "./observer.js"; +import {validateInstance} from "./validate.js"; /** * With the help of the ObserverList class, observer can be managed. @@ -63,9 +65,9 @@ import {Base} from './base.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; - * console.log(new Monster.Types.ObserverList()) - * console.log(new Monster.Types.ObserverList()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; + * console.log(new Monster.Types.ObserverList()) + * console.log(new Monster.Types.ObserverList()) * </script> * ``` * @@ -73,7 +75,7 @@ import {Base} from './base.js'; * * ``` * <script type="module"> - * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; + * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; * console.log(ObserverList()) * console.log(ObserverList()) * </script> @@ -85,19 +87,36 @@ import {Base} from './base.js'; */ class ObserverList extends Base { + /** + * + */ constructor() { super(); this.observers = []; } + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ attach(observer) { - checkIsObserver(observer); + validateInstance(observer, Observer) + this.observers.push(observer); return this; }; + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ detach(observer) { - checkIsObserver(observer); + validateInstance(observer, Observer) + var i = 0, l = this.observers.length; for (; i < l; i++) { if (this.observers[i] === observer) { @@ -108,8 +127,14 @@ class ObserverList extends Base { return this; }; + /** + * + * @param {Observer} observer + * @return {boolean} + * @throws {TypeError} value is not an instance of Observer + */ contains(observer) { - checkIsObserver(observer); + validateInstance(observer, Observer) var i = 0, l = this.observers.length; for (; i < l; i++) { if (this.observers[i] === observer) { @@ -119,6 +144,11 @@ class ObserverList extends Base { return false; }; + /** + * + * @param subject + * @return {Promise} + */ notify(subject) { let pomises = [] @@ -133,19 +163,6 @@ class ObserverList extends Base { } -/** - * - * @param {Monster.Types.Observer} observer - * @returns {boolean} - * @private - */ -function checkIsObserver(observer) { - if (!(observer instanceof Monster.Types.Observer)) { - throw new Error("argument must be instance of observer") - } - return true; -} - Monster.assignToNamespace('Monster.Types', ObserverList); export {Monster, ObserverList} </code></pre> diff --git a/docs/types_proxyobserver.js.html b/docs/types_proxyobserver.js.html index 2dd1eac9648c3052e05360ecf2520bbfd6e461c5..94022b9a72d8761f9399014965832858872bb6b8 100644 --- a/docs/types_proxyobserver.js.html +++ b/docs/types_proxyobserver.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -67,7 +67,7 @@ import {isObject, isArray, isPrimitive} from "./is.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; * console.log(new Monster.Types.ProxyObserver()) * </script> * ``` @@ -76,7 +76,7 @@ import {isObject, isArray, isPrimitive} from "./is.js"; * * ``` * <script type="module"> - * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; * console.log(new ProxyObserver()) * </script> * ``` @@ -117,6 +117,7 @@ class ProxyObserver extends Base { /** * * @param {object} object + * @throws {TypeError} value is not a object */ constructor(object) { super(); diff --git a/docs/types_queue.js.html b/docs/types_queue.js.html index a8a55aee261219111e0b86a50f92aa9720a95e87..727f194856250697c4ed259947beebd7140432a9 100644 --- a/docs/types_queue.js.html +++ b/docs/types_queue.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -50,13 +50,11 @@ <pre class="prettyprint source linenums"><code>import {Monster, Base} from './base.js'; /** - * queue class - * * you can call the method via the monster namespace `new Monster.Types.Queue()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; * console.log(new Monster.Types.Queue()) * </script> * ``` @@ -65,7 +63,7 @@ * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; * console.log(new Queue()) * </script> * ``` diff --git a/docs/types_randomid.js.html b/docs/types_randomid.js.html new file mode 100644 index 0000000000000000000000000000000000000000..9b35e367119d10de2fef90419e1b01b1cbea2a24 --- /dev/null +++ b/docs/types_randomid.js.html @@ -0,0 +1,136 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + + <meta charset="utf-8"> + <title>types/randomid.js - awaken the monster in you; javascript library by schukai GmbH</title> + + <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> + + + + <script src="scripts/prettify/prettify.js"></script> + <script src="scripts/prettify/lang-css.js"></script> + <!--[if lt IE 9]> + <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <link type="text/css" rel="stylesheet" href="styles/prettify.css"> + <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> + <script src="scripts/nav.js" defer></script> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> +</head> +<body> + +<input type="checkbox" id="nav-trigger" class="nav-trigger" /> +<label for="nav-trigger" class="navicon-button x"> + <div class="navicon"></div> +</label> + +<label for="nav-trigger" class="overlay"></label> + +<nav > + + <input type="text" id="nav-search" placeholder="Search" /> + + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> +</nav> + +<div id="main"> + + <h1 class="page-title">types/randomid.js</h1> + + + + + + + + <section> + <article> + <pre class="prettyprint source linenums"><code>'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, ID} from "./id.js"; +import {getGlobal} from "./global.js"; +import {random} from "../math/random.js"; + +/** + * @private + * @type {number} + */ +let internalCounter = 0; + +/** + * you can call the method via the monster namespace `new Monster.Types.RandomID()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; + * console.log(new Monster.Types.RandomID()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; + * console.log(new RandomID()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/Types + */ +class RandomID extends ID { + + /** + * create new object + */ + constructor() { + super(); + + internalCounter += 1; + + this.id = getGlobal().btoa(random(1, 10000)) + .replace(/=/g, '') + /** No numbers at the beginning of the ID, because of possible problems with DOM */ + .replace(/^[0-9]+/, 'X') + internalCounter; + } + +} + +Monster.assignToNamespace('Monster.Types', RandomID); +export {Monster, RandomID} +</code></pre> + </article> + </section> + + + + + + +</div> + +<br class="clear"> + +<footer> +</footer> + +<script>prettyPrint();</script> +<script src="scripts/polyfill.js"></script> +<script src="scripts/linenumber.js"></script> + +<script src="scripts/search.js" defer></script> + + +<script src="scripts/collapse.js" defer></script> + + +</body> +</html> diff --git a/docs/types_stack.js.html b/docs/types_stack.js.html index 11227b3473c05dcfaf2feda14895e74aa72e0d2b..899d40974aea6dbfeeede74257c0b12fa9914ff4 100644 --- a/docs/types_stack.js.html +++ b/docs/types_stack.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -50,13 +50,11 @@ <pre class="prettyprint source linenums"><code>import {Monster, Base} from './base.js'; /** - * Stack class - * * you can call the method via the monster namespace `new Monster.Types.Queue()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/stack.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; * console.log(new Monster.Types.Stack()) * </script> * ``` @@ -65,7 +63,7 @@ * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/stack.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; * console.log(new Stack()) * </script> * ``` diff --git a/docs/types_tokenlist.js.html b/docs/types_tokenlist.js.html index aafefaecae4a97eae79a0ce5ed6d24e557db3877..8e3adc93b0c36dc1c2d9c55070359b82bbe38331 100644 --- a/docs/types_tokenlist.js.html +++ b/docs/types_tokenlist.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -67,7 +67,7 @@ import {validateString, validateFunction} from '../types/validate.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; * console.log(new Monster.Types.TokenList("myclass row")) * console.log(new Monster.Types.TokenList("myclass row")) * </script> @@ -77,7 +77,7 @@ import {validateString, validateFunction} from '../types/validate.js'; * * ``` * <script type="module"> - * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; + * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; * console.log(new TokenList("myclass row")) * console.log(new TokenList("myclass row")) * </script> diff --git a/docs/types_uniquequeue.js.html b/docs/types_uniquequeue.js.html index 7b3051608ed3ebe147b4faa7d1eead0c632e401e..f8d6ebbc08170347e38d0d84fcfe7b1967e1cb5b 100644 --- a/docs/types_uniquequeue.js.html +++ b/docs/types_uniquequeue.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -51,13 +51,11 @@ import {validateObject} from "./validate.js"; /** - * UniqueQueue class - * * you can call the method via the monster namespace `new Monster.Types.Queue()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; * console.log(new Monster.Types.UniqueQueue()) * </script> * ``` @@ -66,7 +64,7 @@ import {validateObject} from "./validate.js"; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; * console.log(new UniqueQueue()) * </script> * ``` diff --git a/docs/types_validate.js.html b/docs/types_validate.js.html index 8fb85e310290b1f5cdc7c3d2649e010ac16e3b73..c35b6b621c3a8ed8d242d00f20a0817af4926ebb 100644 --- a/docs/types_validate.js.html +++ b/docs/types_validate.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -73,7 +73,7 @@ import { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError * console.log(Monster.Types.validateIterable([])) // ↦ undefined * </script> @@ -83,7 +83,7 @@ import { * * ``` * <script type="module"> - * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateIterable('2')) // ↦ TypeError * console.log(validateIterable([])) // ↦ undefined * </script> @@ -112,7 +112,7 @@ function validateIterable(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validatePrimitive('2')) // ↦ undefined * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError * </script> @@ -122,7 +122,7 @@ function validateIterable(value) { * * ``` * <script type="module"> - * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validatePrimitive('2')) // ↦ undefined * console.log(validatePrimitive([])) // ↦ TypeError * </script> @@ -151,7 +151,7 @@ function validatePrimitive(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateBoolean(true)) // ↦ undefined * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError @@ -162,7 +162,7 @@ function validatePrimitive(value) { * * ``` * <script type="module"> - * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateBoolean(false)) // ↦ undefined * console.log(validateBoolean('2')) // ↦ TypeError * console.log(validateBoolean([])) // ↦ TypeError @@ -190,7 +190,7 @@ function validateBoolean(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateString('2')) // ↦ undefined * console.log(Monster.Types.validateString([])) // ↦ TypeError * </script> @@ -200,7 +200,7 @@ function validateBoolean(value) { * * ``` * <script type="module"> - * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateString('2')) // ↦ undefined * console.log(validateString([])) // ↦ TypeError * </script> @@ -227,7 +227,7 @@ function validateString(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateObject({})) // ↦ undefined * console.log(Monster.Types.validateObject('2')) // ↦ TypeError * console.log(Monster.Types.validateObject([])) // ↦ TypeError @@ -238,7 +238,7 @@ function validateString(value) { * * ``` * <script type="module"> - * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateObject({})) // ↦ undefined * console.log(validateObject('2')) // ↦ TypeError * console.log(validateObject([])) // ↦ TypeError @@ -259,13 +259,13 @@ function validateObject(value) { } /** - * this method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown. + * this method checks if the type matches the object instance. * - * you can call the method via the monster namespace `Monster.Types.validateObject()`. + * you can call the method via the monster namespace `Monster.Types.validateInstance()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateInstance({}, Object)) // ↦ undefined * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError @@ -276,7 +276,7 @@ function validateObject(value) { * * ``` * <script type="module"> - * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateInstance({}, Object)) // ↦ undefined * console.log(validateInstance('2', Object)) // ↦ TypeError * console.log(validateInstance([], Object)) // ↦ TypeError @@ -292,7 +292,16 @@ function validateObject(value) { */ function validateInstance(value, instance) { if (!isInstance(value, instance)) { - throw new TypeError('value is not an instance of') + let n = ""; + if (isObject(instance) || isFunction(instance)) { + n = instance?.['name'] + } + + if (n) { + n = " " + n; + } + + throw new TypeError('value is not an instance of' + n) } } @@ -303,7 +312,7 @@ function validateInstance(value, instance) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateArray('2')) // ↦ TypeError * console.log(Monster.Types.validateArray([])) // ↦ undefined * </script> @@ -313,7 +322,7 @@ function validateInstance(value, instance) { * * ``` * <script type="module"> - * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateArray('2')) // ↦ TypeError * console.log(validateArray([])) // ↦ undefined * </script> @@ -339,7 +348,7 @@ function validateArray(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateFunction(()=>{})) // ↦ undefined * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError * console.log(Monster.Types.validateFunction([])) // ↦ TypeError @@ -350,7 +359,7 @@ function validateArray(value) { * * ``` * <script type="module"> - * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateFunction(()=>{})) // ↦ undefined * console.log(validateFunction('2')) // ↦ TypeError * console.log(validateFunction([])) // ↦ TypeError @@ -377,7 +386,7 @@ function validateFunction(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError * console.log(Monster.Types.validateInteger(2)) // ↦ undefined @@ -388,7 +397,7 @@ function validateFunction(value) { * * ``` * <script type="module"> - * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateInteger(true)) // ↦ TypeError * console.log(validateInteger('2')) // ↦ TypeError * console.log(validateInteger(2)) // ↦ undefined diff --git a/docs/types_version.js.html b/docs/types_version.js.html index 5f9c11e191c7efc7b4f0cdb3d0bf3e740aefe0c9..9749beff167280fb41aeb19ce964914d2c5d05cb 100644 --- a/docs/types_version.js.html +++ b/docs/types_version.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -59,7 +59,7 @@ import {Base} from './base.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3 * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0 * </script> @@ -69,7 +69,7 @@ import {Base} from './base.js'; * * ``` * <script type="module"> - * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(new Version('1.2.3')) // ↦ 1.2.3 * console.log(new Version('1')) // ↦ 1.0.0 * </script> @@ -199,7 +199,7 @@ let monsterVersion; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(Monster.getVersion()) * console.log(Monster.getVersion()) * </script> @@ -209,7 +209,7 @@ let monsterVersion; * * ``` * <script type="module"> - * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(getVersion()) * console.log(getVersion()) * </script> @@ -226,7 +226,7 @@ function getVersion() { return monsterVersion; } /**#@+ dont touch, replaced by make with package.json version */ - monsterVersion = new Version('1.5.0') + monsterVersion = new Version('1.6.0') /**#@-*/ return monsterVersion; diff --git a/docs/util_clone.js.html b/docs/util_clone.js.html index d4747cce2863eb00c069c51049d474c682972a17..2b25c1210ab20d92129aa51653d433cde99f86b3 100644 --- a/docs/util_clone.js.html +++ b/docs/util_clone.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -55,6 +55,7 @@ import {Monster} from '../namespace.js'; import {isObject, isFunction, isPrimitive, isArray} from '../types/is.js'; +import {getGlobal} from '../types/global.js'; /** @@ -70,7 +71,7 @@ import {isObject, isFunction, isPrimitive, isArray} from '../types/is.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; * console.log(Monster.Util.clone({})) * </script> * ``` @@ -79,7 +80,7 @@ import {isObject, isFunction, isPrimitive, isArray} from '../types/is.js'; * * ``` * <script type="module"> - * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; + * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; * console.log(clone({})) * </script> * ``` @@ -136,6 +137,7 @@ function clone(obj) { if (typeof DocumentFragment !== 'undefined' && obj instanceof DocumentFragment) return obj; /** Do not clone global objects */ + if (obj === getGlobal()) return obj; if (typeof globalContext !== 'undefined' && obj === globalContext) return obj; if (typeof window !== 'undefined' && obj === window) return obj; if (typeof document !== 'undefined' && obj === document) return obj; diff --git a/docs/util_comparator.js.html b/docs/util_comparator.js.html index d76800da4892c242c2d406da14b6664e4f6fc691..d5bb6dfdd375ae503b32d746add8b4936f558545 100644 --- a/docs/util_comparator.js.html +++ b/docs/util_comparator.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -61,7 +61,7 @@ import {isFunction} from '../types/is.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Monster.Util.Comparator()) * console.log(new Monster.Util.Comparator()) * </script> @@ -71,7 +71,7 @@ import {isFunction} from '../types/is.js'; * * ``` * <script type="module"> - * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Util()) * console.log(new Util()) * </script> diff --git a/docs/util_freeze.js.html b/docs/util_freeze.js.html index 05063939ec0e40b88277d2924d2132839cdbe60d..9812a0272efc6e208739a519a7c3dfd6ca4925e6 100644 --- a/docs/util_freeze.js.html +++ b/docs/util_freeze.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -63,7 +63,7 @@ import {validateObject} from '../types/validate.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js'; * console.log(Monster.Util.deepFreeze({})) * </script> * ``` @@ -72,7 +72,7 @@ import {validateObject} from '../types/validate.js'; * * ``` * <script type="module"> - * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js'; + * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js'; * console.log(deepFreeze({})) * </script> * ``` diff --git a/docs/util_namespace.js.html b/docs/util_namespace.js.html index 98b8b2ff85ad838ae4e64fcb513df64d63a63d75..b20795eda9c04aa4f6fd32970a28edaa848de546 100644 --- a/docs/util_namespace.js.html +++ b/docs/util_namespace.js.html @@ -32,7 +32,7 @@ <input type="text" id="nav-search" placeholder="Search" /> - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#convertToString">convertToString</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> + <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Data.html">Monster/Data</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.html#.Diff">Diff</a></li></ul></li><li><a href="Monster_DOM.html">Monster/DOM</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocument">getDocument</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getDocumentFragmentFromString">getDocumentFragmentFromString</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getHandleFromNode">getHandleFromNode</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.html#.getWindow">getWindow</a></li></ul></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobal">getGlobal</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalFunction">getGlobalFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.getGlobalObject">getGlobalObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.DOM.Handle.html">Handle</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#append">append</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster.DOM.Handle.html#update">update</a></li></ul></li><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Data.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#deleteVia">deleteVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Pathfinder.html#setVia">setVia</a></li></ul></li><li><a href="Monster_Data.Pipe.html">Pipe</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Pipe.html#run">run</a></li></ul></li><li><a href="Monster_Data.Transformer.html">Transformer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#run">run</a></li><li data-type='method' style='display: none;'><a href="Monster_Data.Transformer.html#setCallback">setCallback</a></li></ul></li><li><a href="Monster_DOM.Assembler.html">Assembler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#getAttributePrefix">getAttributePrefix</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Assembler.html#setAttributePrefix">setAttributePrefix</a></li></ul></li><li><a href="Monster_DOM.Template.html">Template</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#createDocumentFragment">createDocumentFragment</a></li><li data-type='method' style='display: none;'><a href="Monster_DOM.Template.html#getTemplateElement">getTemplateElement</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ID.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#attach">attach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#detach">detach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ObserverList.html#notify">notify</a></li></ul></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.RandomID.html">RandomID</a></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3> </nav> <div id="main"> @@ -52,7 +52,14 @@ /** * @namespace Monster/Util * @author schukai GmbH - */</code></pre> + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Util";</code></pre> </article> </section> diff --git a/docs/util_pathfinder.js.html b/docs/util_pathfinder.js.html deleted file mode 100644 index 0c44c33ed29b6ac6040a3e588958ffaa878f3bc0..0000000000000000000000000000000000000000 --- a/docs/util_pathfinder.js.html +++ /dev/null @@ -1,350 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - - <meta charset="utf-8"> - <title>util/pathfinder.js - awaken the monster in you; javascript library by schukai GmbH</title> - - <meta name="description" content="javascript library for optimal use on fast and flexible pages." /> - - - - <script src="scripts/prettify/prettify.js"></script> - <script src="scripts/prettify/lang-css.js"></script> - <!--[if lt IE 9]> - <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> - <![endif]--> - <link type="text/css" rel="stylesheet" href="styles/prettify.css"> - <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> - <script src="scripts/nav.js" defer></script> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> -</head> -<body> - -<input type="checkbox" id="nav-trigger" class="nav-trigger" /> -<label for="nav-trigger" class="navicon-button x"> - <div class="navicon"></div> -</label> - -<label for="nav-trigger" class="overlay"></label> - -<nav > - - <input type="text" id="nav-search" placeholder="Search" /> - - <h2><a href="index.html">Home</a></h2><h2><a href="https://www.schukai.com/" target="_blank" class="menu-item" id="schukai_link" >schukai GmbH</a></h2><h2><a href="https://www.npmjs.com/package/@schukai/monster" target="_blank" class="menu-item" id="npm_link" >NPM</a></h2><h3>Namespaces</h3><ul><li><a href="global.html#Monster">Monster</a><ul class='methods'><li data-type='method' style='display: none;'><a href="global.html#Monster#.assignToNamespace">assignToNamespace</a></li><li data-type='method' style='display: none;'><a href="global.html#Monster#.getVersion">getVersion</a></li></ul></li><li><a href="Monster_Constraints.html">Monster/Constraints</a></li><li><a href="Monster_Logging.html">Monster/Logging</a></li><li><a href="Monster_Logging_Handler.html">Monster/Logging/Handler</a></li><li><a href="Monster_Math.html">Monster/Math</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Math.html#.random">random</a></li></ul></li><li><a href="Monster_Types.html">Monster/Types</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isArray">isArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isBoolean">isBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isFunction">isFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInstance">isInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isInteger">isInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isIterable">isIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isObject">isObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isPrimitive">isPrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.isString">isString</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateArray">validateArray</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateBoolean">validateBoolean</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateFunction">validateFunction</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInstance">validateInstance</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateInteger">validateInteger</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateIterable">validateIterable</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateObject">validateObject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validatePrimitive">validatePrimitive</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.html#.validateString">validateString</a></li></ul></li><li><a href="Monster_Util.html">Monster/Util</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.html#.clone">clone</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.html#.deepFreeze">deepFreeze</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="Monster.Namespace.html">Namespace</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#getNamespace">getNamespace</a></li><li data-type='method' style='display: none;'><a href="Monster.Namespace.html#toString">toString</a></li></ul></li><li><a href="Monster_Constraints.AbstractConstraint.html">AbstractConstraint</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AbstractConstraint.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.AbstractOperator.html">AbstractOperator</a></li><li><a href="Monster_Constraints.AndOperator.html">AndOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.AndOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Invalid.html">Invalid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Invalid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsArray.html">IsArray</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsArray.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.IsObject.html">IsObject</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.IsObject.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.OrOperator.html">OrOperator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.OrOperator.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Constraints.Valid.html">Valid</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Constraints.Valid.html#isValid">isValid</a></li></ul></li><li><a href="Monster_Logging.Handler.html">Handler</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#getLogLevel">getLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#log">log</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setAll">setAll</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setDebug">setDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setError">setError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setFatal">setFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setInfo">setInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setLogLevel">setLogLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setOff">setOff</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setTrace">setTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Handler.html#setWarn">setWarn</a></li></ul></li><li><a href="Monster_Logging.LogEntry.html">LogEntry</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getArguments">getArguments</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.LogEntry.html#getLogLevel">getLogLevel</a></li></ul></li><li><a href="Monster_Logging.Logger.html">Logger</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#addHandler">addHandler</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLabel">getLabel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#getLevel">getLevel</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logDebug">logDebug</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logError">logError</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logFatal">logFatal</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logInfo">logInfo</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logTrace">logTrace</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#logWarn">logWarn</a></li><li data-type='method' style='display: none;'><a href="Monster_Logging.Logger.html#removeHandler">removeHandler</a></li></ul></li><li><a href="Monster_Logging_Handler.ConsoleHandler.html">ConsoleHandler</a></li><li><a href="Monster_Types.Base.html">Base</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Base.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.ID.html">ID</a></li><li><a href="Monster_Types.Observer.html">Observer</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#addTag">addTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#getTags">getTags</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#hasTag">hasTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#removeTag">removeTag</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Observer.html#update">update</a></li></ul></li><li><a href="Monster_Types.ObserverList.html">ObserverList</a></li><li><a href="Monster_Types.ProxyObserver.html">ProxyObserver</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#attachObserver">attachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#containsObserver">containsObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#detachObserver">detachObserver</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getRealSubject">getRealSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#getSubject">getSubject</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.ProxyObserver.html#notifyObservers">notifyObservers</a></li></ul></li><li><a href="Monster_Types.Queue.html">Queue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Queue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Stack.html">Stack</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#isEmpty">isEmpty</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#peek">peek</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#pop">pop</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Stack.html#push">push</a></li></ul></li><li><a href="Monster_Types.TokenList.html">TokenList</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#contains">contains</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#entries">entries</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#forEach">forEach</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#getIterator">getIterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#remove">remove</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#replace">replace</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#Symbol.iterator">Symbol.iterator</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toggle">toggle</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.TokenList.html#toString">toString</a></li></ul></li><li><a href="Monster_Types.UniqueQueue.html">UniqueQueue</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#add">add</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#clear">clear</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.UniqueQueue.html#poll">poll</a></li></ul></li><li><a href="Monster_Types.Version.html">Version</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#compareTo">compareTo</a></li><li data-type='method' style='display: none;'><a href="Monster_Types.Version.html#toString">toString</a></li></ul></li><li><a href="Monster_Util.Comparator.html">Comparator</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#equal">equal</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThan">greaterThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#greaterThanOrEqual">greaterThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThan">lessThan</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#lessThanOrEqual">lessThanOrEqual</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Comparator.html#reverse">reverse</a></li></ul></li><li><a href="Monster_Util.Pathfinder.html">Pathfinder</a><ul class='methods'><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#exists">exists</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#getVia">getVia</a></li><li data-type='method' style='display: none;'><a href="Monster_Util.Pathfinder.html#setVia">setVia</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#ALL">ALL</a></li><li><a href="global.html#getValueViaPath">getValueViaPath</a></li><li><a href="global.html#setValueViaPath">setValueViaPath</a></li></ul> -</nav> - -<div id="main"> - - <h1 class="page-title">util/pathfinder.js</h1> - - - - - - - - <section> - <article> - <pre class="prettyprint source linenums"><code>'use strict'; - -/** - * @author schukai GmbH - */ - -import {Monster} from '../namespace.js'; -import {isObject, isArray, isInteger} from '../types/is.js'; -import {validateString, validateInteger} from '../types/validate.js'; -import {Base} from '../types/base.js'; -import {Stack} from "../types/stack.js"; - -/** - * path separator - * - * @private - * @type {string} - */ -const DELIMITER = '.'; - -/** - * Pathfinder class - * - * you can call the method via the monster namespace `new Monster.Util.Pathfinder()`. - * - * ``` - * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.4.0/dist/modules/util/pathfinder.js'; - * console.log(new Monster.Util.Pathfinder()) - * </script> - * ``` - * - * Alternatively, you can also integrate this function individually. - * - * ``` - * <script type="module"> - * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.4.0/dist/modules/util/pathfinder.js'; - * console.log(new Pathfinder()) - * </script> - * ``` - * - * With the help of the pathfinder, values can be read and written from an object construct. - * - * ``` - * new Pathfinder({ - * a: { - * b: { - * f: [ - * { - * g: false, - * } - * ], - * } - * } - * }).getVia("a.b.f.0.g"); // ↦ false - * ``` - * - * if a value is not present or has the wrong type, a corresponding exception is thrown. - * - * ``` - * new Pathfinder({}).getVia("a.b.f.0.g"); // ↦ Error - * ``` - * - * The `Pathfinder.exists()` method can be used to check whether access to the path is possible. - * - * ``` - * new Pathfinder({}).exists("a.b.f.0.g"); // ↦ false - * ``` - * - * pathfinder can also be used to build object structures. to do this, the `Pathfinder.setVia()` method must be used. - * - * ``` - * obj = {}; - * new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} - * ``` - * - * @since 1.4.0 - * @copyright schukai GmbH - * @memberOf Monster/Util - */ -class Pathfinder extends Base { - - /** - * @param {array|object|Map|Set} value - * @since 1.4.0 - **/ - constructor(object) { - super(); - this.object = object; - } - - /** - * - * @param {string} path - * @since 1.4.0 - * @returns {*} - * @throws {TypeError} unsupported type - * @throws {Error} the journey is not at its end - * @throws {TypeError} value is not a string - * @throws {TypeError} value is not an integer - */ - getVia(path) { - validateString(path); - return getValueViaPath(this.object, path); - } - - /** - * - * @param {string} path - * @param {*} value - * @returns {Pathfinder} - * @since 1.4.0 - * @throws {TypeError} unsupported type - * @throws {TypeError} value is not a string - * @throws {TypeError} value is not an integer - */ - setVia(path, value) { - validateString(path); - setValueViaPath(this.object, path, value); - return this; - } - - /** - * - * @param {string} path - * @return {bool} - * @throws {TypeError} unsupported type - * @throws {TypeError} value is not a string - * @throws {TypeError} value is not an integer - * @since 1.4.0 - */ - exists(path) { - validateString(path); - try { - getValueViaPath(this.object, path, true); - return true; - } catch (e) { - - } - - return false; - } - -} - -Monster.assignToNamespace('Monster.Util', Pathfinder); -export {Monster, Pathfinder} - -/** - * - * @param {*} object - * @param [string} path - * @param [boolean} check - * @returns {*} - * @throws {TypeError} unsupported type - * @throws {Error} the journey is not at its end - */ -function getValueViaPath(object, path, check) { - - if (path === "") { - return object; - } - - let parts = path.split(DELIMITER) - let current = parts.shift(); - - if (isObject(object) || isArray(object)) { - - let anchor; - if (object instanceof Map) { - anchor = object.get(current); - } else if (object instanceof Set) { - current = parseInt(current); - validateInteger(current) - anchor = [...object]?.[current]; - } else if (isArray(object)) { - current = parseInt(current); - validateInteger(current) - anchor = object?.[current]; - } else { - anchor = object?.[current]; - } - - if (isObject(anchor) || isArray(anchor)) { - return getValueViaPath(anchor, parts.join(DELIMITER), check) - } - - if (parts.length > 0) { - throw Error("the journey is not at its end (" + parts.join(DELIMITER) + ")"); - } - - if (check === true && !object.hasOwnProperty(current)) { - throw Error('unknown value'); - } - - return anchor; - - } - - throw TypeError("unsupported type") - -} - -/** - * - * @param object - * @param path - * @param value - * @returns {undefined|*} - * @throws {TypeError} unsupported type - * @throws {TypeError} unsupported type - * @throws {Error} the journey is not at its end - */ -function setValueViaPath(object, path, value) { - - let parts = path.split(DELIMITER) - let last = parts.pop(); - let subpath = parts.join(DELIMITER); - - let stack = new Stack() - let current = subpath; - while (true) { - - try { - getValueViaPath(object, current, true) - break; - } catch (e) { - - } - - stack.push(current); - parts.pop(); - current = parts.join(DELIMITER); - - if (current === "") break; - } - - while (!stack.isEmpty()) { - current = stack.pop(); - let obj = {}; - - if (!stack.isEmpty()) { - let n = stack.peek().split(DELIMITER).pop(); - if (isInteger(parseInt(n))) { - obj = []; - } - - } - - - setValueViaPath(object, current, obj); - } - - let anchor = getValueViaPath(object, subpath); - - if (!isObject(object) && !isArray(object)) { - throw TypeError("unsupported type: " + typeof object); - } - - if (anchor instanceof Map) { - anchor.set(last, value); - } else if (anchor instanceof Set) { - anchor.append(value) - } else if (isArray(anchor)) { - last = parseInt(last); - validateInteger(last) - anchor[last] = value; - } else { - anchor[last] = value; - } - - return anchor; - -}</code></pre> - </article> - </section> - - - - - - -</div> - -<br class="clear"> - -<footer> -</footer> - -<script>prettyPrint();</script> -<script src="scripts/polyfill.js"></script> -<script src="scripts/linenumber.js"></script> - -<script src="scripts/search.js" defer></script> - - -<script src="scripts/collapse.js" defer></script> - - -</body> -</html> diff --git a/package-lock.json b/package-lock.json index 86d34c57765db3562e86c242609f5847e8772cee..a1d653db457f53f4596e5e09a676a3c201edd7ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "devDependencies": { "@babel/cli": "^7.14.5", "@babel/core": "^7.14.6", + "@babel/plugin-transform-runtime": "^7.14.5", "@babel/preset-env": "^7.14.7", "@babel/preset-flow": "^7.14.5", "@babel/preset-modules": "^0.1.4", @@ -27,16 +28,17 @@ "eslint": "^7.28.0", "esm": "^3.2.25", "exorcist": "^2.0.0", - "flow-bin": "^0.153.0", + "flow-bin": "^0.156.0", "get-random-values": "^1.2.2", "jsdoc": "^3.6.7", "jsdom": "^16.6.0", "lstat": "^1.0.0", - "mocha": "^9.0.0", - "mocha-headless": "^6.0.0", + "mocha": "^9.0.2", + "mocha-headless": "^8.0.0", "mochify": "^8.1.0", "process": "^0.11.10", "sinon": "^11.1.1", + "supertest": "^6.1.4", "tinyify": "^3.0.0", "uglify-js": "^3.13.9", "uglifycss": "^0.0.29", @@ -45,9 +47,9 @@ } }, "node_modules/@babel/cli": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.14.5.tgz", - "integrity": "sha512-poegjhRvXHWO0EAsnYajwYZuqcz7gyfxwfaecUESxDujrqOivf3zrjFbub8IJkrqEaz3fvJWh001EzxBub54fg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.14.8.tgz", + "integrity": "sha512-lcy6Lymft9Rpfqmrqdd4oTDdUx9ZwaAhAfywVrHG4771Pa6PPT0danJ1kDHBXYqh4HHSmIdA+nlmfxfxSDPtBg==", "dev": true, "dependencies": { "commander": "^4.0.1", @@ -95,20 +97,20 @@ } }, "node_modules/@babel/core": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.6.tgz", - "integrity": "sha512-gJnOEWSqTk96qG5BoIrl5bVtc23DCycmIePPYnamY9RboYdI4nFy5vAQMSl81O5K/W0sLDWfGysnOECC+KUUCA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.8.tgz", + "integrity": "sha512-/AtaeEhT6ErpDhInbXmjHcUQXH0L0TEgscfcxk1qbOvLuKCa5aZT0SOOtDKFY96/CLROwbLSKyFor6idgNaU4Q==", "dev": true, "dependencies": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", + "@babel/generator": "^7.14.8", "@babel/helper-compilation-targets": "^7.14.5", - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helpers": "^7.14.6", - "@babel/parser": "^7.14.6", + "@babel/helper-module-transforms": "^7.14.8", + "@babel/helpers": "^7.14.8", + "@babel/parser": "^7.14.8", "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5", + "@babel/traverse": "^7.14.8", + "@babel/types": "^7.14.8", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -125,12 +127,12 @@ } }, "node_modules/@babel/generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", - "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.8.tgz", + "integrity": "sha512-cYDUpvIzhBVnMzRoY1fkSEhK/HmwEVwlyULYgn/tMQYd6Obag3ylCjONle3gdErfXBW61SVTlR9QR7uWlgeIkg==", "dev": true, "dependencies": { - "@babel/types": "^7.14.5", + "@babel/types": "^7.14.8", "jsesc": "^2.5.1", "source-map": "^0.5.0" }, @@ -182,14 +184,14 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.6.tgz", - "integrity": "sha512-Z6gsfGofTxH/+LQXqYEK45kxmcensbzmk/oi8DmaQytlQCgqNZt9XQF8iqlI/SeXWVjaMNxvYvzaYw+kh42mDg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.8.tgz", + "integrity": "sha512-bpYvH8zJBWzeqi1o+co8qOrw+EXzQ/0c74gVmY205AWXy9nifHrOg77y+1zwxX5lXE7Icq4sPlSQ4O2kWBrteQ==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.14.5", "@babel/helper-function-name": "^7.14.5", - "@babel/helper-member-expression-to-functions": "^7.14.5", + "@babel/helper-member-expression-to-functions": "^7.14.7", "@babel/helper-optimise-call-expression": "^7.14.5", "@babel/helper-replace-supers": "^7.14.5", "@babel/helper-split-export-declaration": "^7.14.5" @@ -311,19 +313,19 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.5.tgz", - "integrity": "sha512-iXpX4KW8LVODuAieD7MzhNjmM6dzYY5tfRqT+R9HDXWl0jPn/djKmA+G9s/2C2T9zggw5tK1QNqZ70USfedOwA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.8.tgz", + "integrity": "sha512-RyE+NFOjXn5A9YU1dkpeBaduagTlZ0+fccnIcAGbv1KGUlReBj7utF7oEth8IdIBQPcux0DDgW5MFBH2xu9KcA==", "dev": true, "dependencies": { "@babel/helper-module-imports": "^7.14.5", "@babel/helper-replace-supers": "^7.14.5", - "@babel/helper-simple-access": "^7.14.5", + "@babel/helper-simple-access": "^7.14.8", "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.8", "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/traverse": "^7.14.8", + "@babel/types": "^7.14.8" }, "engines": { "node": ">=6.9.0" @@ -380,12 +382,12 @@ } }, "node_modules/@babel/helper-simple-access": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.14.5.tgz", - "integrity": "sha512-nfBN9xvmCt6nrMZjfhkl7i0oTV3yxR4/FztsbOASyTvVcoYd0TRHh7eMLdlEcCqobydC0LAF3LtC92Iwxo0wyw==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.14.8.tgz", + "integrity": "sha512-TrFN4RHh9gnWEU+s7JloIho2T76GPwRHhdzOWLqTrMnlas8T9O7ec+oEDNsRXndOmru9ymH9DFrEOxpzPoSbdg==", "dev": true, "dependencies": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.14.8" }, "engines": { "node": ">=6.9.0" @@ -416,9 +418,9 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.8.tgz", + "integrity": "sha512-ZGy6/XQjllhYQrNw/3zfWRwZCTVSiBLZ9DHVZxn9n2gip/7ab8mv2TWlKPIBk26RwedCBoWdjLmn+t9na2Gcow==", "dev": true, "engines": { "node": ">=6.9.0" @@ -449,14 +451,14 @@ } }, "node_modules/@babel/helpers": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.6.tgz", - "integrity": "sha512-yesp1ENQBiLI+iYHSJdoZKUtRpfTlL1grDIX9NRlAVppljLw/4tTyYupIB7uIYmC3stW/imAv8EqaKaS/ibmeA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.8.tgz", + "integrity": "sha512-ZRDmI56pnV+p1dH6d+UN6GINGz7Krps3+270qqI9UJ4wxYThfAIcI5i7j5vXC4FJ3Wap+S9qcebxeYiqn87DZw==", "dev": true, "dependencies": { "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/traverse": "^7.14.8", + "@babel/types": "^7.14.8" }, "engines": { "node": ">=6.9.0" @@ -477,9 +479,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.8.tgz", + "integrity": "sha512-syoCQFOoo/fzkWDeM0dLEZi5xqurb5vuyzwIMNZRNun+N/9A4cUZeQaE7dTrB8jGaKuJRBtEOajtnmw0I5hvvA==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -1358,6 +1360,26 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-runtime": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.5.tgz", + "integrity": "sha512-fPMBhh1AV8ZyneiCIA+wYYUH1arzlXR1UMcApjvchDhfKxhy2r2lReJv8uHEyihi4IFIGlr1Pdx7S5fkESDQsg==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.14.5", + "@babel/helper-plugin-utils": "^7.14.5", + "babel-plugin-polyfill-corejs2": "^0.2.2", + "babel-plugin-polyfill-corejs3": "^0.2.2", + "babel-plugin-polyfill-regenerator": "^0.2.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-shorthand-properties": { "version": "7.14.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz", @@ -1466,9 +1488,9 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.7.tgz", - "integrity": "sha512-itOGqCKLsSUl0Y+1nSfhbuuOlTs0MJk2Iv7iSH+XT/mR8U1zRLO7NjWlYXB47yhK4J/7j+HYty/EhFZDYKa/VA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.8.tgz", + "integrity": "sha512-a9aOppDU93oArQ51H+B8M1vH+tayZbuBqzjOhntGetZVa+4tTu5jp+XTwqHGG2lxslqomPYVSjIxQkFwXzgnxg==", "dev": true, "dependencies": { "@babel/compat-data": "^7.14.7", @@ -1538,7 +1560,7 @@ "@babel/plugin-transform-unicode-escapes": "^7.14.5", "@babel/plugin-transform-unicode-regex": "^7.14.5", "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.14.5", + "@babel/types": "^7.14.8", "babel-plugin-polyfill-corejs2": "^0.2.2", "babel-plugin-polyfill-corejs3": "^0.2.2", "babel-plugin-polyfill-regenerator": "^0.2.2", @@ -1586,9 +1608,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.6.tgz", - "integrity": "sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.8.tgz", + "integrity": "sha512-twj3L8Og5SaCRCErB4x4ajbvBIVV77CGeFglHpeg5WC5FF8TZzBWXtTJ4MqaD9QszLYTtr+IsaAL2rEUevb+eg==", "dev": true, "dependencies": { "regenerator-runtime": "^0.13.4" @@ -1598,9 +1620,9 @@ } }, "node_modules/@babel/runtime/node_modules/regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==", + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", "dev": true }, "node_modules/@babel/template": { @@ -1618,18 +1640,18 @@ } }, "node_modules/@babel/traverse": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", - "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.8.tgz", + "integrity": "sha512-kexHhzCljJcFNn1KYAQ6A5wxMRzq9ebYpEDV4+WdNyr3i7O44tanbDOR/xjiG2F3sllan+LgwK+7OMk0EmydHg==", "dev": true, "dependencies": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", + "@babel/generator": "^7.14.8", "@babel/helper-function-name": "^7.14.5", "@babel/helper-hoist-variables": "^7.14.5", "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.14.7", - "@babel/types": "^7.14.5", + "@babel/parser": "^7.14.8", + "@babel/types": "^7.14.8", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -1638,12 +1660,12 @@ } }, "node_modules/@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.8.tgz", + "integrity": "sha512-iob4soQa7dZw8nodR/KlOQkPh9S4I8RwCxwRIFuiMRYjOzH/KJzdUfDgz6cGi5dDaclXF4P2PAhCdrBJNIg68Q==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.8", "to-fast-properties": "^2.0.0" }, "engines": { @@ -1651,9 +1673,9 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.2.tgz", - "integrity": "sha512-8nmGq/4ycLpIwzvhI4tNDmQztZ8sp+hI7cyG8i1nQDhkAbRzHpXPidRAHlNvCZQpJTKw5ItIpMw9RSToGF00mg==", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", "dev": true, "dependencies": { "ajv": "^6.12.4", @@ -1671,9 +1693,9 @@ } }, "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.9.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.9.0.tgz", - "integrity": "sha512-74/FduwI/JaIrr1H8e71UbDE+5x7pIPs1C2rrwC52SszOo043CsWOZEMW7o2Y58xwm9b+0RBKDxY5n2sUpEFxA==", + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.10.0.tgz", + "integrity": "sha512-piHC3blgLGFjvOuMmWZX60f+na1lXFDhQXBf1UYp2fXPXqvEUbOhNwi6BsQ0bQishwedgnjkwv1d9zKf+MWw3g==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -1860,9 +1882,9 @@ "dev": true }, "node_modules/@jsenv/node-module-import-map": { - "version": "13.6.0", - "resolved": "https://registry.npmjs.org/@jsenv/node-module-import-map/-/node-module-import-map-13.6.0.tgz", - "integrity": "sha512-Ul7wWqWrvwmhwoXGkMDMQHNjETQ+h2d7OYMbomvtKlV4z0cso2bumeh5MF74mfe9gTvwo64GvWfcpTrkY/gbWg==", + "version": "13.6.1", + "resolved": "https://registry.npmjs.org/@jsenv/node-module-import-map/-/node-module-import-map-13.6.1.tgz", + "integrity": "sha512-hwYfl3MvVbXf3V4v7bhIPrc7aTFgl+HimoxIGzLSCjXOu7P0Qyo/tC+iP7XYK9SmWVub1irkqt2mzoqMcozjzA==", "dev": true, "dependencies": { "@babel/parser": "7.14.4", @@ -1957,15 +1979,15 @@ } }, "node_modules/@peculiar/asn1-schema": { - "version": "2.0.36", - "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.0.36.tgz", - "integrity": "sha512-x7fdMR6bzOBct2a0PLukrmVrrehHX5uisKRDWN2Bs1HojXd5nCi7MAQeV+umRxPK1oSJDstTBhGq3sLzDbL8Vw==", + "version": "2.0.37", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.0.37.tgz", + "integrity": "sha512-f/dozij2XCZZ7ayOWI88TbHt/1rk3zJ91O/xTtDdc8SttyF6pleu4RYBuFohkobA5HJn+bEcY6Cvq4x9feXokQ==", "dev": true, "dependencies": { - "@types/asn1js": "^2.0.0", + "@types/asn1js": "^2.0.2", "asn1js": "^2.1.1", "pvtsutils": "^1.1.7", - "tslib": "^2.2.0" + "tslib": "^2.3.0" } }, "node_modules/@peculiar/json-schema": { @@ -2050,9 +2072,9 @@ } }, "node_modules/@types/asn1js": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/asn1js/-/asn1js-2.0.1.tgz", - "integrity": "sha512-bzY2++5ogh5ZdNrdNflKh7qMgpRENpq0fbzeAk7LpULrtkBN52drUfIahEoZ0xpZuO6paP7FmzvdnX1ioQb/dg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@types/asn1js/-/asn1js-2.0.2.tgz", + "integrity": "sha512-t4YHCgtD+ERvH0FyxvNlYwJ2ezhqw7t+Ygh4urQ7dJER8i185JPv6oIM3ey5YQmGN6Zp9EMbpohkjZi9t3UxwA==", "dev": true }, "node_modules/@types/body-parser": { @@ -2105,9 +2127,9 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "4.17.23", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.23.tgz", - "integrity": "sha512-WYqTtTPTJn9kXMdnAH5HPPb7ctXvBpP4PfuOb8MV4OHPQWHhDZixGlhgR159lJPpKm23WOdoCkt2//cCEaOJkw==", + "version": "4.17.24", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.24.tgz", + "integrity": "sha512-3UJuW+Qxhzwjq3xhwXm2onQcFHn76frIYVbTu+kn24LFxI+dEhdfISDFovPB8VpEgW8oQCTpRuCe+0zJxB7NEA==", "dev": true, "dependencies": { "@types/node": "*", @@ -2165,9 +2187,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.0.0.tgz", - "integrity": "sha512-TmCW5HoZ2o2/z2EYi109jLqIaPIi9y/lc2LmDCWzuCi35bcaQ+OtUh6nwBiFK7SOu25FAU5+YKdqFZUwtqGSdg==", + "version": "16.4.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.6.tgz", + "integrity": "sha512-FKyawK3o5KL16AwbeFajen8G4K3mmqUrQsehn5wNKs8IzlKHE8TfnSmILXVMVziAEcnB23u1RCFU1NT6hSyr7Q==", "dev": true }, "node_modules/@types/parse5": { @@ -2177,15 +2199,15 @@ "dev": true }, "node_modules/@types/qs": { - "version": "6.9.6", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.6.tgz", - "integrity": "sha512-0/HnwIfW4ki2D8L8c9GVcG5I72s9jP5GSLVF0VIXDW00kmIpA6O33G7a8n59Tmh7Nz0WUC3rSb7PTY/sdW2JzA==", + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", "dev": true }, "node_modules/@types/range-parser": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz", - "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", + "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", "dev": true }, "node_modules/@types/serve-static": { @@ -2199,9 +2221,9 @@ } }, "node_modules/@types/ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-ijZ1vzRawI7QoWnTNL8KpHixd2b2XVb9I9HAqI3triPsh1EC0xH0Eg6w2O3TKbDCgiNNlJqfrof6j4T2I+l9vw==", + "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", "dev": true, "dependencies": { "@types/node": "*" @@ -2330,9 +2352,9 @@ } }, "node_modules/acorn-jsx": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", - "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" @@ -3000,9 +3022,9 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.3.tgz", - "integrity": "sha512-rCOFzEIJpJEAU14XCcV/erIf/wZQMmMT5l5vXOpL5uoznyOGfDIjPj6FVytMvtzaKSTSVKouOCTPJ5OMUZH30g==", + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.4.tgz", + "integrity": "sha512-z3HnJE5TY/j4EFEa/qpQMSbcUJZ5JQi+3UFjXzn6pQCmIKc5Ug5j98SuYyH+m4xQnvKlMDIW4plLfgyVnd0IcQ==", "dev": true, "dependencies": { "@babel/helper-define-polyfill-provider": "^0.2.2", @@ -4236,9 +4258,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001243", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001243.tgz", - "integrity": "sha512-vNxw9mkTBtkmLFnJRv/2rhs1yufpDfCkBZexG3Y0xdOH2Z/eE/85E4Dl5j1YUN34nZVsSp6vVRFQRrez9wJMRA==", + "version": "1.0.30001248", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001248.tgz", + "integrity": "sha512-NwlQbJkxUFJ8nMErnGtT0QTM2TJ33xgz4KXJSMIrjXIbDVdaYueGyjOrLKRtJC+rTiWfi6j5cnZN1NBiSBJGNw==", "dev": true, "funding": { "type": "opencollective", @@ -4887,6 +4909,12 @@ "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", "dev": true }, + "node_modules/cookiejar": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz", + "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA==", + "dev": true + }, "node_modules/cookies": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.8.0.tgz", @@ -5545,9 +5573,9 @@ } }, "node_modules/duplexify": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.1.tgz", - "integrity": "sha512-DY3xVEmVHTv1wSzKNbwoU6nVjzI369Y6sPoqfYr0/xlx3IdX2n94xIszTcjPO8W8ZIv0Wb0PXNcjuZyT4wiICA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", + "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", "dev": true, "dependencies": { "end-of-stream": "^1.4.1", @@ -5577,9 +5605,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.3.769", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.769.tgz", - "integrity": "sha512-B+3hW8D76/uoTPSobWI3D/CFn2S4jPn88dVJ+BkD88Lz6LijQpL+hfdzIFJGTQK4KdE0XwmNbjUQFH1OQVwKdQ==", + "version": "1.3.790", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.790.tgz", + "integrity": "sha512-epMH/S2MkhBv+Y0+nHK8dC7bzmOaPwcmiYqt+VwxSUJLgPzkqZnGUEQ8eVhy5zGmgWm9tDDdXkHDzOEsVU979A==", "dev": true }, "node_modules/elliptic": { @@ -5935,13 +5963,13 @@ } }, "node_modules/eslint": { - "version": "7.30.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.30.0.tgz", - "integrity": "sha512-VLqz80i3as3NdloY44BQSJpFw534L9Oh+6zJOUaViV4JPd+DaHwutqP7tcpkW3YiXbK6s05RZl7yl7cQn+lijg==", + "version": "7.31.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.31.0.tgz", + "integrity": "sha512-vafgJpSh2ia8tnTkNUkwxGmnumgckLh5aAbLa1xRmIn9+owi8qBNGKL+B881kNKNTy7FFqTEkpNkUvmw0n6PkA==", "dev": true, "dependencies": { "@babel/code-frame": "7.12.11", - "@eslint/eslintrc": "^0.4.2", + "@eslint/eslintrc": "^0.4.3", "@humanwhocodes/config-array": "^0.5.0", "ajv": "^6.10.0", "chalk": "^4.0.0", @@ -6108,9 +6136,9 @@ } }, "node_modules/eslint/node_modules/globals": { - "version": "13.9.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.9.0.tgz", - "integrity": "sha512-74/FduwI/JaIrr1H8e71UbDE+5x7pIPs1C2rrwC52SszOo043CsWOZEMW7o2Y58xwm9b+0RBKDxY5n2sUpEFxA==", + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.10.0.tgz", + "integrity": "sha512-piHC3blgLGFjvOuMmWZX60f+na1lXFDhQXBf1UYp2fXPXqvEUbOhNwi6BsQ0bQishwedgnjkwv1d9zKf+MWw3g==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -6765,9 +6793,9 @@ "dev": true }, "node_modules/fast-safe-stringify": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz", - "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", + "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==", "dev": true }, "node_modules/faye-websocket": { @@ -6897,15 +6925,15 @@ } }, "node_modules/flatted": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.0.tgz", - "integrity": "sha512-XprP7lDrVT+kE2c2YlfiV+IfS9zxukiIOvNamPNsImNhXadSsQEbosItdL9bUQlCZXR13SvPk20BjWSWLA7m4A==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", + "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", "dev": true }, "node_modules/flow-bin": { - "version": "0.153.0", - "resolved": "https://registry.npmjs.org/flow-bin/-/flow-bin-0.153.0.tgz", - "integrity": "sha512-sxP9nfXnoyCUT6hjAO+zDyHLO3dZcWg0h+4HttHs/5wg/2oAkTDwmsWbj095IQsEmwTicq2TfqWq5QRuLxynlQ==", + "version": "0.156.0", + "resolved": "https://registry.npmjs.org/flow-bin/-/flow-bin-0.156.0.tgz", + "integrity": "sha512-KEEsKV7/bePZM3Ja7rYlAaSx8GPiTGr7pt0IJcX5S3GSEIZ2ieayF6JWNjbyLiu7ZUJuWe4ITDnPvyqimUpYww==", "dev": true, "bin": { "flow": "cli.js" @@ -6943,6 +6971,15 @@ "node": ">= 6" } }, + "node_modules/formidable": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.2.tgz", + "integrity": "sha512-V8gLm+41I/8kguQ4/o1D3RIHRmhYFG4pnNyonvua+40rqcEmT4+V71yaZ3B457xbbgCsCfjSPi65u/W6vK1U5Q==", + "dev": true, + "funding": { + "url": "https://ko-fi.com/tunnckoCore/commissions" + } + }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -7783,9 +7820,9 @@ } }, "node_modules/is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz", + "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==", "dev": true, "dependencies": { "has": "^1.0.3" @@ -8005,12 +8042,15 @@ } }, "node_modules/is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-string": { @@ -8868,13 +8908,13 @@ } }, "node_modules/lighthouse-logger": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/lighthouse-logger/-/lighthouse-logger-1.2.0.tgz", - "integrity": "sha512-wzUvdIeJZhRsG6gpZfmSCfysaxNEr43i+QT+Hie94wvHDKFLi4n7C2GqZ4sTC+PH5b5iktmXJvU87rWvhP3lHw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/lighthouse-logger/-/lighthouse-logger-1.3.0.tgz", + "integrity": "sha512-BbqAKApLb9ywUli+0a+PcV04SyJ/N1q/8qgCNe6U97KbPCS1BTksEuHFLYdvc8DltuhfxIUBqDZsC0bBGtl3lA==", "dev": true, "dependencies": { - "debug": "^2.6.8", - "marky": "^1.2.0" + "debug": "^2.6.9", + "marky": "^1.2.2" } }, "node_modules/lighthouse-logger/node_modules/debug": { @@ -9509,21 +9549,21 @@ } }, "node_modules/mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", "dev": true, "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", "dev": true, "dependencies": { - "mime-db": "1.48.0" + "mime-db": "1.49.0" }, "engines": { "node": ">= 0.6" @@ -10058,9 +10098,9 @@ "dev": true }, "node_modules/mocha": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.0.2.tgz", - "integrity": "sha512-FpspiWU+UT9Sixx/wKimvnpkeW0mh6ROAKkIaPokj3xZgxeRhcna/k5X57jJghEr8X+Cgu/Vegf8zCX5ugSuTA==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.0.3.tgz", + "integrity": "sha512-hnYFrSefHxYS2XFGtN01x8un0EwNu2bzKvhpRFhgoybIvMaOkkL60IVPmkb5h6XDmUl4IMSB+rT5cIO4/4bJgg==", "dev": true, "dependencies": { "@ungap/promise-all-settled": "1.1.2", @@ -10127,9 +10167,9 @@ } }, "node_modules/mocha-headless": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/mocha-headless/-/mocha-headless-6.0.0.tgz", - "integrity": "sha512-OpnuwKN66/xEvlZxAsxLnuJisY3QW7/u3aXczdPt88THsrvQj3RbRZRBoUdyNxcCeRH/3/5xdjABu+4hQT9FnQ==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/mocha-headless/-/mocha-headless-8.0.0.tgz", + "integrity": "sha512-2ryZZjV5jBgLiGrK+u/65sRwRd8Bc5XgIUcUay84hTtT7v6Ebs1QAbOjv0s62NYklxlzfNPpkx/kuTBZeBzkIQ==", "dev": true, "dependencies": { "chai": "^4.2.0", @@ -10142,7 +10182,7 @@ "live-server": "^1.2.1", "live-server-https": "0.0.2", "mocha": "npm:@stagas/mocha@^7.2.0", - "mocha-chrome": "npm:@stagas/mocha-chrome@^2.2.0" + "mocha-chrome": "npm:@stagas/mocha-chrome@^2.2.1" }, "bin": { "mocha-headless": "mocha-headless.js" @@ -11408,9 +11448,9 @@ } }, "node_modules/object-inspect": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", - "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -12154,9 +12194,9 @@ } }, "node_modules/pvtsutils": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.1.7.tgz", - "integrity": "sha512-faOiD/XpB/cIebRzYwzYjCmYgiDd53YEBni+Mt1+8/HlrARHYBpsU2OHOt3EZ1ZhfRNxPL0dH3K/vKaMgNWVGA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.2.0.tgz", + "integrity": "sha512-IDefMJEQl7HX0FP2hIKJFnAR11klP1js2ixCrOaMhe3kXFK6RQ2ABUCuwWaaD4ib0hSbh2fGTICvWJJhDfNecA==", "dev": true, "dependencies": { "tslib": "^2.2.0" @@ -12181,7 +12221,7 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "deprecated": "The", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", "dev": true, "engines": { "node": ">=0.4.x" @@ -13125,6 +13165,20 @@ "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==", "dev": true }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/signal-exit": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", @@ -13152,13 +13206,13 @@ ] }, "node_modules/sinon": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-11.1.1.tgz", - "integrity": "sha512-ZSSmlkSyhUWbkF01Z9tEbxZLF/5tRC9eojCdFh33gtQaP7ITQVaMWQHGuFM7Cuf/KEfihuh1tTl3/ABju3AQMg==", + "version": "11.1.2", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-11.1.2.tgz", + "integrity": "sha512-59237HChms4kg7/sXhiRcUzdSkKuydDeTiamT/jesUVHshBgL8XAmhgFo0GfK6RruMDM/iRSij1EybmMog9cJw==", "dev": true, "dependencies": { "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": "^7.1.0", + "@sinonjs/fake-timers": "^7.1.2", "@sinonjs/samsam": "^6.0.2", "diff": "^5.0.0", "nise": "^5.1.0", @@ -13843,6 +13897,85 @@ "minimist": "^1.1.0" } }, + "node_modules/superagent": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-6.1.0.tgz", + "integrity": "sha512-OUDHEssirmplo3F+1HWKUrUjvnQuA+nZI6i/JJBdXb5eq9IyEQwPyPpqND+SSsxf6TygpBEkUjISVRN4/VOpeg==", + "dev": true, + "dependencies": { + "component-emitter": "^1.3.0", + "cookiejar": "^2.1.2", + "debug": "^4.1.1", + "fast-safe-stringify": "^2.0.7", + "form-data": "^3.0.0", + "formidable": "^1.2.2", + "methods": "^1.1.2", + "mime": "^2.4.6", + "qs": "^6.9.4", + "readable-stream": "^3.6.0", + "semver": "^7.3.2" + }, + "engines": { + "node": ">= 7.0.0" + } + }, + "node_modules/superagent/node_modules/qs": { + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", + "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "dev": true, + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/superagent/node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/superagent/node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/supertest": { + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/supertest/-/supertest-6.1.4.tgz", + "integrity": "sha512-giC9Zm+Bf1CZP09ciPdUyl+XlMAu6rbch79KYiYKOGcbK2R1wH8h+APul1i/3wN6RF1XfWOIF+8X1ga+7SBrug==", + "dev": true, + "dependencies": { + "methods": "^1.1.2", + "superagent": "^6.1.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -13888,9 +14021,9 @@ } }, "node_modules/table/node_modules/ajv": { - "version": "8.6.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.1.tgz", - "integrity": "sha512-42VLtQUOLefAvKFAQIxIZDaThq6om/PrfP0CYk3/vn+y4BMNkKnbli8ON2QCiHov4KkzOSJ/xSoBJdayiiYvVQ==", + "version": "8.6.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.2.tgz", + "integrity": "sha512-9807RlWAgT564wT+DjeyU5OFMPjmzxVobvDFmNAhY+5zD6A2ly3jDp6sgnfyDtlIQ+7H97oc/DGCzzfu9rjw9w==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -14398,9 +14531,9 @@ "dev": true }, "node_modules/uglify-js": { - "version": "3.13.10", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.10.tgz", - "integrity": "sha512-57H3ACYFXeo1IaZ1w02sfA71wI60MGco/IQFjOqK+WtKoprh7Go2/yvd2HPtoJILO2Or84ncLccI4xoHMTSbGg==", + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.1.tgz", + "integrity": "sha512-JhS3hmcVaXlp/xSo3PKY5R0JqKs5M3IV+exdLHW99qKvKivPO4Z8qbej6mte17SOPqAOVMjt/XGgWacnFSzM3g==", "dev": true, "bin": { "uglifyjs": "bin/uglifyjs" @@ -15285,9 +15418,9 @@ "dev": true }, "node_modules/ws": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.2.tgz", - "integrity": "sha512-lkF7AWRicoB9mAgjeKbGqVUekLnSNO4VjKVnuPHpQeOxZOErX6BPXwJk70nFslRCEEA8EVW7ZjKwXaP9N+1sKQ==", + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz", + "integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==", "dev": true, "engines": { "node": ">=8.3.0" @@ -15500,9 +15633,9 @@ }, "dependencies": { "@babel/cli": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.14.5.tgz", - "integrity": "sha512-poegjhRvXHWO0EAsnYajwYZuqcz7gyfxwfaecUESxDujrqOivf3zrjFbub8IJkrqEaz3fvJWh001EzxBub54fg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.14.8.tgz", + "integrity": "sha512-lcy6Lymft9Rpfqmrqdd4oTDdUx9ZwaAhAfywVrHG4771Pa6PPT0danJ1kDHBXYqh4HHSmIdA+nlmfxfxSDPtBg==", "dev": true, "requires": { "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.2", @@ -15532,20 +15665,20 @@ "dev": true }, "@babel/core": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.6.tgz", - "integrity": "sha512-gJnOEWSqTk96qG5BoIrl5bVtc23DCycmIePPYnamY9RboYdI4nFy5vAQMSl81O5K/W0sLDWfGysnOECC+KUUCA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.8.tgz", + "integrity": "sha512-/AtaeEhT6ErpDhInbXmjHcUQXH0L0TEgscfcxk1qbOvLuKCa5aZT0SOOtDKFY96/CLROwbLSKyFor6idgNaU4Q==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", + "@babel/generator": "^7.14.8", "@babel/helper-compilation-targets": "^7.14.5", - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helpers": "^7.14.6", - "@babel/parser": "^7.14.6", + "@babel/helper-module-transforms": "^7.14.8", + "@babel/helpers": "^7.14.8", + "@babel/parser": "^7.14.8", "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5", + "@babel/traverse": "^7.14.8", + "@babel/types": "^7.14.8", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -15555,12 +15688,12 @@ } }, "@babel/generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", - "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.8.tgz", + "integrity": "sha512-cYDUpvIzhBVnMzRoY1fkSEhK/HmwEVwlyULYgn/tMQYd6Obag3ylCjONle3gdErfXBW61SVTlR9QR7uWlgeIkg==", "dev": true, "requires": { - "@babel/types": "^7.14.5", + "@babel/types": "^7.14.8", "jsesc": "^2.5.1", "source-map": "^0.5.0" } @@ -15597,14 +15730,14 @@ } }, "@babel/helper-create-class-features-plugin": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.6.tgz", - "integrity": "sha512-Z6gsfGofTxH/+LQXqYEK45kxmcensbzmk/oi8DmaQytlQCgqNZt9XQF8iqlI/SeXWVjaMNxvYvzaYw+kh42mDg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.8.tgz", + "integrity": "sha512-bpYvH8zJBWzeqi1o+co8qOrw+EXzQ/0c74gVmY205AWXy9nifHrOg77y+1zwxX5lXE7Icq4sPlSQ4O2kWBrteQ==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.14.5", "@babel/helper-function-name": "^7.14.5", - "@babel/helper-member-expression-to-functions": "^7.14.5", + "@babel/helper-member-expression-to-functions": "^7.14.7", "@babel/helper-optimise-call-expression": "^7.14.5", "@babel/helper-replace-supers": "^7.14.5", "@babel/helper-split-export-declaration": "^7.14.5" @@ -15693,19 +15826,19 @@ } }, "@babel/helper-module-transforms": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.5.tgz", - "integrity": "sha512-iXpX4KW8LVODuAieD7MzhNjmM6dzYY5tfRqT+R9HDXWl0jPn/djKmA+G9s/2C2T9zggw5tK1QNqZ70USfedOwA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.8.tgz", + "integrity": "sha512-RyE+NFOjXn5A9YU1dkpeBaduagTlZ0+fccnIcAGbv1KGUlReBj7utF7oEth8IdIBQPcux0DDgW5MFBH2xu9KcA==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.14.5", "@babel/helper-replace-supers": "^7.14.5", - "@babel/helper-simple-access": "^7.14.5", + "@babel/helper-simple-access": "^7.14.8", "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.8", "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/traverse": "^7.14.8", + "@babel/types": "^7.14.8" } }, "@babel/helper-optimise-call-expression": { @@ -15747,12 +15880,12 @@ } }, "@babel/helper-simple-access": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.14.5.tgz", - "integrity": "sha512-nfBN9xvmCt6nrMZjfhkl7i0oTV3yxR4/FztsbOASyTvVcoYd0TRHh7eMLdlEcCqobydC0LAF3LtC92Iwxo0wyw==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.14.8.tgz", + "integrity": "sha512-TrFN4RHh9gnWEU+s7JloIho2T76GPwRHhdzOWLqTrMnlas8T9O7ec+oEDNsRXndOmru9ymH9DFrEOxpzPoSbdg==", "dev": true, "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.14.8" } }, "@babel/helper-skip-transparent-expression-wrappers": { @@ -15774,9 +15907,9 @@ } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.8.tgz", + "integrity": "sha512-ZGy6/XQjllhYQrNw/3zfWRwZCTVSiBLZ9DHVZxn9n2gip/7ab8mv2TWlKPIBk26RwedCBoWdjLmn+t9na2Gcow==", "dev": true }, "@babel/helper-validator-option": { @@ -15798,14 +15931,14 @@ } }, "@babel/helpers": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.6.tgz", - "integrity": "sha512-yesp1ENQBiLI+iYHSJdoZKUtRpfTlL1grDIX9NRlAVppljLw/4tTyYupIB7uIYmC3stW/imAv8EqaKaS/ibmeA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.8.tgz", + "integrity": "sha512-ZRDmI56pnV+p1dH6d+UN6GINGz7Krps3+270qqI9UJ4wxYThfAIcI5i7j5vXC4FJ3Wap+S9qcebxeYiqn87DZw==", "dev": true, "requires": { "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/traverse": "^7.14.8", + "@babel/types": "^7.14.8" } }, "@babel/highlight": { @@ -15820,9 +15953,9 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.8.tgz", + "integrity": "sha512-syoCQFOoo/fzkWDeM0dLEZi5xqurb5vuyzwIMNZRNun+N/9A4cUZeQaE7dTrB8jGaKuJRBtEOajtnmw0I5hvvA==", "dev": true }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { @@ -16386,6 +16519,20 @@ "@babel/helper-plugin-utils": "^7.14.5" } }, + "@babel/plugin-transform-runtime": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.5.tgz", + "integrity": "sha512-fPMBhh1AV8ZyneiCIA+wYYUH1arzlXR1UMcApjvchDhfKxhy2r2lReJv8uHEyihi4IFIGlr1Pdx7S5fkESDQsg==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.14.5", + "@babel/helper-plugin-utils": "^7.14.5", + "babel-plugin-polyfill-corejs2": "^0.2.2", + "babel-plugin-polyfill-corejs3": "^0.2.2", + "babel-plugin-polyfill-regenerator": "^0.2.2", + "semver": "^6.3.0" + } + }, "@babel/plugin-transform-shorthand-properties": { "version": "7.14.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz", @@ -16452,9 +16599,9 @@ } }, "@babel/preset-env": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.7.tgz", - "integrity": "sha512-itOGqCKLsSUl0Y+1nSfhbuuOlTs0MJk2Iv7iSH+XT/mR8U1zRLO7NjWlYXB47yhK4J/7j+HYty/EhFZDYKa/VA==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.8.tgz", + "integrity": "sha512-a9aOppDU93oArQ51H+B8M1vH+tayZbuBqzjOhntGetZVa+4tTu5jp+XTwqHGG2lxslqomPYVSjIxQkFwXzgnxg==", "dev": true, "requires": { "@babel/compat-data": "^7.14.7", @@ -16524,7 +16671,7 @@ "@babel/plugin-transform-unicode-escapes": "^7.14.5", "@babel/plugin-transform-unicode-regex": "^7.14.5", "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.14.5", + "@babel/types": "^7.14.8", "babel-plugin-polyfill-corejs2": "^0.2.2", "babel-plugin-polyfill-corejs3": "^0.2.2", "babel-plugin-polyfill-regenerator": "^0.2.2", @@ -16557,18 +16704,18 @@ } }, "@babel/runtime": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.6.tgz", - "integrity": "sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.8.tgz", + "integrity": "sha512-twj3L8Og5SaCRCErB4x4ajbvBIVV77CGeFglHpeg5WC5FF8TZzBWXtTJ4MqaD9QszLYTtr+IsaAL2rEUevb+eg==", "dev": true, "requires": { "regenerator-runtime": "^0.13.4" }, "dependencies": { "regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==", + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", "dev": true } } @@ -16585,36 +16732,36 @@ } }, "@babel/traverse": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", - "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.8.tgz", + "integrity": "sha512-kexHhzCljJcFNn1KYAQ6A5wxMRzq9ebYpEDV4+WdNyr3i7O44tanbDOR/xjiG2F3sllan+LgwK+7OMk0EmydHg==", "dev": true, "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", + "@babel/generator": "^7.14.8", "@babel/helper-function-name": "^7.14.5", "@babel/helper-hoist-variables": "^7.14.5", "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.14.7", - "@babel/types": "^7.14.5", + "@babel/parser": "^7.14.8", + "@babel/types": "^7.14.8", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.8.tgz", + "integrity": "sha512-iob4soQa7dZw8nodR/KlOQkPh9S4I8RwCxwRIFuiMRYjOzH/KJzdUfDgz6cGi5dDaclXF4P2PAhCdrBJNIg68Q==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.8", "to-fast-properties": "^2.0.0" } }, "@eslint/eslintrc": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.2.tgz", - "integrity": "sha512-8nmGq/4ycLpIwzvhI4tNDmQztZ8sp+hI7cyG8i1nQDhkAbRzHpXPidRAHlNvCZQpJTKw5ItIpMw9RSToGF00mg==", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", "dev": true, "requires": { "ajv": "^6.12.4", @@ -16629,9 +16776,9 @@ }, "dependencies": { "globals": { - "version": "13.9.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.9.0.tgz", - "integrity": "sha512-74/FduwI/JaIrr1H8e71UbDE+5x7pIPs1C2rrwC52SszOo043CsWOZEMW7o2Y58xwm9b+0RBKDxY5n2sUpEFxA==", + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.10.0.tgz", + "integrity": "sha512-piHC3blgLGFjvOuMmWZX60f+na1lXFDhQXBf1UYp2fXPXqvEUbOhNwi6BsQ0bQishwedgnjkwv1d9zKf+MWw3g==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -16793,9 +16940,9 @@ "dev": true }, "@jsenv/node-module-import-map": { - "version": "13.6.0", - "resolved": "https://registry.npmjs.org/@jsenv/node-module-import-map/-/node-module-import-map-13.6.0.tgz", - "integrity": "sha512-Ul7wWqWrvwmhwoXGkMDMQHNjETQ+h2d7OYMbomvtKlV4z0cso2bumeh5MF74mfe9gTvwo64GvWfcpTrkY/gbWg==", + "version": "13.6.1", + "resolved": "https://registry.npmjs.org/@jsenv/node-module-import-map/-/node-module-import-map-13.6.1.tgz", + "integrity": "sha512-hwYfl3MvVbXf3V4v7bhIPrc7aTFgl+HimoxIGzLSCjXOu7P0Qyo/tC+iP7XYK9SmWVub1irkqt2mzoqMcozjzA==", "dev": true, "requires": { "@babel/parser": "7.14.4", @@ -16874,15 +17021,15 @@ } }, "@peculiar/asn1-schema": { - "version": "2.0.36", - "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.0.36.tgz", - "integrity": "sha512-x7fdMR6bzOBct2a0PLukrmVrrehHX5uisKRDWN2Bs1HojXd5nCi7MAQeV+umRxPK1oSJDstTBhGq3sLzDbL8Vw==", + "version": "2.0.37", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.0.37.tgz", + "integrity": "sha512-f/dozij2XCZZ7ayOWI88TbHt/1rk3zJ91O/xTtDdc8SttyF6pleu4RYBuFohkobA5HJn+bEcY6Cvq4x9feXokQ==", "dev": true, "requires": { - "@types/asn1js": "^2.0.0", + "@types/asn1js": "^2.0.2", "asn1js": "^2.1.1", "pvtsutils": "^1.1.7", - "tslib": "^2.2.0" + "tslib": "^2.3.0" } }, "@peculiar/json-schema": { @@ -16958,9 +17105,9 @@ } }, "@types/asn1js": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/asn1js/-/asn1js-2.0.1.tgz", - "integrity": "sha512-bzY2++5ogh5ZdNrdNflKh7qMgpRENpq0fbzeAk7LpULrtkBN52drUfIahEoZ0xpZuO6paP7FmzvdnX1ioQb/dg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@types/asn1js/-/asn1js-2.0.2.tgz", + "integrity": "sha512-t4YHCgtD+ERvH0FyxvNlYwJ2ezhqw7t+Ygh4urQ7dJER8i185JPv6oIM3ey5YQmGN6Zp9EMbpohkjZi9t3UxwA==", "dev": true }, "@types/body-parser": { @@ -17013,9 +17160,9 @@ } }, "@types/express-serve-static-core": { - "version": "4.17.23", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.23.tgz", - "integrity": "sha512-WYqTtTPTJn9kXMdnAH5HPPb7ctXvBpP4PfuOb8MV4OHPQWHhDZixGlhgR159lJPpKm23WOdoCkt2//cCEaOJkw==", + "version": "4.17.24", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.24.tgz", + "integrity": "sha512-3UJuW+Qxhzwjq3xhwXm2onQcFHn76frIYVbTu+kn24LFxI+dEhdfISDFovPB8VpEgW8oQCTpRuCe+0zJxB7NEA==", "dev": true, "requires": { "@types/node": "*", @@ -17073,9 +17220,9 @@ "dev": true }, "@types/node": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.0.0.tgz", - "integrity": "sha512-TmCW5HoZ2o2/z2EYi109jLqIaPIi9y/lc2LmDCWzuCi35bcaQ+OtUh6nwBiFK7SOu25FAU5+YKdqFZUwtqGSdg==", + "version": "16.4.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.4.6.tgz", + "integrity": "sha512-FKyawK3o5KL16AwbeFajen8G4K3mmqUrQsehn5wNKs8IzlKHE8TfnSmILXVMVziAEcnB23u1RCFU1NT6hSyr7Q==", "dev": true }, "@types/parse5": { @@ -17085,15 +17232,15 @@ "dev": true }, "@types/qs": { - "version": "6.9.6", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.6.tgz", - "integrity": "sha512-0/HnwIfW4ki2D8L8c9GVcG5I72s9jP5GSLVF0VIXDW00kmIpA6O33G7a8n59Tmh7Nz0WUC3rSb7PTY/sdW2JzA==", + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", "dev": true }, "@types/range-parser": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz", - "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", + "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", "dev": true }, "@types/serve-static": { @@ -17107,9 +17254,9 @@ } }, "@types/ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-ijZ1vzRawI7QoWnTNL8KpHixd2b2XVb9I9HAqI3triPsh1EC0xH0Eg6w2O3TKbDCgiNNlJqfrof6j4T2I+l9vw==", + "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", "dev": true, "requires": { "@types/node": "*" @@ -17220,9 +17367,9 @@ } }, "acorn-jsx": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", - "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, "requires": {} }, @@ -17794,9 +17941,9 @@ } }, "babel-plugin-polyfill-corejs3": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.3.tgz", - "integrity": "sha512-rCOFzEIJpJEAU14XCcV/erIf/wZQMmMT5l5vXOpL5uoznyOGfDIjPj6FVytMvtzaKSTSVKouOCTPJ5OMUZH30g==", + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.4.tgz", + "integrity": "sha512-z3HnJE5TY/j4EFEa/qpQMSbcUJZ5JQi+3UFjXzn6pQCmIKc5Ug5j98SuYyH+m4xQnvKlMDIW4plLfgyVnd0IcQ==", "dev": true, "requires": { "@babel/helper-define-polyfill-provider": "^0.2.2", @@ -18921,9 +19068,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001243", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001243.tgz", - "integrity": "sha512-vNxw9mkTBtkmLFnJRv/2rhs1yufpDfCkBZexG3Y0xdOH2Z/eE/85E4Dl5j1YUN34nZVsSp6vVRFQRrez9wJMRA==", + "version": "1.0.30001248", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001248.tgz", + "integrity": "sha512-NwlQbJkxUFJ8nMErnGtT0QTM2TJ33xgz4KXJSMIrjXIbDVdaYueGyjOrLKRtJC+rTiWfi6j5cnZN1NBiSBJGNw==", "dev": true }, "catharsis": { @@ -19472,6 +19619,12 @@ "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", "dev": true }, + "cookiejar": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz", + "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA==", + "dev": true + }, "cookies": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.8.0.tgz", @@ -20031,9 +20184,9 @@ } }, "duplexify": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.1.tgz", - "integrity": "sha512-DY3xVEmVHTv1wSzKNbwoU6nVjzI369Y6sPoqfYr0/xlx3IdX2n94xIszTcjPO8W8ZIv0Wb0PXNcjuZyT4wiICA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz", + "integrity": "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==", "dev": true, "requires": { "end-of-stream": "^1.4.1", @@ -20062,9 +20215,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.769", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.769.tgz", - "integrity": "sha512-B+3hW8D76/uoTPSobWI3D/CFn2S4jPn88dVJ+BkD88Lz6LijQpL+hfdzIFJGTQK4KdE0XwmNbjUQFH1OQVwKdQ==", + "version": "1.3.790", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.790.tgz", + "integrity": "sha512-epMH/S2MkhBv+Y0+nHK8dC7bzmOaPwcmiYqt+VwxSUJLgPzkqZnGUEQ8eVhy5zGmgWm9tDDdXkHDzOEsVU979A==", "dev": true }, "elliptic": { @@ -20372,13 +20525,13 @@ } }, "eslint": { - "version": "7.30.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.30.0.tgz", - "integrity": "sha512-VLqz80i3as3NdloY44BQSJpFw534L9Oh+6zJOUaViV4JPd+DaHwutqP7tcpkW3YiXbK6s05RZl7yl7cQn+lijg==", + "version": "7.31.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.31.0.tgz", + "integrity": "sha512-vafgJpSh2ia8tnTkNUkwxGmnumgckLh5aAbLa1xRmIn9+owi8qBNGKL+B881kNKNTy7FFqTEkpNkUvmw0n6PkA==", "dev": true, "requires": { "@babel/code-frame": "7.12.11", - "@eslint/eslintrc": "^0.4.2", + "@eslint/eslintrc": "^0.4.3", "@humanwhocodes/config-array": "^0.5.0", "ajv": "^6.10.0", "chalk": "^4.0.0", @@ -20469,9 +20622,9 @@ "dev": true }, "globals": { - "version": "13.9.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.9.0.tgz", - "integrity": "sha512-74/FduwI/JaIrr1H8e71UbDE+5x7pIPs1C2rrwC52SszOo043CsWOZEMW7o2Y58xwm9b+0RBKDxY5n2sUpEFxA==", + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.10.0.tgz", + "integrity": "sha512-piHC3blgLGFjvOuMmWZX60f+na1lXFDhQXBf1UYp2fXPXqvEUbOhNwi6BsQ0bQishwedgnjkwv1d9zKf+MWw3g==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -21047,9 +21200,9 @@ "dev": true }, "fast-safe-stringify": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz", - "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz", + "integrity": "sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==", "dev": true }, "faye-websocket": { @@ -21157,15 +21310,15 @@ } }, "flatted": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.0.tgz", - "integrity": "sha512-XprP7lDrVT+kE2c2YlfiV+IfS9zxukiIOvNamPNsImNhXadSsQEbosItdL9bUQlCZXR13SvPk20BjWSWLA7m4A==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", + "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", "dev": true }, "flow-bin": { - "version": "0.153.0", - "resolved": "https://registry.npmjs.org/flow-bin/-/flow-bin-0.153.0.tgz", - "integrity": "sha512-sxP9nfXnoyCUT6hjAO+zDyHLO3dZcWg0h+4HttHs/5wg/2oAkTDwmsWbj095IQsEmwTicq2TfqWq5QRuLxynlQ==", + "version": "0.156.0", + "resolved": "https://registry.npmjs.org/flow-bin/-/flow-bin-0.156.0.tgz", + "integrity": "sha512-KEEsKV7/bePZM3Ja7rYlAaSx8GPiTGr7pt0IJcX5S3GSEIZ2ieayF6JWNjbyLiu7ZUJuWe4ITDnPvyqimUpYww==", "dev": true }, "for-in": { @@ -21191,6 +21344,12 @@ "mime-types": "^2.1.12" } }, + "formidable": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.2.tgz", + "integrity": "sha512-V8gLm+41I/8kguQ4/o1D3RIHRmhYFG4pnNyonvua+40rqcEmT4+V71yaZ3B457xbbgCsCfjSPi65u/W6vK1U5Q==", + "dev": true + }, "forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -21836,9 +21995,9 @@ "dev": true }, "is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz", + "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==", "dev": true, "requires": { "has": "^1.0.3" @@ -21984,9 +22143,9 @@ } }, "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true }, "is-string": { @@ -22663,13 +22822,13 @@ } }, "lighthouse-logger": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/lighthouse-logger/-/lighthouse-logger-1.2.0.tgz", - "integrity": "sha512-wzUvdIeJZhRsG6gpZfmSCfysaxNEr43i+QT+Hie94wvHDKFLi4n7C2GqZ4sTC+PH5b5iktmXJvU87rWvhP3lHw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/lighthouse-logger/-/lighthouse-logger-1.3.0.tgz", + "integrity": "sha512-BbqAKApLb9ywUli+0a+PcV04SyJ/N1q/8qgCNe6U97KbPCS1BTksEuHFLYdvc8DltuhfxIUBqDZsC0bBGtl3lA==", "dev": true, "requires": { - "debug": "^2.6.8", - "marky": "^1.2.0" + "debug": "^2.6.9", + "marky": "^1.2.2" }, "dependencies": { "debug": { @@ -23188,18 +23347,18 @@ "dev": true }, "mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", "dev": true }, "mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", "dev": true, "requires": { - "mime-db": "1.48.0" + "mime-db": "1.49.0" } }, "min-document": { @@ -23609,9 +23768,9 @@ } }, "mocha": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.0.2.tgz", - "integrity": "sha512-FpspiWU+UT9Sixx/wKimvnpkeW0mh6ROAKkIaPokj3xZgxeRhcna/k5X57jJghEr8X+Cgu/Vegf8zCX5ugSuTA==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.0.3.tgz", + "integrity": "sha512-hnYFrSefHxYS2XFGtN01x8un0EwNu2bzKvhpRFhgoybIvMaOkkL60IVPmkb5h6XDmUl4IMSB+rT5cIO4/4bJgg==", "dev": true, "requires": { "@ungap/promise-all-settled": "1.1.2", @@ -23721,9 +23880,9 @@ } }, "mocha-headless": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/mocha-headless/-/mocha-headless-6.0.0.tgz", - "integrity": "sha512-OpnuwKN66/xEvlZxAsxLnuJisY3QW7/u3aXczdPt88THsrvQj3RbRZRBoUdyNxcCeRH/3/5xdjABu+4hQT9FnQ==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/mocha-headless/-/mocha-headless-8.0.0.tgz", + "integrity": "sha512-2ryZZjV5jBgLiGrK+u/65sRwRd8Bc5XgIUcUay84hTtT7v6Ebs1QAbOjv0s62NYklxlzfNPpkx/kuTBZeBzkIQ==", "dev": true, "requires": { "chai": "^4.2.0", @@ -23736,7 +23895,7 @@ "live-server": "^1.2.1", "live-server-https": "0.0.2", "mocha": "npm:@stagas/mocha@^7.2.0", - "mocha-chrome": "npm:@stagas/mocha-chrome@^2.2.0" + "mocha-chrome": "npm:@stagas/mocha-chrome@^2.2.1" }, "dependencies": { "ansi-regex": { @@ -24695,9 +24854,9 @@ } }, "object-inspect": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", - "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", "dev": true }, "object-keys": { @@ -25265,9 +25424,9 @@ } }, "pvtsutils": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.1.7.tgz", - "integrity": "sha512-faOiD/XpB/cIebRzYwzYjCmYgiDd53YEBni+Mt1+8/HlrARHYBpsU2OHOt3EZ1ZhfRNxPL0dH3K/vKaMgNWVGA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.2.0.tgz", + "integrity": "sha512-IDefMJEQl7HX0FP2hIKJFnAR11klP1js2ixCrOaMhe3kXFK6RQ2ABUCuwWaaD4ib0hSbh2fGTICvWJJhDfNecA==", "dev": true, "requires": { "tslib": "^2.2.0" @@ -26071,6 +26230,17 @@ "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==", "dev": true }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, "signal-exit": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", @@ -26084,13 +26254,13 @@ "dev": true }, "sinon": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-11.1.1.tgz", - "integrity": "sha512-ZSSmlkSyhUWbkF01Z9tEbxZLF/5tRC9eojCdFh33gtQaP7ITQVaMWQHGuFM7Cuf/KEfihuh1tTl3/ABju3AQMg==", + "version": "11.1.2", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-11.1.2.tgz", + "integrity": "sha512-59237HChms4kg7/sXhiRcUzdSkKuydDeTiamT/jesUVHshBgL8XAmhgFo0GfK6RruMDM/iRSij1EybmMog9cJw==", "dev": true, "requires": { "@sinonjs/commons": "^1.8.3", - "@sinonjs/fake-timers": "^7.1.0", + "@sinonjs/fake-timers": "^7.1.2", "@sinonjs/samsam": "^6.0.2", "diff": "^5.0.0", "nise": "^5.1.0", @@ -26672,6 +26842,66 @@ "minimist": "^1.1.0" } }, + "superagent": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-6.1.0.tgz", + "integrity": "sha512-OUDHEssirmplo3F+1HWKUrUjvnQuA+nZI6i/JJBdXb5eq9IyEQwPyPpqND+SSsxf6TygpBEkUjISVRN4/VOpeg==", + "dev": true, + "requires": { + "component-emitter": "^1.3.0", + "cookiejar": "^2.1.2", + "debug": "^4.1.1", + "fast-safe-stringify": "^2.0.7", + "form-data": "^3.0.0", + "formidable": "^1.2.2", + "methods": "^1.1.2", + "mime": "^2.4.6", + "qs": "^6.9.4", + "readable-stream": "^3.6.0", + "semver": "^7.3.2" + }, + "dependencies": { + "qs": { + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", + "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "dev": true, + "requires": { + "side-channel": "^1.0.4" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + } + } + }, + "supertest": { + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/supertest/-/supertest-6.1.4.tgz", + "integrity": "sha512-giC9Zm+Bf1CZP09ciPdUyl+XlMAu6rbch79KYiYKOGcbK2R1wH8h+APul1i/3wN6RF1XfWOIF+8X1ga+7SBrug==", + "dev": true, + "requires": { + "methods": "^1.1.2", + "superagent": "^6.1.0" + } + }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -26711,9 +26941,9 @@ }, "dependencies": { "ajv": { - "version": "8.6.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.1.tgz", - "integrity": "sha512-42VLtQUOLefAvKFAQIxIZDaThq6om/PrfP0CYk3/vn+y4BMNkKnbli8ON2QCiHov4KkzOSJ/xSoBJdayiiYvVQ==", + "version": "8.6.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.2.tgz", + "integrity": "sha512-9807RlWAgT564wT+DjeyU5OFMPjmzxVobvDFmNAhY+5zD6A2ly3jDp6sgnfyDtlIQ+7H97oc/DGCzzfu9rjw9w==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -27126,9 +27356,9 @@ "dev": true }, "uglify-js": { - "version": "3.13.10", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.10.tgz", - "integrity": "sha512-57H3ACYFXeo1IaZ1w02sfA71wI60MGco/IQFjOqK+WtKoprh7Go2/yvd2HPtoJILO2Or84ncLccI4xoHMTSbGg==", + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.1.tgz", + "integrity": "sha512-JhS3hmcVaXlp/xSo3PKY5R0JqKs5M3IV+exdLHW99qKvKivPO4Z8qbej6mte17SOPqAOVMjt/XGgWacnFSzM3g==", "dev": true }, "uglifycss": { @@ -27846,9 +28076,9 @@ "dev": true }, "ws": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.2.tgz", - "integrity": "sha512-lkF7AWRicoB9mAgjeKbGqVUekLnSNO4VjKVnuPHpQeOxZOErX6BPXwJk70nFslRCEEA8EVW7ZjKwXaP9N+1sKQ==", + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz", + "integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index 58f36fbee1387ed83f8ad1a95b80110025c7377e..605ea7b11229fe0e5ab2c055ad2500a3b894ce01 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "devDependencies": { "@babel/cli": "^7.14.5", "@babel/core": "^7.14.6", + "@babel/plugin-transform-runtime": "^7.14.5", "@babel/preset-env": "^7.14.7", "@babel/preset-flow": "^7.14.5", "@babel/preset-modules": "^0.1.4", @@ -29,16 +30,17 @@ "eslint": "^7.28.0", "esm": "^3.2.25", "exorcist": "^2.0.0", - "flow-bin": "^0.153.0", + "flow-bin": "^0.156.0", "get-random-values": "^1.2.2", "jsdoc": "^3.6.7", "jsdom": "^16.6.0", "lstat": "^1.0.0", - "mocha": "^9.0.0", - "mocha-headless": "^6.0.0", + "mocha": "^9.0.2", + "mocha-headless": "^8.0.0", "mochify": "^8.1.0", "process": "^0.11.10", "sinon": "^11.1.1", + "supertest": "^6.1.4", "tinyify": "^3.0.0", "uglify-js": "^3.13.9", "uglifycss": "^0.0.29", diff --git a/packages/monster/CHANGELOG b/packages/monster/CHANGELOG index bc3b86b9610c3872dc724d322aae5a2a0c95e3f9..029ca0269ec1851c923d0b1266ef150d7f17692a 100644 --- a/packages/monster/CHANGELOG +++ b/packages/monster/CHANGELOG @@ -2,6 +2,20 @@ All notable changes to this project will be documented in this file. +## [1.6.0] - 2021-07-29 + +### Added + +- [new function getGobal()](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/15) +- [new Monster.DOM.Template](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/16) +- [new Monster.Type.RandomID](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/19) +- [new method Monster.Util.Pathfinder::deleteVia()](https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/18) + +### BUGFIX + +- missing imports in monster.js + + ## [1.5.0] - 2021-07-06 ### Added diff --git a/packages/monster/README.md b/packages/monster/README.md index c050f92124c5ea629df03fc0e769ee7938553899..bec315af4268f7e21f93e456a573e6dbca08363f 100644 --- a/packages/monster/README.md +++ b/packages/monster/README.md @@ -27,19 +27,42 @@ thus supports all browsers that are compatible with ES5. ## CDN ``` -<script type="module"> - import {Monster} from 'https://unpkg.com/@schukai/monster@1.5.0/dist/modules/monster.js'; - console.log(Module.getVersion()) -</script> +<!DOCTYPE html> +<html> + <head> + <title>HTML, CSS and JavaScript demo</title> + </head> + + <body> + <p>Hello Monster <span id="version"></span>!</p> + <script type="module"> + import { + Monster + } from 'https://unpkg.com/@schukai/monster@1.6.0/dist/modules/monster.js'; + let id = document.getElementById('version'); + id.innerHTML = Monster.getVersion(); + </script> + </body> +</html> ``` nomodule for backwards compatibility ``` -<script type="module" src="https://unpkg.com/@schukai/monster@1.5.0/dist/modules/monster.js"></script> -<script nomodule src="https://unpkg.com/@schukai/monster@1.5.0/dist/monster.js"></script> +<script type="module" src="https://unpkg.com/@schukai/monster@1.6.0/dist/modules/monster.js"></script> +<script nomodule src="https://unpkg.com/@schukai/monster@1.6.0/dist/monster.js"></script> ``` +### compatibility + +if the global name Monster, is already used by another component, the following variable can be used to adapt the name of the component. + +``` +__MonsterRootName__="MyMonster" +``` + +After that, all classes are accessible via `MyMonster`. For example `MyMonster.getVersion()`. + ## Documentation To check out docs and examples, visit [doc.alvine.io](https://doc.alvine.io/en/oss/monster/snapshot/). diff --git a/packages/monster/dist/modules/constraint/abstract.js b/packages/monster/dist/modules/constraint/abstract.js deleted file mode 100644 index be9c41e1aa852154a1d7674d9820a1695ef2b42d..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/abstract.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import"../types/object.js";class AbstractConstraint extends Object{constructor(){super()}isValid(value){return Promise.reject(value)}}Monster.assignToNamespace("Monster.Constraint",AbstractConstraint);export{Monster,AbstractConstraint}; diff --git a/packages/monster/dist/modules/constraint/abstractoperator.js b/packages/monster/dist/modules/constraint/abstractoperator.js deleted file mode 100644 index 793668928623cdadd7354e408078731e5890f674..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/abstractoperator.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster,AbstractConstraint}from"./abstract.js";class AbstractOperator extends AbstractConstraint{constructor(operantA,operantB){super();if(!(operantA instanceof AbstractConstraint)||!(operantB instanceof AbstractConstraint)){throw new TypeError("parameters must be from type AbstractConstraint")}this.operantA=operantA;this.operantB=operantB}}Monster.assignToNamespace("Monster.Constraint",AbstractOperator);export{Monster,AbstractOperator}; diff --git a/packages/monster/dist/modules/constraint/andoperator.js b/packages/monster/dist/modules/constraint/andoperator.js deleted file mode 100644 index b5e1f549cbad9b8e20d5760add4c27adf4171ebc..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/andoperator.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster,AbstractConstraint}from"./abstract.js";import{AbstractOperator}from"./abstractoperator.js";class AndOperator extends AbstractOperator{isValid(value){return Promise.all([this.operantA.isValid(value),this.operantB.isValid(value)])}}Monster.assignToNamespace("Monster.Constraint",AndOperator);export{Monster,AndOperator}; diff --git a/packages/monster/dist/modules/constraint/invalid.js b/packages/monster/dist/modules/constraint/invalid.js deleted file mode 100644 index 5f0fb2ba0b99fed3418fd0854c40557e56d67c7c..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/invalid.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster,AbstractConstraint}from"./abstract.js";class Invalid extends AbstractConstraint{isValid(value){return Promise.reject(value)}}Monster.assignToNamespace("Monster.Constraint",Invalid);export{Monster,Invalid}; diff --git a/packages/monster/dist/modules/constraint/isarray.js b/packages/monster/dist/modules/constraint/isarray.js deleted file mode 100644 index 1e56fea795c294842fe9801233d8d15fef812abd..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/isarray.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster,AbstractConstraint}from"./abstract.js";import{isArray}from"../types/is.js";class IsArray extends AbstractConstraint{isValid(value){if(isArray(value)){return Promise.resolve(value)}return Promise.reject(value)}}Monster.assignToNamespace("Monster.Constraint",IsArray);export{Monster,IsArray}; diff --git a/packages/monster/dist/modules/constraint/isobject.js b/packages/monster/dist/modules/constraint/isobject.js deleted file mode 100644 index a26ea656f9032cde170ea2bebd0a2dc157b7bcf9..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/isobject.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster,AbstractConstraint}from"./abstract.js";import{isObject}from"../types/is.js";class IsObject extends AbstractConstraint{isValid(value){if(isObject(value)){return Promise.resolve(value)}return Promise.reject(value)}}Monster.assignToNamespace("Monster.Constraint",IsObject);export{Monster,IsObject}; diff --git a/packages/monster/dist/modules/constraint/namespace.js b/packages/monster/dist/modules/constraint/namespace.js deleted file mode 100644 index 9ba346c266b77901e272a45fc233e5237d3095ef..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/namespace.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict'; diff --git a/packages/monster/dist/modules/constraint/operator.js b/packages/monster/dist/modules/constraint/operator.js deleted file mode 100644 index 2b5dcb9281a10becf9eaf1de3884204b5cbee596..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/operator.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster,AbstractConstraint}from"./abstract.js";class Operator extends AbstractConstraint{constructor(operantA,operantB){super();if(!(operantA instanceof AbstractConstraint)||!(operantB instanceof AbstractConstraint)){throw new TypeError("parameters must be from type AbstractConstraint")}this.operantA=operantA;this.operantB=operantB}}Monster.assignToNamespace("Monster.Constraint",Operator);export{Monster,Operator}; diff --git a/packages/monster/dist/modules/constraint/oroperator.js b/packages/monster/dist/modules/constraint/oroperator.js deleted file mode 100644 index d47901f67b4494575ae1696170d0e84f9556c620..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/oroperator.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster,AbstractConstraint}from"./abstract.js";import{AbstractOperator}from"./abstractoperator.js";class OrOperator extends AbstractOperator{isValid(value){var self=this;return new Promise(function(resolve,reject){let a,b;self.operantA.isValid(value).then(function(){resolve()}).catch(function(){a=false;if(b===false){reject()}});self.operantB.isValid(value).then(function(){resolve()}).catch(function(){b=false;if(a===false){reject()}})})}}Monster.assignToNamespace("Monster.Constraint",OrOperator);export{Monster,OrOperator}; diff --git a/packages/monster/dist/modules/constraint/valid.js b/packages/monster/dist/modules/constraint/valid.js deleted file mode 100644 index 0797345b359b4b7d6b2f3987ad14ff623c5636bf..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/constraint/valid.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.2.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster,AbstractConstraint}from"./abstract.js";class Valid extends AbstractConstraint{isValid(value){return Promise.resolve(value)}}Monster.assignToNamespace("Monster.Constraint",Valid);export{Monster,Valid}; diff --git a/packages/monster/dist/modules/constraints/abstract.js b/packages/monster/dist/modules/constraints/abstract.js index 2c702b476003a6ca8f331d1ac129143c505333af..0bb19fdd95447d27143ee7444009a981e7ede042 100644 --- a/packages/monster/dist/modules/constraints/abstract.js +++ b/packages/monster/dist/modules/constraints/abstract.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";import{Base}from"../types/base.js";class AbstractConstraint extends Base{constructor(){super()}isValid(value){return Promise.reject(value)}}Monster.assignToNamespace("Monster.Constraints",AbstractConstraint);export{Monster,AbstractConstraint}; diff --git a/packages/monster/dist/modules/constraints/abstractoperator.js b/packages/monster/dist/modules/constraints/abstractoperator.js index 83190daaab41b37d489ab79d61c7a7849ebf76a1..f92b00ee8e7413468db3144b411426513cff2323 100644 --- a/packages/monster/dist/modules/constraints/abstractoperator.js +++ b/packages/monster/dist/modules/constraints/abstractoperator.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster,AbstractConstraint}from"./abstract.js";class AbstractOperator extends AbstractConstraint{constructor(operantA,operantB){super();if(!(operantA instanceof AbstractConstraint)||!(operantB instanceof AbstractConstraint)){throw new TypeError("parameters must be from type AbstractConstraint")}this.operantA=operantA;this.operantB=operantB}}Monster.assignToNamespace("Monster.Constraints",AbstractOperator);export{Monster,AbstractOperator}; diff --git a/packages/monster/dist/modules/constraints/andoperator.js b/packages/monster/dist/modules/constraints/andoperator.js index 5e93f208c12d5a655efa983f7465c320f0452d9b..564fdef58c4d237f0ec30f44d520f3c8cffe958a 100644 --- a/packages/monster/dist/modules/constraints/andoperator.js +++ b/packages/monster/dist/modules/constraints/andoperator.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster,AbstractConstraint}from"./abstract.js";import{AbstractOperator}from"./abstractoperator.js";class AndOperator extends AbstractOperator{isValid(value){return Promise.all([this.operantA.isValid(value),this.operantB.isValid(value)])}}Monster.assignToNamespace("Monster.Constraints",AndOperator);export{Monster,AndOperator}; diff --git a/packages/monster/dist/modules/constraints/invalid.js b/packages/monster/dist/modules/constraints/invalid.js index 9d66779b570414ef865b49a9771ac023fa426597..7f855a8e8de7bb8a805ee3539213aac9e3f659e9 100644 --- a/packages/monster/dist/modules/constraints/invalid.js +++ b/packages/monster/dist/modules/constraints/invalid.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster,AbstractConstraint}from"./abstract.js";class Invalid extends AbstractConstraint{isValid(value){return Promise.reject(value)}}Monster.assignToNamespace("Monster.Constraints",Invalid);export{Monster,Invalid}; diff --git a/packages/monster/dist/modules/constraints/isarray.js b/packages/monster/dist/modules/constraints/isarray.js index 2747eb90a771d2f8f270ee0f0c021986a35487ed..fde2a57e47f9b6d18f0385594ec1fad83b5bd042 100644 --- a/packages/monster/dist/modules/constraints/isarray.js +++ b/packages/monster/dist/modules/constraints/isarray.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster,AbstractConstraint}from"./abstract.js";import{isArray}from"../types/is.js";class IsArray extends AbstractConstraint{isValid(value){if(isArray(value)){return Promise.resolve(value)}return Promise.reject(value)}}Monster.assignToNamespace("Monster.Constraints",IsArray);export{Monster,IsArray}; diff --git a/packages/monster/dist/modules/constraints/isobject.js b/packages/monster/dist/modules/constraints/isobject.js index 7518ea2b11d1bd7a2b25594ca90a774ed5a2eb31..bba70642c85d1161b381b5960e312b7b05d0e713 100644 --- a/packages/monster/dist/modules/constraints/isobject.js +++ b/packages/monster/dist/modules/constraints/isobject.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster,AbstractConstraint}from"./abstract.js";import{isObject}from"../types/is.js";class IsObject extends AbstractConstraint{isValid(value){if(isObject(value)){return Promise.resolve(value)}return Promise.reject(value)}}Monster.assignToNamespace("Monster.Constraints",IsObject);export{Monster,IsObject}; diff --git a/packages/monster/dist/modules/constraints/namespace.js b/packages/monster/dist/modules/constraints/namespace.js index 35ead85c938cff7b2f19f55beb4bffaf1279afe2..21ea376431503ddc484751c7db66b0c8b209ea8b 100644 --- a/packages/monster/dist/modules/constraints/namespace.js +++ b/packages/monster/dist/modules/constraints/namespace.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict'; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';const namespace="Monster.Constraints"; diff --git a/packages/monster/dist/modules/constraints/oroperator.js b/packages/monster/dist/modules/constraints/oroperator.js index cf3300e1f1ac5ee0f4411f40d08c7d4dacbdbfe8..ccdbfe8eee23ef0c5a0376bef966a916b218fe22 100644 --- a/packages/monster/dist/modules/constraints/oroperator.js +++ b/packages/monster/dist/modules/constraints/oroperator.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster,AbstractOperator}from"./abstractoperator.js";class OrOperator extends AbstractOperator{isValid(value){var self=this;return new Promise(function(resolve,reject){let a,b;self.operantA.isValid(value).then(function(){resolve()}).catch(function(){a=false;if(b===false){reject()}});self.operantB.isValid(value).then(function(){resolve()}).catch(function(){b=false;if(a===false){reject()}})})}}Monster.assignToNamespace("Monster.Constraints",OrOperator);export{Monster,OrOperator}; diff --git a/packages/monster/dist/modules/constraints/valid.js b/packages/monster/dist/modules/constraints/valid.js index 3595772ef44911946214b30e3006fe9c3febfec9..63ac62dc6e85b2ab39aea6064514ea2d0e04fdc0 100644 --- a/packages/monster/dist/modules/constraints/valid.js +++ b/packages/monster/dist/modules/constraints/valid.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster,AbstractConstraint}from"./abstract.js";class Valid extends AbstractConstraint{isValid(value){return Promise.resolve(value)}}Monster.assignToNamespace("Monster.Constraints",Valid);export{Monster,Valid}; diff --git a/packages/monster/dist/modules/data/diff.js b/packages/monster/dist/modules/data/diff.js new file mode 100644 index 0000000000000000000000000000000000000000..b7d664180a015040587e3ce07f0dd1cd3a26c9e3 --- /dev/null +++ b/packages/monster/dist/modules/data/diff.js @@ -0,0 +1,2 @@ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster,isArray,isObject}from"../types/is.js";function Diff(first,second){return doDiff(first,second)}function getKeys(a,b,type){if(isArray(type)){const keys=a.length>b.length?new Array(a.length):new Array(b.length);keys.fill(0);return new Set(keys.map((_,i)=>i))}return new Set(Object.keys(a).concat(Object.keys(b)))}function doDiff(a,b,path,diff){let typeA=typeof a;let typeB=typeof b;const currPath=path||[];const currDiff=diff||[];if(typeA===typeB&&typeA==="object"){getKeys(a,b,typeA).forEach(v=>{if(!Object.prototype.hasOwnProperty.call(a,v)){currDiff.push(buildResult(a[v],b[v],"add",currPath.concat(v)))}else if(!Object.prototype.hasOwnProperty.call(b,v)){currDiff.push(buildResult(a[v],b[v],"delete",currPath.concat(v)))}else{doDiff(a[v],b[v],currPath.concat(v),currDiff)}})}else{const o=getOperator(a,b,typeA,typeB);if(o!==undefined){currDiff.push(buildResult(a,b,o,path))}}return currDiff}function buildResult(a,b,operator,path){const result={operator,path};if(operator!=="add"){result.first={value:a,type:typeof a};if(isObject(a)){const name=Object.getPrototypeOf(a)?.constructor?.name;if(name!==undefined){result.first.instance=name}}}if(operator==="add"||operator==="update"){result.second={value:b,type:typeof b};if(isObject(b)){const name=Object.getPrototypeOf(b)?.constructor?.name;if(name!==undefined){result.second.instance=name}}}return result}function isNotEqual(a,b){if(typeof a!==typeof b){return true}if(a instanceof Date&&b instanceof Date){return a.getTime()!==b.getTime()}return a!==b}function getOperator(a,b){let operator;let typeA=typeof a;let typeB=typeof b;if(typeA==="undefined"&&typeB!=="undefined"){operator="add"}else if(typeA!=="undefined"&&typeB==="undefined"){operator="delete"}else if(isNotEqual(a,b)){operator="update"}return operator}Monster.assignToNamespace("Monster.Data",Diff);export{Monster,Diff}; diff --git a/packages/monster/dist/modules/data/namespace.js b/packages/monster/dist/modules/data/namespace.js index 35ead85c938cff7b2f19f55beb4bffaf1279afe2..c964472062749ee67206981b0e1ca4de2d96417f 100644 --- a/packages/monster/dist/modules/data/namespace.js +++ b/packages/monster/dist/modules/data/namespace.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict'; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';const namespace="Monster.Data"; diff --git a/packages/monster/dist/modules/data/pathfinder.js b/packages/monster/dist/modules/data/pathfinder.js index 7b3f5fc0ba75d1e60a0b02229d9c33e7b1147a74..b502f44c9b5bdc8e53dc7ec2fc6ed38290dc713b 100644 --- a/packages/monster/dist/modules/data/pathfinder.js +++ b/packages/monster/dist/modules/data/pathfinder.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import{isObject,isArray,isInteger}from"../types/is.js";import{validateString,validateInteger}from"../types/validate.js";import{Base}from"../types/base.js";import{Stack}from"../types/stack.js";const DELIMITER=".";class Pathfinder extends Base{constructor(object){super();this.object=object}getVia(path){validateString(path);return getValueViaPath(this.object,path)}setVia(path,value){validateString(path);setValueViaPath(this.object,path,value);return this}exists(path){validateString(path);try{getValueViaPath(this.object,path,true);return true}catch(e){}return false}}Monster.assignToNamespace("Monster.Data",Pathfinder);export{Monster,Pathfinder};function getValueViaPath(object,path,check){if(path===""){return object}let parts=path.split(DELIMITER);let current=parts.shift();if(isObject(object)||isArray(object)){let anchor;if(object instanceof Map){anchor=object.get(current)}else if(object instanceof Set){current=parseInt(current);validateInteger(current);anchor=[...object]?.[current]}else if(isArray(object)){current=parseInt(current);validateInteger(current);anchor=object?.[current]}else{anchor=object?.[current]}if(isObject(anchor)||isArray(anchor)){return getValueViaPath(anchor,parts.join(DELIMITER),check)}if(parts.length>0){throw Error("the journey is not at its end ("+parts.join(DELIMITER)+")")}if(check===true&&!object.hasOwnProperty(current)){throw Error("unknown value")}return anchor}throw TypeError("unsupported type")}function setValueViaPath(object,path,value){let parts=path.split(DELIMITER);let last=parts.pop();let subpath=parts.join(DELIMITER);let stack=new Stack;let current=subpath;while(true){try{getValueViaPath(object,current,true);break}catch(e){}stack.push(current);parts.pop();current=parts.join(DELIMITER);if(current==="")break}while(!stack.isEmpty()){current=stack.pop();let obj={};if(!stack.isEmpty()){let n=stack.peek().split(DELIMITER).pop();if(isInteger(parseInt(n))){obj=[]}}setValueViaPath(object,current,obj)}let anchor=getValueViaPath(object,subpath);if(!isObject(object)&&!isArray(object)){throw TypeError("unsupported type: "+typeof object)}if(anchor instanceof Map){anchor.set(last,value)}else if(anchor instanceof Set){anchor.append(value)}else if(isArray(anchor)){last=parseInt(last);validateInteger(last);anchor[last]=value}else{anchor[last]=value}return anchor} +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster}from"../namespace.js";import{isObject,isArray,isInteger}from"../types/is.js";import{validateString,validateInteger}from"../types/validate.js";import{Base}from"../types/base.js";import{Stack}from"../types/stack.js";const DELIMITER=".";class Pathfinder extends Base{constructor(object){super();this.object=object}getVia(path){validateString(path);return getValueViaPath(this.object,path)}setVia(path,value){validateString(path);setValueViaPath(this.object,path,value);return this}deleteVia(path){validateString(path);deleteValueViaPath(this.object,path);return this}exists(path){validateString(path);try{getValueViaPath(this.object,path,true);return true}catch(e){}return false}}Monster.assignToNamespace("Monster.Data",Pathfinder);export{Monster,Pathfinder};function getValueViaPath(object,path,check){if(path===""){return object}let parts=path.split(DELIMITER);let current=parts.shift();if(isObject(object)||isArray(object)){let anchor;if(object instanceof Map||object instanceof WeakMap){anchor=object.get(current)}else if(object instanceof Set||object instanceof WeakSet){current=parseInt(current);validateInteger(current);anchor=[...object]?.[current]}else if(object instanceof WeakRef){throw Error("unsupported action for this data type")}else if(isArray(object)){current=parseInt(current);validateInteger(current);anchor=object?.[current]}else{anchor=object?.[current]}if(isObject(anchor)||isArray(anchor)){return getValueViaPath(anchor,parts.join(DELIMITER),check)}if(parts.length>0){throw Error("the journey is not at its end ("+parts.join(DELIMITER)+")")}if(check===true&&!object.hasOwnProperty(current)){throw Error("unknown value")}return anchor}throw TypeError("unsupported type")}function setValueViaPath(object,path,value){let parts=path.split(DELIMITER);let last=parts.pop();let subpath=parts.join(DELIMITER);let stack=new Stack;let current=subpath;while(true){try{getValueViaPath(object,current,true);break}catch(e){}stack.push(current);parts.pop();current=parts.join(DELIMITER);if(current==="")break}while(!stack.isEmpty()){current=stack.pop();let obj={};if(!stack.isEmpty()){let n=stack.peek().split(DELIMITER).pop();if(isInteger(parseInt(n))){obj=[]}}setValueViaPath(object,current,obj)}let anchor=getValueViaPath(object,subpath);if(!isObject(object)&&!isArray(object)){throw TypeError("unsupported type: "+typeof object)}if(anchor instanceof Map||anchor instanceof WeakMap){anchor.set(last,value)}else if(anchor instanceof Set||anchor instanceof WeakSet){anchor.append(value)}else if(anchor instanceof WeakRef){throw Error("unsupported action for this data type")}else if(isArray(anchor)){last=parseInt(last);validateInteger(last);anchor[last]=value}else{anchor[last]=value}return}function deleteValueViaPath(object,path){const parts=path.split(DELIMITER);let last=parts.pop();const subpath=parts.join(DELIMITER);const anchor=getValueViaPath.call(this,object,subpath);if(anchor instanceof Map){anchor.delete(last)}else if(anchor instanceof Set||anchor instanceof WeakMap||anchor instanceof WeakSet||anchor instanceof WeakRef){throw Error("unsupported action for this data type")}else if(isArray(anchor)){last=parseInt(last);validateInteger(last);delete anchor[last]}else{delete anchor[last]}return} diff --git a/packages/monster/dist/modules/data/pipe.js b/packages/monster/dist/modules/data/pipe.js index 89dd9a18ff394e35240a0277d5c3fd9dd79d68b5..d6944abbdd45e10bf63777ea4ff47ff80dee204e 100644 --- a/packages/monster/dist/modules/data/pipe.js +++ b/packages/monster/dist/modules/data/pipe.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";import{Transformer}from"./transformer.js";import{Base}from"../types/base.js";import{validateString}from"../types/validate.js";const DELIMITER="|";class Pipe extends Base{constructor(pipe){super();validateString(pipe);this.pipe=pipe.split(DELIMITER).map(v=>{return new Transformer(v)})}run(value){return this.pipe.reduce((accumulator,currentValue,currentIndex,array)=>{return currentValue.run(accumulator)},value)}}Monster.assignToNamespace("Monster.Data",Pipe);export{Monster,Pipe}; diff --git a/packages/monster/dist/modules/data/transformer.js b/packages/monster/dist/modules/data/transformer.js index 1816969ee46db3adef5341b57d39ac6994b2b762..12ad8c9498d6b9cae0f2359a36d642b9581f6b01 100644 --- a/packages/monster/dist/modules/data/transformer.js +++ b/packages/monster/dist/modules/data/transformer.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";import{Base}from"../types/base.js";import{validateString,validatePrimitive,validateFunction,validateInteger}from"../types/validate.js";import{isObject,isString,isArray}from"../types/is.js";import{ID}from"../types/id.js";import{clone}from"../util/clone.js";import{Pathfinder}from"./pathfinder.js";class Transformer extends Base{constructor(definition){super();validateString(definition);this.args=disassemble(definition);this.command=this.args.shift();this.callbacks=new Map}setCallback(name,callback){validateString(name);validateFunction(callback);this.callbacks.set(name,callback);return this}run(value){return transform.apply(this,[value])}}Monster.assignToNamespace("Monster.Data",Transformer);export{Monster,Transformer};function disassemble(command){validateString(command);let placeholder=new Map;const regex=/((?<pattern>\\(?<char>.)){1})/mig;let result=command.matchAll(regex);for(let m of result){let g=m?.["groups"];if(!isObject(g)){continue}let p=g?.["pattern"];let c=g?.["char"];if(p&&c){let r="__"+new ID().toString()+"__";placeholder.set(r,c);command=command.replace(p,r)}}let parts=command.split(":");parts=parts.map(function(value){let v=value.trim();for(let k of placeholder){v=v.replace(k[0],k[1])}return v});return parts}function convertToString(value){if(isObject(value)&&value.hasOwnProperty("toString")){value=value.toString()}validateString(value);return value}function transform(value){let args=clone(this.args);let key;switch(this.command){case"static":return this.args.join(":");case"tolower":case"strtolower":case"tolowercase":validateString(value);return value.toLowerCase();case"toupper":case"strtoupper":case"touppercase":validateString(value);return value.toUpperCase();case"tostring":return""+value;case"tointeger":let n=parseInt(value);validateInteger(n);return n;case"trim":validateString(value);return value.trim();case"rawurlencode":validateString(value);return encodeURIComponent(value).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A");case"call":let callback;let callbackName=args.shift();if(isObject(value)&&calue.hasOwnProperty(callbackName)){callback=value[callbackName]}else if(this.callbacks.has(callbackName)){callback=this.callbacks.get(callbackName)}else if(typeof window==="object"&&window.hasOwnProperty(callbackName)){callback=window[callbackName]}validateFunction(callback);args.unshift(value);return callback(...args);case"plain":case"plaintext":validateString(value);let doc=new DOMParser().parseFromString(value,"text/html");return doc.body.textContent||"";case"if":case"?":validatePrimitive(value);let trueStatement=args.shift()||undefined;let falseStatement=args.shift()||undefined;if(trueStatement==="value"){trueStatement=value}if(trueStatement==="\\value"){trueStatement="value"}if(falseStatement==="value"){falseStatement=value}if(falseStatement==="\\value"){falseStatement="value"}let condition=value!==undefined&&value!==""&&value!=="off"&&value!=="false"&&value!==false||value==="on"||value==="true"||value===true;return condition?trueStatement:falseStatement;case"ucfirst":validateString(value);let firstchar=value.charAt(0).toUpperCase();return firstchar+value.substr(1);case"ucwords":validateString(value);return value.replace(/^([a-z\u00E0-\u00FC])|\s+([a-z\u00E0-\u00FC])/g,function(v){return v.toUpperCase()});case"count":case"length":if((isString(value)||isObject(value)||isArray(value))&&value.hasOwnProperty("length")){return value.length}throw new TypeError("unsupported type");case"base64":convertToString(value);return btoa(value);case"empty":return"";case"undefined":return undefined;case"prefix":validateString(value);let prefix=args?.[0];return prefix+value;case"suffix":validateString(value);let suffix=args?.[0];return value+suffix;case"uniqid":return new ID().toString();case"key":case"property":case"index":key=args.shift()||"undefined";let defaultValue=args.shift()||"";if(value instanceof Map){if(!value.has(key)){return defaultValue}return value.get(key)}if(isObject(value)||isArray(value)){if(value?.[key]){return value?.[key]}return defaultValue}throw new Error("type not supported");case"path":key=args.shift()||"undefined";return new Pathfinder(value).getVia(key);case"substring":validateString(value);let start=parseInt(args[0])||0;let end=(parseInt(args[1])||0)+start;return value.substring(start,end);case"nop":return value;default:throw new Error("unknown command");}return value} diff --git a/packages/monster/dist/modules/dom/assembler.js b/packages/monster/dist/modules/dom/assembler.js new file mode 100644 index 0000000000000000000000000000000000000000..2ba10a2611476c202e9829ce4d4073a8a1a18b16 --- /dev/null +++ b/packages/monster/dist/modules/dom/assembler.js @@ -0,0 +1,2 @@ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster,Base}from"../types/base.js";import{validateInstance,validateString}from"../types/validate.js";import{getGlobalFunction}from"../types/global.js";import{ProxyObserver}from"../types/proxyobserver.js";const ATTRIBUTEPREFIX="data-monster-";class Assembler extends Base{constructor(fragment){super();this.attributePrefix=ATTRIBUTEPREFIX;validateInstance(fragment,getGlobalFunction("DocumentFragment"));this.fragment=fragment}setAttributePrefix(prefix){validateString(prefix);this.attributePrefix=prefix;return this}getAttributePrefix(){return this.attributePrefix}createDocumentFragment(data){if(data===undefined){data=new ProxyObserver({})}validateInstance(data,ProxyObserver);let fragment=this.fragment.cloneNode(true);return fragment}}Monster.assignToNamespace("Monster.DOM",Assembler);export{Monster,ATTRIBUTEPREFIX,Assembler}; diff --git a/packages/monster/dist/modules/dom/handle.js b/packages/monster/dist/modules/dom/handle.js new file mode 100644 index 0000000000000000000000000000000000000000..fb2cb28ba419e263c54bf6d2e3bfd506938eb0ca --- /dev/null +++ b/packages/monster/dist/modules/dom/handle.js @@ -0,0 +1,2 @@ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster,Base}from"../types/base.js";import{Stack}from"../types/stack.js";import{validateInstance}from"../types/validate.js";import{ProxyObserver}from"../types/proxyobserver.js";import{Observer}from"../types/observer.js";import{getGlobalFunction,getGlobalObject}from"../types/global.js";import{isInstance}from"../types/is.js";import{ATTRIBUTEPREFIX}from"./assembler.js";import{ID}from"../types/id.js";const MONSTERDOMHANDLE=Symbol("MonsterHandle");class Handle extends Base{constructor(data){super();let self=this;self.id=new ID;validateInstance(data,ProxyObserver);this.data=data;this.mutationObserver=createMutationObserver.call(this);this.dataObserver=createDataObserver.call(this);this.data.attachObserver(this.dataObserver);this.nodes=new WeakSet;this.updates=new Stack}update(){return}remove(node){if(isInstance(node,getGlobalFunction("Document"))){node=node.firstElementChild}validateInstance(node,getGlobalFunction("HTMLElement"));if(!this.nodes.has(node)){return this}this.mutationObserver.disconnect(node);delete node.dataset[MONSTERDOMHANDLE];node.removeAttribute(ATTRIBUTEPREFIX+"handler");return this}append(node){if(isInstance(node,getGlobalFunction("Document"))){node=node.firstElementChild}validateInstance(node,getGlobalFunction("HTMLElement"));if(this.nodes.has(node)){return this}node.dataset[MONSTERDOMHANDLE]=this;node.setAttribute(ATTRIBUTEPREFIX+"handler",true);this.mutationObserver.observe(node,{attributes:true,childList:true,subtree:true,characterData:true,characterDataOldValue:true,attributeOldValue:true});this.nodes.add(node);return this}}function createDataObserver(){const self=this;return new Observer(()=>{self.update()})}function createMutationObserver(){const self=this;const MutationObserver=getGlobalFunction("MutationObserver");return new MutationObserver((mutationsList,observer)=>{for(const mutation of mutationsList){self.updates.push(mutation)}self.update()})}function getHandleFromNode(node){validateInstance(node,getGlobalFunction("Node"));let handle=node.dataset?.[MONSTERDOMHANDLE];if(handle===undefined){let parentNode=node?.["parentNode"];if(isInstance(parentNode,getGlobalFunction("Node"))){return getHandleFromNode(parentNode)}}return handle}Monster.assignToNamespace("Monster.DOM",getHandleFromNode,Handle);export{Monster,getHandleFromNode,Handle}; diff --git a/packages/monster/dist/modules/dom/namespace.js b/packages/monster/dist/modules/dom/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..92e65a20cfa5753bbeeae7212ff1bc66f785a2a3 --- /dev/null +++ b/packages/monster/dist/modules/dom/namespace.js @@ -0,0 +1,2 @@ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';const namespace="Monster.DOM"; diff --git a/packages/monster/dist/modules/dom/template.js b/packages/monster/dist/modules/dom/template.js new file mode 100644 index 0000000000000000000000000000000000000000..f7e0ae7d1880ce71c8f539ccfd407a24894e00a5 --- /dev/null +++ b/packages/monster/dist/modules/dom/template.js @@ -0,0 +1,2 @@ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster,Base}from"../types/base.js";import{getGlobalFunction}from"../types/global.js";import{validateInstance}from"../types/validate.js";class Template extends Base{constructor(template){super();validateInstance(template,getGlobalFunction("HTMLTemplateElement"));this.template=template}getTemplateElement(){return this.template}createDocumentFragment(){return this.template.content.cloneNode(true)}}Monster.assignToNamespace("Monster.DOM",Template);export{Monster,Template}; diff --git a/packages/monster/dist/modules/dom/util.js b/packages/monster/dist/modules/dom/util.js new file mode 100644 index 0000000000000000000000000000000000000000..fe3ab47f27f3772d85643a85aa28399168424b48 --- /dev/null +++ b/packages/monster/dist/modules/dom/util.js @@ -0,0 +1,2 @@ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster,getGlobal}from"../types/global.js";import{validateString}from"../types/validate.js";function getDocument(){let document=getGlobal()?.["document"];if(typeof document!=="object"){throw new Error("not supported environment")}return document}function getWindow(){let window=getGlobal()?.["window"];if(typeof window!=="object"){throw new Error("not supported environment")}return window}function getDocumentFragmentFromString(html){validateString(html);const document=getDocument();const template=document.createElement("template");template.innerHTML=html;return template.content}Monster.assignToNamespace("Monster.DOM",getWindow,getDocument,getDocumentFragmentFromString);export{Monster,getWindow,getDocument,getDocumentFragmentFromString}; diff --git a/packages/monster/dist/modules/logging/handler.js b/packages/monster/dist/modules/logging/handler.js index 51029c4233824ee88f5c447eb0ee4d5f2875eb95..3aaf60bd86faefb0826db91a6a2318f17c9d3209 100644 --- a/packages/monster/dist/modules/logging/handler.js +++ b/packages/monster/dist/modules/logging/handler.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";import{Base}from"../types/base.js";import{ALL,DEBUG,ERROR,FATAL,INFO,OFF,TRACE,WARN}from"./logger.js";import{LogEntry}from"./logentry.js";import{validateInstance,validateInteger}from"../types/validate.js";class Handler extends Base{constructor(){super();this.loglevel=OFF}log(entry){validateInstance(entry,LogEntry);if(this.loglevel<entry.getLogLevel()){return false}return true}setLogLevel(loglevel){validateInteger(loglevel);this.loglevel=loglevel;return this}getLogLevel(){return this.loglevel}setAll(){this.setLogLevel(ALL);return this}setTrace(){this.setLogLevel(TRACE);return this}setDebug(){this.setLogLevel(DEBUG);return this}setInfo(){this.setLogLevel(INFO);return this}setWarn(){this.setLogLevel(WARN);return this}setError(){this.setLogLevel(ERROR);return this}setFatal(){this.setLogLevel(FATAL);return this}setOff(){this.setLogLevel(OFF);return this}}Monster.assignToNamespace("Monster.Logging",Handler);export{Monster,Handler}; diff --git a/packages/monster/dist/modules/logging/handler/console.js b/packages/monster/dist/modules/logging/handler/console.js index 3638eb680aa81c465c2b4edaa746c0ea9d45d9ad..eef7b6fa67a94672594a1d909e9b396088a1248a 100644 --- a/packages/monster/dist/modules/logging/handler/console.js +++ b/packages/monster/dist/modules/logging/handler/console.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../../namespace.js";import{Base}from"../../types/base.js";import{Handler}from"../../logging/handler.js";class ConsoleHandler extends Base{constructor(){super()}}Monster.assignToNamespace("Monster.Logging",ConsoleHandler);export{Monster,Handler}; diff --git a/packages/monster/dist/modules/logging/handler/namespace.js b/packages/monster/dist/modules/logging/handler/namespace.js index 35ead85c938cff7b2f19f55beb4bffaf1279afe2..cff6ecc49a7ca8735f09757d49b0b22766f27133 100644 --- a/packages/monster/dist/modules/logging/handler/namespace.js +++ b/packages/monster/dist/modules/logging/handler/namespace.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict'; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';const namespace="Monster.Logging.Handler"; diff --git a/packages/monster/dist/modules/logging/log.js b/packages/monster/dist/modules/logging/log.js deleted file mode 100644 index 002c4daa86eb56835153a705b84573daea122448..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/logging/log.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.4.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import{validateInteger}from"../types/validate.js";import{Base}from"../types/base.js";class Log extends Base{constructor(loglevel,...args){super();validateInteger(loglevel);this.loglevel=loglevel;this.arguments=args}getLogLevel(){return this.loglevel}getArguments(){return this.arguments}}Monster.assignToNamespace("Monster.Logging",Log);export{Monster,Log}; diff --git a/packages/monster/dist/modules/logging/logentry.js b/packages/monster/dist/modules/logging/logentry.js index 0868cbeac6203507c3e47cdfc111553a456d1c6d..1e08529e0523faa0cb776452aae2b3406bdaaa35 100644 --- a/packages/monster/dist/modules/logging/logentry.js +++ b/packages/monster/dist/modules/logging/logentry.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";import{validateInteger}from"../types/validate.js";import{Base}from"../types/base.js";class LogEntry extends Base{constructor(loglevel,...args){super();validateInteger(loglevel);this.loglevel=loglevel;this.arguments=args}getLogLevel(){return this.loglevel}getArguments(){return this.arguments}}Monster.assignToNamespace("Monster.Logging",LogEntry);export{Monster,LogEntry}; diff --git a/packages/monster/dist/modules/logging/logger.js b/packages/monster/dist/modules/logging/logger.js index 19b4eca7a11dd420f323146fbf1ddad1e3db9281..e31dbc0eb8b8a68610829aee22d9c7c7f249b7c5 100644 --- a/packages/monster/dist/modules/logging/logger.js +++ b/packages/monster/dist/modules/logging/logger.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";import{validateInteger,validateObject,validateString}from"../types/validate.js";import{Handler}from"../logging/handler.js";import{LogEntry}from"../logging/logentry.js";import{Base}from"../types/base.js";const ALL=255;const TRACE=64;const DEBUG=32;const INFO=16;const WARN=8;const ERROR=4;const FATAL=2;const OFF=0;class Logger extends Base{constructor(){super();this.handler=new Set}addHandler(handler){validateObject(handler);if(!(handler instanceof Handler)){throw new Error("the handler must be an instance of Handler")}this.handler.add(handler);return this}removeHandler(handler){validateObject(handler);if(!(handler instanceof Handler)){throw new Error("the handler must be an instance of Handler")}this.handler.delete(handler);return this}logTrace(){triggerLog.apply(this,[TRACE,...arguments]);return this}logDebug(){triggerLog.apply(this,[DEBUG,...arguments]);return this}logInfo(){triggerLog.apply(this,[INFO,...arguments]);return this}logWarn(){triggerLog.apply(this,[WARN,...arguments]);return this}logError(){triggerLog.apply(this,[ERROR,...arguments]);return this}logFatal(){triggerLog.apply(this,[FATAL,...arguments]);return this}getLabel(level){validateInteger(level);if(level===ALL)return"ALL";if(level===TRACE)return"TRACE";if(level===DEBUG)return"DEBUG";if(level===INFO)return"INFO";if(level===WARN)return"WARN";if(level===ERROR)return"ERROR";if(level===FATAL)return"FATAL";if(level===OFF)return"OFF";return"unknown"}getLevel(label){validateString(label);if(label==="ALL")return ALL;if(label==="TRACE")return TRACE;if(label==="DEBUG")return DEBUG;if(label==="INFO")return INFO;if(label==="WARN")return WARN;if(label==="ERROR")return ERROR;if(label==="FATAL")return FATAL;if(label==="OFF")return OFF;return 0}}Monster.assignToNamespace("Monster.Logging",Logger);export{Monster,Logger,ALL,TRACE,DEBUG,INFO,WARN,ERROR,FATAL,OFF};function triggerLog(loglevel,...args){var logger=this;for(let handler of logger.handler){handler.log(new LogEntry(loglevel,args))}return logger} diff --git a/packages/monster/dist/modules/logging/namespace.js b/packages/monster/dist/modules/logging/namespace.js index 35ead85c938cff7b2f19f55beb4bffaf1279afe2..51751c7a07b7a2b3ecdd7fb8b43183d045bbe20f 100644 --- a/packages/monster/dist/modules/logging/namespace.js +++ b/packages/monster/dist/modules/logging/namespace.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict'; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';const namespace="Monster.Logging"; diff --git a/packages/monster/dist/modules/math/namespace.js b/packages/monster/dist/modules/math/namespace.js index 35ead85c938cff7b2f19f55beb4bffaf1279afe2..01aee7f35077995b955f86e890941a709844eee3 100644 --- a/packages/monster/dist/modules/math/namespace.js +++ b/packages/monster/dist/modules/math/namespace.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict'; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';const namespace="Monster.Math"; diff --git a/packages/monster/dist/modules/math/random.js b/packages/monster/dist/modules/math/random.js index 487facc388e04b5a563d7f58195005baf02b8bf4..b83c90b32480ac2d8e064d4efe0b6b85e8b511ef 100644 --- a/packages/monster/dist/modules/math/random.js +++ b/packages/monster/dist/modules/math/random.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";function random(min,max){if(min===undefined){min=0}if(max===undefined){max=MAX}if(max<min){throw new Error("max must be greater than min")}return Math.round(create(min,max))}var MAX=1000000000;Math.log2=Math.log2||function(n){return Math.log(n)/Math.log(2)};function create(min,max){var crypt;if(typeof global!=="undefined"){crypt=global?.["crypto"]||global?.["msCrypto"]}else{crypt=typeof crypto!=="undefined"?crypto:undefined}if(typeof crypt==="undefined"){throw new Error("missing crypt")}let rval=0;const range=max-min;if(range<2){return min}const bitsNeeded=Math.ceil(Math.log2(range));if(bitsNeeded>53){throw new Error("we cannot generate numbers larger than 53 bits.")}const bytesNeeded=Math.ceil(bitsNeeded/8);const mask=Math.pow(2,bitsNeeded)-1;const byteArray=new Uint8Array(bytesNeeded);crypt.getRandomValues(byteArray);let p=(bytesNeeded-1)*8;for(var i=0;i<bytesNeeded;i++){rval+=byteArray[i]*Math.pow(2,p);p-=8}rval=rval&mask;if(rval>=range){return create(min,max)}return min+rval}Monster.assignToNamespace("Monster.Math",random);export{Monster,random}; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster,getGlobal}from"../types/global.js";function random(min,max){if(min===undefined){min=0}if(max===undefined){max=MAX}if(max<min){throw new Error("max must be greater than min")}return Math.round(create(min,max))}var MAX=1000000000;Math.log2=Math.log2||function(n){return Math.log(n)/Math.log(2)};function create(min,max){let crypt;let globalReference=getGlobal();crypt=globalReference?.["crypto"]||globalReference?.["msCrypto"]||globalReference?.["crypto"]||undefined;if(typeof crypt==="undefined"){throw new Error("missing crypt")}let rval=0;const range=max-min;if(range<2){return min}const bitsNeeded=Math.ceil(Math.log2(range));if(bitsNeeded>53){throw new Error("we cannot generate numbers larger than 53 bits.")}const bytesNeeded=Math.ceil(bitsNeeded/8);const mask=Math.pow(2,bitsNeeded)-1;const byteArray=new Uint8Array(bytesNeeded);crypt.getRandomValues(byteArray);let p=(bytesNeeded-1)*8;for(var i=0;i<bytesNeeded;i++){rval+=byteArray[i]*Math.pow(2,p);p-=8}rval=rval&mask;if(rval>=range){return create(min,max)}return min+rval}Monster.assignToNamespace("Monster.Math",random);export{Monster,random}; diff --git a/packages/monster/dist/modules/monster.js b/packages/monster/dist/modules/monster.js index 56be6ed04d3340ba9d942ea6d1313938851b31a0..5aced453599b66ac81f99395cc99e32b7bdd70aa 100644 --- a/packages/monster/dist/modules/monster.js +++ b/packages/monster/dist/modules/monster.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"./namespace.js";import"./types/id.js";import"./types/is.js";import"./types/base.js";import"./types/observer.js";import"./types/observerlist.js";import"./types/proxyobserver.js";import"./types/version.js";import"./types/tokenlist.js";import"./types/validate.js";import"./types/version.js";import"./math/random.js";import"./util/clone.js";import"./util/comparator.js";import"./util/freeze.js";import"./constraints/abstract.js";import"./constraints/andoperator.js";import"./constraints/invalid.js";import"./constraints/isarray.js";import"./constraints/isobject.js";import"./constraints/abstractoperator.js";import"./constraints/oroperator.js";import"./constraints/valid.js";Monster.Util.deepFreeze(Monster);export{Monster}; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster}from"./namespace.js";import"./types/base.js";import"./types/global.js";import"./types/id.js";import"./types/is.js";import"./types/observer.js";import"./types/observerlist.js";import"./types/proxyobserver.js";import"./types/queue.js";import"./types/randomid.js";import"./types/stack.js";import"./types/tokenlist.js";import"./types/uniquequeue.js";import"./types/validate.js";import"./types/version.js";import"./math/random.js";import"./data/diff.js";import"./data/pathfinder.js";import"./data/pipe.js";import"./data/transformer.js";import"./logging/handler.js";import"./logging/logentry.js";import"./logging/logger.js";import"./logging/handler/console.js";import"./util/clone.js";import"./util/comparator.js";import"./util/freeze.js";import"./constraints/abstract.js";import"./constraints/abstractoperator.js";import"./constraints/andoperator.js";import"./constraints/invalid.js";import"./constraints/isarray.js";import"./constraints/isobject.js";import"./constraints/oroperator.js";import"./constraints/valid.js";import"./dom/util.js";import"./dom/template.js";import"./dom/handle.js";import"./dom/assembler.js";Monster.Util.deepFreeze(Monster);export{Monster};let rootName;try{rootName=Monster.Types.getGlobalObject("__MonsterRootName__")}catch(e){}if(!rootName)rootName="Monster";Monster.Types.getGlobal()[rootName]=Monster; diff --git a/packages/monster/dist/modules/namespace.js b/packages/monster/dist/modules/namespace.js index 68e2101000c576dd56d4f70093dc19244ab4d699..c20c10a4161232f360be464021f20fa8fd34102b 100644 --- a/packages/monster/dist/modules/namespace.js +++ b/packages/monster/dist/modules/namespace.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';class Namespace{constructor(namespace){if(namespace===undefined||typeof namespace!=="string"){throw new Error("namespace is not a string")}this.namespace=namespace}getNamespace(){return this.namespace}toString(){return this.getNamespace()}}export const Monster=new Namespace("Monster");assignToNamespace("Monster",assignToNamespace);function assignToNamespace(ns,...obj){let current=namespaceFor(ns.split("."));for(let i=0,l=obj.length;i<l;i++){current[objectName(obj[i])]=obj[i]}}function objectName(fn){try{if(typeof fn!=="function"){throw new Error("the first argument is not a function or class.")}if(fn.hasOwnProperty("name")){return fn.name}if("function"===typeof fn.toString){let s=fn.toString();let f=s.match(/^\s*function\s+([^\s(]+)/);if(Array.isArray(f)&&typeof f[1]==="string"){return f[1]}let c=s.match(/^\s*class\s+([^\s(]+)/);if(Array.isArray(c)&&typeof c[1]==="string"){return c[1]}}}catch(e){throw new Error("exception "+e)}throw new Error("the name of the class or function cannot be resolved.")}function namespaceFor(parts){var space=Monster,ns="Monster";for(let i=0;i<parts.length;i++){if("Monster"===parts[i]){continue}ns+="."+parts[i];if(!space.hasOwnProperty(parts[i])){space[parts[i]]=new Namespace(ns)}space=space[parts[i]]}return space}export{assignToNamespace}; diff --git a/packages/monster/dist/modules/types/base.js b/packages/monster/dist/modules/types/base.js index 13d0b9f07f5e564839def8fc0ff08df51e122abf..a21c8dc5e98776db8360b50074f804e2ed5042b6 100644 --- a/packages/monster/dist/modules/types/base.js +++ b/packages/monster/dist/modules/types/base.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";class Base extends Object{toString(){return JSON.stringify(this)}}Monster.assignToNamespace("Monster.Types",Base);export{Monster,Base}; diff --git a/packages/monster/dist/modules/types/global.js b/packages/monster/dist/modules/types/global.js new file mode 100644 index 0000000000000000000000000000000000000000..f6ff0e907c4acbc488340d2858f168bddad192ee --- /dev/null +++ b/packages/monster/dist/modules/types/global.js @@ -0,0 +1,2 @@ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster}from"../namespace.js";import{validateFunction,validateString,validateObject}from"./validate.js";var globalReference;(function(){if(typeof globalThis==="object"){globalReference=globalThis;return}Object.defineProperty(Object.prototype,"__monster__",{get:function(){return this},configurable:true});__monster__.globalThis=__monster__;delete Object.prototype.__monster__;globalReference=globalThis})();function getGlobal(){return globalReference}function getGlobalObject(name){validateString(name);let o=globalReference?.[name];if(typeof o==="undefined")throw new Error("the object "+name+" is not defined");validateObject(o);return o}function getGlobalFunction(name){validateString(name);let f=globalReference?.[name];if(typeof f==="undefined")throw new Error("the function "+name+" is not defined");validateFunction(f);return f}Monster.assignToNamespace("Monster.Types",getGlobal,getGlobalObject,getGlobalFunction);export{Monster,getGlobal,getGlobalObject,getGlobalFunction}; diff --git a/packages/monster/dist/modules/types/id.js b/packages/monster/dist/modules/types/id.js index 7813dea2d6d149bd37a4a78bb1551575259601e4..76d71ffe761bbfce68826db116b9070d1ef7dbe6 100644 --- a/packages/monster/dist/modules/types/id.js +++ b/packages/monster/dist/modules/types/id.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import{random}from"../math/random.js";import{Base}from"./base.js";let internalCounter=0;class ID extends Base{constructor(){super();internalCounter+=1;this.id=global.btoa(random(1,10000)).replace(/=/g,"").replace(/^[0-9]+/,"X")+internalCounter}toString(){return this.id}}Monster.assignToNamespace("Monster.Types",ID);export{Monster,ID}; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster,Base}from"./base.js";import{validateString}from"./validate.js";let internalCounter=new Map;class ID extends Base{constructor(prefix){super();if(prefix===undefined){prefix="id"}validateString(prefix);if(!internalCounter.has(prefix)){internalCounter.set(prefix,1)}let count=internalCounter.get(prefix);this.id=prefix+count;internalCounter.set(prefix,++count)}toString(){return this.id}}Monster.assignToNamespace("Monster.Types",ID);export{Monster,ID}; diff --git a/packages/monster/dist/modules/types/is.js b/packages/monster/dist/modules/types/is.js index 796faba38c65ff0d0bb3d19e405e7cc085dfff64..4f06ce84d28a2b60639f1c433d86d675761bc5ec 100644 --- a/packages/monster/dist/modules/types/is.js +++ b/packages/monster/dist/modules/types/is.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";function isIterable(value){if(value===undefined)return false;if(value===null)return false;return typeof value?.[Symbol.iterator]==="function"}function isPrimitive(value){var type;if(value===undefined||value===null||value===NaN){return true}type=typeof value;if(type==="string"||type==="number"||type==="boolean"||type==="symbol"){return true}return false}function isBoolean(value){if(value===true||value===false){return true}return false}function isString(value){if(value===undefined||typeof value!=="string"){return false}return true}function isObject(value){if(isArray(value))return false;if(isPrimitive(value))return false;if(typeof value==="object"){return true}return false}function isInstance(value,instance){if(!isObject(value))return false;if(!isFunction(instance))return false;if(!instance.hasOwnProperty("prototype"))return false;return value instanceof instance?true:false}function isArray(value){if(Array.isArray(value)){return true}return false}function isFunction(value){if(isArray(value))return false;if(isPrimitive(value))return false;if(typeof value==="function"){return true}return false}function isInteger(value){return Number.isInteger(value)}Monster.assignToNamespace("Monster.Types",isPrimitive,isBoolean,isString,isObject,isArray,isFunction,isIterable,isInteger);export{Monster,isPrimitive,isBoolean,isString,isObject,isInstance,isArray,isFunction,isIterable,isInteger}; diff --git a/packages/monster/dist/modules/types/namespace.js b/packages/monster/dist/modules/types/namespace.js index 35ead85c938cff7b2f19f55beb4bffaf1279afe2..0a8ecbdea31bea1175f66884adce6f3af648f06f 100644 --- a/packages/monster/dist/modules/types/namespace.js +++ b/packages/monster/dist/modules/types/namespace.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict'; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';const namespace="Monster.Types"; diff --git a/packages/monster/dist/modules/types/object.js b/packages/monster/dist/modules/types/object.js deleted file mode 100644 index fdede1b5ca12ff4d6c03054efee03b38f93c1334..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/types/object.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.4.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";class Object{constructor(){}toString(){return JSON.stringify(this)}}Monster.assignToNamespace("Monster.Types",Object);export{Monster,Object}; diff --git a/packages/monster/dist/modules/types/observer.js b/packages/monster/dist/modules/types/observer.js index 59d164ae29406e39a6b2e2e9ce566eaef56f9616..7d522c4f7612ef97b629ad1357758a5461795b76 100644 --- a/packages/monster/dist/modules/types/observer.js +++ b/packages/monster/dist/modules/types/observer.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import{TokenList}from"./tokenlist.js";import{isObject}from"./is.js";import{Base}from"./base.js";import{UniqueQueue}from"./uniquequeue.js";class Observer extends Base{constructor(callback,...args){super();if(typeof callback!=="function"){throw new Error("observer callback must be a function")}this.callback=callback;this.arguments=args;this.tags=new TokenList;this.queue=new UniqueQueue}addTag(tag){this.tags.add(tag);return this}removeTag(tag){this.tags.remove(tag);return this}getTags(){return this.tags.entries()}hasTag(tag){return this.tags.contains(tag)}update(subject){let self=this;return new Promise(function(resolve,reject){if(!isObject(subject)){reject("subject must be an object")}self.queue.add(subject);setTimeout(()=>{if(self.queue.isEmpty()){resolve();return}let s=self.queue.poll();let result=self.callback.apply(s,self.arguments);if(isObject(result)&&result instanceof Promise){result.then(resolve).catch(reject);return}resolve(result)},0)})}}Monster.assignToNamespace("Monster.Types",Observer);export{Monster,Observer}; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster}from"../namespace.js";import{TokenList}from"./tokenlist.js";import{isObject}from"./is.js";import{Base}from"./base.js";import{UniqueQueue}from"./uniquequeue.js";class Observer extends Base{constructor(callback,...args){super();if(typeof callback!=="function"){throw new Error("observer callback must be a function")}this.callback=callback;this.arguments=args;this.tags=new TokenList;this.queue=new UniqueQueue}addTag(tag){this.tags.add(tag);return this}removeTag(tag){this.tags.remove(tag);return this}getTags(){return this.tags.entries()}hasTag(tag){return this.tags.contains(tag)}update(subject){let self=this;return new Promise(function(resolve,reject){if(!isObject(subject)){reject("subject must be an object");return}self.queue.add(subject);setTimeout(()=>{if(self.queue.isEmpty()){resolve();return}let s=self.queue.poll();let result=self.callback.apply(s,self.arguments);if(isObject(result)&&result instanceof Promise){result.then(resolve).catch(reject);return}resolve(result)},0)})}}Monster.assignToNamespace("Monster.Types",Observer);export{Monster,Observer}; diff --git a/packages/monster/dist/modules/types/observerlist.js b/packages/monster/dist/modules/types/observerlist.js index e39f6e9d9b235b96cddab09fa9ea5100772d106a..50b3a05d0bc0219ef820decc2799851f781f9bd5 100644 --- a/packages/monster/dist/modules/types/observerlist.js +++ b/packages/monster/dist/modules/types/observerlist.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import{Base}from"./base.js";class ObserverList extends Base{constructor(){super();this.observers=[]}attach(observer){checkIsObserver(observer);this.observers.push(observer);return this}detach(observer){checkIsObserver(observer);var i=0,l=this.observers.length;for(;i<l;i++){if(this.observers[i]===observer){this.observers.splice(i,1)}}return this}contains(observer){checkIsObserver(observer);var i=0,l=this.observers.length;for(;i<l;i++){if(this.observers[i]===observer){return true}}return false}notify(subject){let pomises=[];var i=0,l=this.observers.length;for(;i<l;i++){pomises.push(this.observers[i].update(subject))}return Promise.all(pomises)}}function checkIsObserver(observer){if(!(observer instanceof Monster.Types.Observer)){throw new Error("argument must be instance of observer")}return true}Monster.assignToNamespace("Monster.Types",ObserverList);export{Monster,ObserverList}; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster}from"../namespace.js";import{Base}from"./base.js";import{Observer}from"./observer.js";import{validateInstance}from"./validate.js";class ObserverList extends Base{constructor(){super();this.observers=[]}attach(observer){validateInstance(observer,Observer);this.observers.push(observer);return this}detach(observer){validateInstance(observer,Observer);var i=0,l=this.observers.length;for(;i<l;i++){if(this.observers[i]===observer){this.observers.splice(i,1)}}return this}contains(observer){validateInstance(observer,Observer);var i=0,l=this.observers.length;for(;i<l;i++){if(this.observers[i]===observer){return true}}return false}notify(subject){let pomises=[];var i=0,l=this.observers.length;for(;i<l;i++){pomises.push(this.observers[i].update(subject))}return Promise.all(pomises)}}Monster.assignToNamespace("Monster.Types",ObserverList);export{Monster,ObserverList}; diff --git a/packages/monster/dist/modules/types/proxyobserver.js b/packages/monster/dist/modules/types/proxyobserver.js index b73d7d5670f8169633151e1d1784e5df867882c0..940b8e3101d12d7862db77b3f8adc58456d6d06b 100644 --- a/packages/monster/dist/modules/types/proxyobserver.js +++ b/packages/monster/dist/modules/types/proxyobserver.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";import{Base}from"./base.js";import{validateObject}from"./validate.js";import{ObserverList}from"./observerlist.js";import{Observer}from"./observer.js";import{isObject,isArray,isPrimitive}from"./is.js";class ProxyObserver extends Base{constructor(object){super();validateObject(object);this.realSubject=object;this.subject=new Proxy(object,getHandler.call(this));this.objectMap=new WeakMap;this.objectMap.set(this.realSubject,this.subject);this.observers=new ObserverList}getSubject(){return this.subject}getRealSubject(){return this.realSubject}attachObserver(observer){this.observers.attach(observer);return this}detachObserver(observer){this.observers.detach(observer);return this}notifyObservers(){this.observers.notify(this);return this}containsObserver(observer){return this.observers.contains(observer)}}Monster.assignToNamespace("Monster.Types",ProxyObserver);export{Monster,ProxyObserver};function getHandler(){const proxy=this;const handler={get:function(target,key,receiver){const value=Reflect.get(target,key,receiver);if(typeof key==="symbol"){return value}if(isPrimitive(value)){return value}if(isArray(value)||isObject(value)){if(proxy.objectMap.has(value)){return proxy.objectMap.get(value)}else{let p=new Proxy(value,handler);proxy.objectMap.set(value,p);return p}}return value},set:function(target,key,value,receiver){const result=Reflect.set(target,key,value,receiver);if(typeof property!=="symbol"){proxy.observers.notify(proxy)}return result},deleteProperty:function(target,key){if(key in target){delete target[key];if(typeof key!=="symbol"){proxy.observers.notify(proxy)}return true}return false},defineProperty:function(target,key,descriptor){let result=Reflect.defineProperty(target,key,descriptor);if(typeof key!=="symbol"){proxy.observers.notify(proxy)}return result},setPrototypeOf:function(target,key){let result=Reflect.setPrototypeOf(object1,key);if(typeof key!=="symbol"){proxy.observers.notify(proxy)}return result}};return handler} diff --git a/packages/monster/dist/modules/types/queue.js b/packages/monster/dist/modules/types/queue.js index 4965b9e4b0c965766e3707d595f2e77cc97c4add..97ef3d0bb3227c50ccaaecf3a4cdde6a86628d9a 100644 --- a/packages/monster/dist/modules/types/queue.js +++ b/packages/monster/dist/modules/types/queue.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ import{Monster,Base}from"./base.js";class Queue extends Base{constructor(){super();this.data=[]}isEmpty(){return this.data.length===0}peek(){if(this.isEmpty()){return undefined}return this.data[0]}add(value){this.data.push(value);return this}clear(){this.data=[];return this}poll(){if(this.isEmpty()){return undefined}return this.data.shift()}}Monster.assignToNamespace("Monster.Types",Queue);export{Monster,Queue}; diff --git a/packages/monster/dist/modules/types/randomid.js b/packages/monster/dist/modules/types/randomid.js new file mode 100644 index 0000000000000000000000000000000000000000..bcf3d11d84d8e6a89168a282bc3aac8740ee77ea --- /dev/null +++ b/packages/monster/dist/modules/types/randomid.js @@ -0,0 +1,2 @@ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster,ID}from"./id.js";import{getGlobal}from"./global.js";import{random}from"../math/random.js";let internalCounter=0;class RandomID extends ID{constructor(){super();internalCounter+=1;this.id=getGlobal().btoa(random(1,10000)).replace(/=/g,"").replace(/^[0-9]+/,"X")+internalCounter}}Monster.assignToNamespace("Monster.Types",RandomID);export{Monster,RandomID}; diff --git a/packages/monster/dist/modules/types/stack.js b/packages/monster/dist/modules/types/stack.js index 82c109f1dd1472d2676efb59b56bd08e289a4d99..3d7e9f3d1d91b88c73198bc201d3969471e64602 100644 --- a/packages/monster/dist/modules/types/stack.js +++ b/packages/monster/dist/modules/types/stack.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ import{Monster,Base}from"./base.js";class Stack extends Base{constructor(){super();this.data=[]}isEmpty(){return this.data.length===0}peek(){if(this.isEmpty()){return undefined}return this.data?.[this.data.length-1]}push(value){this.data.push(value);return this}clear(){this.data=[];return this}pop(){if(this.isEmpty()){return undefined}return this.data.pop()}}Monster.assignToNamespace("Monster.Types",Stack);export{Monster,Stack}; diff --git a/packages/monster/dist/modules/types/tokenlist.js b/packages/monster/dist/modules/types/tokenlist.js index ce350d788276e4bc166aabd50a3f0110ac47ceb6..41af1e178f1a3e5acf5cae0005a743f99663a495 100644 --- a/packages/monster/dist/modules/types/tokenlist.js +++ b/packages/monster/dist/modules/types/tokenlist.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";import{Base}from"./base.js";import{isString,isIterable}from"../types/is.js";import{validateString,validateFunction}from"../types/validate.js";class TokenList extends Base{constructor(init){super();this.tokens=new Set;if(typeof init!=="undefined"){this.add(init)}}getIterator(){return this[Symbol.iterator]()}[Symbol.iterator](){let index=0;let entries=this.entries();return{next:()=>{if(index<entries.length){return{value:entries?.[index++],done:false}}else{return{done:true}}}}}contains(value){if(isString(value)){value=value.trim();let counter=0;value.split(" ").forEach(token=>{if(this.tokens.has(token.trim())===false)return false;counter++});return counter>0?true:false}if(isIterable(value)){let counter=0;for(let token of value){validateString(token);if(this.tokens.has(token.trim())===false)return false;counter++}return counter>0?true:false}return false}add(value){if(isString(value)){value.split(" ").forEach(token=>{this.tokens.add(token.trim())})}else if(isIterable(value)){for(let token of value){validateString(token);this.tokens.add(token.trim())}}else if(typeof value!=="undefined"){throw new TypeError("unsupported value")}return this}clear(){this.tokens.clear();return this}remove(value){if(isString(value)){value.split(" ").forEach(token=>{this.tokens.delete(token.trim())})}else if(isIterable(value)){for(let token of value){validateString(token);this.tokens.delete(token.trim())}}else if(typeof value!=="undefined"){throw new TypeError("unsupported value")}return this}replace(token,newToken){validateString(token);validateString(newToken);if(!this.contains(token)){return this}let a=Array.from(this.tokens);let i=a.indexOf(token);if(i===-1)return this;a.splice(i,1,newToken);this.tokens=new Set;this.add(a);return this}toggle(value){if(isString(value)){value.split(" ").forEach(token=>{toggleValue.call(this,token)})}else if(isIterable(value)){for(let token of value){toggleValue.call(this,token)}}else if(typeof value!=="undefined"){throw new TypeError("unsupported value")}return this}entries(){return Array.from(this.tokens)}forEach(callback){validateFunction(callback);this.tokens.forEach(callback);return this}toString(){return this.entries().join(" ")}}function toggleValue(token){if(!(this instanceof TokenList))throw Error("must be called with TokenList.call");validateString(token);token=token.trim();if(this.contains(token)){this.remove(token);return this}this.add(token);return this}Monster.assignToNamespace("Monster.Types",TokenList);export{Monster,TokenList}; diff --git a/packages/monster/dist/modules/types/uniquequeue.js b/packages/monster/dist/modules/types/uniquequeue.js index e410e9fa44cdd93b91cfc152a8cd5d5fbd42f5b9..01da98cedffe40d65fa12b46966cff6556b97a45 100644 --- a/packages/monster/dist/modules/types/uniquequeue.js +++ b/packages/monster/dist/modules/types/uniquequeue.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ import{Monster,Queue}from"./queue.js";import{validateObject}from"./validate.js";class UniqueQueue extends Queue{constructor(){super();this.unique=new WeakSet}add(value){validateObject(value);if(!this.unique.has(value)){this.unique.add(value);super.add(value)}return this}clear(){super.clear();this.unique=new WeakSet;return this}poll(){if(this.isEmpty()){return undefined}let value=this.data.shift();this.unique.delete(value);return value}}Monster.assignToNamespace("Monster.Types",UniqueQueue);export{Monster,UniqueQueue}; diff --git a/packages/monster/dist/modules/types/validate.js b/packages/monster/dist/modules/types/validate.js index 40d406f8a5e7037a2a6ad4af28737f2d2f5dcaeb..780ff349eb0a8f5cc88282749f24f02f769e1807 100644 --- a/packages/monster/dist/modules/types/validate.js +++ b/packages/monster/dist/modules/types/validate.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import{isPrimitive,isBoolean,isString,isObject,isArray,isFunction,isIterable,isInstance,isInteger}from"./is.js";function validateIterable(value){if(!isIterable(value)){throw new TypeError("value is not iterable")}}function validatePrimitive(value){if(!isPrimitive(value)){throw new TypeError("value is not a primitive")}}function validateBoolean(value){if(!isBoolean(value)){throw new TypeError("value is not a boolean")}}function validateString(value){if(!isString(value)){throw new TypeError("value is not a string")}}function validateObject(value){if(!isObject(value)){throw new TypeError("value is not a object")}}function validateInstance(value,instance){if(!isInstance(value,instance)){throw new TypeError("value is not an instance of")}}function validateArray(value){if(!isArray(value)){throw new TypeError("value is not an array")}}function validateFunction(value){if(!isFunction(value)){throw new TypeError("value is not a function")}}function validateInteger(value){if(!isInteger(value)){throw new TypeError("value is not an integer")}}Monster.assignToNamespace("Monster.Types",validatePrimitive,validateBoolean,validateString,validateObject,validateArray,validateFunction,validateIterable,validateInteger);export{Monster,validatePrimitive,validateBoolean,validateString,validateObject,validateInstance,validateArray,validateFunction,validateIterable,validateInteger}; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster}from"../namespace.js";import{isPrimitive,isBoolean,isString,isObject,isArray,isFunction,isIterable,isInstance,isInteger}from"./is.js";function validateIterable(value){if(!isIterable(value)){throw new TypeError("value is not iterable")}}function validatePrimitive(value){if(!isPrimitive(value)){throw new TypeError("value is not a primitive")}}function validateBoolean(value){if(!isBoolean(value)){throw new TypeError("value is not a boolean")}}function validateString(value){if(!isString(value)){throw new TypeError("value is not a string")}}function validateObject(value){if(!isObject(value)){throw new TypeError("value is not a object")}}function validateInstance(value,instance){if(!isInstance(value,instance)){let n="";if(isObject(instance)||isFunction(instance)){n=instance?.["name"]}if(n){n=" "+n}throw new TypeError("value is not an instance of"+n)}}function validateArray(value){if(!isArray(value)){throw new TypeError("value is not an array")}}function validateFunction(value){if(!isFunction(value)){throw new TypeError("value is not a function")}}function validateInteger(value){if(!isInteger(value)){throw new TypeError("value is not an integer")}}Monster.assignToNamespace("Monster.Types",validatePrimitive,validateBoolean,validateString,validateObject,validateArray,validateFunction,validateIterable,validateInteger);export{Monster,validatePrimitive,validateBoolean,validateString,validateObject,validateInstance,validateArray,validateFunction,validateIterable,validateInteger}; diff --git a/packages/monster/dist/modules/types/version.js b/packages/monster/dist/modules/types/version.js index 28e7cbd24dd01aac648415890f99e66b8f50e82e..be1e12dc0d118977a9ae26ae8ceb7319a53de223 100644 --- a/packages/monster/dist/modules/types/version.js +++ b/packages/monster/dist/modules/types/version.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import{Base}from"./base.js";class Version extends Base{constructor(major,minor,patch){super();if(typeof major==="string"&&minor===undefined&&patch===undefined){let parts=major.toString().split(".");major=parseInt(parts[0]||0);minor=parseInt(parts[1]||0);patch=parseInt(parts[2]||0)}if(major===undefined){throw new Error("major version is undefined")}if(minor===undefined){minor=0}if(patch===undefined){patch=0}this.major=parseInt(major);this.minor=parseInt(minor);this.patch=parseInt(patch);if(isNaN(this.major)){throw new Error("major is not a number")}if(isNaN(this.minor)){throw new Error("minor is not a number")}if(isNaN(this.patch)){throw new Error("patch is not a number")}}toString(){return this.major+"."+this.minor+"."+this.patch}compareTo(version){if(version instanceof Version){version=version.toString()}if(typeof version!=="string"){throw new Error("type exception")}if(version===this.toString()){return 0}let a=[this.major,this.minor,this.patch];let b=version.split(".");let len=Math.max(a.length,b.length);for(let i=0;i<len;i+=1){if(a[i]&&!b[i]&&parseInt(a[i])>0||parseInt(a[i])>parseInt(b[i])){return 1}else if(b[i]&&!a[i]&&parseInt(b[i])>0||parseInt(a[i])<parseInt(b[i])){return-1}}return 0}}Monster.assignToNamespace("Monster.Types",Version);let monsterVersion;function getVersion(){if(monsterVersion instanceof Version){return monsterVersion}monsterVersion=new Version("1.5.0");return monsterVersion}Monster.assignToNamespace("Monster",getVersion);export{Monster,Version,getVersion}; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster}from"../namespace.js";import{Base}from"./base.js";class Version extends Base{constructor(major,minor,patch){super();if(typeof major==="string"&&minor===undefined&&patch===undefined){let parts=major.toString().split(".");major=parseInt(parts[0]||0);minor=parseInt(parts[1]||0);patch=parseInt(parts[2]||0)}if(major===undefined){throw new Error("major version is undefined")}if(minor===undefined){minor=0}if(patch===undefined){patch=0}this.major=parseInt(major);this.minor=parseInt(minor);this.patch=parseInt(patch);if(isNaN(this.major)){throw new Error("major is not a number")}if(isNaN(this.minor)){throw new Error("minor is not a number")}if(isNaN(this.patch)){throw new Error("patch is not a number")}}toString(){return this.major+"."+this.minor+"."+this.patch}compareTo(version){if(version instanceof Version){version=version.toString()}if(typeof version!=="string"){throw new Error("type exception")}if(version===this.toString()){return 0}let a=[this.major,this.minor,this.patch];let b=version.split(".");let len=Math.max(a.length,b.length);for(let i=0;i<len;i+=1){if(a[i]&&!b[i]&&parseInt(a[i])>0||parseInt(a[i])>parseInt(b[i])){return 1}else if(b[i]&&!a[i]&&parseInt(b[i])>0||parseInt(a[i])<parseInt(b[i])){return-1}}return 0}}Monster.assignToNamespace("Monster.Types",Version);let monsterVersion;function getVersion(){if(monsterVersion instanceof Version){return monsterVersion}monsterVersion=new Version("1.6.0");return monsterVersion}Monster.assignToNamespace("Monster",getVersion);export{Monster,Version,getVersion}; diff --git a/packages/monster/dist/modules/util/clone.js b/packages/monster/dist/modules/util/clone.js index 9882c0c40ad22738ad0045d9f132e307a1cf1835..808e0bc079c6e23c771b0e7f85dec2b71025310f 100644 --- a/packages/monster/dist/modules/util/clone.js +++ b/packages/monster/dist/modules/util/clone.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import{isObject,isFunction,isPrimitive,isArray}from"../types/is.js";function clone(obj){if(null===obj){return obj}if(isPrimitive(obj)){return obj}if(isFunction(obj)){return obj}if(isArray(obj)){let copy=[];for(var i=0,len=obj.length;i<len;i++){copy[i]=clone(obj[i])}return copy}if(isObject(obj)){if(obj instanceof Date){let copy=new Date;copy.setTime(obj.getTime());return copy}if(typeof Element!=="undefined"&&obj instanceof Element)return obj;if(typeof HTMLDocument!=="undefined"&&obj instanceof HTMLDocument)return obj;if(typeof DocumentFragment!=="undefined"&&obj instanceof DocumentFragment)return obj;if(typeof globalContext!=="undefined"&&obj===globalContext)return obj;if(typeof window!=="undefined"&&obj===window)return obj;if(typeof document!=="undefined"&&obj===document)return obj;if(typeof navigator!=="undefined"&&obj===navigator)return obj;if(typeof JSON!=="undefined"&&obj===JSON)return obj;try{if(obj instanceof Proxy){return obj}}catch(e){}return cloneObject(obj)}throw new Error("unable to clone obj! its type isn't supported.")}function cloneObject(obj){var copy;if(typeof obj.hasOwnProperty("getClone")&&obj.getClone==="function"){return obj.getClone()}copy={};if(typeof obj.constructor==="function"&&typeof obj.constructor.call==="function"){copy=new obj.constructor}for(let key in obj){if(!obj.hasOwnProperty(key)){continue}if(Monster.Types.isPrimitive(obj[key])){copy[key]=obj[key];continue}copy[key]=clone(obj[key])}return copy}Monster.assignToNamespace("Monster.Util",clone);export{Monster,clone}; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';import{Monster}from"../namespace.js";import{isObject,isFunction,isPrimitive,isArray}from"../types/is.js";import{getGlobal}from"../types/global.js";function clone(obj){if(null===obj){return obj}if(isPrimitive(obj)){return obj}if(isFunction(obj)){return obj}if(isArray(obj)){let copy=[];for(var i=0,len=obj.length;i<len;i++){copy[i]=clone(obj[i])}return copy}if(isObject(obj)){if(obj instanceof Date){let copy=new Date;copy.setTime(obj.getTime());return copy}if(typeof Element!=="undefined"&&obj instanceof Element)return obj;if(typeof HTMLDocument!=="undefined"&&obj instanceof HTMLDocument)return obj;if(typeof DocumentFragment!=="undefined"&&obj instanceof DocumentFragment)return obj;if(obj===getGlobal())return obj;if(typeof globalContext!=="undefined"&&obj===globalContext)return obj;if(typeof window!=="undefined"&&obj===window)return obj;if(typeof document!=="undefined"&&obj===document)return obj;if(typeof navigator!=="undefined"&&obj===navigator)return obj;if(typeof JSON!=="undefined"&&obj===JSON)return obj;try{if(obj instanceof Proxy){return obj}}catch(e){}return cloneObject(obj)}throw new Error("unable to clone obj! its type isn't supported.")}function cloneObject(obj){var copy;if(typeof obj.hasOwnProperty("getClone")&&obj.getClone==="function"){return obj.getClone()}copy={};if(typeof obj.constructor==="function"&&typeof obj.constructor.call==="function"){copy=new obj.constructor}for(let key in obj){if(!obj.hasOwnProperty(key)){continue}if(Monster.Types.isPrimitive(obj[key])){copy[key]=obj[key];continue}copy[key]=clone(obj[key])}return copy}Monster.assignToNamespace("Monster.Util",clone);export{Monster,clone}; diff --git a/packages/monster/dist/modules/util/comparator.js b/packages/monster/dist/modules/util/comparator.js index 2ed644c3243ffb2727cfe2f5556aa595ed6445c3..e70c174284fb1bf3c27b5d499ed5a60a0a7bf26a 100644 --- a/packages/monster/dist/modules/util/comparator.js +++ b/packages/monster/dist/modules/util/comparator.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster,Base}from"../types/base.js";import{isFunction}from"../types/is.js";class Comparator extends Base{constructor(callback){super();if(isFunction(callback)){this.compare=callback}else if(callback!==undefined){throw new TypeError("unsupported type")}else{this.compare=function(a,b){if(typeof a!==typeof b){throw new TypeError("impractical comparison")}if(a===b){return 0}return a<b?-1:1}}}reverse(){const original=this.compare;this.compare=(a,b)=>original(b,a);return this}equal(a,b){return this.compare(a,b)===0}greaterThan(a,b){return this.compare(a,b)>0}greaterThanOrEqual(a,b){return this.greaterThan(a,b)||this.equal(a,b)}lessThanOrEqual(a,b){return this.lessThan(a,b)||this.equal(a,b)}lessThan(a,b){return this.compare(a,b)<0}}Monster.assignToNamespace("Monster.Util",Comparator);export{Monster,Comparator}; diff --git a/packages/monster/dist/modules/util/freeze.js b/packages/monster/dist/modules/util/freeze.js index 4b8c5c3f09729db79b1000df7855f5594c22b1c9..e7a4136897bd08970ce440f9a62a61613cdcfb82 100644 --- a/packages/monster/dist/modules/util/freeze.js +++ b/packages/monster/dist/modules/util/freeze.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ 'use strict';import{Monster}from"../namespace.js";import{validateObject}from"../types/validate.js";function deepFreeze(object){validateObject(object);var propNames=Object.getOwnPropertyNames(object);for(let name of propNames){let value=object[name];object[name]=value&&typeof value==="object"?deepFreeze(value):value}return Object.freeze(object)}Monster.assignToNamespace("Monster.Util",deepFreeze);export{Monster,deepFreeze}; diff --git a/packages/monster/dist/modules/util/namespace.js b/packages/monster/dist/modules/util/namespace.js index 35ead85c938cff7b2f19f55beb4bffaf1279afe2..ccd8af26f19ca1b47a336dafadaf144b91a7bf58 100644 --- a/packages/monster/dist/modules/util/namespace.js +++ b/packages/monster/dist/modules/util/namespace.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict'; +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +'use strict';const namespace="Monster.Util"; diff --git a/packages/monster/dist/modules/util/pathfinder.js b/packages/monster/dist/modules/util/pathfinder.js deleted file mode 100644 index 4bf54d32e3caa7a13895a7bbbf2c998f70c10bbc..0000000000000000000000000000000000000000 --- a/packages/monster/dist/modules/util/pathfinder.js +++ /dev/null @@ -1,2 +0,0 @@ -/** Monster 1.4.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -'use strict';import{Monster}from"../namespace.js";import{isObject,isArray,isInteger}from"../types/is.js";import{validateString,validateInteger}from"../types/validate.js";import{Base}from"../types/base.js";import{Stack}from"../types/stack.js";const DELIMITER=".";class Pathfinder extends Base{constructor(object){super();this.object=object}getVia(path){validateString(path);return getValueViaPath(this.object,path)}setVia(path,value){validateString(path);setValueViaPath(this.object,path,value);return this}exists(path){validateString(path);try{getValueViaPath(this.object,path,true);return true}catch(e){}return false}}Monster.assignToNamespace("Monster.Util",Pathfinder);export{Monster,Pathfinder};function getValueViaPath(object,path,check){if(path===""){return object}let parts=path.split(DELIMITER);let current=parts.shift();if(isObject(object)||isArray(object)){let anchor;if(object instanceof Map){anchor=object.get(current)}else if(object instanceof Set){current=parseInt(current);validateInteger(current);anchor=[...object]?.[current]}else if(isArray(object)){current=parseInt(current);validateInteger(current);anchor=object?.[current]}else{anchor=object?.[current]}if(isObject(anchor)||isArray(anchor)){return getValueViaPath(anchor,parts.join(DELIMITER),check)}if(parts.length>0){throw Error("the journey is not at its end ("+parts.join(DELIMITER)+")")}if(check===true&&!object.hasOwnProperty(current)){throw Error("unknown value")}return anchor}throw TypeError("unsupported type")}function setValueViaPath(object,path,value){let parts=path.split(DELIMITER);let last=parts.pop();let subpath=parts.join(DELIMITER);let stack=new Stack;let current=subpath;while(true){try{getValueViaPath(object,current,true);break}catch(e){}stack.push(current);parts.pop();current=parts.join(DELIMITER);if(current==="")break}while(!stack.isEmpty()){current=stack.pop();let obj={};if(!stack.isEmpty()){let n=stack.peek().split(DELIMITER).pop();if(isInteger(parseInt(n))){obj=[]}}setValueViaPath(object,current,obj)}let anchor=getValueViaPath(object,subpath);if(!isObject(object)&&!isArray(object)){throw TypeError("unsupported type: "+typeof object)}if(anchor instanceof Map){anchor.set(last,value)}else if(anchor instanceof Set){anchor.append(value)}else if(isArray(anchor)){last=parseInt(last);validateInteger(last);anchor[last]=value}else{anchor[last]=value}return anchor} diff --git a/packages/monster/dist/monster.dev.js b/packages/monster/dist/monster.dev.js index 7b839a0dd94722c852a87373f83f62c7f996e4d0..2d233fd0d8bfe33ebcee6f1f4d2e08234bdc26bf 100644 --- a/packages/monster/dist/monster.dev.js +++ b/packages/monster/dist/monster.dev.js @@ -85,7 +85,7 @@ exports.AbstractConstraint = AbstractConstraint; _namespace.Monster.assignToNamespace('Monster.Constraints', AbstractConstraint); -},{"../namespace.js":11,"../types/base.js":12}],2:[function(require,module,exports){ +},{"../namespace.js":23,"../types/base.js":24}],2:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -211,7 +211,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; * new Monster.Constraint.AndOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -220,8 +220,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; * new AndOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -310,7 +310,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; * new Monster.Constraint.Invalid().catch(()=>console.log(true)); * </script> * ``` @@ -319,7 +319,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; + * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; * new Invalid().catch(()=>console.log(true)); * </script> * ``` @@ -404,13 +404,11 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /** - * - * * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; * console.log(new Monster.Constraint.IsArray()) * </script> * ``` @@ -419,7 +417,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; + * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; * console.log(new IsArray()) * </script> * ``` @@ -464,7 +462,7 @@ exports.IsArray = IsArray; _abstract.Monster.assignToNamespace('Monster.Constraints', IsArray); -},{"../types/is.js":14,"./abstract.js":1}],6:[function(require,module,exports){ +},{"../types/is.js":27,"./abstract.js":1}],6:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -508,13 +506,11 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /** - * - * * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; * console.log(new Monster.Constraint.IsObject()) * </script> * ``` @@ -523,7 +519,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; + * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; * console.log(new IsObject()) * </script> * ``` @@ -568,7 +564,7 @@ exports.IsObject = IsObject; _abstract.Monster.assignToNamespace('Monster.Constraints', IsObject); -},{"../types/is.js":14,"./abstract.js":1}],7:[function(require,module,exports){ +},{"../types/is.js":27,"./abstract.js":1}],7:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -614,7 +610,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; * new Monster.Constraint.OrOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -623,8 +619,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; * new OrOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -736,7 +732,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; * new Monster.Constraint.Valid().then(()=>console.log(true)); * </script> * ``` @@ -745,7 +741,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; * new Valid().then(()=>console.log(true)); * </script> * ``` @@ -757,37 +753,2967 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g var Valid = /*#__PURE__*/function (_AbstractConstraint) { _inherits(Valid, _AbstractConstraint); - var _super = _createSuper(Valid); + var _super = _createSuper(Valid); + + function Valid() { + _classCallCheck(this, Valid); + + return _super.apply(this, arguments); + } + + _createClass(Valid, [{ + key: "isValid", + value: + /** + * this method return a promise containing the result of the check. + * + * @param {*} value + * @returns {Promise} + */ + function isValid(value) { + return Promise.resolve(value); + } + }]); + + return Valid; +}(_abstract.AbstractConstraint); + +exports.Valid = Valid; + +_abstract.Monster.assignToNamespace('Monster.Constraints', Valid); + +},{"./abstract.js":1}],9:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Diff = Diff; +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _is.Monster; + } +}); + +var _is = require("../types/is.js"); + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +/** + * With the diff function you can perform the change of one object to another. The result shows the changes of the second object to the first object. + * + * The operator `add` means that something has been added to the second object. `delete` means that something has been deleted from the second object compared to the first object. + * + * you can call the method via the monster namespace `Monster.Data.Diff()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; + * console.log(Monster.Data.Diff(a, b)) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; + * console.log(Diff(a, b)) + * </script> + * ``` + * + * given are two objects x and y. + * + * ``` + * let x = { + * a: 1, + * b: "Hello!" + * } + * + * let y = { + * a: 2, + * c: true + * } + * ``` + * + * These two objects can be compared with each other. + * + * ``` + * console.log(Diff(x, y)); + * ``` + * + * the result is then the following + * + * ``` + * [ + * { + * operator: 'update', + * path: [ 'a' ], + * first: { value: 1, type: 'number' }, + * second: { value: 2, type: 'number' } + * }, + * { + * operator: 'delete', + * path: [ 'b' ], + * first: { value: 'Hello!', type: 'string' } + * }, + * { + * operator: 'add', + * path: [ 'c' ], + * second: { value: true, type: 'boolean' } + * } + * ] + * ``` + * + * @param {*} first + * @param {*} second + * @return {array} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/Data + */ +function Diff(first, second) { + return doDiff(first, second); +} +/** + * @private + * @param a + * @param b + * @param type + * @return {Set<string>|Set<number>} + */ + + +function getKeys(a, b, type) { + if ((0, _is.isArray)(type)) { + var keys = a.length > b.length ? new Array(a.length) : new Array(b.length); + keys.fill(0); + return new Set(keys.map(function (_, i) { + return i; + })); + } + + return new Set(Object.keys(a).concat(Object.keys(b))); +} +/** + * @private + * @param a + * @param b + * @param path + * @param diff + * @return {array} + */ + + +function doDiff(a, b, path, diff) { + var typeA = _typeof(a); + + var typeB = _typeof(b); + + var currPath = path || []; + var currDiff = diff || []; + + if (typeA === typeB && typeA === 'object') { + // array is object too + getKeys(a, b, typeA).forEach(function (v) { + if (!Object.prototype.hasOwnProperty.call(a, v)) { + currDiff.push(buildResult(a[v], b[v], 'add', currPath.concat(v))); + } else if (!Object.prototype.hasOwnProperty.call(b, v)) { + currDiff.push(buildResult(a[v], b[v], 'delete', currPath.concat(v))); + } else { + doDiff(a[v], b[v], currPath.concat(v), currDiff); + } + }); + } else { + var o = getOperator(a, b, typeA, typeB); + + if (o !== undefined) { + currDiff.push(buildResult(a, b, o, path)); + } + } + + return currDiff; +} +/** + * + * @param {*} a + * @param {*} b + * @param {string} operator + * @param {array} path + * @return {{path: array, operator: string}} + * @private + */ + + +function buildResult(a, b, operator, path) { + var result = { + operator: operator, + path: path + }; + + if (operator !== 'add') { + result.first = { + value: a, + type: _typeof(a) + }; + + if ((0, _is.isObject)(a)) { + var _Object$getPrototypeO, _Object$getPrototypeO2; + + var name = (_Object$getPrototypeO = Object.getPrototypeOf(a)) === null || _Object$getPrototypeO === void 0 ? void 0 : (_Object$getPrototypeO2 = _Object$getPrototypeO.constructor) === null || _Object$getPrototypeO2 === void 0 ? void 0 : _Object$getPrototypeO2.name; + + if (name !== undefined) { + result.first.instance = name; + } + } + } + + if (operator === 'add' || operator === 'update') { + result.second = { + value: b, + type: _typeof(b) + }; + + if ((0, _is.isObject)(b)) { + var _Object$getPrototypeO3, _Object$getPrototypeO4; + + var _name = (_Object$getPrototypeO3 = Object.getPrototypeOf(b)) === null || _Object$getPrototypeO3 === void 0 ? void 0 : (_Object$getPrototypeO4 = _Object$getPrototypeO3.constructor) === null || _Object$getPrototypeO4 === void 0 ? void 0 : _Object$getPrototypeO4.name; + + if (_name !== undefined) { + result.second.instance = _name; + } + } + } + + return result; +} +/** + * @private + * @param {*} a + * @param {*} b + * @return {boolean} + */ + + +function isNotEqual(a, b) { + if (_typeof(a) !== _typeof(b)) { + return true; + } + + if (a instanceof Date && b instanceof Date) { + return a.getTime() !== b.getTime(); + } + + return a !== b; +} +/** + * @private + * @param {*} a + * @param {*} b + * @return {string|undefined} + */ + + +function getOperator(a, b) { + /** + * @type {string|undefined} + */ + var operator; + /** + * @type {string} + */ + + var typeA = _typeof(a); + /** + * @type {string} + */ + + + var typeB = _typeof(b); + + if (typeA === 'undefined' && typeB !== 'undefined') { + operator = 'add'; + } else if (typeA !== 'undefined' && typeB === 'undefined') { + operator = 'delete'; + } else if (isNotEqual(a, b)) { + operator = 'update'; + } + + return operator; +} + +_is.Monster.assignToNamespace('Monster.Data', Diff); + +},{"../types/is.js":27}],10:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +exports.Pathfinder = void 0; + +var _namespace = require("../namespace.js"); + +var _is = require("../types/is.js"); + +var _validate = require("../types/validate.js"); + +var _base = require("../types/base.js"); + +var _stack = require("../types/stack.js"); + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } + +function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } + +function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } + +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; 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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * path separator + * + * @private + * @type {string} + */ +var DELIMITER = '.'; +/** + * you can call the method via the monster namespace `new Monster.Data.Pathfinder()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; + * console.log(new Monster.Data.Pathfinder()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; + * console.log(new Pathfinder()) + * </script> + * ``` + * + * With the help of the pathfinder, values can be read and written from an object construct. + * + * ``` + * new Pathfinder({ + * a: { + * b: { + * f: [ + * { + * g: false, + * } + * ], + * } + * } + * }).getVia("a.b.f.0.g"); // ↦ false + * ``` + * + * if a value is not present or has the wrong type, a corresponding exception is thrown. + * + * ``` + * new Pathfinder({}).getVia("a.b.f.0.g"); // ↦ Error + * ``` + * + * The `Pathfinder.exists()` method can be used to check whether access to the path is possible. + * + * ``` + * new Pathfinder({}).exists("a.b.f.0.g"); // ↦ false + * ``` + * + * pathfinder can also be used to build object structures. to do this, the `Pathfinder.setVia()` method must be used. + * + * ``` + * obj = {}; + * new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}} + * ``` + * + * @since 1.4.0 + * @copyright schukai GmbH + * @memberOf Monster/Data + */ + +var Pathfinder = /*#__PURE__*/function (_Base) { + _inherits(Pathfinder, _Base); + + var _super = _createSuper(Pathfinder); + + /** + * @param {array|object|Map|Set} value + * @since 1.4.0 + **/ + function Pathfinder(object) { + var _this; + + _classCallCheck(this, Pathfinder); + + _this = _super.call(this); + _this.object = object; + return _this; + } + /** + * + * @param {string} path + * @since 1.4.0 + * @returns {*} + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type + */ + + + _createClass(Pathfinder, [{ + key: "getVia", + value: function getVia(path) { + (0, _validate.validateString)(path); + return getValueViaPath(this.object, path); + } + /** + * + * @param {string} path + * @param {*} value + * @returns {Pathfinder} + * @since 1.4.0 + * @throws {TypeError} unsupported type + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type + */ + + }, { + key: "setVia", + value: function setVia(path, value) { + (0, _validate.validateString)(path); + setValueViaPath(this.object, path, value); + return this; + } + /** + * Delete Via Path + * + * @param {string} path + * @returns {Pathfinder} + * @since 1.6.0 + * @throws {TypeError} unsupported type + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type + */ + + }, { + key: "deleteVia", + value: function deleteVia(path) { + (0, _validate.validateString)(path); + deleteValueViaPath(this.object, path); + return this; + } + /** + * + * @param {string} path + * @return {bool} + * @throws {TypeError} unsupported type + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @since 1.4.0 + */ + + }, { + key: "exists", + value: function exists(path) { + (0, _validate.validateString)(path); + + try { + getValueViaPath(this.object, path, true); + return true; + } catch (e) {} + + return false; + } + }]); + + return Pathfinder; +}(_base.Base); + +exports.Pathfinder = Pathfinder; + +_namespace.Monster.assignToNamespace('Monster.Data', Pathfinder); + +/** + * + * @param {*} object + * @param [string} path + * @param [boolean} check + * @returns {*} + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private + */ +function getValueViaPath(object, path, check) { + if (path === "") { + return object; + } + + var parts = path.split(DELIMITER); + var current = parts.shift(); + + if ((0, _is.isObject)(object) || (0, _is.isArray)(object)) { + var anchor; + + if (object instanceof Map || object instanceof WeakMap) { + anchor = object.get(current); + } else if (object instanceof Set || object instanceof WeakSet) { + var _ref; + + current = parseInt(current); + (0, _validate.validateInteger)(current); + anchor = (_ref = _toConsumableArray(object)) === null || _ref === void 0 ? void 0 : _ref[current]; + } else if (object instanceof WeakRef) { + throw Error('unsupported action for this data type'); + } else if ((0, _is.isArray)(object)) { + current = parseInt(current); + (0, _validate.validateInteger)(current); + anchor = object === null || object === void 0 ? void 0 : object[current]; + } else { + anchor = object === null || object === void 0 ? void 0 : object[current]; + } + + if ((0, _is.isObject)(anchor) || (0, _is.isArray)(anchor)) { + return getValueViaPath(anchor, parts.join(DELIMITER), check); + } + + if (parts.length > 0) { + throw Error("the journey is not at its end (" + parts.join(DELIMITER) + ")"); + } + + if (check === true && !object.hasOwnProperty(current)) { + throw Error('unknown value'); + } + + return anchor; + } + + throw TypeError("unsupported type"); +} +/** + * + * @param object + * @param path + * @param value + * @returns {void} + * @throws {TypeError} unsupported type + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private + */ + + +function setValueViaPath(object, path, value) { + var parts = path.split(DELIMITER); + var last = parts.pop(); + var subpath = parts.join(DELIMITER); + var stack = new _stack.Stack(); + var current = subpath; + + while (true) { + try { + getValueViaPath(object, current, true); + break; + } catch (e) {} + + stack.push(current); + parts.pop(); + current = parts.join(DELIMITER); + if (current === "") break; + } + + while (!stack.isEmpty()) { + current = stack.pop(); + var obj = {}; + + if (!stack.isEmpty()) { + var n = stack.peek().split(DELIMITER).pop(); + + if ((0, _is.isInteger)(parseInt(n))) { + obj = []; + } + } + + setValueViaPath(object, current, obj); + } + + var anchor = getValueViaPath(object, subpath); + + if (!(0, _is.isObject)(object) && !(0, _is.isArray)(object)) { + throw TypeError("unsupported type: " + _typeof(object)); + } + + if (anchor instanceof Map || anchor instanceof WeakMap) { + anchor.set(last, value); + } else if (anchor instanceof Set || anchor instanceof WeakSet) { + anchor.append(value); + } else if (anchor instanceof WeakRef) { + throw Error('unsupported action for this data type'); + } else if ((0, _is.isArray)(anchor)) { + last = parseInt(last); + (0, _validate.validateInteger)(last); + anchor[last] = value; + } else { + anchor[last] = value; + } + + return; +} +/** + * + * @param object + * @param path + * @returns {void} + * @throws {TypeError} unsupported type + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @since 1.6.0 + * @private + */ + + +function deleteValueViaPath(object, path) { + var parts = path.split(DELIMITER); + var last = parts.pop(); + var subpath = parts.join(DELIMITER); + var anchor = getValueViaPath.call(this, object, subpath); + + if (anchor instanceof Map) { + anchor["delete"](last); + } else if (anchor instanceof Set || anchor instanceof WeakMap || anchor instanceof WeakSet || anchor instanceof WeakRef) { + throw Error('unsupported action for this data type'); + } else if ((0, _is.isArray)(anchor)) { + last = parseInt(last); + (0, _validate.validateInteger)(last); + delete anchor[last]; + } else { + delete anchor[last]; + } + + return; +} + +},{"../namespace.js":23,"../types/base.js":24,"../types/is.js":27,"../types/stack.js":33,"../types/validate.js":36}],11:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +exports.Pipe = void 0; + +var _namespace = require("../namespace.js"); + +var _transformer = require("./transformer.js"); + +var _base = require("../types/base.js"); + +var _validate = require("../types/validate.js"); + +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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +var DELIMITER = '|'; +/** + * the pipe class makes it possible to combine several processing steps. + * + * you can call the method via the monster namespace `new Monster.Data.Pipe()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; + * console.log(new Monster.Data.Pipe()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; + * console.log(new Pipe()) + * </script> + * ``` + * + * a pipe consists of commands whose input and output are connected with the pipe symbol `|`. + * + * with the Pipe, processing steps can be combined. Here, the value of an object is accessed via the pathfinder (path command). + * the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char. + * + * ``` + * let obj = { + * a: { + * b: { + * c: { + * d: "world" + * } + * } + * } + * } + * + * new Pipe('path:a.b.c.d | toupper | prefix:Hello\\ ').run(obj); // ↦ Hello WORLD + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster/Data + */ + +var Pipe = /*#__PURE__*/function (_Base) { + _inherits(Pipe, _Base); + + var _super = _createSuper(Pipe); + + /** + * + * @param {string} pipe a pipe consists of commands whose input and output are connected with the pipe symbol `|`. + * @throws {TypeError} + */ + function Pipe(pipe) { + var _this; + + _classCallCheck(this, Pipe); + + _this = _super.call(this); + (0, _validate.validateString)(pipe); + _this.pipe = pipe.split(DELIMITER).map(function (v) { + return new _transformer.Transformer(v); + }); + return _this; + } + /** + * run a pipe + * + * @param {*} value + * @returns {*} + */ + + + _createClass(Pipe, [{ + key: "run", + value: function run(value) { + return this.pipe.reduce(function (accumulator, currentValue, currentIndex, array) { + return currentValue.run(accumulator); + }, value); + } + }]); + + return Pipe; +}(_base.Base); + +exports.Pipe = Pipe; + +_namespace.Monster.assignToNamespace('Monster.Data', Pipe); + +},{"../namespace.js":23,"../types/base.js":24,"../types/validate.js":36,"./transformer.js":12}],12:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +exports.Transformer = void 0; + +var _namespace = require("../namespace.js"); + +var _base = require("../types/base.js"); + +var _validate = require("../types/validate.js"); + +var _is = require("../types/is.js"); + +var _id = require("../types/id.js"); + +var _clone = require("../util/clone.js"); + +var _pathfinder = require("./pathfinder.js"); + +function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } + +function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + +function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + +function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } + +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(re, groups) { return new BabelRegExp(re, undefined, groups); }; var _super = RegExp.prototype; var _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = new RegExp(re, flags); _groups.set(_this, groups || _groups.get(re)); return _setPrototypeOf(_this, BabelRegExp.prototype); } _inherits(BabelRegExp, RegExp); BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); if (result) result.groups = buildGroups(result, this); return result; }; BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { if (typeof substitution === "string") { var groups = _groups.get(this); return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { return "$" + groups[name]; })); } else if (typeof substitution === "function") { var _this = this; return _super[Symbol.replace].call(this, str, function () { var args = arguments; if (_typeof(args[args.length - 1]) !== "object") { args = [].slice.call(args); args.push(buildGroups(args, _this)); } return substitution.apply(this, args); }); } else { return _super[Symbol.replace].call(this, str, substitution); } }; function buildGroups(result, re) { var g = _groups.get(re); return Object.keys(g).reduce(function (groups, name) { groups[name] = result[g[name]]; return groups; }, Object.create(null)); } return _wrapRegExp.apply(this, arguments); } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; 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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * the transformer class is a swiss army knife for manipulating values. especially in combination with the pipe, processing chains can be built up. + * + * you can call the method via the monster namespace `new Monster.Data.Transformer()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; + * console.log(new Monster.Data.Transformer()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; + * console.log(new Transformer()) + * </script> + * ``` + * + * a simple example is the conversion of all characters to lowercase. for this purpose the command tolower must be used. + * + * ``` + * let t = new Transformer('tolower').run('ABC'); // ↦ abc + * ``` + * + * **all commands** + * + * in the following table all commands, parameters and existing aliases are described. + * + * | command | parameter | alias | description | + * |:-------------|:---------------------------|:------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + * | base64 | | | Converts the value to base64 | + * | call | function,param1:param2:... | | Calling a callback function. The function can be defined in three places: either globally, in the context `addCallback` or in the passed object | + * | empty | | | Return empty String "" | + * | if | statement1:statement2 | ? | Is the ternary operator, the first parameter is the valid statement, the second is the false part. To use the current value in the queue, you can set the value keyword. On the other hand, if you want to have the static string "value", you have to put one backslash \\ in front of it and write value. the follow values are true: 'on', true, 'true' | + * | index | key:default | property, key | Fetches a value from an object, an array, a map or a set | + * | length | | count | Length of the string or entries of an array or object | + * | nop | | | Do nothing | + * | path | path | | The access to an object is done via a Pathfinder object | + * | plaintext | | plain | All HTML tags are removed (*) | + * | prefix | text | | Adds a prefix | + * | rawurlencode | | | URL coding | + * | static | | none | The Arguments value is used and passed to the value. Special characters \ <space> and : can be quotet by a preceding \. | + * | substring | start:length | | Returns a substring | + * | suffix | text | | Adds a suffix | + * | tointeger | | | Type conversion to an integer value | + * | tolower | | strtolower, tolowercase | The input value is converted to lowercase letters | + * | tostring | | | Type conversion to a string | + * | toupper | | strtoupper, touppercase | The input value is converted to uppercase letters | + * | trim | | | Remove spaces at the beginning and end | + * | ucfirst | | | First character large | + * | ucwords | | | Any word beginning large | + * | undefined | | | Return undefined | + * | uniqid | | | Creates a string with a unique value (**) | + * + * (*) for this functionality the extension [jsdom](https://www.npmjs.com/package/jsdom) must be loaded in the nodejs context. + * + * ``` + * // polyfill + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (global[key] = window[key])); + * } + * ``` + * + * (**) for this command the crypt library is necessary in the nodejs context. + * + * ``` + * import * as Crypto from "@peculiar/webcrypto"; + * global['crypto'] = new Crypto.Crypto(); + * ``` + * + * + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster/Data + */ +var Transformer = /*#__PURE__*/function (_Base) { + _inherits(Transformer, _Base); + + var _super = _createSuper(Transformer); + + /** + * + * @param {string} definition + */ + function Transformer(definition) { + var _this; + + _classCallCheck(this, Transformer); + + _this = _super.call(this); + (0, _validate.validateString)(definition); + _this.args = disassemble(definition); + _this.command = _this.args.shift(); + _this.callbacks = new Map(); + return _this; + } + /** + * + * @param {string} name + * @param {function} callback + * @returns {Transformer} + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not a function + */ + + + _createClass(Transformer, [{ + key: "setCallback", + value: function setCallback(name, callback) { + (0, _validate.validateString)(name); + (0, _validate.validateFunction)(callback); + this.callbacks.set(name, callback); + return this; + } + /** + * + * @param {*} value + * @returns {*} + * @throws {Error} unknown command + * @throws {TypeError} unsupported type + * @throws {Error} type not supported + */ + + }, { + key: "run", + value: function run(value) { + return transform.apply(this, [value]); + } + }]); + + return Transformer; +}(_base.Base); + +exports.Transformer = Transformer; + +_namespace.Monster.assignToNamespace('Monster.Data', Transformer); + +/** + * + * @param {string} command + * @returns {array} + * @private + */ +function disassemble(command) { + (0, _validate.validateString)(command); + var placeholder = new Map(); + + var regex = /*#__PURE__*/_wrapRegExp(/((\\(.)){1})/mig, { + pattern: 2, + "char": 3 + }); // The separator for args must be quotable + // undefined string which should not occur normally and is also not a regex + + + var result = command.matchAll(regex); + + var _iterator = _createForOfIteratorHelper(result), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var m = _step.value; + var g = m === null || m === void 0 ? void 0 : m['groups']; + + if (!(0, _is.isObject)(g)) { + continue; + } + + var p = g === null || g === void 0 ? void 0 : g['pattern']; + var c = g === null || g === void 0 ? void 0 : g['char']; + + if (p && c) { + var r = '__' + new _id.ID().toString() + '__'; + placeholder.set(r, c); + command = command.replace(p, r); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + var parts = command.split(':'); + parts = parts.map(function (value) { + var v = value.trim(); + + var _iterator2 = _createForOfIteratorHelper(placeholder), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var k = _step2.value; + v = v.replace(k[0], k[1]); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + + return v; + }); + return parts; +} +/** + * tries to make a string out of value and if this succeeds to return it back + * + * @param {*} value + * @returns {string} + * @private + */ + + +function convertToString(value) { + if ((0, _is.isObject)(value) && value.hasOwnProperty('toString')) { + value = value.toString(); + } + + (0, _validate.validateString)(value); + return value; +} +/** + * + * @param {*} value + * @returns {*} + * @private + * @throws {Error} unknown command + * @throws {TypeError} unsupported type + * @throws {Error} type not supported + */ + + +function transform(value) { + var args = (0, _clone.clone)(this.args); + var key; + + switch (this.command) { + case 'static': + return this.args.join(':'); + + case 'tolower': + case 'strtolower': + case 'tolowercase': + (0, _validate.validateString)(value); + return value.toLowerCase(); + + case 'toupper': + case 'strtoupper': + case 'touppercase': + (0, _validate.validateString)(value); + return value.toUpperCase(); + + case 'tostring': + return "" + value; + + case 'tointeger': + var n = parseInt(value); + (0, _validate.validateInteger)(n); + return n; + + case 'trim': + (0, _validate.validateString)(value); + return value.trim(); + + case 'rawurlencode': + (0, _validate.validateString)(value); + return encodeURIComponent(value).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/\*/g, '%2A'); + + case 'call': + /** + * callback-definition + * function callback(value, ...args) { + * return value; + * } + */ + var callback; + var callbackName = args.shift(); + + if ((0, _is.isObject)(value) && calue.hasOwnProperty(callbackName)) { + callback = value[callbackName]; + } else if (this.callbacks.has(callbackName)) { + callback = this.callbacks.get(callbackName); + } else if ((typeof window === "undefined" ? "undefined" : _typeof(window)) === 'object' && window.hasOwnProperty(callbackName)) { + callback = window[callbackName]; + } + + (0, _validate.validateFunction)(callback); + args.unshift(value); + return callback.apply(void 0, _toConsumableArray(args)); + + case 'plain': + case 'plaintext': + (0, _validate.validateString)(value); + var doc = new DOMParser().parseFromString(value, 'text/html'); + return doc.body.textContent || ""; + + case 'if': + case '?': + (0, _validate.validatePrimitive)(value); + var trueStatement = args.shift() || undefined; + var falseStatement = args.shift() || undefined; + + if (trueStatement === 'value') { + trueStatement = value; + } + + if (trueStatement === '\\value') { + trueStatement = 'value'; + } + + if (falseStatement === 'value') { + falseStatement = value; + } + + if (falseStatement === '\\value') { + falseStatement = 'value'; + } + + var condition = value !== undefined && value !== '' && value !== 'off' && value !== 'false' && value !== false || value === 'on' || value === 'true' || value === true; + return condition ? trueStatement : falseStatement; + + case 'ucfirst': + (0, _validate.validateString)(value); + var firstchar = value.charAt(0).toUpperCase(); + return firstchar + value.substr(1); + + case 'ucwords': + (0, _validate.validateString)(value); + return value.replace(/^([a-z\u00E0-\u00FC])|\s+([a-z\u00E0-\u00FC])/g, function (v) { + return v.toUpperCase(); + }); + + case 'count': + case 'length': + if (((0, _is.isString)(value) || (0, _is.isObject)(value) || (0, _is.isArray)(value)) && value.hasOwnProperty('length')) { + return value.length; + } + + throw new TypeError("unsupported type"); + + case 'base64': + convertToString(value); + return btoa(value); + + case 'empty': + return ''; + + case 'undefined': + return undefined; + + case 'prefix': + (0, _validate.validateString)(value); + var prefix = args === null || args === void 0 ? void 0 : args[0]; + return prefix + value; + + case 'suffix': + (0, _validate.validateString)(value); + var suffix = args === null || args === void 0 ? void 0 : args[0]; + return value + suffix; + + case 'uniqid': + return new _id.ID().toString(); + + case 'key': + case 'property': + case 'index': + key = args.shift() || 'undefined'; + var defaultValue = args.shift() || ''; + + if (value instanceof Map) { + if (!value.has(key)) { + return defaultValue; + } + + return value.get(key); + } + + if ((0, _is.isObject)(value) || (0, _is.isArray)(value)) { + if (value !== null && value !== void 0 && value[key]) { + return value === null || value === void 0 ? void 0 : value[key]; + } + + return defaultValue; + } + + throw new Error("type not supported"); + + case 'path': + key = args.shift() || 'undefined'; + return new _pathfinder.Pathfinder(value).getVia(key); + + case 'substring': + (0, _validate.validateString)(value); + var start = parseInt(args[0]) || 0; + var end = (parseInt(args[1]) || 0) + start; + return value.substring(start, end); + + case 'nop': + return value; + + default: + throw new Error("unknown command"); + } + + return value; +} + +},{"../namespace.js":23,"../types/base.js":24,"../types/id.js":26,"../types/is.js":27,"../types/validate.js":36,"../util/clone.js":38,"./pathfinder.js":10}],13:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _base.Monster; + } +}); +exports.Assembler = exports.ATTRIBUTEPREFIX = void 0; + +var _base = require("../types/base.js"); + +var _validate = require("../types/validate.js"); + +var _global = require("../types/global.js"); + +var _proxyobserver = require("../types/proxyobserver.js"); + +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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * attribute prefix + * + * @type {string} + * @memberOf Monster/DOM + */ +var ATTRIBUTEPREFIX = "data-monster-"; +/** + * you can call the method via the monster namespace `new Monster.DOM.Assembler()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; + * console.log(new Monster.DOM.Assembler()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; + * console.log(new Assembler()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + */ + +exports.ATTRIBUTEPREFIX = ATTRIBUTEPREFIX; + +var Assembler = /*#__PURE__*/function (_Base) { + _inherits(Assembler, _Base); + + var _super = _createSuper(Assembler); + + /** + * @param {DocumentFragment} fragment + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + function Assembler(fragment) { + var _this; + + _classCallCheck(this, Assembler); + + _this = _super.call(this); + _this.attributePrefix = ATTRIBUTEPREFIX; + (0, _validate.validateInstance)(fragment, (0, _global.getGlobalFunction)('DocumentFragment')); + _this.fragment = fragment; + return _this; + } + /** + * + * @param {string} prefix + * @returns {Assembler} + * @throws {TypeError} value is not a string + */ + + + _createClass(Assembler, [{ + key: "setAttributePrefix", + value: function setAttributePrefix(prefix) { + (0, _validate.validateString)(prefix); + this.attributePrefix = prefix; + return this; + } + /** + * + * @returns {string} + */ + + }, { + key: "getAttributePrefix", + value: function getAttributePrefix() { + return this.attributePrefix; + } + /** + * + * @param {ProxyObserver|undefined} data + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + + }, { + key: "createDocumentFragment", + value: function createDocumentFragment(data) { + if (data === undefined) { + data = new _proxyobserver.ProxyObserver({}); + } + + (0, _validate.validateInstance)(data, _proxyobserver.ProxyObserver); + var fragment = this.fragment.cloneNode(true); + return fragment; + } + }]); + + return Assembler; +}(_base.Base); + +exports.Assembler = Assembler; + +_base.Monster.assignToNamespace('Monster.DOM', Assembler); + +},{"../types/base.js":24,"../types/global.js":25,"../types/proxyobserver.js":30,"../types/validate.js":36}],14:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getHandleFromNode = getHandleFromNode; +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _base.Monster; + } +}); +exports.Handle = void 0; + +var _base = require("../types/base.js"); + +var _stack = require("../types/stack.js"); + +var _validate = require("../types/validate.js"); + +var _proxyobserver = require("../types/proxyobserver.js"); + +var _observer = require("../types/observer.js"); + +var _global = require("../types/global.js"); + +var _is = require("../types/is.js"); + +var _assembler = require("./assembler.js"); + +var _id = require("../types/id.js"); + +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } + +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; 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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * @private + * @type {Symbol} + */ +var MONSTERDOMHANDLE = Symbol('MonsterHandle'); +/** + * you can call the method via the monster namespace `new Monster.DOM.Handle()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(new Monster.DOM.Handle()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Handle} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(new Handle()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + */ + +var Handle = /*#__PURE__*/function (_Base) { + _inherits(Handle, _Base); + + var _super = _createSuper(Handle); + + /** + * + * @param {ProxyObserver} data + */ + function Handle(data) { + var _this; + + _classCallCheck(this, Handle); + + _this = _super.call(this); + + var self = _assertThisInitialized(_this); + + self.id = new _id.ID(); + (0, _validate.validateInstance)(data, _proxyobserver.ProxyObserver); + _this.data = data; + _this.mutationObserver = createMutationObserver.call(_assertThisInitialized(_this)); + _this.dataObserver = createDataObserver.call(_assertThisInitialized(_this)); + + _this.data.attachObserver(_this.dataObserver); + + _this.nodes = new WeakSet(); + _this.updates = new _stack.Stack(); + return _this; + } + /** + * @return {void} + */ + + + _createClass(Handle, [{ + key: "update", + value: function update() { + return; + } + /** + * + * @param {HTMLElement|Document} node + * @return {Handle} + */ + + }, { + key: "remove", + value: function remove(node) { + if ((0, _is.isInstance)(node, (0, _global.getGlobalFunction)('Document'))) { + node = node.firstElementChild; + } + + (0, _validate.validateInstance)(node, (0, _global.getGlobalFunction)('HTMLElement')); + + if (!this.nodes.has(node)) { + return this; + } + + this.mutationObserver.disconnect(node); + delete node.dataset[MONSTERDOMHANDLE]; + node.removeAttribute(_assembler.ATTRIBUTEPREFIX + "handler"); + return this; + } + /** + * + * @param {HTMLElement|Document} node + * @return {Handle} + */ + + }, { + key: "append", + value: function append(node) { + if ((0, _is.isInstance)(node, (0, _global.getGlobalFunction)('Document'))) { + node = node.firstElementChild; + } + + (0, _validate.validateInstance)(node, (0, _global.getGlobalFunction)('HTMLElement')); + + if (this.nodes.has(node)) { + return this; + } + + node.dataset[MONSTERDOMHANDLE] = this; + node.setAttribute(_assembler.ATTRIBUTEPREFIX + "handler", true); + this.mutationObserver.observe(node, { + attributes: true, + childList: true, + subtree: true, + characterData: true, + characterDataOldValue: true, + attributeOldValue: true + }); + this.nodes.add(node); + return this; + } + }]); + + return Handle; +}(_base.Base); +/** + * + * @private + * @return {Observer} + */ + + +exports.Handle = Handle; + +function createDataObserver() { + var self = this; + return new _observer.Observer(function () { + self.update(); + }); +} +/** + * + * @private + * @return {MutationObserver} + */ + + +function createMutationObserver() { + var self = this; + /** + * @private + * @type {MutationObserver} + */ + + var MutationObserver = (0, _global.getGlobalFunction)('MutationObserver'); // @link https://developer.mozilla.org/en/docs/Web/API/MutationObserver + + return new MutationObserver(function (mutationsList, observer) { + var _iterator = _createForOfIteratorHelper(mutationsList), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var mutation = _step.value; + self.updates.push(mutation); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + self.update(); + }); +} +/** + * get the handle of a node + * + * if a node is specified without a handler, a recursive search upwards is performed until the corresponding + * handle is found, or undefined is returned. + * + * you can call the method via the monster namespace `Monster.DOM.getHandleFromNode()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(Monster.DOM.getHandleFromNode()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getHandleFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(getHandleFromNode()) + * </script> + * ``` + * + * @param {Node} node + * @return {Handle|undefined} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {TypeError} value is not an instance of Node + */ + + +function getHandleFromNode(node) { + var _node$dataset; + + (0, _validate.validateInstance)(node, (0, _global.getGlobalFunction)('Node')); + var handle = (_node$dataset = node.dataset) === null || _node$dataset === void 0 ? void 0 : _node$dataset[MONSTERDOMHANDLE]; + + if (handle === undefined) { + var parentNode = node === null || node === void 0 ? void 0 : node['parentNode']; + + if ((0, _is.isInstance)(parentNode, (0, _global.getGlobalFunction)('Node'))) { + return getHandleFromNode(parentNode); + } + } + + return handle; +} + +_base.Monster.assignToNamespace('Monster.DOM', getHandleFromNode, Handle); + +},{"../types/base.js":24,"../types/global.js":25,"../types/id.js":26,"../types/is.js":27,"../types/observer.js":28,"../types/proxyobserver.js":30,"../types/stack.js":33,"../types/validate.js":36,"./assembler.js":13}],15:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _base.Monster; + } +}); +exports.Template = void 0; + +var _base = require("../types/base.js"); + +var _global = require("../types/global.js"); + +var _validate = require("../types/validate.js"); + +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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * you can call the method via the monster namespace `new Monster.DOM.Template()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; + * console.log(new Monster.DOM.Template()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; + * console.log(new Template()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + */ +var Template = /*#__PURE__*/function (_Base) { + _inherits(Template, _Base); + + var _super = _createSuper(Template); + + /** + * + * @param {HTMLTemplateElement} template + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + function Template(template) { + var _this; + + _classCallCheck(this, Template); + + _this = _super.call(this); + (0, _validate.validateInstance)(template, (0, _global.getGlobalFunction)('HTMLTemplateElement')); + _this.template = template; + return _this; + } + /** + * + * @returns {HTMLTemplateElement} + */ + + + _createClass(Template, [{ + key: "getTemplateElement", + value: function getTemplateElement() { + return this.template; + } + /** + * + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + + }, { + key: "createDocumentFragment", + value: function createDocumentFragment() { + return this.template.content.cloneNode(true); + } + }]); + + return Template; +}(_base.Base); + +exports.Template = Template; + +_base.Monster.assignToNamespace('Monster.DOM', Template); + +},{"../types/base.js":24,"../types/global.js":25,"../types/validate.js":36}],16:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getWindow = getWindow; +exports.getDocument = getDocument; +exports.getDocumentFragmentFromString = getDocumentFragmentFromString; +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _global.Monster; + } +}); + +var _global = require("../types/global.js"); + +var _validate = require("../types/validate.js"); + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +/** + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getDocument()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getDocument()) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + */ +function getDocument() { + var _getGlobal; + + var document = (_getGlobal = (0, _global.getGlobal)()) === null || _getGlobal === void 0 ? void 0 : _getGlobal['document']; + + if (_typeof(document) !== 'object') { + throw new Error("not supported environment"); + } + + return document; +} +/** + * this method fetches the window object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getWindow()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getWindow(null)) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * getGlobal()['window']=window; + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + */ + + +function getWindow() { + var _getGlobal2; + + var window = (_getGlobal2 = (0, _global.getGlobal)()) === null || _getGlobal2 === void 0 ? void 0 : _getGlobal2['window']; + + if (_typeof(window) !== 'object') { + throw new Error("not supported environment"); + } + + return window; +} +/** + * + * + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getDocumentFragmentFromString()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getDocumentFragmentFromString('<div></div>')) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {DocumentFragment} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + * @throws {TypeError} value is not a string + */ + + +function getDocumentFragmentFromString(html) { + (0, _validate.validateString)(html); + var document = getDocument(); + var template = document.createElement('template'); + template.innerHTML = html; + return template.content; +} + +_global.Monster.assignToNamespace('Monster.DOM', getWindow, getDocument, getDocumentFragmentFromString); + +},{"../types/global.js":25,"../types/validate.js":36}],17:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +exports.Handler = void 0; + +var _namespace = require("../namespace.js"); + +var _base = require("../types/base.js"); + +var _logger = require("./logger.js"); + +var _logentry = require("./logentry.js"); + +var _validate = require("../types/validate.js"); + +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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * you can call the method via the monster namespace `new Monster.Logging.Handler()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js'; + * console.log(new Monster.Logging.Handler()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js'; + * console.log(new Handler()) + * </script> + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster/Logging + */ +var Handler = /*#__PURE__*/function (_Base) { + _inherits(Handler, _Base); + + var _super = _createSuper(Handler); + + function Handler() { + var _this; + + _classCallCheck(this, Handler); + + _this = _super.call(this); + /** + * Loglevel + * + * @type {integer} + */ + + _this.loglevel = _logger.OFF; + return _this; + } + /** + * this is the central log function. this method must be + * overwritten by derived handlers with their own logic. + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {LogEntry} entry + * @returns {boolean} + */ + + + _createClass(Handler, [{ + key: "log", + value: function log(entry) { + (0, _validate.validateInstance)(entry, _logentry.LogEntry); + + if (this.loglevel < entry.getLogLevel()) { + return false; + } + + return true; + } + /** + * set loglevel + * + * @param {integer} loglevel + * @returns {Handler} + * @since 1.5.0 + */ + + }, { + key: "setLogLevel", + value: function setLogLevel(loglevel) { + (0, _validate.validateInteger)(loglevel); + this.loglevel = loglevel; + return this; + } + /** + * get loglevel + * + * @returns {integer} + * @since 1.5.0 + */ + + }, { + key: "getLogLevel", + value: function getLogLevel() { + return this.loglevel; + } + /** + * Set log level to All + * + * @returns {Handler} + * @since 1.5.0 + */ + + }, { + key: "setAll", + value: function setAll() { + this.setLogLevel(_logger.ALL); + return this; + } + }, { + key: "setTrace", + value: + /** + * Set log level to Trace + * + * @returns {Handler} + * @since 1.5.0 + */ + function setTrace() { + this.setLogLevel(_logger.TRACE); + return this; + } + }, { + key: "setDebug", + value: + /** + * Set log level to Debug + * + * @returns {Handler} + * @since 1.5.0 + */ + function setDebug() { + this.setLogLevel(_logger.DEBUG); + return this; + } + }, { + key: "setInfo", + value: + /** + * Set log level to Info + * + * @returns {Handler} + * @since 1.5.0 + */ + function setInfo() { + this.setLogLevel(_logger.INFO); + return this; + } + }, { + key: "setWarn", + value: + /** + * Set log level to Warn + * + * @returns {undefined} + * @since 1.5.0 + */ + function setWarn() { + this.setLogLevel(_logger.WARN); + return this; + } + }, { + key: "setError", + value: + /** + * Set log level to Error + * + * @returns {Handler} + * @since 1.5.0 + */ + function setError() { + this.setLogLevel(_logger.ERROR); + return this; + } + }, { + key: "setFatal", + value: + /** + * Set log level to Fatal + * + * @returns {Handler} + * @since 1.5.0 + */ + function setFatal() { + this.setLogLevel(_logger.FATAL); + return this; + } + }, { + key: "setOff", + value: + /** + * Set log level to Off + * + * @returns {Handler} + * @since 1.5.0 + */ + function setOff() { + this.setLogLevel(_logger.OFF); + return this; + } + }]); + + return Handler; +}(_base.Base); + +exports.Handler = Handler; + +_namespace.Monster.assignToNamespace('Monster.Logging', Handler); + +},{"../namespace.js":23,"../types/base.js":24,"../types/validate.js":36,"./logentry.js":19,"./logger.js":20}],18:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +Object.defineProperty(exports, "Handler", { + enumerable: true, + get: function get() { + return _handler.Handler; + } +}); + +var _namespace = require("../../namespace.js"); + +var _base = require("../../types/base.js"); + +var _handler = require("../../logging/handler.js"); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * you can call the method via the monster namespace `new Monster.Logging.Handler.ConsoleHandler()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js'; + * console.log(new Monster.Logging.Handler.ConsoleHandler()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js'; + * console.log(new ConsoleHandler()) + * </script> + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster/Logging/Handler + */ +var ConsoleHandler = /*#__PURE__*/function (_Base) { + _inherits(ConsoleHandler, _Base); + + var _super = _createSuper(ConsoleHandler); + + function ConsoleHandler() { + _classCallCheck(this, ConsoleHandler); + + return _super.call(this); + } + + return ConsoleHandler; +}(_base.Base); + +_namespace.Monster.assignToNamespace('Monster.Logging', ConsoleHandler); + +},{"../../logging/handler.js":17,"../../namespace.js":23,"../../types/base.js":24}],19:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +exports.LogEntry = void 0; + +var _namespace = require("../namespace.js"); + +var _validate = require("../types/validate.js"); + +var _base = require("../types/base.js"); + +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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * you can call the method via the monster namespace `new Monster.Logging.LogEntry()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js'; + * console.log(new Monster.Logging.LogEntry()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js'; + * console.log(new LogEntry()) + * </script> + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster/Logging + */ +var LogEntry = /*#__PURE__*/function (_Base) { + _inherits(LogEntry, _Base); + + var _super = _createSuper(LogEntry); + + /** + * + * @param {int} loglevel + * @param {*} args + */ + function LogEntry(loglevel) { + var _this; + + _classCallCheck(this, LogEntry); + + _this = _super.call(this); + (0, _validate.validateInteger)(loglevel); + _this.loglevel = loglevel; + + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + _this.arguments = args; + return _this; + } + /** + * + * @returns {integerr} + */ + + + _createClass(LogEntry, [{ + key: "getLogLevel", + value: function getLogLevel() { + return this.loglevel; + } + /** + * + * @returns {array} + */ + + }, { + key: "getArguments", + value: function getArguments() { + return this.arguments; + } + }]); + + return LogEntry; +}(_base.Base); + +exports.LogEntry = LogEntry; + +_namespace.Monster.assignToNamespace('Monster.Logging', LogEntry); + +},{"../namespace.js":23,"../types/base.js":24,"../types/validate.js":36}],20:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +exports.OFF = exports.FATAL = exports.ERROR = exports.WARN = exports.INFO = exports.DEBUG = exports.TRACE = exports.ALL = exports.Logger = void 0; + +var _namespace = require("../namespace.js"); + +var _validate = require("../types/validate.js"); + +var _handler = require("../logging/handler.js"); + +var _logentry = require("../logging/logentry.js"); + +var _base = require("../types/base.js"); + +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } + +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; 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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ +var ALL = 255; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ + +exports.ALL = ALL; +var TRACE = 64; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ + +exports.TRACE = TRACE; +var DEBUG = 32; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ + +exports.DEBUG = DEBUG; +var INFO = 16; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ + +exports.INFO = INFO; +var WARN = 8; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ + +exports.WARN = WARN; +var ERROR = 4; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ + +exports.ERROR = ERROR; +var FATAL = 2; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ + +exports.FATAL = FATAL; +var OFF = 0; +/** + * you can call the method via the monster namespace `new Monster.Logging.Logger()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; + * console.log(new Monster.Logging.Logger()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; + * console.log(new Logger()) + * </script> + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster/Logging + */ + +exports.OFF = OFF; + +var Logger = /*#__PURE__*/function (_Base) { + _inherits(Logger, _Base); + + var _super = _createSuper(Logger); + + /** + * + */ + function Logger() { + var _this; + + _classCallCheck(this, Logger); + + _this = _super.call(this); + _this.handler = new Set(); + return _this; + } + /** + * + * @param {Handler} handler + * @returns {Logger} + * @throws {Error} the handler must be an instance of Handler + */ + + + _createClass(Logger, [{ + key: "addHandler", + value: function addHandler(handler) { + (0, _validate.validateObject)(handler); + + if (!(handler instanceof _handler.Handler)) { + throw new Error("the handler must be an instance of Handler"); + } + + this.handler.add(handler); + return this; + } + /** + * + * @param {Handler} handler + * @returns {Logger} + * @throws {Error} the handler must be an instance of Handler + */ + + }, { + key: "removeHandler", + value: function removeHandler(handler) { + (0, _validate.validateObject)(handler); - function Valid() { - _classCallCheck(this, Valid); + if (!(handler instanceof _handler.Handler)) { + throw new Error("the handler must be an instance of Handler"); + } - return _super.apply(this, arguments); - } + this.handler["delete"](handler); + return this; + } + /** + * log Trace message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ - _createClass(Valid, [{ - key: "isValid", + }, { + key: "logTrace", + value: function logTrace() { + triggerLog.apply(this, [TRACE].concat(Array.prototype.slice.call(arguments))); + return this; + } + }, { + key: "logDebug", value: /** - * this method return a promise containing the result of the check. + * log Debug message * - * @param {*} value - * @returns {Promise} + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 */ - function isValid(value) { - return Promise.resolve(value); + function logDebug() { + triggerLog.apply(this, [DEBUG].concat(Array.prototype.slice.call(arguments))); + return this; + } + }, { + key: "logInfo", + value: + /** + * log Info message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + function logInfo() { + triggerLog.apply(this, [INFO].concat(Array.prototype.slice.call(arguments))); + return this; + } + }, { + key: "logWarn", + value: + /** + * log Warn message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + function logWarn() { + triggerLog.apply(this, [WARN].concat(Array.prototype.slice.call(arguments))); + return this; + } + }, { + key: "logError", + value: + /** + * log Error message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + function logError() { + triggerLog.apply(this, [ERROR].concat(Array.prototype.slice.call(arguments))); + return this; + } + }, { + key: "logFatal", + value: + /** + * log Fatal message + * + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00; + * + * @param {*} arguments + * @returns {Logger} + * @since 1.5.0 + */ + function logFatal() { + triggerLog.apply(this, [FATAL].concat(Array.prototype.slice.call(arguments))); + return this; + } + }, { + key: "getLabel", + value: + /** + * Labels + * + * @param {integer} level + * @returns {string} + */ + function getLabel(level) { + (0, _validate.validateInteger)(level); + if (level === ALL) return 'ALL'; + if (level === TRACE) return 'TRACE'; + if (level === DEBUG) return 'DEBUG'; + if (level === INFO) return 'INFO'; + if (level === WARN) return 'WARN'; + if (level === ERROR) return 'ERROR'; + if (level === FATAL) return 'FATAL'; + if (level === OFF) return 'OFF'; + return 'unknown'; + } + }, { + key: "getLevel", + value: + /** + * Level + * + * @param {string} label + * @returns {integer} + */ + function getLevel(label) { + (0, _validate.validateString)(label); + if (label === 'ALL') return ALL; + if (label === 'TRACE') return TRACE; + if (label === 'DEBUG') return DEBUG; + if (label === 'INFO') return INFO; + if (label === 'WARN') return WARN; + if (label === 'ERROR') return ERROR; + if (label === 'FATAL') return FATAL; + if (label === 'OFF') return OFF; + return 0; } }]); - return Valid; -}(_abstract.AbstractConstraint); + return Logger; +}(_base.Base); -exports.Valid = Valid; +exports.Logger = Logger; -_abstract.Monster.assignToNamespace('Monster.Constraints', Valid); +_namespace.Monster.assignToNamespace('Monster.Logging', Logger); -},{"./abstract.js":1}],9:[function(require,module,exports){ -(function (global){(function (){ +/** + * Log triggern + * + * @param {integer} loglevel + * @param {*} args + * @returns {Logger} + * @private + */ +function triggerLog(loglevel) { + var logger = this; + + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + var _iterator = _createForOfIteratorHelper(logger.handler), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var handler = _step.value; + handler.log(new _logentry.LogEntry(loglevel, args)); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + return logger; +} + +},{"../logging/handler.js":17,"../logging/logentry.js":19,"../namespace.js":23,"../types/base.js":24,"../types/validate.js":36}],21:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -800,11 +3726,11 @@ exports.random = random; Object.defineProperty(exports, "Monster", { enumerable: true, get: function get() { - return _namespace.Monster; + return _global.Monster; } }); -var _namespace = require("../namespace.js"); +var _global = require("../types/global.js"); /** * this function uses crypt and returns a random number. @@ -813,7 +3739,7 @@ var _namespace = require("../namespace.js"); * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; * console.log(Monster.Math.random(1,10)) // ↦ 5 * </script> * ``` @@ -822,7 +3748,7 @@ var _namespace = require("../namespace.js"); * * ``` * <script type="module"> - * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; + * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; * console.log(random(1,10)) // ↦ 5 * </script> * ``` @@ -850,6 +3776,11 @@ function random(min, max) { return Math.round(create(min, max)); } +/** + * @private + * @type {number} + */ + var MAX = 1000000000; @@ -867,14 +3798,8 @@ Math.log2 = Math.log2 || function (n) { function create(min, max) { var crypt; - - if (typeof global !== "undefined") { - var _global, _global2; - - crypt = ((_global = global) === null || _global === void 0 ? void 0 : _global['crypto']) || ((_global2 = global) === null || _global2 === void 0 ? void 0 : _global2['msCrypto']); - } else { - crypt = typeof crypto !== "undefined" ? crypto : undefined; - } + var globalReference = (0, _global.getGlobal)(); + crypt = (globalReference === null || globalReference === void 0 ? void 0 : globalReference['crypto']) || (globalReference === null || globalReference === void 0 ? void 0 : globalReference['msCrypto']) || (globalReference === null || globalReference === void 0 ? void 0 : globalReference['crypto']) || undefined; if (typeof crypt === "undefined") { throw new Error("missing crypt"); @@ -913,11 +3838,9 @@ function create(min, max) { return min + rval; } -_namespace.Monster.assignToNamespace('Monster.Math', random); - -}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +_global.Monster.assignToNamespace('Monster.Math', random); -},{"../namespace.js":11}],10:[function(require,module,exports){ +},{"../types/global.js":25}],22:[function(require,module,exports){ /** * @license * Copyright 2021 schukai GmbH @@ -938,26 +3861,52 @@ Object.defineProperty(exports, "Monster", { var _namespace = require("./namespace.js"); +require("./types/base.js"); + +require("./types/global.js"); + require("./types/id.js"); require("./types/is.js"); -require("./types/base.js"); - require("./types/observer.js"); require("./types/observerlist.js"); require("./types/proxyobserver.js"); -require("./types/version.js"); +require("./types/queue.js"); + +require("./types/randomid.js"); + +require("./types/stack.js"); require("./types/tokenlist.js"); +require("./types/uniquequeue.js"); + require("./types/validate.js"); +require("./types/version.js"); + require("./math/random.js"); +require("./data/diff.js"); + +require("./data/pathfinder.js"); + +require("./data/pipe.js"); + +require("./data/transformer.js"); + +require("./logging/handler.js"); + +require("./logging/logentry.js"); + +require("./logging/logger.js"); + +require("./logging/handler/console.js"); + require("./util/clone.js"); require("./util/comparator.js"); @@ -966,6 +3915,8 @@ require("./util/freeze.js"); require("./constraints/abstract.js"); +require("./constraints/abstractoperator.js"); + require("./constraints/andoperator.js"); require("./constraints/invalid.js"); @@ -974,15 +3925,30 @@ require("./constraints/isarray.js"); require("./constraints/isobject.js"); -require("./constraints/abstractoperator.js"); - require("./constraints/oroperator.js"); require("./constraints/valid.js"); +require("./dom/util.js"); + +require("./dom/template.js"); + +require("./dom/handle.js"); + +require("./dom/assembler.js"); + _namespace.Monster.Util.deepFreeze(_namespace.Monster); -},{"./constraints/abstract.js":1,"./constraints/abstractoperator.js":2,"./constraints/andoperator.js":3,"./constraints/invalid.js":4,"./constraints/isarray.js":5,"./constraints/isobject.js":6,"./constraints/oroperator.js":7,"./constraints/valid.js":8,"./math/random.js":9,"./namespace.js":11,"./types/base.js":12,"./types/id.js":13,"./types/is.js":14,"./types/observer.js":15,"./types/observerlist.js":16,"./types/proxyobserver.js":17,"./types/tokenlist.js":19,"./types/validate.js":21,"./types/version.js":22,"./util/clone.js":23,"./util/comparator.js":24,"./util/freeze.js":25}],11:[function(require,module,exports){ +var rootName; + +try { + rootName = _namespace.Monster.Types.getGlobalObject('__MonsterRootName__'); +} catch (e) {} + +if (!rootName) rootName = "Monster"; +_namespace.Monster.Types.getGlobal()[rootName] = _namespace.Monster; + +},{"./constraints/abstract.js":1,"./constraints/abstractoperator.js":2,"./constraints/andoperator.js":3,"./constraints/invalid.js":4,"./constraints/isarray.js":5,"./constraints/isobject.js":6,"./constraints/oroperator.js":7,"./constraints/valid.js":8,"./data/diff.js":9,"./data/pathfinder.js":10,"./data/pipe.js":11,"./data/transformer.js":12,"./dom/assembler.js":13,"./dom/handle.js":14,"./dom/template.js":15,"./dom/util.js":16,"./logging/handler.js":17,"./logging/handler/console.js":18,"./logging/logentry.js":19,"./logging/logger.js":20,"./math/random.js":21,"./namespace.js":23,"./types/base.js":24,"./types/global.js":25,"./types/id.js":26,"./types/is.js":27,"./types/observer.js":28,"./types/observerlist.js":29,"./types/proxyobserver.js":30,"./types/queue.js":31,"./types/randomid.js":32,"./types/stack.js":33,"./types/tokenlist.js":34,"./types/uniquequeue.js":35,"./types/validate.js":36,"./types/version.js":37,"./util/clone.js":38,"./util/comparator.js":39,"./util/freeze.js":40}],23:[function(require,module,exports){ 'use strict'; /** * @namespace Monster @@ -997,7 +3963,6 @@ _namespace.Monster.Util.deepFreeze(_namespace.Monster); * via `obj instanceof Monster.Namespace` it is also easy to check whether it is an object or a namespace. * * @memberOf Monster - * @copyright schukai GmbH * @since 1.0.0 */ @@ -1055,7 +4020,6 @@ var Namespace = /*#__PURE__*/function () { return Namespace; }(); /** - * * @type {Namespace} * @global */ @@ -1077,7 +4041,7 @@ assignToNamespace('Monster', assignToNamespace); * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/namespace.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/namespace.js'; * function hello() { * console.log('Hello World!'); * } @@ -1167,7 +4131,7 @@ function namespaceFor(parts) { return space; } -},{}],12:[function(require,module,exports){ +},{}],24:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -1221,7 +4185,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; * console.log(new Monster.Types.Base()) * console.log(new Monster.Types.Base()) * </script> @@ -1231,7 +4195,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; + * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; * console.log(new Base()) * console.log(new Base()) * </script> @@ -1273,32 +4237,176 @@ exports.Base = Base; _namespace.Monster.assignToNamespace('Monster.Types', Base); -},{"../namespace.js":11}],13:[function(require,module,exports){ -(function (global){(function (){ +},{"../namespace.js":23}],25:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - Object.defineProperty(exports, "__esModule", { value: true }); +exports.getGlobal = getGlobal; +exports.getGlobalObject = getGlobalObject; +exports.getGlobalFunction = getGlobalFunction; Object.defineProperty(exports, "Monster", { enumerable: true, get: function get() { return _namespace.Monster; } }); -exports.ID = void 0; var _namespace = require("../namespace.js"); -var _random = require("../math/random.js"); +var _validate = require("./validate.js"); + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +/** + * @type {objec} + * @private + */ +var globalReference; +/** + * @private + */ + +(function () { + if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) === 'object') { + globalReference = globalThis; + return; + } + + Object.defineProperty(Object.prototype, '__monster__', { + get: function get() { + return this; + }, + configurable: true + }); + __monster__.globalThis = __monster__; + delete Object.prototype.__monster__; + globalReference = globalThis; +})(); +/** + * return globalThis + * + * if globalThis is not available, it will be polyfilled + * + * @since 1.6.0 + * @memberOf Monster/Types + * @returns {objec} globalThis + */ + + +function getGlobal() { + return globalReference; +} +/** + * return global object or throw Error + * + * you can call the method via the monster namespace `Monster.Types.getGlobalObject()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(Monster.Types.getGlobalObject('document')) // ↦ { } + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(getGlobalObject('document')) // ↦ { } + * </script> + * ``` + * + * @since 1.6.0 + * @memberOf Monster/Types + * @param {string} name + * @returns {objec} + * @throws {Error} the object is not defined + * @throws {TypeError} value is not a object + * @throws {TypeError} value is not a string + */ + + +function getGlobalObject(name) { + var _globalReference; + + (0, _validate.validateString)(name); + var o = (_globalReference = globalReference) === null || _globalReference === void 0 ? void 0 : _globalReference[name]; + if (typeof o === 'undefined') throw new Error('the object ' + name + ' is not defined'); + (0, _validate.validateObject)(o); + return o; +} +/** + * return global function or throw Error + * + * you can call the method via the monster namespace `Monster.Types.getGlobalFunction()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { } + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { } + * </script> + * ``` + * + * @since 1.6.0 + * @memberOf Monster/Types + * @param {string} name + * @returns {objec} + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + * @throws {TypeError} value is not a string + */ + + +function getGlobalFunction(name) { + var _globalReference2; + + (0, _validate.validateString)(name); + var f = (_globalReference2 = globalReference) === null || _globalReference2 === void 0 ? void 0 : _globalReference2[name]; + if (typeof f === 'undefined') throw new Error('the function ' + name + ' is not defined'); + (0, _validate.validateFunction)(f); + return f; +} + +_namespace.Monster.assignToNamespace('Monster.Types', getGlobal, getGlobalObject, getGlobalFunction); + +},{"../namespace.js":23,"./validate.js":36}],26:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _base.Monster; + } +}); +exports.ID = void 0; var _base = require("./base.js"); +var _validate = require("./validate.js"); + 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); } } @@ -1319,15 +4427,23 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } -var internalCounter = 0; /** - * id class + * @private + * @type {Map<string, integer>} + */ +var internalCounter = new Map(); +/** + * with the id class, sequences of ids can be created. for this purpose, an internal counter is incremented for each prefix. + * thus, the first id with the prefix `myid` will be `myid1` and the second id `myid2`. + * The ids are the same for every call, for example on a web page. + * + * so the ids can also be used for navigation. you just have to take care that the order stays the same. * * you can call the method via the monster namespace `new Monster.Types.ID()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Monster.Types.ID()) * </script> * ``` @@ -1336,11 +4452,13 @@ var internalCounter = 0; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new ID()) * </script> * ``` * + * as of version 1.6.0 there is the new RandomID. this ID class is continuous from now on. + * * @since 1.0.0 * @copyright schukai GmbH * @memberOf Monster/Types @@ -1354,18 +4472,32 @@ var ID = /*#__PURE__*/function (_Base) { /** * create new object */ - function ID() { + function ID(prefix) { var _this; _classCallCheck(this, ID); _this = _super.call(this); - internalCounter += 1; - _this.id = global.btoa((0, _random.random)(1, 10000)).replace(/=/g, '') - /** No numbers at the beginning of the ID, because of possible problems with DOM */ - .replace(/^[0-9]+/, 'X') + internalCounter; + + if (prefix === undefined) { + prefix = "id"; + } + + (0, _validate.validateString)(prefix); + + if (!internalCounter.has(prefix)) { + internalCounter.set(prefix, 1); + } + + var count = internalCounter.get(prefix); + _this.id = prefix + count; + internalCounter.set(prefix, ++count); return _this; } + /** + * @return {string} + */ + _createClass(ID, [{ key: "toString", @@ -1379,11 +4511,9 @@ var ID = /*#__PURE__*/function (_Base) { exports.ID = ID; -_namespace.Monster.assignToNamespace('Monster.Types', ID); +_base.Monster.assignToNamespace('Monster.Types', ID); -}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) - -},{"../math/random.js":9,"../namespace.js":11,"./base.js":12}],14:[function(require,module,exports){ +},{"./base.js":24,"./validate.js":36}],27:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -1419,7 +4549,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isIterable(null)) // ↦ false * console.log(Monster.Types.isIterable('hello')) // ↦ true * console.log(Monster.Types.isIterable([])) // ↦ true @@ -1430,7 +4560,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi * * ``` * <script type="module"> - * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isIterable(null)) // ↦ false * console.log(isIterable('hello')) // ↦ true * console.log(isIterable([])) // ↦ true @@ -1455,7 +4585,7 @@ function isIterable(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isPrimitive('2')) // ↦ false * console.log(Monster.Types.isPrimitive([])) // ↦ true * </script> @@ -1465,7 +4595,7 @@ function isIterable(value) { * * ``` * <script type="module"> - * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isPrimitive('2')) // ↦ true * console.log(isPrimitive([])) // ↦ false * </script> @@ -1501,7 +4631,7 @@ function isPrimitive(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isBoolean('2')) // ↦ false * console.log(Monster.Types.isBoolean([])) // ↦ false * console.log(Monster.Types.isBoolean(true)) // ↦ true @@ -1512,7 +4642,7 @@ function isPrimitive(value) { * * ``` * <script type="module"> - * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isBoolean('2')) // ↦ false * console.log(isBoolean([])) // ↦ false * console.log(isBoolean(2>4)) // ↦ true @@ -1541,7 +4671,7 @@ function isBoolean(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isString('2')) // ↦ true * console.log(Monster.Types.isString([])) // ↦ false * </script> @@ -1551,7 +4681,7 @@ function isBoolean(value) { * * ``` * <script type="module"> - * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isString('2')) // ↦ true * console.log(isString([])) // ↦ false * </script> @@ -1579,7 +4709,7 @@ function isString(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isObject('2')) // ↦ false * console.log(Monster.Types.isObject([])) // ↦ false * console.log(Monster.Types.isObject({})) // ↦ true @@ -1590,7 +4720,7 @@ function isString(value) { * * ``` * <script type="module"> - * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isObject('2')) // ↦ false * console.log(isObject([])) // ↦ false * </script> @@ -1621,7 +4751,7 @@ function isObject(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isInstance('2')) // ↦ false * console.log(Monster.Types.isInstance([])) // ↦ false * console.log(Monster.Types.isInstance({})) // ↦ true @@ -1632,7 +4762,7 @@ function isObject(value) { * * ``` * <script type="module"> - * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isInstance('2')) // ↦ false * console.log(isInstance([])) // ↦ false * </script> @@ -1660,7 +4790,7 @@ function isInstance(value, instance) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isArray('2')) // ↦ false * console.log(Monster.Types.isArray([])) // ↦ true * </script> @@ -1670,7 +4800,7 @@ function isInstance(value, instance) { * * ``` * <script type="module"> - * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isArray('2')) // ↦ false * console.log(isArray([])) // ↦ true * </script> @@ -1698,7 +4828,7 @@ function isArray(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isFunction(()=>{})) // ↦ true * console.log(Monster.Types.isFunction('2')) // ↦ false * console.log(Monster.Types.isFunction([])) // ↦ false @@ -1709,7 +4839,7 @@ function isArray(value) { * * ``` * <script type="module"> - * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isFunction(()=>{})) // ↦ true * console.log(isFunction('2')) // ↦ false * console.log(isFunction([])) // ↦ false @@ -1741,7 +4871,7 @@ function isFunction(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isInteger(()=>{})) // ↦ true * console.log(Monster.Types.isInteger('2')) // ↦ false * console.log(Monster.Types.isInteger(2)) // ↦ true @@ -1752,7 +4882,7 @@ function isFunction(value) { * * ``` * <script type="module"> - * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isInteger(()=>{})) // ↦ true * console.log(isInteger('2')) // ↦ false * console.log(isInteger(2)) // ↦ true @@ -1773,7 +4903,7 @@ function isInteger(value) { _namespace.Monster.assignToNamespace('Monster.Types', isPrimitive, isBoolean, isString, isObject, isArray, isFunction, isIterable, isInteger); -},{"../namespace.js":11}],15:[function(require,module,exports){ +},{"../namespace.js":23}],28:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -1829,7 +4959,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; * console.log(new Monster.Types.Observer()) * </script> * ``` @@ -1838,7 +4968,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; * console.log(Observer()) * </script> * ``` @@ -1966,6 +5096,7 @@ var Observer = /*#__PURE__*/function (_Base) { return new Promise(function (resolve, reject) { if (!(0, _is.isObject)(subject)) { reject("subject must be an object"); + return; } self.queue.add(subject); @@ -1998,7 +5129,7 @@ exports.Observer = Observer; _namespace.Monster.assignToNamespace('Monster.Types', Observer); -},{"../namespace.js":11,"./base.js":12,"./is.js":14,"./tokenlist.js":19,"./uniquequeue.js":20}],16:[function(require,module,exports){ +},{"../namespace.js":23,"./base.js":24,"./is.js":27,"./tokenlist.js":34,"./uniquequeue.js":35}],29:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -2021,6 +5152,10 @@ var _namespace = require("../namespace.js"); var _base = require("./base.js"); +var _observer = require("./observer.js"); + +var _validate = require("./validate.js"); + 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); } } @@ -2048,9 +5183,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; - * console.log(new Monster.Types.ObserverList()) - * console.log(new Monster.Types.ObserverList()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; + * console.log(new Monster.Types.ObserverList()) + * console.log(new Monster.Types.ObserverList()) * </script> * ``` * @@ -2058,7 +5193,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; + * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; * console.log(ObserverList()) * console.log(ObserverList()) * </script> @@ -2073,6 +5208,9 @@ var ObserverList = /*#__PURE__*/function (_Base) { var _super = _createSuper(ObserverList); + /** + * + */ function ObserverList() { var _this; @@ -2082,18 +5220,32 @@ var ObserverList = /*#__PURE__*/function (_Base) { _this.observers = []; return _this; } + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ + _createClass(ObserverList, [{ key: "attach", value: function attach(observer) { - checkIsObserver(observer); + (0, _validate.validateInstance)(observer, _observer.Observer); this.observers.push(observer); return this; } }, { key: "detach", - value: function detach(observer) { - checkIsObserver(observer); + value: + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ + function detach(observer) { + (0, _validate.validateInstance)(observer, _observer.Observer); var i = 0, l = this.observers.length; @@ -2107,8 +5259,15 @@ var ObserverList = /*#__PURE__*/function (_Base) { } }, { key: "contains", - value: function contains(observer) { - checkIsObserver(observer); + value: + /** + * + * @param {Observer} observer + * @return {boolean} + * @throws {TypeError} value is not an instance of Observer + */ + function contains(observer) { + (0, _validate.validateInstance)(observer, _observer.Observer); var i = 0, l = this.observers.length; @@ -2122,7 +5281,13 @@ var ObserverList = /*#__PURE__*/function (_Base) { } }, { key: "notify", - value: function notify(subject) { + value: + /** + * + * @param subject + * @return {Promise} + */ + function notify(subject) { var pomises = []; var i = 0, l = this.observers.length; @@ -2137,27 +5302,12 @@ var ObserverList = /*#__PURE__*/function (_Base) { return ObserverList; }(_base.Base); -/** - * - * @param {Monster.Types.Observer} observer - * @returns {boolean} - * @private - */ - exports.ObserverList = ObserverList; -function checkIsObserver(observer) { - if (!(observer instanceof _namespace.Monster.Types.Observer)) { - throw new Error("argument must be instance of observer"); - } - - return true; -} - _namespace.Monster.assignToNamespace('Monster.Types', ObserverList); -},{"../namespace.js":11,"./base.js":12}],17:[function(require,module,exports){ +},{"../namespace.js":23,"./base.js":24,"./observer.js":28,"./validate.js":36}],30:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -2215,7 +5365,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; * console.log(new Monster.Types.ProxyObserver()) * </script> * ``` @@ -2224,7 +5374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; * console.log(new ProxyObserver()) * </script> * ``` @@ -2268,6 +5418,7 @@ var ProxyObserver = /*#__PURE__*/function (_Base) { /** * * @param {object} object + * @throws {TypeError} value is not a object */ function ProxyObserver(object) { var _this; @@ -2450,7 +5601,7 @@ function getHandler() { return handler; } -},{"../namespace.js":11,"./base.js":12,"./is.js":14,"./observer.js":15,"./observerlist.js":16,"./validate.js":21}],18:[function(require,module,exports){ +},{"../namespace.js":23,"./base.js":24,"./is.js":27,"./observer.js":28,"./observerlist.js":29,"./validate.js":36}],31:[function(require,module,exports){ "use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } @@ -2489,13 +5640,11 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /** - * queue class - * * you can call the method via the monster namespace `new Monster.Types.Queue()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; * console.log(new Monster.Types.Queue()) * </script> * ``` @@ -2504,7 +5653,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; * console.log(new Queue()) * </script> * ``` @@ -2605,7 +5754,261 @@ exports.Queue = Queue; _base.Monster.assignToNamespace('Monster.Types', Queue); -},{"./base.js":12}],19:[function(require,module,exports){ +},{"./base.js":24}],32:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _id.Monster; + } +}); +exports.RandomID = void 0; + +var _id = require("./id.js"); + +var _global = require("./global.js"); + +var _random = require("../math/random.js"); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * @private + * @type {number} + */ +var internalCounter = 0; +/** + * you can call the method via the monster namespace `new Monster.Types.RandomID()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; + * console.log(new Monster.Types.RandomID()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; + * console.log(new RandomID()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/Types + */ + +var RandomID = /*#__PURE__*/function (_ID) { + _inherits(RandomID, _ID); + + var _super = _createSuper(RandomID); + + /** + * create new object + */ + function RandomID() { + var _this; + + _classCallCheck(this, RandomID); + + _this = _super.call(this); + internalCounter += 1; + _this.id = (0, _global.getGlobal)().btoa((0, _random.random)(1, 10000)).replace(/=/g, '') + /** No numbers at the beginning of the ID, because of possible problems with DOM */ + .replace(/^[0-9]+/, 'X') + internalCounter; + return _this; + } + + return RandomID; +}(_id.ID); + +exports.RandomID = RandomID; + +_id.Monster.assignToNamespace('Monster.Types', RandomID); + +},{"../math/random.js":21,"./global.js":25,"./id.js":26}],33:[function(require,module,exports){ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _base.Monster; + } +}); +exports.Stack = void 0; + +var _base = require("./base.js"); + +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; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +/** + * you can call the method via the monster namespace `new Monster.Types.Queue()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; + * console.log(new Monster.Types.Stack()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; + * console.log(new Stack()) + * </script> + * ``` + * + * @since 1.4.0 + * @copyright schukai GmbH + * @memberOf Monster/Types + */ +var Stack = /*#__PURE__*/function (_Base) { + _inherits(Stack, _Base); + + var _super = _createSuper(Stack); + + /** + * + */ + function Stack() { + var _this; + + _classCallCheck(this, Stack); + + _this = _super.call(this); + _this.data = []; + return _this; + } + /** + * @return {boolean} + */ + + + _createClass(Stack, [{ + key: "isEmpty", + value: function isEmpty() { + return this.data.length === 0; + } + /** + * looks at the object at the top of this stack without removing it from the stack. + * + * @return {*} + */ + + }, { + key: "peek", + value: function peek() { + var _this$data; + + if (this.isEmpty()) { + return undefined; + } + + return (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data[this.data.length - 1]; + } + /** + * pushes an item onto the top of this stack. + * + * @param {*} value + * @returns {Queue} + */ + + }, { + key: "push", + value: function push(value) { + this.data.push(value); + return this; + } + /** + * remove all entries + * + * @returns {Queue} + */ + + }, { + key: "clear", + value: function clear() { + this.data = []; + return this; + } + /** + * removes the object at the top of this stack and returns + * that object as the value of this function. is the stack empty + * the return value is undefined. + * + * @return {*} + */ + + }, { + key: "pop", + value: function pop() { + if (this.isEmpty()) { + return undefined; + } + + return this.data.pop(); + } + }]); + + return Stack; +}(_base.Base); + +exports.Stack = Stack; + +_base.Monster.assignToNamespace('Monster.Types', Stack); + +},{"./base.js":24}],34:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -2667,7 +6070,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; * console.log(new Monster.Types.TokenList("myclass row")) * console.log(new Monster.Types.TokenList("myclass row")) * </script> @@ -2677,7 +6080,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; + * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; * console.log(new TokenList("myclass row")) * console.log(new TokenList("myclass row")) * </script> @@ -3050,7 +6453,7 @@ function toggleValue(token) { _namespace.Monster.assignToNamespace('Monster.Types', TokenList); -},{"../namespace.js":11,"../types/is.js":14,"../types/validate.js":21,"./base.js":12}],20:[function(require,module,exports){ +},{"../namespace.js":23,"../types/is.js":27,"../types/validate.js":36,"./base.js":24}],35:[function(require,module,exports){ "use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } @@ -3095,13 +6498,11 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /** - * UniqueQueue class - * * you can call the method via the monster namespace `new Monster.Types.Queue()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; * console.log(new Monster.Types.UniqueQueue()) * </script> * ``` @@ -3110,7 +6511,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; * console.log(new UniqueQueue()) * </script> * ``` @@ -3199,7 +6600,7 @@ exports.UniqueQueue = UniqueQueue; _queue.Monster.assignToNamespace('Monster.Types', UniqueQueue); -},{"./queue.js":18,"./validate.js":21}],21:[function(require,module,exports){ +},{"./queue.js":31,"./validate.js":36}],36:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -3235,7 +6636,7 @@ var _is = require("./is.js"); * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError * console.log(Monster.Types.validateIterable([])) // ↦ undefined * </script> @@ -3245,7 +6646,7 @@ var _is = require("./is.js"); * * ``` * <script type="module"> - * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateIterable('2')) // ↦ TypeError * console.log(validateIterable([])) // ↦ undefined * </script> @@ -3273,7 +6674,7 @@ function validateIterable(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validatePrimitive('2')) // ↦ undefined * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError * </script> @@ -3283,7 +6684,7 @@ function validateIterable(value) { * * ``` * <script type="module"> - * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validatePrimitive('2')) // ↦ undefined * console.log(validatePrimitive([])) // ↦ TypeError * </script> @@ -3313,7 +6714,7 @@ function validatePrimitive(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateBoolean(true)) // ↦ undefined * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError @@ -3324,7 +6725,7 @@ function validatePrimitive(value) { * * ``` * <script type="module"> - * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateBoolean(false)) // ↦ undefined * console.log(validateBoolean('2')) // ↦ TypeError * console.log(validateBoolean([])) // ↦ TypeError @@ -3353,7 +6754,7 @@ function validateBoolean(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateString('2')) // ↦ undefined * console.log(Monster.Types.validateString([])) // ↦ TypeError * </script> @@ -3363,7 +6764,7 @@ function validateBoolean(value) { * * ``` * <script type="module"> - * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateString('2')) // ↦ undefined * console.log(validateString([])) // ↦ TypeError * </script> @@ -3390,7 +6791,7 @@ function validateString(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateObject({})) // ↦ undefined * console.log(Monster.Types.validateObject('2')) // ↦ TypeError * console.log(Monster.Types.validateObject([])) // ↦ TypeError @@ -3401,7 +6802,7 @@ function validateString(value) { * * ``` * <script type="module"> - * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateObject({})) // ↦ undefined * console.log(validateObject('2')) // ↦ TypeError * console.log(validateObject([])) // ↦ TypeError @@ -3423,13 +6824,13 @@ function validateObject(value) { } } /** - * this method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown. + * this method checks if the type matches the object instance. * - * you can call the method via the monster namespace `Monster.Types.validateObject()`. + * you can call the method via the monster namespace `Monster.Types.validateInstance()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateInstance({}, Object)) // ↦ undefined * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError @@ -3440,7 +6841,7 @@ function validateObject(value) { * * ``` * <script type="module"> - * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateInstance({}, Object)) // ↦ undefined * console.log(validateInstance('2', Object)) // ↦ TypeError * console.log(validateInstance([], Object)) // ↦ TypeError @@ -3458,7 +6859,17 @@ function validateObject(value) { function validateInstance(value, instance) { if (!(0, _is.isInstance)(value, instance)) { - throw new TypeError('value is not an instance of'); + var n = ""; + + if ((0, _is.isObject)(instance) || (0, _is.isFunction)(instance)) { + n = instance === null || instance === void 0 ? void 0 : instance['name']; + } + + if (n) { + n = " " + n; + } + + throw new TypeError('value is not an instance of' + n); } } /** @@ -3468,7 +6879,7 @@ function validateInstance(value, instance) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateArray('2')) // ↦ TypeError * console.log(Monster.Types.validateArray([])) // ↦ undefined * </script> @@ -3478,7 +6889,7 @@ function validateInstance(value, instance) { * * ``` * <script type="module"> - * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateArray('2')) // ↦ TypeError * console.log(validateArray([])) // ↦ undefined * </script> @@ -3505,7 +6916,7 @@ function validateArray(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateFunction(()=>{})) // ↦ undefined * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError * console.log(Monster.Types.validateFunction([])) // ↦ TypeError @@ -3516,7 +6927,7 @@ function validateArray(value) { * * ``` * <script type="module"> - * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateFunction(()=>{})) // ↦ undefined * console.log(validateFunction('2')) // ↦ TypeError * console.log(validateFunction([])) // ↦ TypeError @@ -3544,7 +6955,7 @@ function validateFunction(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError * console.log(Monster.Types.validateInteger(2)) // ↦ undefined @@ -3555,7 +6966,7 @@ function validateFunction(value) { * * ``` * <script type="module"> - * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateInteger(true)) // ↦ TypeError * console.log(validateInteger('2')) // ↦ TypeError * console.log(validateInteger(2)) // ↦ undefined @@ -3579,7 +6990,7 @@ function validateInteger(value) { _namespace.Monster.assignToNamespace('Monster.Types', validatePrimitive, validateBoolean, validateString, validateObject, validateArray, validateFunction, validateIterable, validateInteger); -},{"../namespace.js":11,"./is.js":14}],22:[function(require,module,exports){ +},{"../namespace.js":23,"./is.js":27}],37:[function(require,module,exports){ 'use strict'; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } @@ -3627,7 +7038,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3 * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0 * </script> @@ -3637,7 +7048,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(new Version('1.2.3')) // ↦ 1.2.3 * console.log(new Version('1')) // ↦ 1.0.0 * </script> @@ -3780,7 +7191,7 @@ var monsterVersion; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(Monster.getVersion()) * console.log(Monster.getVersion()) * </script> @@ -3790,7 +7201,7 @@ var monsterVersion; * * ``` * <script type="module"> - * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(getVersion()) * console.log(getVersion()) * </script> @@ -3810,7 +7221,7 @@ function getVersion() { /**#@+ dont touch, replaced by make with package.json version */ - monsterVersion = new Version('1.5.0'); + monsterVersion = new Version('1.6.0'); /**#@-*/ return monsterVersion; @@ -3818,7 +7229,7 @@ function getVersion() { _namespace.Monster.assignToNamespace('Monster', getVersion); -},{"../namespace.js":11,"./base.js":12}],23:[function(require,module,exports){ +},{"../namespace.js":23,"./base.js":24}],38:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -3839,6 +7250,8 @@ var _namespace = require("../namespace.js"); var _is = require("../types/is.js"); +var _global = require("../types/global.js"); + function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } /** @@ -3854,7 +7267,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; * console.log(Monster.Util.clone({})) * </script> * ``` @@ -3863,7 +7276,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi * * ``` * <script type="module"> - * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; + * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; * console.log(clone({})) * </script> * ``` @@ -3921,6 +7334,7 @@ function clone(obj) { if (typeof DocumentFragment !== 'undefined' && obj instanceof DocumentFragment) return obj; /** Do not clone global objects */ + if (obj === (0, _global.getGlobal)()) return obj; if (typeof globalContext !== 'undefined' && obj === globalContext) return obj; if (typeof window !== 'undefined' && obj === window) return obj; if (typeof document !== 'undefined' && obj === document) return obj; @@ -3979,7 +7393,7 @@ function cloneObject(obj) { _namespace.Monster.assignToNamespace('Monster.Util', clone); -},{"../namespace.js":11,"../types/is.js":14}],24:[function(require,module,exports){ +},{"../namespace.js":23,"../types/global.js":25,"../types/is.js":27}],39:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -4027,7 +7441,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Monster.Util.Comparator()) * console.log(new Monster.Util.Comparator()) * </script> @@ -4037,7 +7451,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Util()) * console.log(new Util()) * </script> @@ -4201,7 +7615,7 @@ exports.Comparator = Comparator; _base.Monster.assignToNamespace('Monster.Util', Comparator); -},{"../types/base.js":12,"../types/is.js":14}],25:[function(require,module,exports){ +},{"../types/base.js":24,"../types/is.js":27}],40:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -4237,7 +7651,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js'; * console.log(Monster.Util.deepFreeze({})) * </script> * ``` @@ -4246,7 +7660,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len * * ``` * <script type="module"> - * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js'; + * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js'; * console.log(deepFreeze({})) * </script> * ``` @@ -4283,5 +7697,5 @@ function deepFreeze(object) { _namespace.Monster.assignToNamespace('Monster.Util', deepFreeze); -},{"../namespace.js":11,"../types/validate.js":21}]},{},[10]) +},{"../namespace.js":23,"../types/validate.js":36}]},{},[22]) //# sourceMappingURL=monster.dev.js.map diff --git a/packages/monster/dist/monster.dev.js.map b/packages/monster/dist/monster.dev.js.map index 1fd0c42f3aa2a43e1137ef7e1ede448b774cc93a..dc716f4a958e365e93c8bf30d6637ab883e7b3d6 100644 --- a/packages/monster/dist/monster.dev.js.map +++ b/packages/monster/dist/monster.dev.js.map @@ -10,16 +10,31 @@ "packages/monster/source/constraints/isobject.js", "packages/monster/source/constraints/oroperator.js", "packages/monster/source/constraints/valid.js", + "packages/monster/source/data/diff.js", + "packages/monster/source/data/pathfinder.js", + "packages/monster/source/data/pipe.js", + "packages/monster/source/data/transformer.js", + "packages/monster/source/dom/assembler.js", + "packages/monster/source/dom/handle.js", + "packages/monster/source/dom/template.js", + "packages/monster/source/dom/util.js", + "packages/monster/source/logging/handler.js", + "packages/monster/source/logging/handler/console.js", + "packages/monster/source/logging/logentry.js", + "packages/monster/source/logging/logger.js", "packages/monster/source/math/random.js", "packages/monster/source/monster.js", "packages/monster/source/namespace.js", "packages/monster/source/types/base.js", + "packages/monster/source/types/global.js", "packages/monster/source/types/id.js", "packages/monster/source/types/is.js", "packages/monster/source/types/observer.js", "packages/monster/source/types/observerlist.js", "packages/monster/source/types/proxyobserver.js", "packages/monster/source/types/queue.js", + "packages/monster/source/types/randomid.js", + "packages/monster/source/types/stack.js", "packages/monster/source/types/tokenlist.js", "packages/monster/source/types/uniquequeue.js", "packages/monster/source/types/validate.js", @@ -29,35 +44,50 @@ "packages/monster/source/util/freeze.js" ], "names": [], - "mappings": "AAAA;ACAA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,kB;;;;;AAEF;AACJ;AACA;AACI,gCAAc;AAAA;;AAAA;AAEb;AAED;AACJ;AACA;AACA;AACA;AACA;;;;;WACI,iBAAQ,KAAR,EAAe;AACX,aAAO,OAAO,CAAC,MAAR,CAAe,KAAf,CAAP;AACH;;;;EAjB4B,U;;;;AAoBjC,mBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,kBAAjD;;;ACvCA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,gB;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,4BAAY,QAAZ,EAAsB,QAAtB,EAAgC;AAAA;;AAAA;;AAC5B;;AAEA,QAAI,EAAE,QAAQ,YAAY,4BAAtB,KAA6C,EAAE,QAAQ,YAAY,4BAAtB,CAAjD,EAA4F;AACxF,YAAM,IAAI,SAAJ,CAAc,iDAAd,CAAN;AACH;;AAED,UAAK,QAAL,GAAgB,QAAhB;AACA,UAAK,QAAL,GAAgB,QAAhB;AAR4B;AAU/B;;;EAlB0B,4B;;;;AAuB/B,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,gBAAjD;;;ACtCA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,W;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,aAAO,OAAO,CAAC,GAAR,CAAY,CAAC,KAAK,QAAL,CAAc,OAAd,CAAsB,KAAtB,CAAD,EAA+B,KAAK,QAAL,CAAc,OAAd,CAAsB,KAAtB,CAA/B,CAAZ,CAAP;AACH;;;;EAVqB,kC;;;;AAc1B,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,WAAjD;;;AC/CA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,O;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,aAAO,OAAO,CAAC,MAAR,CAAe,KAAf,CAAP;AACH;;;;EAViB,4B;;;;AActB,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,OAAjD;;;AC/CA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,O;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,UAAG,iBAAQ,KAAR,CAAH,EAAmB;AACf,eAAO,OAAO,CAAC,OAAR,CAAgB,KAAhB,CAAP;AACH;;AAED,aAAO,OAAO,CAAC,MAAR,CAAe,KAAf,CAAP;AACH;;;;EAdiB,4B;;;;AAkBtB,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,OAAjD;;;ACpDA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,Q;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,eAAO,OAAO,CAAC,OAAR,CAAgB,KAAhB,CAAP;AACH;;AAED,aAAO,OAAO,CAAC,MAAR,CAAe,KAAf,CAAP;AACH;;;;EAdkB,4B;;;;AAkBvB,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,QAAjD;;;ACpDA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,U;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,UAAI,IAAI,GAAG,IAAX;AAEA,aAAO,IAAI,OAAJ,CAAY,UAAU,OAAV,EAAmB,MAAnB,EAA2B;AAC1C,YAAI,CAAJ,EAAO,CAAP;AAEA,QAAA,IAAI,CAAC,QAAL,CAAc,OAAd,CAAsB,KAAtB,EACK,IADL,CACU,YAAY;AACd,UAAA,OAAO;AACV,SAHL,WAGa,YAAY;AACrB,UAAA,CAAC,GAAG,KAAJ;AACA;;AACA,cAAI,CAAC,KAAK,KAAV,EAAiB;AACb,YAAA,MAAM;AACT;AACJ,SATD;AAWA,QAAA,IAAI,CAAC,QAAL,CAAc,OAAd,CAAsB,KAAtB,EACK,IADL,CACU,YAAY;AACd,UAAA,OAAO;AACV,SAHL,WAGa,YAAY;AACrB,UAAA,CAAC,GAAG,KAAJ;AACA;;AACA,cAAI,CAAC,KAAK,KAAV,EAAiB;AACb,YAAA,MAAM;AACT;AACJ,SATD;AAUH,OAxBM,CAAP;AAyBH;;;;EApCoB,kC;;;;AAyCzB,0BAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,UAAjD;;;ACzEA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,K;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,aAAO,OAAO,CAAC,OAAR,CAAgB,KAAhB,CAAP;AACH;;;;EAVe,4B;;;;AAcpB,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,KAAjD;;;;AC/CA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,MAAT,CAAgB,GAAhB,EAAqB,GAArB,EAA0B;AAEtB,MAAI,GAAG,KAAK,SAAZ,EAAuB;AACnB,IAAA,GAAG,GAAG,CAAN;AACH;;AACD,MAAI,GAAG,KAAK,SAAZ,EAAuB;AACnB,IAAA,GAAG,GAAG,GAAN;AACH;;AAED,MAAI,GAAG,GAAG,GAAV,EAAe;AACX,UAAM,IAAI,KAAJ,CAAU,8BAAV,CAAN;AACH;;AAED,SAAO,IAAI,CAAC,KAAL,CAAW,MAAM,CAAC,GAAD,EAAM,GAAN,CAAjB,CAAP;AAEH;;AAED,IAAI,GAAG,GAAG,UAAV;;AAEA,IAAI,CAAC,IAAL,GAAY,IAAI,CAAC,IAAL,IAAa,UAAU,CAAV,EAAa;AAClC,SAAO,IAAI,CAAC,GAAL,CAAS,CAAT,IAAc,IAAI,CAAC,GAAL,CAAS,CAAT,CAArB;AACH,CAFD;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,MAAT,CAAgB,GAAhB,EAAqB,GAArB,EAA0B;AACtB,MAAI,KAAJ;;AAEA,MAAI,OAAO,MAAP,KAAkB,WAAtB,EAAmC;AAAA;;AAC/B,IAAA,KAAK,GAAG,YAAA,MAAM,UAAN,0CAAS,QAAT,mBAAsB,MAAtB,6CAAsB,SAAS,UAAT,CAAtB,CAAR;AACH,GAFD,MAEO;AACH,IAAA,KAAK,GAAG,OAAO,MAAP,KAAkB,WAAlB,GAAgC,MAAhC,GAAyC,SAAjD;AACH;;AAED,MAAI,OAAO,KAAP,KAAiB,WAArB,EAAkC;AAC9B,UAAM,IAAI,KAAJ,CAAU,eAAV,CAAN;AACH;;AAED,MAAI,IAAI,GAAG,CAAX;AACA,MAAM,KAAK,GAAG,GAAG,GAAG,GAApB;;AACA,MAAI,KAAK,GAAG,CAAZ,EAAe;AACX,WAAO,GAAP;AACH;;AAED,MAAM,UAAU,GAAG,IAAI,CAAC,IAAL,CAAU,IAAI,CAAC,IAAL,CAAU,KAAV,CAAV,CAAnB;;AACA,MAAI,UAAU,GAAG,EAAjB,EAAqB;AACjB,UAAO,IAAI,KAAJ,CAAU,iDAAV,CAAP;AACH;;AACD,MAAM,WAAW,GAAG,IAAI,CAAC,IAAL,CAAU,UAAU,GAAG,CAAvB,CAApB;AACA,MAAM,IAAI,GAAG,IAAI,CAAC,GAAL,CAAS,CAAT,EAAY,UAAZ,IAA0B,CAAvC;AAEA,MAAM,SAAS,GAAG,IAAI,UAAJ,CAAe,WAAf,CAAlB;AACA,EAAA,KAAK,CAAC,eAAN,CAAsB,SAAtB;AAEA,MAAI,CAAC,GAAG,CAAC,WAAW,GAAG,CAAf,IAAoB,CAA5B;;AACA,OAAK,IAAI,CAAC,GAAG,CAAb,EAAgB,CAAC,GAAG,WAApB,EAAiC,CAAC,EAAlC,EAAsC;AAClC,IAAA,IAAI,IAAI,SAAS,CAAC,CAAD,CAAT,GAAe,IAAI,CAAC,GAAL,CAAS,CAAT,EAAY,CAAZ,CAAvB;AACA,IAAA,CAAC,IAAI,CAAL;AACH;;AAED,EAAA,IAAI,GAAG,IAAI,GAAG,IAAd;;AAEA,MAAI,IAAI,IAAI,KAAZ,EAAmB;AACf,WAAO,MAAM,CAAC,GAAD,EAAM,GAAN,CAAb;AACH;;AAED,SAAO,GAAG,GAAG,IAAb;AAEH;;AAED,mBAAQ,iBAAR,CAA0B,cAA1B,EAA0C,MAA1C;;;;;ACjHA;AACA;AACA;AACA;AACA;AACA;AAEA;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA,mBAAQ,IAAR,CAAa,UAAb,CAAwB,kBAAxB;;;ACjCA;AAEA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;IACM,S;AAEF;AACJ;AACA;AACA;AACA;AACI,qBAAY,SAAZ,EAAuB;AAAA;;AACnB,QAAI,SAAS,KAAK,SAAd,IAA2B,OAAO,SAAP,KAAqB,QAApD,EAA8D;AAC1D,YAAM,IAAI,KAAJ,CAAU,2BAAV,CAAN;AACH;;AACD,SAAK,SAAL,GAAiB,SAAjB;AACH;AAED;AACJ;AACA;AACA;;;;;WACI,wBAAe;AACX,aAAO,KAAK,SAAZ;AACH;AAED;AACJ;AACA;AACA;;;;WACI,oBAAW;AACP,aAAO,KAAK,YAAL,EAAP;AACH;;;;;AAGL;AACA;AACA;AACA;AACA;;;AACO,IAAM,OAAO,GAAG,IAAI,SAAJ,CAAc,SAAd,CAAhB;AAGP;AACA;AACA;;;AACA,iBAAiB,CAAC,SAAD,EAAY,iBAAZ,CAAjB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAAS,iBAAT,CAA2B,EAA3B,EAAuC;AACnC,MAAI,OAAO,GAAG,YAAY,CAAC,EAAE,CAAC,KAAH,CAAS,GAAT,CAAD,CAA1B;;AAEA,OAAK,IAAI,CAAC,GAAG,CAAR,EAAW,CAAC,mDAAjB,EAAgC,CAAC,GAAG,CAApC,EAAuC,CAAC,EAAxC,EAA4C;AACxC,IAAA,OAAO,CAAC,UAAU,CAAK,CAAL,gCAAK,CAAL,6BAAK,CAAL,MAAX,CAAP,GAAkC,CAAlC,gCAAkC,CAAlC,6BAAkC,CAAlC;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,UAAT,CAAoB,EAApB,EAAwB;AACpB,MAAI;AAEA,QAAI,OAAO,EAAP,KAAc,UAAlB,EAA8B;AAC1B,YAAO,IAAI,KAAJ,CAAU,gDAAV,CAAP;AACH;;AAED,QAAI,EAAE,CAAC,cAAH,CAAkB,MAAlB,CAAJ,EAA+B;AAC3B,aAAO,EAAE,CAAC,IAAV;AACH;;AAED,QAAI,eAAe,OAAO,EAAE,CAAC,QAA7B,EAAuC;AACnC,UAAI,CAAC,GAAG,EAAE,CAAC,QAAH,EAAR;AACA,UAAI,CAAC,GAAG,CAAC,CAAC,KAAF,CAAQ,0BAAR,CAAR;;AACA,UAAI,KAAK,CAAC,OAAN,CAAc,CAAd,KAAoB,OAAO,CAAC,CAAC,CAAD,CAAR,KAAgB,QAAxC,EAAkD;AAC9C,eAAO,CAAC,CAAC,CAAD,CAAR;AACH;;AACD,UAAI,CAAC,GAAG,CAAC,CAAC,KAAF,CAAQ,uBAAR,CAAR;;AACA,UAAI,KAAK,CAAC,OAAN,CAAc,CAAd,KAAoB,OAAO,CAAC,CAAC,CAAD,CAAR,KAAgB,QAAxC,EAAkD;AAC9C,eAAO,CAAC,CAAC,CAAD,CAAR;AACH;AACJ;AAEJ,GAtBD,CAsBE,OAAO,CAAP,EAAU;AACR,UAAM,IAAI,KAAJ,CAAU,eAAe,CAAzB,CAAN;AACH;;AAED,QAAO,IAAI,KAAJ,CAAU,uDAAV,CAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,YAAT,CAAsB,KAAtB,EAA6B;AACzB,MAAI,KAAK,GAAG,OAAZ;AAAA,MAAqB,EAAE,GAAG,SAA1B;;AAEA,OAAK,IAAI,CAAC,GAAG,CAAb,EAAgB,CAAC,GAAG,KAAK,CAAC,MAA1B,EAAkC,CAAC,EAAnC,EAAuC;AAEnC,QAAI,cAAc,KAAK,CAAC,CAAD,CAAvB,EAA4B;AACxB;AACH;;AAED,IAAA,EAAE,IAAI,MAAM,KAAK,CAAC,CAAD,CAAjB;;AAEA,QAAI,CAAC,KAAK,CAAC,cAAN,CAAqB,KAAK,CAAC,CAAD,CAA1B,CAAL,EAAqC;AACjC,MAAA,KAAK,CAAC,KAAK,CAAC,CAAD,CAAN,CAAL,GAAkB,IAAI,SAAJ,CAAc,EAAd,CAAlB;AACH;;AAED,IAAA,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAD,CAAN,CAAb;AACH;;AAED,SAAO,KAAP;AACH;;;AC7JD;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,I;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACI,wBAAW;AACP,aAAO,IAAI,CAAC,SAAL,CAAe,IAAf,CAAP;AACH;;;;iCARc,M;;;;AAanB,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,IAA3C;;;;ACnDA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAI,eAAe,GAAG,CAAtB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;IACM,E;;;;;AAEF;AACJ;AACA;AACI,gBAAc;AAAA;;AAAA;;AACV;AAEA,IAAA,eAAe,IAAI,CAAnB;AAEA,UAAK,EAAL,GAAU,MAAM,CAAC,IAAP,CAAY,oBAAO,CAAP,EAAU,KAAV,CAAZ,EACL,OADK,CACG,IADH,EACS,EADT;AAEN;AAFM,KAGL,OAHK,CAGG,SAHH,EAGc,GAHd,IAGqB,eAH/B;AALU;AASb;;;;WAED,oBAAW;AACP,aAAO,KAAK,EAAZ;AACH;;;;EAlBY,U;;;;AAsBjB,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,EAA3C;;;;;AC3DA;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;AAEA;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAT,CAAoB,KAApB,EAA2B;AACvB,MAAI,KAAK,KAAK,SAAd,EAAyB,OAAO,KAAP;AACzB,MAAI,KAAK,KAAK,IAAd,EAAoB,OAAO,KAAP;AACpB,SAAO,QAAO,KAAP,aAAO,KAAP,uBAAO,KAAK,CAAG,MAAM,CAAC,QAAV,CAAZ,MAAoC,UAA3C;AACH;AAGD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,WAAT,CAAqB,KAArB,EAA4B;AACxB,MAAI,IAAJ;;AAEA,MAAI,KAAK,KAAK,SAAV,IAAuB,KAAK,KAAK,IAAjC,IAAyC,KAAK,KAAK,GAAvD,EAA4D;AACxD,WAAO,IAAP;AACH;;AAED,EAAA,IAAI,WAAU,KAAV,CAAJ;;AAEA,MAAI,IAAI,KAAK,QAAT,IAAqB,IAAI,KAAK,QAA9B,IAA0C,IAAI,KAAK,SAAnD,IAAgE,IAAI,KAAK,QAA7E,EAAuF;AACnF,WAAO,IAAP;AACH;;AAED,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,SAAT,CAAmB,KAAnB,EAA0B;AAEtB,MAAI,KAAK,KAAK,IAAV,IAAkB,KAAK,KAAK,KAAhC,EAAuC;AACnC,WAAO,IAAP;AACH;;AAED,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,QAAT,CAAkB,KAAlB,EAAyB;AACrB,MAAI,KAAK,KAAK,SAAV,IAAuB,OAAO,KAAP,KAAiB,QAA5C,EAAsD;AAClD,WAAO,KAAP;AACH;;AACD,SAAO,IAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,QAAT,CAAkB,KAAlB,EAAyB;AAErB,MAAI,OAAO,CAAC,KAAD,CAAX,EAAoB,OAAO,KAAP;AACpB,MAAI,WAAW,CAAC,KAAD,CAAf,EAAwB,OAAO,KAAP;;AAExB,MAAI,QAAO,KAAP,MAAiB,QAArB,EAA+B;AAC3B,WAAO,IAAP;AACH;;AAED,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,UAAT,CAAoB,KAApB,EAA2B,QAA3B,EAAqC;AAEjC,MAAI,CAAC,QAAQ,CAAC,KAAD,CAAb,EAAsB,OAAO,KAAP;AACtB,MAAI,CAAC,UAAU,CAAC,QAAD,CAAf,EAA2B,OAAO,KAAP;AAC3B,MAAI,CAAC,QAAQ,CAAC,cAAT,CAAwB,WAAxB,CAAL,EAA2C,OAAO,KAAP;AAC3C,SAAQ,KAAK,YAAY,QAAlB,GAA4B,IAA5B,GAAiC,KAAxC;AAEH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,OAAT,CAAiB,KAAjB,EAAwB;AACpB,MAAI,KAAK,CAAC,OAAN,CAAc,KAAd,CAAJ,EAA0B;AACtB,WAAO,IAAP;AACH;;AACD,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,UAAT,CAAoB,KAApB,EAA2B;AACvB,MAAI,OAAO,CAAC,KAAD,CAAX,EAAoB,OAAO,KAAP;AACpB,MAAI,WAAW,CAAC,KAAD,CAAf,EAAwB,OAAO,KAAP;;AAExB,MAAI,OAAO,KAAP,KAAiB,UAArB,EAAiC;AAC7B,WAAO,IAAP;AACH;;AAED,SAAO,KAAP;AAEH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,SAAT,CAAmB,KAAnB,EAA0B;AACtB,SAAO,MAAM,CAAC,SAAP,CAAiB,KAAjB,CAAP;AACH;;AAGD,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,WAA3C,EAAwD,SAAxD,EAAmE,QAAnE,EAA6E,QAA7E,EAAuF,OAAvF,EAAgG,UAAhG,EAA4G,UAA5G,EAAwH,SAAxH;;;AC5WA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,Q;;;;;AAEF;AACJ;AACA;AACA;AACA;AACI,oBAAY,QAAZ,EAA+B;AAAA;;AAAA;;AAC3B;;AAEA,QAAI,OAAO,QAAP,KAAoB,UAAxB,EAAoC;AAChC,YAAM,IAAI,KAAJ,CAAU,sCAAV,CAAN;AACH;;AAED,UAAK,QAAL,GAAgB,QAAhB;;AAP2B,sCAAN,IAAM;AAAN,MAAA,IAAM;AAAA;;AAQ3B,UAAK,SAAL,GAAiB,IAAjB;AACA,UAAK,IAAL,GAAY,IAAI,oBAAJ,EAAZ;AACA,UAAK,KAAL,GAAa,IAAI,wBAAJ,EAAb;AAV2B;AAW9B;AAED;AACJ;AACA;AACA;AACA;;;;;WACI,gBAAO,GAAP,EAAY;AACR,WAAK,IAAL,CAAU,GAAV,CAAc,GAAd;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,mBAAU,GAAV,EAAe;AACX,WAAK,IAAL,CAAU,MAAV,CAAiB,GAAjB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;;;;WACI,mBAAU;AACN,aAAO,KAAK,IAAL,CAAU,OAAV,EAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,gBAAO,GAAP,EAAY;AACR,aAAO,KAAK,IAAL,CAAU,QAAV,CAAmB,GAAnB,CAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,gBAAO,OAAP,EAAgB;AACZ,UAAI,IAAI,GAAG,IAAX;AAEA,aAAO,IAAI,OAAJ,CAAY,UAAU,OAAV,EAAmB,MAAnB,EAA2B;AAC1C,YAAI,CAAC,kBAAS,OAAT,CAAL,EAAwB;AACpB,UAAA,MAAM,CAAC,2BAAD,CAAN;AACH;;AAED,QAAA,IAAI,CAAC,KAAL,CAAW,GAAX,CAAe,OAAf;AAEA,QAAA,UAAU,CAAC,YAAM;AAEb;AACA;AACA,cAAI,IAAI,CAAC,KAAL,CAAW,OAAX,EAAJ,EAA0B;AACtB,YAAA,OAAO;AACP;AACH;;AAED,cAAI,CAAC,GAAG,IAAI,CAAC,KAAL,CAAW,IAAX,EAAR;AACA,cAAI,MAAM,GAAG,IAAI,CAAC,QAAL,CAAc,KAAd,CAAoB,CAApB,EAAuB,IAAI,CAAC,SAA5B,CAAb;;AAEA,cAAI,kBAAS,MAAT,KAAoB,MAAM,YAAY,OAA1C,EAAmD;AAC/C,YAAA,MAAM,CAAC,IAAP,CAAY,OAAZ,WAA2B,MAA3B;AACA;AACH;;AAED,UAAA,OAAO,CAAC,MAAD,CAAP;AACH,SAlBS,EAkBP,CAlBO,CAAV;AAoBH,OA3BM,CAAP;AA6BH;;;;EA9FkB,U;;;;AAkGvB,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,QAA3C;;;ACnKA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,Y;;;;;AAEF,0BAAc;AAAA;;AAAA;;AACV;AACA,UAAK,SAAL,GAAiB,EAAjB;AAFU;AAGb;;;;WAED,gBAAO,QAAP,EAAiB;AACb,MAAA,eAAe,CAAC,QAAD,CAAf;AACA,WAAK,SAAL,CAAe,IAAf,CAAoB,QAApB;AACA,aAAO,IAAP;AACH;;;WAED,gBAAO,QAAP,EAAiB;AACb,MAAA,eAAe,CAAC,QAAD,CAAf;AACA,UAAI,CAAC,GAAG,CAAR;AAAA,UAAW,CAAC,GAAG,KAAK,SAAL,CAAe,MAA9B;;AACA,aAAO,CAAC,GAAG,CAAX,EAAc,CAAC,EAAf,EAAmB;AACf,YAAI,KAAK,SAAL,CAAe,CAAf,MAAsB,QAA1B,EAAoC;AAChC,eAAK,SAAL,CAAe,MAAf,CAAsB,CAAtB,EAAyB,CAAzB;AACH;AACJ;;AAED,aAAO,IAAP;AACH;;;WAED,kBAAS,QAAT,EAAmB;AACf,MAAA,eAAe,CAAC,QAAD,CAAf;AACA,UAAI,CAAC,GAAG,CAAR;AAAA,UAAW,CAAC,GAAG,KAAK,SAAL,CAAe,MAA9B;;AACA,aAAO,CAAC,GAAG,CAAX,EAAc,CAAC,EAAf,EAAmB;AACf,YAAI,KAAK,SAAL,CAAe,CAAf,MAAsB,QAA1B,EAAoC;AAChC,iBAAO,IAAP;AACH;AACJ;;AACD,aAAO,KAAP;AACH;;;WAED,gBAAO,OAAP,EAAgB;AAEZ,UAAI,OAAO,GAAG,EAAd;AAEA,UAAI,CAAC,GAAG,CAAR;AAAA,UAAW,CAAC,GAAG,KAAK,SAAL,CAAe,MAA9B;;AACA,aAAO,CAAC,GAAG,CAAX,EAAc,CAAC,EAAf,EAAmB;AACf,QAAA,OAAO,CAAC,IAAR,CAAa,KAAK,SAAL,CAAe,CAAf,EAAkB,MAAlB,CAAyB,OAAzB,CAAb;AACH;;AAED,aAAO,OAAO,CAAC,GAAR,CAAY,OAAZ,CAAP;AACH;;;;EA9CsB,U;AAkD3B;AACA;AACA;AACA;AACA;AACA;;;;;AACA,SAAS,eAAT,CAAyB,QAAzB,EAAmC;AAC/B,MAAI,EAAE,QAAQ,YAAY,mBAAQ,KAAR,CAAc,QAApC,CAAJ,EAAmD;AAC/C,UAAM,IAAI,KAAJ,CAAU,uCAAV,CAAN;AACH;;AACD,SAAO,IAAP;AACH;;AAED,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,YAA3C;;;ACnGA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,a;;;;;AAEF;AACJ;AACA;AACA;AACI,yBAAY,MAAZ,EAAoB;AAAA;;AAAA;;AAChB;AACA,kCAAe,MAAf;AACA,UAAK,WAAL,GAAmB,MAAnB;AACA,UAAK,OAAL,GAAe,IAAI,KAAJ,CAAU,MAAV,EAAkB,UAAU,CAAC,IAAX,+BAAlB,CAAf;AAEA,UAAK,SAAL,GAAiB,IAAI,OAAJ,EAAjB;;AACA,UAAK,SAAL,CAAe,GAAf,CAAmB,MAAK,WAAxB,EAAqC,MAAK,OAA1C;;AAEA,UAAK,SAAL,GAAiB,IAAI,0BAAJ,EAAjB;AATgB;AAUnB;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;;;;;WACI,sBAAa;AACT,aAAO,KAAK,OAAZ;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,0BAAiB;AACb,aAAO,KAAK,WAAZ;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,wBAAe,QAAf,EAAyB;AACrB,WAAK,SAAL,CAAe,MAAf,CAAsB,QAAtB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,wBAAe,QAAf,EAAyB;AACrB,WAAK,SAAL,CAAe,MAAf,CAAsB,QAAtB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,2BAAkB;AACd,WAAK,SAAL,CAAe,MAAf,CAAsB,IAAtB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;;;;WACI,0BAAiB,QAAjB,EAA2B;AACvB,aAAO,KAAK,SAAL,CAAe,QAAf,CAAwB,QAAxB,CAAP;AACH;;;;EA5EuB,U;;;;AAgF5B,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,aAA3C;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAT,GAAsB;AAElB,MAAM,KAAK,GAAG,IAAd,CAFkB,CAIlB;;AACA,MAAM,OAAO,GAAG;AAEZ;AACA,IAAA,GAAG,EAAE,aAAU,MAAV,EAAkB,GAAlB,EAAuB,QAAvB,EAAiC;AAElC,UAAM,KAAK,GAAG,OAAO,CAAC,GAAR,CAAY,MAAZ,EAAoB,GAApB,EAAyB,QAAzB,CAAd;;AAEA,UAAI,QAAO,GAAP,MAAe,QAAnB,EAA6B;AACzB,eAAO,KAAP;AACH;;AAED,UAAI,qBAAY,KAAZ,CAAJ,EAAwB;AACpB,eAAO,KAAP;AACH,OAViC,CAYlC;;;AACA,UAAK,iBAAQ,KAAR,KAAkB,kBAAS,KAAT,CAAvB,EAAyC;AACrC,YAAI,KAAK,CAAC,SAAN,CAAgB,GAAhB,CAAoB,KAApB,CAAJ,EAAgC;AAC5B,iBAAO,KAAK,CAAC,SAAN,CAAgB,GAAhB,CAAoB,KAApB,CAAP;AACH,SAFD,MAEO;AACH,cAAI,CAAC,GAAG,IAAI,KAAJ,CAAU,KAAV,EAAiB,OAAjB,CAAR;AACA,UAAA,KAAK,CAAC,SAAN,CAAgB,GAAhB,CAAoB,KAApB,EAA2B,CAA3B;AACA,iBAAO,CAAP;AACH;AAEJ;;AAED,aAAO,KAAP;AAEH,KA7BW;AA+BZ;AACA,IAAA,GAAG,EAAE,aAAU,MAAV,EAAkB,GAAlB,EAAuB,KAAvB,EAA8B,QAA9B,EAAwC;AACzC,UAAM,MAAM,GAAG,OAAO,CAAC,GAAR,CAAY,MAAZ,EAAoB,GAApB,EAAyB,KAAzB,EAAgC,QAAhC,CAAf;;AACA,UAAI,QAAO,QAAP,yCAAO,QAAP,OAAoB,QAAxB,EAAkC;AAC9B,QAAA,KAAK,CAAC,SAAN,CAAgB,MAAhB,CAAuB,KAAvB;AACH;;AAED,aAAO,MAAP;AACH,KAvCW;AAyCZ;AACA,IAAA,cAAc,EAAE,wBAAU,MAAV,EAAkB,GAAlB,EAAuB;AACnC,UAAI,GAAG,IAAI,MAAX,EAAmB;AACf,eAAO,MAAM,CAAC,GAAD,CAAb;;AAEA,YAAI,QAAO,GAAP,MAAe,QAAnB,EAA6B;AACzB,UAAA,KAAK,CAAC,SAAN,CAAgB,MAAhB,CAAuB,KAAvB;AACH;;AAGD,eAAO,IAAP;AACH;;AACD,aAAO,KAAP;AACH,KAtDW;AAwDZ;AACA,IAAA,cAAc,EAAE,wBAAU,MAAV,EAAkB,GAAlB,EAAuB,UAAvB,EAAmC;AAC/C,UAAI,MAAM,GAAG,OAAO,CAAC,cAAR,CAAuB,MAAvB,EAA+B,GAA/B,EAAoC,UAApC,CAAb;;AAEA,UAAI,QAAO,GAAP,MAAe,QAAnB,EAA6B;AACzB,QAAA,KAAK,CAAC,SAAN,CAAgB,MAAhB,CAAuB,KAAvB;AACH;;AAGD,aAAO,MAAP;AACH,KAlEW;AAoEZ;AACA,IAAA,cAAc,EAAE,wBAAU,MAAV,EAAkB,GAAlB,EAAuB;AACnC,UAAI,MAAM,GAAG,OAAO,CAAC,cAAR,CAAuB,OAAvB,EAAgC,GAAhC,CAAb;;AAEA,UAAI,QAAO,GAAP,MAAe,QAAnB,EAA6B;AACzB,QAAA,KAAK,CAAC,SAAN,CAAgB,MAAhB,CAAuB,KAAvB;AACH;;AAED,aAAO,MAAP;AACH;AA7EW,GAAhB;AAkFA,SAAO,OAAP;AACH;;;;;;;;;;;;;;;;;;AClPD;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,K;;;;;AAEF;AACJ;AACA;AACI,mBAAc;AAAA;;AAAA;;AACV;AACA,UAAK,IAAL,GAAY,EAAZ;AAFU;AAGb;AAGD;AACJ;AACA;;;;;WACI,mBAAU;AACN,aAAO,KAAK,IAAL,CAAU,MAAV,KAAqB,CAA5B;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,gBAAO;AACH,UAAI,KAAK,OAAL,EAAJ,EAAoB;AAChB,eAAO,SAAP;AACH;;AAED,aAAO,KAAK,IAAL,CAAU,CAAV,CAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,aAAI,KAAJ,EAAW;AACP,WAAK,IAAL,CAAU,IAAV,CAAe,KAAf;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,iBAAQ;AACJ,WAAK,IAAL,GAAY,EAAZ;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,gBAAO;AACH,UAAI,KAAK,OAAL,EAAJ,EAAoB;AAChB,eAAO,SAAP;AACH;;AACD,aAAO,KAAK,IAAL,CAAU,KAAV,EAAP;AACH;;;;EA/De,U;;;;AAoEpB,cAAQ,iBAAR,CAA0B,eAA1B,EAA2C,KAA3C;;;AC/FA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,S;;;;;AAEF;AACJ;AACA;AACA;AACI,qBAAY,IAAZ,EAAkB;AAAA;;AAAA;;AACd;AACA,UAAK,MAAL,GAAc,IAAI,GAAJ,EAAd;;AAEA,QAAI,OAAO,IAAP,KAAgB,WAApB,EAAiC;AAC7B,YAAK,GAAL,CAAS,IAAT;AACH;;AANa;AAQjB;AAED;AACJ;AACA;AACA;AACA;;;;;WACI,uBAAc;AACV,aAAO,KAAK,MAAM,CAAC,QAAZ,GAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;SACK,MAAM,CAAC,Q;WAAR,iBAAoB;AAChB;AACA;AACA;AACA,UAAI,KAAK,GAAG,CAAZ;AACA,UAAI,OAAO,GAAG,KAAK,OAAL,EAAd;AAEA,aAAO;AACH,QAAA,IAAI,EAAE,gBAAM;AACR,cAAI,KAAK,GAAG,OAAO,CAAC,MAApB,EAA4B;AACxB,mBAAO;AAAC,cAAA,KAAK,EAAE,OAAF,aAAE,OAAF,uBAAE,OAAO,CAAG,KAAK,EAAR,CAAf;AAA4B,cAAA,IAAI,EAAE;AAAlC,aAAP;AACH,WAFD,MAEO;AACH,mBAAO;AAAC,cAAA,IAAI,EAAE;AAAP,aAAP;AACH;AACJ;AAPE,OAAP;AASH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,kBAAS,KAAT,EAAgB;AAAA;;AACZ,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,QAAA,KAAK,GAAG,KAAK,CAAC,IAAN,EAAR;AACA,YAAI,OAAO,GAAG,CAAd;AACA,QAAA,KAAK,CAAC,KAAN,CAAY,GAAZ,EAAiB,OAAjB,CAAyB,UAAA,KAAK,EAAI;AAC9B,cAAI,MAAI,CAAC,MAAL,CAAY,GAAZ,CAAgB,KAAK,CAAC,IAAN,EAAhB,MAAkC,KAAtC,EAA6C,OAAO,KAAP;AAC7C,UAAA,OAAO;AACV,SAHD;AAIA,eAAO,OAAO,GAAG,CAAV,GAAc,IAAd,GAAqB,KAA5B;AACH;;AAED,UAAI,oBAAW,KAAX,CAAJ,EAAuB;AACnB,YAAI,QAAO,GAAG,CAAd;;AADmB,mDAED,KAFC;AAAA;;AAAA;AAEnB,8DAAyB;AAAA,gBAAhB,KAAgB;AACrB,0CAAe,KAAf;AACA,gBAAI,KAAK,MAAL,CAAY,GAAZ,CAAgB,KAAK,CAAC,IAAN,EAAhB,MAAkC,KAAtC,EAA6C,OAAO,KAAP;AAC7C,YAAA,QAAO;AACV;AANkB;AAAA;AAAA;AAAA;AAAA;;AAOnB,eAAO,QAAO,GAAG,CAAV,GAAc,IAAd,GAAqB,KAA5B;AACH;;AAED,aAAO,KAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,aAAI,KAAJ,EAAW;AAAA;;AACP,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,QAAA,KAAK,CAAC,KAAN,CAAY,GAAZ,EAAiB,OAAjB,CAAyB,UAAA,KAAK,EAAI;AAC9B,UAAA,MAAI,CAAC,MAAL,CAAY,GAAZ,CAAgB,KAAK,CAAC,IAAN,EAAhB;AACH,SAFD;AAGH,OAJD,MAIO,IAAI,oBAAW,KAAX,CAAJ,EAAuB;AAAA,oDACR,KADQ;AAAA;;AAAA;AAC1B,iEAAyB;AAAA,gBAAhB,KAAgB;AACrB,0CAAe,KAAf;AACA,iBAAK,MAAL,CAAY,GAAZ,CAAgB,KAAK,CAAC,IAAN,EAAhB;AACH;AAJyB;AAAA;AAAA;AAAA;AAAA;AAK7B,OALM,MAKA,IAAI,OAAO,KAAP,KAAiB,WAArB,EAAkC;AACrC,cAAM,IAAI,SAAJ,CAAc,mBAAd,CAAN;AACH;;AAED,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,iBAAQ;AACJ,WAAK,MAAL,CAAY,KAAZ;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,gBAAO,KAAP,EAAc;AAAA;;AACV,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,QAAA,KAAK,CAAC,KAAN,CAAY,GAAZ,EAAiB,OAAjB,CAAyB,UAAA,KAAK,EAAI;AAC9B,UAAA,MAAI,CAAC,MAAL,WAAmB,KAAK,CAAC,IAAN,EAAnB;AACH,SAFD;AAGH,OAJD,MAIO,IAAI,oBAAW,KAAX,CAAJ,EAAuB;AAAA,oDACR,KADQ;AAAA;;AAAA;AAC1B,iEAAyB;AAAA,gBAAhB,KAAgB;AACrB,0CAAe,KAAf;AACA,iBAAK,MAAL,WAAmB,KAAK,CAAC,IAAN,EAAnB;AACH;AAJyB;AAAA;AAAA;AAAA;AAAA;AAK7B,OALM,MAKA,IAAI,OAAO,KAAP,KAAiB,WAArB,EAAkC;AACrC,cAAM,IAAI,SAAJ,CAAc,mBAAd,CAAN;AACH;;AAED,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,iBAAQ,KAAR,EAAe,QAAf,EAAyB;AACrB,oCAAe,KAAf;AACA,oCAAe,QAAf;;AACA,UAAI,CAAC,KAAK,QAAL,CAAc,KAAd,CAAL,EAA2B;AACvB,eAAO,IAAP;AACH;;AAED,UAAI,CAAC,GAAG,KAAK,CAAC,IAAN,CAAW,KAAK,MAAhB,CAAR;AACA,UAAI,CAAC,GAAG,CAAC,CAAC,OAAF,CAAU,KAAV,CAAR;AACA,UAAI,CAAC,KAAK,CAAC,CAAX,EAAc,OAAO,IAAP;AAEd,MAAA,CAAC,CAAC,MAAF,CAAS,CAAT,EAAY,CAAZ,EAAe,QAAf;AACA,WAAK,MAAL,GAAc,IAAI,GAAJ,EAAd;AACA,WAAK,GAAL,CAAS,CAAT;AAEA,aAAO,IAAP;AAGH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,gBAAO,KAAP,EAAc;AAAA;;AAEV,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,QAAA,KAAK,CAAC,KAAN,CAAY,GAAZ,EAAiB,OAAjB,CAAyB,UAAA,KAAK,EAAI;AAC9B,UAAA,WAAW,CAAC,IAAZ,CAAiB,MAAjB,EAAuB,KAAvB;AACH,SAFD;AAGH,OAJD,MAIO,IAAI,oBAAW,KAAX,CAAJ,EAAuB;AAAA,oDACR,KADQ;AAAA;;AAAA;AAC1B,iEAAyB;AAAA,gBAAhB,KAAgB;AACrB,YAAA,WAAW,CAAC,IAAZ,CAAiB,IAAjB,EAAuB,KAAvB;AACH;AAHyB;AAAA;AAAA;AAAA;AAAA;AAI7B,OAJM,MAIA,IAAI,OAAO,KAAP,KAAiB,WAArB,EAAkC;AACrC,cAAM,IAAI,SAAJ,CAAc,mBAAd,CAAN;AACH;;AAED,aAAO,IAAP;AAEH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,mBAAU;AACN,aAAO,KAAK,CAAC,IAAN,CAAW,KAAK,MAAhB,CAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,iBAAQ,QAAR,EAAkB;AACd,sCAAiB,QAAjB;AACA,WAAK,MAAL,CAAY,OAAZ,CAAoB,QAApB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,oBAAW;AACP,aAAO,KAAK,OAAL,GAAe,IAAf,CAAoB,GAApB,CAAP;AACH;;;;EArPmB,U;AAyPxB;AACA;AACA;AACA;AACA;AACA;;;;;AACA,SAAS,WAAT,CAAqB,KAArB,EAA4B;AACxB,MAAI,EAAE,gBAAgB,SAAlB,CAAJ,EAAkC,MAAM,KAAK,CAAC,oCAAD,CAAX;AAClC,gCAAe,KAAf;AACA,EAAA,KAAK,GAAG,KAAK,CAAC,IAAN,EAAR;;AACA,MAAI,KAAK,QAAL,CAAc,KAAd,CAAJ,EAA0B;AACtB,SAAK,MAAL,CAAY,KAAZ;AACA,WAAO,IAAP;AACH;;AACD,OAAK,GAAL,CAAS,KAAT;AACA,SAAO,IAAP;AACH;;AAED,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,SAA3C;;;;;;;;;;;;;;;;;;AC1TA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,W;;;;;AAEF;AACJ;AACA;AACI,yBAAc;AAAA;;AAAA;;AACV;AACA,UAAK,MAAL,GAAc,IAAI,OAAJ,EAAd;AAFU;AAGb;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;;;;;WACI,aAAI,KAAJ,EAAW;AAEP,oCAAe,KAAf;;AAEA,UAAI,CAAC,KAAK,MAAL,CAAY,GAAZ,CAAgB,KAAhB,CAAL,EAA6B;AACzB,aAAK,MAAL,CAAY,GAAZ,CAAgB,KAAhB;;AACA,6EAAU,KAAV;AACH;;AAED,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,iBAAQ;AACJ;;AACA,WAAK,MAAL,GAAc,IAAI,OAAJ,EAAd;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,gBAAO;AAEH,UAAI,KAAK,OAAL,EAAJ,EAAoB;AAChB,eAAO,SAAP;AACH;;AACD,UAAI,KAAK,GAAG,KAAK,IAAL,CAAU,KAAV,EAAZ;AACA,WAAK,MAAL,WAAmB,KAAnB;AACA,aAAO,KAAP;AACH;;;;EAtDqB,Y;;;;AA2D1B,eAAQ,iBAAR,CAA0B,eAA1B,EAA2C,WAA3C;;;ACvFA;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;AAEA;;AACA;;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,gBAAT,CAA0B,KAA1B,EAAiC;AAC7B,MAAI,CAAC,oBAAW,KAAX,CAAL,EAAwB;AACpB,UAAM,IAAI,SAAJ,CAAc,uBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,iBAAT,CAA2B,KAA3B,EAAkC;AAC9B,MAAI,CAAC,qBAAY,KAAZ,CAAL,EAAyB;AACrB,UAAM,IAAI,SAAJ,CAAc,0BAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,eAAT,CAAyB,KAAzB,EAAgC;AAC5B,MAAI,CAAC,mBAAU,KAAV,CAAL,EAAuB;AACnB,UAAM,IAAI,SAAJ,CAAc,wBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,cAAT,CAAwB,KAAxB,EAA+B;AAC3B,MAAI,CAAC,kBAAS,KAAT,CAAL,EAAsB;AAClB,UAAM,IAAI,SAAJ,CAAc,uBAAd,CAAN;AACH;AACJ;AAGD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,cAAT,CAAwB,KAAxB,EAA+B;AAC3B,MAAI,CAAC,kBAAS,KAAT,CAAL,EAAsB;AAClB,UAAM,IAAI,SAAJ,CAAc,uBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,gBAAT,CAA0B,KAA1B,EAAiC,QAAjC,EAA2C;AACvC,MAAI,CAAC,oBAAW,KAAX,EAAkB,QAAlB,CAAL,EAAkC;AAC9B,UAAM,IAAI,SAAJ,CAAc,6BAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,aAAT,CAAuB,KAAvB,EAA8B;AAC1B,MAAI,CAAC,iBAAQ,KAAR,CAAL,EAAqB;AACjB,UAAM,IAAI,SAAJ,CAAc,uBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,gBAAT,CAA0B,KAA1B,EAAiC;AAC7B,MAAI,CAAC,oBAAW,KAAX,CAAL,EAAwB;AACpB,UAAM,IAAI,SAAJ,CAAc,yBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,eAAT,CAAyB,KAAzB,EAAgC;AAC5B,MAAI,CAAC,mBAAU,KAAV,CAAL,EAAuB;AACnB,UAAM,IAAI,SAAJ,CAAc,yBAAd,CAAN;AACH;AACJ;;AAED,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,iBAA3C,EAA8D,eAA9D,EAA+E,cAA/E,EAA+F,cAA/F,EAA+G,aAA/G,EAA8H,gBAA9H,EAAgJ,gBAAhJ,EAAkK,eAAlK;;;ACzWA;;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,O;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI,mBAAY,KAAZ,EAAmB,KAAnB,EAA0B,KAA1B,EAAiC;AAAA;;AAAA;;AAC7B;;AAEA,QAAI,OAAO,KAAP,KAAiB,QAAjB,IAA6B,KAAK,KAAK,SAAvC,IAAoD,KAAK,KAAK,SAAlE,EAA6E;AAEzE,UAAI,KAAK,GAAG,KAAK,CAAC,QAAN,GAAiB,KAAjB,CAAuB,GAAvB,CAAZ;AACA,MAAA,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAD,CAAL,IAAY,CAAb,CAAhB;AACA,MAAA,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAD,CAAL,IAAY,CAAb,CAAhB;AACA,MAAA,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAD,CAAL,IAAY,CAAb,CAAhB;AACH;;AAED,QAAI,KAAK,KAAK,SAAd,EAAyB;AACrB,YAAO,IAAI,KAAJ,CAAU,4BAAV,CAAP;AACH;;AAED,QAAI,KAAK,KAAK,SAAd,EAAyB;AACrB,MAAA,KAAK,GAAG,CAAR;AACH;;AAED,QAAI,KAAK,KAAK,SAAd,EAAyB;AACrB,MAAA,KAAK,GAAG,CAAR;AACH;;AAED,UAAK,KAAL,GAAa,QAAQ,CAAC,KAAD,CAArB;AACA,UAAK,KAAL,GAAa,QAAQ,CAAC,KAAD,CAArB;AACA,UAAK,KAAL,GAAa,QAAQ,CAAC,KAAD,CAArB;;AAEA,QAAI,KAAK,CAAC,MAAK,KAAN,CAAT,EAAuB;AACnB,YAAO,IAAI,KAAJ,CAAU,uBAAV,CAAP;AACH;;AAED,QAAI,KAAK,CAAC,MAAK,KAAN,CAAT,EAAuB;AACnB,YAAO,IAAI,KAAJ,CAAU,uBAAV,CAAP;AACH;;AAED,QAAI,KAAK,CAAC,MAAK,KAAN,CAAT,EAAuB;AACnB,YAAO,IAAI,KAAJ,CAAU,uBAAV,CAAP;AACH;;AArC4B;AAuChC;AAED;AACJ;AACA;AACA;;;;;WACI,oBAAW;AACP,aAAO,KAAK,KAAL,GAAa,GAAb,GAAmB,KAAK,KAAxB,GAAgC,GAAhC,GAAsC,KAAK,KAAlD;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;;;;WACI,mBAAU,OAAV,EAAmB;AAEf,UAAI,OAAO,YAAY,OAAvB,EAAgC;AAC5B,QAAA,OAAO,GAAG,OAAO,CAAC,QAAR,EAAV;AACH;;AAED,UAAI,OAAO,OAAP,KAAmB,QAAvB,EAAiC;AAC7B,cAAO,IAAI,KAAJ,CAAU,gBAAV,CAAP;AACH;;AAED,UAAI,OAAO,KAAK,KAAK,QAAL,EAAhB,EAAiC;AAC7B,eAAO,CAAP;AACH;;AAED,UAAI,CAAC,GAAG,CAAC,KAAK,KAAN,EAAa,KAAK,KAAlB,EAAyB,KAAK,KAA9B,CAAR;AACA,UAAI,CAAC,GAAG,OAAO,CAAC,KAAR,CAAc,GAAd,CAAR;AACA,UAAI,GAAG,GAAG,IAAI,CAAC,GAAL,CAAS,CAAC,CAAC,MAAX,EAAmB,CAAC,CAAC,MAArB,CAAV;;AAEA,WAAK,IAAI,CAAC,GAAG,CAAb,EAAgB,CAAC,GAAG,GAApB,EAAyB,CAAC,IAAI,CAA9B,EAAiC;AAC7B,YAAK,CAAC,CAAC,CAAD,CAAD,IAAQ,CAAC,CAAC,CAAC,CAAD,CAAV,IAAiB,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAR,GAAiB,CAAnC,IAA0C,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAR,GAAiB,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAvE,EAAgF;AAC5E,iBAAO,CAAP;AACH,SAFD,MAEO,IAAK,CAAC,CAAC,CAAD,CAAD,IAAQ,CAAC,CAAC,CAAC,CAAD,CAAV,IAAiB,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAR,GAAiB,CAAnC,IAA0C,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAR,GAAiB,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAvE,EAAgF;AACnF,iBAAO,CAAC,CAAR;AACH;AACJ;;AAED,aAAO,CAAP;AACH;;;;EA9FiB,U;;;;AAkGtB,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,OAA3C;;AAGA,IAAI,cAAJ;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAAS,UAAT,GAAsB;AAClB,MAAI,cAAc,YAAY,OAA9B,EAAuC;AACnC,WAAO,cAAP;AACH;AACD;;;AACA,EAAA,cAAc,GAAG,IAAI,OAAJ,CAAY,OAAZ,CAAjB;AACA;;AACA,SAAO,cAAP;AAEH;;AAED,mBAAQ,iBAAR,CAA0B,SAA1B,EAAqC,UAArC;;;ACzLA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,KAAT,CAAe,GAAf,EAAoB;AAEhB;AACA,MAAI,SAAS,GAAb,EAAkB;AACd,WAAO,GAAP;AACH,GALe,CAOhB;;;AACA,MAAI,qBAAY,GAAZ,CAAJ,EAAsB;AAClB,WAAO,GAAP;AACH,GAVe,CAYhB;;;AACA,MAAI,oBAAW,GAAX,CAAJ,EAAqB;AACjB,WAAO,GAAP;AACH,GAfe,CAiBhB;;;AACA,MAAI,iBAAQ,GAAR,CAAJ,EAAkB;AACd,QAAI,IAAI,GAAG,EAAX;;AACA,SAAK,IAAI,CAAC,GAAG,CAAR,EAAW,GAAG,GAAG,GAAG,CAAC,MAA1B,EAAkC,CAAC,GAAG,GAAtC,EAA2C,CAAC,EAA5C,EAAgD;AAC5C,MAAA,IAAI,CAAC,CAAD,CAAJ,GAAU,KAAK,CAAC,GAAG,CAAC,CAAD,CAAJ,CAAf;AACH;;AAED,WAAO,IAAP;AACH;;AAED,MAAI,kBAAS,GAAT,CAAJ,EAAmB;AAGf;AACA,QAAI,GAAG,YAAY,IAAnB,EAAyB;AACrB,UAAI,KAAI,GAAG,IAAI,IAAJ,EAAX;;AACA,MAAA,KAAI,CAAC,OAAL,CAAa,GAAG,CAAC,OAAJ,EAAb;;AACA,aAAO,KAAP;AACH;AAED;;;AACA,QAAI,OAAO,OAAP,KAAmB,WAAnB,IAAkC,GAAG,YAAY,OAArD,EAA8D,OAAO,GAAP;AAC9D,QAAI,OAAO,YAAP,KAAwB,WAAxB,IAAuC,GAAG,YAAY,YAA1D,EAAwE,OAAO,GAAP;AACxE,QAAI,OAAO,gBAAP,KAA4B,WAA5B,IAA2C,GAAG,YAAY,gBAA9D,EAAgF,OAAO,GAAP;AAEhF;;AACA,QAAI,OAAO,aAAP,KAAyB,WAAzB,IAAwC,GAAG,KAAK,aAApD,EAAmE,OAAO,GAAP;AACnE,QAAI,OAAO,MAAP,KAAkB,WAAlB,IAAiC,GAAG,KAAK,MAA7C,EAAqD,OAAO,GAAP;AACrD,QAAI,OAAO,QAAP,KAAoB,WAApB,IAAmC,GAAG,KAAK,QAA/C,EAAyD,OAAO,GAAP;AACzD,QAAI,OAAO,SAAP,KAAqB,WAArB,IAAoC,GAAG,KAAK,SAAhD,EAA2D,OAAO,GAAP;AAC3D,QAAI,OAAO,IAAP,KAAgB,WAAhB,IAA+B,GAAG,KAAK,IAA3C,EAAiD,OAAO,GAAP,CApBlC,CAsBf;;AACA,QAAI;AACA;AACA,UAAI,GAAG,YAAY,KAAnB,EAA0B;AACtB,eAAO,GAAP;AACH;AACJ,KALD,CAKE,OAAO,CAAP,EAAU,CACX;;AAED,WAAO,WAAW,CAAC,GAAD,CAAlB;AAEH;;AAED,QAAM,IAAI,KAAJ,CAAU,gDAAV,CAAN;AACH;AAED;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,WAAT,CAAqB,GAArB,EAA0B;AACtB,MAAI,IAAJ;AAEA;;AACA,MAAI,QAAO,GAAG,CAAC,cAAJ,CAAmB,UAAnB,CAAP,KAAyC,GAAG,CAAC,QAAJ,KAAiB,UAA9D,EAA0E;AACtE,WAAO,GAAG,CAAC,QAAJ,EAAP;AACH;;AAED,EAAA,IAAI,GAAG,EAAP;;AACA,MAAI,OAAO,GAAG,CAAC,WAAX,KAA2B,UAA3B,IACA,OAAO,GAAG,CAAC,WAAJ,CAAgB,IAAvB,KAAgC,UADpC,EACgD;AAC5C,IAAA,IAAI,GAAG,IAAI,GAAG,CAAC,WAAR,EAAP;AACH;;AAED,OAAK,IAAI,GAAT,IAAgB,GAAhB,EAAqB;AAEjB,QAAI,CAAC,GAAG,CAAC,cAAJ,CAAmB,GAAnB,CAAL,EAA8B;AAC1B;AACH;;AAED,QAAI,mBAAQ,KAAR,CAAc,WAAd,CAA0B,GAAG,CAAC,GAAD,CAA7B,CAAJ,EAAyC;AACrC,MAAA,IAAI,CAAC,GAAD,CAAJ,GAAY,GAAG,CAAC,GAAD,CAAf;AACA;AACH;;AAED,IAAA,IAAI,CAAC,GAAD,CAAJ,GAAY,KAAK,CAAC,GAAG,CAAC,GAAD,CAAJ,CAAjB;AACH;;AAED,SAAO,IAAP;AACH;;AAED,mBAAQ,iBAAR,CAA0B,cAA1B,EAA0C,KAA1C;;;ACpJA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,U;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACA;AACI,sBAAY,QAAZ,EAAsB;AAAA;;AAAA;;AAClB;;AAEA,QAAI,oBAAW,QAAX,CAAJ,EAA0B;AACtB,YAAK,OAAL,GAAe,QAAf;AACH,KAFD,MAEO,IAAI,QAAQ,KAAK,SAAjB,EAA4B;AAC/B,YAAM,IAAI,SAAJ,CAAc,kBAAd,CAAN;AACH,KAFM,MAEA;AACH;AACA,YAAK,OAAL,GAAe,UAAU,CAAV,EAAa,CAAb,EAAgB;AAE3B,YAAI,QAAO,CAAP,cAAoB,CAApB,CAAJ,EAA2B;AACvB,gBAAM,IAAI,SAAJ,CAAc,wBAAd,CAAN;AACH;;AAED,YAAI,CAAC,KAAK,CAAV,EAAa;AACT,iBAAO,CAAP;AACH;;AACD,eAAO,CAAC,GAAG,CAAJ,GAAQ,CAAC,CAAT,GAAa,CAApB;AACH,OAVD;AAWH;;AApBiB;AAsBrB;AAED;AACJ;AACA;AACA;AACA;;;;;WACI,mBAAU;AACN,UAAM,QAAQ,GAAG,KAAK,OAAtB;;AACA,WAAK,OAAL,GAAe,UAAC,CAAD,EAAI,CAAJ;AAAA,eAAU,QAAQ,CAAC,CAAD,EAAI,CAAJ,CAAlB;AAAA,OAAf;;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,eAAM,CAAN,EAAS,CAAT,EAAY;AACR,aAAO,KAAK,OAAL,CAAa,CAAb,EAAgB,CAAhB,MAAuB,CAA9B;AACH;AAGD;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,qBAAY,CAAZ,EAAe,CAAf,EAAkB;AACd,aAAO,KAAK,OAAL,CAAa,CAAb,EAAgB,CAAhB,IAAqB,CAA5B;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,4BAAmB,CAAnB,EAAsB,CAAtB,EAAyB;AACrB,aAAO,KAAK,WAAL,CAAiB,CAAjB,EAAoB,CAApB,KAA0B,KAAK,KAAL,CAAW,CAAX,EAAc,CAAd,CAAjC;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,yBAAgB,CAAhB,EAAmB,CAAnB,EAAsB;AAClB,aAAO,KAAK,QAAL,CAAc,CAAd,EAAiB,CAAjB,KAAuB,KAAK,KAAL,CAAW,CAAX,EAAc,CAAd,CAA9B;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,kBAAS,CAAT,EAAY,CAAZ,EAAe;AACX,aAAO,KAAK,OAAL,CAAa,CAAb,EAAgB,CAAhB,IAAqB,CAA5B;AACH;;;;EAvGoB,U;;;;AA4GzB,cAAQ,iBAAR,CAA0B,cAA1B,EAA0C,UAA1C;;;AC/JA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAT,CAAoB,MAApB,EAA4B;AAExB,gCAAe,MAAf,EAFwB,CAIxB;;AACA,MAAI,SAAS,GAAG,MAAM,CAAC,mBAAP,CAA2B,MAA3B,CAAhB,CALwB,CAOxB;;AAPwB,6CAQP,SARO;AAAA;;AAAA;AAQxB,wDAA4B;AAAA,UAAnB,IAAmB;AACxB,UAAI,KAAK,GAAG,MAAM,CAAC,IAAD,CAAlB;AAEA,MAAA,MAAM,CAAC,IAAD,CAAN,GAAe,KAAK,IAAI,QAAO,KAAP,MAAiB,QAA1B,GACX,UAAU,CAAC,KAAD,CADC,GACS,KADxB;AAEH;AAbuB;AAAA;AAAA;AAAA;AAAA;;AAexB,SAAO,MAAM,CAAC,MAAP,CAAc,MAAd,CAAP;AACH;;AAED,mBAAQ,iBAAR,CAA0B,cAA1B,EAA0C,UAA1C", + "mappings": "AAAA;ACAA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,kB;;;;;AAEF;AACJ;AACA;AACI,gCAAc;AAAA;;AAAA;AAEb;AAED;AACJ;AACA;AACA;AACA;AACA;;;;;WACI,iBAAQ,KAAR,EAAe;AACX,aAAO,OAAO,CAAC,MAAR,CAAe,KAAf,CAAP;AACH;;;;EAjB4B,U;;;;AAoBjC,mBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,kBAAjD;;;ACvCA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,gB;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,4BAAY,QAAZ,EAAsB,QAAtB,EAAgC;AAAA;;AAAA;;AAC5B;;AAEA,QAAI,EAAE,QAAQ,YAAY,4BAAtB,KAA6C,EAAE,QAAQ,YAAY,4BAAtB,CAAjD,EAA4F;AACxF,YAAM,IAAI,SAAJ,CAAc,iDAAd,CAAN;AACH;;AAED,UAAK,QAAL,GAAgB,QAAhB;AACA,UAAK,QAAL,GAAgB,QAAhB;AAR4B;AAU/B;;;EAlB0B,4B;;;;AAuB/B,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,gBAAjD;;;ACtCA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,W;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,aAAO,OAAO,CAAC,GAAR,CAAY,CAAC,KAAK,QAAL,CAAc,OAAd,CAAsB,KAAtB,CAAD,EAA+B,KAAK,QAAL,CAAc,OAAd,CAAsB,KAAtB,CAA/B,CAAZ,CAAP;AACH;;;;EAVqB,kC;;;;AAc1B,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,WAAjD;;;AC/CA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,O;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,aAAO,OAAO,CAAC,MAAR,CAAe,KAAf,CAAP;AACH;;;;EAViB,4B;;;;AActB,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,OAAjD;;;AC/CA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,O;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,UAAG,iBAAQ,KAAR,CAAH,EAAmB;AACf,eAAO,OAAO,CAAC,OAAR,CAAgB,KAAhB,CAAP;AACH;;AAED,aAAO,OAAO,CAAC,MAAR,CAAe,KAAf,CAAP;AACH;;;;EAdiB,4B;;;;AAkBtB,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,OAAjD;;;AClDA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,Q;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,eAAO,OAAO,CAAC,OAAR,CAAgB,KAAhB,CAAP;AACH;;AAED,aAAO,OAAO,CAAC,MAAR,CAAe,KAAf,CAAP;AACH;;;;EAdkB,4B;;;;AAkBvB,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,QAAjD;;;AClDA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,U;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,UAAI,IAAI,GAAG,IAAX;AAEA,aAAO,IAAI,OAAJ,CAAY,UAAU,OAAV,EAAmB,MAAnB,EAA2B;AAC1C,YAAI,CAAJ,EAAO,CAAP;AAEA,QAAA,IAAI,CAAC,QAAL,CAAc,OAAd,CAAsB,KAAtB,EACK,IADL,CACU,YAAY;AACd,UAAA,OAAO;AACV,SAHL,WAGa,YAAY;AACrB,UAAA,CAAC,GAAG,KAAJ;AACA;;AACA,cAAI,CAAC,KAAK,KAAV,EAAiB;AACb,YAAA,MAAM;AACT;AACJ,SATD;AAWA,QAAA,IAAI,CAAC,QAAL,CAAc,OAAd,CAAsB,KAAtB,EACK,IADL,CACU,YAAY;AACd,UAAA,OAAO;AACV,SAHL,WAGa,YAAY;AACrB,UAAA,CAAC,GAAG,KAAJ;AACA;;AACA,cAAI,CAAC,KAAK,KAAV,EAAiB;AACb,YAAA,MAAM;AACT;AACJ,SATD;AAUH,OAxBM,CAAP;AAyBH;;;;EApCoB,kC;;;;AAyCzB,0BAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,UAAjD;;;ACzEA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,K;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAQ,KAAR,EAAe;AACX,aAAO,OAAO,CAAC,OAAR,CAAgB,KAAhB,CAAP;AACH;;;;EAVe,4B;;;;AAcpB,kBAAQ,iBAAR,CAA0B,qBAA1B,EAAiD,KAAjD;;;AC/CA;AAEA;AACA;AACA;;;;;;;;;;;;;AAGA;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,IAAT,CAAc,KAAd,EAAqB,MAArB,EAA6B;AACzB,SAAO,MAAM,CAAC,KAAD,EAAQ,MAAR,CAAb;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,OAAT,CAAiB,CAAjB,EAAoB,CAApB,EAAuB,IAAvB,EAA6B;AACzB,MAAI,iBAAQ,IAAR,CAAJ,EAAmB;AACf,QAAM,IAAI,GAAG,CAAC,CAAC,MAAF,GAAW,CAAC,CAAC,MAAb,GAAsB,IAAI,KAAJ,CAAU,CAAC,CAAC,MAAZ,CAAtB,GAA4C,IAAI,KAAJ,CAAU,CAAC,CAAC,MAAZ,CAAzD;AACA,IAAA,IAAI,CAAC,IAAL,CAAU,CAAV;AACA,WAAO,IAAI,GAAJ,CAAQ,IAAI,CAAC,GAAL,CAAS,UAAC,CAAD,EAAI,CAAJ;AAAA,aAAU,CAAV;AAAA,KAAT,CAAR,CAAP;AACH;;AAED,SAAO,IAAI,GAAJ,CAAQ,MAAM,CAAC,IAAP,CAAY,CAAZ,EAAe,MAAf,CAAsB,MAAM,CAAC,IAAP,CAAY,CAAZ,CAAtB,CAAR,CAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,MAAT,CAAgB,CAAhB,EAAmB,CAAnB,EAAsB,IAAtB,EAA4B,IAA5B,EAAkC;AAE9B,MAAI,KAAK,WAAU,CAAV,CAAT;;AACA,MAAI,KAAK,WAAU,CAAV,CAAT;;AAEA,MAAM,QAAQ,GAAG,IAAI,IAAI,EAAzB;AACA,MAAM,QAAQ,GAAG,IAAI,IAAI,EAAzB;;AAEA,MAAI,KAAK,KAAK,KAAV,IAAmB,KAAK,KAAK,QAAjC,EAA2C;AAAE;AAEzC,IAAA,OAAO,CAAC,CAAD,EAAI,CAAJ,EAAO,KAAP,CAAP,CAAqB,OAArB,CAA6B,UAAC,CAAD,EAAO;AAEhC,UAAI,CAAE,MAAM,CAAC,SAAP,CAAiB,cAAjB,CAAgC,IAAhC,CAAqC,CAArC,EAAwC,CAAxC,CAAN,EAAmD;AAC/C,QAAA,QAAQ,CAAC,IAAT,CAAc,WAAW,CAAC,CAAC,CAAC,CAAD,CAAF,EAAO,CAAC,CAAC,CAAD,CAAR,EAAa,KAAb,EAAoB,QAAQ,CAAC,MAAT,CAAgB,CAAhB,CAApB,CAAzB;AACH,OAFD,MAEO,IAAI,CAAE,MAAM,CAAC,SAAP,CAAiB,cAAjB,CAAgC,IAAhC,CAAqC,CAArC,EAAwC,CAAxC,CAAN,EAAmD;AACtD,QAAA,QAAQ,CAAC,IAAT,CAAc,WAAW,CAAC,CAAC,CAAC,CAAD,CAAF,EAAO,CAAC,CAAC,CAAD,CAAR,EAAa,QAAb,EAAuB,QAAQ,CAAC,MAAT,CAAgB,CAAhB,CAAvB,CAAzB;AACH,OAFM,MAEA;AACH,QAAA,MAAM,CAAC,CAAC,CAAC,CAAD,CAAF,EAAO,CAAC,CAAC,CAAD,CAAR,EAAa,QAAQ,CAAC,MAAT,CAAgB,CAAhB,CAAb,EAAiC,QAAjC,CAAN;AACH;AACJ,KATD;AAWH,GAbD,MAaO;AAEH,QAAM,CAAC,GAAG,WAAW,CAAC,CAAD,EAAI,CAAJ,EAAO,KAAP,EAAc,KAAd,CAArB;;AACA,QAAI,CAAC,KAAK,SAAV,EAAqB;AACjB,MAAA,QAAQ,CAAC,IAAT,CAAc,WAAW,CAAC,CAAD,EAAI,CAAJ,EAAO,CAAP,EAAU,IAAV,CAAzB;AACH;AAEJ;;AAED,SAAO,QAAP;AAEH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,WAAT,CAAqB,CAArB,EAAwB,CAAxB,EAA2B,QAA3B,EAAqC,IAArC,EAA2C;AAEvC,MAAM,MAAM,GAAG;AACX,IAAA,QAAQ,EAAR,QADW;AAEX,IAAA,IAAI,EAAJ;AAFW,GAAf;;AAKA,MAAI,QAAQ,KAAK,KAAjB,EAAwB;AACpB,IAAA,MAAM,CAAC,KAAP,GAAe;AACX,MAAA,KAAK,EAAE,CADI;AAEX,MAAA,IAAI,UAAS,CAAT;AAFO,KAAf;;AAKA,QAAI,kBAAS,CAAT,CAAJ,EAAiB;AAAA;;AACb,UAAM,IAAI,4BAAG,MAAM,CAAC,cAAP,CAAsB,CAAtB,CAAH,oFAAG,sBAA0B,WAA7B,2DAAG,uBAAuC,IAApD;;AACA,UAAI,IAAI,KAAK,SAAb,EAAwB;AACpB,QAAA,MAAM,CAAC,KAAP,CAAa,QAAb,GAAwB,IAAxB;AACH;AACJ;AACJ;;AAED,MAAI,QAAQ,KAAK,KAAb,IAAsB,QAAQ,KAAK,QAAvC,EAAiD;AAC7C,IAAA,MAAM,CAAC,MAAP,GAAgB;AACZ,MAAA,KAAK,EAAE,CADK;AAEZ,MAAA,IAAI,UAAS,CAAT;AAFQ,KAAhB;;AAKA,QAAI,kBAAS,CAAT,CAAJ,EAAiB;AAAA;;AACb,UAAM,KAAI,6BAAG,MAAM,CAAC,cAAP,CAAsB,CAAtB,CAAH,qFAAG,uBAA0B,WAA7B,2DAAG,uBAAuC,IAApD;;AACA,UAAI,KAAI,KAAK,SAAb,EAAwB;AACpB,QAAA,MAAM,CAAC,MAAP,CAAc,QAAd,GAAyB,KAAzB;AACH;AACJ;AAEJ;;AAED,SAAO,MAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,UAAT,CAAoB,CAApB,EAAuB,CAAvB,EAA0B;AAEtB,MAAI,QAAO,CAAP,cAAoB,CAApB,CAAJ,EAA2B;AACvB,WAAO,IAAP;AACH;;AAED,MAAI,CAAC,YAAY,IAAb,IAAqB,CAAC,YAAY,IAAtC,EAA4C;AACxC,WAAO,CAAC,CAAC,OAAF,OAAgB,CAAC,CAAC,OAAF,EAAvB;AACH;;AAED,SAAO,CAAC,KAAK,CAAb;AACH;AAED;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,WAAT,CAAqB,CAArB,EAAwB,CAAxB,EAA2B;AAEvB;AACJ;AACA;AACI,MAAI,QAAJ;AAEA;AACJ;AACA;;AACI,MAAI,KAAK,WAAU,CAAV,CAAT;AAEA;AACJ;AACA;;;AACI,MAAI,KAAK,WAAU,CAAV,CAAT;;AAEA,MAAI,KAAK,KAAK,WAAV,IAAyB,KAAK,KAAK,WAAvC,EAAoD;AAChD,IAAA,QAAQ,GAAG,KAAX;AACH,GAFD,MAEO,IAAI,KAAK,KAAK,WAAV,IAAyB,KAAK,KAAK,WAAvC,EAAoD;AACvD,IAAA,QAAQ,GAAG,QAAX;AACH,GAFM,MAEA,IAAI,UAAU,CAAC,CAAD,EAAI,CAAJ,CAAd,EAAsB;AACzB,IAAA,QAAQ,GAAG,QAAX;AACH;;AAED,SAAO,QAAP;AAEH;;AAED,YAAQ,iBAAR,CAA0B,cAA1B,EAA0C,IAA1C;;;ACvPA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAM,SAAS,GAAG,GAAlB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;IACM,U;;;;;AAEF;AACJ;AACA;AACA;AACI,sBAAY,MAAZ,EAAoB;AAAA;;AAAA;;AAChB;AACA,UAAK,MAAL,GAAc,MAAd;AAFgB;AAGnB;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;WACI,gBAAO,IAAP,EAAa;AACT,oCAAe,IAAf;AACA,aAAO,eAAe,CAAC,KAAK,MAAN,EAAc,IAAd,CAAtB;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,gBAAO,IAAP,EAAa,KAAb,EAAoB;AAChB,oCAAe,IAAf;AACA,MAAA,eAAe,CAAC,KAAK,MAAN,EAAc,IAAd,EAAoB,KAApB,CAAf;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,mBAAU,IAAV,EAAgB;AACZ,oCAAe,IAAf;AACA,MAAA,kBAAkB,CAAC,KAAK,MAAN,EAAc,IAAd,CAAlB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,gBAAO,IAAP,EAAa;AACT,oCAAe,IAAf;;AACA,UAAI;AACA,QAAA,eAAe,CAAC,KAAK,MAAN,EAAc,IAAd,EAAoB,IAApB,CAAf;AACA,eAAO,IAAP;AACH,OAHD,CAGE,OAAO,CAAP,EAAU,CAEX;;AAED,aAAO,KAAP;AACH;;;;EAhFoB,U;;;;AAoFzB,mBAAQ,iBAAR,CAA0B,cAA1B,EAA0C,UAA1C;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,eAAT,CAAyB,MAAzB,EAAiC,IAAjC,EAAuC,KAAvC,EAA8C;AAE1C,MAAI,IAAI,KAAK,EAAb,EAAiB;AACb,WAAO,MAAP;AACH;;AAED,MAAI,KAAK,GAAG,IAAI,CAAC,KAAL,CAAW,SAAX,CAAZ;AACA,MAAI,OAAO,GAAG,KAAK,CAAC,KAAN,EAAd;;AAEA,MAAI,kBAAS,MAAT,KAAoB,iBAAQ,MAAR,CAAxB,EAAyC;AAErC,QAAI,MAAJ;;AACA,QAAI,MAAM,YAAY,GAAlB,IAAyB,MAAM,YAAY,OAA/C,EAAwD;AACpD,MAAA,MAAM,GAAG,MAAM,CAAC,GAAP,CAAW,OAAX,CAAT;AAEH,KAHD,MAGO,IAAI,MAAM,YAAY,GAAlB,IAAyB,MAAM,YAAY,OAA/C,EAAwD;AAAA;;AAC3D,MAAA,OAAO,GAAG,QAAQ,CAAC,OAAD,CAAlB;AACA,qCAAgB,OAAhB;AACA,MAAA,MAAM,8BAAO,MAAP,0CAAG,KAAc,OAAd,CAAT;AAEH,KALM,MAKA,IAAI,MAAM,YAAY,OAAtB,EAA+B;AAClC,YAAM,KAAK,CAAC,uCAAD,CAAX;AAEH,KAHM,MAGA,IAAI,iBAAQ,MAAR,CAAJ,EAAqB;AACxB,MAAA,OAAO,GAAG,QAAQ,CAAC,OAAD,CAAlB;AACA,qCAAgB,OAAhB;AACA,MAAA,MAAM,GAAG,MAAH,aAAG,MAAH,uBAAG,MAAM,CAAG,OAAH,CAAf;AACH,KAJM,MAIA;AACH,MAAA,MAAM,GAAG,MAAH,aAAG,MAAH,uBAAG,MAAM,CAAG,OAAH,CAAf;AACH;;AAED,QAAI,kBAAS,MAAT,KAAoB,iBAAQ,MAAR,CAAxB,EAAyC;AACrC,aAAO,eAAe,CAAC,MAAD,EAAS,KAAK,CAAC,IAAN,CAAW,SAAX,CAAT,EAAgC,KAAhC,CAAtB;AACH;;AAED,QAAI,KAAK,CAAC,MAAN,GAAe,CAAnB,EAAsB;AAClB,YAAM,KAAK,CAAC,oCAAoC,KAAK,CAAC,IAAN,CAAW,SAAX,CAApC,GAA4D,GAA7D,CAAX;AACH;;AAED,QAAI,KAAK,KAAK,IAAV,IAAkB,CAAC,MAAM,CAAC,cAAP,CAAsB,OAAtB,CAAvB,EAAuD;AACnD,YAAM,KAAK,CAAC,eAAD,CAAX;AACH;;AAED,WAAO,MAAP;AAEH;;AAED,QAAM,SAAS,CAAC,kBAAD,CAAf;AAEH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,eAAT,CAAyB,MAAzB,EAAiC,IAAjC,EAAuC,KAAvC,EAA8C;AAE1C,MAAI,KAAK,GAAG,IAAI,CAAC,KAAL,CAAW,SAAX,CAAZ;AACA,MAAI,IAAI,GAAG,KAAK,CAAC,GAAN,EAAX;AACA,MAAI,OAAO,GAAG,KAAK,CAAC,IAAN,CAAW,SAAX,CAAd;AAEA,MAAI,KAAK,GAAG,IAAI,YAAJ,EAAZ;AACA,MAAI,OAAO,GAAG,OAAd;;AACA,SAAO,IAAP,EAAa;AAET,QAAI;AACA,MAAA,eAAe,CAAC,MAAD,EAAS,OAAT,EAAkB,IAAlB,CAAf;AACA;AACH,KAHD,CAGE,OAAO,CAAP,EAAU,CAEX;;AAED,IAAA,KAAK,CAAC,IAAN,CAAW,OAAX;AACA,IAAA,KAAK,CAAC,GAAN;AACA,IAAA,OAAO,GAAG,KAAK,CAAC,IAAN,CAAW,SAAX,CAAV;AAEA,QAAI,OAAO,KAAK,EAAhB,EAAoB;AACvB;;AAED,SAAO,CAAC,KAAK,CAAC,OAAN,EAAR,EAAyB;AACrB,IAAA,OAAO,GAAG,KAAK,CAAC,GAAN,EAAV;AACA,QAAI,GAAG,GAAG,EAAV;;AAEA,QAAI,CAAC,KAAK,CAAC,OAAN,EAAL,EAAsB;AAClB,UAAI,CAAC,GAAG,KAAK,CAAC,IAAN,GAAa,KAAb,CAAmB,SAAnB,EAA8B,GAA9B,EAAR;;AACA,UAAI,mBAAU,QAAQ,CAAC,CAAD,CAAlB,CAAJ,EAA4B;AACxB,QAAA,GAAG,GAAG,EAAN;AACH;AAEJ;;AAGD,IAAA,eAAe,CAAC,MAAD,EAAS,OAAT,EAAkB,GAAlB,CAAf;AACH;;AAED,MAAI,MAAM,GAAG,eAAe,CAAC,MAAD,EAAS,OAAT,CAA5B;;AAEA,MAAI,CAAC,kBAAS,MAAT,CAAD,IAAqB,CAAC,iBAAQ,MAAR,CAA1B,EAA2C;AACvC,UAAM,SAAS,CAAC,+BAA8B,MAA9B,CAAD,CAAf;AACH;;AAED,MAAI,MAAM,YAAY,GAAlB,IAAyB,MAAM,YAAY,OAA/C,EAAwD;AACpD,IAAA,MAAM,CAAC,GAAP,CAAW,IAAX,EAAiB,KAAjB;AACH,GAFD,MAEO,IAAI,MAAM,YAAY,GAAlB,IAAyB,MAAM,YAAY,OAA/C,EAAwD;AAC3D,IAAA,MAAM,CAAC,MAAP,CAAc,KAAd;AAEH,GAHM,MAGA,IAAI,MAAM,YAAY,OAAtB,EAA+B;AAClC,UAAM,KAAK,CAAC,uCAAD,CAAX;AAEH,GAHM,MAGA,IAAI,iBAAQ,MAAR,CAAJ,EAAqB;AACxB,IAAA,IAAI,GAAG,QAAQ,CAAC,IAAD,CAAf;AACA,mCAAgB,IAAhB;AACA,IAAA,MAAM,CAAC,IAAD,CAAN,GAAe,KAAf;AACH,GAJM,MAIA;AACH,IAAA,MAAM,CAAC,IAAD,CAAN,GAAe,KAAf;AACH;;AAED;AAEH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,kBAAT,CAA4B,MAA5B,EAAoC,IAApC,EAA0C;AAEtC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAL,CAAW,SAAX,CAAd;AACA,MAAI,IAAI,GAAG,KAAK,CAAC,GAAN,EAAX;AACA,MAAM,OAAO,GAAG,KAAK,CAAC,IAAN,CAAW,SAAX,CAAhB;AAEA,MAAM,MAAM,GAAG,eAAe,CAAC,IAAhB,CAAqB,IAArB,EAA2B,MAA3B,EAAmC,OAAnC,CAAf;;AAEA,MAAI,MAAM,YAAY,GAAtB,EAA2B;AACvB,IAAA,MAAM,UAAN,CAAc,IAAd;AACH,GAFD,MAEO,IAAI,MAAM,YAAY,GAAlB,IAAyB,MAAM,YAAY,OAA3C,IAAsD,MAAM,YAAY,OAAxE,IAAmF,MAAM,YAAY,OAAzG,EAAkH;AACrH,UAAM,KAAK,CAAC,uCAAD,CAAX;AAEH,GAHM,MAGA,IAAI,iBAAQ,MAAR,CAAJ,EAAqB;AACxB,IAAA,IAAI,GAAG,QAAQ,CAAC,IAAD,CAAf;AACA,mCAAgB,IAAhB;AACA,WAAO,MAAM,CAAC,IAAD,CAAb;AACH,GAJM,MAIA;AACH,WAAO,MAAM,CAAC,IAAD,CAAb;AACH;;AAED;AAEH;;;ACpVD;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAM,SAAS,GAAG,GAAlB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;IACM,I;;;;;AAEF;AACJ;AACA;AACA;AACA;AACI,gBAAY,IAAZ,EAAkB;AAAA;;AAAA;;AACd;AACA,kCAAe,IAAf;AACA,UAAK,IAAL,GAAY,IAAI,CAAC,KAAL,CAAW,SAAX,EAAsB,GAAtB,CAA0B,UAAC,CAAD,EAAO;AACzC,aAAO,IAAI,wBAAJ,CAAgB,CAAhB,CAAP;AACH,KAFW,CAAZ;AAHc;AAOjB;AAED;AACJ;AACA;AACA;AACA;AACA;;;;;WACI,aAAI,KAAJ,EAAW;AACP,aAAO,KAAK,IAAL,CAAU,MAAV,CAAiB,UAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,EAA0C,KAA1C,EAAoD;AACxE,eAAO,YAAY,CAAC,GAAb,CAAiB,WAAjB,CAAP;AACH,OAFM,EAEJ,KAFI,CAAP;AAGH;;;;EA1Bc,U;;;;AA6BnB,mBAAQ,iBAAR,CAA0B,cAA1B,EAA0C,IAA1C;;;ACvFA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,W;;;;;AACF;AACJ;AACA;AACA;AACI,uBAAY,UAAZ,EAAwB;AAAA;;AAAA;;AACpB;AACA,kCAAe,UAAf;AAEA,UAAK,IAAL,GAAY,WAAW,CAAC,UAAD,CAAvB;AACA,UAAK,OAAL,GAAe,MAAK,IAAL,CAAU,KAAV,EAAf;AACA,UAAK,SAAL,GAAiB,IAAI,GAAJ,EAAjB;AANoB;AAQvB;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;;WACI,qBAAY,IAAZ,EAAkB,QAAlB,EAA4B;AACxB,oCAAe,IAAf;AACA,sCAAiB,QAAjB;AACA,WAAK,SAAL,CAAe,GAAf,CAAmB,IAAnB,EAAyB,QAAzB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,aAAI,KAAJ,EAAW;AACP,aAAO,SAAS,CAAC,KAAV,CAAgB,IAAhB,EAAsB,CAAC,KAAD,CAAtB,CAAP;AACH;;;;EAxCqB,U;;;;AA2C1B,mBAAQ,iBAAR,CAA0B,cAA1B,EAA0C,WAA1C;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAT,CAAqB,OAArB,EAA8B;AAE1B,gCAAe,OAAf;AAEA,MAAI,WAAW,GAAG,IAAI,GAAJ,EAAlB;;AACA,MAAM,KAAK,4BAAG,iBAAH;AAAA;AAAA;AAAA,IAAX,CAL0B,CAO1B;AACA;;;AACA,MAAI,MAAM,GAAG,OAAO,CAAC,QAAR,CAAiB,KAAjB,CAAb;;AAT0B,6CAWZ,MAXY;AAAA;;AAAA;AAW1B,wDAAsB;AAAA,UAAb,CAAa;AAClB,UAAI,CAAC,GAAC,CAAD,aAAC,CAAD,uBAAC,CAAC,CAAG,QAAH,CAAP;;AACA,UAAG,CAAC,kBAAS,CAAT,CAAJ,EAAiB;AACb;AACH;;AAED,UAAI,CAAC,GAAC,CAAD,aAAC,CAAD,uBAAC,CAAC,CAAG,SAAH,CAAP;AACA,UAAI,CAAC,GAAC,CAAD,aAAC,CAAD,uBAAC,CAAC,CAAG,MAAH,CAAP;;AAEA,UAAG,CAAC,IAAE,CAAN,EAAS;AACL,YAAI,CAAC,GAAC,OAAK,IAAI,MAAJ,GAAS,QAAT,EAAL,GAAyB,IAA/B;AACA,QAAA,WAAW,CAAC,GAAZ,CAAgB,CAAhB,EAAmB,CAAnB;AACA,QAAA,OAAO,GAAC,OAAO,CAAC,OAAR,CAAgB,CAAhB,EAAkB,CAAlB,CAAR;AACH;AAEJ;AA1ByB;AAAA;AAAA;AAAA;AAAA;;AA2B1B,MAAI,KAAK,GAAG,OAAO,CAAC,KAAR,CAAc,GAAd,CAAZ;AAEA,EAAA,KAAK,GAAG,KAAK,CAAC,GAAN,CAAU,UAAU,KAAV,EAAiB;AAC/B,QAAI,CAAC,GAAI,KAAK,CAAC,IAAN,EAAT;;AAD+B,gDAElB,WAFkB;AAAA;;AAAA;AAE/B,6DAA0B;AAAA,YAAlB,CAAkB;AACvB,QAAA,CAAC,GAAE,CAAC,CAAC,OAAF,CAAU,CAAC,CAAC,CAAD,CAAX,EAAgB,CAAC,CAAC,CAAD,CAAjB,CAAH;AACF;AAJ8B;AAAA;AAAA;AAAA;AAAA;;AAK/B,WAAO,CAAP;AAGH,GARO,CAAR;AAUA,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,eAAT,CAAyB,KAAzB,EAAgC;AAE5B,MAAI,kBAAS,KAAT,KAAmB,KAAK,CAAC,cAAN,CAAqB,UAArB,CAAvB,EAAyD;AACrD,IAAA,KAAK,GAAG,KAAK,CAAC,QAAN,EAAR;AACH;;AAED,gCAAe,KAAf;AACA,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,SAAT,CAAmB,KAAnB,EAA0B;AAEtB,MAAI,IAAI,GAAG,kBAAM,KAAK,IAAX,CAAX;AACA,MAAI,GAAJ;;AAEA,UAAQ,KAAK,OAAb;AAEI,SAAK,QAAL;AACI,aAAO,KAAK,IAAL,CAAU,IAAV,CAAe,GAAf,CAAP;;AAEJ,SAAK,SAAL;AACA,SAAK,YAAL;AACA,SAAK,aAAL;AACI,oCAAe,KAAf;AACA,aAAO,KAAK,CAAC,WAAN,EAAP;;AAEJ,SAAK,SAAL;AACA,SAAK,YAAL;AACA,SAAK,aAAL;AACI,oCAAe,KAAf;AACA,aAAO,KAAK,CAAC,WAAN,EAAP;;AAEJ,SAAK,UAAL;AACI,aAAO,KAAK,KAAZ;;AAEJ,SAAK,WAAL;AACI,UAAI,CAAC,GAAG,QAAQ,CAAC,KAAD,CAAhB;AACA,qCAAgB,CAAhB;AACA,aAAO,CAAP;;AAEJ,SAAK,MAAL;AACI,oCAAe,KAAf;AACA,aAAO,KAAK,CAAC,IAAN,EAAP;;AAEJ,SAAK,cAAL;AACI,oCAAe,KAAf;AACA,aAAO,kBAAkB,CAAC,KAAD,CAAlB,CACF,OADE,CACM,IADN,EACY,KADZ,EAEF,OAFE,CAEM,IAFN,EAEY,KAFZ,EAGF,OAHE,CAGM,KAHN,EAGa,KAHb,EAIF,OAJE,CAIM,KAJN,EAIa,KAJb,EAKF,OALE,CAKM,KALN,EAKa,KALb,CAAP;;AAQJ,SAAM,MAAN;AAEI;AACZ;AACA;AACA;AACA;AACA;AAEY,UAAI,QAAJ;AACA,UAAI,YAAY,GAAG,IAAI,CAAC,KAAL,EAAnB;;AAEA,UAAI,kBAAS,KAAT,KAAmB,KAAK,CAAC,cAAN,CAAqB,YAArB,CAAvB,EAA2D;AACvD,QAAA,QAAQ,GAAG,KAAK,CAAC,YAAD,CAAhB;AACH,OAFD,MAEO,IAAI,KAAK,SAAL,CAAe,GAAf,CAAmB,YAAnB,CAAJ,EAAsC;AACzC,QAAA,QAAQ,GAAG,KAAK,SAAL,CAAe,GAAf,CAAmB,YAAnB,CAAX;AACH,OAFM,MAEA,IAAI,QAAO,MAAP,yCAAO,MAAP,OAAkB,QAAlB,IAA8B,MAAM,CAAC,cAAP,CAAsB,YAAtB,CAAlC,EAAuE;AAC1E,QAAA,QAAQ,GAAG,MAAM,CAAC,YAAD,CAAjB;AACH;;AACD,sCAAiB,QAAjB;AAEA,MAAA,IAAI,CAAC,OAAL,CAAa,KAAb;AACA,aAAO,QAAQ,MAAR,4BAAY,IAAZ,EAAP;;AAEJ,SAAM,OAAN;AACA,SAAM,WAAN;AACI,oCAAe,KAAf;AACA,UAAI,GAAG,GAAG,IAAI,SAAJ,GAAgB,eAAhB,CAAgC,KAAhC,EAAuC,WAAvC,CAAV;AACA,aAAO,GAAG,CAAC,IAAJ,CAAS,WAAT,IAAwB,EAA/B;;AAEJ,SAAM,IAAN;AACA,SAAM,GAAN;AAEI,uCAAkB,KAAlB;AAEA,UAAI,aAAa,GAAI,IAAI,CAAC,KAAL,MAAgB,SAArC;AACA,UAAI,cAAc,GAAI,IAAI,CAAC,KAAL,MAAgB,SAAtC;;AAEA,UAAI,aAAa,KAAK,OAAtB,EAA+B;AAC3B,QAAA,aAAa,GAAG,KAAhB;AACH;;AACD,UAAI,aAAa,KAAK,SAAtB,EAAiC;AAC7B,QAAA,aAAa,GAAG,OAAhB;AACH;;AACD,UAAI,cAAc,KAAK,OAAvB,EAAgC;AAC5B,QAAA,cAAc,GAAG,KAAjB;AACH;;AACD,UAAI,cAAc,KAAK,SAAvB,EAAkC;AAC9B,QAAA,cAAc,GAAG,OAAjB;AACH;;AAED,UAAI,SAAS,GAAK,KAAK,KAAK,SAAV,IAAuB,KAAK,KAAK,EAAjC,IAAuC,KAAK,KAAK,KAAjD,IAA0D,KAAK,KAAK,OAApE,IAA+E,KAAK,KAAK,KAA1F,IAAoG,KAAK,KAAK,IAA9G,IAAsH,KAAK,KAAK,MAAhI,IAA0I,KAAK,KAAK,IAArK;AACA,aAAO,SAAS,GAAG,aAAH,GAAmB,cAAnC;;AAGJ,SAAK,SAAL;AACI,oCAAe,KAAf;AAEA,UAAI,SAAS,GAAG,KAAK,CAAC,MAAN,CAAa,CAAb,EAAgB,WAAhB,EAAhB;AACA,aAAO,SAAS,GAAG,KAAK,CAAC,MAAN,CAAa,CAAb,CAAnB;;AACJ,SAAK,SAAL;AACI,oCAAe,KAAf;AAEA,aAAO,KAAK,CAAC,OAAN,CAAc,gDAAd,EAAgE,UAAU,CAAV,EAAa;AAChF,eAAO,CAAC,CAAC,WAAF,EAAP;AACH,OAFM,CAAP;;AAIJ,SAAM,OAAN;AACA,SAAM,QAAN;AAEI,UAAI,CAAC,kBAAS,KAAT,KAAmB,kBAAS,KAAT,CAAnB,IAAsC,iBAAQ,KAAR,CAAvC,KAA0D,KAAK,CAAC,cAAN,CAAqB,QAArB,CAA9D,EAA8F;AAC1F,eAAO,KAAK,CAAC,MAAb;AACH;;AAED,YAAM,IAAI,SAAJ,CAAc,kBAAd,CAAN;;AAEJ,SAAK,QAAL;AACI,MAAA,eAAe,CAAC,KAAD,CAAf;AACA,aAAO,IAAI,CAAC,KAAD,CAAX;;AAEJ,SAAK,OAAL;AACI,aAAO,EAAP;;AAEJ,SAAK,WAAL;AACI,aAAO,SAAP;;AAEJ,SAAK,QAAL;AACI,oCAAe,KAAf;AACA,UAAI,MAAM,GAAG,IAAH,aAAG,IAAH,uBAAG,IAAI,CAAG,CAAH,CAAjB;AACA,aAAO,MAAM,GAAG,KAAhB;;AAEJ,SAAK,QAAL;AACI,oCAAe,KAAf;AACA,UAAI,MAAM,GAAG,IAAH,aAAG,IAAH,uBAAG,IAAI,CAAG,CAAH,CAAjB;AACA,aAAO,KAAK,GAAG,MAAf;;AAEJ,SAAK,QAAL;AACI,aAAQ,IAAI,MAAJ,EAAD,CAAW,QAAX,EAAP;;AAEJ,SAAK,KAAL;AACA,SAAK,UAAL;AACA,SAAK,OAAL;AAEI,MAAA,GAAG,GAAI,IAAI,CAAC,KAAL,MAAgB,WAAvB;AACA,UAAI,YAAY,GAAI,IAAI,CAAC,KAAL,MAAgB,EAApC;;AAEA,UAAI,KAAK,YAAY,GAArB,EAA0B;AACtB,YAAG,CAAC,KAAK,CAAC,GAAN,CAAU,GAAV,CAAJ,EAAoB;AAChB,iBAAO,YAAP;AACH;;AACD,eAAO,KAAK,CAAC,GAAN,CAAU,GAAV,CAAP;AACH;;AAED,UAAI,kBAAS,KAAT,KAAiB,iBAAQ,KAAR,CAArB,EAAqC;AAEjC,YAAI,KAAJ,aAAI,KAAJ,eAAI,KAAK,CAAG,GAAH,CAAT,EAAkB;AACd,iBAAO,KAAP,aAAO,KAAP,uBAAO,KAAK,CAAG,GAAH,CAAZ;AACH;;AAED,eAAO,YAAP;AACH;;AAED,YAAM,IAAI,KAAJ,CAAU,oBAAV,CAAN;;AAEJ,SAAK,MAAL;AAEI,MAAA,GAAG,GAAI,IAAI,CAAC,KAAL,MAAgB,WAAvB;AACA,aAAO,IAAI,sBAAJ,CAAe,KAAf,EAAsB,MAAtB,CAA6B,GAA7B,CAAP;;AAGJ,SAAK,WAAL;AAEI,oCAAe,KAAf;AAEA,UAAI,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAD,CAAL,CAAR,IAAqB,CAAjC;AACA,UAAI,GAAG,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAD,CAAL,CAAR,IAAqB,CAAtB,IAA2B,KAArC;AAEA,aAAO,KAAK,CAAC,SAAN,CAAgB,KAAhB,EAAuB,GAAvB,CAAP;;AAEJ,SAAK,KAAL;AACI,aAAO,KAAP;;AAEJ;AACI,YAAM,IAAI,KAAJ,CAAU,iBAAV,CAAN;AAtLR;;AAyLA,SAAO,KAAP;AACH;;;ACraD;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,IAAM,eAAe,GAAG,eAAxB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;IACM,S;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACI,qBAAY,QAAZ,EAAsB;AAAA;;AAAA;;AAClB;AACA,UAAK,eAAL,GAAuB,eAAvB;AACA,oCAAiB,QAAjB,EAA2B,+BAAkB,kBAAlB,CAA3B;AACA,UAAK,QAAL,GAAgB,QAAhB;AAJkB;AAKrB;AAED;AACJ;AACA;AACA;AACA;AACA;;;;;WACI,4BAAmB,MAAnB,EAA2B;AACvB,oCAAe,MAAf;AACA,WAAK,eAAL,GAAuB,MAAvB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;;;;WACI,8BAAqB;AACjB,aAAO,KAAK,eAAZ;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,gCAAuB,IAAvB,EAA6B;AAEzB,UAAI,IAAI,KAAK,SAAb,EAAwB;AACpB,QAAA,IAAI,GAAG,IAAI,4BAAJ,CAAkB,EAAlB,CAAP;AACH;;AAED,sCAAiB,IAAjB,EAAuB,4BAAvB;AACA,UAAI,QAAQ,GAAG,KAAK,QAAL,CAAc,SAAd,CAAwB,IAAxB,CAAf;AACA,aAAO,QAAP;AACH;;;;EAlDmB,U;;;;AAsDxB,cAAQ,iBAAR,CAA0B,aAA1B,EAAyC,SAAzC;;;ACjGA;AAEA;AACA;AACA;;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA,IAAM,gBAAgB,GAAG,MAAM,CAAC,eAAD,CAA/B;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;IACM,M;;;;;AACF;AACJ;AACA;AACA;AACI,kBAAY,IAAZ,EAAkB;AAAA;;AAAA;;AACd;;AAEA,QAAI,IAAI,gCAAR;;AAEA,IAAA,IAAI,CAAC,EAAL,GAAU,IAAI,MAAJ,EAAV;AAEA,oCAAiB,IAAjB,EAAuB,4BAAvB;AAEA,UAAK,IAAL,GAAY,IAAZ;AAEA,UAAK,gBAAL,GAAwB,sBAAsB,CAAC,IAAvB,+BAAxB;AACA,UAAK,YAAL,GAAoB,kBAAkB,CAAC,IAAnB,+BAApB;;AACA,UAAK,IAAL,CAAU,cAAV,CAAyB,MAAK,YAA9B;;AAEA,UAAK,KAAL,GAAa,IAAI,OAAJ,EAAb;AACA,UAAK,OAAL,GAAe,IAAI,YAAJ,EAAf;AAhBc;AAkBjB;AAED;AACJ;AACA;;;;;WACI,kBAAS;AACL;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,gBAAO,IAAP,EAAa;AAET,UAAI,oBAAW,IAAX,EAAiB,+BAAkB,UAAlB,CAAjB,CAAJ,EAAqD;AACjD,QAAA,IAAI,GAAG,IAAI,CAAC,iBAAZ;AACH;;AAED,sCAAiB,IAAjB,EAAuB,+BAAkB,aAAlB,CAAvB;;AAEA,UAAI,CAAC,KAAK,KAAL,CAAW,GAAX,CAAe,IAAf,CAAL,EAA2B;AACvB,eAAO,IAAP;AACH;;AAED,WAAK,gBAAL,CAAsB,UAAtB,CAAiC,IAAjC;AAEA,aAAO,IAAI,CAAC,OAAL,CAAa,gBAAb,CAAP;AACA,MAAA,IAAI,CAAC,eAAL,CAAqB,6BAAkB,SAAvC;AAEA,aAAO,IAAP;AAEH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,gBAAO,IAAP,EAAa;AAET,UAAI,oBAAW,IAAX,EAAiB,+BAAkB,UAAlB,CAAjB,CAAJ,EAAqD;AACjD,QAAA,IAAI,GAAG,IAAI,CAAC,iBAAZ;AACH;;AAED,sCAAiB,IAAjB,EAAuB,+BAAkB,aAAlB,CAAvB;;AAEA,UAAI,KAAK,KAAL,CAAW,GAAX,CAAe,IAAf,CAAJ,EAA0B;AACtB,eAAO,IAAP;AACH;;AAED,MAAA,IAAI,CAAC,OAAL,CAAa,gBAAb,IAAiC,IAAjC;AACA,MAAA,IAAI,CAAC,YAAL,CAAkB,6BAAkB,SAApC,EAA+C,IAA/C;AAEA,WAAK,gBAAL,CAAsB,OAAtB,CAA8B,IAA9B,EAAoC;AAChC,QAAA,UAAU,EAAE,IADoB;AAEhC,QAAA,SAAS,EAAE,IAFqB;AAGhC,QAAA,OAAO,EAAE,IAHuB;AAIhC,QAAA,aAAa,EAAE,IAJiB;AAKhC,QAAA,qBAAqB,EAAE,IALS;AAMhC,QAAA,iBAAiB,EAAE;AANa,OAApC;AASA,WAAK,KAAL,CAAW,GAAX,CAAe,IAAf;AAEA,aAAO,IAAP;AAEH;;;;EA3FgB,U;AA8FrB;AACA;AACA;AACA;AACA;;;;;AACA,SAAS,kBAAT,GAA8B;AAC1B,MAAM,IAAI,GAAG,IAAb;AAEA,SAAO,IAAI,kBAAJ,CAAa,YAAM;AACtB,IAAA,IAAI,CAAC,MAAL;AACH,GAFM,CAAP;AAGH;AAED;AACA;AACA;AACA;AACA;;;AACA,SAAS,sBAAT,GAAkC;AAE9B,MAAM,IAAI,GAAG,IAAb;AAEA;AACJ;AACA;AACA;;AACI,MAAM,gBAAgB,GAAG,+BAAkB,kBAAlB,CAAzB,CAR8B,CAU9B;;AACA,SAAO,IAAI,gBAAJ,CAAqB,UAAC,aAAD,EAAgB,QAAhB,EAA6B;AAAA,+CAE1B,aAF0B;AAAA;;AAAA;AAEjD,0DAAsC;AAAA,YAA3B,QAA2B;AAClC,QAAA,IAAI,CAAC,OAAL,CAAa,IAAb,CAAkB,QAAlB;AACH;AAJgD;AAAA;AAAA;AAAA;AAAA;;AAMjD,IAAA,IAAI,CAAC,MAAL;AACH,GAPE,CAAP;AAUH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,iBAAT,CAA2B,IAA3B,EAAiC;AAAA;;AAC7B,kCAAiB,IAAjB,EAAuB,+BAAkB,MAAlB,CAAvB;AAEA,MAAI,MAAM,oBAAG,IAAI,CAAC,OAAR,kDAAG,cAAe,gBAAf,CAAb;;AACA,MAAI,MAAM,KAAK,SAAf,EAA0B;AACtB,QAAI,UAAU,GAAG,IAAH,aAAG,IAAH,uBAAG,IAAI,CAAG,YAAH,CAArB;;AACA,QAAI,oBAAW,UAAX,EAAuB,+BAAkB,MAAlB,CAAvB,CAAJ,EAAuD;AACnD,aAAO,iBAAiB,CAAC,UAAD,CAAxB;AACH;AACJ;;AAED,SAAO,MAAP;AACH;;AAED,cAAQ,iBAAR,CAA0B,aAA1B,EAAyC,iBAAzC,EAA4D,MAA5D;;;ACjOA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,Q;;;;;AACF;AACJ;AACA;AACA;AACA;AACA;AACA;AACI,oBAAY,QAAZ,EAAsB;AAAA;;AAAA;;AAClB;AACA,oCAAiB,QAAjB,EAA2B,+BAAkB,qBAAlB,CAA3B;AACA,UAAK,QAAL,GAAgB,QAAhB;AAHkB;AAIrB;AAED;AACJ;AACA;AACA;;;;;WACI,8BAAqB;AACjB,aAAO,KAAK,QAAZ;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,kCAAyB;AACrB,aAAO,KAAK,QAAL,CAAc,OAAd,CAAsB,SAAtB,CAAgC,IAAhC,CAAP;AACH;;;;EA7BkB,U;;;;AAiCvB,cAAQ,iBAAR,CAA0B,aAA1B,EAAyC,QAAzC;;;AClEA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAT,GAAuB;AAAA;;AACnB,MAAI,QAAQ,iBAAG,wBAAH,+CAAG,WAAc,UAAd,CAAf;;AACA,MAAI,QAAO,QAAP,MAAoB,QAAxB,EAAkC;AAC9B,UAAM,IAAI,KAAJ,CAAU,2BAAV,CAAN;AACH;;AAED,SAAO,QAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,SAAT,GAAqB;AAAA;;AACjB,MAAI,MAAM,kBAAG,wBAAH,gDAAG,YAAc,QAAd,CAAb;;AACA,MAAI,QAAO,MAAP,MAAkB,QAAtB,EAAgC;AAC5B,UAAM,IAAI,KAAJ,CAAU,2BAAV,CAAN;AACH;;AAED,SAAO,MAAP;AACH;AAGD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,6BAAT,CAAuC,IAAvC,EAA6C;AACzC,gCAAe,IAAf;AAEA,MAAM,QAAQ,GAAG,WAAW,EAA5B;AACA,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAT,CAAuB,UAAvB,CAAjB;AACA,EAAA,QAAQ,CAAC,SAAT,GAAqB,IAArB;AAEA,SAAO,QAAQ,CAAC,OAAhB;AACH;;AAGD,gBAAQ,iBAAR,CAA0B,aAA1B,EAAyC,SAAzC,EAAoD,WAApD,EAAiE,6BAAjE;;;ACzMA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,O;;;;;AACF,qBAAc;AAAA;;AAAA;;AACV;AAEA;AACR;AACA;AACA;AACA;;AACQ,UAAK,QAAL,GAAgB,WAAhB;AARU;AASb;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;WACI,aAAI,KAAJ,EAAW;AACP,sCAAiB,KAAjB,EAAwB,kBAAxB;;AAEA,UAAI,KAAK,QAAL,GAAgB,KAAK,CAAC,WAAN,EAApB,EAAyC;AACrC,eAAO,KAAP;AACH;;AAED,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;;;;WACI,qBAAY,QAAZ,EAAsB;AAClB,qCAAgB,QAAhB;AACA,WAAK,QAAL,GAAgB,QAAhB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,uBAAc;AACV,aAAO,KAAK,QAAZ;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,kBAAS;AACL,WAAK,WAAL,CAAiB,WAAjB;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACI,wBAAW;AACP,WAAK,WAAL,CAAiB,aAAjB;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACI,wBAAW;AACP,WAAK,WAAL,CAAiB,aAAjB;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACI,uBAAU;AACN,WAAK,WAAL,CAAiB,YAAjB;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACI,uBAAU;AACN,WAAK,WAAL,CAAiB,YAAjB;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACI,wBAAW;AACP,WAAK,WAAL,CAAiB,aAAjB;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACI,wBAAW;AACP,WAAK,WAAL,CAAiB,aAAjB;AACA,aAAO,IAAP;AACH;;;;AAGD;AACJ;AACA;AACA;AACA;AACA;AACI,sBAAS;AACL,WAAK,WAAL,CAAiB,WAAjB;AACA,aAAO,IAAP;AACH;;;;EA7IiB,U;;;;AAmJtB,mBAAQ,iBAAR,CAA0B,iBAA1B,EAA6C,OAA7C;;;ACtLA;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,c;;;;;AACF,4BAAc;AAAA;;AAAA;AAEb;;;EAHwB,U;;AAO7B,mBAAQ,iBAAR,CAA0B,iBAA1B,EAA6C,cAA7C;;;ACxCA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,Q;;;;;AACF;AACJ;AACA;AACA;AACA;AACI,oBAAY,QAAZ,EAA+B;AAAA;;AAAA;;AAC3B;AACA,mCAAgB,QAAhB;AAEA,UAAK,QAAL,GAAgB,QAAhB;;AAJ2B,sCAAN,IAAM;AAAN,MAAA,IAAM;AAAA;;AAK3B,UAAK,SAAL,GAAiB,IAAjB;AAL2B;AAM9B;AAED;AACJ;AACA;AACA;;;;;WACI,uBAAc;AACV,aAAO,KAAK,QAAZ;AACH;AAED;AACJ;AACA;AACA;;;;WACI,wBAAe;AACX,aAAO,KAAK,SAAZ;AACH;;;;EA5BkB,U;;;;AAgCvB,mBAAQ,iBAAR,CAA0B,iBAA1B,EAA6C,QAA7C;;;AClEA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA,IAAM,GAAG,GAAG,GAAZ;AACA;AACA;AACA;AACA;AACA;;;AACA,IAAM,KAAK,GAAG,EAAd;AACA;AACA;AACA;AACA;AACA;;;AACA,IAAM,KAAK,GAAG,EAAd;AACA;AACA;AACA;AACA;AACA;;;AACA,IAAM,IAAI,GAAG,EAAb;AACA;AACA;AACA;AACA;AACA;;;AACA,IAAM,IAAI,GAAG,CAAb;AACA;AACA;AACA;AACA;AACA;;;AACA,IAAM,KAAK,GAAG,CAAd;AACA;AACA;AACA;AACA;AACA;;;AACA,IAAM,KAAK,GAAG,CAAd;AACA;AACA;AACA;AACA;AACA;;;AACA,IAAM,GAAG,GAAG,CAAZ;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;IACM,M;;;;;AAEF;AACJ;AACA;AACI,oBAAc;AAAA;;AAAA;;AACV;AACA,UAAK,OAAL,GAAe,IAAI,GAAJ,EAAf;AAFU;AAGb;AAED;AACJ;AACA;AACA;AACA;AACA;;;;;WACI,oBAAW,OAAX,EAAoB;AAChB,oCAAe,OAAf;;AACA,UAAI,EAAE,OAAO,YAAY,gBAArB,CAAJ,EAAmC;AAC/B,cAAM,IAAI,KAAJ,CAAU,4CAAV,CAAN;AACH;;AAED,WAAK,OAAL,CAAa,GAAb,CAAiB,OAAjB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,uBAAc,OAAd,EAAuB;AACnB,oCAAe,OAAf;;AACA,UAAI,EAAE,OAAO,YAAY,gBAArB,CAAJ,EAAmC;AAC/B,cAAM,IAAI,KAAJ,CAAU,4CAAV,CAAN;AACH;;AAED,WAAK,OAAL,WAAoB,OAApB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,oBAAW;AACP,MAAA,UAAU,CAAC,KAAX,CAAiB,IAAjB,GAAwB,KAAxB,oCAAkC,SAAlC;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI,wBAAW;AACP,MAAA,UAAU,CAAC,KAAX,CAAiB,IAAjB,GAAwB,KAAxB,oCAAkC,SAAlC;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI,uBAAU;AACN,MAAA,UAAU,CAAC,KAAX,CAAiB,IAAjB,GAAwB,IAAxB,oCAAiC,SAAjC;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI,uBAAU;AACN,MAAA,UAAU,CAAC,KAAX,CAAiB,IAAjB,GAAwB,IAAxB,oCAAiC,SAAjC;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI,wBAAW;AACP,MAAA,UAAU,CAAC,KAAX,CAAiB,IAAjB,GAAwB,KAAxB,oCAAkC,SAAlC;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI,wBAAW;AACP,MAAA,UAAU,CAAC,KAAX,CAAiB,IAAjB,GAAwB,KAAxB,oCAAkC,SAAlC;AACA,aAAO,IAAP;AACH;;;;AAGD;AACJ;AACA;AACA;AACA;AACA;AACI,sBAAS,KAAT,EAAgB;AACZ,qCAAgB,KAAhB;AAEA,UAAI,KAAK,KAAK,GAAd,EAAmB,OAAO,KAAP;AACnB,UAAI,KAAK,KAAK,KAAd,EAAqB,OAAO,OAAP;AACrB,UAAI,KAAK,KAAK,KAAd,EAAqB,OAAO,OAAP;AACrB,UAAI,KAAK,KAAK,IAAd,EAAoB,OAAO,MAAP;AACpB,UAAI,KAAK,KAAK,IAAd,EAAoB,OAAO,MAAP;AACpB,UAAI,KAAK,KAAK,KAAd,EAAqB,OAAO,OAAP;AACrB,UAAI,KAAK,KAAK,KAAd,EAAqB,OAAO,OAAP;AACrB,UAAI,KAAK,KAAK,GAAd,EAAmB,OAAO,KAAP;AAEnB,aAAO,SAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACI,sBAAS,KAAT,EAAgB;AACZ,oCAAe,KAAf;AAEA,UAAI,KAAK,KAAK,KAAd,EAAqB,OAAO,GAAP;AACrB,UAAI,KAAK,KAAK,OAAd,EAAuB,OAAO,KAAP;AACvB,UAAI,KAAK,KAAK,OAAd,EAAuB,OAAO,KAAP;AACvB,UAAI,KAAK,KAAK,MAAd,EAAsB,OAAO,IAAP;AACtB,UAAI,KAAK,KAAK,MAAd,EAAsB,OAAO,IAAP;AACtB,UAAI,KAAK,KAAK,OAAd,EAAuB,OAAO,KAAP;AACvB,UAAI,KAAK,KAAK,OAAd,EAAuB,OAAO,KAAP;AACvB,UAAI,KAAK,KAAK,KAAd,EAAqB,OAAO,GAAP;AAErB,aAAO,CAAP;AACH;;;;EAxKgB,U;;;;AA6KrB,mBAAQ,iBAAR,CAA0B,iBAA1B,EAA6C,MAA7C;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAT,CAAoB,QAApB,EAAuC;AACnC,MAAI,MAAM,GAAG,IAAb;;AADmC,oCAAN,IAAM;AAAN,IAAA,IAAM;AAAA;;AAAA,6CAGf,MAAM,CAAC,OAHQ;AAAA;;AAAA;AAGnC,wDAAoC;AAAA,UAA3B,OAA2B;AAChC,MAAA,OAAO,CAAC,GAAR,CAAY,IAAI,kBAAJ,CAAa,QAAb,EAAuB,IAAvB,CAAZ;AACH;AALkC;AAAA;AAAA;AAAA;AAAA;;AAOnC,SAAO,MAAP;AAEH;;;ACvRD;AAEA;AACA;AACA;;;;;;;;;;;;;AAGA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,MAAT,CAAgB,GAAhB,EAAqB,GAArB,EAA0B;AAEtB,MAAI,GAAG,KAAK,SAAZ,EAAuB;AACnB,IAAA,GAAG,GAAG,CAAN;AACH;;AACD,MAAI,GAAG,KAAK,SAAZ,EAAuB;AACnB,IAAA,GAAG,GAAG,GAAN;AACH;;AAED,MAAI,GAAG,GAAG,GAAV,EAAe;AACX,UAAM,IAAI,KAAJ,CAAU,8BAAV,CAAN;AACH;;AAED,SAAO,IAAI,CAAC,KAAL,CAAW,MAAM,CAAC,GAAD,EAAM,GAAN,CAAjB,CAAP;AAEH;AAED;AACA;AACA;AACA;;;AACA,IAAI,GAAG,GAAG,UAAV;;AAGA,IAAI,CAAC,IAAL,GAAY,IAAI,CAAC,IAAL,IAAa,UAAU,CAAV,EAAa;AAClC,SAAO,IAAI,CAAC,GAAL,CAAS,CAAT,IAAc,IAAI,CAAC,GAAL,CAAS,CAAT,CAArB;AACH,CAFD;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,MAAT,CAAgB,GAAhB,EAAqB,GAArB,EAA0B;AACtB,MAAI,KAAJ;AACA,MAAI,eAAe,GAAG,wBAAtB;AAEA,EAAA,KAAK,GAAG,CAAA,eAAe,SAAf,IAAA,eAAe,WAAf,YAAA,eAAe,CAAG,QAAH,CAAf,MAA+B,eAA/B,aAA+B,eAA/B,uBAA+B,eAAe,CAAG,UAAH,CAA9C,MAAgE,eAAhE,aAAgE,eAAhE,uBAAgE,eAAe,CAAG,QAAH,CAA/E,KAA+F,SAAvG;;AAEA,MAAI,OAAO,KAAP,KAAiB,WAArB,EAAkC;AAC9B,UAAM,IAAI,KAAJ,CAAU,eAAV,CAAN;AACH;;AAED,MAAI,IAAI,GAAG,CAAX;AACA,MAAM,KAAK,GAAG,GAAG,GAAG,GAApB;;AACA,MAAI,KAAK,GAAG,CAAZ,EAAe;AACX,WAAO,GAAP;AACH;;AAED,MAAM,UAAU,GAAG,IAAI,CAAC,IAAL,CAAU,IAAI,CAAC,IAAL,CAAU,KAAV,CAAV,CAAnB;;AACA,MAAI,UAAU,GAAG,EAAjB,EAAqB;AACjB,UAAO,IAAI,KAAJ,CAAU,iDAAV,CAAP;AACH;;AACD,MAAM,WAAW,GAAG,IAAI,CAAC,IAAL,CAAU,UAAU,GAAG,CAAvB,CAApB;AACA,MAAM,IAAI,GAAG,IAAI,CAAC,GAAL,CAAS,CAAT,EAAY,UAAZ,IAA0B,CAAvC;AAEA,MAAM,SAAS,GAAG,IAAI,UAAJ,CAAe,WAAf,CAAlB;AACA,EAAA,KAAK,CAAC,eAAN,CAAsB,SAAtB;AAEA,MAAI,CAAC,GAAG,CAAC,WAAW,GAAG,CAAf,IAAoB,CAA5B;;AACA,OAAK,IAAI,CAAC,GAAG,CAAb,EAAgB,CAAC,GAAG,WAApB,EAAiC,CAAC,EAAlC,EAAsC;AAClC,IAAA,IAAI,IAAI,SAAS,CAAC,CAAD,CAAT,GAAe,IAAI,CAAC,GAAL,CAAS,CAAT,EAAY,CAAZ,CAAvB;AACA,IAAA,CAAC,IAAI,CAAL;AACH;;AAED,EAAA,IAAI,GAAG,IAAI,GAAG,IAAd;;AAEA,MAAI,IAAI,IAAI,KAAZ,EAAmB;AACf,WAAO,MAAM,CAAC,GAAD,EAAM,GAAN,CAAb;AACH;;AAED,SAAO,GAAG,GAAG,IAAb;AAEH;;AAED,gBAAQ,iBAAR,CAA0B,cAA1B,EAA0C,MAA1C;;;ACpHA;AACA;AACA;AACA;AACA;AACA;AAEA;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAGA,mBAAQ,IAAR,CAAa,UAAb,CAAwB,kBAAxB;;AAGA,IAAI,QAAJ;;AACA,IAAI;AACA,EAAA,QAAQ,GAAG,mBAAQ,KAAR,CAAc,eAAd,CAA8B,qBAA9B,CAAX;AACH,CAFD,CAEE,OAAO,CAAP,EAAU,CAEX;;AAED,IAAI,CAAC,QAAL,EAAe,QAAQ,GAAG,SAAX;AAEf,mBAAQ,KAAR,CAAc,SAAd,GAA0B,QAA1B,IAAsC,kBAAtC;;;AC9DA;AAEA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;IACM,S;AAEF;AACJ;AACA;AACA;AACA;AACI,qBAAY,SAAZ,EAAuB;AAAA;;AACnB,QAAI,SAAS,KAAK,SAAd,IAA2B,OAAO,SAAP,KAAqB,QAApD,EAA8D;AAC1D,YAAM,IAAI,KAAJ,CAAU,2BAAV,CAAN;AACH;;AACD,SAAK,SAAL,GAAiB,SAAjB;AACH;AAED;AACJ;AACA;AACA;;;;;WACI,wBAAe;AACX,aAAO,KAAK,SAAZ;AACH;AAED;AACJ;AACA;AACA;;;;WACI,oBAAW;AACP,aAAO,KAAK,YAAL,EAAP;AACH;;;;;AAGL;AACA;AACA;AACA;;;AACO,IAAM,OAAO,GAAG,IAAI,SAAJ,CAAc,SAAd,CAAhB;AAGP;AACA;AACA;;;AACA,iBAAiB,CAAC,SAAD,EAAY,iBAAZ,CAAjB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAAS,iBAAT,CAA2B,EAA3B,EAAuC;AACnC,MAAI,OAAO,GAAG,YAAY,CAAC,EAAE,CAAC,KAAH,CAAS,GAAT,CAAD,CAA1B;;AAEA,OAAK,IAAI,CAAC,GAAG,CAAR,EAAW,CAAC,mDAAjB,EAAgC,CAAC,GAAG,CAApC,EAAuC,CAAC,EAAxC,EAA4C;AACxC,IAAA,OAAO,CAAC,UAAU,CAAK,CAAL,gCAAK,CAAL,6BAAK,CAAL,MAAX,CAAP,GAAkC,CAAlC,gCAAkC,CAAlC,6BAAkC,CAAlC;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,UAAT,CAAoB,EAApB,EAAwB;AACpB,MAAI;AAEA,QAAI,OAAO,EAAP,KAAc,UAAlB,EAA8B;AAC1B,YAAO,IAAI,KAAJ,CAAU,gDAAV,CAAP;AACH;;AAED,QAAI,EAAE,CAAC,cAAH,CAAkB,MAAlB,CAAJ,EAA+B;AAC3B,aAAO,EAAE,CAAC,IAAV;AACH;;AAED,QAAI,eAAe,OAAO,EAAE,CAAC,QAA7B,EAAuC;AACnC,UAAI,CAAC,GAAG,EAAE,CAAC,QAAH,EAAR;AACA,UAAI,CAAC,GAAG,CAAC,CAAC,KAAF,CAAQ,0BAAR,CAAR;;AACA,UAAI,KAAK,CAAC,OAAN,CAAc,CAAd,KAAoB,OAAO,CAAC,CAAC,CAAD,CAAR,KAAgB,QAAxC,EAAkD;AAC9C,eAAO,CAAC,CAAC,CAAD,CAAR;AACH;;AACD,UAAI,CAAC,GAAG,CAAC,CAAC,KAAF,CAAQ,uBAAR,CAAR;;AACA,UAAI,KAAK,CAAC,OAAN,CAAc,CAAd,KAAoB,OAAO,CAAC,CAAC,CAAD,CAAR,KAAgB,QAAxC,EAAkD;AAC9C,eAAO,CAAC,CAAC,CAAD,CAAR;AACH;AACJ;AAEJ,GAtBD,CAsBE,OAAO,CAAP,EAAU;AACR,UAAM,IAAI,KAAJ,CAAU,eAAe,CAAzB,CAAN;AACH;;AAED,QAAO,IAAI,KAAJ,CAAU,uDAAV,CAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,YAAT,CAAsB,KAAtB,EAA6B;AACzB,MAAI,KAAK,GAAG,OAAZ;AAAA,MAAqB,EAAE,GAAG,SAA1B;;AAEA,OAAK,IAAI,CAAC,GAAG,CAAb,EAAgB,CAAC,GAAG,KAAK,CAAC,MAA1B,EAAkC,CAAC,EAAnC,EAAuC;AAEnC,QAAI,cAAc,KAAK,CAAC,CAAD,CAAvB,EAA4B;AACxB;AACH;;AAED,IAAA,EAAE,IAAI,MAAM,KAAK,CAAC,CAAD,CAAjB;;AAEA,QAAI,CAAC,KAAK,CAAC,cAAN,CAAqB,KAAK,CAAC,CAAD,CAA1B,CAAL,EAAqC;AACjC,MAAA,KAAK,CAAC,KAAK,CAAC,CAAD,CAAN,CAAL,GAAkB,IAAI,SAAJ,CAAc,EAAd,CAAlB;AACH;;AAED,IAAA,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAD,CAAN,CAAb;AACH;;AAED,SAAO,KAAP;AACH;;;AC3JD;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,I;;;;;;;;;;;;;;AAEF;AACJ;AACA;AACA;AACI,wBAAW;AACP,aAAO,IAAI,CAAC,SAAL,CAAe,IAAf,CAAP;AACH;;;;iCARc,M;;;;AAanB,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,IAA3C;;;ACnDA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;AAEA;AACA;AACA;AACA;AACA,IAAI,eAAJ;AAEA;AACA;AACA;;AACC,aAAY;AACT,MAAI,QAAO,UAAP,yCAAO,UAAP,OAAsB,QAA1B,EAAoC;AAChC,IAAA,eAAe,GAAG,UAAlB;AACA;AACH;;AAED,EAAA,MAAM,CAAC,cAAP,CAAsB,MAAM,CAAC,SAA7B,EAAwC,aAAxC,EAAuD;AACnD,IAAA,GAAG,EAAE,eAAY;AACb,aAAO,IAAP;AACH,KAHkD;AAInD,IAAA,YAAY,EAAE;AAJqC,GAAvD;AAOA,EAAA,WAAW,CAAC,UAAZ,GAAyB,WAAzB;AACA,SAAO,MAAM,CAAC,SAAP,CAAiB,WAAxB;AAEA,EAAA,eAAe,GAAG,UAAlB;AAEH,CAlBA,GAAD;AAoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,SAAT,GAAqB;AACjB,SAAO,eAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,eAAT,CAAyB,IAAzB,EAA+B;AAAA;;AAC3B,gCAAe,IAAf;AACA,MAAI,CAAC,uBAAG,eAAH,qDAAG,iBAAkB,IAAlB,CAAR;AACA,MAAI,OAAO,CAAP,KAAa,WAAjB,EAA8B,MAAM,IAAI,KAAJ,CAAU,gBAAc,IAAd,GAAmB,iBAA7B,CAAN;AAC9B,gCAAe,CAAf;AACA,SAAO,CAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,iBAAT,CAA2B,IAA3B,EAAiC;AAAA;;AAC7B,gCAAe,IAAf;AACA,MAAI,CAAC,wBAAG,eAAH,sDAAG,kBAAkB,IAAlB,CAAR;AACA,MAAI,OAAO,CAAP,KAAa,WAAjB,EAA8B,MAAM,IAAI,KAAJ,CAAU,kBAAgB,IAAhB,GAAqB,iBAA/B,CAAN;AAC9B,kCAAiB,CAAjB;AACA,SAAO,CAAP;AACH;;AAGD,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,SAA3C,EAAsD,eAAtD,EAAuE,iBAAvE;;;AC9HA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA,IAAI,eAAe,GAAG,IAAI,GAAJ,EAAtB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;IACM,E;;;;;AAEF;AACJ;AACA;AACI,cAAY,MAAZ,EAAoB;AAAA;;AAAA;;AAChB;;AAEA,QAAI,MAAM,KAAK,SAAf,EAA0B;AACtB,MAAA,MAAM,GAAG,IAAT;AACH;;AAED,kCAAe,MAAf;;AAEA,QAAI,CAAC,eAAe,CAAC,GAAhB,CAAoB,MAApB,CAAL,EAAkC;AAC9B,MAAA,eAAe,CAAC,GAAhB,CAAoB,MAApB,EAA4B,CAA5B;AACH;;AAED,QAAI,KAAK,GAAG,eAAe,CAAC,GAAhB,CAAoB,MAApB,CAAZ;AACA,UAAK,EAAL,GAAU,MAAM,GAAG,KAAnB;AAEA,IAAA,eAAe,CAAC,GAAhB,CAAoB,MAApB,EAA4B,EAAE,KAA9B;AAhBgB;AAiBnB;AAED;AACJ;AACA;;;;;WACI,oBAAW;AACP,aAAO,KAAK,EAAZ;AACH;;;;EA7BY,U;;;;AAiCjB,cAAQ,iBAAR,CAA0B,eAA1B,EAA2C,EAA3C;;;AC/EA;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;AAEA;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAT,CAAoB,KAApB,EAA2B;AACvB,MAAI,KAAK,KAAK,SAAd,EAAyB,OAAO,KAAP;AACzB,MAAI,KAAK,KAAK,IAAd,EAAoB,OAAO,KAAP;AACpB,SAAO,QAAO,KAAP,aAAO,KAAP,uBAAO,KAAK,CAAG,MAAM,CAAC,QAAV,CAAZ,MAAoC,UAA3C;AACH;AAGD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,WAAT,CAAqB,KAArB,EAA4B;AACxB,MAAI,IAAJ;;AAEA,MAAI,KAAK,KAAK,SAAV,IAAuB,KAAK,KAAK,IAAjC,IAAyC,KAAK,KAAK,GAAvD,EAA4D;AACxD,WAAO,IAAP;AACH;;AAED,EAAA,IAAI,WAAU,KAAV,CAAJ;;AAEA,MAAI,IAAI,KAAK,QAAT,IAAqB,IAAI,KAAK,QAA9B,IAA0C,IAAI,KAAK,SAAnD,IAAgE,IAAI,KAAK,QAA7E,EAAuF;AACnF,WAAO,IAAP;AACH;;AAED,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,SAAT,CAAmB,KAAnB,EAA0B;AAEtB,MAAI,KAAK,KAAK,IAAV,IAAkB,KAAK,KAAK,KAAhC,EAAuC;AACnC,WAAO,IAAP;AACH;;AAED,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,QAAT,CAAkB,KAAlB,EAAyB;AACrB,MAAI,KAAK,KAAK,SAAV,IAAuB,OAAO,KAAP,KAAiB,QAA5C,EAAsD;AAClD,WAAO,KAAP;AACH;;AACD,SAAO,IAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,QAAT,CAAkB,KAAlB,EAAyB;AAErB,MAAI,OAAO,CAAC,KAAD,CAAX,EAAoB,OAAO,KAAP;AACpB,MAAI,WAAW,CAAC,KAAD,CAAf,EAAwB,OAAO,KAAP;;AAExB,MAAI,QAAO,KAAP,MAAiB,QAArB,EAA+B;AAC3B,WAAO,IAAP;AACH;;AAED,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,UAAT,CAAoB,KAApB,EAA2B,QAA3B,EAAqC;AAEjC,MAAI,CAAC,QAAQ,CAAC,KAAD,CAAb,EAAsB,OAAO,KAAP;AACtB,MAAI,CAAC,UAAU,CAAC,QAAD,CAAf,EAA2B,OAAO,KAAP;AAC3B,MAAI,CAAC,QAAQ,CAAC,cAAT,CAAwB,WAAxB,CAAL,EAA2C,OAAO,KAAP;AAC3C,SAAQ,KAAK,YAAY,QAAlB,GAA4B,IAA5B,GAAiC,KAAxC;AAEH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,OAAT,CAAiB,KAAjB,EAAwB;AACpB,MAAI,KAAK,CAAC,OAAN,CAAc,KAAd,CAAJ,EAA0B;AACtB,WAAO,IAAP;AACH;;AACD,SAAO,KAAP;AACH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,UAAT,CAAoB,KAApB,EAA2B;AACvB,MAAI,OAAO,CAAC,KAAD,CAAX,EAAoB,OAAO,KAAP;AACpB,MAAI,WAAW,CAAC,KAAD,CAAf,EAAwB,OAAO,KAAP;;AAExB,MAAI,OAAO,KAAP,KAAiB,UAArB,EAAiC;AAC7B,WAAO,IAAP;AACH;;AAED,SAAO,KAAP;AAEH;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,SAAT,CAAmB,KAAnB,EAA0B;AACtB,SAAO,MAAM,CAAC,SAAP,CAAiB,KAAjB,CAAP;AACH;;AAGD,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,WAA3C,EAAwD,SAAxD,EAAmE,QAAnE,EAA6E,QAA7E,EAAuF,OAAvF,EAAgG,UAAhG,EAA4G,UAA5G,EAAwH,SAAxH;;;AC5WA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,Q;;;;;AAEF;AACJ;AACA;AACA;AACA;AACI,oBAAY,QAAZ,EAA+B;AAAA;;AAAA;;AAC3B;;AAEA,QAAI,OAAO,QAAP,KAAoB,UAAxB,EAAoC;AAChC,YAAM,IAAI,KAAJ,CAAU,sCAAV,CAAN;AACH;;AAED,UAAK,QAAL,GAAgB,QAAhB;;AAP2B,sCAAN,IAAM;AAAN,MAAA,IAAM;AAAA;;AAQ3B,UAAK,SAAL,GAAiB,IAAjB;AACA,UAAK,IAAL,GAAY,IAAI,oBAAJ,EAAZ;AACA,UAAK,KAAL,GAAa,IAAI,wBAAJ,EAAb;AAV2B;AAW9B;AAED;AACJ;AACA;AACA;AACA;;;;;WACI,gBAAO,GAAP,EAAY;AACR,WAAK,IAAL,CAAU,GAAV,CAAc,GAAd;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,mBAAU,GAAV,EAAe;AACX,WAAK,IAAL,CAAU,MAAV,CAAiB,GAAjB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;;;;WACI,mBAAU;AACN,aAAO,KAAK,IAAL,CAAU,OAAV,EAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,gBAAO,GAAP,EAAY;AACR,aAAO,KAAK,IAAL,CAAU,QAAV,CAAmB,GAAnB,CAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,gBAAO,OAAP,EAAgB;AACZ,UAAI,IAAI,GAAG,IAAX;AAEA,aAAO,IAAI,OAAJ,CAAY,UAAU,OAAV,EAAmB,MAAnB,EAA2B;AAC1C,YAAI,CAAC,kBAAS,OAAT,CAAL,EAAwB;AACpB,UAAA,MAAM,CAAC,2BAAD,CAAN;AACA;AACH;;AAED,QAAA,IAAI,CAAC,KAAL,CAAW,GAAX,CAAe,OAAf;AAEA,QAAA,UAAU,CAAC,YAAM;AAEb;AACA;AACA,cAAI,IAAI,CAAC,KAAL,CAAW,OAAX,EAAJ,EAA0B;AACtB,YAAA,OAAO;AACP;AACH;;AAED,cAAI,CAAC,GAAG,IAAI,CAAC,KAAL,CAAW,IAAX,EAAR;AACA,cAAI,MAAM,GAAG,IAAI,CAAC,QAAL,CAAc,KAAd,CAAoB,CAApB,EAAuB,IAAI,CAAC,SAA5B,CAAb;;AAEA,cAAI,kBAAS,MAAT,KAAoB,MAAM,YAAY,OAA1C,EAAmD;AAC/C,YAAA,MAAM,CAAC,IAAP,CAAY,OAAZ,WAA2B,MAA3B;AACA;AACH;;AAED,UAAA,OAAO,CAAC,MAAD,CAAP;AACH,SAlBS,EAkBP,CAlBO,CAAV;AAoBH,OA5BM,CAAP;AA8BH;;;;EA/FkB,U;;;;AAmGvB,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,QAA3C;;;ACpKA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,Y;;;;;AAEF;AACJ;AACA;AACI,0BAAc;AAAA;;AAAA;;AACV;AACA,UAAK,SAAL,GAAiB,EAAjB;AAFU;AAGb;AAED;AACJ;AACA;AACA;AACA;AACA;;;;;WACI,gBAAO,QAAP,EAAiB;AACb,sCAAiB,QAAjB,EAA2B,kBAA3B;AAEA,WAAK,SAAL,CAAe,IAAf,CAAoB,QAApB;AACA,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACI,oBAAO,QAAP,EAAiB;AACb,sCAAiB,QAAjB,EAA2B,kBAA3B;AAEA,UAAI,CAAC,GAAG,CAAR;AAAA,UAAW,CAAC,GAAG,KAAK,SAAL,CAAe,MAA9B;;AACA,aAAO,CAAC,GAAG,CAAX,EAAc,CAAC,EAAf,EAAmB;AACf,YAAI,KAAK,SAAL,CAAe,CAAf,MAAsB,QAA1B,EAAoC;AAChC,eAAK,SAAL,CAAe,MAAf,CAAsB,CAAtB,EAAyB,CAAzB;AACH;AACJ;;AAED,aAAO,IAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACA;AACI,sBAAS,QAAT,EAAmB;AACf,sCAAiB,QAAjB,EAA2B,kBAA3B;AACA,UAAI,CAAC,GAAG,CAAR;AAAA,UAAW,CAAC,GAAG,KAAK,SAAL,CAAe,MAA9B;;AACA,aAAO,CAAC,GAAG,CAAX,EAAc,CAAC,EAAf,EAAmB;AACf,YAAI,KAAK,SAAL,CAAe,CAAf,MAAsB,QAA1B,EAAoC;AAChC,iBAAO,IAAP;AACH;AACJ;;AACD,aAAO,KAAP;AACH;;;;AAED;AACJ;AACA;AACA;AACA;AACI,oBAAO,OAAP,EAAgB;AAEZ,UAAI,OAAO,GAAG,EAAd;AAEA,UAAI,CAAC,GAAG,CAAR;AAAA,UAAW,CAAC,GAAG,KAAK,SAAL,CAAe,MAA9B;;AACA,aAAO,CAAC,GAAG,CAAX,EAAc,CAAC,EAAf,EAAmB;AACf,QAAA,OAAO,CAAC,IAAR,CAAa,KAAK,SAAL,CAAe,CAAf,EAAkB,MAAlB,CAAyB,OAAzB,CAAb;AACH;;AAED,aAAO,OAAO,CAAC,GAAR,CAAY,OAAZ,CAAP;AACH;;;;EA1EsB,U;;;;AA8E3B,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,YAA3C;;;ACpHA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,a;;;;;AAEF;AACJ;AACA;AACA;AACA;AACI,yBAAY,MAAZ,EAAoB;AAAA;;AAAA;;AAChB;AACA,kCAAe,MAAf;AACA,UAAK,WAAL,GAAmB,MAAnB;AACA,UAAK,OAAL,GAAe,IAAI,KAAJ,CAAU,MAAV,EAAkB,UAAU,CAAC,IAAX,+BAAlB,CAAf;AAEA,UAAK,SAAL,GAAiB,IAAI,OAAJ,EAAjB;;AACA,UAAK,SAAL,CAAe,GAAf,CAAmB,MAAK,WAAxB,EAAqC,MAAK,OAA1C;;AAEA,UAAK,SAAL,GAAiB,IAAI,0BAAJ,EAAjB;AATgB;AAUnB;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;;;;;WACI,sBAAa;AACT,aAAO,KAAK,OAAZ;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,0BAAiB;AACb,aAAO,KAAK,WAAZ;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,wBAAe,QAAf,EAAyB;AACrB,WAAK,SAAL,CAAe,MAAf,CAAsB,QAAtB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,wBAAe,QAAf,EAAyB;AACrB,WAAK,SAAL,CAAe,MAAf,CAAsB,QAAtB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,2BAAkB;AACd,WAAK,SAAL,CAAe,MAAf,CAAsB,IAAtB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;;;;WACI,0BAAiB,QAAjB,EAA2B;AACvB,aAAO,KAAK,SAAL,CAAe,QAAf,CAAwB,QAAxB,CAAP;AACH;;;;EA7EuB,U;;;;AAiF5B,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,aAA3C;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAT,GAAsB;AAElB,MAAM,KAAK,GAAG,IAAd,CAFkB,CAIlB;;AACA,MAAM,OAAO,GAAG;AAEZ;AACA,IAAA,GAAG,EAAE,aAAU,MAAV,EAAkB,GAAlB,EAAuB,QAAvB,EAAiC;AAElC,UAAM,KAAK,GAAG,OAAO,CAAC,GAAR,CAAY,MAAZ,EAAoB,GAApB,EAAyB,QAAzB,CAAd;;AAEA,UAAI,QAAO,GAAP,MAAe,QAAnB,EAA6B;AACzB,eAAO,KAAP;AACH;;AAED,UAAI,qBAAY,KAAZ,CAAJ,EAAwB;AACpB,eAAO,KAAP;AACH,OAViC,CAYlC;;;AACA,UAAK,iBAAQ,KAAR,KAAkB,kBAAS,KAAT,CAAvB,EAAyC;AACrC,YAAI,KAAK,CAAC,SAAN,CAAgB,GAAhB,CAAoB,KAApB,CAAJ,EAAgC;AAC5B,iBAAO,KAAK,CAAC,SAAN,CAAgB,GAAhB,CAAoB,KAApB,CAAP;AACH,SAFD,MAEO;AACH,cAAI,CAAC,GAAG,IAAI,KAAJ,CAAU,KAAV,EAAiB,OAAjB,CAAR;AACA,UAAA,KAAK,CAAC,SAAN,CAAgB,GAAhB,CAAoB,KAApB,EAA2B,CAA3B;AACA,iBAAO,CAAP;AACH;AAEJ;;AAED,aAAO,KAAP;AAEH,KA7BW;AA+BZ;AACA,IAAA,GAAG,EAAE,aAAU,MAAV,EAAkB,GAAlB,EAAuB,KAAvB,EAA8B,QAA9B,EAAwC;AACzC,UAAM,MAAM,GAAG,OAAO,CAAC,GAAR,CAAY,MAAZ,EAAoB,GAApB,EAAyB,KAAzB,EAAgC,QAAhC,CAAf;;AACA,UAAI,QAAO,QAAP,yCAAO,QAAP,OAAoB,QAAxB,EAAkC;AAC9B,QAAA,KAAK,CAAC,SAAN,CAAgB,MAAhB,CAAuB,KAAvB;AACH;;AAED,aAAO,MAAP;AACH,KAvCW;AAyCZ;AACA,IAAA,cAAc,EAAE,wBAAU,MAAV,EAAkB,GAAlB,EAAuB;AACnC,UAAI,GAAG,IAAI,MAAX,EAAmB;AACf,eAAO,MAAM,CAAC,GAAD,CAAb;;AAEA,YAAI,QAAO,GAAP,MAAe,QAAnB,EAA6B;AACzB,UAAA,KAAK,CAAC,SAAN,CAAgB,MAAhB,CAAuB,KAAvB;AACH;;AAGD,eAAO,IAAP;AACH;;AACD,aAAO,KAAP;AACH,KAtDW;AAwDZ;AACA,IAAA,cAAc,EAAE,wBAAU,MAAV,EAAkB,GAAlB,EAAuB,UAAvB,EAAmC;AAC/C,UAAI,MAAM,GAAG,OAAO,CAAC,cAAR,CAAuB,MAAvB,EAA+B,GAA/B,EAAoC,UAApC,CAAb;;AAEA,UAAI,QAAO,GAAP,MAAe,QAAnB,EAA6B;AACzB,QAAA,KAAK,CAAC,SAAN,CAAgB,MAAhB,CAAuB,KAAvB;AACH;;AAGD,aAAO,MAAP;AACH,KAlEW;AAoEZ;AACA,IAAA,cAAc,EAAE,wBAAU,MAAV,EAAkB,GAAlB,EAAuB;AACnC,UAAI,MAAM,GAAG,OAAO,CAAC,cAAR,CAAuB,OAAvB,EAAgC,GAAhC,CAAb;;AAEA,UAAI,QAAO,GAAP,MAAe,QAAnB,EAA6B;AACzB,QAAA,KAAK,CAAC,SAAN,CAAgB,MAAhB,CAAuB,KAAvB;AACH;;AAED,aAAO,MAAP;AACH;AA7EW,GAAhB;AAkFA,SAAO,OAAP;AACH;;;;;;;;;;;;;;;;;;ACnPD;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,K;;;;;AAEF;AACJ;AACA;AACI,mBAAc;AAAA;;AAAA;;AACV;AACA,UAAK,IAAL,GAAY,EAAZ;AAFU;AAGb;AAGD;AACJ;AACA;;;;;WACI,mBAAU;AACN,aAAO,KAAK,IAAL,CAAU,MAAV,KAAqB,CAA5B;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,gBAAO;AACH,UAAI,KAAK,OAAL,EAAJ,EAAoB;AAChB,eAAO,SAAP;AACH;;AAED,aAAO,KAAK,IAAL,CAAU,CAAV,CAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,aAAI,KAAJ,EAAW;AACP,WAAK,IAAL,CAAU,IAAV,CAAe,KAAf;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,iBAAQ;AACJ,WAAK,IAAL,GAAY,EAAZ;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,gBAAO;AACH,UAAI,KAAK,OAAL,EAAJ,EAAoB;AAChB,eAAO,SAAP;AACH;;AACD,aAAO,KAAK,IAAL,CAAU,KAAV,EAAP;AACH;;;;EA/De,U;;;;AAoEpB,cAAQ,iBAAR,CAA0B,eAA1B,EAA2C,KAA3C;;;AC7FA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA,IAAI,eAAe,GAAG,CAAtB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;IACM,Q;;;;;AAEF;AACJ;AACA;AACI,sBAAc;AAAA;;AAAA;;AACV;AAEA,IAAA,eAAe,IAAI,CAAnB;AAEA,UAAK,EAAL,GAAU,yBAAY,IAAZ,CAAiB,oBAAO,CAAP,EAAU,KAAV,CAAjB,EACL,OADK,CACG,IADH,EACS,EADT;AAEN;AAFM,KAGL,OAHK,CAGG,SAHH,EAGc,GAHd,IAGqB,eAH/B;AALU;AASb;;;EAdkB,M;;;;AAkBvB,YAAQ,iBAAR,CAA0B,eAA1B,EAA2C,QAA3C;;;;;;;;;;;;;;;;;;ACzDA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,K;;;;;AAEF;AACJ;AACA;AACI,mBAAc;AAAA;;AAAA;;AACV;AACA,UAAK,IAAL,GAAY,EAAZ;AAFU;AAGb;AAGD;AACJ;AACA;;;;;WACI,mBAAU;AACN,aAAO,KAAK,IAAL,CAAU,MAAV,KAAqB,CAA5B;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,gBAAO;AAAA;;AACH,UAAI,KAAK,OAAL,EAAJ,EAAoB;AAChB,eAAO,SAAP;AACH;;AAED,2BAAO,KAAK,IAAZ,+CAAO,WAAY,KAAK,IAAL,CAAU,MAAV,GAAmB,CAA/B,CAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,cAAK,KAAL,EAAY;AACR,WAAK,IAAL,CAAU,IAAV,CAAe,KAAf;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,iBAAQ;AACJ,WAAK,IAAL,GAAY,EAAZ;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;;;;WACI,eAAM;AACF,UAAI,KAAK,OAAL,EAAJ,EAAoB;AAChB,eAAO,SAAP;AACH;;AACD,aAAO,KAAK,IAAL,CAAU,GAAV,EAAP;AACH;;;;EAhEe,U;;;;AAqEpB,cAAQ,iBAAR,CAA0B,eAA1B,EAA2C,KAA3C;;;AC9FA;AAEA;AACA;AACA;;;;;;;;;;;;;;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,S;;;;;AAEF;AACJ;AACA;AACA;AACI,qBAAY,IAAZ,EAAkB;AAAA;;AAAA;;AACd;AACA,UAAK,MAAL,GAAc,IAAI,GAAJ,EAAd;;AAEA,QAAI,OAAO,IAAP,KAAgB,WAApB,EAAiC;AAC7B,YAAK,GAAL,CAAS,IAAT;AACH;;AANa;AAQjB;AAED;AACJ;AACA;AACA;AACA;;;;;WACI,uBAAc;AACV,aAAO,KAAK,MAAM,CAAC,QAAZ,GAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;SACK,MAAM,CAAC,Q;WAAR,iBAAoB;AAChB;AACA;AACA;AACA,UAAI,KAAK,GAAG,CAAZ;AACA,UAAI,OAAO,GAAG,KAAK,OAAL,EAAd;AAEA,aAAO;AACH,QAAA,IAAI,EAAE,gBAAM;AACR,cAAI,KAAK,GAAG,OAAO,CAAC,MAApB,EAA4B;AACxB,mBAAO;AAAC,cAAA,KAAK,EAAE,OAAF,aAAE,OAAF,uBAAE,OAAO,CAAG,KAAK,EAAR,CAAf;AAA4B,cAAA,IAAI,EAAE;AAAlC,aAAP;AACH,WAFD,MAEO;AACH,mBAAO;AAAC,cAAA,IAAI,EAAE;AAAP,aAAP;AACH;AACJ;AAPE,OAAP;AASH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,kBAAS,KAAT,EAAgB;AAAA;;AACZ,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,QAAA,KAAK,GAAG,KAAK,CAAC,IAAN,EAAR;AACA,YAAI,OAAO,GAAG,CAAd;AACA,QAAA,KAAK,CAAC,KAAN,CAAY,GAAZ,EAAiB,OAAjB,CAAyB,UAAA,KAAK,EAAI;AAC9B,cAAI,MAAI,CAAC,MAAL,CAAY,GAAZ,CAAgB,KAAK,CAAC,IAAN,EAAhB,MAAkC,KAAtC,EAA6C,OAAO,KAAP;AAC7C,UAAA,OAAO;AACV,SAHD;AAIA,eAAO,OAAO,GAAG,CAAV,GAAc,IAAd,GAAqB,KAA5B;AACH;;AAED,UAAI,oBAAW,KAAX,CAAJ,EAAuB;AACnB,YAAI,QAAO,GAAG,CAAd;;AADmB,mDAED,KAFC;AAAA;;AAAA;AAEnB,8DAAyB;AAAA,gBAAhB,KAAgB;AACrB,0CAAe,KAAf;AACA,gBAAI,KAAK,MAAL,CAAY,GAAZ,CAAgB,KAAK,CAAC,IAAN,EAAhB,MAAkC,KAAtC,EAA6C,OAAO,KAAP;AAC7C,YAAA,QAAO;AACV;AANkB;AAAA;AAAA;AAAA;AAAA;;AAOnB,eAAO,QAAO,GAAG,CAAV,GAAc,IAAd,GAAqB,KAA5B;AACH;;AAED,aAAO,KAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,aAAI,KAAJ,EAAW;AAAA;;AACP,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,QAAA,KAAK,CAAC,KAAN,CAAY,GAAZ,EAAiB,OAAjB,CAAyB,UAAA,KAAK,EAAI;AAC9B,UAAA,MAAI,CAAC,MAAL,CAAY,GAAZ,CAAgB,KAAK,CAAC,IAAN,EAAhB;AACH,SAFD;AAGH,OAJD,MAIO,IAAI,oBAAW,KAAX,CAAJ,EAAuB;AAAA,oDACR,KADQ;AAAA;;AAAA;AAC1B,iEAAyB;AAAA,gBAAhB,KAAgB;AACrB,0CAAe,KAAf;AACA,iBAAK,MAAL,CAAY,GAAZ,CAAgB,KAAK,CAAC,IAAN,EAAhB;AACH;AAJyB;AAAA;AAAA;AAAA;AAAA;AAK7B,OALM,MAKA,IAAI,OAAO,KAAP,KAAiB,WAArB,EAAkC;AACrC,cAAM,IAAI,SAAJ,CAAc,mBAAd,CAAN;AACH;;AAED,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,iBAAQ;AACJ,WAAK,MAAL,CAAY,KAAZ;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,gBAAO,KAAP,EAAc;AAAA;;AACV,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,QAAA,KAAK,CAAC,KAAN,CAAY,GAAZ,EAAiB,OAAjB,CAAyB,UAAA,KAAK,EAAI;AAC9B,UAAA,MAAI,CAAC,MAAL,WAAmB,KAAK,CAAC,IAAN,EAAnB;AACH,SAFD;AAGH,OAJD,MAIO,IAAI,oBAAW,KAAX,CAAJ,EAAuB;AAAA,oDACR,KADQ;AAAA;;AAAA;AAC1B,iEAAyB;AAAA,gBAAhB,KAAgB;AACrB,0CAAe,KAAf;AACA,iBAAK,MAAL,WAAmB,KAAK,CAAC,IAAN,EAAnB;AACH;AAJyB;AAAA;AAAA;AAAA;AAAA;AAK7B,OALM,MAKA,IAAI,OAAO,KAAP,KAAiB,WAArB,EAAkC;AACrC,cAAM,IAAI,SAAJ,CAAc,mBAAd,CAAN;AACH;;AAED,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,iBAAQ,KAAR,EAAe,QAAf,EAAyB;AACrB,oCAAe,KAAf;AACA,oCAAe,QAAf;;AACA,UAAI,CAAC,KAAK,QAAL,CAAc,KAAd,CAAL,EAA2B;AACvB,eAAO,IAAP;AACH;;AAED,UAAI,CAAC,GAAG,KAAK,CAAC,IAAN,CAAW,KAAK,MAAhB,CAAR;AACA,UAAI,CAAC,GAAG,CAAC,CAAC,OAAF,CAAU,KAAV,CAAR;AACA,UAAI,CAAC,KAAK,CAAC,CAAX,EAAc,OAAO,IAAP;AAEd,MAAA,CAAC,CAAC,MAAF,CAAS,CAAT,EAAY,CAAZ,EAAe,QAAf;AACA,WAAK,MAAL,GAAc,IAAI,GAAJ,EAAd;AACA,WAAK,GAAL,CAAS,CAAT;AAEA,aAAO,IAAP;AAGH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,gBAAO,KAAP,EAAc;AAAA;;AAEV,UAAI,kBAAS,KAAT,CAAJ,EAAqB;AACjB,QAAA,KAAK,CAAC,KAAN,CAAY,GAAZ,EAAiB,OAAjB,CAAyB,UAAA,KAAK,EAAI;AAC9B,UAAA,WAAW,CAAC,IAAZ,CAAiB,MAAjB,EAAuB,KAAvB;AACH,SAFD;AAGH,OAJD,MAIO,IAAI,oBAAW,KAAX,CAAJ,EAAuB;AAAA,oDACR,KADQ;AAAA;;AAAA;AAC1B,iEAAyB;AAAA,gBAAhB,KAAgB;AACrB,YAAA,WAAW,CAAC,IAAZ,CAAiB,IAAjB,EAAuB,KAAvB;AACH;AAHyB;AAAA;AAAA;AAAA;AAAA;AAI7B,OAJM,MAIA,IAAI,OAAO,KAAP,KAAiB,WAArB,EAAkC;AACrC,cAAM,IAAI,SAAJ,CAAc,mBAAd,CAAN;AACH;;AAED,aAAO,IAAP;AAEH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,mBAAU;AACN,aAAO,KAAK,CAAC,IAAN,CAAW,KAAK,MAAhB,CAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,iBAAQ,QAAR,EAAkB;AACd,sCAAiB,QAAjB;AACA,WAAK,MAAL,CAAY,OAAZ,CAAoB,QAApB;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,oBAAW;AACP,aAAO,KAAK,OAAL,GAAe,IAAf,CAAoB,GAApB,CAAP;AACH;;;;EArPmB,U;AAyPxB;AACA;AACA;AACA;AACA;AACA;;;;;AACA,SAAS,WAAT,CAAqB,KAArB,EAA4B;AACxB,MAAI,EAAE,gBAAgB,SAAlB,CAAJ,EAAkC,MAAM,KAAK,CAAC,oCAAD,CAAX;AAClC,gCAAe,KAAf;AACA,EAAA,KAAK,GAAG,KAAK,CAAC,IAAN,EAAR;;AACA,MAAI,KAAK,QAAL,CAAc,KAAd,CAAJ,EAA0B;AACtB,SAAK,MAAL,CAAY,KAAZ;AACA,WAAO,IAAP;AACH;;AACD,OAAK,GAAL,CAAS,KAAT;AACA,SAAO,IAAP;AACH;;AAED,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,SAA3C;;;;;;;;;;;;;;;;;;AC1TA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,W;;;;;AAEF;AACJ;AACA;AACI,yBAAc;AAAA;;AAAA;;AACV;AACA,UAAK,MAAL,GAAc,IAAI,OAAJ,EAAd;AAFU;AAGb;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;;;;;WACI,aAAI,KAAJ,EAAW;AAEP,oCAAe,KAAf;;AAEA,UAAI,CAAC,KAAK,MAAL,CAAY,GAAZ,CAAgB,KAAhB,CAAL,EAA6B;AACzB,aAAK,MAAL,CAAY,GAAZ,CAAgB,KAAhB;;AACA,6EAAU,KAAV;AACH;;AAED,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;;;;WACI,iBAAQ;AACJ;;AACA,WAAK,MAAL,GAAc,IAAI,OAAJ,EAAd;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;;;;WACI,gBAAO;AAEH,UAAI,KAAK,OAAL,EAAJ,EAAoB;AAChB,eAAO,SAAP;AACH;;AACD,UAAI,KAAK,GAAG,KAAK,IAAL,CAAU,KAAV,EAAZ;AACA,WAAK,MAAL,WAAmB,KAAnB;AACA,aAAO,KAAP;AACH;;;;EAtDqB,Y;;;;AA2D1B,eAAQ,iBAAR,CAA0B,eAA1B,EAA2C,WAA3C;;;ACrFA;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;AAEA;;AACA;;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,gBAAT,CAA0B,KAA1B,EAAiC;AAC7B,MAAI,CAAC,oBAAW,KAAX,CAAL,EAAwB;AACpB,UAAM,IAAI,SAAJ,CAAc,uBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,iBAAT,CAA2B,KAA3B,EAAkC;AAC9B,MAAI,CAAC,qBAAY,KAAZ,CAAL,EAAyB;AACrB,UAAM,IAAI,SAAJ,CAAc,0BAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,eAAT,CAAyB,KAAzB,EAAgC;AAC5B,MAAI,CAAC,mBAAU,KAAV,CAAL,EAAuB;AACnB,UAAM,IAAI,SAAJ,CAAc,wBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,cAAT,CAAwB,KAAxB,EAA+B;AAC3B,MAAI,CAAC,kBAAS,KAAT,CAAL,EAAsB;AAClB,UAAM,IAAI,SAAJ,CAAc,uBAAd,CAAN;AACH;AACJ;AAGD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,cAAT,CAAwB,KAAxB,EAA+B;AAC3B,MAAI,CAAC,kBAAS,KAAT,CAAL,EAAsB;AAClB,UAAM,IAAI,SAAJ,CAAc,uBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,gBAAT,CAA0B,KAA1B,EAAiC,QAAjC,EAA2C;AACvC,MAAI,CAAC,oBAAW,KAAX,EAAkB,QAAlB,CAAL,EAAkC;AAC9B,QAAI,CAAC,GAAG,EAAR;;AACA,QAAI,kBAAS,QAAT,KAAsB,oBAAW,QAAX,CAA1B,EAAgD;AAC5C,MAAA,CAAC,GAAG,QAAH,aAAG,QAAH,uBAAG,QAAQ,CAAG,MAAH,CAAZ;AACH;;AAED,QAAI,CAAJ,EAAO;AACH,MAAA,CAAC,GAAG,MAAM,CAAV;AACH;;AAED,UAAM,IAAI,SAAJ,CAAc,gCAAgC,CAA9C,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,aAAT,CAAuB,KAAvB,EAA8B;AAC1B,MAAI,CAAC,iBAAQ,KAAR,CAAL,EAAqB;AACjB,UAAM,IAAI,SAAJ,CAAc,uBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,gBAAT,CAA0B,KAA1B,EAAiC;AAC7B,MAAI,CAAC,oBAAW,KAAX,CAAL,EAAwB;AACpB,UAAM,IAAI,SAAJ,CAAc,yBAAd,CAAN;AACH;AACJ;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,eAAT,CAAyB,KAAzB,EAAgC;AAC5B,MAAI,CAAC,mBAAU,KAAV,CAAL,EAAuB;AACnB,UAAM,IAAI,SAAJ,CAAc,yBAAd,CAAN;AACH;AACJ;;AAED,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,iBAA3C,EAA8D,eAA9D,EAA+E,cAA/E,EAA+F,cAA/F,EAA+G,aAA/G,EAA8H,gBAA9H,EAAgJ,gBAAhJ,EAAkK,eAAlK;;;AClXA;;;;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,O;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI,mBAAY,KAAZ,EAAmB,KAAnB,EAA0B,KAA1B,EAAiC;AAAA;;AAAA;;AAC7B;;AAEA,QAAI,OAAO,KAAP,KAAiB,QAAjB,IAA6B,KAAK,KAAK,SAAvC,IAAoD,KAAK,KAAK,SAAlE,EAA6E;AAEzE,UAAI,KAAK,GAAG,KAAK,CAAC,QAAN,GAAiB,KAAjB,CAAuB,GAAvB,CAAZ;AACA,MAAA,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAD,CAAL,IAAY,CAAb,CAAhB;AACA,MAAA,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAD,CAAL,IAAY,CAAb,CAAhB;AACA,MAAA,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAD,CAAL,IAAY,CAAb,CAAhB;AACH;;AAED,QAAI,KAAK,KAAK,SAAd,EAAyB;AACrB,YAAO,IAAI,KAAJ,CAAU,4BAAV,CAAP;AACH;;AAED,QAAI,KAAK,KAAK,SAAd,EAAyB;AACrB,MAAA,KAAK,GAAG,CAAR;AACH;;AAED,QAAI,KAAK,KAAK,SAAd,EAAyB;AACrB,MAAA,KAAK,GAAG,CAAR;AACH;;AAED,UAAK,KAAL,GAAa,QAAQ,CAAC,KAAD,CAArB;AACA,UAAK,KAAL,GAAa,QAAQ,CAAC,KAAD,CAArB;AACA,UAAK,KAAL,GAAa,QAAQ,CAAC,KAAD,CAArB;;AAEA,QAAI,KAAK,CAAC,MAAK,KAAN,CAAT,EAAuB;AACnB,YAAO,IAAI,KAAJ,CAAU,uBAAV,CAAP;AACH;;AAED,QAAI,KAAK,CAAC,MAAK,KAAN,CAAT,EAAuB;AACnB,YAAO,IAAI,KAAJ,CAAU,uBAAV,CAAP;AACH;;AAED,QAAI,KAAK,CAAC,MAAK,KAAN,CAAT,EAAuB;AACnB,YAAO,IAAI,KAAJ,CAAU,uBAAV,CAAP;AACH;;AArC4B;AAuChC;AAED;AACJ;AACA;AACA;;;;;WACI,oBAAW;AACP,aAAO,KAAK,KAAL,GAAa,GAAb,GAAmB,KAAK,KAAxB,GAAgC,GAAhC,GAAsC,KAAK,KAAlD;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;;;;WACI,mBAAU,OAAV,EAAmB;AAEf,UAAI,OAAO,YAAY,OAAvB,EAAgC;AAC5B,QAAA,OAAO,GAAG,OAAO,CAAC,QAAR,EAAV;AACH;;AAED,UAAI,OAAO,OAAP,KAAmB,QAAvB,EAAiC;AAC7B,cAAO,IAAI,KAAJ,CAAU,gBAAV,CAAP;AACH;;AAED,UAAI,OAAO,KAAK,KAAK,QAAL,EAAhB,EAAiC;AAC7B,eAAO,CAAP;AACH;;AAED,UAAI,CAAC,GAAG,CAAC,KAAK,KAAN,EAAa,KAAK,KAAlB,EAAyB,KAAK,KAA9B,CAAR;AACA,UAAI,CAAC,GAAG,OAAO,CAAC,KAAR,CAAc,GAAd,CAAR;AACA,UAAI,GAAG,GAAG,IAAI,CAAC,GAAL,CAAS,CAAC,CAAC,MAAX,EAAmB,CAAC,CAAC,MAArB,CAAV;;AAEA,WAAK,IAAI,CAAC,GAAG,CAAb,EAAgB,CAAC,GAAG,GAApB,EAAyB,CAAC,IAAI,CAA9B,EAAiC;AAC7B,YAAK,CAAC,CAAC,CAAD,CAAD,IAAQ,CAAC,CAAC,CAAC,CAAD,CAAV,IAAiB,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAR,GAAiB,CAAnC,IAA0C,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAR,GAAiB,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAvE,EAAgF;AAC5E,iBAAO,CAAP;AACH,SAFD,MAEO,IAAK,CAAC,CAAC,CAAD,CAAD,IAAQ,CAAC,CAAC,CAAC,CAAD,CAAV,IAAiB,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAR,GAAiB,CAAnC,IAA0C,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAR,GAAiB,QAAQ,CAAC,CAAC,CAAC,CAAD,CAAF,CAAvE,EAAgF;AACnF,iBAAO,CAAC,CAAR;AACH;AACJ;;AAED,aAAO,CAAP;AACH;;;;EA9FiB,U;;;;AAkGtB,mBAAQ,iBAAR,CAA0B,eAA1B,EAA2C,OAA3C;;AAGA,IAAI,cAAJ;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAAS,UAAT,GAAsB;AAClB,MAAI,cAAc,YAAY,OAA9B,EAAuC;AACnC,WAAO,cAAP;AACH;AACD;;;AACA,EAAA,cAAc,GAAG,IAAI,OAAJ,CAAY,OAAZ,CAAjB;AACA;;AACA,SAAO,cAAP;AAEH;;AAED,mBAAQ,iBAAR,CAA0B,SAA1B,EAAqC,UAArC;;;ACzLA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;AACA;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,KAAT,CAAe,GAAf,EAAoB;AAEhB;AACA,MAAI,SAAS,GAAb,EAAkB;AACd,WAAO,GAAP;AACH,GALe,CAOhB;;;AACA,MAAI,qBAAY,GAAZ,CAAJ,EAAsB;AAClB,WAAO,GAAP;AACH,GAVe,CAYhB;;;AACA,MAAI,oBAAW,GAAX,CAAJ,EAAqB;AACjB,WAAO,GAAP;AACH,GAfe,CAiBhB;;;AACA,MAAI,iBAAQ,GAAR,CAAJ,EAAkB;AACd,QAAI,IAAI,GAAG,EAAX;;AACA,SAAK,IAAI,CAAC,GAAG,CAAR,EAAW,GAAG,GAAG,GAAG,CAAC,MAA1B,EAAkC,CAAC,GAAG,GAAtC,EAA2C,CAAC,EAA5C,EAAgD;AAC5C,MAAA,IAAI,CAAC,CAAD,CAAJ,GAAU,KAAK,CAAC,GAAG,CAAC,CAAD,CAAJ,CAAf;AACH;;AAED,WAAO,IAAP;AACH;;AAED,MAAI,kBAAS,GAAT,CAAJ,EAAmB;AAGf;AACA,QAAI,GAAG,YAAY,IAAnB,EAAyB;AACrB,UAAI,KAAI,GAAG,IAAI,IAAJ,EAAX;;AACA,MAAA,KAAI,CAAC,OAAL,CAAa,GAAG,CAAC,OAAJ,EAAb;;AACA,aAAO,KAAP;AACH;AAED;;;AACA,QAAI,OAAO,OAAP,KAAmB,WAAnB,IAAkC,GAAG,YAAY,OAArD,EAA8D,OAAO,GAAP;AAC9D,QAAI,OAAO,YAAP,KAAwB,WAAxB,IAAuC,GAAG,YAAY,YAA1D,EAAwE,OAAO,GAAP;AACxE,QAAI,OAAO,gBAAP,KAA4B,WAA5B,IAA2C,GAAG,YAAY,gBAA9D,EAAgF,OAAO,GAAP;AAEhF;;AACA,QAAI,GAAG,KAAK,wBAAZ,EAAyB,OAAO,GAAP;AACzB,QAAI,OAAO,aAAP,KAAyB,WAAzB,IAAwC,GAAG,KAAK,aAApD,EAAmE,OAAO,GAAP;AACnE,QAAI,OAAO,MAAP,KAAkB,WAAlB,IAAiC,GAAG,KAAK,MAA7C,EAAqD,OAAO,GAAP;AACrD,QAAI,OAAO,QAAP,KAAoB,WAApB,IAAmC,GAAG,KAAK,QAA/C,EAAyD,OAAO,GAAP;AACzD,QAAI,OAAO,SAAP,KAAqB,WAArB,IAAoC,GAAG,KAAK,SAAhD,EAA2D,OAAO,GAAP;AAC3D,QAAI,OAAO,IAAP,KAAgB,WAAhB,IAA+B,GAAG,KAAK,IAA3C,EAAiD,OAAO,GAAP,CArBlC,CAuBf;;AACA,QAAI;AACA;AACA,UAAI,GAAG,YAAY,KAAnB,EAA0B;AACtB,eAAO,GAAP;AACH;AACJ,KALD,CAKE,OAAO,CAAP,EAAU,CACX;;AAED,WAAO,WAAW,CAAC,GAAD,CAAlB;AAEH;;AAED,QAAM,IAAI,KAAJ,CAAU,gDAAV,CAAN;AACH;AAED;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS,WAAT,CAAqB,GAArB,EAA0B;AACtB,MAAI,IAAJ;AAEA;;AACA,MAAI,QAAO,GAAG,CAAC,cAAJ,CAAmB,UAAnB,CAAP,KAAyC,GAAG,CAAC,QAAJ,KAAiB,UAA9D,EAA0E;AACtE,WAAO,GAAG,CAAC,QAAJ,EAAP;AACH;;AAED,EAAA,IAAI,GAAG,EAAP;;AACA,MAAI,OAAO,GAAG,CAAC,WAAX,KAA2B,UAA3B,IACA,OAAO,GAAG,CAAC,WAAJ,CAAgB,IAAvB,KAAgC,UADpC,EACgD;AAC5C,IAAA,IAAI,GAAG,IAAI,GAAG,CAAC,WAAR,EAAP;AACH;;AAED,OAAK,IAAI,GAAT,IAAgB,GAAhB,EAAqB;AAEjB,QAAI,CAAC,GAAG,CAAC,cAAJ,CAAmB,GAAnB,CAAL,EAA8B;AAC1B;AACH;;AAED,QAAI,mBAAQ,KAAR,CAAc,WAAd,CAA0B,GAAG,CAAC,GAAD,CAA7B,CAAJ,EAAyC;AACrC,MAAA,IAAI,CAAC,GAAD,CAAJ,GAAY,GAAG,CAAC,GAAD,CAAf;AACA;AACH;;AAED,IAAA,IAAI,CAAC,GAAD,CAAJ,GAAY,KAAK,CAAC,GAAG,CAAC,GAAD,CAAJ,CAAjB;AACH;;AAED,SAAO,IAAP;AACH;;AAED,mBAAQ,iBAAR,CAA0B,cAA1B,EAA0C,KAA1C;;;ACtJA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACM,U;;;;;AAEF;AACJ;AACA;AACA;AACA;AACA;AACA;AACI,sBAAY,QAAZ,EAAsB;AAAA;;AAAA;;AAClB;;AAEA,QAAI,oBAAW,QAAX,CAAJ,EAA0B;AACtB,YAAK,OAAL,GAAe,QAAf;AACH,KAFD,MAEO,IAAI,QAAQ,KAAK,SAAjB,EAA4B;AAC/B,YAAM,IAAI,SAAJ,CAAc,kBAAd,CAAN;AACH,KAFM,MAEA;AACH;AACA,YAAK,OAAL,GAAe,UAAU,CAAV,EAAa,CAAb,EAAgB;AAE3B,YAAI,QAAO,CAAP,cAAoB,CAApB,CAAJ,EAA2B;AACvB,gBAAM,IAAI,SAAJ,CAAc,wBAAd,CAAN;AACH;;AAED,YAAI,CAAC,KAAK,CAAV,EAAa;AACT,iBAAO,CAAP;AACH;;AACD,eAAO,CAAC,GAAG,CAAJ,GAAQ,CAAC,CAAT,GAAa,CAApB;AACH,OAVD;AAWH;;AApBiB;AAsBrB;AAED;AACJ;AACA;AACA;AACA;;;;;WACI,mBAAU;AACN,UAAM,QAAQ,GAAG,KAAK,OAAtB;;AACA,WAAK,OAAL,GAAe,UAAC,CAAD,EAAI,CAAJ;AAAA,eAAU,QAAQ,CAAC,CAAD,EAAI,CAAJ,CAAlB;AAAA,OAAf;;AACA,aAAO,IAAP;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,eAAM,CAAN,EAAS,CAAT,EAAY;AACR,aAAO,KAAK,OAAL,CAAa,CAAb,EAAgB,CAAhB,MAAuB,CAA9B;AACH;AAGD;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,qBAAY,CAAZ,EAAe,CAAf,EAAkB;AACd,aAAO,KAAK,OAAL,CAAa,CAAb,EAAgB,CAAhB,IAAqB,CAA5B;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,4BAAmB,CAAnB,EAAsB,CAAtB,EAAyB;AACrB,aAAO,KAAK,WAAL,CAAiB,CAAjB,EAAoB,CAApB,KAA0B,KAAK,KAAL,CAAW,CAAX,EAAc,CAAd,CAAjC;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,yBAAgB,CAAhB,EAAmB,CAAnB,EAAsB;AAClB,aAAO,KAAK,QAAL,CAAc,CAAd,EAAiB,CAAjB,KAAuB,KAAK,KAAL,CAAW,CAAX,EAAc,CAAd,CAA9B;AACH;AAED;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;WACI,kBAAS,CAAT,EAAY,CAAZ,EAAe;AACX,aAAO,KAAK,OAAL,CAAa,CAAb,EAAgB,CAAhB,IAAqB,CAA5B;AACH;;;;EAvGoB,U;;;;AA4GzB,cAAQ,iBAAR,CAA0B,cAA1B,EAA0C,UAA1C;;;AC/JA;AAEA;AACA;AACA;;;;;;;;;;;;;AAEA;;AACA;;;;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAT,CAAoB,MAApB,EAA4B;AAExB,gCAAe,MAAf,EAFwB,CAIxB;;AACA,MAAI,SAAS,GAAG,MAAM,CAAC,mBAAP,CAA2B,MAA3B,CAAhB,CALwB,CAOxB;;AAPwB,6CAQP,SARO;AAAA;;AAAA;AAQxB,wDAA4B;AAAA,UAAnB,IAAmB;AACxB,UAAI,KAAK,GAAG,MAAM,CAAC,IAAD,CAAlB;AAEA,MAAA,MAAM,CAAC,IAAD,CAAN,GAAe,KAAK,IAAI,QAAO,KAAP,MAAiB,QAA1B,GACX,UAAU,CAAC,KAAD,CADC,GACS,KADxB;AAEH;AAbuB;AAAA;AAAA;AAAA;AAAA;;AAexB,SAAO,MAAM,CAAC,MAAP,CAAc,MAAd,CAAP;AACH;;AAED,mBAAQ,iBAAR,CAA0B,cAA1B,EAA0C,UAA1C", "file": "generated.js", "sourceRoot": "", "sourcesContent": [ "(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})()", "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Base} from '../types/base.js';\n\n\n/**\n * the abstract contraint defines the api for all constraints. mainly the method isValid() is defined.\n *\n * derived classes must implement the method isValid().\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass AbstractConstraint extends Base {\n\n /**\n *\n */\n constructor() {\n super();\n }\n\n /**\n * this method must return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n return Promise.reject(value);\n }\n}\n\nMonster.assignToNamespace('Monster.Constraints', AbstractConstraint);\nexport {Monster, AbstractConstraint}", "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\n\n/**\n * Operators allow you to link constraints together. for example, you can check whether a value is an object or an array. each operator has two operands that are linked together.\n * \n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass AbstractOperator extends AbstractConstraint {\n\n /**\n *\n * @param {AbstractConstraint} operantA\n * @param {AbstractConstraint} operantB\n * @throws {TypeError} \"parameters must be from type AbstractConstraint\"\n */\n constructor(operantA, operantB) {\n super();\n\n if (!(operantA instanceof AbstractConstraint) || !(operantB instanceof AbstractConstraint)) {\n throw new TypeError(\"parameters must be from type AbstractConstraint\")\n }\n\n this.operantA = operantA;\n this.operantB = operantB;\n\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', AbstractOperator);\nexport {Monster, AbstractOperator}", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\nimport {AbstractOperator} from \"./abstractoperator.js\";\n\n/**\n * The AndOperator is used to link several contraints. The constraint is fulfilled if all constraints of the operators are fulfilled.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js';\n * new Monster.Constraint.AndOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false));\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js';\n * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js';\n * new AndOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false));\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass AndOperator extends AbstractOperator {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n return Promise.all([this.operantA.isValid(value), this.operantB.isValid(value)]);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', AndOperator);\nexport {Monster, AndOperator}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\n\n/**\n * the invalid constraint allows an always invalid query to be performed. this contraint is mainly intended for testing.\n *\n * you can call the method via the monster namespace `new Monster.Constraint.Invalid()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js';\n * new Monster.Constraint.Invalid().catch(()=>console.log(true));\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js';\n * new Invalid().catch(()=>console.log(true));\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass Invalid extends AbstractConstraint {\n\n /**\n * this method return a rejected promise\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n return Promise.reject(value);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', Invalid);\nexport {Monster, Invalid}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\nimport {isArray} from \"../types/is.js\";\n\n/**\n *\n *\n * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js';\n * console.log(new Monster.Constraint.IsArray())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js';\n * console.log(new IsArray())\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass IsArray extends AbstractConstraint {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n if(isArray(value)) {\n return Promise.resolve(value);\n }\n\n return Promise.reject(value);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', IsArray);\nexport {Monster, IsArray}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\nimport {isObject} from \"../types/is.js\";\n\n/**\n *\n *\n * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js';\n * console.log(new Monster.Constraint.IsObject())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js';\n * console.log(new IsObject())\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass IsObject extends AbstractConstraint {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n if (isObject(value)) {\n return Promise.resolve(value);\n }\n\n return Promise.reject(value);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', IsObject);\nexport {Monster, IsObject}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractOperator} from \"./abstractoperator.js\";\n\n/**\n * The OrOperator is used to link several constraints. The constraint is fulfilled if one of the constraints is fulfilled.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js';\n * new Monster.Constraint.OrOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false));\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js';\n * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js';\n * new OrOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false));\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass OrOperator extends AbstractOperator {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n var self = this;\n\n return new Promise(function (resolve, reject) {\n let a, b;\n\n self.operantA.isValid(value)\n .then(function () {\n resolve();\n }).catch(function () {\n a = false;\n /** b has already been evaluated and was not true */\n if (b === false) {\n reject();\n }\n });\n\n self.operantB.isValid(value)\n .then(function () {\n resolve();\n }).catch(function () {\n b = false;\n /** b has already been evaluated and was not true */\n if (a === false) {\n reject();\n }\n });\n });\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', OrOperator);\nexport {Monster, OrOperator}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\n\n/**\n * the valid constraint allows an always valid query to be performed. this contraint is mainly intended for testing.\n *\n * you can call the method via the monster namespace `new Monster.Constraint.Valid()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js';\n * new Monster.Constraint.Valid().then(()=>console.log(true));\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js';\n * new Valid().then(()=>console.log(true));\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass Valid extends AbstractConstraint {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n return Promise.resolve(value);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', Valid);\nexport {Monster, Valid}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\n\n\n/**\n * this function uses crypt and returns a random number.\n *\n * you can call the method via the monster namespace `Monster.Math.random()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js';\n * console.log(Monster.Math.random(1,10)) // ↦ 5\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js';\n * console.log(random(1,10)) // ↦ 5\n * </script>\n * ```\n *\n * @param {number} min starting value of the definition set (default is 0)\n * @param {number} max end value of the definition set (default is 1000000000)\n * @returns {number}\n * @memberOf Monster/Math\n\n * @since 1.0.0\n * @copyright schukai GmbH\n */\nfunction random(min, max) {\n\n if (min === undefined) {\n min = 0;\n }\n if (max === undefined) {\n max = MAX;\n }\n\n if (max < min) {\n throw new Error(\"max must be greater than min\");\n }\n\n return Math.round(create(min, max));\n\n}\n\nvar MAX = 1000000000;\n\nMath.log2 = Math.log2 || function (n) {\n return Math.log(n) / Math.log(2);\n};\n\n/**\n *\n * @param min\n * @param max\n * @returns {*}\n * @private\n */\nfunction create(min, max) {\n var crypt;\n\n if (typeof global !== \"undefined\") {\n crypt = global?.['crypto'] || global?.['msCrypto'];\n } else {\n crypt = typeof crypto !== \"undefined\" ? crypto : undefined;\n }\n\n if (typeof crypt === \"undefined\") {\n throw new Error(\"missing crypt\")\n }\n\n let rval = 0;\n const range = max - min;\n if (range < 2) {\n return min;\n }\n\n const bitsNeeded = Math.ceil(Math.log2(range));\n if (bitsNeeded > 53) {\n throw new Error(\"we cannot generate numbers larger than 53 bits.\");\n }\n const bytesNeeded = Math.ceil(bitsNeeded / 8);\n const mask = Math.pow(2, bitsNeeded) - 1;\n\n const byteArray = new Uint8Array(bytesNeeded);\n crypt.getRandomValues(byteArray);\n\n let p = (bytesNeeded - 1) * 8;\n for (var i = 0; i < bytesNeeded; i++) {\n rval += byteArray[i] * Math.pow(2, p);\n p -= 8;\n }\n\n rval = rval & mask;\n\n if (rval >= range) {\n return create(min, max);\n }\n\n return min + rval;\n\n}\n\nMonster.assignToNamespace('Monster.Math', random);\nexport {Monster, random}\n\n\n\n\n", - "/**\n * @license\n * Copyright 2021 schukai GmbH\n * SPDX-License-Identifier: AGPL-3.0-only or COMMERCIAL\n * @author schukai GmbH\n */\n\n'use strict';\n\nimport {Monster} from './namespace.js';\nimport './types/id.js';\nimport './types/is.js';\nimport './types/base.js';\nimport './types/observer.js';\nimport './types/observerlist.js';\nimport './types/proxyobserver.js';\nimport './types/version.js';\nimport './types/tokenlist.js';\nimport './types/validate.js';\nimport './types/version.js';\nimport './math/random.js';\nimport './util/clone.js';\nimport './util/comparator.js';\nimport './util/freeze.js';\nimport './constraints/abstract.js';\nimport './constraints/andoperator.js';\nimport './constraints/invalid.js';\nimport './constraints/isarray.js';\nimport './constraints/isobject.js';\nimport './constraints/abstractoperator.js';\nimport './constraints/oroperator.js';\nimport './constraints/valid.js';\n\nMonster.Util.deepFreeze(Monster);\nexport {Monster};", - "'use strict';\n\n/**\n * @namespace Monster\n * @author schukai GmbH\n */\n\n\n/**\n * namespace class objects form the basic framework of the namespace administration.\n *\n * all functions, classes and objects of the library hang within the namespace tree.\n *\n * via `obj instanceof Monster.Namespace` it is also easy to check whether it is an object or a namespace.\n *\n * @memberOf Monster\n \n * @copyright schukai GmbH\n * @since 1.0.0\n */\nclass Namespace {\n\n /**\n *\n * @param namespace\n * @param obj\n */\n constructor(namespace) {\n if (namespace === undefined || typeof namespace !== 'string') {\n throw new Error(\"namespace is not a string\")\n }\n this.namespace = namespace;\n }\n\n /**\n *\n * @returns {string}\n */\n getNamespace() {\n return this.namespace;\n }\n\n /**\n *\n * @returns {string}\n */\n toString() {\n return this.getNamespace();\n }\n}\n\n/**\n *\n * @type {Namespace}\n * @global\n */\nexport const Monster = new Namespace(\"Monster\");\n\n\n/**\n *\n */\nassignToNamespace('Monster', assignToNamespace);\n\n/**\n * To expand monster, the `Monster.assignToNamespace()` method can be used. \n *\n * you must call the method in the monster namespace. this allows you to mount your own classes, objects and functions into the namespace.\n * \n * To avoid confusion and so that you do not accidentally overwrite existing functions, you should use the custom namespace `X`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/namespace.js';\n * function hello() {\n * console.log('Hello World!');\n * }\n * Monster.assignToNamespace(\"Monster.X\",hello)\n * Monster.X.hello(); // ↦ Hello World!\n * </script>\n * \n * ```\n *\n * @param ns\n * @param obj\n * @memberOf Monster\n \n */\nfunction assignToNamespace(ns, ...obj) {\n let current = namespaceFor(ns.split(\".\"));\n\n for (let i = 0, l = obj.length; i < l; i++) {\n current[objectName(obj[i])] = obj[i];\n }\n}\n\n/**\n *\n * @param fn\n * @returns {string|*}\n * @private\n */\nfunction objectName(fn) {\n try {\n\n if (typeof fn !== 'function') {\n throw new Error(\"the first argument is not a function or class.\");\n }\n\n if (fn.hasOwnProperty('name')) {\n return fn.name;\n }\n\n if (\"function\" === typeof fn.toString) {\n let s = fn.toString();\n let f = s.match(/^\\s*function\\s+([^\\s(]+)/);\n if (Array.isArray(f) && typeof f[1] === 'string') {\n return f[1];\n }\n let c = s.match(/^\\s*class\\s+([^\\s(]+)/);\n if (Array.isArray(c) && typeof c[1] === 'string') {\n return c[1];\n }\n }\n\n } catch (e) {\n throw new Error(\"exception \" + e);\n }\n\n throw new Error(\"the name of the class or function cannot be resolved.\");\n}\n\n/**\n *\n * @param parts\n * @returns {Namespace}\n * @private\n */\nfunction namespaceFor(parts) {\n var space = Monster, ns = 'Monster';\n\n for (let i = 0; i < parts.length; i++) {\n\n if (\"Monster\" === parts[i]) {\n continue;\n }\n\n ns += '.' + parts[i];\n\n if (!space.hasOwnProperty(parts[i])) {\n space[parts[i]] = new Namespace(ns);\n }\n\n space = space[parts[i]];\n }\n\n return space;\n}\n\n\nexport {assignToNamespace}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\n\n\n/**\n * This is the base class from which all monster classes are derived.\n *\n * you can call the method via the monster namespace `new Monster.Types.Base()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js';\n * console.log(new Monster.Types.Base())\n * console.log(new Monster.Types.Base())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js';\n * console.log(new Base())\n * console.log(new Base())\n * </script>\n * ```\n *\n * the class was formerly called Object.\n *\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass Base extends Object {\n\n /**\n *\n * @returns {string}\n */\n toString() {\n return JSON.stringify(this);\n };\n\n\n}\n\nMonster.assignToNamespace('Monster.Types', Base);\nexport {Monster, Base}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {random} from '../math/random.js';\nimport {Base} from './base.js';\n\nlet internalCounter = 0;\n\n/**\n * id class\n *\n * you can call the method via the monster namespace `new Monster.Types.ID()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js';\n * console.log(new Monster.Types.ID())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js';\n * console.log(new ID())\n * </script>\n * ```\n *\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass ID extends Base {\n\n /**\n * create new object\n */\n constructor() {\n super();\n\n internalCounter += 1;\n\n this.id = global.btoa(random(1, 10000))\n .replace(/=/g, '')\n /** No numbers at the beginning of the ID, because of possible problems with DOM */\n .replace(/^[0-9]+/, 'X') + internalCounter;\n }\n\n toString() {\n return this.id;\n }\n\n}\n\nMonster.assignToNamespace('Monster.Types', ID);\nexport {Monster, ID}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\n\n/**\n * with this function you can check if a value is iterable\n *\n * you can call the method via the monster namespace `Monster.Types.isPrimitive()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isIterable(null)) // ↦ false\n * console.log(Monster.Types.isIterable('hello')) // ↦ true\n * console.log(Monster.Types.isIterable([])) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(isIterable(null)) // ↦ false\n * console.log(isIterable('hello')) // ↦ true\n * console.log(isIterable([])) // ↦ true\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.2.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isIterable(value) {\n if (value === undefined) return false;\n if (value === null) return false;\n return typeof value?.[Symbol.iterator] === 'function';\n}\n\n\n/**\n * checks whether the value passed is a primitive (string, number, boolean, NaN, undefined, null or symbol)\n *\n * you can call the method via the monster namespace `Monster.Types.isPrimitive()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isPrimitive('2')) // ↦ false\n * console.log(Monster.Types.isPrimitive([])) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(isPrimitive('2')) // ↦ true\n * console.log(isPrimitive([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isPrimitive(value) {\n var type;\n\n if (value === undefined || value === null || value === NaN) {\n return true;\n }\n\n type = typeof value;\n\n if (type === 'string' || type === 'number' || type === 'boolean' || type === 'symbol') {\n return true;\n }\n\n return false;\n}\n\n/**\n * checks whether the value passed is a boolean\n *\n * you can call the method via the monster namespace `Monster.Types.isBoolean()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isBoolean('2')) // ↦ false\n * console.log(Monster.Types.isBoolean([])) // ↦ false\n * console.log(Monster.Types.isBoolean(true)) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(isBoolean('2')) // ↦ false\n * console.log(isBoolean([])) // ↦ false\n * console.log(isBoolean(2>4)) // ↦ true\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isBoolean(value) {\n\n if (value === true || value === false) {\n return true;\n }\n\n return false;\n}\n\n/**\n * checks whether the value passed is a string\n *\n * you can call the method via the monster namespace `Monster.Types.isString()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isString('2')) // ↦ true\n * console.log(Monster.Types.isString([])) // ↦ false\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(isString('2')) // ↦ true\n * console.log(isString([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isString(value) {\n if (value === undefined || typeof value !== 'string') {\n return false;\n }\n return true;\n}\n\n/**\n * checks whether the value passed is a object\n *\n * you can call the method via the monster namespace `Monster.Types.isObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isObject('2')) // ↦ false\n * console.log(Monster.Types.isObject([])) // ↦ false\n * console.log(Monster.Types.isObject({})) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(isObject('2')) // ↦ false\n * console.log(isObject([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isObject(value) {\n\n if (isArray(value)) return false;\n if (isPrimitive(value)) return false;\n\n if (typeof value === 'object') {\n return true;\n }\n\n return false;\n}\n\n/**\n * checks whether the value passed is a object and instance of instance\n *\n * you can call the method via the monster namespace `Monster.Types.isInstance()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isInstance('2')) // ↦ false\n * console.log(Monster.Types.isInstance([])) // ↦ false\n * console.log(Monster.Types.isInstance({})) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(isInstance('2')) // ↦ false\n * console.log(isInstance([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @param {*} instance\n * @returns {boolean}\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isInstance(value, instance) {\n\n if (!isObject(value)) return false;\n if (!isFunction(instance)) return false;\n if (!instance.hasOwnProperty('prototype')) return false;\n return (value instanceof instance)?true:false; \n\n}\n\n/**\n * checks whether the value passed is a array\n *\n * you can call the method via the monster namespace `Monster.Types.isArray()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isArray('2')) // ↦ false\n * console.log(Monster.Types.isArray([])) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(isArray('2')) // ↦ false\n * console.log(isArray([])) // ↦ true\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isArray(value) {\n if (Array.isArray(value)) {\n return true;\n }\n return false;\n}\n\n/**\n * checks whether the value passed is a function\n *\n * you can call the method via the monster namespace `Monster.Types.isFunction()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isFunction(()=>{})) // ↦ true\n * console.log(Monster.Types.isFunction('2')) // ↦ false\n * console.log(Monster.Types.isFunction([])) // ↦ false\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(isFunction(()=>{})) // ↦ true\n * console.log(isFunction('2')) // ↦ false\n * console.log(isFunction([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isFunction(value) {\n if (isArray(value)) return false;\n if (isPrimitive(value)) return false;\n\n if (typeof value === 'function') {\n return true;\n }\n\n return false;\n\n}\n\n/**\n * checks whether the value passed is an integer\n *\n * you can call the method via the monster namespace `Monster.Types.isFunction()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isInteger(()=>{})) // ↦ true\n * console.log(Monster.Types.isInteger('2')) // ↦ false\n * console.log(Monster.Types.isInteger(2)) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js';\n * console.log(isInteger(()=>{})) // ↦ true\n * console.log(isInteger('2')) // ↦ false\n * console.log(isInteger(2)) // ↦ true\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isInteger(value) {\n return Number.isInteger(value);\n}\n\n\nMonster.assignToNamespace('Monster.Types', isPrimitive, isBoolean, isString, isObject, isArray, isFunction, isIterable, isInteger);\nexport {Monster, isPrimitive, isBoolean, isString, isObject, isInstance, isArray, isFunction, isIterable, isInteger}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {TokenList} from './tokenlist.js';\nimport {isObject} from './is.js';\nimport {Base} from './base.js';\nimport {UniqueQueue} from './uniquequeue.js';\n\n/**\n * an observer manages a callback function\n *\n * you can call the method via the monster namespace `new Monster.Types.Observer()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js';\n * console.log(new Monster.Types.Observer())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js';\n * console.log(Observer())\n * </script>\n * ```\n *\n * the update method is called with the subject object as this pointer. for this reason the callback should not\n * be an arrow function, because it gets the this pointer of its own context.\n *\n * ```\n * <script>\n * Observer(()=>{\n * // this is not subject\n * })\n *\n * Observer(function() {\n * // this is subject\n * })\n * </script>\n * ```\n *\n * additional arguments can be passed to the callback. to do this, simply specify them.\n *\n * ```\n * <script>\n * Observer(function(a, b, c) {\n * console.log(a, b, c); // ↦ \"a\", 2, true \n * }, \"a\", 2, true)\n * </script>\n * ```\n *\n * the callback function must have as many parameters as arguments are given.\n *\n *\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass Observer extends Base {\n\n /**\n *\n * @param {function} callback\n * @param {*} args\n */\n constructor(callback, ...args) {\n super();\n\n if (typeof callback !== 'function') {\n throw new Error(\"observer callback must be a function\")\n }\n\n this.callback = callback;\n this.arguments = args;\n this.tags = new TokenList;\n this.queue = new UniqueQueue();\n }\n\n /**\n *\n * @param {string} tag\n * @returns {Observer}\n */\n addTag(tag) {\n this.tags.add(tag);\n return this;\n }\n\n /**\n *\n * @param {string} tag\n * @returns {Observer}\n */\n removeTag(tag) {\n this.tags.remove(tag);\n return this;\n }\n\n /**\n *\n * @returns {Array}\n */\n getTags() {\n return this.tags.entries()\n }\n\n /**\n *\n * @param {string} tag\n * @returns {boolean}\n */\n hasTag(tag) {\n return this.tags.contains(tag)\n }\n\n /**\n *\n * @param {object} subject\n * @returns {Promise}\n */\n update(subject) {\n let self = this;\n\n return new Promise(function (resolve, reject) {\n if (!isObject(subject)) {\n reject(\"subject must be an object\");\n }\n\n self.queue.add(subject);\n\n setTimeout(() => {\n\n // the queue and the settimeout ensure that an object is not \n // informed of the same change more than once.\n if (self.queue.isEmpty()) {\n resolve();\n return;\n }\n\n let s = self.queue.poll();\n let result = self.callback.apply(s, self.arguments);\n\n if (isObject(result) && result instanceof Promise) {\n result.then(resolve).catch(reject);\n return;\n }\n\n resolve(result);\n }, 0)\n\n });\n\n };\n\n}\n\nMonster.assignToNamespace('Monster.Types', Observer);\nexport {Monster, Observer}\n\n\n\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Base} from './base.js';\n\n/**\n * With the help of the ObserverList class, observer can be managed.\n *\n * you can call the method via the monster namespace `new Monster.Types.ObserverList()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js';\n * console.log(new Monster.Types.ObserverList()) \n * console.log(new Monster.Types.ObserverList()) \n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js';\n * console.log(ObserverList())\n * console.log(ObserverList())\n * </script>\n * ```\n *\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass ObserverList extends Base {\n\n constructor() {\n super();\n this.observers = [];\n }\n\n attach(observer) {\n checkIsObserver(observer);\n this.observers.push(observer);\n return this;\n };\n\n detach(observer) {\n checkIsObserver(observer);\n var i = 0, l = this.observers.length;\n for (; i < l; i++) {\n if (this.observers[i] === observer) {\n this.observers.splice(i, 1);\n }\n }\n\n return this;\n };\n\n contains(observer) {\n checkIsObserver(observer);\n var i = 0, l = this.observers.length;\n for (; i < l; i++) {\n if (this.observers[i] === observer) {\n return true;\n }\n }\n return false;\n };\n\n notify(subject) {\n\n let pomises = []\n\n var i = 0, l = this.observers.length;\n for (; i < l; i++) {\n pomises.push(this.observers[i].update(subject));\n }\n\n return Promise.all(pomises);\n };\n\n}\n\n/**\n * \n * @param {Monster.Types.Observer} observer\n * @returns {boolean}\n * @private\n */\nfunction checkIsObserver(observer) {\n if (!(observer instanceof Monster.Types.Observer)) {\n throw new Error(\"argument must be instance of observer\")\n }\n return true;\n}\n\nMonster.assignToNamespace('Monster.Types', ObserverList);\nexport {Monster, ObserverList}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Base} from './base.js';\nimport {validateObject} from \"./validate.js\";\nimport {ObserverList} from \"./observerlist.js\";\nimport {Observer} from \"./observer.js\";\nimport {isObject, isArray, isPrimitive} from \"./is.js\";\n\n/**\n * an observer manages a callback function\n *\n * you can call the method via the monster namespace `new Monster.Types.Observer()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js';\n * console.log(new Monster.Types.ProxyObserver())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js';\n * console.log(new ProxyObserver())\n * </script>\n * ```\n *\n * with the ProxyObserver you can attach observer for observation. with each change at the object to be observed an update takes place.\n *\n * this also applies to nested objects.\n *\n * ```javascript\n * const o = new Observer(function () {\n * if (isObject(this) && this instanceof ProxyObserver) {\n * // do something (this ist ProxyObserver)\n * const subject = this.getSubject();\n * }\n * )\n * \n * let realSubject = {\n * a: {\n * b: {\n * c: true\n * },\n * d: 5\n * }\n * \n * \n * const p = new ProxyObserver(realSubject);\n * p.attachObserver(o);\n * const s = p.getSubject();\n * s.a.b.c = false;\n * ```\n *\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass ProxyObserver extends Base {\n\n /**\n *\n * @param {object} object\n */\n constructor(object) {\n super();\n validateObject(object);\n this.realSubject = object\n this.subject = new Proxy(object, getHandler.call(this));\n\n this.objectMap = new WeakMap();\n this.objectMap.set(this.realSubject, this.subject);\n\n this.observers = new ObserverList;\n }\n\n /**\n * get the real object\n *\n * changes to this object are not noticed by the observers, so you can make a large number of changes and inform the observers later.\n *\n * @returns {object}\n */\n getSubject() {\n return this.subject\n }\n\n /**\n * get the proxied object\n *\n * @returns {object}\n */\n getRealSubject() {\n return this.realSubject\n }\n\n /**\n * attach a new observer\n *\n * @param {Observer} observer\n * @returns {ProxyObserver}\n */\n attachObserver(observer) {\n this.observers.attach(observer)\n return this;\n }\n\n /**\n * detach a observer\n *\n * @param {Observer} observer\n * @returns {ProxyObserver}\n */\n detachObserver(observer) {\n this.observers.detach(observer)\n return this;\n }\n\n /**\n * notify all observer\n *\n * @returns {ProxyObserver}\n */\n notifyObservers() {\n this.observers.notify(this);\n return this;\n }\n\n /**\n * @param {Observer} observer\n * @returns {ProxyObserver}\n */\n containsObserver(observer) {\n return this.observers.contains(observer)\n }\n\n}\n\nMonster.assignToNamespace('Monster.Types', ProxyObserver);\nexport {Monster, ProxyObserver}\n\n/**\n *\n * @returns {{defineProperty: (function(*=, *=, *=): *), setPrototypeOf: (function(*, *=): boolean), set: (function(*, *, *, *): boolean), get: ((function(*=, *=, *=): (undefined))|*), deleteProperty: ((function(*, *): (boolean))|*)}}\n * @private\n * @see {@link https://gitlab.schukai.com/-/snippets/49}\n */\nfunction getHandler() {\n\n const proxy = this;\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots\n const handler = {\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiver\n get: function (target, key, receiver) {\n\n const value = Reflect.get(target, key, receiver);\n\n if (typeof key === \"symbol\") {\n return value;\n }\n\n if (isPrimitive(value)) {\n return value;\n }\n\n // set value as proxy if object or array\n if ((isArray(value) || isObject(value))) {\n if (proxy.objectMap.has(value)) {\n return proxy.objectMap.get(value);\n } else {\n let p = new Proxy(value, handler);\n proxy.objectMap.set(value, p);\n return p;\n }\n\n }\n\n return value;\n\n },\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-set-p-v-receiver \n set: function (target, key, value, receiver) {\n const result = Reflect.set(target, key, value, receiver);\n if (typeof property !== \"symbol\") {\n proxy.observers.notify(proxy);\n }\n\n return result;\n },\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-delete-p\n deleteProperty: function (target, key) {\n if (key in target) {\n delete target[key];\n\n if (typeof key !== \"symbol\") {\n proxy.observers.notify(proxy);\n }\n\n\n return true;\n }\n return false;\n },\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc\n defineProperty: function (target, key, descriptor) {\n let result = Reflect.defineProperty(target, key, descriptor);\n\n if (typeof key !== \"symbol\") {\n proxy.observers.notify(proxy);\n }\n\n\n return result;\n },\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v\n setPrototypeOf: function (target, key) {\n let result = Reflect.setPrototypeOf(object1, key);\n\n if (typeof key !== \"symbol\") {\n proxy.observers.notify(proxy);\n }\n\n return result;\n }\n\n };\n\n\n return handler;\n}\n", - "import {Monster, Base} from './base.js';\n\n/**\n * queue class\n *\n * you can call the method via the monster namespace `new Monster.Types.Queue()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js';\n * console.log(new Monster.Types.Queue())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js';\n * console.log(new Queue())\n * </script>\n * ```\n *\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass Queue extends Base { \n\n /**\n *\n */\n constructor() {\n super();\n this.data = [];\n }\n\n\n /**\n * @return {boolean}\n */\n isEmpty() {\n return this.data.length === 0;\n }\n\n /**\n * Read the element at the front of the queue without removing it.\n *\n * @return {*}\n */\n peek() {\n if (this.isEmpty()) {\n return undefined;\n }\n\n return this.data[0];\n }\n\n /**\n * Add a new element to the end of the queue.\n *\n * @param {*} value\n * @returns {Queue}\n */\n add(value) {\n this.data.push(value)\n return this;\n }\n\n /**\n * remove all entries\n *\n * @returns {Queue}\n */\n clear() {\n this.data = [];\n return this;\n }\n\n /**\n * Remove the element at the front of the queue\n * If the queue is empty, return undefined.\n *\n * @return {*}\n */\n poll() {\n if (this.isEmpty()) {\n return undefined;\n }\n return this.data.shift();\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Types', Queue);\nexport {Monster, Queue}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Base} from './base.js';\nimport {isString, isIterable} from '../types/is.js';\nimport {validateString, validateFunction} from '../types/validate.js';\n\n/**\n * A tokenlist allows you to manage tokens (individual character strings such as css classes in an attribute string).\n *\n * The tokenlist offers various functions to manipulate values. For example, you can add, remove or replace a class in a CSS list.\n *\n * you can call the method via the monster namespace `new Monster.Types.TokenList()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js';\n * console.log(new Monster.Types.TokenList(\"myclass row\"))\n * console.log(new Monster.Types.TokenList(\"myclass row\"))\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js';\n * console.log(new TokenList(\"myclass row\"))\n * console.log(new TokenList(\"myclass row\"))\n * </script>\n * ```\n *\n * This class implements the [iteration protocol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).\n *\n * ```\n * console.log(typeof new TokenList(\"myclass row\")[Symbol.iterator]); // \"function\"\n * ```\n *\n *\n * @since 1.2.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass TokenList extends Base {\n\n /**\n *\n * @param {array|string|iteratable} init\n */\n constructor(init) {\n super();\n this.tokens = new Set();\n\n if (typeof init !== \"undefined\") {\n this.add(init);\n }\n\n }\n\n /**\n * Iterator protocol\n *\n * @returns {Symbol.iterator}\n */\n getIterator() {\n return this[Symbol.iterator]();\n }\n\n /**\n * Iterator\n *\n * @returns {{next: ((function(): ({value: *, done: boolean}))|*)}}\n */\n [Symbol.iterator]() {\n // Use a new index for each iterator. This makes multiple\n // iterations over the iterable safe for non-trivial cases,\n // such as use of break or nested looping over the same iterable.\n let index = 0;\n let entries = this.entries()\n\n return {\n next: () => {\n if (index < entries.length) {\n return {value: entries?.[index++], done: false}\n } else {\n return {done: true}\n }\n }\n }\n }\n\n /**\n * Returns true if it contains token, otherwise false\n *\n * ```\n * new TokenList(\"start middle end\").contains('start')); // ↦ true\n * new TokenList(\"start middle end\").contains('end')); // ↦ true\n * new TokenList(\"start middle end\").contains('xyz')); // ↦ false\n * new TokenList(\"start middle end\").contains(['end','start','middle'])); // ↦ true\n * new TokenList(\"start middle end\").contains(['end','start','xyz'])); // ↦ false\n * ```\n *\n * @param {array|string|iteratable} value\n * @returns {boolean}\n */\n contains(value) {\n if (isString(value)) {\n value = value.trim()\n let counter = 0;\n value.split(\" \").forEach(token => {\n if (this.tokens.has(token.trim()) === false) return false;\n counter++\n })\n return counter > 0 ? true : false;\n }\n\n if (isIterable(value)) {\n let counter = 0;\n for (let token of value) {\n validateString(token);\n if (this.tokens.has(token.trim()) === false) return false;\n counter++\n }\n return counter > 0 ? true : false;\n }\n\n return false;\n }\n\n /**\n * add tokens\n *\n * ```\n * new TokenList().add(\"abc xyz\").toString(); // ↦ \"abc xyz\"\n * new TokenList().add([\"abc\",\"xyz\"]).toString(); // ↦ \"abc xyz\"\n * new TokenList().add(undefined); // ↦ add nothing\n * ```\n *\n * @param {array|string|iteratable} value\n * @returns {TokenList}\n * @throws {TypeError} unsupported value\n */\n add(value) {\n if (isString(value)) {\n value.split(\" \").forEach(token => {\n this.tokens.add(token.trim());\n })\n } else if (isIterable(value)) {\n for (let token of value) {\n validateString(token);\n this.tokens.add(token.trim());\n }\n } else if (typeof value !== \"undefined\") {\n throw new TypeError(\"unsupported value\");\n }\n\n return this;\n }\n\n /**\n * remove all tokens\n *\n * @returns {TokenList}\n */\n clear() {\n this.tokens.clear();\n return this;\n }\n\n /**\n * Removes token\n *\n * ```\n * new TokenList(\"abc xyz\").remove(\"xyz\").toString(); // ↦ \"abc\"\n * new TokenList(\"abc xyz\").remove([\"xyz\"]).toString(); // ↦ \"abc\"\n * new TokenList(\"abc xyz\").remove(undefined); // ↦ remove nothing\n * ```\n *\n * @param {array|string|iteratable} value\n * @returns {TokenList}\n * @throws {TypeError} unsupported value\n */\n remove(value) {\n if (isString(value)) {\n value.split(\" \").forEach(token => {\n this.tokens.delete(token.trim());\n })\n } else if (isIterable(value)) {\n for (let token of value) {\n validateString(token);\n this.tokens.delete(token.trim());\n }\n } else if (typeof value !== \"undefined\") {\n throw new TypeError(\"unsupported value\");\n }\n\n return this;\n }\n\n /**\n * this method replaces a token with a new token.\n *\n * if the passed token exists, it is replaced with newToken and TokenList is returned.\n * if the token does not exist, newToken is not set and TokenList is returned.\n *\n * @param {string} token\n * @param {string} newToken\n * @returns {TokenList}\n */\n replace(token, newToken) {\n validateString(token);\n validateString(newToken);\n if (!this.contains(token)) {\n return this;\n }\n\n let a = Array.from(this.tokens)\n let i = a.indexOf(token);\n if (i === -1) return this;\n\n a.splice(i, 1, newToken);\n this.tokens = new Set();\n this.add(a);\n\n return this;\n\n\n }\n\n /**\n * Removes token from string. If token doesn't exist it's added.\n * \n * ```\n * new TokenList(\"abc def ghi\").toggle(\"def xyz\").toString(); // ↦ \"abc ghi xyz\"\n * new TokenList(\"abc def ghi\").toggle([\"abc\",\"xyz\"]).toString(); // ↦ \"def ghi xyz\"\n * new TokenList().toggle(undefined); // ↦ nothing\n * ```\n * \n * @param {array|string|iteratable} value\n * @returns {boolean}\n * @throws {TypeError} unsupported value\n */\n toggle(value) {\n\n if (isString(value)) {\n value.split(\" \").forEach(token => {\n toggleValue.call(this, token);\n })\n } else if (isIterable(value)) {\n for (let token of value) {\n toggleValue.call(this, token);\n }\n } else if (typeof value !== \"undefined\") {\n throw new TypeError(\"unsupported value\");\n }\n\n return this;\n\n }\n\n /**\n * returns an array with all tokens\n *\n * @returns {array}\n */\n entries() {\n return Array.from(this.tokens)\n }\n\n /**\n * executes the provided function with each value of the set\n *\n * @param {function} callback\n * @returns {TokenList}\n */\n forEach(callback) {\n validateFunction(callback);\n this.tokens.forEach(callback);\n return this;\n }\n\n /**\n * returns the individual tokens separated by a blank character\n *\n * @returns {string}\n */\n toString() {\n return this.entries().join(' ');\n }\n\n}\n\n/**\n * @private\n * @param token\n * @returns {toggleValue}\n * @throws {Error} must be called with TokenList.call\n */\nfunction toggleValue(token) {\n if (!(this instanceof TokenList)) throw Error(\"must be called with TokenList.call\")\n validateString(token);\n token = token.trim();\n if (this.contains(token)) {\n this.remove(token);\n return this;\n }\n this.add(token);\n return this;\n}\n\nMonster.assignToNamespace('Monster.Types', TokenList);\nexport {Monster, TokenList}\n", - "import {Monster, Queue} from \"./queue.js\";\nimport {validateObject} from \"./validate.js\";\n\n/**\n * UniqueQueue class\n *\n * you can call the method via the monster namespace `new Monster.Types.Queue()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js';\n * console.log(new Monster.Types.UniqueQueue())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js';\n * console.log(new UniqueQueue())\n * </script>\n * ```\n *\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass UniqueQueue extends Queue {\n\n /**\n *\n */\n constructor() {\n super();\n this.unique = new WeakSet();\n }\n\n /**\n * Add a new element to the end of the queue.\n *\n * @param {object} value\n * @returns {Queue}\n * @throws {TypeError} value is not a object\n */\n add(value) {\n \n validateObject(value);\n \n if (!this.unique.has(value)) {\n this.unique.add(value);\n super.add(value);\n }\n \n return this;\n }\n\n /**\n * remove all entries\n *\n * @returns {Queue}\n */\n clear() {\n super.clear();\n this.unique = new WeakSet;\n return this;\n }\n\n /**\n * Remove the element at the front of the queue\n * If the queue is empty, return undefined.\n *\n * @return {object}\n */\n poll() {\n\n if (this.isEmpty()) {\n return undefined;\n }\n let value = this.data.shift();\n this.unique.delete(value);\n return value;\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Types', UniqueQueue);\nexport {Monster, UniqueQueue}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {\n isPrimitive,\n isBoolean,\n isString,\n isObject,\n isArray,\n isFunction,\n isIterable,\n isInstance,\n isInteger\n} from './is.js';\n\n/**\n * this method checks if the type matches the primitive type. this function is identical to isPrimitive() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validatePrimitive()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError\n * console.log(Monster.Types.validateIterable([])) // ↦ undefined\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(validateIterable('2')) // ↦ TypeError\n * console.log(validateIterable([])) // ↦ undefined\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.2.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a primitive\n * @see {@link isPrimitive}\n * @see {@link Monster/Types/isPrimitive}\n * @see {@link Monster/Types#isPrimitive}\n */\nfunction validateIterable(value) {\n if (!isIterable(value)) {\n throw new TypeError('value is not iterable')\n }\n}\n\n/**\n * this method checks if the type matches the primitive type. this function is identical to isPrimitive() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validatePrimitive()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validatePrimitive('2')) // ↦ undefined\n * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(validatePrimitive('2')) // ↦ undefined\n * console.log(validatePrimitive([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a primitive\n * @see {@link isPrimitive}\n * @see {@link Monster/Types/isPrimitive}\n * @see {@link Monster/Types#isPrimitive}\n */\nfunction validatePrimitive(value) {\n if (!isPrimitive(value)) {\n throw new TypeError('value is not a primitive')\n }\n}\n\n/**\n * this method checks if the type matches the boolean type. this function is identical to isBoolean() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateBoolean()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateBoolean(true)) // ↦ undefined\n * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError\n * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(validateBoolean(false)) // ↦ undefined\n * console.log(validateBoolean('2')) // ↦ TypeError\n * console.log(validateBoolean([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n\n * @throws {TypeError} value is not primitive\n */\nfunction validateBoolean(value) {\n if (!isBoolean(value)) {\n throw new TypeError('value is not a boolean')\n }\n}\n\n/**\n * this method checks if the type matches the string type. this function is identical to isString() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateString()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateString('2')) // ↦ undefined\n * console.log(Monster.Types.validateString([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(validateString('2')) // ↦ undefined\n * console.log(validateString([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a string\n */\nfunction validateString(value) {\n if (!isString(value)) {\n throw new TypeError('value is not a string')\n }\n}\n\n\n/**\n * this method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateObject({})) // ↦ undefined\n * console.log(Monster.Types.validateObject('2')) // ↦ TypeError\n * console.log(Monster.Types.validateObject([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(validateObject({})) // ↦ undefined\n * console.log(validateObject('2')) // ↦ TypeError\n * console.log(validateObject([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a object\n */\nfunction validateObject(value) {\n if (!isObject(value)) {\n throw new TypeError('value is not a object')\n }\n}\n\n/**\n * this method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateInstance({}, Object)) // ↦ undefined\n * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError\n * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(validateInstance({}, Object)) // ↦ undefined\n * console.log(validateInstance('2', Object)) // ↦ TypeError\n * console.log(validateInstance([], Object)) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not an instance of\n */\nfunction validateInstance(value, instance) {\n if (!isInstance(value, instance)) {\n throw new TypeError('value is not an instance of')\n }\n}\n\n/**\n * this method checks if the type matches the array type. this function is identical to isArray() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateArray()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateArray('2')) // ↦ TypeError\n * console.log(Monster.Types.validateArray([])) // ↦ undefined\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(validateArray('2')) // ↦ TypeError\n * console.log(validateArray([])) // ↦ undefined\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not an array\n */\nfunction validateArray(value) {\n if (!isArray(value)) {\n throw new TypeError('value is not an array')\n }\n}\n\n/**\n * this method checks if the type matches the function type. this function is identical to isFunction() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateFunction()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateFunction(()=>{})) // ↦ undefined\n * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError\n * console.log(Monster.Types.validateFunction([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(validateFunction(()=>{})) // ↦ undefined\n * console.log(validateFunction('2')) // ↦ TypeError\n * console.log(validateFunction([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a function\n */\nfunction validateFunction(value) {\n if (!isFunction(value)) {\n throw new TypeError('value is not a function')\n }\n}\n\n/**\n * this method checks if the type is an integer. this function is identical to isInteger() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateInteger()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError\n * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError\n * console.log(Monster.Types.validateInteger(2)) // ↦ undefined\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js';\n * console.log(validateInteger(true)) // ↦ TypeError\n * console.log(validateInteger('2')) // ↦ TypeError\n * console.log(validateInteger(2)) // ↦ undefined\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not an integer\n */\nfunction validateInteger(value) {\n if (!isInteger(value)) {\n throw new TypeError('value is not an integer')\n }\n}\n\nMonster.assignToNamespace('Monster.Types', validatePrimitive, validateBoolean, validateString, validateObject, validateArray, validateFunction, validateIterable, validateInteger);\nexport {\n Monster,\n validatePrimitive,\n validateBoolean,\n validateString,\n validateObject,\n validateInstance,\n validateArray,\n validateFunction,\n validateIterable,\n validateInteger\n}\n", - "'use strict';\n\nimport {Monster} from '../namespace.js';\nimport {Base} from './base.js';\n\n/**\n * the version object contains a sematic version number\n *\n * you can create the object via the monster namespace `new Monster.Types.Version()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js';\n * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3\n * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this class individually.\n *\n * ```\n * <script type=\"module\">\n * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js';\n * console.log(new Version('1.2.3')) // ↦ 1.2.3\n * console.log(new Version('1')) // ↦ 1.0.0\n * </script>\n * ```\n *\n * some examples\n *\n * ```\n * new Monster.Types.Version('1.0.0') // 1.0.0\n * new Monster.Types.Version(1) // 1.0.0\n * new Monster.Types.Version(1, 0, 0) // 1.0.0\n * new Monster.Types.Version('1.2.3', 4, 5) // 1.4.5\n * ```\n *\n * @since 1.0.0\n * @author schukai GmbH\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass Version extends Base {\n\n /**\n *\n * @param major\n * @param minor\n * @param patch\n * @throws major is not a number\n * @throws minor is not a number\n * @throws patch is not a number\n */\n constructor(major, minor, patch) {\n super();\n\n if (typeof major === 'string' && minor === undefined && patch === undefined) {\n\n let parts = major.toString().split('.');\n major = parseInt(parts[0] || 0);\n minor = parseInt(parts[1] || 0);\n patch = parseInt(parts[2] || 0);\n }\n\n if (major === undefined) {\n throw new Error(\"major version is undefined\");\n }\n\n if (minor === undefined) {\n minor = 0;\n }\n\n if (patch === undefined) {\n patch = 0;\n }\n\n this.major = parseInt(major);\n this.minor = parseInt(minor);\n this.patch = parseInt(patch);\n\n if (isNaN(this.major)) {\n throw new Error(\"major is not a number\");\n }\n\n if (isNaN(this.minor)) {\n throw new Error(\"minor is not a number\");\n }\n\n if (isNaN(this.patch)) {\n throw new Error(\"patch is not a number\");\n }\n\n }\n\n /**\n *\n * @returns {string}\n */\n toString() {\n return this.major + '.' + this.minor + '.' + this.patch;\n }\n\n /**\n * returns 0 if equal, -1 if the object version is less and 1 if greater\n * then the compared version\n *\n * @param {string|Version} version Version to compare\n * @returns {number}\n */\n compareTo(version) {\n\n if (version instanceof Version) {\n version = version.toString();\n }\n\n if (typeof version !== 'string') {\n throw new Error(\"type exception\");\n }\n\n if (version === this.toString()) {\n return 0;\n }\n\n let a = [this.major, this.minor, this.patch];\n let b = version.split('.');\n let len = Math.max(a.length, b.length);\n\n for (let i = 0; i < len; i += 1) {\n if ((a[i] && !b[i] && parseInt(a[i]) > 0) || (parseInt(a[i]) > parseInt(b[i]))) {\n return 1;\n } else if ((b[i] && !a[i] && parseInt(b[i]) > 0) || (parseInt(a[i]) < parseInt(b[i]))) {\n return -1;\n }\n }\n\n return 0;\n };\n\n}\n\nMonster.assignToNamespace('Monster.Types', Version);\n\n\nlet monsterVersion;\n\n/**\n * Version of monster\n *\n * you can call the method via the monster namespace `Monster.getVersion()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js';\n * console.log(Monster.getVersion())\n * console.log(Monster.getVersion())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js';\n * console.log(getVersion())\n * console.log(getVersion())\n * </script>\n * ```\n *\n * @returns {Monster.Types.Version}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @author schukai GmbH\n * @memberOf Monster\n */\nfunction getVersion() {\n if (monsterVersion instanceof Version) {\n return monsterVersion;\n }\n /**#@+ dont touch, replaced by make with package.json version */\n monsterVersion = new Version('1.5.0')\n /**#@-*/\n return monsterVersion;\n\n}\n\nMonster.assignToNamespace('Monster', getVersion);\nexport {Monster, Version, getVersion}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {isObject, isFunction, isPrimitive, isArray} from '../types/is.js';\n\n\n/**\n * with this function, objects can be cloned.\n * the entire object tree is run through.\n *\n * Proxy, Element, HTMLDocument and DocumentFragment instances are not cloned.\n * Global objects such as windows are also not cloned,\n *\n * If an object has a method `getClone()`, this method is used to create the clone.\n *\n * you can call the method via the monster namespace `Monster.Util.clone()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js';\n * console.log(Monster.Util.clone({}))\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js';\n * console.log(clone({}))\n * </script>\n * ```\n *\n *\n * @param {*} obj object to be cloned\n * @returns {*}\n *\n * @since 1.0.0\n * @memberOf Monster/Util\n * @copyright schukai GmbH\n * @throws {Error} unable to clone obj! its type isn't supported.\n */\nfunction clone(obj) {\n\n // typeof null results in 'object'. https://2ality.com/2013/10/typeof-null.html\n if (null === obj) {\n return obj;\n }\n\n // Handle the two simple types, null and undefined\n if (isPrimitive(obj)) {\n return obj;\n }\n \n // Handle the two simple types, null and undefined\n if (isFunction(obj)) {\n return obj;\n }\n\n // Handle Array\n if (isArray(obj)) {\n let copy = [];\n for (var i = 0, len = obj.length; i < len; i++) {\n copy[i] = clone(obj[i]);\n }\n\n return copy;\n }\n\n if (isObject(obj)) {\n\n\n // Handle Date\n if (obj instanceof Date) {\n let copy = new Date();\n copy.setTime(obj.getTime());\n return copy;\n }\n\n /** Do not clone DOM nodes */\n if (typeof Element !== 'undefined' && obj instanceof Element) return obj;\n if (typeof HTMLDocument !== 'undefined' && obj instanceof HTMLDocument) return obj;\n if (typeof DocumentFragment !== 'undefined' && obj instanceof DocumentFragment) return obj;\n\n /** Do not clone global objects */\n if (typeof globalContext !== 'undefined' && obj === globalContext) return obj;\n if (typeof window !== 'undefined' && obj === window) return obj;\n if (typeof document !== 'undefined' && obj === document) return obj;\n if (typeof navigator !== 'undefined' && obj === navigator) return obj;\n if (typeof JSON !== 'undefined' && obj === JSON) return obj;\n\n // Handle Proxy-Object\n try {\n // try/catch because possible: TypeError: Function has non-object prototype 'undefined' in instanceof check\n if (obj instanceof Proxy) {\n return obj;\n }\n } catch (e) {\n }\n\n return cloneObject(obj)\n\n }\n\n throw new Error(\"unable to clone obj! its type isn't supported.\");\n}\n\n/**\n *\n * @param {object} obj\n * @returns {object}\n * @private\n */\nfunction cloneObject(obj) {\n var copy;\n\n /** Object has clone method */\n if (typeof obj.hasOwnProperty('getClone') && obj.getClone === 'function') {\n return obj.getClone();\n }\n\n copy = {};\n if (typeof obj.constructor === 'function' &&\n typeof obj.constructor.call === 'function') {\n copy = new obj.constructor();\n }\n\n for (let key in obj) {\n\n if (!obj.hasOwnProperty(key)) {\n continue;\n }\n\n if (Monster.Types.isPrimitive(obj[key])) {\n copy[key] = obj[key];\n continue;\n }\n\n copy[key] = clone(obj[key]);\n }\n\n return copy;\n}\n\nMonster.assignToNamespace('Monster.Util', clone);\nexport {Monster, clone}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, Base} from '../types/base.js';\nimport {isFunction} from '../types/is.js';\n\n/**\n * the comparator allows a comparison function to be abstracted.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js';\n * console.log(new Monster.Util.Comparator())\n * console.log(new Monster.Util.Comparator())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js';\n * console.log(new Util())\n * console.log(new Util())\n * </script>\n * ```\n *\n * the following are some examples of the application of the class.\n *\n * ```\n * new Comparator().lessThanOrEqual(2, 5) // ↦ true\n * new Comparator().greaterThan(4, 2) // ↦ true\n * new Comparator().equal(4, 4) // ↦ true\n * new Comparator().equal(4, 5) // ↦ false\n * ```\n *\n * you can also pass your own comparison function, and thus define the comparison function.\n *\n * ```\n * new Comparator(function (a, b) {\n * if (a.v === b.v) return 0;\n * return a.v < b.v ? -1 : 1;\n * }).equal({v: 2}, {v: 2}); // ↦ true\n * ```\n *\n * @since 1.3.0\n * @memberOf Monster/Util\n */\nclass Comparator extends Base {\n\n /**\n * create new comparator\n *\n * @param {function} callback\n * @throw {TypeError} \"unsupported type\"\n * @throw {TypeError} \"impractical comparison\"\n */\n constructor(callback) {\n super();\n\n if (isFunction(callback)) {\n this.compare = callback\n } else if (callback !== undefined) {\n throw new TypeError(\"unsupported type\")\n } else {\n // default compare function\n this.compare = function (a, b) {\n\n if (typeof a !== typeof b) {\n throw new TypeError(\"impractical comparison\")\n }\n\n if (a === b) {\n return 0;\n }\n return a < b ? -1 : 1;\n };\n }\n\n }\n\n /**\n * changes the order of the operators\n *\n * @return {Comparator}\n */\n reverse() {\n const original = this.compare;\n this.compare = (a, b) => original(b, a);\n return this;\n }\n\n /**\n * Checks if two variables are equal.\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n equal(a, b) {\n return this.compare(a, b) === 0;\n }\n\n\n /**\n * Checks if variable `a` is greater than `b`\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n greaterThan(a, b) {\n return this.compare(a, b) > 0;\n }\n\n /**\n * Checks if variable `a` is greater than or equal to `b`\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n greaterThanOrEqual(a, b) {\n return this.greaterThan(a, b) || this.equal(a, b);\n }\n\n /**\n * Checks if variable `a` is less than or equal to `b`\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n lessThanOrEqual(a, b) {\n return this.lessThan(a, b) || this.equal(a, b);\n }\n\n /**\n * Checks if variable a is less than b\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n lessThan(a, b) {\n return this.compare(a, b) < 0;\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Util', Comparator);\nexport {Monster, Comparator}\n", - "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {validateObject} from '../types/validate.js';\n\n/**\n * deep freeze a object\n *\n * you can call the method via the monster namespace `Monster.Util.deepFreeze()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js';\n * console.log(Monster.Util.deepFreeze({})) \n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js';\n * console.log(deepFreeze({})) \n * </script>\n * ```\n *\n * @param {object} obj object to be freeze\n * @since 1.0.0\n * @returns {object}\n * @memberOf Monster/Util\n * @copyright schukai GmbH\n * @throws {TypeError} value is not a object\n */\nfunction deepFreeze(object) {\n \n validateObject(object)\n\n // Retrieve the defined property names of the object\n var propNames = Object.getOwnPropertyNames(object);\n\n // Freeze properties before freezing yourself\n for (let name of propNames) {\n let value = object[name];\n\n object[name] = value && typeof value === \"object\" ?\n deepFreeze(value) : value;\n }\n\n return Object.freeze(object);\n}\n\nMonster.assignToNamespace('Monster.Util', deepFreeze);\nexport {Monster, deepFreeze}\n" + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\nimport {AbstractOperator} from \"./abstractoperator.js\";\n\n/**\n * The AndOperator is used to link several contraints. The constraint is fulfilled if all constraints of the operators are fulfilled.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js';\n * new Monster.Constraint.AndOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false));\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js';\n * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js';\n * new AndOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false));\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass AndOperator extends AbstractOperator {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n return Promise.all([this.operantA.isValid(value), this.operantB.isValid(value)]);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', AndOperator);\nexport {Monster, AndOperator}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\n\n/**\n * the invalid constraint allows an always invalid query to be performed. this contraint is mainly intended for testing.\n *\n * you can call the method via the monster namespace `new Monster.Constraint.Invalid()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js';\n * new Monster.Constraint.Invalid().catch(()=>console.log(true));\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js';\n * new Invalid().catch(()=>console.log(true));\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass Invalid extends AbstractConstraint {\n\n /**\n * this method return a rejected promise\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n return Promise.reject(value);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', Invalid);\nexport {Monster, Invalid}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\nimport {isArray} from \"../types/is.js\";\n\n/**\n * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js';\n * console.log(new Monster.Constraint.IsArray())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js';\n * console.log(new IsArray())\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass IsArray extends AbstractConstraint {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n if(isArray(value)) {\n return Promise.resolve(value);\n }\n\n return Promise.reject(value);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', IsArray);\nexport {Monster, IsArray}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\nimport {isObject} from \"../types/is.js\";\n\n/**\n * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js';\n * console.log(new Monster.Constraint.IsObject())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js';\n * console.log(new IsObject())\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass IsObject extends AbstractConstraint {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n if (isObject(value)) {\n return Promise.resolve(value);\n }\n\n return Promise.reject(value);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', IsObject);\nexport {Monster, IsObject}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractOperator} from \"./abstractoperator.js\";\n\n/**\n * The OrOperator is used to link several constraints. The constraint is fulfilled if one of the constraints is fulfilled.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js';\n * new Monster.Constraint.OrOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false));\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js';\n * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js';\n * new OrOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false));\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass OrOperator extends AbstractOperator {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n var self = this;\n\n return new Promise(function (resolve, reject) {\n let a, b;\n\n self.operantA.isValid(value)\n .then(function () {\n resolve();\n }).catch(function () {\n a = false;\n /** b has already been evaluated and was not true */\n if (b === false) {\n reject();\n }\n });\n\n self.operantB.isValid(value)\n .then(function () {\n resolve();\n }).catch(function () {\n b = false;\n /** b has already been evaluated and was not true */\n if (a === false) {\n reject();\n }\n });\n });\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', OrOperator);\nexport {Monster, OrOperator}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, AbstractConstraint} from \"./abstract.js\";\n\n/**\n * the valid constraint allows an always valid query to be performed. this contraint is mainly intended for testing.\n *\n * you can call the method via the monster namespace `new Monster.Constraint.Valid()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js';\n * new Monster.Constraint.Valid().then(()=>console.log(true));\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js';\n * new Valid().then(()=>console.log(true));\n * </script>\n * ```\n *\n * @since 1.3.0\n * @copyright schukai GmbH\n * @memberOf Monster/Constraints\n */\nclass Valid extends AbstractConstraint {\n\n /**\n * this method return a promise containing the result of the check.\n *\n * @param {*} value\n * @returns {Promise}\n */\n isValid(value) {\n return Promise.resolve(value);\n }\n\n}\n\nMonster.assignToNamespace('Monster.Constraints', Valid);\nexport {Monster, Valid}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\n\nimport {Monster, isArray, isObject} from \"../types/is.js\";\n\n/**\n * With the diff function you can perform the change of one object to another. The result shows the changes of the second object to the first object.\n *\n * The operator `add` means that something has been added to the second object. `delete` means that something has been deleted from the second object compared to the first object.\n *\n * you can call the method via the monster namespace `Monster.Data.Diff()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js';\n * console.log(Monster.Data.Diff(a, b))\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js';\n * console.log(Diff(a, b))\n * </script>\n * ```\n *\n * given are two objects x and y.\n *\n * ```\n * let x = {\n * a: 1,\n * b: \"Hello!\"\n * }\n *\n * let y = {\n * a: 2,\n * c: true\n * }\n * ```\n *\n * These two objects can be compared with each other.\n *\n * ```\n * console.log(Diff(x, y));\n * ```\n *\n * the result is then the following\n *\n * ```\n * [\n * {\n * operator: 'update',\n * path: [ 'a' ],\n * first: { value: 1, type: 'number' },\n * second: { value: 2, type: 'number' }\n * },\n * {\n * operator: 'delete',\n * path: [ 'b' ],\n * first: { value: 'Hello!', type: 'string' }\n * },\n * {\n * operator: 'add',\n * path: [ 'c' ],\n * second: { value: true, type: 'boolean' }\n * }\n * ]\n * ```\n *\n * @param {*} first\n * @param {*} second\n * @return {array}\n * @since 1.6.0\n * @copyright schukai GmbH\n * @memberOf Monster/Data\n */\nfunction Diff(first, second) {\n return doDiff(first, second)\n}\n\n/**\n * @private\n * @param a\n * @param b\n * @param type\n * @return {Set<string>|Set<number>}\n */\nfunction getKeys(a, b, type) {\n if (isArray(type)) {\n const keys = a.length > b.length ? new Array(a.length) : new Array(b.length);\n keys.fill(0);\n return new Set(keys.map((_, i) => i));\n }\n\n return new Set(Object.keys(a).concat(Object.keys(b)));\n}\n\n/**\n * @private\n * @param a\n * @param b\n * @param path\n * @param diff\n * @return {array}\n */\nfunction doDiff(a, b, path, diff) {\n\n let typeA = typeof a\n let typeB = typeof b\n\n const currPath = path || [];\n const currDiff = diff || [];\n\n if (typeA === typeB && typeA === 'object') { // array is object too\n\n getKeys(a, b, typeA).forEach((v) => {\n\n if (!(Object.prototype.hasOwnProperty.call(a, v))) {\n currDiff.push(buildResult(a[v], b[v], 'add', currPath.concat(v)));\n } else if (!(Object.prototype.hasOwnProperty.call(b, v))) {\n currDiff.push(buildResult(a[v], b[v], 'delete', currPath.concat(v)));\n } else {\n doDiff(a[v], b[v], currPath.concat(v), currDiff);\n }\n });\n\n } else {\n\n const o = getOperator(a, b, typeA, typeB);\n if (o !== undefined) {\n currDiff.push(buildResult(a, b, o, path));\n }\n\n }\n\n return currDiff;\n\n}\n\n/**\n *\n * @param {*} a\n * @param {*} b\n * @param {string} operator\n * @param {array} path\n * @return {{path: array, operator: string}}\n * @private\n */\nfunction buildResult(a, b, operator, path) {\n\n const result = {\n operator,\n path,\n };\n\n if (operator !== 'add') {\n result.first = {\n value: a,\n type: typeof a\n };\n\n if (isObject(a)) {\n const name = Object.getPrototypeOf(a)?.constructor?.name;\n if (name !== undefined) {\n result.first.instance = name;\n }\n }\n }\n\n if (operator === 'add' || operator === 'update') {\n result.second = {\n value: b,\n type: typeof b\n };\n\n if (isObject(b)) {\n const name = Object.getPrototypeOf(b)?.constructor?.name;\n if (name !== undefined) {\n result.second.instance = name;\n }\n }\n\n }\n\n return result;\n}\n\n/**\n * @private\n * @param {*} a\n * @param {*} b\n * @return {boolean}\n */\nfunction isNotEqual(a, b) {\n\n if (typeof a !== typeof b) {\n return true;\n }\n\n if (a instanceof Date && b instanceof Date) {\n return a.getTime() !== b.getTime();\n }\n\n return a !== b;\n}\n\n/**\n * @private\n * @param {*} a\n * @param {*} b\n * @return {string|undefined}\n */\nfunction getOperator(a, b) {\n\n /**\n * @type {string|undefined}\n */\n let operator;\n\n /**\n * @type {string}\n */\n let typeA = typeof a;\n\n /**\n * @type {string}\n */\n let typeB = typeof b;\n\n if (typeA === 'undefined' && typeB !== 'undefined') {\n operator = 'add';\n } else if (typeA !== 'undefined' && typeB === 'undefined') {\n operator = 'delete';\n } else if (isNotEqual(a, b)) {\n operator = 'update';\n }\n\n return operator;\n\n}\n\nMonster.assignToNamespace('Monster.Data', Diff);\nexport {Monster, Diff}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {isObject, isArray, isInteger} from '../types/is.js';\nimport {validateString, validateInteger} from '../types/validate.js';\nimport {Base} from '../types/base.js';\nimport {Stack} from \"../types/stack.js\";\n\n/**\n * path separator\n *\n * @private\n * @type {string}\n */\nconst DELIMITER = '.';\n\n/**\n * you can call the method via the monster namespace `new Monster.Data.Pathfinder()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js';\n * console.log(new Monster.Data.Pathfinder())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js';\n * console.log(new Pathfinder())\n * </script>\n * ```\n *\n * With the help of the pathfinder, values can be read and written from an object construct.\n *\n * ```\n * new Pathfinder({\n * a: {\n * b: {\n * f: [\n * {\n * g: false,\n * }\n * ],\n * }\n * }\n * }).getVia(\"a.b.f.0.g\"); // ↦ false\n * ```\n *\n * if a value is not present or has the wrong type, a corresponding exception is thrown.\n *\n * ```\n * new Pathfinder({}).getVia(\"a.b.f.0.g\"); // ↦ Error\n * ```\n *\n * The `Pathfinder.exists()` method can be used to check whether access to the path is possible.\n *\n * ```\n * new Pathfinder({}).exists(\"a.b.f.0.g\"); // ↦ false\n * ```\n *\n * pathfinder can also be used to build object structures. to do this, the `Pathfinder.setVia()` method must be used.\n *\n * ```\n * obj = {};\n * new Pathfinder(obj).setVia('a.b.0.c', true); // ↦ {a:{b:[{c:true}]}}\n * ```\n *\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Data\n */\nclass Pathfinder extends Base {\n\n /**\n * @param {array|object|Map|Set} value\n * @since 1.4.0\n **/\n constructor(object) {\n super();\n this.object = object;\n }\n\n /**\n *\n * @param {string} path\n * @since 1.4.0\n * @returns {*}\n * @throws {TypeError} unsupported type\n * @throws {Error} the journey is not at its end\n * @throws {TypeError} value is not a string\n * @throws {TypeError} value is not an integer\n * @throws {Error} unsupported action for this data type\n */\n getVia(path) {\n validateString(path);\n return getValueViaPath(this.object, path);\n }\n\n /**\n *\n * @param {string} path\n * @param {*} value\n * @returns {Pathfinder}\n * @since 1.4.0\n * @throws {TypeError} unsupported type\n * @throws {TypeError} value is not a string\n * @throws {TypeError} value is not an integer\n * @throws {Error} unsupported action for this data type\n */\n setVia(path, value) {\n validateString(path);\n setValueViaPath(this.object, path, value);\n return this;\n }\n\n /**\n * Delete Via Path\n *\n * @param {string} path\n * @returns {Pathfinder}\n * @since 1.6.0\n * @throws {TypeError} unsupported type\n * @throws {TypeError} value is not a string\n * @throws {TypeError} value is not an integer\n * @throws {Error} unsupported action for this data type\n */\n deleteVia(path) {\n validateString(path);\n deleteValueViaPath(this.object, path);\n return this;\n }\n\n /**\n *\n * @param {string} path\n * @return {bool}\n * @throws {TypeError} unsupported type\n * @throws {TypeError} value is not a string\n * @throws {TypeError} value is not an integer\n * @since 1.4.0\n */\n exists(path) {\n validateString(path);\n try {\n getValueViaPath(this.object, path, true);\n return true;\n } catch (e) {\n\n }\n\n return false;\n }\n\n}\n\nMonster.assignToNamespace('Monster.Data', Pathfinder);\nexport {Monster, Pathfinder}\n\n/**\n *\n * @param {*} object\n * @param [string} path\n * @param [boolean} check \n * @returns {*}\n * @throws {TypeError} unsupported type\n * @throws {Error} the journey is not at its end\n * @throws {Error} unsupported action for this data type\n * @private\n */\nfunction getValueViaPath(object, path, check) {\n\n if (path === \"\") {\n return object;\n }\n\n let parts = path.split(DELIMITER)\n let current = parts.shift();\n\n if (isObject(object) || isArray(object)) {\n\n let anchor;\n if (object instanceof Map || object instanceof WeakMap) {\n anchor = object.get(current);\n\n } else if (object instanceof Set || object instanceof WeakSet) {\n current = parseInt(current);\n validateInteger(current)\n anchor = [...object]?.[current];\n\n } else if (object instanceof WeakRef) {\n throw Error('unsupported action for this data type');\n\n } else if (isArray(object)) {\n current = parseInt(current);\n validateInteger(current)\n anchor = object?.[current];\n } else {\n anchor = object?.[current];\n }\n\n if (isObject(anchor) || isArray(anchor)) {\n return getValueViaPath(anchor, parts.join(DELIMITER), check)\n }\n\n if (parts.length > 0) {\n throw Error(\"the journey is not at its end (\" + parts.join(DELIMITER) + \")\");\n }\n\n if (check === true && !object.hasOwnProperty(current)) {\n throw Error('unknown value');\n }\n\n return anchor;\n\n }\n\n throw TypeError(\"unsupported type\")\n\n}\n\n/**\n *\n * @param object\n * @param path\n * @param value\n * @returns {void}\n * @throws {TypeError} unsupported type\n * @throws {TypeError} unsupported type\n * @throws {Error} the journey is not at its end\n * @throws {Error} unsupported action for this data type\n * @private\n */\nfunction setValueViaPath(object, path, value) {\n\n let parts = path.split(DELIMITER)\n let last = parts.pop();\n let subpath = parts.join(DELIMITER);\n\n let stack = new Stack()\n let current = subpath;\n while (true) {\n\n try {\n getValueViaPath(object, current, true)\n break;\n } catch (e) {\n\n }\n\n stack.push(current);\n parts.pop();\n current = parts.join(DELIMITER);\n\n if (current === \"\") break;\n }\n\n while (!stack.isEmpty()) {\n current = stack.pop();\n let obj = {};\n\n if (!stack.isEmpty()) {\n let n = stack.peek().split(DELIMITER).pop();\n if (isInteger(parseInt(n))) {\n obj = [];\n }\n\n }\n\n\n setValueViaPath(object, current, obj);\n }\n\n let anchor = getValueViaPath(object, subpath);\n\n if (!isObject(object) && !isArray(object)) {\n throw TypeError(\"unsupported type: \" + typeof object);\n }\n\n if (anchor instanceof Map || anchor instanceof WeakMap) {\n anchor.set(last, value);\n } else if (anchor instanceof Set || anchor instanceof WeakSet) {\n anchor.append(value)\n\n } else if (anchor instanceof WeakRef) {\n throw Error('unsupported action for this data type');\n\n } else if (isArray(anchor)) {\n last = parseInt(last);\n validateInteger(last)\n anchor[last] = value;\n } else {\n anchor[last] = value;\n }\n\n return;\n\n}\n\n/**\n *\n * @param object\n * @param path\n * @returns {void}\n * @throws {TypeError} unsupported type\n * @throws {TypeError} unsupported type\n * @throws {Error} the journey is not at its end\n * @throws {Error} unsupported action for this data type\n * @since 1.6.0\n * @private\n */\nfunction deleteValueViaPath(object, path) {\n\n const parts = path.split(DELIMITER)\n let last = parts.pop();\n const subpath = parts.join(DELIMITER);\n\n const anchor = getValueViaPath.call(this, object, subpath);\n\n if (anchor instanceof Map) {\n anchor.delete(last);\n } else if (anchor instanceof Set || anchor instanceof WeakMap || anchor instanceof WeakSet || anchor instanceof WeakRef) {\n throw Error('unsupported action for this data type');\n\n } else if (isArray(anchor)) {\n last = parseInt(last);\n validateInteger(last)\n delete anchor[last];\n } else {\n delete anchor[last];\n }\n\n return;\n\n}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Transformer} from './transformer.js';\nimport {Base} from '../types/base.js';\nimport {validateString} from '../types/validate.js';\n\n\nconst DELIMITER = '|';\n\n/**\n * the pipe class makes it possible to combine several processing steps.\n *\n * you can call the method via the monster namespace `new Monster.Data.Pipe()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js';\n * console.log(new Monster.Data.Pipe())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js';\n * console.log(new Pipe())\n * </script>\n * ```\n *\n * a pipe consists of commands whose input and output are connected with the pipe symbol `|`.\n *\n * with the Pipe, processing steps can be combined. Here, the value of an object is accessed via the pathfinder (path command).\n * the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.\n *\n * ```\n * let obj = {\n * a: {\n * b: {\n * c: {\n * d: \"world\"\n * }\n * }\n * }\n * }\n *\n * new Pipe('path:a.b.c.d | toupper | prefix:Hello\\\\ ').run(obj); // ↦ Hello WORLD\n * ```\n *\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Data\n */\nclass Pipe extends Base {\n\n /**\n *\n * @param {string} pipe a pipe consists of commands whose input and output are connected with the pipe symbol `|`.\n * @throws {TypeError} \n */\n constructor(pipe) {\n super();\n validateString(pipe);\n this.pipe = pipe.split(DELIMITER).map((v) => {\n return new Transformer(v);\n });\n\n }\n\n /**\n * run a pipe\n *\n * @param {*} value\n * @returns {*}\n */\n run(value) {\n return this.pipe.reduce((accumulator, currentValue, currentIndex, array) => {\n return currentValue.run(accumulator);\n }, value);\n }\n}\n\nMonster.assignToNamespace('Monster.Data', Pipe);\nexport {Monster, Pipe}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Base} from '../types/base.js';\nimport {validateString, validatePrimitive, validateFunction, validateInteger} from '../types/validate.js';\nimport {isObject, isString, isArray} from '../types/is.js';\nimport {ID} from '../types/id.js';\nimport {clone} from \"../util/clone.js\";\nimport {Pathfinder} from \"./pathfinder.js\";\n\n/**\n * the transformer class is a swiss army knife for manipulating values. especially in combination with the pipe, processing chains can be built up.\n *\n * you can call the method via the monster namespace `new Monster.Data.Transformer()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js';\n * console.log(new Monster.Data.Transformer())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js';\n * console.log(new Transformer())\n * </script>\n * ```\n *\n * a simple example is the conversion of all characters to lowercase. for this purpose the command tolower must be used.\n * \n * ```\n * let t = new Transformer('tolower').run('ABC'); // ↦ abc\n * ```\n * \n * **all commands**\n * \n * in the following table all commands, parameters and existing aliases are described.\n * \n * | command | parameter | alias | description |\n * |:-------------|:---------------------------|:------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n * | base64 | | | Converts the value to base64 |\n * | call | function,param1:param2:... | | Calling a callback function. The function can be defined in three places: either globally, in the context `addCallback` or in the passed object |\n * | empty | | | Return empty String \"\" |\n * | if | statement1:statement2 | ? | Is the ternary operator, the first parameter is the valid statement, the second is the false part. To use the current value in the queue, you can set the value keyword. On the other hand, if you want to have the static string \"value\", you have to put one backslash \\\\ in front of it and write value. the follow values are true: 'on', true, 'true' |\n * | index | key:default | property, key | Fetches a value from an object, an array, a map or a set |\n * | length | | count | Length of the string or entries of an array or object |\n * | nop | | | Do nothing |\n * | path | path | | The access to an object is done via a Pathfinder object |\n * | plaintext | | plain | All HTML tags are removed (*) |\n * | prefix | text | | Adds a prefix |\n * | rawurlencode | | | URL coding |\n * | static | | none | The Arguments value is used and passed to the value. Special characters \\ <space> and : can be quotet by a preceding \\. |\n * | substring | start:length | | Returns a substring |\n * | suffix | text | | Adds a suffix |\n * | tointeger | | | Type conversion to an integer value |\n * | tolower | | strtolower, tolowercase | The input value is converted to lowercase letters |\n * | tostring | | | Type conversion to a string |\n * | toupper | | strtoupper, touppercase | The input value is converted to uppercase letters |\n * | trim | | | Remove spaces at the beginning and end |\n * | ucfirst | | | First character large |\n * | ucwords | | | Any word beginning large |\n * | undefined | | | Return undefined |\n * | uniqid | | | Creates a string with a unique value (**) |\n * \n * (*) for this functionality the extension [jsdom](https://www.npmjs.com/package/jsdom) must be loaded in the nodejs context.\n * \n * ```\n * // polyfill\n * if (typeof window !== \"object\") {\n * const {window} = new JSDOM('', {\n * url: 'http://example.com/',\n * pretendToBeVisual: true\n * });\n * \n * [\n * 'self',\n * 'document',\n * 'Node',\n * 'Element',\n * 'HTMLElement',\n * 'DocumentFragment',\n * 'DOMParser',\n * 'XMLSerializer',\n * 'NodeFilter',\n * 'InputEvent',\n * 'CustomEvent'\n * ].forEach(key => (global[key] = window[key]));\n * }\n * ```\n * \n * (**) for this command the crypt library is necessary in the nodejs context.\n * \n * ```\n * import * as Crypto from \"@peculiar/webcrypto\";\n * global['crypto'] = new Crypto.Crypto();\n * ```\n * \n * \n *\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Data\n */\nclass Transformer extends Base {\n /**\n *\n * @param {string} definition\n */\n constructor(definition) {\n super();\n validateString(definition);\n\n this.args = disassemble(definition);\n this.command = this.args.shift()\n this.callbacks = new Map();\n\n }\n\n /**\n *\n * @param {string} name\n * @param {function} callback\n * @returns {Transformer}\n * @throws {TypeError} value is not a string\n * @throws {TypeError} value is not a function\n */\n setCallback(name, callback) {\n validateString(name)\n validateFunction(callback)\n this.callbacks.set(name, callback);\n return this;\n }\n\n /**\n *\n * @param {*} value\n * @returns {*}\n * @throws {Error} unknown command\n * @throws {TypeError} unsupported type\n * @throws {Error} type not supported\n */\n run(value) {\n return transform.apply(this, [value])\n }\n}\n\nMonster.assignToNamespace('Monster.Data', Transformer);\nexport {Monster, Transformer}\n\n/**\n *\n * @param {string} command\n * @returns {array}\n * @private\n */\nfunction disassemble(command) {\n\n validateString(command);\n \n let placeholder = new Map;\n const regex = /((?<pattern>\\\\(?<char>.)){1})/mig;\n\n // The separator for args must be quotable\n // undefined string which should not occur normally and is also not a regex\n let result = command.matchAll(regex)\n \n for (let m of result) {\n let g=m?.['groups'];\n if(!isObject(g)) {\n continue;\n }\n \n let p=g?.['pattern'];\n let c=g?.['char'];\n \n if(p&&c) {\n let r='__'+new ID().toString()+'__';\n placeholder.set(r, c);\n command=command.replace(p,r);\n }\n \n }\n let parts = command.split(':');\n\n parts = parts.map(function (value) {\n let v = value.trim();\n for(let k of placeholder) {\n v= v.replace(k[0], k[1]);\n }\n return v;\n \n \n });\n\n return parts\n}\n\n/**\n * tries to make a string out of value and if this succeeds to return it back\n * \n * @param {*} value\n * @returns {string}\n * @private\n */\nfunction convertToString(value) {\n\n if (isObject(value) && value.hasOwnProperty('toString')) {\n value = value.toString();\n }\n\n validateString(value)\n return value;\n}\n\n/**\n *\n * @param {*} value\n * @returns {*}\n * @private\n * @throws {Error} unknown command\n * @throws {TypeError} unsupported type\n * @throws {Error} type not supported\n */\nfunction transform(value) {\n\n let args = clone(this.args);\n let key\n\n switch (this.command) {\n\n case 'static':\n return this.args.join(':');\n\n case 'tolower':\n case 'strtolower':\n case 'tolowercase':\n validateString(value)\n return value.toLowerCase();\n\n case 'toupper':\n case 'strtoupper':\n case 'touppercase':\n validateString(value)\n return value.toUpperCase();\n\n case 'tostring':\n return \"\" + value;\n\n case 'tointeger':\n let n = parseInt(value);\n validateInteger(n);\n return n\n\n case 'trim':\n validateString(value)\n return value.trim();\n\n case 'rawurlencode':\n validateString(value)\n return encodeURIComponent(value)\n .replace(/!/g, '%21')\n .replace(/'/g, '%27')\n .replace(/\\(/g, '%28')\n .replace(/\\)/g, '%29')\n .replace(/\\*/g, '%2A');\n\n\n case 'call':\n\n /**\n * callback-definition\n * function callback(value, ...args) {\n * return value;\n * }\n */\n\n let callback;\n let callbackName = args.shift();\n\n if (isObject(value) && calue.hasOwnProperty(callbackName)) {\n callback = value[callbackName];\n } else if (this.callbacks.has(callbackName)) {\n callback = this.callbacks.get(callbackName);\n } else if (typeof window === 'object' && window.hasOwnProperty(callbackName)) {\n callback = window[callbackName];\n }\n validateFunction(callback);\n\n args.unshift(value);\n return callback(...args);\n\n case 'plain':\n case 'plaintext':\n validateString(value);\n let doc = new DOMParser().parseFromString(value, 'text/html');\n return doc.body.textContent || \"\";\n\n case 'if':\n case '?':\n\n validatePrimitive(value);\n\n let trueStatement = (args.shift() || undefined);\n let falseStatement = (args.shift() || undefined);\n\n if (trueStatement === 'value') {\n trueStatement = value;\n }\n if (trueStatement === '\\\\value') {\n trueStatement = 'value';\n }\n if (falseStatement === 'value') {\n falseStatement = value;\n }\n if (falseStatement === '\\\\value') {\n falseStatement = 'value';\n }\n\n let condition = ((value !== undefined && value !== '' && value !== 'off' && value !== 'false' && value !== false) || value === 'on' || value === 'true' || value === true);\n return condition ? trueStatement : falseStatement;\n\n\n case 'ucfirst':\n validateString(value);\n\n let firstchar = value.charAt(0).toUpperCase();\n return firstchar + value.substr(1);\n case 'ucwords':\n validateString(value);\n\n return value.replace(/^([a-z\\u00E0-\\u00FC])|\\s+([a-z\\u00E0-\\u00FC])/g, function (v) {\n return v.toUpperCase();\n });\n\n case 'count':\n case 'length':\n\n if ((isString(value) || isObject(value) || isArray(value)) && value.hasOwnProperty('length')) {\n return value.length;\n }\n\n throw new TypeError(\"unsupported type\");\n\n case 'base64':\n convertToString(value);\n return btoa(value);\n\n case 'empty':\n return '';\n\n case 'undefined':\n return undefined;\n\n case 'prefix':\n validateString(value);\n let prefix = args?.[0];\n return prefix + value;\n\n case 'suffix':\n validateString(value);\n let suffix = args?.[0];\n return value + suffix;\n\n case 'uniqid':\n return (new ID()).toString();\n\n case 'key':\n case 'property':\n case 'index':\n\n key = (args.shift() || 'undefined');\n let defaultValue = (args.shift() || '');\n\n if (value instanceof Map) {\n if(!value.has(key)) {\n return defaultValue;\n }\n return value.get(key);\n }\n\n if (isObject(value)||isArray(value)) {\n\n if (value?.[key]) {\n return value?.[key];\n }\n\n return defaultValue;\n }\n\n throw new Error(\"type not supported\")\n\n case 'path':\n\n key = (args.shift() || 'undefined');\n return new Pathfinder(value).getVia(key);\n \n \n case 'substring':\n\n validateString(value);\n \n let start = parseInt(args[0]) || 0;\n let end = (parseInt(args[1]) || 0) + start;\n\n return value.substring(start, end);\n \n case 'nop':\n return value;\n\n default:\n throw new Error(\"unknown command\")\n }\n\n return value;\n}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, Base} from '../types/base.js';\nimport {validateInstance, validateString} from \"../types/validate.js\";\nimport {getGlobalFunction} from \"../types/global.js\";\nimport {ProxyObserver} from \"../types/proxyobserver.js\";\n\n\n/**\n * attribute prefix\n * \n * @type {string}\n * @memberOf Monster/DOM\n */\nconst ATTRIBUTEPREFIX = \"data-monster-\";\n\n/**\n * you can call the method via the monster namespace `new Monster.DOM.Assembler()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js';\n * console.log(new Monster.DOM.Assembler())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js';\n * console.log(new Assembler())\n * </script>\n * ```\n *\n * @since 1.6.0\n * @copyright schukai GmbH\n * @memberOf Monster/DOM\n */\nclass Assembler extends Base {\n\n /**\n * @param {DocumentFragment} fragment\n * @throws {TypeError} value is not an instance of\n * @throws {TypeError} value is not a function\n * @throws {Error} the function is not defined\n */\n constructor(fragment) {\n super();\n this.attributePrefix = ATTRIBUTEPREFIX;\n validateInstance(fragment, getGlobalFunction('DocumentFragment'));\n this.fragment = fragment;\n }\n\n /**\n *\n * @param {string} prefix\n * @returns {Assembler}\n * @throws {TypeError} value is not a string\n */\n setAttributePrefix(prefix) {\n validateString(prefix);\n this.attributePrefix = prefix;\n return this;\n }\n\n /**\n *\n * @returns {string}\n */\n getAttributePrefix() {\n return this.attributePrefix;\n }\n\n /**\n *\n * @param {ProxyObserver|undefined} data\n * @return {DocumentFragment}\n * @throws {TypeError} value is not an instance of\n */\n createDocumentFragment(data) {\n\n if (data === undefined) {\n data = new ProxyObserver({});\n }\n\n validateInstance(data, ProxyObserver);\n let fragment = this.fragment.cloneNode(true);\n return fragment;\n }\n\n}\n\nMonster.assignToNamespace('Monster.DOM', Assembler);\nexport {Monster, ATTRIBUTEPREFIX, Assembler}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, Base} from '../types/base.js';\nimport {Stack} from \"../types/stack.js\";\nimport {validateInstance} from \"../types/validate.js\";\nimport {ProxyObserver} from \"../types/proxyobserver.js\";\nimport {Observer} from \"../types/observer.js\";\nimport {getGlobalFunction, getGlobalObject} from \"../types/global.js\";\nimport {isInstance} from \"../types/is.js\";\nimport {ATTRIBUTEPREFIX} from \"./assembler.js\"\nimport {ID} from \"../types/id.js\";\n\n/**\n * @private\n * @type {Symbol}\n */\nconst MONSTERDOMHANDLE = Symbol('MonsterHandle');\n\n/**\n * you can call the method via the monster namespace `new Monster.DOM.Handle()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js';\n * console.log(new Monster.DOM.Handle())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Handle} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js';\n * console.log(new Handle())\n * </script>\n * ```\n *\n * @since 1.6.0\n * @copyright schukai GmbH\n * @memberOf Monster.DOM\n */\nclass Handle extends Base {\n /**\n *\n * @param {ProxyObserver} data\n */\n constructor(data) {\n super();\n\n let self = this;\n\n self.id = new ID();\n\n validateInstance(data, ProxyObserver);\n\n this.data = data\n\n this.mutationObserver = createMutationObserver.call(this);\n this.dataObserver = createDataObserver.call(this);\n this.data.attachObserver(this.dataObserver);\n\n this.nodes = new WeakSet\n this.updates = new Stack();\n\n }\n\n /**\n * @return {void}\n */\n update() {\n return;\n }\n\n /**\n *\n * @param {HTMLElement|Document} node\n * @return {Handle}\n */\n remove(node) {\n\n if (isInstance(node, getGlobalFunction('Document'))) {\n node = node.firstElementChild\n }\n\n validateInstance(node, getGlobalFunction('HTMLElement'))\n\n if (!this.nodes.has(node)) {\n return this;\n }\n\n this.mutationObserver.disconnect(node);\n\n delete node.dataset[MONSTERDOMHANDLE]\n node.removeAttribute(ATTRIBUTEPREFIX + \"handler\");\n\n return this;\n\n }\n\n /**\n *\n * @param {HTMLElement|Document} node\n * @return {Handle}\n */\n append(node) {\n\n if (isInstance(node, getGlobalFunction('Document'))) {\n node = node.firstElementChild\n }\n\n validateInstance(node, getGlobalFunction('HTMLElement'))\n\n if (this.nodes.has(node)) {\n return this;\n }\n\n node.dataset[MONSTERDOMHANDLE] = this;\n node.setAttribute(ATTRIBUTEPREFIX + \"handler\", true);\n\n this.mutationObserver.observe(node, {\n attributes: true,\n childList: true,\n subtree: true,\n characterData: true,\n characterDataOldValue: true,\n attributeOldValue: true\n });\n\n this.nodes.add(node);\n\n return this;\n\n }\n}\n\n/**\n *\n * @private\n * @return {Observer}\n */\nfunction createDataObserver() {\n const self = this;\n\n return new Observer(() => {\n self.update();\n });\n}\n\n/**\n *\n * @private\n * @return {MutationObserver}\n */\nfunction createMutationObserver() {\n\n const self = this;\n\n /**\n * @private\n * @type {MutationObserver}\n */\n const MutationObserver = getGlobalFunction('MutationObserver');\n\n // @link https://developer.mozilla.org/en/docs/Web/API/MutationObserver\n return new MutationObserver((mutationsList, observer) => {\n\n for (const mutation of mutationsList) {\n self.updates.push(mutation);\n }\n\n self.update();\n }\n )\n\n}\n\n/**\n * get the handle of a node\n *\n * if a node is specified without a handler, a recursive search upwards is performed until the corresponding\n * handle is found, or undefined is returned.\n *\n * you can call the method via the monster namespace `Monster.DOM.getHandleFromNode()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js';\n * console.log(Monster.DOM.getHandleFromNode())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {getHandleFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js';\n * console.log(getHandleFromNode())\n * </script>\n * ```\n *\n * @param {Node} node\n * @return {Handle|undefined}\n * @since 1.6.0\n * @copyright schukai GmbH\n * @memberOf Monster/DOM\n * @throws {TypeError} value is not an instance of Node\n */\nfunction getHandleFromNode(node) {\n validateInstance(node, getGlobalFunction('Node'));\n\n let handle = node.dataset?.[MONSTERDOMHANDLE];\n if (handle === undefined) {\n let parentNode = node?.['parentNode'];\n if (isInstance(parentNode, getGlobalFunction('Node'))) {\n return getHandleFromNode(parentNode)\n }\n }\n\n return handle;\n}\n\nMonster.assignToNamespace('Monster.DOM', getHandleFromNode, Handle);\nexport {Monster, getHandleFromNode, Handle}\n\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, Base} from '../types/base.js';\nimport {getGlobalFunction} from '../types/global.js';\nimport {validateInstance} from \"../types/validate.js\";\n\n/**\n * you can call the method via the monster namespace `new Monster.DOM.Template()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js';\n * console.log(new Monster.DOM.Template())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js';\n * console.log(new Template())\n * </script>\n * ```\n *\n * @since 1.6.0\n * @copyright schukai GmbH\n * @memberOf Monster/DOM\n */\nclass Template extends Base {\n /**\n *\n * @param {HTMLTemplateElement} template\n * @throws {TypeError} value is not an instance of\n * @throws {TypeError} value is not a function\n * @throws {Error} the function is not defined\n */\n constructor(template) {\n super();\n validateInstance(template, getGlobalFunction('HTMLTemplateElement'));\n this.template = template;\n }\n\n /**\n *\n * @returns {HTMLTemplateElement}\n */\n getTemplateElement() {\n return this.template;\n }\n\n /**\n *\n * @return {DocumentFragment}\n * @throws {TypeError} value is not an instance of\n */\n createDocumentFragment() {\n return this.template.content.cloneNode(true);\n }\n\n}\n\nMonster.assignToNamespace('Monster.DOM', Template);\nexport {Monster, Template}\n\n\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, getGlobal} from \"../types/global.js\";\nimport {validateString} from \"../types/validate.js\";\n\n\n/**\n * this method fetches the document object\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js';\n * console.log(Monster.DOM.getDocument())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js';\n * console.log(getDocument())\n * </script>\n * ```\n *\n * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom).\n *\n * ```\n * import {JSDOM} from \"jsdom\"\n * if (typeof window !== \"object\") {\n * const {window} = new JSDOM('', {\n * url: 'http://example.com/',\n * pretendToBeVisual: true\n * });\n *\n * [\n * 'self',\n * 'document',\n * 'Document',\n * 'Node',\n * 'Element',\n * 'HTMLElement',\n * 'DocumentFragment',\n * 'DOMParser',\n * 'XMLSerializer',\n * 'NodeFilter',\n * 'InputEvent',\n * 'CustomEvent'\n * ].forEach(key => (getGlobal()[key] = window[key]));\n * }\n * ```\n *\n * @returns {object}\n * @since 1.6.0\n * @copyright schukai GmbH\n * @memberOf Monster/DOM\n * @throws {Error} not supported environment\n */\nfunction getDocument() {\n let document = getGlobal()?.['document'];\n if (typeof document !== 'object') {\n throw new Error(\"not supported environment\")\n }\n\n return document;\n}\n\n/**\n * this method fetches the window object\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js';\n * console.log(Monster.DOM.getWindow())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js';\n * console.log(getWindow(null))\n * </script>\n * ```\n *\n * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom).\n *\n * ```\n * import {JSDOM} from \"jsdom\"\n * if (typeof window !== \"object\") {\n * const {window} = new JSDOM('', {\n * url: 'http://example.com/',\n * pretendToBeVisual: true\n * });\n *\n * getGlobal()['window']=window;\n * \n * [\n * 'self',\n * 'document',\n * 'Document',\n * 'Node',\n * 'Element',\n * 'HTMLElement',\n * 'DocumentFragment',\n * 'DOMParser',\n * 'XMLSerializer',\n * 'NodeFilter',\n * 'InputEvent',\n * 'CustomEvent'\n * ].forEach(key => (getGlobal()[key] = window[key]));\n * }\n * ```\n *\n * @returns {object}\n * @since 1.6.0\n * @copyright schukai GmbH\n * @memberOf Monster/DOM\n * @throws {Error} not supported environment\n */\nfunction getWindow() {\n let window = getGlobal()?.['window'];\n if (typeof window !== 'object') {\n throw new Error(\"not supported environment\")\n }\n\n return window;\n}\n\n\n/**\n *\n *\n * this method fetches the document object\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js';\n * console.log(Monster.DOM.getDocumentFragmentFromString())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js';\n * console.log(getDocumentFragmentFromString('<div></div>'))\n * </script>\n * ```\n *\n * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom).\n *\n * ```\n * import {JSDOM} from \"jsdom\"\n * if (typeof window !== \"object\") {\n * const {window} = new JSDOM('', {\n * url: 'http://example.com/',\n * pretendToBeVisual: true\n * });\n *\n * [\n * 'self',\n * 'document',\n * 'Document',\n * 'Node',\n * 'Element',\n * 'HTMLElement',\n * 'DocumentFragment',\n * 'DOMParser',\n * 'XMLSerializer',\n * 'NodeFilter',\n * 'InputEvent',\n * 'CustomEvent'\n * ].forEach(key => (getGlobal()[key] = window[key]));\n * }\n * ```\n *\n * @returns {DocumentFragment}\n * @since 1.6.0\n * @copyright schukai GmbH\n * @memberOf Monster/DOM\n * @throws {Error} not supported environment\n * @throws {TypeError} value is not a string\n */\nfunction getDocumentFragmentFromString(html) {\n validateString(html);\n\n const document = getDocument();\n const template = document.createElement('template');\n template.innerHTML = html;\n \n return template.content;\n}\n\n\nMonster.assignToNamespace('Monster.DOM', getWindow, getDocument, getDocumentFragmentFromString);\nexport {Monster, getWindow, getDocument, getDocumentFragmentFromString}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Base} from '../types/base.js';\nimport {ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN} from \"./logger.js\";\nimport {LogEntry} from \"./logentry.js\";\nimport {validateInstance, validateInteger} from \"../types/validate.js\";\n\n/**\n * you can call the method via the monster namespace `new Monster.Logging.Handler()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js';\n * console.log(new Monster.Logging.Handler())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js';\n * console.log(new Handler())\n * </script>\n * ```\n *\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Logging\n */\nclass Handler extends Base {\n constructor() {\n super();\n\n /**\n * Loglevel\n * \n * @type {integer} \n */\n this.loglevel = OFF;\n }\n\n /**\n * this is the central log function. this method must be\n * overwritten by derived handlers with their own logic.\n *\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00;\n *\n * @param {LogEntry} entry\n * @returns {boolean}\n */\n log(entry) {\n validateInstance(entry, LogEntry);\n\n if (this.loglevel < entry.getLogLevel()) {\n return false;\n }\n\n return true;\n }\n\n /**\n * set loglevel\n *\n * @param {integer} loglevel\n * @returns {Handler}\n * @since 1.5.0\n */\n setLogLevel(loglevel) {\n validateInteger(loglevel)\n this.loglevel = loglevel;\n return this;\n }\n\n /**\n * get loglevel\n *\n * @returns {integer}\n * @since 1.5.0\n */\n getLogLevel() {\n return this.loglevel;\n }\n\n /**\n * Set log level to All\n *\n * @returns {Handler}\n * @since 1.5.0\n */\n setAll() {\n this.setLogLevel(ALL);\n return this;\n };\n\n /**\n * Set log level to Trace\n *\n * @returns {Handler}\n * @since 1.5.0\n */\n setTrace() {\n this.setLogLevel(TRACE);\n return this;\n };\n\n /**\n * Set log level to Debug\n *\n * @returns {Handler}\n * @since 1.5.0\n */\n setDebug() {\n this.setLogLevel(DEBUG);\n return this;\n };\n\n /**\n * Set log level to Info\n *\n * @returns {Handler}\n * @since 1.5.0\n */\n setInfo() {\n this.setLogLevel(INFO);\n return this;\n };\n\n /**\n * Set log level to Warn\n *\n * @returns {undefined}\n * @since 1.5.0\n */\n setWarn() {\n this.setLogLevel(WARN);\n return this;\n };\n\n /**\n * Set log level to Error\n *\n * @returns {Handler}\n * @since 1.5.0\n */\n setError() {\n this.setLogLevel(ERROR);\n return this;\n };\n\n /**\n * Set log level to Fatal\n *\n * @returns {Handler}\n * @since 1.5.0\n */\n setFatal() {\n this.setLogLevel(FATAL);\n return this;\n };\n\n\n /**\n * Set log level to Off\n *\n * @returns {Handler}\n * @since 1.5.0\n */\n setOff() {\n this.setLogLevel(OFF);\n return this;\n };\n\n\n}\n\n\nMonster.assignToNamespace('Monster.Logging', Handler);\nexport {Monster, Handler};\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../../namespace.js';\nimport {Base} from '../../types/base.js';\nimport {Handler} from '../../logging/handler.js';\n\n/**\n * you can call the method via the monster namespace `new Monster.Logging.Handler.ConsoleHandler()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js';\n * console.log(new Monster.Logging.Handler.ConsoleHandler())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js';\n * console.log(new ConsoleHandler())\n * </script>\n * ```\n *\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Logging/Handler\n */\nclass ConsoleHandler extends Base {\n constructor() {\n super();\n }\n}\n\n\nMonster.assignToNamespace('Monster.Logging', ConsoleHandler);\nexport {Monster, Handler};\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {validateInteger} from '../types/validate.js';\nimport {Base} from '../types/base.js';\n\n\n/**\n * you can call the method via the monster namespace `new Monster.Logging.LogEntry()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js';\n * console.log(new Monster.Logging.LogEntry())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js';\n * console.log(new LogEntry())\n * </script>\n * ```\n *\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Logging\n */\nclass LogEntry extends Base {\n /**\n *\n * @param {int} loglevel\n * @param {*} args\n */\n constructor(loglevel, ...args) {\n super();\n validateInteger(loglevel);\n\n this.loglevel = loglevel\n this.arguments = args\n }\n\n /**\n *\n * @returns {integerr}\n */\n getLogLevel() {\n return this.loglevel\n }\n\n /**\n *\n * @returns {array}\n */\n getArguments() {\n return this.arguments\n }\n\n}\n\nMonster.assignToNamespace('Monster.Logging', LogEntry);\nexport {Monster, LogEntry}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {validateInteger, validateObject, validateString} from '../types/validate.js';\nimport {Handler} from '../logging/handler.js';\nimport {LogEntry} from '../logging/logentry.js';\nimport {Base} from '../types/base.js';\n\n\n/**\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF\n * @type {number}\n * @memberOf Monster/Logging\n */\nconst ALL = 255;\n/**\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF\n * @type {number}\n * @memberOf Monster/Logging\n */\nconst TRACE = 64;\n/**\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF\n * @type {number}\n * @memberOf Monster/Logging\n */\nconst DEBUG = 32;\n/**\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF\n * @type {number}\n * @memberOf Monster/Logging\n */\nconst INFO = 16;\n/**\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF\n * @type {number}\n * @memberOf Monster/Logging\n */\nconst WARN = 8;\n/**\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF\n * @type {number}\n * @memberOf Monster/Logging\n */\nconst ERROR = 4;\n/**\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF\n * @type {number}\n * @memberOf Monster/Logging\n */\nconst FATAL = 2;\n/**\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF\n * @type {number}\n * @memberOf Monster/Logging\n */\nconst OFF = 0;\n\n/**\n * you can call the method via the monster namespace `new Monster.Logging.Logger()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js';\n * console.log(new Monster.Logging.Logger())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js';\n * console.log(new Logger())\n * </script>\n * ```\n *\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Logging\n */\nclass Logger extends Base {\n\n /**\n *\n */\n constructor() {\n super();\n this.handler = new Set;\n }\n\n /**\n *\n * @param {Handler} handler\n * @returns {Logger}\n * @throws {Error} the handler must be an instance of Handler\n */\n addHandler(handler) {\n validateObject(handler)\n if (!(handler instanceof Handler)) {\n throw new Error(\"the handler must be an instance of Handler\")\n }\n\n this.handler.add(handler)\n return this;\n }\n\n /**\n *\n * @param {Handler} handler\n * @returns {Logger}\n * @throws {Error} the handler must be an instance of Handler\n */\n removeHandler(handler) {\n validateObject(handler)\n if (!(handler instanceof Handler)) {\n throw new Error(\"the handler must be an instance of Handler\")\n }\n\n this.handler.delete(handler);\n return this;\n }\n\n /**\n * log Trace message\n *\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00;\n *\n * @param {*} arguments\n * @returns {Logger}\n * @since 1.5.0\n */\n logTrace() {\n triggerLog.apply(this, [TRACE, ...arguments]);\n return this;\n };\n\n /**\n * log Debug message\n *\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00;\n *\n * @param {*} arguments\n * @returns {Logger}\n * @since 1.5.0\n */\n logDebug() {\n triggerLog.apply(this, [DEBUG, ...arguments]);\n return this;\n };\n\n /**\n * log Info message\n *\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00;\n *\n *\n * @param {*} arguments\n * @returns {Logger}\n * @since 1.5.0\n */\n logInfo() {\n triggerLog.apply(this, [INFO, ...arguments]);\n return this;\n };\n\n /**\n * log Warn message\n *\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00;\n *\n * @param {*} arguments\n * @returns {Logger}\n * @since 1.5.0\n */\n logWarn() {\n triggerLog.apply(this, [WARN, ...arguments]);\n return this;\n };\n\n /**\n * log Error message\n *\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00;\n *\n * @param {*} arguments\n * @returns {Logger}\n * @since 1.5.0\n */\n logError() {\n triggerLog.apply(this, [ERROR, ...arguments]);\n return this;\n };\n\n /**\n * log Fatal message\n *\n * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00;\n *\n * @param {*} arguments\n * @returns {Logger}\n * @since 1.5.0\n */\n logFatal() {\n triggerLog.apply(this, [FATAL, ...arguments]);\n return this;\n };\n\n\n /**\n * Labels\n *\n * @param {integer} level\n * @returns {string}\n */\n getLabel(level) {\n validateInteger(level);\n\n if (level === ALL) return 'ALL';\n if (level === TRACE) return 'TRACE';\n if (level === DEBUG) return 'DEBUG';\n if (level === INFO) return 'INFO';\n if (level === WARN) return 'WARN';\n if (level === ERROR) return 'ERROR';\n if (level === FATAL) return 'FATAL';\n if (level === OFF) return 'OFF';\n\n return 'unknown';\n };\n\n /**\n * Level\n *\n * @param {string} label\n * @returns {integer}\n */\n getLevel(label) {\n validateString(label);\n\n if (label === 'ALL') return ALL;\n if (label === 'TRACE') return TRACE;\n if (label === 'DEBUG') return DEBUG;\n if (label === 'INFO') return INFO;\n if (label === 'WARN') return WARN;\n if (label === 'ERROR') return ERROR;\n if (label === 'FATAL') return FATAL;\n if (label === 'OFF') return OFF;\n\n return 0;\n };\n\n\n}\n\nMonster.assignToNamespace('Monster.Logging', Logger);\nexport {Monster, Logger, ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF};\n\n\n/**\n * Log triggern\n *\n * @param {integer} loglevel\n * @param {*} args\n * @returns {Logger}\n * @private\n */\nfunction triggerLog(loglevel, ...args) {\n var logger = this;\n\n for (let handler of logger.handler) {\n handler.log(new LogEntry(loglevel, args))\n }\n\n return logger;\n\n}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\n\nimport {Monster, getGlobal} from '../types/global.js';\n\n\n/**\n * this function uses crypt and returns a random number.\n *\n * you can call the method via the monster namespace `Monster.Math.random()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js';\n * console.log(Monster.Math.random(1,10)) // ↦ 5\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js';\n * console.log(random(1,10)) // ↦ 5\n * </script>\n * ```\n *\n * @param {number} min starting value of the definition set (default is 0)\n * @param {number} max end value of the definition set (default is 1000000000)\n * @returns {number}\n * @memberOf Monster/Math\n\n * @since 1.0.0\n * @copyright schukai GmbH\n */\nfunction random(min, max) {\n\n if (min === undefined) {\n min = 0;\n }\n if (max === undefined) {\n max = MAX;\n }\n\n if (max < min) {\n throw new Error(\"max must be greater than min\");\n }\n\n return Math.round(create(min, max));\n\n}\n\n/**\n * @private\n * @type {number}\n */\nvar MAX = 1000000000;\n\n\nMath.log2 = Math.log2 || function (n) {\n return Math.log(n) / Math.log(2);\n};\n\n/**\n *\n * @param min\n * @param max\n * @returns {*}\n * @private\n */\nfunction create(min, max) {\n let crypt;\n let globalReference = getGlobal();\n\n crypt = globalReference?.['crypto'] || globalReference?.['msCrypto'] || globalReference?.['crypto'] || undefined;\n\n if (typeof crypt === \"undefined\") {\n throw new Error(\"missing crypt\")\n }\n\n let rval = 0;\n const range = max - min;\n if (range < 2) {\n return min;\n }\n\n const bitsNeeded = Math.ceil(Math.log2(range));\n if (bitsNeeded > 53) {\n throw new Error(\"we cannot generate numbers larger than 53 bits.\");\n }\n const bytesNeeded = Math.ceil(bitsNeeded / 8);\n const mask = Math.pow(2, bitsNeeded) - 1;\n\n const byteArray = new Uint8Array(bytesNeeded);\n crypt.getRandomValues(byteArray);\n\n let p = (bytesNeeded - 1) * 8;\n for (var i = 0; i < bytesNeeded; i++) {\n rval += byteArray[i] * Math.pow(2, p);\n p -= 8;\n }\n\n rval = rval & mask;\n\n if (rval >= range) {\n return create(min, max);\n }\n\n return min + rval;\n\n}\n\nMonster.assignToNamespace('Monster.Math', random);\nexport {Monster, random}\n\n\n\n\n", + "/**\n * @license\n * Copyright 2021 schukai GmbH\n * SPDX-License-Identifier: AGPL-3.0-only or COMMERCIAL\n * @author schukai GmbH\n */\n\n'use strict';\n\nimport {Monster} from './namespace.js';\nimport './types/base.js';\nimport './types/global.js';\nimport './types/id.js';\nimport './types/is.js';\nimport './types/observer.js';\nimport './types/observerlist.js';\nimport './types/proxyobserver.js';\nimport './types/queue.js';\nimport './types/randomid.js';\nimport './types/stack.js';\nimport './types/tokenlist.js';\nimport './types/uniquequeue.js';\nimport './types/validate.js';\nimport './types/version.js';\nimport './math/random.js';\nimport './data/diff.js';\nimport './data/pathfinder.js';\nimport './data/pipe.js';\nimport './data/transformer.js';\nimport './logging/handler.js';\nimport './logging/logentry.js';\nimport './logging/logger.js';\nimport './logging/handler/console.js';\nimport './util/clone.js';\nimport './util/comparator.js';\nimport './util/freeze.js';\nimport './constraints/abstract.js';\nimport './constraints/abstractoperator.js';\nimport './constraints/andoperator.js';\nimport './constraints/invalid.js';\nimport './constraints/isarray.js';\nimport './constraints/isobject.js';\nimport './constraints/oroperator.js';\nimport './constraints/valid.js';\nimport './dom/util.js';\nimport './dom/template.js';\nimport './dom/handle.js';\nimport './dom/assembler.js';\n\n\nMonster.Util.deepFreeze(Monster);\nexport {Monster};\n\nlet rootName\ntry {\n rootName = Monster.Types.getGlobalObject('__MonsterRootName__');\n} catch (e) {\n\n}\n\nif (!rootName) rootName = \"Monster\";\n\nMonster.Types.getGlobal()[rootName] = Monster", + "'use strict';\n\n/**\n * @namespace Monster\n * @author schukai GmbH\n */\n\n\n/**\n * namespace class objects form the basic framework of the namespace administration.\n *\n * all functions, classes and objects of the library hang within the namespace tree.\n *\n * via `obj instanceof Monster.Namespace` it is also easy to check whether it is an object or a namespace.\n *\n * @memberOf Monster\n * @copyright schukai GmbH\n * @since 1.0.0\n */\nclass Namespace {\n\n /**\n *\n * @param namespace\n * @param obj\n */\n constructor(namespace) {\n if (namespace === undefined || typeof namespace !== 'string') {\n throw new Error(\"namespace is not a string\")\n }\n this.namespace = namespace;\n }\n\n /**\n *\n * @returns {string}\n */\n getNamespace() {\n return this.namespace;\n }\n\n /**\n *\n * @returns {string}\n */\n toString() {\n return this.getNamespace();\n }\n}\n\n/**\n * @type {Namespace}\n * @global\n */\nexport const Monster = new Namespace(\"Monster\");\n\n\n/**\n *\n */\nassignToNamespace('Monster', assignToNamespace);\n\n/**\n * To expand monster, the `Monster.assignToNamespace()` method can be used. \n *\n * you must call the method in the monster namespace. this allows you to mount your own classes, objects and functions into the namespace.\n * \n * To avoid confusion and so that you do not accidentally overwrite existing functions, you should use the custom namespace `X`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/namespace.js';\n * function hello() {\n * console.log('Hello World!');\n * }\n * Monster.assignToNamespace(\"Monster.X\",hello)\n * Monster.X.hello(); // ↦ Hello World!\n * </script>\n * \n * ```\n *\n * @param ns\n * @param obj\n * @memberOf Monster\n \n */\nfunction assignToNamespace(ns, ...obj) {\n let current = namespaceFor(ns.split(\".\"));\n\n for (let i = 0, l = obj.length; i < l; i++) {\n current[objectName(obj[i])] = obj[i];\n }\n}\n\n/**\n *\n * @param fn\n * @returns {string|*}\n * @private\n */\nfunction objectName(fn) {\n try {\n\n if (typeof fn !== 'function') {\n throw new Error(\"the first argument is not a function or class.\");\n }\n\n if (fn.hasOwnProperty('name')) {\n return fn.name;\n }\n\n if (\"function\" === typeof fn.toString) {\n let s = fn.toString();\n let f = s.match(/^\\s*function\\s+([^\\s(]+)/);\n if (Array.isArray(f) && typeof f[1] === 'string') {\n return f[1];\n }\n let c = s.match(/^\\s*class\\s+([^\\s(]+)/);\n if (Array.isArray(c) && typeof c[1] === 'string') {\n return c[1];\n }\n }\n\n } catch (e) {\n throw new Error(\"exception \" + e);\n }\n\n throw new Error(\"the name of the class or function cannot be resolved.\");\n}\n\n/**\n *\n * @param parts\n * @returns {Namespace}\n * @private\n */\nfunction namespaceFor(parts) {\n var space = Monster, ns = 'Monster';\n\n for (let i = 0; i < parts.length; i++) {\n\n if (\"Monster\" === parts[i]) {\n continue;\n }\n\n ns += '.' + parts[i];\n\n if (!space.hasOwnProperty(parts[i])) {\n space[parts[i]] = new Namespace(ns);\n }\n\n space = space[parts[i]];\n }\n\n return space;\n}\n\n\nexport {assignToNamespace}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\n\n\n/**\n * This is the base class from which all monster classes are derived.\n *\n * you can call the method via the monster namespace `new Monster.Types.Base()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js';\n * console.log(new Monster.Types.Base())\n * console.log(new Monster.Types.Base())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js';\n * console.log(new Base())\n * console.log(new Base())\n * </script>\n * ```\n *\n * the class was formerly called Object.\n *\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass Base extends Object {\n\n /**\n *\n * @returns {string}\n */\n toString() {\n return JSON.stringify(this);\n };\n\n\n}\n\nMonster.assignToNamespace('Monster.Types', Base);\nexport {Monster, Base}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {validateFunction, validateString, validateObject} from \"./validate.js\";\n\n/**\n * @type {objec}\n * @private\n */\nvar globalReference;\n\n/**\n * @private\n */\n(function () {\n if (typeof globalThis === 'object') {\n globalReference = globalThis;\n return;\n }\n\n Object.defineProperty(Object.prototype, '__monster__', {\n get: function () {\n return this;\n },\n configurable: true\n });\n \n __monster__.globalThis = __monster__;\n delete Object.prototype.__monster__;\n\n globalReference = globalThis;\n\n}());\n\n/**\n * return globalThis\n *\n * if globalThis is not available, it will be polyfilled\n *\n * @since 1.6.0\n * @memberOf Monster/Types\n * @returns {objec} globalThis\n */\nfunction getGlobal() {\n return globalReference;\n}\n\n/**\n * return global object or throw Error\n *\n * you can call the method via the monster namespace `Monster.Types.getGlobalObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js';\n * console.log(Monster.Types.getGlobalObject('document')) // ↦ { }\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js';\n * console.log(getGlobalObject('document')) // ↦ { }\n * </script>\n * ```\n *\n * @since 1.6.0\n * @memberOf Monster/Types\n * @param {string} name\n * @returns {objec}\n * @throws {Error} the object is not defined\n * @throws {TypeError} value is not a object\n * @throws {TypeError} value is not a string\n */\nfunction getGlobalObject(name) {\n validateString(name);\n let o = globalReference?.[name];\n if (typeof o === 'undefined') throw new Error('the object '+name+' is not defined');\n validateObject(o);\n return o;\n}\n\n/**\n * return global function or throw Error\n *\n * you can call the method via the monster namespace `Monster.Types.getGlobalFunction()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js';\n * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js';\n * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }\n * </script>\n * ```\n *\n * @since 1.6.0\n * @memberOf Monster/Types\n * @param {string} name\n * @returns {objec}\n * @throws {TypeError} value is not a function\n * @throws {Error} the function is not defined\n * @throws {TypeError} value is not a string\n */\nfunction getGlobalFunction(name) {\n validateString(name);\n let f = globalReference?.[name];\n if (typeof f === 'undefined') throw new Error('the function '+name+' is not defined');\n validateFunction(f);\n return f;\n}\n\n\nMonster.assignToNamespace('Monster.Types', getGlobal, getGlobalObject, getGlobalFunction);\nexport {Monster, getGlobal, getGlobalObject, getGlobalFunction}", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, Base} from './base.js';\nimport {validateString} from \"./validate.js\";\n\n/**\n * @private\n * @type {Map<string, integer>}\n */\nlet internalCounter = new Map;\n\n/**\n * with the id class, sequences of ids can be created. for this purpose, an internal counter is incremented for each prefix.\n * thus, the first id with the prefix `myid` will be `myid1` and the second id `myid2`.\n * The ids are the same for every call, for example on a web page.\n *\n * so the ids can also be used for navigation. you just have to take care that the order stays the same.\n *\n * you can call the method via the monster namespace `new Monster.Types.ID()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js';\n * console.log(new Monster.Types.ID())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js';\n * console.log(new ID())\n * </script>\n * ```\n *\n * as of version 1.6.0 there is the new RandomID. this ID class is continuous from now on.\n *\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass ID extends Base {\n\n /**\n * create new object\n */\n constructor(prefix) {\n super();\n\n if (prefix === undefined) {\n prefix = \"id\";\n }\n\n validateString(prefix);\n\n if (!internalCounter.has(prefix)) {\n internalCounter.set(prefix, 1);\n }\n\n let count = internalCounter.get(prefix);\n this.id = prefix + count;\n\n internalCounter.set(prefix, ++count);\n }\n\n /**\n * @return {string}\n */\n toString() {\n return this.id;\n }\n\n}\n\nMonster.assignToNamespace('Monster.Types', ID);\nexport {Monster, ID}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\n\n/**\n * with this function you can check if a value is iterable\n *\n * you can call the method via the monster namespace `Monster.Types.isPrimitive()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isIterable(null)) // ↦ false\n * console.log(Monster.Types.isIterable('hello')) // ↦ true\n * console.log(Monster.Types.isIterable([])) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(isIterable(null)) // ↦ false\n * console.log(isIterable('hello')) // ↦ true\n * console.log(isIterable([])) // ↦ true\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.2.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isIterable(value) {\n if (value === undefined) return false;\n if (value === null) return false;\n return typeof value?.[Symbol.iterator] === 'function';\n}\n\n\n/**\n * checks whether the value passed is a primitive (string, number, boolean, NaN, undefined, null or symbol)\n *\n * you can call the method via the monster namespace `Monster.Types.isPrimitive()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isPrimitive('2')) // ↦ false\n * console.log(Monster.Types.isPrimitive([])) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(isPrimitive('2')) // ↦ true\n * console.log(isPrimitive([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isPrimitive(value) {\n var type;\n\n if (value === undefined || value === null || value === NaN) {\n return true;\n }\n\n type = typeof value;\n\n if (type === 'string' || type === 'number' || type === 'boolean' || type === 'symbol') {\n return true;\n }\n\n return false;\n}\n\n/**\n * checks whether the value passed is a boolean\n *\n * you can call the method via the monster namespace `Monster.Types.isBoolean()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isBoolean('2')) // ↦ false\n * console.log(Monster.Types.isBoolean([])) // ↦ false\n * console.log(Monster.Types.isBoolean(true)) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(isBoolean('2')) // ↦ false\n * console.log(isBoolean([])) // ↦ false\n * console.log(isBoolean(2>4)) // ↦ true\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isBoolean(value) {\n\n if (value === true || value === false) {\n return true;\n }\n\n return false;\n}\n\n/**\n * checks whether the value passed is a string\n *\n * you can call the method via the monster namespace `Monster.Types.isString()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isString('2')) // ↦ true\n * console.log(Monster.Types.isString([])) // ↦ false\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(isString('2')) // ↦ true\n * console.log(isString([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isString(value) {\n if (value === undefined || typeof value !== 'string') {\n return false;\n }\n return true;\n}\n\n/**\n * checks whether the value passed is a object\n *\n * you can call the method via the monster namespace `Monster.Types.isObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isObject('2')) // ↦ false\n * console.log(Monster.Types.isObject([])) // ↦ false\n * console.log(Monster.Types.isObject({})) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(isObject('2')) // ↦ false\n * console.log(isObject([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isObject(value) {\n\n if (isArray(value)) return false;\n if (isPrimitive(value)) return false;\n\n if (typeof value === 'object') {\n return true;\n }\n\n return false;\n}\n\n/**\n * checks whether the value passed is a object and instance of instance\n *\n * you can call the method via the monster namespace `Monster.Types.isInstance()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isInstance('2')) // ↦ false\n * console.log(Monster.Types.isInstance([])) // ↦ false\n * console.log(Monster.Types.isInstance({})) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(isInstance('2')) // ↦ false\n * console.log(isInstance([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @param {*} instance\n * @returns {boolean}\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isInstance(value, instance) {\n\n if (!isObject(value)) return false;\n if (!isFunction(instance)) return false;\n if (!instance.hasOwnProperty('prototype')) return false;\n return (value instanceof instance)?true:false; \n\n}\n\n/**\n * checks whether the value passed is a array\n *\n * you can call the method via the monster namespace `Monster.Types.isArray()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isArray('2')) // ↦ false\n * console.log(Monster.Types.isArray([])) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(isArray('2')) // ↦ false\n * console.log(isArray([])) // ↦ true\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isArray(value) {\n if (Array.isArray(value)) {\n return true;\n }\n return false;\n}\n\n/**\n * checks whether the value passed is a function\n *\n * you can call the method via the monster namespace `Monster.Types.isFunction()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isFunction(()=>{})) // ↦ true\n * console.log(Monster.Types.isFunction('2')) // ↦ false\n * console.log(Monster.Types.isFunction([])) // ↦ false\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(isFunction(()=>{})) // ↦ true\n * console.log(isFunction('2')) // ↦ false\n * console.log(isFunction([])) // ↦ false\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isFunction(value) {\n if (isArray(value)) return false;\n if (isPrimitive(value)) return false;\n\n if (typeof value === 'function') {\n return true;\n }\n\n return false;\n\n}\n\n/**\n * checks whether the value passed is an integer\n *\n * you can call the method via the monster namespace `Monster.Types.isFunction()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(Monster.Types.isInteger(()=>{})) // ↦ true\n * console.log(Monster.Types.isInteger('2')) // ↦ false\n * console.log(Monster.Types.isInteger(2)) // ↦ true\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js';\n * console.log(isInteger(()=>{})) // ↦ true\n * console.log(isInteger('2')) // ↦ false\n * console.log(isInteger(2)) // ↦ true\n * </script>\n * ```\n *\n * @param {*} value\n * @returns {boolean}\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nfunction isInteger(value) {\n return Number.isInteger(value);\n}\n\n\nMonster.assignToNamespace('Monster.Types', isPrimitive, isBoolean, isString, isObject, isArray, isFunction, isIterable, isInteger);\nexport {Monster, isPrimitive, isBoolean, isString, isObject, isInstance, isArray, isFunction, isIterable, isInteger}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {TokenList} from './tokenlist.js';\nimport {isObject} from './is.js';\nimport {Base} from './base.js';\nimport {UniqueQueue} from './uniquequeue.js';\n\n/**\n * an observer manages a callback function\n *\n * you can call the method via the monster namespace `new Monster.Types.Observer()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js';\n * console.log(new Monster.Types.Observer())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js';\n * console.log(Observer())\n * </script>\n * ```\n *\n * the update method is called with the subject object as this pointer. for this reason the callback should not\n * be an arrow function, because it gets the this pointer of its own context.\n *\n * ```\n * <script>\n * Observer(()=>{\n * // this is not subject\n * })\n *\n * Observer(function() {\n * // this is subject\n * })\n * </script>\n * ```\n *\n * additional arguments can be passed to the callback. to do this, simply specify them.\n *\n * ```\n * <script>\n * Observer(function(a, b, c) {\n * console.log(a, b, c); // ↦ \"a\", 2, true \n * }, \"a\", 2, true)\n * </script>\n * ```\n *\n * the callback function must have as many parameters as arguments are given.\n *\n *\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass Observer extends Base {\n\n /**\n *\n * @param {function} callback\n * @param {*} args\n */\n constructor(callback, ...args) {\n super();\n\n if (typeof callback !== 'function') {\n throw new Error(\"observer callback must be a function\")\n }\n\n this.callback = callback;\n this.arguments = args;\n this.tags = new TokenList;\n this.queue = new UniqueQueue();\n }\n\n /**\n *\n * @param {string} tag\n * @returns {Observer}\n */\n addTag(tag) {\n this.tags.add(tag);\n return this;\n }\n\n /**\n *\n * @param {string} tag\n * @returns {Observer}\n */\n removeTag(tag) {\n this.tags.remove(tag);\n return this;\n }\n\n /**\n *\n * @returns {Array}\n */\n getTags() {\n return this.tags.entries()\n }\n\n /**\n *\n * @param {string} tag\n * @returns {boolean}\n */\n hasTag(tag) {\n return this.tags.contains(tag)\n }\n\n /**\n *\n * @param {object} subject\n * @returns {Promise}\n */\n update(subject) {\n let self = this;\n\n return new Promise(function (resolve, reject) {\n if (!isObject(subject)) {\n reject(\"subject must be an object\");\n return;\n }\n\n self.queue.add(subject);\n\n setTimeout(() => {\n\n // the queue and the settimeout ensure that an object is not \n // informed of the same change more than once.\n if (self.queue.isEmpty()) {\n resolve();\n return;\n }\n\n let s = self.queue.poll();\n let result = self.callback.apply(s, self.arguments);\n\n if (isObject(result) && result instanceof Promise) {\n result.then(resolve).catch(reject);\n return;\n }\n\n resolve(result);\n }, 0)\n\n });\n\n };\n\n}\n\nMonster.assignToNamespace('Monster.Types', Observer);\nexport {Monster, Observer}\n\n\n\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Base} from './base.js';\nimport {Observer} from \"./observer.js\";\nimport {validateInstance} from \"./validate.js\";\n\n/**\n * With the help of the ObserverList class, observer can be managed.\n *\n * you can call the method via the monster namespace `new Monster.Types.ObserverList()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js';\n * console.log(new Monster.Types.ObserverList())\n * console.log(new Monster.Types.ObserverList())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js';\n * console.log(ObserverList())\n * console.log(ObserverList())\n * </script>\n * ```\n *\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass ObserverList extends Base {\n\n /**\n *\n */\n constructor() {\n super();\n this.observers = [];\n }\n\n /**\n *\n * @param {Observer} observer\n * @return {ObserverList}\n * @throws {TypeError} value is not an instance of Observer\n */\n attach(observer) {\n validateInstance(observer, Observer)\n\n this.observers.push(observer);\n return this;\n };\n\n /**\n *\n * @param {Observer} observer\n * @return {ObserverList}\n * @throws {TypeError} value is not an instance of Observer\n */\n detach(observer) {\n validateInstance(observer, Observer)\n\n var i = 0, l = this.observers.length;\n for (; i < l; i++) {\n if (this.observers[i] === observer) {\n this.observers.splice(i, 1);\n }\n }\n\n return this;\n };\n\n /**\n *\n * @param {Observer} observer\n * @return {boolean}\n * @throws {TypeError} value is not an instance of Observer\n */\n contains(observer) {\n validateInstance(observer, Observer)\n var i = 0, l = this.observers.length;\n for (; i < l; i++) {\n if (this.observers[i] === observer) {\n return true;\n }\n }\n return false;\n };\n\n /**\n *\n * @param subject\n * @return {Promise}\n */\n notify(subject) {\n\n let pomises = []\n\n var i = 0, l = this.observers.length;\n for (; i < l; i++) {\n pomises.push(this.observers[i].update(subject));\n }\n\n return Promise.all(pomises);\n };\n\n}\n\nMonster.assignToNamespace('Monster.Types', ObserverList);\nexport {Monster, ObserverList}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Base} from './base.js';\nimport {validateObject} from \"./validate.js\";\nimport {ObserverList} from \"./observerlist.js\";\nimport {Observer} from \"./observer.js\";\nimport {isObject, isArray, isPrimitive} from \"./is.js\";\n\n/**\n * an observer manages a callback function\n *\n * you can call the method via the monster namespace `new Monster.Types.Observer()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js';\n * console.log(new Monster.Types.ProxyObserver())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js';\n * console.log(new ProxyObserver())\n * </script>\n * ```\n *\n * with the ProxyObserver you can attach observer for observation. with each change at the object to be observed an update takes place.\n *\n * this also applies to nested objects.\n *\n * ```javascript\n * const o = new Observer(function () {\n * if (isObject(this) && this instanceof ProxyObserver) {\n * // do something (this ist ProxyObserver)\n * const subject = this.getSubject();\n * }\n * )\n * \n * let realSubject = {\n * a: {\n * b: {\n * c: true\n * },\n * d: 5\n * }\n * \n * \n * const p = new ProxyObserver(realSubject);\n * p.attachObserver(o);\n * const s = p.getSubject();\n * s.a.b.c = false;\n * ```\n *\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass ProxyObserver extends Base {\n\n /**\n *\n * @param {object} object\n * @throws {TypeError} value is not a object\n */\n constructor(object) {\n super();\n validateObject(object);\n this.realSubject = object\n this.subject = new Proxy(object, getHandler.call(this));\n\n this.objectMap = new WeakMap();\n this.objectMap.set(this.realSubject, this.subject);\n\n this.observers = new ObserverList;\n }\n\n /**\n * get the real object\n *\n * changes to this object are not noticed by the observers, so you can make a large number of changes and inform the observers later.\n *\n * @returns {object}\n */\n getSubject() {\n return this.subject\n }\n\n /**\n * get the proxied object\n *\n * @returns {object}\n */\n getRealSubject() {\n return this.realSubject\n }\n\n /**\n * attach a new observer\n *\n * @param {Observer} observer\n * @returns {ProxyObserver}\n */\n attachObserver(observer) {\n this.observers.attach(observer)\n return this;\n }\n\n /**\n * detach a observer\n *\n * @param {Observer} observer\n * @returns {ProxyObserver}\n */\n detachObserver(observer) {\n this.observers.detach(observer)\n return this;\n }\n\n /**\n * notify all observer\n *\n * @returns {ProxyObserver}\n */\n notifyObservers() {\n this.observers.notify(this);\n return this;\n }\n\n /**\n * @param {Observer} observer\n * @returns {ProxyObserver}\n */\n containsObserver(observer) {\n return this.observers.contains(observer)\n }\n\n}\n\nMonster.assignToNamespace('Monster.Types', ProxyObserver);\nexport {Monster, ProxyObserver}\n\n/**\n *\n * @returns {{defineProperty: (function(*=, *=, *=): *), setPrototypeOf: (function(*, *=): boolean), set: (function(*, *, *, *): boolean), get: ((function(*=, *=, *=): (undefined))|*), deleteProperty: ((function(*, *): (boolean))|*)}}\n * @private\n * @see {@link https://gitlab.schukai.com/-/snippets/49}\n */\nfunction getHandler() {\n\n const proxy = this;\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots\n const handler = {\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiver\n get: function (target, key, receiver) {\n\n const value = Reflect.get(target, key, receiver);\n\n if (typeof key === \"symbol\") {\n return value;\n }\n\n if (isPrimitive(value)) {\n return value;\n }\n\n // set value as proxy if object or array\n if ((isArray(value) || isObject(value))) {\n if (proxy.objectMap.has(value)) {\n return proxy.objectMap.get(value);\n } else {\n let p = new Proxy(value, handler);\n proxy.objectMap.set(value, p);\n return p;\n }\n\n }\n\n return value;\n\n },\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-set-p-v-receiver \n set: function (target, key, value, receiver) {\n const result = Reflect.set(target, key, value, receiver);\n if (typeof property !== \"symbol\") {\n proxy.observers.notify(proxy);\n }\n\n return result;\n },\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-delete-p\n deleteProperty: function (target, key) {\n if (key in target) {\n delete target[key];\n\n if (typeof key !== \"symbol\") {\n proxy.observers.notify(proxy);\n }\n\n\n return true;\n }\n return false;\n },\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-desc\n defineProperty: function (target, key, descriptor) {\n let result = Reflect.defineProperty(target, key, descriptor);\n\n if (typeof key !== \"symbol\") {\n proxy.observers.notify(proxy);\n }\n\n\n return result;\n },\n\n // https://262.ecma-international.org/9.0/#sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-v\n setPrototypeOf: function (target, key) {\n let result = Reflect.setPrototypeOf(object1, key);\n\n if (typeof key !== \"symbol\") {\n proxy.observers.notify(proxy);\n }\n\n return result;\n }\n\n };\n\n\n return handler;\n}\n", + "import {Monster, Base} from './base.js';\n\n/**\n * you can call the method via the monster namespace `new Monster.Types.Queue()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js';\n * console.log(new Monster.Types.Queue())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js';\n * console.log(new Queue())\n * </script>\n * ```\n *\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass Queue extends Base { \n\n /**\n *\n */\n constructor() {\n super();\n this.data = [];\n }\n\n\n /**\n * @return {boolean}\n */\n isEmpty() {\n return this.data.length === 0;\n }\n\n /**\n * Read the element at the front of the queue without removing it.\n *\n * @return {*}\n */\n peek() {\n if (this.isEmpty()) {\n return undefined;\n }\n\n return this.data[0];\n }\n\n /**\n * Add a new element to the end of the queue.\n *\n * @param {*} value\n * @returns {Queue}\n */\n add(value) {\n this.data.push(value)\n return this;\n }\n\n /**\n * remove all entries\n *\n * @returns {Queue}\n */\n clear() {\n this.data = [];\n return this;\n }\n\n /**\n * Remove the element at the front of the queue\n * If the queue is empty, return undefined.\n *\n * @return {*}\n */\n poll() {\n if (this.isEmpty()) {\n return undefined;\n }\n return this.data.shift();\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Types', Queue);\nexport {Monster, Queue}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, ID} from \"./id.js\";\nimport {getGlobal} from \"./global.js\";\nimport {random} from \"../math/random.js\";\n\n/**\n * @private\n * @type {number}\n */\nlet internalCounter = 0;\n\n/**\n * you can call the method via the monster namespace `new Monster.Types.RandomID()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js';\n * console.log(new Monster.Types.RandomID())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js';\n * console.log(new RandomID())\n * </script>\n * ```\n *\n * @since 1.6.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass RandomID extends ID {\n\n /**\n * create new object\n */\n constructor() {\n super();\n\n internalCounter += 1;\n\n this.id = getGlobal().btoa(random(1, 10000))\n .replace(/=/g, '')\n /** No numbers at the beginning of the ID, because of possible problems with DOM */\n .replace(/^[0-9]+/, 'X') + internalCounter;\n }\n\n}\n\nMonster.assignToNamespace('Monster.Types', RandomID);\nexport {Monster, RandomID}\n", + "import {Monster, Base} from './base.js';\n\n/**\n * you can call the method via the monster namespace `new Monster.Types.Queue()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js';\n * console.log(new Monster.Types.Stack())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js';\n * console.log(new Stack())\n * </script>\n * ```\n *\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass Stack extends Base {\n\n /**\n *\n */\n constructor() {\n super();\n this.data = [];\n }\n\n\n /**\n * @return {boolean}\n */\n isEmpty() {\n return this.data.length === 0;\n }\n\n /**\n * looks at the object at the top of this stack without removing it from the stack.\n *\n * @return {*}\n */\n peek() {\n if (this.isEmpty()) {\n return undefined;\n }\n\n return this.data?.[this.data.length - 1];\n }\n\n /**\n * pushes an item onto the top of this stack.\n *\n * @param {*} value\n * @returns {Queue}\n */\n push(value) {\n this.data.push(value)\n return this;\n }\n\n /**\n * remove all entries\n *\n * @returns {Queue}\n */\n clear() {\n this.data = [];\n return this;\n }\n\n /**\n * removes the object at the top of this stack and returns\n * that object as the value of this function. is the stack empty\n * the return value is undefined.\n *\n * @return {*}\n */\n pop() {\n if (this.isEmpty()) {\n return undefined;\n }\n return this.data.pop();\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Types', Stack);\nexport {Monster, Stack}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {Base} from './base.js';\nimport {isString, isIterable} from '../types/is.js';\nimport {validateString, validateFunction} from '../types/validate.js';\n\n/**\n * A tokenlist allows you to manage tokens (individual character strings such as css classes in an attribute string).\n *\n * The tokenlist offers various functions to manipulate values. For example, you can add, remove or replace a class in a CSS list.\n *\n * you can call the method via the monster namespace `new Monster.Types.TokenList()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js';\n * console.log(new Monster.Types.TokenList(\"myclass row\"))\n * console.log(new Monster.Types.TokenList(\"myclass row\"))\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js';\n * console.log(new TokenList(\"myclass row\"))\n * console.log(new TokenList(\"myclass row\"))\n * </script>\n * ```\n *\n * This class implements the [iteration protocol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).\n *\n * ```\n * console.log(typeof new TokenList(\"myclass row\")[Symbol.iterator]); // \"function\"\n * ```\n *\n *\n * @since 1.2.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass TokenList extends Base {\n\n /**\n *\n * @param {array|string|iteratable} init\n */\n constructor(init) {\n super();\n this.tokens = new Set();\n\n if (typeof init !== \"undefined\") {\n this.add(init);\n }\n\n }\n\n /**\n * Iterator protocol\n *\n * @returns {Symbol.iterator}\n */\n getIterator() {\n return this[Symbol.iterator]();\n }\n\n /**\n * Iterator\n *\n * @returns {{next: ((function(): ({value: *, done: boolean}))|*)}}\n */\n [Symbol.iterator]() {\n // Use a new index for each iterator. This makes multiple\n // iterations over the iterable safe for non-trivial cases,\n // such as use of break or nested looping over the same iterable.\n let index = 0;\n let entries = this.entries()\n\n return {\n next: () => {\n if (index < entries.length) {\n return {value: entries?.[index++], done: false}\n } else {\n return {done: true}\n }\n }\n }\n }\n\n /**\n * Returns true if it contains token, otherwise false\n *\n * ```\n * new TokenList(\"start middle end\").contains('start')); // ↦ true\n * new TokenList(\"start middle end\").contains('end')); // ↦ true\n * new TokenList(\"start middle end\").contains('xyz')); // ↦ false\n * new TokenList(\"start middle end\").contains(['end','start','middle'])); // ↦ true\n * new TokenList(\"start middle end\").contains(['end','start','xyz'])); // ↦ false\n * ```\n *\n * @param {array|string|iteratable} value\n * @returns {boolean}\n */\n contains(value) {\n if (isString(value)) {\n value = value.trim()\n let counter = 0;\n value.split(\" \").forEach(token => {\n if (this.tokens.has(token.trim()) === false) return false;\n counter++\n })\n return counter > 0 ? true : false;\n }\n\n if (isIterable(value)) {\n let counter = 0;\n for (let token of value) {\n validateString(token);\n if (this.tokens.has(token.trim()) === false) return false;\n counter++\n }\n return counter > 0 ? true : false;\n }\n\n return false;\n }\n\n /**\n * add tokens\n *\n * ```\n * new TokenList().add(\"abc xyz\").toString(); // ↦ \"abc xyz\"\n * new TokenList().add([\"abc\",\"xyz\"]).toString(); // ↦ \"abc xyz\"\n * new TokenList().add(undefined); // ↦ add nothing\n * ```\n *\n * @param {array|string|iteratable} value\n * @returns {TokenList}\n * @throws {TypeError} unsupported value\n */\n add(value) {\n if (isString(value)) {\n value.split(\" \").forEach(token => {\n this.tokens.add(token.trim());\n })\n } else if (isIterable(value)) {\n for (let token of value) {\n validateString(token);\n this.tokens.add(token.trim());\n }\n } else if (typeof value !== \"undefined\") {\n throw new TypeError(\"unsupported value\");\n }\n\n return this;\n }\n\n /**\n * remove all tokens\n *\n * @returns {TokenList}\n */\n clear() {\n this.tokens.clear();\n return this;\n }\n\n /**\n * Removes token\n *\n * ```\n * new TokenList(\"abc xyz\").remove(\"xyz\").toString(); // ↦ \"abc\"\n * new TokenList(\"abc xyz\").remove([\"xyz\"]).toString(); // ↦ \"abc\"\n * new TokenList(\"abc xyz\").remove(undefined); // ↦ remove nothing\n * ```\n *\n * @param {array|string|iteratable} value\n * @returns {TokenList}\n * @throws {TypeError} unsupported value\n */\n remove(value) {\n if (isString(value)) {\n value.split(\" \").forEach(token => {\n this.tokens.delete(token.trim());\n })\n } else if (isIterable(value)) {\n for (let token of value) {\n validateString(token);\n this.tokens.delete(token.trim());\n }\n } else if (typeof value !== \"undefined\") {\n throw new TypeError(\"unsupported value\");\n }\n\n return this;\n }\n\n /**\n * this method replaces a token with a new token.\n *\n * if the passed token exists, it is replaced with newToken and TokenList is returned.\n * if the token does not exist, newToken is not set and TokenList is returned.\n *\n * @param {string} token\n * @param {string} newToken\n * @returns {TokenList}\n */\n replace(token, newToken) {\n validateString(token);\n validateString(newToken);\n if (!this.contains(token)) {\n return this;\n }\n\n let a = Array.from(this.tokens)\n let i = a.indexOf(token);\n if (i === -1) return this;\n\n a.splice(i, 1, newToken);\n this.tokens = new Set();\n this.add(a);\n\n return this;\n\n\n }\n\n /**\n * Removes token from string. If token doesn't exist it's added.\n * \n * ```\n * new TokenList(\"abc def ghi\").toggle(\"def xyz\").toString(); // ↦ \"abc ghi xyz\"\n * new TokenList(\"abc def ghi\").toggle([\"abc\",\"xyz\"]).toString(); // ↦ \"def ghi xyz\"\n * new TokenList().toggle(undefined); // ↦ nothing\n * ```\n * \n * @param {array|string|iteratable} value\n * @returns {boolean}\n * @throws {TypeError} unsupported value\n */\n toggle(value) {\n\n if (isString(value)) {\n value.split(\" \").forEach(token => {\n toggleValue.call(this, token);\n })\n } else if (isIterable(value)) {\n for (let token of value) {\n toggleValue.call(this, token);\n }\n } else if (typeof value !== \"undefined\") {\n throw new TypeError(\"unsupported value\");\n }\n\n return this;\n\n }\n\n /**\n * returns an array with all tokens\n *\n * @returns {array}\n */\n entries() {\n return Array.from(this.tokens)\n }\n\n /**\n * executes the provided function with each value of the set\n *\n * @param {function} callback\n * @returns {TokenList}\n */\n forEach(callback) {\n validateFunction(callback);\n this.tokens.forEach(callback);\n return this;\n }\n\n /**\n * returns the individual tokens separated by a blank character\n *\n * @returns {string}\n */\n toString() {\n return this.entries().join(' ');\n }\n\n}\n\n/**\n * @private\n * @param token\n * @returns {toggleValue}\n * @throws {Error} must be called with TokenList.call\n */\nfunction toggleValue(token) {\n if (!(this instanceof TokenList)) throw Error(\"must be called with TokenList.call\")\n validateString(token);\n token = token.trim();\n if (this.contains(token)) {\n this.remove(token);\n return this;\n }\n this.add(token);\n return this;\n}\n\nMonster.assignToNamespace('Monster.Types', TokenList);\nexport {Monster, TokenList}\n", + "import {Monster, Queue} from \"./queue.js\";\nimport {validateObject} from \"./validate.js\";\n\n/**\n * you can call the method via the monster namespace `new Monster.Types.Queue()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js';\n * console.log(new Monster.Types.UniqueQueue())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js';\n * console.log(new UniqueQueue())\n * </script>\n * ```\n *\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass UniqueQueue extends Queue {\n\n /**\n *\n */\n constructor() {\n super();\n this.unique = new WeakSet();\n }\n\n /**\n * Add a new element to the end of the queue.\n *\n * @param {object} value\n * @returns {Queue}\n * @throws {TypeError} value is not a object\n */\n add(value) {\n \n validateObject(value);\n \n if (!this.unique.has(value)) {\n this.unique.add(value);\n super.add(value);\n }\n \n return this;\n }\n\n /**\n * remove all entries\n *\n * @returns {Queue}\n */\n clear() {\n super.clear();\n this.unique = new WeakSet;\n return this;\n }\n\n /**\n * Remove the element at the front of the queue\n * If the queue is empty, return undefined.\n *\n * @return {object}\n */\n poll() {\n\n if (this.isEmpty()) {\n return undefined;\n }\n let value = this.data.shift();\n this.unique.delete(value);\n return value;\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Types', UniqueQueue);\nexport {Monster, UniqueQueue}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {\n isPrimitive,\n isBoolean,\n isString,\n isObject,\n isArray,\n isFunction,\n isIterable,\n isInstance,\n isInteger\n} from './is.js';\n\n/**\n * this method checks if the type matches the primitive type. this function is identical to isPrimitive() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validatePrimitive()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError\n * console.log(Monster.Types.validateIterable([])) // ↦ undefined\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(validateIterable('2')) // ↦ TypeError\n * console.log(validateIterable([])) // ↦ undefined\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.2.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a primitive\n * @see {@link isPrimitive}\n * @see {@link Monster/Types/isPrimitive}\n * @see {@link Monster/Types#isPrimitive}\n */\nfunction validateIterable(value) {\n if (!isIterable(value)) {\n throw new TypeError('value is not iterable')\n }\n}\n\n/**\n * this method checks if the type matches the primitive type. this function is identical to isPrimitive() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validatePrimitive()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validatePrimitive('2')) // ↦ undefined\n * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(validatePrimitive('2')) // ↦ undefined\n * console.log(validatePrimitive([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a primitive\n * @see {@link isPrimitive}\n * @see {@link Monster/Types/isPrimitive}\n * @see {@link Monster/Types#isPrimitive}\n */\nfunction validatePrimitive(value) {\n if (!isPrimitive(value)) {\n throw new TypeError('value is not a primitive')\n }\n}\n\n/**\n * this method checks if the type matches the boolean type. this function is identical to isBoolean() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateBoolean()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateBoolean(true)) // ↦ undefined\n * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError\n * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(validateBoolean(false)) // ↦ undefined\n * console.log(validateBoolean('2')) // ↦ TypeError\n * console.log(validateBoolean([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n\n * @throws {TypeError} value is not primitive\n */\nfunction validateBoolean(value) {\n if (!isBoolean(value)) {\n throw new TypeError('value is not a boolean')\n }\n}\n\n/**\n * this method checks if the type matches the string type. this function is identical to isString() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateString()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateString('2')) // ↦ undefined\n * console.log(Monster.Types.validateString([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(validateString('2')) // ↦ undefined\n * console.log(validateString([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a string\n */\nfunction validateString(value) {\n if (!isString(value)) {\n throw new TypeError('value is not a string')\n }\n}\n\n\n/**\n * this method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateObject()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateObject({})) // ↦ undefined\n * console.log(Monster.Types.validateObject('2')) // ↦ TypeError\n * console.log(Monster.Types.validateObject([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(validateObject({})) // ↦ undefined\n * console.log(validateObject('2')) // ↦ TypeError\n * console.log(validateObject([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a object\n */\nfunction validateObject(value) {\n if (!isObject(value)) {\n throw new TypeError('value is not a object')\n }\n}\n\n/**\n * this method checks if the type matches the object instance.\n *\n * you can call the method via the monster namespace `Monster.Types.validateInstance()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateInstance({}, Object)) // ↦ undefined\n * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError\n * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(validateInstance({}, Object)) // ↦ undefined\n * console.log(validateInstance('2', Object)) // ↦ TypeError\n * console.log(validateInstance([], Object)) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.5.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not an instance of\n */\nfunction validateInstance(value, instance) {\n if (!isInstance(value, instance)) {\n let n = \"\";\n if (isObject(instance) || isFunction(instance)) {\n n = instance?.['name']\n }\n\n if (n) {\n n = \" \" + n;\n }\n\n throw new TypeError('value is not an instance of' + n)\n }\n}\n\n/**\n * this method checks if the type matches the array type. this function is identical to isArray() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateArray()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateArray('2')) // ↦ TypeError\n * console.log(Monster.Types.validateArray([])) // ↦ undefined\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(validateArray('2')) // ↦ TypeError\n * console.log(validateArray([])) // ↦ undefined\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not an array\n */\nfunction validateArray(value) {\n if (!isArray(value)) {\n throw new TypeError('value is not an array')\n }\n}\n\n/**\n * this method checks if the type matches the function type. this function is identical to isFunction() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateFunction()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateFunction(()=>{})) // ↦ undefined\n * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError\n * console.log(Monster.Types.validateFunction([])) // ↦ TypeError\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(validateFunction(()=>{})) // ↦ undefined\n * console.log(validateFunction('2')) // ↦ TypeError\n * console.log(validateFunction([])) // ↦ TypeError\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not a function\n */\nfunction validateFunction(value) {\n if (!isFunction(value)) {\n throw new TypeError('value is not a function')\n }\n}\n\n/**\n * this method checks if the type is an integer. this function is identical to isInteger() except that a TypeError is thrown.\n *\n * you can call the method via the monster namespace `Monster.Types.validateInteger()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError\n * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError\n * console.log(Monster.Types.validateInteger(2)) // ↦ undefined\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js';\n * console.log(validateInteger(true)) // ↦ TypeError\n * console.log(validateInteger('2')) // ↦ TypeError\n * console.log(validateInteger(2)) // ↦ undefined\n * </script>\n * ```\n *\n * @param {*} value\n * @return {undefined}\n * @since 1.4.0\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n * @throws {TypeError} value is not an integer\n */\nfunction validateInteger(value) {\n if (!isInteger(value)) {\n throw new TypeError('value is not an integer')\n }\n}\n\nMonster.assignToNamespace('Monster.Types', validatePrimitive, validateBoolean, validateString, validateObject, validateArray, validateFunction, validateIterable, validateInteger);\nexport {\n Monster,\n validatePrimitive,\n validateBoolean,\n validateString,\n validateObject,\n validateInstance,\n validateArray,\n validateFunction,\n validateIterable,\n validateInteger\n}\n", + "'use strict';\n\nimport {Monster} from '../namespace.js';\nimport {Base} from './base.js';\n\n/**\n * the version object contains a sematic version number\n *\n * you can create the object via the monster namespace `new Monster.Types.Version()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js';\n * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3\n * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this class individually.\n *\n * ```\n * <script type=\"module\">\n * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js';\n * console.log(new Version('1.2.3')) // ↦ 1.2.3\n * console.log(new Version('1')) // ↦ 1.0.0\n * </script>\n * ```\n *\n * some examples\n *\n * ```\n * new Monster.Types.Version('1.0.0') // 1.0.0\n * new Monster.Types.Version(1) // 1.0.0\n * new Monster.Types.Version(1, 0, 0) // 1.0.0\n * new Monster.Types.Version('1.2.3', 4, 5) // 1.4.5\n * ```\n *\n * @since 1.0.0\n * @author schukai GmbH\n * @copyright schukai GmbH\n * @memberOf Monster/Types\n */\nclass Version extends Base {\n\n /**\n *\n * @param major\n * @param minor\n * @param patch\n * @throws major is not a number\n * @throws minor is not a number\n * @throws patch is not a number\n */\n constructor(major, minor, patch) {\n super();\n\n if (typeof major === 'string' && minor === undefined && patch === undefined) {\n\n let parts = major.toString().split('.');\n major = parseInt(parts[0] || 0);\n minor = parseInt(parts[1] || 0);\n patch = parseInt(parts[2] || 0);\n }\n\n if (major === undefined) {\n throw new Error(\"major version is undefined\");\n }\n\n if (minor === undefined) {\n minor = 0;\n }\n\n if (patch === undefined) {\n patch = 0;\n }\n\n this.major = parseInt(major);\n this.minor = parseInt(minor);\n this.patch = parseInt(patch);\n\n if (isNaN(this.major)) {\n throw new Error(\"major is not a number\");\n }\n\n if (isNaN(this.minor)) {\n throw new Error(\"minor is not a number\");\n }\n\n if (isNaN(this.patch)) {\n throw new Error(\"patch is not a number\");\n }\n\n }\n\n /**\n *\n * @returns {string}\n */\n toString() {\n return this.major + '.' + this.minor + '.' + this.patch;\n }\n\n /**\n * returns 0 if equal, -1 if the object version is less and 1 if greater\n * then the compared version\n *\n * @param {string|Version} version Version to compare\n * @returns {number}\n */\n compareTo(version) {\n\n if (version instanceof Version) {\n version = version.toString();\n }\n\n if (typeof version !== 'string') {\n throw new Error(\"type exception\");\n }\n\n if (version === this.toString()) {\n return 0;\n }\n\n let a = [this.major, this.minor, this.patch];\n let b = version.split('.');\n let len = Math.max(a.length, b.length);\n\n for (let i = 0; i < len; i += 1) {\n if ((a[i] && !b[i] && parseInt(a[i]) > 0) || (parseInt(a[i]) > parseInt(b[i]))) {\n return 1;\n } else if ((b[i] && !a[i] && parseInt(b[i]) > 0) || (parseInt(a[i]) < parseInt(b[i]))) {\n return -1;\n }\n }\n\n return 0;\n };\n\n}\n\nMonster.assignToNamespace('Monster.Types', Version);\n\n\nlet monsterVersion;\n\n/**\n * Version of monster\n *\n * you can call the method via the monster namespace `Monster.getVersion()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js';\n * console.log(Monster.getVersion())\n * console.log(Monster.getVersion())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js';\n * console.log(getVersion())\n * console.log(getVersion())\n * </script>\n * ```\n *\n * @returns {Monster.Types.Version}\n * @since 1.0.0\n * @copyright schukai GmbH\n * @author schukai GmbH\n * @memberOf Monster\n */\nfunction getVersion() {\n if (monsterVersion instanceof Version) {\n return monsterVersion;\n }\n /**#@+ dont touch, replaced by make with package.json version */\n monsterVersion = new Version('1.6.0')\n /**#@-*/\n return monsterVersion;\n\n}\n\nMonster.assignToNamespace('Monster', getVersion);\nexport {Monster, Version, getVersion}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {isObject, isFunction, isPrimitive, isArray} from '../types/is.js';\nimport {getGlobal} from '../types/global.js';\n\n\n/**\n * with this function, objects can be cloned.\n * the entire object tree is run through.\n *\n * Proxy, Element, HTMLDocument and DocumentFragment instances are not cloned.\n * Global objects such as windows are also not cloned,\n *\n * If an object has a method `getClone()`, this method is used to create the clone.\n *\n * you can call the method via the monster namespace `Monster.Util.clone()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js';\n * console.log(Monster.Util.clone({}))\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js';\n * console.log(clone({}))\n * </script>\n * ```\n *\n *\n * @param {*} obj object to be cloned\n * @returns {*}\n *\n * @since 1.0.0\n * @memberOf Monster/Util\n * @copyright schukai GmbH\n * @throws {Error} unable to clone obj! its type isn't supported.\n */\nfunction clone(obj) {\n\n // typeof null results in 'object'. https://2ality.com/2013/10/typeof-null.html\n if (null === obj) {\n return obj;\n }\n\n // Handle the two simple types, null and undefined\n if (isPrimitive(obj)) {\n return obj;\n }\n \n // Handle the two simple types, null and undefined\n if (isFunction(obj)) {\n return obj;\n }\n\n // Handle Array\n if (isArray(obj)) {\n let copy = [];\n for (var i = 0, len = obj.length; i < len; i++) {\n copy[i] = clone(obj[i]);\n }\n\n return copy;\n }\n\n if (isObject(obj)) {\n\n\n // Handle Date\n if (obj instanceof Date) {\n let copy = new Date();\n copy.setTime(obj.getTime());\n return copy;\n }\n\n /** Do not clone DOM nodes */\n if (typeof Element !== 'undefined' && obj instanceof Element) return obj;\n if (typeof HTMLDocument !== 'undefined' && obj instanceof HTMLDocument) return obj;\n if (typeof DocumentFragment !== 'undefined' && obj instanceof DocumentFragment) return obj;\n\n /** Do not clone global objects */\n if (obj === getGlobal()) return obj;\n if (typeof globalContext !== 'undefined' && obj === globalContext) return obj;\n if (typeof window !== 'undefined' && obj === window) return obj;\n if (typeof document !== 'undefined' && obj === document) return obj;\n if (typeof navigator !== 'undefined' && obj === navigator) return obj;\n if (typeof JSON !== 'undefined' && obj === JSON) return obj;\n\n // Handle Proxy-Object\n try {\n // try/catch because possible: TypeError: Function has non-object prototype 'undefined' in instanceof check\n if (obj instanceof Proxy) {\n return obj;\n }\n } catch (e) {\n }\n\n return cloneObject(obj)\n\n }\n\n throw new Error(\"unable to clone obj! its type isn't supported.\");\n}\n\n/**\n *\n * @param {object} obj\n * @returns {object}\n * @private\n */\nfunction cloneObject(obj) {\n var copy;\n\n /** Object has clone method */\n if (typeof obj.hasOwnProperty('getClone') && obj.getClone === 'function') {\n return obj.getClone();\n }\n\n copy = {};\n if (typeof obj.constructor === 'function' &&\n typeof obj.constructor.call === 'function') {\n copy = new obj.constructor();\n }\n\n for (let key in obj) {\n\n if (!obj.hasOwnProperty(key)) {\n continue;\n }\n\n if (Monster.Types.isPrimitive(obj[key])) {\n copy[key] = obj[key];\n continue;\n }\n\n copy[key] = clone(obj[key]);\n }\n\n return copy;\n}\n\nMonster.assignToNamespace('Monster.Util', clone);\nexport {Monster, clone}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster, Base} from '../types/base.js';\nimport {isFunction} from '../types/is.js';\n\n/**\n * the comparator allows a comparison function to be abstracted.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js';\n * console.log(new Monster.Util.Comparator())\n * console.log(new Monster.Util.Comparator())\n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js';\n * console.log(new Util())\n * console.log(new Util())\n * </script>\n * ```\n *\n * the following are some examples of the application of the class.\n *\n * ```\n * new Comparator().lessThanOrEqual(2, 5) // ↦ true\n * new Comparator().greaterThan(4, 2) // ↦ true\n * new Comparator().equal(4, 4) // ↦ true\n * new Comparator().equal(4, 5) // ↦ false\n * ```\n *\n * you can also pass your own comparison function, and thus define the comparison function.\n *\n * ```\n * new Comparator(function (a, b) {\n * if (a.v === b.v) return 0;\n * return a.v < b.v ? -1 : 1;\n * }).equal({v: 2}, {v: 2}); // ↦ true\n * ```\n *\n * @since 1.3.0\n * @memberOf Monster/Util\n */\nclass Comparator extends Base {\n\n /**\n * create new comparator\n *\n * @param {function} callback\n * @throw {TypeError} \"unsupported type\"\n * @throw {TypeError} \"impractical comparison\"\n */\n constructor(callback) {\n super();\n\n if (isFunction(callback)) {\n this.compare = callback\n } else if (callback !== undefined) {\n throw new TypeError(\"unsupported type\")\n } else {\n // default compare function\n this.compare = function (a, b) {\n\n if (typeof a !== typeof b) {\n throw new TypeError(\"impractical comparison\")\n }\n\n if (a === b) {\n return 0;\n }\n return a < b ? -1 : 1;\n };\n }\n\n }\n\n /**\n * changes the order of the operators\n *\n * @return {Comparator}\n */\n reverse() {\n const original = this.compare;\n this.compare = (a, b) => original(b, a);\n return this;\n }\n\n /**\n * Checks if two variables are equal.\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n equal(a, b) {\n return this.compare(a, b) === 0;\n }\n\n\n /**\n * Checks if variable `a` is greater than `b`\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n greaterThan(a, b) {\n return this.compare(a, b) > 0;\n }\n\n /**\n * Checks if variable `a` is greater than or equal to `b`\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n greaterThanOrEqual(a, b) {\n return this.greaterThan(a, b) || this.equal(a, b);\n }\n\n /**\n * Checks if variable `a` is less than or equal to `b`\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n lessThanOrEqual(a, b) {\n return this.lessThan(a, b) || this.equal(a, b);\n }\n\n /**\n * Checks if variable a is less than b\n *\n * @param {*} a\n * @param {*} b\n *\n * @return {boolean}\n */\n lessThan(a, b) {\n return this.compare(a, b) < 0;\n }\n\n\n}\n\nMonster.assignToNamespace('Monster.Util', Comparator);\nexport {Monster, Comparator}\n", + "'use strict';\n\n/**\n * @author schukai GmbH\n */\n\nimport {Monster} from '../namespace.js';\nimport {validateObject} from '../types/validate.js';\n\n/**\n * deep freeze a object\n *\n * you can call the method via the monster namespace `Monster.Util.deepFreeze()`.\n *\n * ```\n * <script type=\"module\">\n * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js';\n * console.log(Monster.Util.deepFreeze({})) \n * </script>\n * ```\n *\n * Alternatively, you can also integrate this function individually.\n *\n * ```\n * <script type=\"module\">\n * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js';\n * console.log(deepFreeze({})) \n * </script>\n * ```\n *\n * @param {object} obj object to be freeze\n * @since 1.0.0\n * @returns {object}\n * @memberOf Monster/Util\n * @copyright schukai GmbH\n * @throws {TypeError} value is not a object\n */\nfunction deepFreeze(object) {\n \n validateObject(object)\n\n // Retrieve the defined property names of the object\n var propNames = Object.getOwnPropertyNames(object);\n\n // Freeze properties before freezing yourself\n for (let name of propNames) {\n let value = object[name];\n\n object[name] = value && typeof value === \"object\" ?\n deepFreeze(value) : value;\n }\n\n return Object.freeze(object);\n}\n\nMonster.assignToNamespace('Monster.Util', deepFreeze);\nexport {Monster, deepFreeze}\n" ] } \ No newline at end of file diff --git a/packages/monster/dist/monster.js b/packages/monster/dist/monster.js index e2cd2ed3df5d32b377c3d50aac4235a371c3b4a3..707d95b92dce6b81c5db38b572d750795c9c098c 100644 --- a/packages/monster/dist/monster.js +++ b/packages/monster/dist/monster.js @@ -1,2 +1,2 @@ -/** Monster 1.5.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ -(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";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.AbstractConstraint=void 0;var _namespace=require("../namespace.js");var _base=require("../types/base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var AbstractConstraint=function(_Base){_inherits(AbstractConstraint,_Base);var _super=_createSuper(AbstractConstraint);function AbstractConstraint(){_classCallCheck(this,AbstractConstraint);return _super.call(this)}_createClass(AbstractConstraint,[{key:"isValid",value:function isValid(value){return Promise.reject(value)}}]);return AbstractConstraint}(_base.Base);exports.AbstractConstraint=AbstractConstraint;_namespace.Monster.assignToNamespace("Monster.Constraints",AbstractConstraint)},{"../namespace.js":11,"../types/base.js":12}],2:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.AbstractOperator=void 0;var _abstract=require("./abstract.js");function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var AbstractOperator=function(_AbstractConstraint){_inherits(AbstractOperator,_AbstractConstraint);var _super=_createSuper(AbstractOperator);function AbstractOperator(operantA,operantB){var _this;_classCallCheck(this,AbstractOperator);_this=_super.call(this);if(!(operantA instanceof _abstract.AbstractConstraint)||!(operantB instanceof _abstract.AbstractConstraint)){throw new TypeError("parameters must be from type AbstractConstraint")}_this.operantA=operantA;_this.operantB=operantB;return _this}return AbstractOperator}(_abstract.AbstractConstraint);exports.AbstractOperator=AbstractOperator;_abstract.Monster.assignToNamespace("Monster.Constraints",AbstractOperator)},{"./abstract.js":1}],3:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.AndOperator=void 0;var _abstract=require("./abstract.js");var _abstractoperator=require("./abstractoperator.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var AndOperator=function(_AbstractOperator){_inherits(AndOperator,_AbstractOperator);var _super=_createSuper(AndOperator);function AndOperator(){_classCallCheck(this,AndOperator);return _super.apply(this,arguments)}_createClass(AndOperator,[{key:"isValid",value:function isValid(value){return Promise.all([this.operantA.isValid(value),this.operantB.isValid(value)])}}]);return AndOperator}(_abstractoperator.AbstractOperator);exports.AndOperator=AndOperator;_abstract.Monster.assignToNamespace("Monster.Constraints",AndOperator)},{"./abstract.js":1,"./abstractoperator.js":2}],4:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.Invalid=void 0;var _abstract=require("./abstract.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Invalid=function(_AbstractConstraint){_inherits(Invalid,_AbstractConstraint);var _super=_createSuper(Invalid);function Invalid(){_classCallCheck(this,Invalid);return _super.apply(this,arguments)}_createClass(Invalid,[{key:"isValid",value:function isValid(value){return Promise.reject(value)}}]);return Invalid}(_abstract.AbstractConstraint);exports.Invalid=Invalid;_abstract.Monster.assignToNamespace("Monster.Constraints",Invalid)},{"./abstract.js":1}],5:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.IsArray=void 0;var _abstract=require("./abstract.js");var _is=require("../types/is.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var IsArray=function(_AbstractConstraint){_inherits(IsArray,_AbstractConstraint);var _super=_createSuper(IsArray);function IsArray(){_classCallCheck(this,IsArray);return _super.apply(this,arguments)}_createClass(IsArray,[{key:"isValid",value:function isValid(value){if((0,_is.isArray)(value)){return Promise.resolve(value)}return Promise.reject(value)}}]);return IsArray}(_abstract.AbstractConstraint);exports.IsArray=IsArray;_abstract.Monster.assignToNamespace("Monster.Constraints",IsArray)},{"../types/is.js":14,"./abstract.js":1}],6:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.IsObject=void 0;var _abstract=require("./abstract.js");var _is=require("../types/is.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var IsObject=function(_AbstractConstraint){_inherits(IsObject,_AbstractConstraint);var _super=_createSuper(IsObject);function IsObject(){_classCallCheck(this,IsObject);return _super.apply(this,arguments)}_createClass(IsObject,[{key:"isValid",value:function isValid(value){if((0,_is.isObject)(value)){return Promise.resolve(value)}return Promise.reject(value)}}]);return IsObject}(_abstract.AbstractConstraint);exports.IsObject=IsObject;_abstract.Monster.assignToNamespace("Monster.Constraints",IsObject)},{"../types/is.js":14,"./abstract.js":1}],7:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstractoperator.Monster}});exports.OrOperator=void 0;var _abstractoperator=require("./abstractoperator.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var OrOperator=function(_AbstractOperator){_inherits(OrOperator,_AbstractOperator);var _super=_createSuper(OrOperator);function OrOperator(){_classCallCheck(this,OrOperator);return _super.apply(this,arguments)}_createClass(OrOperator,[{key:"isValid",value:function isValid(value){var self=this;return new Promise(function(resolve,reject){var a,b;self.operantA.isValid(value).then(function(){resolve()})["catch"](function(){a=false;if(b===false){reject()}});self.operantB.isValid(value).then(function(){resolve()})["catch"](function(){b=false;if(a===false){reject()}})})}}]);return OrOperator}(_abstractoperator.AbstractOperator);exports.OrOperator=OrOperator;_abstractoperator.Monster.assignToNamespace("Monster.Constraints",OrOperator)},{"./abstractoperator.js":2}],8:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.Valid=void 0;var _abstract=require("./abstract.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Valid=function(_AbstractConstraint){_inherits(Valid,_AbstractConstraint);var _super=_createSuper(Valid);function Valid(){_classCallCheck(this,Valid);return _super.apply(this,arguments)}_createClass(Valid,[{key:"isValid",value:function isValid(value){return Promise.resolve(value)}}]);return Valid}(_abstract.AbstractConstraint);exports.Valid=Valid;_abstract.Monster.assignToNamespace("Monster.Constraints",Valid)},{"./abstract.js":1}],9:[function(require,module,exports){(function(global){(function(){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.random=random;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");function random(min,max){if(min===undefined){min=0}if(max===undefined){max=MAX}if(max<min){throw new Error("max must be greater than min")}return Math.round(create(min,max))}var MAX=1e9;Math.log2=Math.log2||function(n){return Math.log(n)/Math.log(2)};function create(min,max){var crypt;if(typeof global!=="undefined"){var _global,_global2;crypt=((_global=global)===null||_global===void 0?void 0:_global["crypto"])||((_global2=global)===null||_global2===void 0?void 0:_global2["msCrypto"])}else{crypt=typeof crypto!=="undefined"?crypto:undefined}if(typeof crypt==="undefined"){throw new Error("missing crypt")}var rval=0;var range=max-min;if(range<2){return min}var bitsNeeded=Math.ceil(Math.log2(range));if(bitsNeeded>53){throw new Error("we cannot generate numbers larger than 53 bits.")}var bytesNeeded=Math.ceil(bitsNeeded/8);var mask=Math.pow(2,bitsNeeded)-1;var byteArray=new Uint8Array(bytesNeeded);crypt.getRandomValues(byteArray);var p=(bytesNeeded-1)*8;for(var i=0;i<bytesNeeded;i++){rval+=byteArray[i]*Math.pow(2,p);p-=8}rval=rval&mask;if(rval>=range){return create(min,max)}return min+rval}_namespace.Monster.assignToNamespace("Monster.Math",random)}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../namespace.js":11}],10:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("./namespace.js");require("./types/id.js");require("./types/is.js");require("./types/base.js");require("./types/observer.js");require("./types/observerlist.js");require("./types/proxyobserver.js");require("./types/version.js");require("./types/tokenlist.js");require("./types/validate.js");require("./math/random.js");require("./util/clone.js");require("./util/comparator.js");require("./util/freeze.js");require("./constraints/abstract.js");require("./constraints/andoperator.js");require("./constraints/invalid.js");require("./constraints/isarray.js");require("./constraints/isobject.js");require("./constraints/abstractoperator.js");require("./constraints/oroperator.js");require("./constraints/valid.js");_namespace.Monster.Util.deepFreeze(_namespace.Monster)},{"./constraints/abstract.js":1,"./constraints/abstractoperator.js":2,"./constraints/andoperator.js":3,"./constraints/invalid.js":4,"./constraints/isarray.js":5,"./constraints/isobject.js":6,"./constraints/oroperator.js":7,"./constraints/valid.js":8,"./math/random.js":9,"./namespace.js":11,"./types/base.js":12,"./types/id.js":13,"./types/is.js":14,"./types/observer.js":15,"./types/observerlist.js":16,"./types/proxyobserver.js":17,"./types/tokenlist.js":19,"./types/validate.js":21,"./types/version.js":22,"./util/clone.js":23,"./util/comparator.js":24,"./util/freeze.js":25}],11:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.assignToNamespace=assignToNamespace;exports.Monster=void 0;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 Namespace=function(){function Namespace(namespace){_classCallCheck(this,Namespace);if(namespace===undefined||typeof namespace!=="string"){throw new Error("namespace is not a string")}this.namespace=namespace}_createClass(Namespace,[{key:"getNamespace",value:function getNamespace(){return this.namespace}},{key:"toString",value:function toString(){return this.getNamespace()}}]);return Namespace}();var Monster=new Namespace("Monster");exports.Monster=Monster;assignToNamespace("Monster",assignToNamespace);function assignToNamespace(ns){var current=namespaceFor(ns.split("."));for(var i=0,l=arguments.length<=1?0:arguments.length-1;i<l;i++){current[objectName(i+1<1||arguments.length<=i+1?undefined:arguments[i+1])]=i+1<1||arguments.length<=i+1?undefined:arguments[i+1]}}function objectName(fn){try{if(typeof fn!=="function"){throw new Error("the first argument is not a function or class.")}if(fn.hasOwnProperty("name")){return fn.name}if("function"===typeof fn.toString){var s=fn.toString();var f=s.match(/^\s*function\s+([^\s(]+)/);if(Array.isArray(f)&&typeof f[1]==="string"){return f[1]}var c=s.match(/^\s*class\s+([^\s(]+)/);if(Array.isArray(c)&&typeof c[1]==="string"){return c[1]}}}catch(e){throw new Error("exception "+e)}throw new Error("the name of the class or function cannot be resolved.")}function namespaceFor(parts){var space=Monster,ns="Monster";for(var i=0;i<parts.length;i++){if("Monster"===parts[i]){continue}ns+="."+parts[i];if(!space.hasOwnProperty(parts[i])){space[parts[i]]=new Namespace(ns)}space=space[parts[i]]}return space}},{}],12:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Base=void 0;var _namespace=require("../namespace.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _wrapNativeSuper(Class){var _cache=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(Class){if(Class===null||!_isNativeFunction(Class))return Class;if(typeof Class!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof _cache!=="undefined"){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return _construct(Class,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,Class)};return _wrapNativeSuper(Class)}function _construct(Parent,args,Class){if(_isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var Constructor=Function.bind.apply(Parent,a);var instance=new Constructor;if(Class)_setPrototypeOf(instance,Class.prototype);return instance}}return _construct.apply(null,arguments)}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _isNativeFunction(fn){return Function.toString.call(fn).indexOf("[native code]")!==-1}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Base=function(_Object){_inherits(Base,_Object);var _super=_createSuper(Base);function Base(){_classCallCheck(this,Base);return _super.apply(this,arguments)}_createClass(Base,[{key:"toString",value:function toString(){return JSON.stringify(this)}}]);return Base}(_wrapNativeSuper(Object));exports.Base=Base;_namespace.Monster.assignToNamespace("Monster.Types",Base)},{"../namespace.js":11}],13:[function(require,module,exports){(function(global){(function(){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.ID=void 0;var _namespace=require("../namespace.js");var _random=require("../math/random.js");var _base=require("./base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var internalCounter=0;var ID=function(_Base){_inherits(ID,_Base);var _super=_createSuper(ID);function ID(){var _this;_classCallCheck(this,ID);_this=_super.call(this);internalCounter+=1;_this.id=global.btoa((0,_random.random)(1,1e4)).replace(/=/g,"").replace(/^[0-9]+/,"X")+internalCounter;return _this}_createClass(ID,[{key:"toString",value:function toString(){return this.id}}]);return ID}(_base.Base);exports.ID=ID;_namespace.Monster.assignToNamespace("Monster.Types",ID)}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../math/random.js":9,"../namespace.js":11,"./base.js":12}],14:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.isPrimitive=isPrimitive;exports.isBoolean=isBoolean;exports.isString=isString;exports.isObject=isObject;exports.isInstance=isInstance;exports.isArray=isArray;exports.isFunction=isFunction;exports.isIterable=isIterable;exports.isInteger=isInteger;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function isIterable(value){if(value===undefined)return false;if(value===null)return false;return typeof(value===null||value===void 0?void 0:value[Symbol.iterator])==="function"}function isPrimitive(value){var type;if(value===undefined||value===null||value===NaN){return true}type=_typeof(value);if(type==="string"||type==="number"||type==="boolean"||type==="symbol"){return true}return false}function isBoolean(value){if(value===true||value===false){return true}return false}function isString(value){if(value===undefined||typeof value!=="string"){return false}return true}function isObject(value){if(isArray(value))return false;if(isPrimitive(value))return false;if(_typeof(value)==="object"){return true}return false}function isInstance(value,instance){if(!isObject(value))return false;if(!isFunction(instance))return false;if(!instance.hasOwnProperty("prototype"))return false;return value instanceof instance?true:false}function isArray(value){if(Array.isArray(value)){return true}return false}function isFunction(value){if(isArray(value))return false;if(isPrimitive(value))return false;if(typeof value==="function"){return true}return false}function isInteger(value){return Number.isInteger(value)}_namespace.Monster.assignToNamespace("Monster.Types",isPrimitive,isBoolean,isString,isObject,isArray,isFunction,isIterable,isInteger)},{"../namespace.js":11}],15:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Observer=void 0;var _namespace=require("../namespace.js");var _tokenlist=require("./tokenlist.js");var _is=require("./is.js");var _base=require("./base.js");var _uniquequeue=require("./uniquequeue.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Observer=function(_Base){_inherits(Observer,_Base);var _super=_createSuper(Observer);function Observer(callback){var _this;_classCallCheck(this,Observer);_this=_super.call(this);if(typeof callback!=="function"){throw new Error("observer callback must be a function")}_this.callback=callback;for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}_this.arguments=args;_this.tags=new _tokenlist.TokenList;_this.queue=new _uniquequeue.UniqueQueue;return _this}_createClass(Observer,[{key:"addTag",value:function addTag(tag){this.tags.add(tag);return this}},{key:"removeTag",value:function removeTag(tag){this.tags.remove(tag);return this}},{key:"getTags",value:function getTags(){return this.tags.entries()}},{key:"hasTag",value:function hasTag(tag){return this.tags.contains(tag)}},{key:"update",value:function update(subject){var self=this;return new Promise(function(resolve,reject){if(!(0,_is.isObject)(subject)){reject("subject must be an object")}self.queue.add(subject);setTimeout(function(){if(self.queue.isEmpty()){resolve();return}var s=self.queue.poll();var result=self.callback.apply(s,self.arguments);if((0,_is.isObject)(result)&&result instanceof Promise){result.then(resolve)["catch"](reject);return}resolve(result)},0)})}}]);return Observer}(_base.Base);exports.Observer=Observer;_namespace.Monster.assignToNamespace("Monster.Types",Observer)},{"../namespace.js":11,"./base.js":12,"./is.js":14,"./tokenlist.js":19,"./uniquequeue.js":20}],16:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.ObserverList=void 0;var _namespace=require("../namespace.js");var _base=require("./base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var ObserverList=function(_Base){_inherits(ObserverList,_Base);var _super=_createSuper(ObserverList);function ObserverList(){var _this;_classCallCheck(this,ObserverList);_this=_super.call(this);_this.observers=[];return _this}_createClass(ObserverList,[{key:"attach",value:function attach(observer){checkIsObserver(observer);this.observers.push(observer);return this}},{key:"detach",value:function detach(observer){checkIsObserver(observer);var i=0,l=this.observers.length;for(;i<l;i++){if(this.observers[i]===observer){this.observers.splice(i,1)}}return this}},{key:"contains",value:function contains(observer){checkIsObserver(observer);var i=0,l=this.observers.length;for(;i<l;i++){if(this.observers[i]===observer){return true}}return false}},{key:"notify",value:function notify(subject){var pomises=[];var i=0,l=this.observers.length;for(;i<l;i++){pomises.push(this.observers[i].update(subject))}return Promise.all(pomises)}}]);return ObserverList}(_base.Base);exports.ObserverList=ObserverList;function checkIsObserver(observer){if(!(observer instanceof _namespace.Monster.Types.Observer)){throw new Error("argument must be instance of observer")}return true}_namespace.Monster.assignToNamespace("Monster.Types",ObserverList)},{"../namespace.js":11,"./base.js":12}],17:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.ProxyObserver=void 0;var _namespace=require("../namespace.js");var _base=require("./base.js");var _validate=require("./validate.js");var _observerlist=require("./observerlist.js");var _observer=require("./observer.js");var _is=require("./is.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var ProxyObserver=function(_Base){_inherits(ProxyObserver,_Base);var _super=_createSuper(ProxyObserver);function ProxyObserver(object){var _this;_classCallCheck(this,ProxyObserver);_this=_super.call(this);(0,_validate.validateObject)(object);_this.realSubject=object;_this.subject=new Proxy(object,getHandler.call(_assertThisInitialized(_this)));_this.objectMap=new WeakMap;_this.objectMap.set(_this.realSubject,_this.subject);_this.observers=new _observerlist.ObserverList;return _this}_createClass(ProxyObserver,[{key:"getSubject",value:function getSubject(){return this.subject}},{key:"getRealSubject",value:function getRealSubject(){return this.realSubject}},{key:"attachObserver",value:function attachObserver(observer){this.observers.attach(observer);return this}},{key:"detachObserver",value:function detachObserver(observer){this.observers.detach(observer);return this}},{key:"notifyObservers",value:function notifyObservers(){this.observers.notify(this);return this}},{key:"containsObserver",value:function containsObserver(observer){return this.observers.contains(observer)}}]);return ProxyObserver}(_base.Base);exports.ProxyObserver=ProxyObserver;_namespace.Monster.assignToNamespace("Monster.Types",ProxyObserver);function getHandler(){var proxy=this;var handler={get:function get(target,key,receiver){var value=Reflect.get(target,key,receiver);if(_typeof(key)==="symbol"){return value}if((0,_is.isPrimitive)(value)){return value}if((0,_is.isArray)(value)||(0,_is.isObject)(value)){if(proxy.objectMap.has(value)){return proxy.objectMap.get(value)}else{var p=new Proxy(value,handler);proxy.objectMap.set(value,p);return p}}return value},set:function set(target,key,value,receiver){var result=Reflect.set(target,key,value,receiver);if((typeof property==="undefined"?"undefined":_typeof(property))!=="symbol"){proxy.observers.notify(proxy)}return result},deleteProperty:function deleteProperty(target,key){if(key in target){delete target[key];if(_typeof(key)!=="symbol"){proxy.observers.notify(proxy)}return true}return false},defineProperty:function defineProperty(target,key,descriptor){var result=Reflect.defineProperty(target,key,descriptor);if(_typeof(key)!=="symbol"){proxy.observers.notify(proxy)}return result},setPrototypeOf:function setPrototypeOf(target,key){var result=Reflect.setPrototypeOf(object1,key);if(_typeof(key)!=="symbol"){proxy.observers.notify(proxy)}return result}};return handler}},{"../namespace.js":11,"./base.js":12,"./is.js":14,"./observer.js":15,"./observerlist.js":16,"./validate.js":21}],18:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _base.Monster}});exports.Queue=void 0;var _base=require("./base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Queue=function(_Base){_inherits(Queue,_Base);var _super=_createSuper(Queue);function Queue(){var _this;_classCallCheck(this,Queue);_this=_super.call(this);_this.data=[];return _this}_createClass(Queue,[{key:"isEmpty",value:function isEmpty(){return this.data.length===0}},{key:"peek",value:function peek(){if(this.isEmpty()){return undefined}return this.data[0]}},{key:"add",value:function add(value){this.data.push(value);return this}},{key:"clear",value:function clear(){this.data=[];return this}},{key:"poll",value:function poll(){if(this.isEmpty()){return undefined}return this.data.shift()}}]);return Queue}(_base.Base);exports.Queue=Queue;_base.Monster.assignToNamespace("Monster.Types",Queue)},{"./base.js":12}],19:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.TokenList=void 0;var _namespace=require("../namespace.js");var _base=require("./base.js");var _is=require("../types/is.js");var _validate=require("../types/validate.js");function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();normalCompletion=step.done;return step},e:function e(_e2){didErr=true;err=_e2},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i]}return arr2}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var TokenList=function(_Base){_inherits(TokenList,_Base);var _super=_createSuper(TokenList);function TokenList(init){var _this;_classCallCheck(this,TokenList);_this=_super.call(this);_this.tokens=new Set;if(typeof init!=="undefined"){_this.add(init)}return _this}_createClass(TokenList,[{key:"getIterator",value:function getIterator(){return this[Symbol.iterator]()}},{key:Symbol.iterator,value:function value(){var index=0;var entries=this.entries();return{next:function next(){if(index<entries.length){return{value:entries===null||entries===void 0?void 0:entries[index++],done:false}}else{return{done:true}}}}}},{key:"contains",value:function contains(value){var _this2=this;if((0,_is.isString)(value)){value=value.trim();var counter=0;value.split(" ").forEach(function(token){if(_this2.tokens.has(token.trim())===false)return false;counter++});return counter>0?true:false}if((0,_is.isIterable)(value)){var _counter=0;var _iterator=_createForOfIteratorHelper(value),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var token=_step.value;(0,_validate.validateString)(token);if(this.tokens.has(token.trim())===false)return false;_counter++}}catch(err){_iterator.e(err)}finally{_iterator.f()}return _counter>0?true:false}return false}},{key:"add",value:function add(value){var _this3=this;if((0,_is.isString)(value)){value.split(" ").forEach(function(token){_this3.tokens.add(token.trim())})}else if((0,_is.isIterable)(value)){var _iterator2=_createForOfIteratorHelper(value),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var token=_step2.value;(0,_validate.validateString)(token);this.tokens.add(token.trim())}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}else if(typeof value!=="undefined"){throw new TypeError("unsupported value")}return this}},{key:"clear",value:function clear(){this.tokens.clear();return this}},{key:"remove",value:function remove(value){var _this4=this;if((0,_is.isString)(value)){value.split(" ").forEach(function(token){_this4.tokens["delete"](token.trim())})}else if((0,_is.isIterable)(value)){var _iterator3=_createForOfIteratorHelper(value),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var token=_step3.value;(0,_validate.validateString)(token);this.tokens["delete"](token.trim())}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}}else if(typeof value!=="undefined"){throw new TypeError("unsupported value")}return this}},{key:"replace",value:function replace(token,newToken){(0,_validate.validateString)(token);(0,_validate.validateString)(newToken);if(!this.contains(token)){return this}var a=Array.from(this.tokens);var i=a.indexOf(token);if(i===-1)return this;a.splice(i,1,newToken);this.tokens=new Set;this.add(a);return this}},{key:"toggle",value:function toggle(value){var _this5=this;if((0,_is.isString)(value)){value.split(" ").forEach(function(token){toggleValue.call(_this5,token)})}else if((0,_is.isIterable)(value)){var _iterator4=_createForOfIteratorHelper(value),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var token=_step4.value;toggleValue.call(this,token)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}}else if(typeof value!=="undefined"){throw new TypeError("unsupported value")}return this}},{key:"entries",value:function entries(){return Array.from(this.tokens)}},{key:"forEach",value:function forEach(callback){(0,_validate.validateFunction)(callback);this.tokens.forEach(callback);return this}},{key:"toString",value:function toString(){return this.entries().join(" ")}}]);return TokenList}(_base.Base);exports.TokenList=TokenList;function toggleValue(token){if(!(this instanceof TokenList))throw Error("must be called with TokenList.call");(0,_validate.validateString)(token);token=token.trim();if(this.contains(token)){this.remove(token);return this}this.add(token);return this}_namespace.Monster.assignToNamespace("Monster.Types",TokenList)},{"../namespace.js":11,"../types/is.js":14,"../types/validate.js":21,"./base.js":12}],20:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _queue.Monster}});exports.UniqueQueue=void 0;var _queue=require("./queue.js");var _validate=require("./validate.js");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}function _get(target,property,receiver){if(typeof Reflect!=="undefined"&&Reflect.get){_get=Reflect.get}else{_get=function _get(target,property,receiver){var base=_superPropBase(target,property);if(!base)return;var desc=Object.getOwnPropertyDescriptor(base,property);if(desc.get){return desc.get.call(receiver)}return desc.value}}return _get(target,property,receiver||target)}function _superPropBase(object,property){while(!Object.prototype.hasOwnProperty.call(object,property)){object=_getPrototypeOf(object);if(object===null)break}return object}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var UniqueQueue=function(_Queue){_inherits(UniqueQueue,_Queue);var _super=_createSuper(UniqueQueue);function UniqueQueue(){var _this;_classCallCheck(this,UniqueQueue);_this=_super.call(this);_this.unique=new WeakSet;return _this}_createClass(UniqueQueue,[{key:"add",value:function add(value){(0,_validate.validateObject)(value);if(!this.unique.has(value)){this.unique.add(value);_get(_getPrototypeOf(UniqueQueue.prototype),"add",this).call(this,value)}return this}},{key:"clear",value:function clear(){_get(_getPrototypeOf(UniqueQueue.prototype),"clear",this).call(this);this.unique=new WeakSet;return this}},{key:"poll",value:function poll(){if(this.isEmpty()){return undefined}var value=this.data.shift();this.unique["delete"](value);return value}}]);return UniqueQueue}(_queue.Queue);exports.UniqueQueue=UniqueQueue;_queue.Monster.assignToNamespace("Monster.Types",UniqueQueue)},{"./queue.js":18,"./validate.js":21}],21:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.validatePrimitive=validatePrimitive;exports.validateBoolean=validateBoolean;exports.validateString=validateString;exports.validateObject=validateObject;exports.validateInstance=validateInstance;exports.validateArray=validateArray;exports.validateFunction=validateFunction;exports.validateIterable=validateIterable;exports.validateInteger=validateInteger;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");var _is=require("./is.js");function validateIterable(value){if(!(0,_is.isIterable)(value)){throw new TypeError("value is not iterable")}}function validatePrimitive(value){if(!(0,_is.isPrimitive)(value)){throw new TypeError("value is not a primitive")}}function validateBoolean(value){if(!(0,_is.isBoolean)(value)){throw new TypeError("value is not a boolean")}}function validateString(value){if(!(0,_is.isString)(value)){throw new TypeError("value is not a string")}}function validateObject(value){if(!(0,_is.isObject)(value)){throw new TypeError("value is not a object")}}function validateInstance(value,instance){if(!(0,_is.isInstance)(value,instance)){throw new TypeError("value is not an instance of")}}function validateArray(value){if(!(0,_is.isArray)(value)){throw new TypeError("value is not an array")}}function validateFunction(value){if(!(0,_is.isFunction)(value)){throw new TypeError("value is not a function")}}function validateInteger(value){if(!(0,_is.isInteger)(value)){throw new TypeError("value is not an integer")}}_namespace.Monster.assignToNamespace("Monster.Types",validatePrimitive,validateBoolean,validateString,validateObject,validateArray,validateFunction,validateIterable,validateInteger)},{"../namespace.js":11,"./is.js":14}],22:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});exports.getVersion=getVersion;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Version=void 0;var _namespace=require("../namespace.js");var _base=require("./base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Version=function(_Base){_inherits(Version,_Base);var _super=_createSuper(Version);function Version(major,minor,patch){var _this;_classCallCheck(this,Version);_this=_super.call(this);if(typeof major==="string"&&minor===undefined&&patch===undefined){var parts=major.toString().split(".");major=parseInt(parts[0]||0);minor=parseInt(parts[1]||0);patch=parseInt(parts[2]||0)}if(major===undefined){throw new Error("major version is undefined")}if(minor===undefined){minor=0}if(patch===undefined){patch=0}_this.major=parseInt(major);_this.minor=parseInt(minor);_this.patch=parseInt(patch);if(isNaN(_this.major)){throw new Error("major is not a number")}if(isNaN(_this.minor)){throw new Error("minor is not a number")}if(isNaN(_this.patch)){throw new Error("patch is not a number")}return _this}_createClass(Version,[{key:"toString",value:function toString(){return this.major+"."+this.minor+"."+this.patch}},{key:"compareTo",value:function compareTo(version){if(version instanceof Version){version=version.toString()}if(typeof version!=="string"){throw new Error("type exception")}if(version===this.toString()){return 0}var a=[this.major,this.minor,this.patch];var b=version.split(".");var len=Math.max(a.length,b.length);for(var i=0;i<len;i+=1){if(a[i]&&!b[i]&&parseInt(a[i])>0||parseInt(a[i])>parseInt(b[i])){return 1}else if(b[i]&&!a[i]&&parseInt(b[i])>0||parseInt(a[i])<parseInt(b[i])){return-1}}return 0}}]);return Version}(_base.Base);exports.Version=Version;_namespace.Monster.assignToNamespace("Monster.Types",Version);var monsterVersion;function getVersion(){if(monsterVersion instanceof Version){return monsterVersion}monsterVersion=new Version("1.5.0");return monsterVersion}_namespace.Monster.assignToNamespace("Monster",getVersion)},{"../namespace.js":11,"./base.js":12}],23:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.clone=clone;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");var _is=require("../types/is.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function clone(obj){if(null===obj){return obj}if((0,_is.isPrimitive)(obj)){return obj}if((0,_is.isFunction)(obj)){return obj}if((0,_is.isArray)(obj)){var copy=[];for(var i=0,len=obj.length;i<len;i++){copy[i]=clone(obj[i])}return copy}if((0,_is.isObject)(obj)){if(obj instanceof Date){var _copy=new Date;_copy.setTime(obj.getTime());return _copy}if(typeof Element!=="undefined"&&obj instanceof Element)return obj;if(typeof HTMLDocument!=="undefined"&&obj instanceof HTMLDocument)return obj;if(typeof DocumentFragment!=="undefined"&&obj instanceof DocumentFragment)return obj;if(typeof globalContext!=="undefined"&&obj===globalContext)return obj;if(typeof window!=="undefined"&&obj===window)return obj;if(typeof document!=="undefined"&&obj===document)return obj;if(typeof navigator!=="undefined"&&obj===navigator)return obj;if(typeof JSON!=="undefined"&&obj===JSON)return obj;try{if(obj instanceof Proxy){return obj}}catch(e){}return cloneObject(obj)}throw new Error("unable to clone obj! its type isn't supported.")}function cloneObject(obj){var copy;if(_typeof(obj.hasOwnProperty("getClone"))&&obj.getClone==="function"){return obj.getClone()}copy={};if(typeof obj.constructor==="function"&&typeof obj.constructor.call==="function"){copy=new obj.constructor}for(var key in obj){if(!obj.hasOwnProperty(key)){continue}if(_namespace.Monster.Types.isPrimitive(obj[key])){copy[key]=obj[key];continue}copy[key]=clone(obj[key])}return copy}_namespace.Monster.assignToNamespace("Monster.Util",clone)},{"../namespace.js":11,"../types/is.js":14}],24:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _base.Monster}});exports.Comparator=void 0;var _base=require("../types/base.js");var _is=require("../types/is.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Comparator=function(_Base){_inherits(Comparator,_Base);var _super=_createSuper(Comparator);function Comparator(callback){var _this;_classCallCheck(this,Comparator);_this=_super.call(this);if((0,_is.isFunction)(callback)){_this.compare=callback}else if(callback!==undefined){throw new TypeError("unsupported type")}else{_this.compare=function(a,b){if(_typeof(a)!==_typeof(b)){throw new TypeError("impractical comparison")}if(a===b){return 0}return a<b?-1:1}}return _this}_createClass(Comparator,[{key:"reverse",value:function reverse(){var original=this.compare;this.compare=function(a,b){return original(b,a)};return this}},{key:"equal",value:function equal(a,b){return this.compare(a,b)===0}},{key:"greaterThan",value:function greaterThan(a,b){return this.compare(a,b)>0}},{key:"greaterThanOrEqual",value:function greaterThanOrEqual(a,b){return this.greaterThan(a,b)||this.equal(a,b)}},{key:"lessThanOrEqual",value:function lessThanOrEqual(a,b){return this.lessThan(a,b)||this.equal(a,b)}},{key:"lessThan",value:function lessThan(a,b){return this.compare(a,b)<0}}]);return Comparator}(_base.Base);exports.Comparator=Comparator;_base.Monster.assignToNamespace("Monster.Util",Comparator)},{"../types/base.js":12,"../types/is.js":14}],25:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.deepFreeze=deepFreeze;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");var _validate=require("../types/validate.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();normalCompletion=step.done;return step},e:function e(_e2){didErr=true;err=_e2},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i]}return arr2}function deepFreeze(object){(0,_validate.validateObject)(object);var propNames=Object.getOwnPropertyNames(object);var _iterator=_createForOfIteratorHelper(propNames),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var name=_step.value;var value=object[name];object[name]=value&&_typeof(value)==="object"?deepFreeze(value):value}}catch(err){_iterator.e(err)}finally{_iterator.f()}return Object.freeze(object)}_namespace.Monster.assignToNamespace("Monster.Util",deepFreeze)},{"../namespace.js":11,"../types/validate.js":21}]},{},[10]); +/** Monster 1.6.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */ +(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";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.AbstractConstraint=void 0;var _namespace=require("../namespace.js");var _base=require("../types/base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var AbstractConstraint=function(_Base){_inherits(AbstractConstraint,_Base);var _super=_createSuper(AbstractConstraint);function AbstractConstraint(){_classCallCheck(this,AbstractConstraint);return _super.call(this)}_createClass(AbstractConstraint,[{key:"isValid",value:function isValid(value){return Promise.reject(value)}}]);return AbstractConstraint}(_base.Base);exports.AbstractConstraint=AbstractConstraint;_namespace.Monster.assignToNamespace("Monster.Constraints",AbstractConstraint)},{"../namespace.js":23,"../types/base.js":24}],2:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.AbstractOperator=void 0;var _abstract=require("./abstract.js");function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var AbstractOperator=function(_AbstractConstraint){_inherits(AbstractOperator,_AbstractConstraint);var _super=_createSuper(AbstractOperator);function AbstractOperator(operantA,operantB){var _this;_classCallCheck(this,AbstractOperator);_this=_super.call(this);if(!(operantA instanceof _abstract.AbstractConstraint)||!(operantB instanceof _abstract.AbstractConstraint)){throw new TypeError("parameters must be from type AbstractConstraint")}_this.operantA=operantA;_this.operantB=operantB;return _this}return AbstractOperator}(_abstract.AbstractConstraint);exports.AbstractOperator=AbstractOperator;_abstract.Monster.assignToNamespace("Monster.Constraints",AbstractOperator)},{"./abstract.js":1}],3:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.AndOperator=void 0;var _abstract=require("./abstract.js");var _abstractoperator=require("./abstractoperator.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var AndOperator=function(_AbstractOperator){_inherits(AndOperator,_AbstractOperator);var _super=_createSuper(AndOperator);function AndOperator(){_classCallCheck(this,AndOperator);return _super.apply(this,arguments)}_createClass(AndOperator,[{key:"isValid",value:function isValid(value){return Promise.all([this.operantA.isValid(value),this.operantB.isValid(value)])}}]);return AndOperator}(_abstractoperator.AbstractOperator);exports.AndOperator=AndOperator;_abstract.Monster.assignToNamespace("Monster.Constraints",AndOperator)},{"./abstract.js":1,"./abstractoperator.js":2}],4:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.Invalid=void 0;var _abstract=require("./abstract.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Invalid=function(_AbstractConstraint){_inherits(Invalid,_AbstractConstraint);var _super=_createSuper(Invalid);function Invalid(){_classCallCheck(this,Invalid);return _super.apply(this,arguments)}_createClass(Invalid,[{key:"isValid",value:function isValid(value){return Promise.reject(value)}}]);return Invalid}(_abstract.AbstractConstraint);exports.Invalid=Invalid;_abstract.Monster.assignToNamespace("Monster.Constraints",Invalid)},{"./abstract.js":1}],5:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.IsArray=void 0;var _abstract=require("./abstract.js");var _is=require("../types/is.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var IsArray=function(_AbstractConstraint){_inherits(IsArray,_AbstractConstraint);var _super=_createSuper(IsArray);function IsArray(){_classCallCheck(this,IsArray);return _super.apply(this,arguments)}_createClass(IsArray,[{key:"isValid",value:function isValid(value){if((0,_is.isArray)(value)){return Promise.resolve(value)}return Promise.reject(value)}}]);return IsArray}(_abstract.AbstractConstraint);exports.IsArray=IsArray;_abstract.Monster.assignToNamespace("Monster.Constraints",IsArray)},{"../types/is.js":27,"./abstract.js":1}],6:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.IsObject=void 0;var _abstract=require("./abstract.js");var _is=require("../types/is.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var IsObject=function(_AbstractConstraint){_inherits(IsObject,_AbstractConstraint);var _super=_createSuper(IsObject);function IsObject(){_classCallCheck(this,IsObject);return _super.apply(this,arguments)}_createClass(IsObject,[{key:"isValid",value:function isValid(value){if((0,_is.isObject)(value)){return Promise.resolve(value)}return Promise.reject(value)}}]);return IsObject}(_abstract.AbstractConstraint);exports.IsObject=IsObject;_abstract.Monster.assignToNamespace("Monster.Constraints",IsObject)},{"../types/is.js":27,"./abstract.js":1}],7:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstractoperator.Monster}});exports.OrOperator=void 0;var _abstractoperator=require("./abstractoperator.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var OrOperator=function(_AbstractOperator){_inherits(OrOperator,_AbstractOperator);var _super=_createSuper(OrOperator);function OrOperator(){_classCallCheck(this,OrOperator);return _super.apply(this,arguments)}_createClass(OrOperator,[{key:"isValid",value:function isValid(value){var self=this;return new Promise(function(resolve,reject){var a,b;self.operantA.isValid(value).then(function(){resolve()})["catch"](function(){a=false;if(b===false){reject()}});self.operantB.isValid(value).then(function(){resolve()})["catch"](function(){b=false;if(a===false){reject()}})})}}]);return OrOperator}(_abstractoperator.AbstractOperator);exports.OrOperator=OrOperator;_abstractoperator.Monster.assignToNamespace("Monster.Constraints",OrOperator)},{"./abstractoperator.js":2}],8:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _abstract.Monster}});exports.Valid=void 0;var _abstract=require("./abstract.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Valid=function(_AbstractConstraint){_inherits(Valid,_AbstractConstraint);var _super=_createSuper(Valid);function Valid(){_classCallCheck(this,Valid);return _super.apply(this,arguments)}_createClass(Valid,[{key:"isValid",value:function isValid(value){return Promise.resolve(value)}}]);return Valid}(_abstract.AbstractConstraint);exports.Valid=Valid;_abstract.Monster.assignToNamespace("Monster.Constraints",Valid)},{"./abstract.js":1}],9:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Diff=Diff;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _is.Monster}});var _is=require("../types/is.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function Diff(first,second){return doDiff(first,second)}function getKeys(a,b,type){if((0,_is.isArray)(type)){var keys=a.length>b.length?new Array(a.length):new Array(b.length);keys.fill(0);return new Set(keys.map(function(_,i){return i}))}return new Set(Object.keys(a).concat(Object.keys(b)))}function doDiff(a,b,path,diff){var typeA=_typeof(a);var typeB=_typeof(b);var currPath=path||[];var currDiff=diff||[];if(typeA===typeB&&typeA==="object"){getKeys(a,b,typeA).forEach(function(v){if(!Object.prototype.hasOwnProperty.call(a,v)){currDiff.push(buildResult(a[v],b[v],"add",currPath.concat(v)))}else if(!Object.prototype.hasOwnProperty.call(b,v)){currDiff.push(buildResult(a[v],b[v],"delete",currPath.concat(v)))}else{doDiff(a[v],b[v],currPath.concat(v),currDiff)}})}else{var o=getOperator(a,b,typeA,typeB);if(o!==undefined){currDiff.push(buildResult(a,b,o,path))}}return currDiff}function buildResult(a,b,operator,path){var result={operator:operator,path:path};if(operator!=="add"){result.first={value:a,type:_typeof(a)};if((0,_is.isObject)(a)){var _Object$getPrototypeO,_Object$getPrototypeO2;var name=(_Object$getPrototypeO=Object.getPrototypeOf(a))===null||_Object$getPrototypeO===void 0?void 0:(_Object$getPrototypeO2=_Object$getPrototypeO.constructor)===null||_Object$getPrototypeO2===void 0?void 0:_Object$getPrototypeO2.name;if(name!==undefined){result.first.instance=name}}}if(operator==="add"||operator==="update"){result.second={value:b,type:_typeof(b)};if((0,_is.isObject)(b)){var _Object$getPrototypeO3,_Object$getPrototypeO4;var _name=(_Object$getPrototypeO3=Object.getPrototypeOf(b))===null||_Object$getPrototypeO3===void 0?void 0:(_Object$getPrototypeO4=_Object$getPrototypeO3.constructor)===null||_Object$getPrototypeO4===void 0?void 0:_Object$getPrototypeO4.name;if(_name!==undefined){result.second.instance=_name}}}return result}function isNotEqual(a,b){if(_typeof(a)!==_typeof(b)){return true}if(a instanceof Date&&b instanceof Date){return a.getTime()!==b.getTime()}return a!==b}function getOperator(a,b){var operator;var typeA=_typeof(a);var typeB=_typeof(b);if(typeA==="undefined"&&typeB!=="undefined"){operator="add"}else if(typeA!=="undefined"&&typeB==="undefined"){operator="delete"}else if(isNotEqual(a,b)){operator="update"}return operator}_is.Monster.assignToNamespace("Monster.Data",Diff)},{"../types/is.js":27}],10:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Pathfinder=void 0;var _namespace=require("../namespace.js");var _is=require("../types/is.js");var _validate=require("../types/validate.js");var _base=require("../types/base.js");var _stack=require("../types/stack.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i]}return arr2}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var DELIMITER=".";var Pathfinder=function(_Base){_inherits(Pathfinder,_Base);var _super=_createSuper(Pathfinder);function Pathfinder(object){var _this;_classCallCheck(this,Pathfinder);_this=_super.call(this);_this.object=object;return _this}_createClass(Pathfinder,[{key:"getVia",value:function getVia(path){(0,_validate.validateString)(path);return getValueViaPath(this.object,path)}},{key:"setVia",value:function setVia(path,value){(0,_validate.validateString)(path);setValueViaPath(this.object,path,value);return this}},{key:"deleteVia",value:function deleteVia(path){(0,_validate.validateString)(path);deleteValueViaPath(this.object,path);return this}},{key:"exists",value:function exists(path){(0,_validate.validateString)(path);try{getValueViaPath(this.object,path,true);return true}catch(e){}return false}}]);return Pathfinder}(_base.Base);exports.Pathfinder=Pathfinder;_namespace.Monster.assignToNamespace("Monster.Data",Pathfinder);function getValueViaPath(object,path,check){if(path===""){return object}var parts=path.split(DELIMITER);var current=parts.shift();if((0,_is.isObject)(object)||(0,_is.isArray)(object)){var anchor;if(object instanceof Map||object instanceof WeakMap){anchor=object.get(current)}else if(object instanceof Set||object instanceof WeakSet){var _ref;current=parseInt(current);(0,_validate.validateInteger)(current);anchor=(_ref=_toConsumableArray(object))===null||_ref===void 0?void 0:_ref[current]}else if(object instanceof WeakRef){throw Error("unsupported action for this data type")}else if((0,_is.isArray)(object)){current=parseInt(current);(0,_validate.validateInteger)(current);anchor=object===null||object===void 0?void 0:object[current]}else{anchor=object===null||object===void 0?void 0:object[current]}if((0,_is.isObject)(anchor)||(0,_is.isArray)(anchor)){return getValueViaPath(anchor,parts.join(DELIMITER),check)}if(parts.length>0){throw Error("the journey is not at its end ("+parts.join(DELIMITER)+")")}if(check===true&&!object.hasOwnProperty(current)){throw Error("unknown value")}return anchor}throw TypeError("unsupported type")}function setValueViaPath(object,path,value){var parts=path.split(DELIMITER);var last=parts.pop();var subpath=parts.join(DELIMITER);var stack=new _stack.Stack;var current=subpath;while(true){try{getValueViaPath(object,current,true);break}catch(e){}stack.push(current);parts.pop();current=parts.join(DELIMITER);if(current==="")break}while(!stack.isEmpty()){current=stack.pop();var obj={};if(!stack.isEmpty()){var n=stack.peek().split(DELIMITER).pop();if((0,_is.isInteger)(parseInt(n))){obj=[]}}setValueViaPath(object,current,obj)}var anchor=getValueViaPath(object,subpath);if(!(0,_is.isObject)(object)&&!(0,_is.isArray)(object)){throw TypeError("unsupported type: "+_typeof(object))}if(anchor instanceof Map||anchor instanceof WeakMap){anchor.set(last,value)}else if(anchor instanceof Set||anchor instanceof WeakSet){anchor.append(value)}else if(anchor instanceof WeakRef){throw Error("unsupported action for this data type")}else if((0,_is.isArray)(anchor)){last=parseInt(last);(0,_validate.validateInteger)(last);anchor[last]=value}else{anchor[last]=value}return}function deleteValueViaPath(object,path){var parts=path.split(DELIMITER);var last=parts.pop();var subpath=parts.join(DELIMITER);var anchor=getValueViaPath.call(this,object,subpath);if(anchor instanceof Map){anchor["delete"](last)}else if(anchor instanceof Set||anchor instanceof WeakMap||anchor instanceof WeakSet||anchor instanceof WeakRef){throw Error("unsupported action for this data type")}else if((0,_is.isArray)(anchor)){last=parseInt(last);(0,_validate.validateInteger)(last);delete anchor[last]}else{delete anchor[last]}return}},{"../namespace.js":23,"../types/base.js":24,"../types/is.js":27,"../types/stack.js":33,"../types/validate.js":36}],11:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Pipe=void 0;var _namespace=require("../namespace.js");var _transformer=require("./transformer.js");var _base=require("../types/base.js");var _validate=require("../types/validate.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var DELIMITER="|";var Pipe=function(_Base){_inherits(Pipe,_Base);var _super=_createSuper(Pipe);function Pipe(pipe){var _this;_classCallCheck(this,Pipe);_this=_super.call(this);(0,_validate.validateString)(pipe);_this.pipe=pipe.split(DELIMITER).map(function(v){return new _transformer.Transformer(v)});return _this}_createClass(Pipe,[{key:"run",value:function run(value){return this.pipe.reduce(function(accumulator,currentValue,currentIndex,array){return currentValue.run(accumulator)},value)}}]);return Pipe}(_base.Base);exports.Pipe=Pipe;_namespace.Monster.assignToNamespace("Monster.Data",Pipe)},{"../namespace.js":23,"../types/base.js":24,"../types/validate.js":36,"./transformer.js":12}],12:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Transformer=void 0;var _namespace=require("../namespace.js");var _base=require("../types/base.js");var _validate=require("../types/validate.js");var _is=require("../types/is.js");var _id=require("../types/id.js");var _clone=require("../util/clone.js");var _pathfinder=require("./pathfinder.js");function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();normalCompletion=step.done;return step},e:function e(_e2){didErr=true;err=_e2},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i]}return arr2}function _wrapRegExp(){_wrapRegExp=function _wrapRegExp(re,groups){return new BabelRegExp(re,undefined,groups)};var _super=RegExp.prototype;var _groups=new WeakMap;function BabelRegExp(re,flags,groups){var _this=new RegExp(re,flags);_groups.set(_this,groups||_groups.get(re));return _setPrototypeOf(_this,BabelRegExp.prototype)}_inherits(BabelRegExp,RegExp);BabelRegExp.prototype.exec=function(str){var result=_super.exec.call(this,str);if(result)result.groups=buildGroups(result,this);return result};BabelRegExp.prototype[Symbol.replace]=function(str,substitution){if(typeof substitution==="string"){var groups=_groups.get(this);return _super[Symbol.replace].call(this,str,substitution.replace(/\$<([^>]+)>/g,function(_,name){return"$"+groups[name]}))}else if(typeof substitution==="function"){var _this=this;return _super[Symbol.replace].call(this,str,function(){var args=arguments;if(_typeof(args[args.length-1])!=="object"){args=[].slice.call(args);args.push(buildGroups(args,_this))}return substitution.apply(this,args)})}else{return _super[Symbol.replace].call(this,str,substitution)}};function buildGroups(result,re){var g=_groups.get(re);return Object.keys(g).reduce(function(groups,name){groups[name]=result[g[name]];return groups},Object.create(null))}return _wrapRegExp.apply(this,arguments)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Transformer=function(_Base){_inherits(Transformer,_Base);var _super=_createSuper(Transformer);function Transformer(definition){var _this;_classCallCheck(this,Transformer);_this=_super.call(this);(0,_validate.validateString)(definition);_this.args=disassemble(definition);_this.command=_this.args.shift();_this.callbacks=new Map;return _this}_createClass(Transformer,[{key:"setCallback",value:function setCallback(name,callback){(0,_validate.validateString)(name);(0,_validate.validateFunction)(callback);this.callbacks.set(name,callback);return this}},{key:"run",value:function run(value){return transform.apply(this,[value])}}]);return Transformer}(_base.Base);exports.Transformer=Transformer;_namespace.Monster.assignToNamespace("Monster.Data",Transformer);function disassemble(command){(0,_validate.validateString)(command);var placeholder=new Map;var regex=_wrapRegExp(/((\\(.)){1})/gim,{pattern:2,char:3});var result=command.matchAll(regex);var _iterator=_createForOfIteratorHelper(result),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var m=_step.value;var g=m===null||m===void 0?void 0:m["groups"];if(!(0,_is.isObject)(g)){continue}var p=g===null||g===void 0?void 0:g["pattern"];var c=g===null||g===void 0?void 0:g["char"];if(p&&c){var r="__"+(new _id.ID).toString()+"__";placeholder.set(r,c);command=command.replace(p,r)}}}catch(err){_iterator.e(err)}finally{_iterator.f()}var parts=command.split(":");parts=parts.map(function(value){var v=value.trim();var _iterator2=_createForOfIteratorHelper(placeholder),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var k=_step2.value;v=v.replace(k[0],k[1])}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}return v});return parts}function convertToString(value){if((0,_is.isObject)(value)&&value.hasOwnProperty("toString")){value=value.toString()}(0,_validate.validateString)(value);return value}function transform(value){var args=(0,_clone.clone)(this.args);var key;switch(this.command){case"static":return this.args.join(":");case"tolower":case"strtolower":case"tolowercase":(0,_validate.validateString)(value);return value.toLowerCase();case"toupper":case"strtoupper":case"touppercase":(0,_validate.validateString)(value);return value.toUpperCase();case"tostring":return""+value;case"tointeger":var n=parseInt(value);(0,_validate.validateInteger)(n);return n;case"trim":(0,_validate.validateString)(value);return value.trim();case"rawurlencode":(0,_validate.validateString)(value);return encodeURIComponent(value).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A");case"call":var callback;var callbackName=args.shift();if((0,_is.isObject)(value)&&calue.hasOwnProperty(callbackName)){callback=value[callbackName]}else if(this.callbacks.has(callbackName)){callback=this.callbacks.get(callbackName)}else if((typeof window==="undefined"?"undefined":_typeof(window))==="object"&&window.hasOwnProperty(callbackName)){callback=window[callbackName]}(0,_validate.validateFunction)(callback);args.unshift(value);return callback.apply(void 0,_toConsumableArray(args));case"plain":case"plaintext":(0,_validate.validateString)(value);var doc=(new DOMParser).parseFromString(value,"text/html");return doc.body.textContent||"";case"if":case"?":(0,_validate.validatePrimitive)(value);var trueStatement=args.shift()||undefined;var falseStatement=args.shift()||undefined;if(trueStatement==="value"){trueStatement=value}if(trueStatement==="\\value"){trueStatement="value"}if(falseStatement==="value"){falseStatement=value}if(falseStatement==="\\value"){falseStatement="value"}var condition=value!==undefined&&value!==""&&value!=="off"&&value!=="false"&&value!==false||value==="on"||value==="true"||value===true;return condition?trueStatement:falseStatement;case"ucfirst":(0,_validate.validateString)(value);var firstchar=value.charAt(0).toUpperCase();return firstchar+value.substr(1);case"ucwords":(0,_validate.validateString)(value);return value.replace(/^([a-z\u00E0-\u00FC])|\s+([a-z\u00E0-\u00FC])/g,function(v){return v.toUpperCase()});case"count":case"length":if(((0,_is.isString)(value)||(0,_is.isObject)(value)||(0,_is.isArray)(value))&&value.hasOwnProperty("length")){return value.length}throw new TypeError("unsupported type");case"base64":convertToString(value);return btoa(value);case"empty":return"";case"undefined":return undefined;case"prefix":(0,_validate.validateString)(value);var prefix=args===null||args===void 0?void 0:args[0];return prefix+value;case"suffix":(0,_validate.validateString)(value);var suffix=args===null||args===void 0?void 0:args[0];return value+suffix;case"uniqid":return(new _id.ID).toString();case"key":case"property":case"index":key=args.shift()||"undefined";var defaultValue=args.shift()||"";if(value instanceof Map){if(!value.has(key)){return defaultValue}return value.get(key)}if((0,_is.isObject)(value)||(0,_is.isArray)(value)){if(value!==null&&value!==void 0&&value[key]){return value===null||value===void 0?void 0:value[key]}return defaultValue}throw new Error("type not supported");case"path":key=args.shift()||"undefined";return new _pathfinder.Pathfinder(value).getVia(key);case"substring":(0,_validate.validateString)(value);var start=parseInt(args[0])||0;var end=(parseInt(args[1])||0)+start;return value.substring(start,end);case"nop":return value;default:throw new Error("unknown command")}return value}},{"../namespace.js":23,"../types/base.js":24,"../types/id.js":26,"../types/is.js":27,"../types/validate.js":36,"../util/clone.js":38,"./pathfinder.js":10}],13:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _base.Monster}});exports.Assembler=exports.ATTRIBUTEPREFIX=void 0;var _base=require("../types/base.js");var _validate=require("../types/validate.js");var _global=require("../types/global.js");var _proxyobserver=require("../types/proxyobserver.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var ATTRIBUTEPREFIX="data-monster-";exports.ATTRIBUTEPREFIX=ATTRIBUTEPREFIX;var Assembler=function(_Base){_inherits(Assembler,_Base);var _super=_createSuper(Assembler);function Assembler(fragment){var _this;_classCallCheck(this,Assembler);_this=_super.call(this);_this.attributePrefix=ATTRIBUTEPREFIX;(0,_validate.validateInstance)(fragment,(0,_global.getGlobalFunction)("DocumentFragment"));_this.fragment=fragment;return _this}_createClass(Assembler,[{key:"setAttributePrefix",value:function setAttributePrefix(prefix){(0,_validate.validateString)(prefix);this.attributePrefix=prefix;return this}},{key:"getAttributePrefix",value:function getAttributePrefix(){return this.attributePrefix}},{key:"createDocumentFragment",value:function createDocumentFragment(data){if(data===undefined){data=new _proxyobserver.ProxyObserver({})}(0,_validate.validateInstance)(data,_proxyobserver.ProxyObserver);var fragment=this.fragment.cloneNode(true);return fragment}}]);return Assembler}(_base.Base);exports.Assembler=Assembler;_base.Monster.assignToNamespace("Monster.DOM",Assembler)},{"../types/base.js":24,"../types/global.js":25,"../types/proxyobserver.js":30,"../types/validate.js":36}],14:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});exports.getHandleFromNode=getHandleFromNode;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _base.Monster}});exports.Handle=void 0;var _base=require("../types/base.js");var _stack=require("../types/stack.js");var _validate=require("../types/validate.js");var _proxyobserver=require("../types/proxyobserver.js");var _observer=require("../types/observer.js");var _global=require("../types/global.js");var _is=require("../types/is.js");var _assembler=require("./assembler.js");var _id=require("../types/id.js");function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();normalCompletion=step.done;return step},e:function e(_e2){didErr=true;err=_e2},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i]}return arr2}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var MONSTERDOMHANDLE=Symbol("MonsterHandle");var Handle=function(_Base){_inherits(Handle,_Base);var _super=_createSuper(Handle);function Handle(data){var _this;_classCallCheck(this,Handle);_this=_super.call(this);var self=_assertThisInitialized(_this);self.id=new _id.ID;(0,_validate.validateInstance)(data,_proxyobserver.ProxyObserver);_this.data=data;_this.mutationObserver=createMutationObserver.call(_assertThisInitialized(_this));_this.dataObserver=createDataObserver.call(_assertThisInitialized(_this));_this.data.attachObserver(_this.dataObserver);_this.nodes=new WeakSet;_this.updates=new _stack.Stack;return _this}_createClass(Handle,[{key:"update",value:function update(){return}},{key:"remove",value:function remove(node){if((0,_is.isInstance)(node,(0,_global.getGlobalFunction)("Document"))){node=node.firstElementChild}(0,_validate.validateInstance)(node,(0,_global.getGlobalFunction)("HTMLElement"));if(!this.nodes.has(node)){return this}this.mutationObserver.disconnect(node);delete node.dataset[MONSTERDOMHANDLE];node.removeAttribute(_assembler.ATTRIBUTEPREFIX+"handler");return this}},{key:"append",value:function append(node){if((0,_is.isInstance)(node,(0,_global.getGlobalFunction)("Document"))){node=node.firstElementChild}(0,_validate.validateInstance)(node,(0,_global.getGlobalFunction)("HTMLElement"));if(this.nodes.has(node)){return this}node.dataset[MONSTERDOMHANDLE]=this;node.setAttribute(_assembler.ATTRIBUTEPREFIX+"handler",true);this.mutationObserver.observe(node,{attributes:true,childList:true,subtree:true,characterData:true,characterDataOldValue:true,attributeOldValue:true});this.nodes.add(node);return this}}]);return Handle}(_base.Base);exports.Handle=Handle;function createDataObserver(){var self=this;return new _observer.Observer(function(){self.update()})}function createMutationObserver(){var self=this;var MutationObserver=(0,_global.getGlobalFunction)("MutationObserver");return new MutationObserver(function(mutationsList,observer){var _iterator=_createForOfIteratorHelper(mutationsList),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var mutation=_step.value;self.updates.push(mutation)}}catch(err){_iterator.e(err)}finally{_iterator.f()}self.update()})}function getHandleFromNode(node){var _node$dataset;(0,_validate.validateInstance)(node,(0,_global.getGlobalFunction)("Node"));var handle=(_node$dataset=node.dataset)===null||_node$dataset===void 0?void 0:_node$dataset[MONSTERDOMHANDLE];if(handle===undefined){var parentNode=node===null||node===void 0?void 0:node["parentNode"];if((0,_is.isInstance)(parentNode,(0,_global.getGlobalFunction)("Node"))){return getHandleFromNode(parentNode)}}return handle}_base.Monster.assignToNamespace("Monster.DOM",getHandleFromNode,Handle)},{"../types/base.js":24,"../types/global.js":25,"../types/id.js":26,"../types/is.js":27,"../types/observer.js":28,"../types/proxyobserver.js":30,"../types/stack.js":33,"../types/validate.js":36,"./assembler.js":13}],15:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _base.Monster}});exports.Template=void 0;var _base=require("../types/base.js");var _global=require("../types/global.js");var _validate=require("../types/validate.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Template=function(_Base){_inherits(Template,_Base);var _super=_createSuper(Template);function Template(template){var _this;_classCallCheck(this,Template);_this=_super.call(this);(0,_validate.validateInstance)(template,(0,_global.getGlobalFunction)("HTMLTemplateElement"));_this.template=template;return _this}_createClass(Template,[{key:"getTemplateElement",value:function getTemplateElement(){return this.template}},{key:"createDocumentFragment",value:function createDocumentFragment(){return this.template.content.cloneNode(true)}}]);return Template}(_base.Base);exports.Template=Template;_base.Monster.assignToNamespace("Monster.DOM",Template)},{"../types/base.js":24,"../types/global.js":25,"../types/validate.js":36}],16:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getWindow=getWindow;exports.getDocument=getDocument;exports.getDocumentFragmentFromString=getDocumentFragmentFromString;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _global.Monster}});var _global=require("../types/global.js");var _validate=require("../types/validate.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function getDocument(){var _getGlobal;var document=(_getGlobal=(0,_global.getGlobal)())===null||_getGlobal===void 0?void 0:_getGlobal["document"];if(_typeof(document)!=="object"){throw new Error("not supported environment")}return document}function getWindow(){var _getGlobal2;var window=(_getGlobal2=(0,_global.getGlobal)())===null||_getGlobal2===void 0?void 0:_getGlobal2["window"];if(_typeof(window)!=="object"){throw new Error("not supported environment")}return window}function getDocumentFragmentFromString(html){(0,_validate.validateString)(html);var document=getDocument();var template=document.createElement("template");template.innerHTML=html;return template.content}_global.Monster.assignToNamespace("Monster.DOM",getWindow,getDocument,getDocumentFragmentFromString)},{"../types/global.js":25,"../types/validate.js":36}],17:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Handler=void 0;var _namespace=require("../namespace.js");var _base=require("../types/base.js");var _logger=require("./logger.js");var _logentry=require("./logentry.js");var _validate=require("../types/validate.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Handler=function(_Base){_inherits(Handler,_Base);var _super=_createSuper(Handler);function Handler(){var _this;_classCallCheck(this,Handler);_this=_super.call(this);_this.loglevel=_logger.OFF;return _this}_createClass(Handler,[{key:"log",value:function log(entry){(0,_validate.validateInstance)(entry,_logentry.LogEntry);if(this.loglevel<entry.getLogLevel()){return false}return true}},{key:"setLogLevel",value:function setLogLevel(loglevel){(0,_validate.validateInteger)(loglevel);this.loglevel=loglevel;return this}},{key:"getLogLevel",value:function getLogLevel(){return this.loglevel}},{key:"setAll",value:function setAll(){this.setLogLevel(_logger.ALL);return this}},{key:"setTrace",value:function setTrace(){this.setLogLevel(_logger.TRACE);return this}},{key:"setDebug",value:function setDebug(){this.setLogLevel(_logger.DEBUG);return this}},{key:"setInfo",value:function setInfo(){this.setLogLevel(_logger.INFO);return this}},{key:"setWarn",value:function setWarn(){this.setLogLevel(_logger.WARN);return this}},{key:"setError",value:function setError(){this.setLogLevel(_logger.ERROR);return this}},{key:"setFatal",value:function setFatal(){this.setLogLevel(_logger.FATAL);return this}},{key:"setOff",value:function setOff(){this.setLogLevel(_logger.OFF);return this}}]);return Handler}(_base.Base);exports.Handler=Handler;_namespace.Monster.assignToNamespace("Monster.Logging",Handler)},{"../namespace.js":23,"../types/base.js":24,"../types/validate.js":36,"./logentry.js":19,"./logger.js":20}],18:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});Object.defineProperty(exports,"Handler",{enumerable:true,get:function get(){return _handler.Handler}});var _namespace=require("../../namespace.js");var _base=require("../../types/base.js");var _handler=require("../../logging/handler.js");function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var ConsoleHandler=function(_Base){_inherits(ConsoleHandler,_Base);var _super=_createSuper(ConsoleHandler);function ConsoleHandler(){_classCallCheck(this,ConsoleHandler);return _super.call(this)}return ConsoleHandler}(_base.Base);_namespace.Monster.assignToNamespace("Monster.Logging",ConsoleHandler)},{"../../logging/handler.js":17,"../../namespace.js":23,"../../types/base.js":24}],19:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.LogEntry=void 0;var _namespace=require("../namespace.js");var _validate=require("../types/validate.js");var _base=require("../types/base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var LogEntry=function(_Base){_inherits(LogEntry,_Base);var _super=_createSuper(LogEntry);function LogEntry(loglevel){var _this;_classCallCheck(this,LogEntry);_this=_super.call(this);(0,_validate.validateInteger)(loglevel);_this.loglevel=loglevel;for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}_this.arguments=args;return _this}_createClass(LogEntry,[{key:"getLogLevel",value:function getLogLevel(){return this.loglevel}},{key:"getArguments",value:function getArguments(){return this.arguments}}]);return LogEntry}(_base.Base);exports.LogEntry=LogEntry;_namespace.Monster.assignToNamespace("Monster.Logging",LogEntry)},{"../namespace.js":23,"../types/base.js":24,"../types/validate.js":36}],20:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.OFF=exports.FATAL=exports.ERROR=exports.WARN=exports.INFO=exports.DEBUG=exports.TRACE=exports.ALL=exports.Logger=void 0;var _namespace=require("../namespace.js");var _validate=require("../types/validate.js");var _handler=require("../logging/handler.js");var _logentry=require("../logging/logentry.js");var _base=require("../types/base.js");function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();normalCompletion=step.done;return step},e:function e(_e2){didErr=true;err=_e2},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i]}return arr2}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var ALL=255;exports.ALL=ALL;var TRACE=64;exports.TRACE=TRACE;var DEBUG=32;exports.DEBUG=DEBUG;var INFO=16;exports.INFO=INFO;var WARN=8;exports.WARN=WARN;var ERROR=4;exports.ERROR=ERROR;var FATAL=2;exports.FATAL=FATAL;var OFF=0;exports.OFF=OFF;var Logger=function(_Base){_inherits(Logger,_Base);var _super=_createSuper(Logger);function Logger(){var _this;_classCallCheck(this,Logger);_this=_super.call(this);_this.handler=new Set;return _this}_createClass(Logger,[{key:"addHandler",value:function addHandler(handler){(0,_validate.validateObject)(handler);if(!(handler instanceof _handler.Handler)){throw new Error("the handler must be an instance of Handler")}this.handler.add(handler);return this}},{key:"removeHandler",value:function removeHandler(handler){(0,_validate.validateObject)(handler);if(!(handler instanceof _handler.Handler)){throw new Error("the handler must be an instance of Handler")}this.handler["delete"](handler);return this}},{key:"logTrace",value:function logTrace(){triggerLog.apply(this,[TRACE].concat(Array.prototype.slice.call(arguments)));return this}},{key:"logDebug",value:function logDebug(){triggerLog.apply(this,[DEBUG].concat(Array.prototype.slice.call(arguments)));return this}},{key:"logInfo",value:function logInfo(){triggerLog.apply(this,[INFO].concat(Array.prototype.slice.call(arguments)));return this}},{key:"logWarn",value:function logWarn(){triggerLog.apply(this,[WARN].concat(Array.prototype.slice.call(arguments)));return this}},{key:"logError",value:function logError(){triggerLog.apply(this,[ERROR].concat(Array.prototype.slice.call(arguments)));return this}},{key:"logFatal",value:function logFatal(){triggerLog.apply(this,[FATAL].concat(Array.prototype.slice.call(arguments)));return this}},{key:"getLabel",value:function getLabel(level){(0,_validate.validateInteger)(level);if(level===ALL)return"ALL";if(level===TRACE)return"TRACE";if(level===DEBUG)return"DEBUG";if(level===INFO)return"INFO";if(level===WARN)return"WARN";if(level===ERROR)return"ERROR";if(level===FATAL)return"FATAL";if(level===OFF)return"OFF";return"unknown"}},{key:"getLevel",value:function getLevel(label){(0,_validate.validateString)(label);if(label==="ALL")return ALL;if(label==="TRACE")return TRACE;if(label==="DEBUG")return DEBUG;if(label==="INFO")return INFO;if(label==="WARN")return WARN;if(label==="ERROR")return ERROR;if(label==="FATAL")return FATAL;if(label==="OFF")return OFF;return 0}}]);return Logger}(_base.Base);exports.Logger=Logger;_namespace.Monster.assignToNamespace("Monster.Logging",Logger);function triggerLog(loglevel){var logger=this;for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}var _iterator=_createForOfIteratorHelper(logger.handler),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var handler=_step.value;handler.log(new _logentry.LogEntry(loglevel,args))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return logger}},{"../logging/handler.js":17,"../logging/logentry.js":19,"../namespace.js":23,"../types/base.js":24,"../types/validate.js":36}],21:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.random=random;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _global.Monster}});var _global=require("../types/global.js");function random(min,max){if(min===undefined){min=0}if(max===undefined){max=MAX}if(max<min){throw new Error("max must be greater than min")}return Math.round(create(min,max))}var MAX=1e9;Math.log2=Math.log2||function(n){return Math.log(n)/Math.log(2)};function create(min,max){var crypt;var globalReference=(0,_global.getGlobal)();crypt=(globalReference===null||globalReference===void 0?void 0:globalReference["crypto"])||(globalReference===null||globalReference===void 0?void 0:globalReference["msCrypto"])||(globalReference===null||globalReference===void 0?void 0:globalReference["crypto"])||undefined;if(typeof crypt==="undefined"){throw new Error("missing crypt")}var rval=0;var range=max-min;if(range<2){return min}var bitsNeeded=Math.ceil(Math.log2(range));if(bitsNeeded>53){throw new Error("we cannot generate numbers larger than 53 bits.")}var bytesNeeded=Math.ceil(bitsNeeded/8);var mask=Math.pow(2,bitsNeeded)-1;var byteArray=new Uint8Array(bytesNeeded);crypt.getRandomValues(byteArray);var p=(bytesNeeded-1)*8;for(var i=0;i<bytesNeeded;i++){rval+=byteArray[i]*Math.pow(2,p);p-=8}rval=rval&mask;if(rval>=range){return create(min,max)}return min+rval}_global.Monster.assignToNamespace("Monster.Math",random)},{"../types/global.js":25}],22:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("./namespace.js");require("./types/base.js");require("./types/global.js");require("./types/id.js");require("./types/is.js");require("./types/observer.js");require("./types/observerlist.js");require("./types/proxyobserver.js");require("./types/queue.js");require("./types/randomid.js");require("./types/stack.js");require("./types/tokenlist.js");require("./types/uniquequeue.js");require("./types/validate.js");require("./types/version.js");require("./math/random.js");require("./data/diff.js");require("./data/pathfinder.js");require("./data/pipe.js");require("./data/transformer.js");require("./logging/handler.js");require("./logging/logentry.js");require("./logging/logger.js");require("./logging/handler/console.js");require("./util/clone.js");require("./util/comparator.js");require("./util/freeze.js");require("./constraints/abstract.js");require("./constraints/abstractoperator.js");require("./constraints/andoperator.js");require("./constraints/invalid.js");require("./constraints/isarray.js");require("./constraints/isobject.js");require("./constraints/oroperator.js");require("./constraints/valid.js");require("./dom/util.js");require("./dom/template.js");require("./dom/handle.js");require("./dom/assembler.js");_namespace.Monster.Util.deepFreeze(_namespace.Monster);var rootName;try{rootName=_namespace.Monster.Types.getGlobalObject("__MonsterRootName__")}catch(e){}if(!rootName)rootName="Monster";_namespace.Monster.Types.getGlobal()[rootName]=_namespace.Monster},{"./constraints/abstract.js":1,"./constraints/abstractoperator.js":2,"./constraints/andoperator.js":3,"./constraints/invalid.js":4,"./constraints/isarray.js":5,"./constraints/isobject.js":6,"./constraints/oroperator.js":7,"./constraints/valid.js":8,"./data/diff.js":9,"./data/pathfinder.js":10,"./data/pipe.js":11,"./data/transformer.js":12,"./dom/assembler.js":13,"./dom/handle.js":14,"./dom/template.js":15,"./dom/util.js":16,"./logging/handler.js":17,"./logging/handler/console.js":18,"./logging/logentry.js":19,"./logging/logger.js":20,"./math/random.js":21,"./namespace.js":23,"./types/base.js":24,"./types/global.js":25,"./types/id.js":26,"./types/is.js":27,"./types/observer.js":28,"./types/observerlist.js":29,"./types/proxyobserver.js":30,"./types/queue.js":31,"./types/randomid.js":32,"./types/stack.js":33,"./types/tokenlist.js":34,"./types/uniquequeue.js":35,"./types/validate.js":36,"./types/version.js":37,"./util/clone.js":38,"./util/comparator.js":39,"./util/freeze.js":40}],23:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.assignToNamespace=assignToNamespace;exports.Monster=void 0;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 Namespace=function(){function Namespace(namespace){_classCallCheck(this,Namespace);if(namespace===undefined||typeof namespace!=="string"){throw new Error("namespace is not a string")}this.namespace=namespace}_createClass(Namespace,[{key:"getNamespace",value:function getNamespace(){return this.namespace}},{key:"toString",value:function toString(){return this.getNamespace()}}]);return Namespace}();var Monster=new Namespace("Monster");exports.Monster=Monster;assignToNamespace("Monster",assignToNamespace);function assignToNamespace(ns){var current=namespaceFor(ns.split("."));for(var i=0,l=arguments.length<=1?0:arguments.length-1;i<l;i++){current[objectName(i+1<1||arguments.length<=i+1?undefined:arguments[i+1])]=i+1<1||arguments.length<=i+1?undefined:arguments[i+1]}}function objectName(fn){try{if(typeof fn!=="function"){throw new Error("the first argument is not a function or class.")}if(fn.hasOwnProperty("name")){return fn.name}if("function"===typeof fn.toString){var s=fn.toString();var f=s.match(/^\s*function\s+([^\s(]+)/);if(Array.isArray(f)&&typeof f[1]==="string"){return f[1]}var c=s.match(/^\s*class\s+([^\s(]+)/);if(Array.isArray(c)&&typeof c[1]==="string"){return c[1]}}}catch(e){throw new Error("exception "+e)}throw new Error("the name of the class or function cannot be resolved.")}function namespaceFor(parts){var space=Monster,ns="Monster";for(var i=0;i<parts.length;i++){if("Monster"===parts[i]){continue}ns+="."+parts[i];if(!space.hasOwnProperty(parts[i])){space[parts[i]]=new Namespace(ns)}space=space[parts[i]]}return space}},{}],24:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Base=void 0;var _namespace=require("../namespace.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _wrapNativeSuper(Class){var _cache=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(Class){if(Class===null||!_isNativeFunction(Class))return Class;if(typeof Class!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof _cache!=="undefined"){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return _construct(Class,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,Class)};return _wrapNativeSuper(Class)}function _construct(Parent,args,Class){if(_isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var Constructor=Function.bind.apply(Parent,a);var instance=new Constructor;if(Class)_setPrototypeOf(instance,Class.prototype);return instance}}return _construct.apply(null,arguments)}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _isNativeFunction(fn){return Function.toString.call(fn).indexOf("[native code]")!==-1}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Base=function(_Object){_inherits(Base,_Object);var _super=_createSuper(Base);function Base(){_classCallCheck(this,Base);return _super.apply(this,arguments)}_createClass(Base,[{key:"toString",value:function toString(){return JSON.stringify(this)}}]);return Base}(_wrapNativeSuper(Object));exports.Base=Base;_namespace.Monster.assignToNamespace("Monster.Types",Base)},{"../namespace.js":23}],25:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getGlobal=getGlobal;exports.getGlobalObject=getGlobalObject;exports.getGlobalFunction=getGlobalFunction;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");var _validate=require("./validate.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}var globalReference;(function(){if((typeof globalThis==="undefined"?"undefined":_typeof(globalThis))==="object"){globalReference=globalThis;return}Object.defineProperty(Object.prototype,"__monster__",{get:function get(){return this},configurable:true});__monster__.globalThis=__monster__;delete Object.prototype.__monster__;globalReference=globalThis})();function getGlobal(){return globalReference}function getGlobalObject(name){var _globalReference;(0,_validate.validateString)(name);var o=(_globalReference=globalReference)===null||_globalReference===void 0?void 0:_globalReference[name];if(typeof o==="undefined")throw new Error("the object "+name+" is not defined");(0,_validate.validateObject)(o);return o}function getGlobalFunction(name){var _globalReference2;(0,_validate.validateString)(name);var f=(_globalReference2=globalReference)===null||_globalReference2===void 0?void 0:_globalReference2[name];if(typeof f==="undefined")throw new Error("the function "+name+" is not defined");(0,_validate.validateFunction)(f);return f}_namespace.Monster.assignToNamespace("Monster.Types",getGlobal,getGlobalObject,getGlobalFunction)},{"../namespace.js":23,"./validate.js":36}],26:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _base.Monster}});exports.ID=void 0;var _base=require("./base.js");var _validate=require("./validate.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var internalCounter=new Map;var ID=function(_Base){_inherits(ID,_Base);var _super=_createSuper(ID);function ID(prefix){var _this;_classCallCheck(this,ID);_this=_super.call(this);if(prefix===undefined){prefix="id"}(0,_validate.validateString)(prefix);if(!internalCounter.has(prefix)){internalCounter.set(prefix,1)}var count=internalCounter.get(prefix);_this.id=prefix+count;internalCounter.set(prefix,++count);return _this}_createClass(ID,[{key:"toString",value:function toString(){return this.id}}]);return ID}(_base.Base);exports.ID=ID;_base.Monster.assignToNamespace("Monster.Types",ID)},{"./base.js":24,"./validate.js":36}],27:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.isPrimitive=isPrimitive;exports.isBoolean=isBoolean;exports.isString=isString;exports.isObject=isObject;exports.isInstance=isInstance;exports.isArray=isArray;exports.isFunction=isFunction;exports.isIterable=isIterable;exports.isInteger=isInteger;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function isIterable(value){if(value===undefined)return false;if(value===null)return false;return typeof(value===null||value===void 0?void 0:value[Symbol.iterator])==="function"}function isPrimitive(value){var type;if(value===undefined||value===null||value===NaN){return true}type=_typeof(value);if(type==="string"||type==="number"||type==="boolean"||type==="symbol"){return true}return false}function isBoolean(value){if(value===true||value===false){return true}return false}function isString(value){if(value===undefined||typeof value!=="string"){return false}return true}function isObject(value){if(isArray(value))return false;if(isPrimitive(value))return false;if(_typeof(value)==="object"){return true}return false}function isInstance(value,instance){if(!isObject(value))return false;if(!isFunction(instance))return false;if(!instance.hasOwnProperty("prototype"))return false;return value instanceof instance?true:false}function isArray(value){if(Array.isArray(value)){return true}return false}function isFunction(value){if(isArray(value))return false;if(isPrimitive(value))return false;if(typeof value==="function"){return true}return false}function isInteger(value){return Number.isInteger(value)}_namespace.Monster.assignToNamespace("Monster.Types",isPrimitive,isBoolean,isString,isObject,isArray,isFunction,isIterable,isInteger)},{"../namespace.js":23}],28:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Observer=void 0;var _namespace=require("../namespace.js");var _tokenlist=require("./tokenlist.js");var _is=require("./is.js");var _base=require("./base.js");var _uniquequeue=require("./uniquequeue.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Observer=function(_Base){_inherits(Observer,_Base);var _super=_createSuper(Observer);function Observer(callback){var _this;_classCallCheck(this,Observer);_this=_super.call(this);if(typeof callback!=="function"){throw new Error("observer callback must be a function")}_this.callback=callback;for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}_this.arguments=args;_this.tags=new _tokenlist.TokenList;_this.queue=new _uniquequeue.UniqueQueue;return _this}_createClass(Observer,[{key:"addTag",value:function addTag(tag){this.tags.add(tag);return this}},{key:"removeTag",value:function removeTag(tag){this.tags.remove(tag);return this}},{key:"getTags",value:function getTags(){return this.tags.entries()}},{key:"hasTag",value:function hasTag(tag){return this.tags.contains(tag)}},{key:"update",value:function update(subject){var self=this;return new Promise(function(resolve,reject){if(!(0,_is.isObject)(subject)){reject("subject must be an object");return}self.queue.add(subject);setTimeout(function(){if(self.queue.isEmpty()){resolve();return}var s=self.queue.poll();var result=self.callback.apply(s,self.arguments);if((0,_is.isObject)(result)&&result instanceof Promise){result.then(resolve)["catch"](reject);return}resolve(result)},0)})}}]);return Observer}(_base.Base);exports.Observer=Observer;_namespace.Monster.assignToNamespace("Monster.Types",Observer)},{"../namespace.js":23,"./base.js":24,"./is.js":27,"./tokenlist.js":34,"./uniquequeue.js":35}],29:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.ObserverList=void 0;var _namespace=require("../namespace.js");var _base=require("./base.js");var _observer=require("./observer.js");var _validate=require("./validate.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var ObserverList=function(_Base){_inherits(ObserverList,_Base);var _super=_createSuper(ObserverList);function ObserverList(){var _this;_classCallCheck(this,ObserverList);_this=_super.call(this);_this.observers=[];return _this}_createClass(ObserverList,[{key:"attach",value:function attach(observer){(0,_validate.validateInstance)(observer,_observer.Observer);this.observers.push(observer);return this}},{key:"detach",value:function detach(observer){(0,_validate.validateInstance)(observer,_observer.Observer);var i=0,l=this.observers.length;for(;i<l;i++){if(this.observers[i]===observer){this.observers.splice(i,1)}}return this}},{key:"contains",value:function contains(observer){(0,_validate.validateInstance)(observer,_observer.Observer);var i=0,l=this.observers.length;for(;i<l;i++){if(this.observers[i]===observer){return true}}return false}},{key:"notify",value:function notify(subject){var pomises=[];var i=0,l=this.observers.length;for(;i<l;i++){pomises.push(this.observers[i].update(subject))}return Promise.all(pomises)}}]);return ObserverList}(_base.Base);exports.ObserverList=ObserverList;_namespace.Monster.assignToNamespace("Monster.Types",ObserverList)},{"../namespace.js":23,"./base.js":24,"./observer.js":28,"./validate.js":36}],30:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.ProxyObserver=void 0;var _namespace=require("../namespace.js");var _base=require("./base.js");var _validate=require("./validate.js");var _observerlist=require("./observerlist.js");var _observer=require("./observer.js");var _is=require("./is.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var ProxyObserver=function(_Base){_inherits(ProxyObserver,_Base);var _super=_createSuper(ProxyObserver);function ProxyObserver(object){var _this;_classCallCheck(this,ProxyObserver);_this=_super.call(this);(0,_validate.validateObject)(object);_this.realSubject=object;_this.subject=new Proxy(object,getHandler.call(_assertThisInitialized(_this)));_this.objectMap=new WeakMap;_this.objectMap.set(_this.realSubject,_this.subject);_this.observers=new _observerlist.ObserverList;return _this}_createClass(ProxyObserver,[{key:"getSubject",value:function getSubject(){return this.subject}},{key:"getRealSubject",value:function getRealSubject(){return this.realSubject}},{key:"attachObserver",value:function attachObserver(observer){this.observers.attach(observer);return this}},{key:"detachObserver",value:function detachObserver(observer){this.observers.detach(observer);return this}},{key:"notifyObservers",value:function notifyObservers(){this.observers.notify(this);return this}},{key:"containsObserver",value:function containsObserver(observer){return this.observers.contains(observer)}}]);return ProxyObserver}(_base.Base);exports.ProxyObserver=ProxyObserver;_namespace.Monster.assignToNamespace("Monster.Types",ProxyObserver);function getHandler(){var proxy=this;var handler={get:function get(target,key,receiver){var value=Reflect.get(target,key,receiver);if(_typeof(key)==="symbol"){return value}if((0,_is.isPrimitive)(value)){return value}if((0,_is.isArray)(value)||(0,_is.isObject)(value)){if(proxy.objectMap.has(value)){return proxy.objectMap.get(value)}else{var p=new Proxy(value,handler);proxy.objectMap.set(value,p);return p}}return value},set:function set(target,key,value,receiver){var result=Reflect.set(target,key,value,receiver);if((typeof property==="undefined"?"undefined":_typeof(property))!=="symbol"){proxy.observers.notify(proxy)}return result},deleteProperty:function deleteProperty(target,key){if(key in target){delete target[key];if(_typeof(key)!=="symbol"){proxy.observers.notify(proxy)}return true}return false},defineProperty:function defineProperty(target,key,descriptor){var result=Reflect.defineProperty(target,key,descriptor);if(_typeof(key)!=="symbol"){proxy.observers.notify(proxy)}return result},setPrototypeOf:function setPrototypeOf(target,key){var result=Reflect.setPrototypeOf(object1,key);if(_typeof(key)!=="symbol"){proxy.observers.notify(proxy)}return result}};return handler}},{"../namespace.js":23,"./base.js":24,"./is.js":27,"./observer.js":28,"./observerlist.js":29,"./validate.js":36}],31:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _base.Monster}});exports.Queue=void 0;var _base=require("./base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Queue=function(_Base){_inherits(Queue,_Base);var _super=_createSuper(Queue);function Queue(){var _this;_classCallCheck(this,Queue);_this=_super.call(this);_this.data=[];return _this}_createClass(Queue,[{key:"isEmpty",value:function isEmpty(){return this.data.length===0}},{key:"peek",value:function peek(){if(this.isEmpty()){return undefined}return this.data[0]}},{key:"add",value:function add(value){this.data.push(value);return this}},{key:"clear",value:function clear(){this.data=[];return this}},{key:"poll",value:function poll(){if(this.isEmpty()){return undefined}return this.data.shift()}}]);return Queue}(_base.Base);exports.Queue=Queue;_base.Monster.assignToNamespace("Monster.Types",Queue)},{"./base.js":24}],32:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _id.Monster}});exports.RandomID=void 0;var _id=require("./id.js");var _global=require("./global.js");var _random=require("../math/random.js");function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var internalCounter=0;var RandomID=function(_ID){_inherits(RandomID,_ID);var _super=_createSuper(RandomID);function RandomID(){var _this;_classCallCheck(this,RandomID);_this=_super.call(this);internalCounter+=1;_this.id=(0,_global.getGlobal)().btoa((0,_random.random)(1,1e4)).replace(/=/g,"").replace(/^[0-9]+/,"X")+internalCounter;return _this}return RandomID}(_id.ID);exports.RandomID=RandomID;_id.Monster.assignToNamespace("Monster.Types",RandomID)},{"../math/random.js":21,"./global.js":25,"./id.js":26}],33:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _base.Monster}});exports.Stack=void 0;var _base=require("./base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Stack=function(_Base){_inherits(Stack,_Base);var _super=_createSuper(Stack);function Stack(){var _this;_classCallCheck(this,Stack);_this=_super.call(this);_this.data=[];return _this}_createClass(Stack,[{key:"isEmpty",value:function isEmpty(){return this.data.length===0}},{key:"peek",value:function peek(){var _this$data;if(this.isEmpty()){return undefined}return(_this$data=this.data)===null||_this$data===void 0?void 0:_this$data[this.data.length-1]}},{key:"push",value:function push(value){this.data.push(value);return this}},{key:"clear",value:function clear(){this.data=[];return this}},{key:"pop",value:function pop(){if(this.isEmpty()){return undefined}return this.data.pop()}}]);return Stack}(_base.Base);exports.Stack=Stack;_base.Monster.assignToNamespace("Monster.Types",Stack)},{"./base.js":24}],34:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.TokenList=void 0;var _namespace=require("../namespace.js");var _base=require("./base.js");var _is=require("../types/is.js");var _validate=require("../types/validate.js");function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();normalCompletion=step.done;return step},e:function e(_e2){didErr=true;err=_e2},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i]}return arr2}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var TokenList=function(_Base){_inherits(TokenList,_Base);var _super=_createSuper(TokenList);function TokenList(init){var _this;_classCallCheck(this,TokenList);_this=_super.call(this);_this.tokens=new Set;if(typeof init!=="undefined"){_this.add(init)}return _this}_createClass(TokenList,[{key:"getIterator",value:function getIterator(){return this[Symbol.iterator]()}},{key:Symbol.iterator,value:function value(){var index=0;var entries=this.entries();return{next:function next(){if(index<entries.length){return{value:entries===null||entries===void 0?void 0:entries[index++],done:false}}else{return{done:true}}}}}},{key:"contains",value:function contains(value){var _this2=this;if((0,_is.isString)(value)){value=value.trim();var counter=0;value.split(" ").forEach(function(token){if(_this2.tokens.has(token.trim())===false)return false;counter++});return counter>0?true:false}if((0,_is.isIterable)(value)){var _counter=0;var _iterator=_createForOfIteratorHelper(value),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var token=_step.value;(0,_validate.validateString)(token);if(this.tokens.has(token.trim())===false)return false;_counter++}}catch(err){_iterator.e(err)}finally{_iterator.f()}return _counter>0?true:false}return false}},{key:"add",value:function add(value){var _this3=this;if((0,_is.isString)(value)){value.split(" ").forEach(function(token){_this3.tokens.add(token.trim())})}else if((0,_is.isIterable)(value)){var _iterator2=_createForOfIteratorHelper(value),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var token=_step2.value;(0,_validate.validateString)(token);this.tokens.add(token.trim())}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}else if(typeof value!=="undefined"){throw new TypeError("unsupported value")}return this}},{key:"clear",value:function clear(){this.tokens.clear();return this}},{key:"remove",value:function remove(value){var _this4=this;if((0,_is.isString)(value)){value.split(" ").forEach(function(token){_this4.tokens["delete"](token.trim())})}else if((0,_is.isIterable)(value)){var _iterator3=_createForOfIteratorHelper(value),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var token=_step3.value;(0,_validate.validateString)(token);this.tokens["delete"](token.trim())}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}}else if(typeof value!=="undefined"){throw new TypeError("unsupported value")}return this}},{key:"replace",value:function replace(token,newToken){(0,_validate.validateString)(token);(0,_validate.validateString)(newToken);if(!this.contains(token)){return this}var a=Array.from(this.tokens);var i=a.indexOf(token);if(i===-1)return this;a.splice(i,1,newToken);this.tokens=new Set;this.add(a);return this}},{key:"toggle",value:function toggle(value){var _this5=this;if((0,_is.isString)(value)){value.split(" ").forEach(function(token){toggleValue.call(_this5,token)})}else if((0,_is.isIterable)(value)){var _iterator4=_createForOfIteratorHelper(value),_step4;try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var token=_step4.value;toggleValue.call(this,token)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}}else if(typeof value!=="undefined"){throw new TypeError("unsupported value")}return this}},{key:"entries",value:function entries(){return Array.from(this.tokens)}},{key:"forEach",value:function forEach(callback){(0,_validate.validateFunction)(callback);this.tokens.forEach(callback);return this}},{key:"toString",value:function toString(){return this.entries().join(" ")}}]);return TokenList}(_base.Base);exports.TokenList=TokenList;function toggleValue(token){if(!(this instanceof TokenList))throw Error("must be called with TokenList.call");(0,_validate.validateString)(token);token=token.trim();if(this.contains(token)){this.remove(token);return this}this.add(token);return this}_namespace.Monster.assignToNamespace("Monster.Types",TokenList)},{"../namespace.js":23,"../types/is.js":27,"../types/validate.js":36,"./base.js":24}],35:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _queue.Monster}});exports.UniqueQueue=void 0;var _queue=require("./queue.js");var _validate=require("./validate.js");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}function _get(target,property,receiver){if(typeof Reflect!=="undefined"&&Reflect.get){_get=Reflect.get}else{_get=function _get(target,property,receiver){var base=_superPropBase(target,property);if(!base)return;var desc=Object.getOwnPropertyDescriptor(base,property);if(desc.get){return desc.get.call(receiver)}return desc.value}}return _get(target,property,receiver||target)}function _superPropBase(object,property){while(!Object.prototype.hasOwnProperty.call(object,property)){object=_getPrototypeOf(object);if(object===null)break}return object}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var UniqueQueue=function(_Queue){_inherits(UniqueQueue,_Queue);var _super=_createSuper(UniqueQueue);function UniqueQueue(){var _this;_classCallCheck(this,UniqueQueue);_this=_super.call(this);_this.unique=new WeakSet;return _this}_createClass(UniqueQueue,[{key:"add",value:function add(value){(0,_validate.validateObject)(value);if(!this.unique.has(value)){this.unique.add(value);_get(_getPrototypeOf(UniqueQueue.prototype),"add",this).call(this,value)}return this}},{key:"clear",value:function clear(){_get(_getPrototypeOf(UniqueQueue.prototype),"clear",this).call(this);this.unique=new WeakSet;return this}},{key:"poll",value:function poll(){if(this.isEmpty()){return undefined}var value=this.data.shift();this.unique["delete"](value);return value}}]);return UniqueQueue}(_queue.Queue);exports.UniqueQueue=UniqueQueue;_queue.Monster.assignToNamespace("Monster.Types",UniqueQueue)},{"./queue.js":31,"./validate.js":36}],36:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.validatePrimitive=validatePrimitive;exports.validateBoolean=validateBoolean;exports.validateString=validateString;exports.validateObject=validateObject;exports.validateInstance=validateInstance;exports.validateArray=validateArray;exports.validateFunction=validateFunction;exports.validateIterable=validateIterable;exports.validateInteger=validateInteger;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");var _is=require("./is.js");function validateIterable(value){if(!(0,_is.isIterable)(value)){throw new TypeError("value is not iterable")}}function validatePrimitive(value){if(!(0,_is.isPrimitive)(value)){throw new TypeError("value is not a primitive")}}function validateBoolean(value){if(!(0,_is.isBoolean)(value)){throw new TypeError("value is not a boolean")}}function validateString(value){if(!(0,_is.isString)(value)){throw new TypeError("value is not a string")}}function validateObject(value){if(!(0,_is.isObject)(value)){throw new TypeError("value is not a object")}}function validateInstance(value,instance){if(!(0,_is.isInstance)(value,instance)){var n="";if((0,_is.isObject)(instance)||(0,_is.isFunction)(instance)){n=instance===null||instance===void 0?void 0:instance["name"]}if(n){n=" "+n}throw new TypeError("value is not an instance of"+n)}}function validateArray(value){if(!(0,_is.isArray)(value)){throw new TypeError("value is not an array")}}function validateFunction(value){if(!(0,_is.isFunction)(value)){throw new TypeError("value is not a function")}}function validateInteger(value){if(!(0,_is.isInteger)(value)){throw new TypeError("value is not an integer")}}_namespace.Monster.assignToNamespace("Monster.Types",validatePrimitive,validateBoolean,validateString,validateObject,validateArray,validateFunction,validateIterable,validateInteger)},{"../namespace.js":23,"./is.js":27}],37:[function(require,module,exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}Object.defineProperty(exports,"__esModule",{value:true});exports.getVersion=getVersion;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});exports.Version=void 0;var _namespace=require("../namespace.js");var _base=require("./base.js");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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Version=function(_Base){_inherits(Version,_Base);var _super=_createSuper(Version);function Version(major,minor,patch){var _this;_classCallCheck(this,Version);_this=_super.call(this);if(typeof major==="string"&&minor===undefined&&patch===undefined){var parts=major.toString().split(".");major=parseInt(parts[0]||0);minor=parseInt(parts[1]||0);patch=parseInt(parts[2]||0)}if(major===undefined){throw new Error("major version is undefined")}if(minor===undefined){minor=0}if(patch===undefined){patch=0}_this.major=parseInt(major);_this.minor=parseInt(minor);_this.patch=parseInt(patch);if(isNaN(_this.major)){throw new Error("major is not a number")}if(isNaN(_this.minor)){throw new Error("minor is not a number")}if(isNaN(_this.patch)){throw new Error("patch is not a number")}return _this}_createClass(Version,[{key:"toString",value:function toString(){return this.major+"."+this.minor+"."+this.patch}},{key:"compareTo",value:function compareTo(version){if(version instanceof Version){version=version.toString()}if(typeof version!=="string"){throw new Error("type exception")}if(version===this.toString()){return 0}var a=[this.major,this.minor,this.patch];var b=version.split(".");var len=Math.max(a.length,b.length);for(var i=0;i<len;i+=1){if(a[i]&&!b[i]&&parseInt(a[i])>0||parseInt(a[i])>parseInt(b[i])){return 1}else if(b[i]&&!a[i]&&parseInt(b[i])>0||parseInt(a[i])<parseInt(b[i])){return-1}}return 0}}]);return Version}(_base.Base);exports.Version=Version;_namespace.Monster.assignToNamespace("Monster.Types",Version);var monsterVersion;function getVersion(){if(monsterVersion instanceof Version){return monsterVersion}monsterVersion=new Version("1.6.0");return monsterVersion}_namespace.Monster.assignToNamespace("Monster",getVersion)},{"../namespace.js":23,"./base.js":24}],38:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.clone=clone;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");var _is=require("../types/is.js");var _global=require("../types/global.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function clone(obj){if(null===obj){return obj}if((0,_is.isPrimitive)(obj)){return obj}if((0,_is.isFunction)(obj)){return obj}if((0,_is.isArray)(obj)){var copy=[];for(var i=0,len=obj.length;i<len;i++){copy[i]=clone(obj[i])}return copy}if((0,_is.isObject)(obj)){if(obj instanceof Date){var _copy=new Date;_copy.setTime(obj.getTime());return _copy}if(typeof Element!=="undefined"&&obj instanceof Element)return obj;if(typeof HTMLDocument!=="undefined"&&obj instanceof HTMLDocument)return obj;if(typeof DocumentFragment!=="undefined"&&obj instanceof DocumentFragment)return obj;if(obj===(0,_global.getGlobal)())return obj;if(typeof globalContext!=="undefined"&&obj===globalContext)return obj;if(typeof window!=="undefined"&&obj===window)return obj;if(typeof document!=="undefined"&&obj===document)return obj;if(typeof navigator!=="undefined"&&obj===navigator)return obj;if(typeof JSON!=="undefined"&&obj===JSON)return obj;try{if(obj instanceof Proxy){return obj}}catch(e){}return cloneObject(obj)}throw new Error("unable to clone obj! its type isn't supported.")}function cloneObject(obj){var copy;if(_typeof(obj.hasOwnProperty("getClone"))&&obj.getClone==="function"){return obj.getClone()}copy={};if(typeof obj.constructor==="function"&&typeof obj.constructor.call==="function"){copy=new obj.constructor}for(var key in obj){if(!obj.hasOwnProperty(key)){continue}if(_namespace.Monster.Types.isPrimitive(obj[key])){copy[key]=obj[key];continue}copy[key]=clone(obj[key])}return copy}_namespace.Monster.assignToNamespace("Monster.Util",clone)},{"../namespace.js":23,"../types/global.js":25,"../types/is.js":27}],39:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _base.Monster}});exports.Comparator=void 0;var _base=require("../types/base.js");var _is=require("../types/is.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;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}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function")}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=_getPrototypeOf(Derived),result;if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else{result=Super.apply(this,arguments)}return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeof call==="function")){return call}return _assertThisInitialized(self)}function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}function _isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true}catch(e){return false}}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}var Comparator=function(_Base){_inherits(Comparator,_Base);var _super=_createSuper(Comparator);function Comparator(callback){var _this;_classCallCheck(this,Comparator);_this=_super.call(this);if((0,_is.isFunction)(callback)){_this.compare=callback}else if(callback!==undefined){throw new TypeError("unsupported type")}else{_this.compare=function(a,b){if(_typeof(a)!==_typeof(b)){throw new TypeError("impractical comparison")}if(a===b){return 0}return a<b?-1:1}}return _this}_createClass(Comparator,[{key:"reverse",value:function reverse(){var original=this.compare;this.compare=function(a,b){return original(b,a)};return this}},{key:"equal",value:function equal(a,b){return this.compare(a,b)===0}},{key:"greaterThan",value:function greaterThan(a,b){return this.compare(a,b)>0}},{key:"greaterThanOrEqual",value:function greaterThanOrEqual(a,b){return this.greaterThan(a,b)||this.equal(a,b)}},{key:"lessThanOrEqual",value:function lessThanOrEqual(a,b){return this.lessThan(a,b)||this.equal(a,b)}},{key:"lessThan",value:function lessThan(a,b){return this.compare(a,b)<0}}]);return Comparator}(_base.Base);exports.Comparator=Comparator;_base.Monster.assignToNamespace("Monster.Util",Comparator)},{"../types/base.js":24,"../types/is.js":27}],40:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.deepFreeze=deepFreeze;Object.defineProperty(exports,"Monster",{enumerable:true,get:function get(){return _namespace.Monster}});var _namespace=require("../namespace.js");var _validate=require("../types/validate.js");function _typeof(obj){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(obj){return typeof obj}}else{_typeof=function _typeof(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}}return _typeof(obj)}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]}},e:function e(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();normalCompletion=step.done;return step},e:function e(_e2){didErr=true;err=_e2},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i]}return arr2}function deepFreeze(object){(0,_validate.validateObject)(object);var propNames=Object.getOwnPropertyNames(object);var _iterator=_createForOfIteratorHelper(propNames),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var name=_step.value;var value=object[name];object[name]=value&&_typeof(value)==="object"?deepFreeze(value):value}}catch(err){_iterator.e(err)}finally{_iterator.f()}return Object.freeze(object)}_namespace.Monster.assignToNamespace("Monster.Util",deepFreeze)},{"../namespace.js":23,"../types/validate.js":36}]},{},[22]); diff --git a/packages/monster/package.json b/packages/monster/package.json index 5bac2dfa3e7c99eda47c89072b0b69fe12ccabfe..f399d870ea146ddd0b19c8c4316e5bf144d9b377 100644 --- a/packages/monster/package.json +++ b/packages/monster/package.json @@ -1,6 +1,6 @@ { "name": "@schukai/monster", - "version": "1.5.0", + "version": "1.6.0", "description": "Monster is a simple library for creating fast, robust and lightweight websites.", "keywords": [ "framework", diff --git a/packages/monster/source/constraints/andoperator.js b/packages/monster/source/constraints/andoperator.js index e9ab5807cd894971e769a0ebecac5580e0c8def3..15015d3eb3e18f19ecc63eb94efa8246b16e2ed3 100644 --- a/packages/monster/source/constraints/andoperator.js +++ b/packages/monster/source/constraints/andoperator.js @@ -12,7 +12,7 @@ import {AbstractOperator} from "./abstractoperator.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; * new Monster.Constraint.AndOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -21,8 +21,8 @@ import {AbstractOperator} from "./abstractoperator.js"; * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; * new AndOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` diff --git a/packages/monster/source/constraints/invalid.js b/packages/monster/source/constraints/invalid.js index 144adbb0106536dd213352d290cd2237471d2613..f4ce116b0a809123adce6fbc287acc6508fa2bc3 100644 --- a/packages/monster/source/constraints/invalid.js +++ b/packages/monster/source/constraints/invalid.js @@ -13,7 +13,7 @@ import {Monster, AbstractConstraint} from "./abstract.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; * new Monster.Constraint.Invalid().catch(()=>console.log(true)); * </script> * ``` @@ -22,7 +22,7 @@ import {Monster, AbstractConstraint} from "./abstract.js"; * * ``` * <script type="module"> - * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; + * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; * new Invalid().catch(()=>console.log(true)); * </script> * ``` diff --git a/packages/monster/source/constraints/isarray.js b/packages/monster/source/constraints/isarray.js index cec25f21cc90b92295adf98fe6685a6072213f89..e0c7382014db629899786a82548bea7102874146 100644 --- a/packages/monster/source/constraints/isarray.js +++ b/packages/monster/source/constraints/isarray.js @@ -8,13 +8,11 @@ import {Monster, AbstractConstraint} from "./abstract.js"; import {isArray} from "../types/is.js"; /** - * - * * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; * console.log(new Monster.Constraint.IsArray()) * </script> * ``` @@ -23,7 +21,7 @@ import {isArray} from "../types/is.js"; * * ``` * <script type="module"> - * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; + * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; * console.log(new IsArray()) * </script> * ``` diff --git a/packages/monster/source/constraints/isobject.js b/packages/monster/source/constraints/isobject.js index 14151989f29308bf15b8d4dd45b9c486a9790680..f83aace7126b8198536fa55475c0119d03570a8c 100644 --- a/packages/monster/source/constraints/isobject.js +++ b/packages/monster/source/constraints/isobject.js @@ -8,13 +8,11 @@ import {Monster, AbstractConstraint} from "./abstract.js"; import {isObject} from "../types/is.js"; /** - * - * * you can call the method via the monster namespace `new Monster.Constraint.IsObject()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; * console.log(new Monster.Constraint.IsObject()) * </script> * ``` @@ -23,7 +21,7 @@ import {isObject} from "../types/is.js"; * * ``` * <script type="module"> - * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; + * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; * console.log(new IsObject()) * </script> * ``` diff --git a/packages/monster/source/constraints/namespace.js b/packages/monster/source/constraints/namespace.js index 40d7963ab5802c922e2eba1c1438681dbb043037..79c46baeb0420c62e963b16a8afb4036424b203e 100644 --- a/packages/monster/source/constraints/namespace.js +++ b/packages/monster/source/constraints/namespace.js @@ -3,4 +3,10 @@ /** * @namespace Monster/Constraints * @author schukai GmbH - */ \ No newline at end of file + */ + +/** + * @private + * @type {string} + */ +const namespace="Monster.Constraints"; \ No newline at end of file diff --git a/packages/monster/source/constraints/oroperator.js b/packages/monster/source/constraints/oroperator.js index 5d19dcf3e1125f9d69ca88814d7d1c8938c399a7..0b85c7392c570e0404c096ced59025ea509a7dc9 100644 --- a/packages/monster/source/constraints/oroperator.js +++ b/packages/monster/source/constraints/oroperator.js @@ -11,7 +11,7 @@ import {Monster, AbstractOperator} from "./abstractoperator.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; * new Monster.Constraint.OrOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -20,8 +20,8 @@ import {Monster, AbstractOperator} from "./abstractoperator.js"; * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; * new OrOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` diff --git a/packages/monster/source/constraints/valid.js b/packages/monster/source/constraints/valid.js index 541a037fcfca492340575795eccbb3ceab61359f..bb7d9c3155775ac4f47ae7f62bb57b040137dfca 100644 --- a/packages/monster/source/constraints/valid.js +++ b/packages/monster/source/constraints/valid.js @@ -13,7 +13,7 @@ import {Monster, AbstractConstraint} from "./abstract.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; * new Monster.Constraint.Valid().then(()=>console.log(true)); * </script> * ``` @@ -22,7 +22,7 @@ import {Monster, AbstractConstraint} from "./abstract.js"; * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; * new Valid().then(()=>console.log(true)); * </script> * ``` diff --git a/packages/monster/source/data/diff.js b/packages/monster/source/data/diff.js new file mode 100644 index 0000000000000000000000000000000000000000..d278fc07266fa74aee4819d32d7280d45cd88251 --- /dev/null +++ b/packages/monster/source/data/diff.js @@ -0,0 +1,249 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + + +import {Monster, isArray, isObject} from "../types/is.js"; + +/** + * With the diff function you can perform the change of one object to another. The result shows the changes of the second object to the first object. + * + * The operator `add` means that something has been added to the second object. `delete` means that something has been deleted from the second object compared to the first object. + * + * you can call the method via the monster namespace `Monster.Data.Diff()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; + * console.log(Monster.Data.Diff(a, b)) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; + * console.log(Diff(a, b)) + * </script> + * ``` + * + * given are two objects x and y. + * + * ``` + * let x = { + * a: 1, + * b: "Hello!" + * } + * + * let y = { + * a: 2, + * c: true + * } + * ``` + * + * These two objects can be compared with each other. + * + * ``` + * console.log(Diff(x, y)); + * ``` + * + * the result is then the following + * + * ``` + * [ + * { + * operator: 'update', + * path: [ 'a' ], + * first: { value: 1, type: 'number' }, + * second: { value: 2, type: 'number' } + * }, + * { + * operator: 'delete', + * path: [ 'b' ], + * first: { value: 'Hello!', type: 'string' } + * }, + * { + * operator: 'add', + * path: [ 'c' ], + * second: { value: true, type: 'boolean' } + * } + * ] + * ``` + * + * @param {*} first + * @param {*} second + * @return {array} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/Data + */ +function Diff(first, second) { + return doDiff(first, second) +} + +/** + * @private + * @param a + * @param b + * @param type + * @return {Set<string>|Set<number>} + */ +function getKeys(a, b, type) { + if (isArray(type)) { + const keys = a.length > b.length ? new Array(a.length) : new Array(b.length); + keys.fill(0); + return new Set(keys.map((_, i) => i)); + } + + return new Set(Object.keys(a).concat(Object.keys(b))); +} + +/** + * @private + * @param a + * @param b + * @param path + * @param diff + * @return {array} + */ +function doDiff(a, b, path, diff) { + + let typeA = typeof a + let typeB = typeof b + + const currPath = path || []; + const currDiff = diff || []; + + if (typeA === typeB && typeA === 'object') { // array is object too + + getKeys(a, b, typeA).forEach((v) => { + + if (!(Object.prototype.hasOwnProperty.call(a, v))) { + currDiff.push(buildResult(a[v], b[v], 'add', currPath.concat(v))); + } else if (!(Object.prototype.hasOwnProperty.call(b, v))) { + currDiff.push(buildResult(a[v], b[v], 'delete', currPath.concat(v))); + } else { + doDiff(a[v], b[v], currPath.concat(v), currDiff); + } + }); + + } else { + + const o = getOperator(a, b, typeA, typeB); + if (o !== undefined) { + currDiff.push(buildResult(a, b, o, path)); + } + + } + + return currDiff; + +} + +/** + * + * @param {*} a + * @param {*} b + * @param {string} operator + * @param {array} path + * @return {{path: array, operator: string}} + * @private + */ +function buildResult(a, b, operator, path) { + + const result = { + operator, + path, + }; + + if (operator !== 'add') { + result.first = { + value: a, + type: typeof a + }; + + if (isObject(a)) { + const name = Object.getPrototypeOf(a)?.constructor?.name; + if (name !== undefined) { + result.first.instance = name; + } + } + } + + if (operator === 'add' || operator === 'update') { + result.second = { + value: b, + type: typeof b + }; + + if (isObject(b)) { + const name = Object.getPrototypeOf(b)?.constructor?.name; + if (name !== undefined) { + result.second.instance = name; + } + } + + } + + return result; +} + +/** + * @private + * @param {*} a + * @param {*} b + * @return {boolean} + */ +function isNotEqual(a, b) { + + if (typeof a !== typeof b) { + return true; + } + + if (a instanceof Date && b instanceof Date) { + return a.getTime() !== b.getTime(); + } + + return a !== b; +} + +/** + * @private + * @param {*} a + * @param {*} b + * @return {string|undefined} + */ +function getOperator(a, b) { + + /** + * @type {string|undefined} + */ + let operator; + + /** + * @type {string} + */ + let typeA = typeof a; + + /** + * @type {string} + */ + let typeB = typeof b; + + if (typeA === 'undefined' && typeB !== 'undefined') { + operator = 'add'; + } else if (typeA !== 'undefined' && typeB === 'undefined') { + operator = 'delete'; + } else if (isNotEqual(a, b)) { + operator = 'update'; + } + + return operator; + +} + +Monster.assignToNamespace('Monster.Data', Diff); +export {Monster, Diff} diff --git a/packages/monster/source/data/namespace.js b/packages/monster/source/data/namespace.js index 6a4c6d130b742a1d922852db4a006b1dd4a8ae7c..5411a4bbd74230fa8c05064e76c8e5ed092d1da9 100644 --- a/packages/monster/source/data/namespace.js +++ b/packages/monster/source/data/namespace.js @@ -3,4 +3,11 @@ /** * @namespace Monster/Data * @author schukai GmbH - */ \ No newline at end of file + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Data"; \ No newline at end of file diff --git a/packages/monster/source/data/pathfinder.js b/packages/monster/source/data/pathfinder.js index 8ee7fee1b86053c86ded4685ac3a6a014026c6c1..0b97e82bc8d75cef56f2b1c3b252733fa42ced4f 100644 --- a/packages/monster/source/data/pathfinder.js +++ b/packages/monster/source/data/pathfinder.js @@ -19,13 +19,11 @@ import {Stack} from "../types/stack.js"; const DELIMITER = '.'; /** - * Pathfinder class - * * you can call the method via the monster namespace `new Monster.Data.Pathfinder()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pathfinder.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; * console.log(new Monster.Data.Pathfinder()) * </script> * ``` @@ -34,7 +32,7 @@ const DELIMITER = '.'; * * ``` * <script type="module"> - * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pathfinder.js'; + * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; * console.log(new Pathfinder()) * </script> * ``` @@ -98,6 +96,7 @@ class Pathfinder extends Base { * @throws {Error} the journey is not at its end * @throws {TypeError} value is not a string * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type */ getVia(path) { validateString(path); @@ -113,6 +112,7 @@ class Pathfinder extends Base { * @throws {TypeError} unsupported type * @throws {TypeError} value is not a string * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type */ setVia(path, value) { validateString(path); @@ -120,6 +120,23 @@ class Pathfinder extends Base { return this; } + /** + * Delete Via Path + * + * @param {string} path + * @returns {Pathfinder} + * @since 1.6.0 + * @throws {TypeError} unsupported type + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type + */ + deleteVia(path) { + validateString(path); + deleteValueViaPath(this.object, path); + return this; + } + /** * * @param {string} path @@ -154,6 +171,8 @@ export {Monster, Pathfinder} * @returns {*} * @throws {TypeError} unsupported type * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private */ function getValueViaPath(object, path, check) { @@ -167,12 +186,17 @@ function getValueViaPath(object, path, check) { if (isObject(object) || isArray(object)) { let anchor; - if (object instanceof Map) { + if (object instanceof Map || object instanceof WeakMap) { anchor = object.get(current); - } else if (object instanceof Set) { + + } else if (object instanceof Set || object instanceof WeakSet) { current = parseInt(current); validateInteger(current) anchor = [...object]?.[current]; + + } else if (object instanceof WeakRef) { + throw Error('unsupported action for this data type'); + } else if (isArray(object)) { current = parseInt(current); validateInteger(current) @@ -206,10 +230,12 @@ function getValueViaPath(object, path, check) { * @param object * @param path * @param value - * @returns {undefined|*} + * @returns {void} * @throws {TypeError} unsupported type * @throws {TypeError} unsupported type * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private */ function setValueViaPath(object, path, value) { @@ -257,10 +283,14 @@ function setValueViaPath(object, path, value) { throw TypeError("unsupported type: " + typeof object); } - if (anchor instanceof Map) { + if (anchor instanceof Map || anchor instanceof WeakMap) { anchor.set(last, value); - } else if (anchor instanceof Set) { + } else if (anchor instanceof Set || anchor instanceof WeakSet) { anchor.append(value) + + } else if (anchor instanceof WeakRef) { + throw Error('unsupported action for this data type'); + } else if (isArray(anchor)) { last = parseInt(last); validateInteger(last) @@ -269,6 +299,43 @@ function setValueViaPath(object, path, value) { anchor[last] = value; } - return anchor; + return; + +} + +/** + * + * @param object + * @param path + * @returns {void} + * @throws {TypeError} unsupported type + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @since 1.6.0 + * @private + */ +function deleteValueViaPath(object, path) { + + const parts = path.split(DELIMITER) + let last = parts.pop(); + const subpath = parts.join(DELIMITER); + + const anchor = getValueViaPath.call(this, object, subpath); + + if (anchor instanceof Map) { + anchor.delete(last); + } else if (anchor instanceof Set || anchor instanceof WeakMap || anchor instanceof WeakSet || anchor instanceof WeakRef) { + throw Error('unsupported action for this data type'); + + } else if (isArray(anchor)) { + last = parseInt(last); + validateInteger(last) + delete anchor[last]; + } else { + delete anchor[last]; + } + + return; } diff --git a/packages/monster/source/data/pipe.js b/packages/monster/source/data/pipe.js index b6ccf93dc699cacc1da81f4e3b936134fdbeb492..69f04f8bc2888420abc10a5f0e4e37b93c63f203 100644 --- a/packages/monster/source/data/pipe.js +++ b/packages/monster/source/data/pipe.js @@ -13,15 +13,13 @@ import {validateString} from '../types/validate.js'; const DELIMITER = '|'; /** - * Pipe class - * * the pipe class makes it possible to combine several processing steps. * * you can call the method via the monster namespace `new Monster.Data.Pipe()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pipe.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; * console.log(new Monster.Data.Pipe()) * </script> * ``` @@ -30,7 +28,7 @@ const DELIMITER = '|'; * * ``` * <script type="module"> - * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pipe.js'; + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; * console.log(new Pipe()) * </script> * ``` @@ -88,4 +86,4 @@ class Pipe extends Base { } Monster.assignToNamespace('Monster.Data', Pipe); -export {Monster, Pipe} \ No newline at end of file +export {Monster, Pipe} diff --git a/packages/monster/source/data/transformer.js b/packages/monster/source/data/transformer.js index a91a3e5b1e3a5d0cba82df4204f26640b151bd72..c2d1117d3330b6d1b4276abb1712c9a00a97c939 100644 --- a/packages/monster/source/data/transformer.js +++ b/packages/monster/source/data/transformer.js @@ -13,15 +13,13 @@ import {clone} from "../util/clone.js"; import {Pathfinder} from "./pathfinder.js"; /** - * Transformer class - * * the transformer class is a swiss army knife for manipulating values. especially in combination with the pipe, processing chains can be built up. * * you can call the method via the monster namespace `new Monster.Data.Transformer()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/transformer.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; * console.log(new Monster.Data.Transformer()) * </script> * ``` @@ -30,7 +28,7 @@ import {Pathfinder} from "./pathfinder.js"; * * ``` * <script type="module"> - * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/transformer.js'; + * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; * console.log(new Transformer()) * </script> * ``` @@ -209,6 +207,7 @@ function disassemble(command) { * * @param {*} value * @returns {string} + * @private */ function convertToString(value) { diff --git a/packages/monster/source/dom/assembler.js b/packages/monster/source/dom/assembler.js new file mode 100644 index 0000000000000000000000000000000000000000..3cfbbae4fec2711598d48357c71d3c181263143b --- /dev/null +++ b/packages/monster/source/dom/assembler.js @@ -0,0 +1,99 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, Base} from '../types/base.js'; +import {validateInstance, validateString} from "../types/validate.js"; +import {getGlobalFunction} from "../types/global.js"; +import {ProxyObserver} from "../types/proxyobserver.js"; + + +/** + * attribute prefix + * + * @type {string} + * @memberOf Monster/DOM + */ +const ATTRIBUTEPREFIX = "data-monster-"; + +/** + * you can call the method via the monster namespace `new Monster.DOM.Assembler()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; + * console.log(new Monster.DOM.Assembler()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; + * console.log(new Assembler()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + */ +class Assembler extends Base { + + /** + * @param {DocumentFragment} fragment + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + constructor(fragment) { + super(); + this.attributePrefix = ATTRIBUTEPREFIX; + validateInstance(fragment, getGlobalFunction('DocumentFragment')); + this.fragment = fragment; + } + + /** + * + * @param {string} prefix + * @returns {Assembler} + * @throws {TypeError} value is not a string + */ + setAttributePrefix(prefix) { + validateString(prefix); + this.attributePrefix = prefix; + return this; + } + + /** + * + * @returns {string} + */ + getAttributePrefix() { + return this.attributePrefix; + } + + /** + * + * @param {ProxyObserver|undefined} data + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + createDocumentFragment(data) { + + if (data === undefined) { + data = new ProxyObserver({}); + } + + validateInstance(data, ProxyObserver); + let fragment = this.fragment.cloneNode(true); + return fragment; + } + +} + +Monster.assignToNamespace('Monster.DOM', Assembler); +export {Monster, ATTRIBUTEPREFIX, Assembler} diff --git a/packages/monster/source/dom/handle.js b/packages/monster/source/dom/handle.js new file mode 100644 index 0000000000000000000000000000000000000000..ad0b8073b0401b7d66f28820c997dea5e2260ae2 --- /dev/null +++ b/packages/monster/source/dom/handle.js @@ -0,0 +1,228 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, Base} from '../types/base.js'; +import {Stack} from "../types/stack.js"; +import {validateInstance} from "../types/validate.js"; +import {ProxyObserver} from "../types/proxyobserver.js"; +import {Observer} from "../types/observer.js"; +import {getGlobalFunction, getGlobalObject} from "../types/global.js"; +import {isInstance} from "../types/is.js"; +import {ATTRIBUTEPREFIX} from "./assembler.js" +import {ID} from "../types/id.js"; + +/** + * @private + * @type {Symbol} + */ +const MONSTERDOMHANDLE = Symbol('MonsterHandle'); + +/** + * you can call the method via the monster namespace `new Monster.DOM.Handle()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(new Monster.DOM.Handle()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Handle} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(new Handle()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster.DOM + */ +class Handle extends Base { + /** + * + * @param {ProxyObserver} data + */ + constructor(data) { + super(); + + let self = this; + + self.id = new ID(); + + validateInstance(data, ProxyObserver); + + this.data = data + + this.mutationObserver = createMutationObserver.call(this); + this.dataObserver = createDataObserver.call(this); + this.data.attachObserver(this.dataObserver); + + this.nodes = new WeakSet + this.updates = new Stack(); + + } + + /** + * @return {void} + */ + update() { + return; + } + + /** + * + * @param {HTMLElement|Document} node + * @return {Handle} + */ + remove(node) { + + if (isInstance(node, getGlobalFunction('Document'))) { + node = node.firstElementChild + } + + validateInstance(node, getGlobalFunction('HTMLElement')) + + if (!this.nodes.has(node)) { + return this; + } + + this.mutationObserver.disconnect(node); + + delete node.dataset[MONSTERDOMHANDLE] + node.removeAttribute(ATTRIBUTEPREFIX + "handler"); + + return this; + + } + + /** + * + * @param {HTMLElement|Document} node + * @return {Handle} + */ + append(node) { + + if (isInstance(node, getGlobalFunction('Document'))) { + node = node.firstElementChild + } + + validateInstance(node, getGlobalFunction('HTMLElement')) + + if (this.nodes.has(node)) { + return this; + } + + node.dataset[MONSTERDOMHANDLE] = this; + node.setAttribute(ATTRIBUTEPREFIX + "handler", true); + + this.mutationObserver.observe(node, { + attributes: true, + childList: true, + subtree: true, + characterData: true, + characterDataOldValue: true, + attributeOldValue: true + }); + + this.nodes.add(node); + + return this; + + } +} + +/** + * + * @private + * @return {Observer} + */ +function createDataObserver() { + const self = this; + + return new Observer(() => { + self.update(); + }); +} + +/** + * + * @private + * @return {MutationObserver} + */ +function createMutationObserver() { + + const self = this; + + /** + * @private + * @type {MutationObserver} + */ + const MutationObserver = getGlobalFunction('MutationObserver'); + + // @link https://developer.mozilla.org/en/docs/Web/API/MutationObserver + return new MutationObserver((mutationsList, observer) => { + + for (const mutation of mutationsList) { + self.updates.push(mutation); + } + + self.update(); + } + ) + +} + +/** + * get the handle of a node + * + * if a node is specified without a handler, a recursive search upwards is performed until the corresponding + * handle is found, or undefined is returned. + * + * you can call the method via the monster namespace `Monster.DOM.getHandleFromNode()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(Monster.DOM.getHandleFromNode()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getHandleFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(getHandleFromNode()) + * </script> + * ``` + * + * @param {Node} node + * @return {Handle|undefined} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {TypeError} value is not an instance of Node + */ +function getHandleFromNode(node) { + validateInstance(node, getGlobalFunction('Node')); + + let handle = node.dataset?.[MONSTERDOMHANDLE]; + if (handle === undefined) { + let parentNode = node?.['parentNode']; + if (isInstance(parentNode, getGlobalFunction('Node'))) { + return getHandleFromNode(parentNode) + } + } + + return handle; +} + +Monster.assignToNamespace('Monster.DOM', getHandleFromNode, Handle); +export {Monster, getHandleFromNode, Handle} + diff --git a/packages/monster/source/dom/namespace.js b/packages/monster/source/dom/namespace.js new file mode 100644 index 0000000000000000000000000000000000000000..39c51b49295e6e5448bb7770d6525b452c9a9d26 --- /dev/null +++ b/packages/monster/source/dom/namespace.js @@ -0,0 +1,12 @@ +'use strict'; + +/** + * @namespace Monster/DOM + * @author schukai GmbH + */ + +/** + * @private + * @type {string} + */ +const namespace="Monster.DOM"; \ No newline at end of file diff --git a/packages/monster/source/dom/template.js b/packages/monster/source/dom/template.js new file mode 100644 index 0000000000000000000000000000000000000000..606f79b1a7f556017a67a72bc9e2bb9b837d66c1 --- /dev/null +++ b/packages/monster/source/dom/template.js @@ -0,0 +1,70 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, Base} from '../types/base.js'; +import {getGlobalFunction} from '../types/global.js'; +import {validateInstance} from "../types/validate.js"; + +/** + * you can call the method via the monster namespace `new Monster.DOM.Template()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; + * console.log(new Monster.DOM.Template()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; + * console.log(new Template()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + */ +class Template extends Base { + /** + * + * @param {HTMLTemplateElement} template + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + constructor(template) { + super(); + validateInstance(template, getGlobalFunction('HTMLTemplateElement')); + this.template = template; + } + + /** + * + * @returns {HTMLTemplateElement} + */ + getTemplateElement() { + return this.template; + } + + /** + * + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + createDocumentFragment() { + return this.template.content.cloneNode(true); + } + +} + +Monster.assignToNamespace('Monster.DOM', Template); +export {Monster, Template} + + diff --git a/packages/monster/source/dom/util.js b/packages/monster/source/dom/util.js new file mode 100644 index 0000000000000000000000000000000000000000..8812ba62668153e24a53784b8f54fe86fee31449 --- /dev/null +++ b/packages/monster/source/dom/util.js @@ -0,0 +1,203 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, getGlobal} from "../types/global.js"; +import {validateString} from "../types/validate.js"; + + +/** + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getDocument()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getDocument()) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + */ +function getDocument() { + let document = getGlobal()?.['document']; + if (typeof document !== 'object') { + throw new Error("not supported environment") + } + + return document; +} + +/** + * this method fetches the window object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getWindow()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getWindow(null)) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * getGlobal()['window']=window; + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + */ +function getWindow() { + let window = getGlobal()?.['window']; + if (typeof window !== 'object') { + throw new Error("not supported environment") + } + + return window; +} + + +/** + * + * + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getDocumentFragmentFromString()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getDocumentFragmentFromString('<div></div>')) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {DocumentFragment} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + * @throws {TypeError} value is not a string + */ +function getDocumentFragmentFromString(html) { + validateString(html); + + const document = getDocument(); + const template = document.createElement('template'); + template.innerHTML = html; + + return template.content; +} + + +Monster.assignToNamespace('Monster.DOM', getWindow, getDocument, getDocumentFragmentFromString); +export {Monster, getWindow, getDocument, getDocumentFragmentFromString} diff --git a/packages/monster/source/logging/handler.js b/packages/monster/source/logging/handler.js index ad591eab452c1f64678c65a5ab8de62b6e5b7554..bccbbbdff60fb15c566d33f5c8b48a0a8cecaeb3 100644 --- a/packages/monster/source/logging/handler.js +++ b/packages/monster/source/logging/handler.js @@ -11,14 +11,12 @@ import {LogEntry} from "./logentry.js"; import {validateInstance, validateInteger} from "../types/validate.js"; /** - * Handler class - * - * you can call the method via the monster namespace `new Monster.Logging.Logger()`. + * you can call the method via the monster namespace `new Monster.Logging.Handler()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; - * console.log(new Monster.Logging.Logger()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js'; + * console.log(new Monster.Logging.Handler()) * </script> * ``` * @@ -26,8 +24,8 @@ import {validateInstance, validateInteger} from "../types/validate.js"; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; - * console.log(new Logger()) + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler.js'; + * console.log(new Handler()) * </script> * ``` * @@ -40,7 +38,9 @@ class Handler extends Base { super(); /** - * @type {integer} Loglevel + * Loglevel + * + * @type {integer} */ this.loglevel = OFF; } diff --git a/packages/monster/source/logging/handler/console.js b/packages/monster/source/logging/handler/console.js index 4c6c7ecb2b44b04bb12766ef41a1b986b6d79c1a..9ce72f9040085bc0acff2b91c8efee4685424e56 100644 --- a/packages/monster/source/logging/handler/console.js +++ b/packages/monster/source/logging/handler/console.js @@ -9,14 +9,12 @@ import {Base} from '../../types/base.js'; import {Handler} from '../../logging/handler.js'; /** - * Handler class - * - * you can call the method via the monster namespace `new Monster.Logging.Logger()`. + * you can call the method via the monster namespace `new Monster.Logging.Handler.ConsoleHandler()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; - * console.log(new Monster.Logging.Logger()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js'; + * console.log(new Monster.Logging.Handler.ConsoleHandler()) * </script> * ``` * @@ -24,8 +22,8 @@ import {Handler} from '../../logging/handler.js'; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; - * console.log(new Logger()) + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/handler/console.js'; + * console.log(new ConsoleHandler()) * </script> * ``` * diff --git a/packages/monster/source/logging/handler/namespace.js b/packages/monster/source/logging/handler/namespace.js index 4c2a9fe94619299f047ee9fc4a4f0ec677896637..e89d7b3dbb99a6b580c9d40b2fd33e1963caa401 100644 --- a/packages/monster/source/logging/handler/namespace.js +++ b/packages/monster/source/logging/handler/namespace.js @@ -3,4 +3,11 @@ /** * @namespace Monster/Logging/Handler * @author schukai GmbH - */ \ No newline at end of file + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Logging.Handler"; \ No newline at end of file diff --git a/packages/monster/source/logging/logentry.js b/packages/monster/source/logging/logentry.js index 420a625a670a5e4d559ad0ab10d602c2586437fb..f8854b7940b65efdfe433b3403dfb1e4e29db791 100644 --- a/packages/monster/source/logging/logentry.js +++ b/packages/monster/source/logging/logentry.js @@ -10,14 +10,12 @@ import {Base} from '../types/base.js'; /** - * Log class - * - * you can call the method via the monster namespace `new Monster.Logging.Log()`. + * you can call the method via the monster namespace `new Monster.Logging.LogEntry()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/log.js'; - * console.log(new Monster.Logging.Log()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js'; + * console.log(new Monster.Logging.LogEntry()) * </script> * ``` * @@ -25,8 +23,8 @@ import {Base} from '../types/base.js'; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/log.js'; - * console.log(new Log()) + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logentry.js'; + * console.log(new LogEntry()) * </script> * ``` * diff --git a/packages/monster/source/logging/logger.js b/packages/monster/source/logging/logger.js index efbe55c8bc905cf52a02b66a8838efd34f097b17..ed98c448f9d187e2212559db6dd01254ff95c6cf 100644 --- a/packages/monster/source/logging/logger.js +++ b/packages/monster/source/logging/logger.js @@ -11,24 +11,61 @@ import {LogEntry} from '../logging/logentry.js'; import {Base} from '../types/base.js'; -/** ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF */ +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const ALL = 255; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const TRACE = 64; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const DEBUG = 32; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const INFO = 16; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const WARN = 8; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const ERROR = 4; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const FATAL = 2; +/** + * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF + * @type {number} + * @memberOf Monster/Logging + */ const OFF = 0; /** - * Logger class - * * you can call the method via the monster namespace `new Monster.Logging.Logger()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; * console.log(new Monster.Logging.Logger()) * </script> * ``` @@ -37,7 +74,7 @@ const OFF = 0; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; * console.log(new Logger()) * </script> * ``` diff --git a/packages/monster/source/logging/namespace.js b/packages/monster/source/logging/namespace.js index b5cc06dd0eed06ddfd79e754780d75f118b42cb3..21a9c02f6260e8046d2157e1cf4a344223446b9b 100644 --- a/packages/monster/source/logging/namespace.js +++ b/packages/monster/source/logging/namespace.js @@ -3,4 +3,11 @@ /** * @namespace Monster/Logging * @author schukai GmbH - */ \ No newline at end of file + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Logging"; \ No newline at end of file diff --git a/packages/monster/source/math/namespace.js b/packages/monster/source/math/namespace.js index 2b29d6a78c36d03b852a7a990d7dc1f711a75fe1..ae63fe3dcc84e16cadac4ff04a032bfc5a3ab9f6 100644 --- a/packages/monster/source/math/namespace.js +++ b/packages/monster/source/math/namespace.js @@ -4,3 +4,10 @@ * @namespace Monster/Math * @author schukai GmbH */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Math"; \ No newline at end of file diff --git a/packages/monster/source/math/random.js b/packages/monster/source/math/random.js index 6463d905df0bf838ac494bcb0aa9b634ff99bfa4..c4ce95f4942bc7fac6a878535d955e6b26c96b09 100644 --- a/packages/monster/source/math/random.js +++ b/packages/monster/source/math/random.js @@ -4,7 +4,8 @@ * @author schukai GmbH */ -import {Monster} from '../namespace.js'; + +import {Monster, getGlobal} from '../types/global.js'; /** @@ -14,7 +15,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; * console.log(Monster.Math.random(1,10)) // ↦ 5 * </script> * ``` @@ -23,7 +24,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; + * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; * console.log(random(1,10)) // ↦ 5 * </script> * ``` @@ -53,8 +54,13 @@ function random(min, max) { } +/** + * @private + * @type {number} + */ var MAX = 1000000000; + Math.log2 = Math.log2 || function (n) { return Math.log(n) / Math.log(2); }; @@ -67,13 +73,10 @@ Math.log2 = Math.log2 || function (n) { * @private */ function create(min, max) { - var crypt; + let crypt; + let globalReference = getGlobal(); - if (typeof global !== "undefined") { - crypt = global?.['crypto'] || global?.['msCrypto']; - } else { - crypt = typeof crypto !== "undefined" ? crypto : undefined; - } + crypt = globalReference?.['crypto'] || globalReference?.['msCrypto'] || globalReference?.['crypto'] || undefined; if (typeof crypt === "undefined") { throw new Error("missing crypt") diff --git a/packages/monster/source/monster.js b/packages/monster/source/monster.js index 3e82cb9545352f765ac88367d2b1cdc9cb9bd10e..fdd2ba6262ebc2d830ddc25a552c62c1743cc56b 100644 --- a/packages/monster/source/monster.js +++ b/packages/monster/source/monster.js @@ -8,28 +8,56 @@ 'use strict'; import {Monster} from './namespace.js'; +import './types/base.js'; +import './types/global.js'; import './types/id.js'; import './types/is.js'; -import './types/base.js'; import './types/observer.js'; import './types/observerlist.js'; import './types/proxyobserver.js'; -import './types/version.js'; +import './types/queue.js'; +import './types/randomid.js'; +import './types/stack.js'; import './types/tokenlist.js'; +import './types/uniquequeue.js'; import './types/validate.js'; import './types/version.js'; import './math/random.js'; +import './data/diff.js'; +import './data/pathfinder.js'; +import './data/pipe.js'; +import './data/transformer.js'; +import './logging/handler.js'; +import './logging/logentry.js'; +import './logging/logger.js'; +import './logging/handler/console.js'; import './util/clone.js'; import './util/comparator.js'; import './util/freeze.js'; import './constraints/abstract.js'; +import './constraints/abstractoperator.js'; import './constraints/andoperator.js'; import './constraints/invalid.js'; import './constraints/isarray.js'; import './constraints/isobject.js'; -import './constraints/abstractoperator.js'; import './constraints/oroperator.js'; import './constraints/valid.js'; +import './dom/util.js'; +import './dom/template.js'; +import './dom/handle.js'; +import './dom/assembler.js'; + Monster.Util.deepFreeze(Monster); -export {Monster}; \ No newline at end of file +export {Monster}; + +let rootName +try { + rootName = Monster.Types.getGlobalObject('__MonsterRootName__'); +} catch (e) { + +} + +if (!rootName) rootName = "Monster"; + +Monster.Types.getGlobal()[rootName] = Monster \ No newline at end of file diff --git a/packages/monster/source/namespace.js b/packages/monster/source/namespace.js index 35043fb689e43607a4934e5b93098d276a036d90..ebb89fb84c348c3a3aa147e55580e2022751b160 100644 --- a/packages/monster/source/namespace.js +++ b/packages/monster/source/namespace.js @@ -14,7 +14,6 @@ * via `obj instanceof Monster.Namespace` it is also easy to check whether it is an object or a namespace. * * @memberOf Monster - * @copyright schukai GmbH * @since 1.0.0 */ @@ -50,7 +49,6 @@ class Namespace { } /** - * * @type {Namespace} * @global */ @@ -71,7 +69,7 @@ assignToNamespace('Monster', assignToNamespace); * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/namespace.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/namespace.js'; * function hello() { * console.log('Hello World!'); * } diff --git a/packages/monster/source/types/base.js b/packages/monster/source/types/base.js index e160b64b4c5f6693d04546c53ffc0969de2d9d28..73c61693ce7793dd61dcf1c9cec2b407d164052b 100644 --- a/packages/monster/source/types/base.js +++ b/packages/monster/source/types/base.js @@ -14,7 +14,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; * console.log(new Monster.Types.Base()) * console.log(new Monster.Types.Base()) * </script> @@ -24,7 +24,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; + * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; * console.log(new Base()) * console.log(new Base()) * </script> diff --git a/packages/monster/source/types/global.js b/packages/monster/source/types/global.js new file mode 100644 index 0000000000000000000000000000000000000000..2921758b340682809d8e8ba577c1c5d21d5d1360 --- /dev/null +++ b/packages/monster/source/types/global.js @@ -0,0 +1,128 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster} from '../namespace.js'; +import {validateFunction, validateString, validateObject} from "./validate.js"; + +/** + * @type {objec} + * @private + */ +var globalReference; + +/** + * @private + */ +(function () { + if (typeof globalThis === 'object') { + globalReference = globalThis; + return; + } + + Object.defineProperty(Object.prototype, '__monster__', { + get: function () { + return this; + }, + configurable: true + }); + + __monster__.globalThis = __monster__; + delete Object.prototype.__monster__; + + globalReference = globalThis; + +}()); + +/** + * return globalThis + * + * if globalThis is not available, it will be polyfilled + * + * @since 1.6.0 + * @memberOf Monster/Types + * @returns {objec} globalThis + */ +function getGlobal() { + return globalReference; +} + +/** + * return global object or throw Error + * + * you can call the method via the monster namespace `Monster.Types.getGlobalObject()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(Monster.Types.getGlobalObject('document')) // ↦ { } + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(getGlobalObject('document')) // ↦ { } + * </script> + * ``` + * + * @since 1.6.0 + * @memberOf Monster/Types + * @param {string} name + * @returns {objec} + * @throws {Error} the object is not defined + * @throws {TypeError} value is not a object + * @throws {TypeError} value is not a string + */ +function getGlobalObject(name) { + validateString(name); + let o = globalReference?.[name]; + if (typeof o === 'undefined') throw new Error('the object '+name+' is not defined'); + validateObject(o); + return o; +} + +/** + * return global function or throw Error + * + * you can call the method via the monster namespace `Monster.Types.getGlobalFunction()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { } + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { } + * </script> + * ``` + * + * @since 1.6.0 + * @memberOf Monster/Types + * @param {string} name + * @returns {objec} + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + * @throws {TypeError} value is not a string + */ +function getGlobalFunction(name) { + validateString(name); + let f = globalReference?.[name]; + if (typeof f === 'undefined') throw new Error('the function '+name+' is not defined'); + validateFunction(f); + return f; +} + + +Monster.assignToNamespace('Monster.Types', getGlobal, getGlobalObject, getGlobalFunction); +export {Monster, getGlobal, getGlobalObject, getGlobalFunction} \ No newline at end of file diff --git a/packages/monster/source/types/id.js b/packages/monster/source/types/id.js index b55cf63bf23b4f5e17c71b6260bca0149ce79cd0..485b16eeb6bd941f3a9527766c42ea6bec3d1888 100644 --- a/packages/monster/source/types/id.js +++ b/packages/monster/source/types/id.js @@ -4,20 +4,27 @@ * @author schukai GmbH */ -import {Monster} from '../namespace.js'; -import {random} from '../math/random.js'; -import {Base} from './base.js'; +import {Monster, Base} from './base.js'; +import {validateString} from "./validate.js"; -let internalCounter = 0; +/** + * @private + * @type {Map<string, integer>} + */ +let internalCounter = new Map; /** - * id class + * with the id class, sequences of ids can be created. for this purpose, an internal counter is incremented for each prefix. + * thus, the first id with the prefix `myid` will be `myid1` and the second id `myid2`. + * The ids are the same for every call, for example on a web page. + * + * so the ids can also be used for navigation. you just have to take care that the order stays the same. * * you can call the method via the monster namespace `new Monster.Types.ID()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Monster.Types.ID()) * </script> * ``` @@ -26,11 +33,13 @@ let internalCounter = 0; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new ID()) * </script> * ``` * + * as of version 1.6.0 there is the new RandomID. this ID class is continuous from now on. + * * @since 1.0.0 * @copyright schukai GmbH * @memberOf Monster/Types @@ -40,17 +49,28 @@ class ID extends Base { /** * create new object */ - constructor() { + constructor(prefix) { super(); - internalCounter += 1; + if (prefix === undefined) { + prefix = "id"; + } + + validateString(prefix); - this.id = global.btoa(random(1, 10000)) - .replace(/=/g, '') - /** No numbers at the beginning of the ID, because of possible problems with DOM */ - .replace(/^[0-9]+/, 'X') + internalCounter; + if (!internalCounter.has(prefix)) { + internalCounter.set(prefix, 1); + } + + let count = internalCounter.get(prefix); + this.id = prefix + count; + + internalCounter.set(prefix, ++count); } + /** + * @return {string} + */ toString() { return this.id; } diff --git a/packages/monster/source/types/is.js b/packages/monster/source/types/is.js index 40ca4e64cb083e85ef0590af06a487d514cba54d..b024a2d66989aa3c1f3123a07bd746ae68a31a91 100644 --- a/packages/monster/source/types/is.js +++ b/packages/monster/source/types/is.js @@ -13,7 +13,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isIterable(null)) // ↦ false * console.log(Monster.Types.isIterable('hello')) // ↦ true * console.log(Monster.Types.isIterable([])) // ↦ true @@ -24,7 +24,7 @@ import {Monster} from '../namespace.js'; * * ``` * <script type="module"> - * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isIterable(null)) // ↦ false * console.log(isIterable('hello')) // ↦ true * console.log(isIterable([])) // ↦ true @@ -51,7 +51,7 @@ function isIterable(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isPrimitive('2')) // ↦ false * console.log(Monster.Types.isPrimitive([])) // ↦ true * </script> @@ -61,7 +61,7 @@ function isIterable(value) { * * ``` * <script type="module"> - * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isPrimitive('2')) // ↦ true * console.log(isPrimitive([])) // ↦ false * </script> @@ -96,7 +96,7 @@ function isPrimitive(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isBoolean('2')) // ↦ false * console.log(Monster.Types.isBoolean([])) // ↦ false * console.log(Monster.Types.isBoolean(true)) // ↦ true @@ -107,7 +107,7 @@ function isPrimitive(value) { * * ``` * <script type="module"> - * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isBoolean('2')) // ↦ false * console.log(isBoolean([])) // ↦ false * console.log(isBoolean(2>4)) // ↦ true @@ -136,7 +136,7 @@ function isBoolean(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isString('2')) // ↦ true * console.log(Monster.Types.isString([])) // ↦ false * </script> @@ -146,7 +146,7 @@ function isBoolean(value) { * * ``` * <script type="module"> - * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isString('2')) // ↦ true * console.log(isString([])) // ↦ false * </script> @@ -172,7 +172,7 @@ function isString(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isObject('2')) // ↦ false * console.log(Monster.Types.isObject([])) // ↦ false * console.log(Monster.Types.isObject({})) // ↦ true @@ -183,7 +183,7 @@ function isString(value) { * * ``` * <script type="module"> - * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isObject('2')) // ↦ false * console.log(isObject([])) // ↦ false * </script> @@ -214,7 +214,7 @@ function isObject(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isInstance('2')) // ↦ false * console.log(Monster.Types.isInstance([])) // ↦ false * console.log(Monster.Types.isInstance({})) // ↦ true @@ -225,7 +225,7 @@ function isObject(value) { * * ``` * <script type="module"> - * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isInstance('2')) // ↦ false * console.log(isInstance([])) // ↦ false * </script> @@ -254,7 +254,7 @@ function isInstance(value, instance) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isArray('2')) // ↦ false * console.log(Monster.Types.isArray([])) // ↦ true * </script> @@ -264,7 +264,7 @@ function isInstance(value, instance) { * * ``` * <script type="module"> - * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isArray('2')) // ↦ false * console.log(isArray([])) // ↦ true * </script> @@ -290,7 +290,7 @@ function isArray(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isFunction(()=>{})) // ↦ true * console.log(Monster.Types.isFunction('2')) // ↦ false * console.log(Monster.Types.isFunction([])) // ↦ false @@ -301,7 +301,7 @@ function isArray(value) { * * ``` * <script type="module"> - * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isFunction(()=>{})) // ↦ true * console.log(isFunction('2')) // ↦ false * console.log(isFunction([])) // ↦ false @@ -333,7 +333,7 @@ function isFunction(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isInteger(()=>{})) // ↦ true * console.log(Monster.Types.isInteger('2')) // ↦ false * console.log(Monster.Types.isInteger(2)) // ↦ true @@ -344,7 +344,7 @@ function isFunction(value) { * * ``` * <script type="module"> - * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isInteger(()=>{})) // ↦ true * console.log(isInteger('2')) // ↦ false * console.log(isInteger(2)) // ↦ true diff --git a/packages/monster/source/types/namespace.js b/packages/monster/source/types/namespace.js index 5e30d8f07aaf39bbec5fbc0468207ae34199ea04..9908d75ee4e4bccb7ed7d866a1acc1a0456389f2 100644 --- a/packages/monster/source/types/namespace.js +++ b/packages/monster/source/types/namespace.js @@ -3,4 +3,11 @@ /** * @namespace Monster/Types * @author schukai GmbH - */ \ No newline at end of file + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Types"; \ No newline at end of file diff --git a/packages/monster/source/types/observer.js b/packages/monster/source/types/observer.js index 3844002adb0dd4da85286052502e5ecc4c11b9d7..b7d56025a7a3b3d9da88c9621e80aa838e3aa085 100644 --- a/packages/monster/source/types/observer.js +++ b/packages/monster/source/types/observer.js @@ -17,7 +17,7 @@ import {UniqueQueue} from './uniquequeue.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; * console.log(new Monster.Types.Observer()) * </script> * ``` @@ -26,7 +26,7 @@ import {UniqueQueue} from './uniquequeue.js'; * * ``` * <script type="module"> - * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; * console.log(Observer()) * </script> * ``` @@ -131,6 +131,7 @@ class Observer extends Base { return new Promise(function (resolve, reject) { if (!isObject(subject)) { reject("subject must be an object"); + return; } self.queue.add(subject); diff --git a/packages/monster/source/types/observerlist.js b/packages/monster/source/types/observerlist.js index f3c7e02855c19f2cf87010a42cbdac4d031c9e2b..b3b183c5c9f6d32231c0cffc778e7ca736aa0820 100644 --- a/packages/monster/source/types/observerlist.js +++ b/packages/monster/source/types/observerlist.js @@ -5,7 +5,9 @@ */ import {Monster} from '../namespace.js'; -import {Base} from './base.js'; +import {Base} from './base.js'; +import {Observer} from "./observer.js"; +import {validateInstance} from "./validate.js"; /** * With the help of the ObserverList class, observer can be managed. @@ -14,9 +16,9 @@ import {Base} from './base.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; - * console.log(new Monster.Types.ObserverList()) - * console.log(new Monster.Types.ObserverList()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; + * console.log(new Monster.Types.ObserverList()) + * console.log(new Monster.Types.ObserverList()) * </script> * ``` * @@ -24,7 +26,7 @@ import {Base} from './base.js'; * * ``` * <script type="module"> - * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; + * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; * console.log(ObserverList()) * console.log(ObserverList()) * </script> @@ -36,19 +38,36 @@ import {Base} from './base.js'; */ class ObserverList extends Base { + /** + * + */ constructor() { super(); this.observers = []; } + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ attach(observer) { - checkIsObserver(observer); + validateInstance(observer, Observer) + this.observers.push(observer); return this; }; + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ detach(observer) { - checkIsObserver(observer); + validateInstance(observer, Observer) + var i = 0, l = this.observers.length; for (; i < l; i++) { if (this.observers[i] === observer) { @@ -59,8 +78,14 @@ class ObserverList extends Base { return this; }; + /** + * + * @param {Observer} observer + * @return {boolean} + * @throws {TypeError} value is not an instance of Observer + */ contains(observer) { - checkIsObserver(observer); + validateInstance(observer, Observer) var i = 0, l = this.observers.length; for (; i < l; i++) { if (this.observers[i] === observer) { @@ -70,6 +95,11 @@ class ObserverList extends Base { return false; }; + /** + * + * @param subject + * @return {Promise} + */ notify(subject) { let pomises = [] @@ -84,18 +114,5 @@ class ObserverList extends Base { } -/** - * - * @param {Monster.Types.Observer} observer - * @returns {boolean} - * @private - */ -function checkIsObserver(observer) { - if (!(observer instanceof Monster.Types.Observer)) { - throw new Error("argument must be instance of observer") - } - return true; -} - Monster.assignToNamespace('Monster.Types', ObserverList); export {Monster, ObserverList} diff --git a/packages/monster/source/types/proxyobserver.js b/packages/monster/source/types/proxyobserver.js index 29f7d370b11a595b2ffefd5891870db4b559f51b..19976834d6d89c682aacc4c40fdc4d443c00371d 100644 --- a/packages/monster/source/types/proxyobserver.js +++ b/packages/monster/source/types/proxyobserver.js @@ -18,7 +18,7 @@ import {isObject, isArray, isPrimitive} from "./is.js"; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; * console.log(new Monster.Types.ProxyObserver()) * </script> * ``` @@ -27,7 +27,7 @@ import {isObject, isArray, isPrimitive} from "./is.js"; * * ``` * <script type="module"> - * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; * console.log(new ProxyObserver()) * </script> * ``` @@ -68,6 +68,7 @@ class ProxyObserver extends Base { /** * * @param {object} object + * @throws {TypeError} value is not a object */ constructor(object) { super(); diff --git a/packages/monster/source/types/queue.js b/packages/monster/source/types/queue.js index a1f544a011b8d64c55ea48ad8e973b5bc77892a8..5b0b1529b461b3f5df6ef8b8c925073e8d7180f4 100644 --- a/packages/monster/source/types/queue.js +++ b/packages/monster/source/types/queue.js @@ -1,13 +1,11 @@ import {Monster, Base} from './base.js'; /** - * queue class - * * you can call the method via the monster namespace `new Monster.Types.Queue()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; * console.log(new Monster.Types.Queue()) * </script> * ``` @@ -16,7 +14,7 @@ import {Monster, Base} from './base.js'; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; * console.log(new Queue()) * </script> * ``` diff --git a/packages/monster/source/types/randomid.js b/packages/monster/source/types/randomid.js new file mode 100644 index 0000000000000000000000000000000000000000..83d7b681a780bcdc9cfe8eae28cab9968901c422 --- /dev/null +++ b/packages/monster/source/types/randomid.js @@ -0,0 +1,59 @@ +'use strict'; + +/** + * @author schukai GmbH + */ + +import {Monster, ID} from "./id.js"; +import {getGlobal} from "./global.js"; +import {random} from "../math/random.js"; + +/** + * @private + * @type {number} + */ +let internalCounter = 0; + +/** + * you can call the method via the monster namespace `new Monster.Types.RandomID()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; + * console.log(new Monster.Types.RandomID()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; + * console.log(new RandomID()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/Types + */ +class RandomID extends ID { + + /** + * create new object + */ + constructor() { + super(); + + internalCounter += 1; + + this.id = getGlobal().btoa(random(1, 10000)) + .replace(/=/g, '') + /** No numbers at the beginning of the ID, because of possible problems with DOM */ + .replace(/^[0-9]+/, 'X') + internalCounter; + } + +} + +Monster.assignToNamespace('Monster.Types', RandomID); +export {Monster, RandomID} diff --git a/packages/monster/source/types/stack.js b/packages/monster/source/types/stack.js index fb44bd3b5fb7dedc7aab17b7c6bc9b13b6f6df30..aa99ce607403cb7223380bc4045a6c26a0217cb1 100644 --- a/packages/monster/source/types/stack.js +++ b/packages/monster/source/types/stack.js @@ -1,13 +1,11 @@ import {Monster, Base} from './base.js'; /** - * Stack class - * * you can call the method via the monster namespace `new Monster.Types.Queue()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/stack.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; * console.log(new Monster.Types.Stack()) * </script> * ``` @@ -16,7 +14,7 @@ import {Monster, Base} from './base.js'; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/stack.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; * console.log(new Stack()) * </script> * ``` diff --git a/packages/monster/source/types/tokenlist.js b/packages/monster/source/types/tokenlist.js index fa5c35a8d5e501e1f8a248a07040e2bc4a8ad792..0edca64450a3e6c042017343c04de9ee1090674f 100644 --- a/packages/monster/source/types/tokenlist.js +++ b/packages/monster/source/types/tokenlist.js @@ -18,7 +18,7 @@ import {validateString, validateFunction} from '../types/validate.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; * console.log(new Monster.Types.TokenList("myclass row")) * console.log(new Monster.Types.TokenList("myclass row")) * </script> @@ -28,7 +28,7 @@ import {validateString, validateFunction} from '../types/validate.js'; * * ``` * <script type="module"> - * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; + * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; * console.log(new TokenList("myclass row")) * console.log(new TokenList("myclass row")) * </script> diff --git a/packages/monster/source/types/uniquequeue.js b/packages/monster/source/types/uniquequeue.js index a38e027db7b92c7cc0b783dfade81f0c95cf16c8..df6f7bb8de51e1770029335d0602636e58ef6abe 100644 --- a/packages/monster/source/types/uniquequeue.js +++ b/packages/monster/source/types/uniquequeue.js @@ -2,13 +2,11 @@ import {Monster, Queue} from "./queue.js"; import {validateObject} from "./validate.js"; /** - * UniqueQueue class - * * you can call the method via the monster namespace `new Monster.Types.Queue()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; * console.log(new Monster.Types.UniqueQueue()) * </script> * ``` @@ -17,7 +15,7 @@ import {validateObject} from "./validate.js"; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; * console.log(new UniqueQueue()) * </script> * ``` diff --git a/packages/monster/source/types/validate.js b/packages/monster/source/types/validate.js index 297954b9105d75d5b344c67ff19141e2ce6aefce..ad5331feb80173ff545f1aa9abfaf5c47ffc77c4 100644 --- a/packages/monster/source/types/validate.js +++ b/packages/monster/source/types/validate.js @@ -24,7 +24,7 @@ import { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError * console.log(Monster.Types.validateIterable([])) // ↦ undefined * </script> @@ -34,7 +34,7 @@ import { * * ``` * <script type="module"> - * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateIterable('2')) // ↦ TypeError * console.log(validateIterable([])) // ↦ undefined * </script> @@ -63,7 +63,7 @@ function validateIterable(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validatePrimitive('2')) // ↦ undefined * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError * </script> @@ -73,7 +73,7 @@ function validateIterable(value) { * * ``` * <script type="module"> - * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validatePrimitive('2')) // ↦ undefined * console.log(validatePrimitive([])) // ↦ TypeError * </script> @@ -102,7 +102,7 @@ function validatePrimitive(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateBoolean(true)) // ↦ undefined * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError @@ -113,7 +113,7 @@ function validatePrimitive(value) { * * ``` * <script type="module"> - * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateBoolean(false)) // ↦ undefined * console.log(validateBoolean('2')) // ↦ TypeError * console.log(validateBoolean([])) // ↦ TypeError @@ -141,7 +141,7 @@ function validateBoolean(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateString('2')) // ↦ undefined * console.log(Monster.Types.validateString([])) // ↦ TypeError * </script> @@ -151,7 +151,7 @@ function validateBoolean(value) { * * ``` * <script type="module"> - * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateString('2')) // ↦ undefined * console.log(validateString([])) // ↦ TypeError * </script> @@ -178,7 +178,7 @@ function validateString(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateObject({})) // ↦ undefined * console.log(Monster.Types.validateObject('2')) // ↦ TypeError * console.log(Monster.Types.validateObject([])) // ↦ TypeError @@ -189,7 +189,7 @@ function validateString(value) { * * ``` * <script type="module"> - * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateObject({})) // ↦ undefined * console.log(validateObject('2')) // ↦ TypeError * console.log(validateObject([])) // ↦ TypeError @@ -210,13 +210,13 @@ function validateObject(value) { } /** - * this method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown. + * this method checks if the type matches the object instance. * - * you can call the method via the monster namespace `Monster.Types.validateObject()`. + * you can call the method via the monster namespace `Monster.Types.validateInstance()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateInstance({}, Object)) // ↦ undefined * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError @@ -227,7 +227,7 @@ function validateObject(value) { * * ``` * <script type="module"> - * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateInstance({}, Object)) // ↦ undefined * console.log(validateInstance('2', Object)) // ↦ TypeError * console.log(validateInstance([], Object)) // ↦ TypeError @@ -243,7 +243,16 @@ function validateObject(value) { */ function validateInstance(value, instance) { if (!isInstance(value, instance)) { - throw new TypeError('value is not an instance of') + let n = ""; + if (isObject(instance) || isFunction(instance)) { + n = instance?.['name'] + } + + if (n) { + n = " " + n; + } + + throw new TypeError('value is not an instance of' + n) } } @@ -254,7 +263,7 @@ function validateInstance(value, instance) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateArray('2')) // ↦ TypeError * console.log(Monster.Types.validateArray([])) // ↦ undefined * </script> @@ -264,7 +273,7 @@ function validateInstance(value, instance) { * * ``` * <script type="module"> - * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateArray('2')) // ↦ TypeError * console.log(validateArray([])) // ↦ undefined * </script> @@ -290,7 +299,7 @@ function validateArray(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateFunction(()=>{})) // ↦ undefined * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError * console.log(Monster.Types.validateFunction([])) // ↦ TypeError @@ -301,7 +310,7 @@ function validateArray(value) { * * ``` * <script type="module"> - * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateFunction(()=>{})) // ↦ undefined * console.log(validateFunction('2')) // ↦ TypeError * console.log(validateFunction([])) // ↦ TypeError @@ -328,7 +337,7 @@ function validateFunction(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError * console.log(Monster.Types.validateInteger(2)) // ↦ undefined @@ -339,7 +348,7 @@ function validateFunction(value) { * * ``` * <script type="module"> - * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateInteger(true)) // ↦ TypeError * console.log(validateInteger('2')) // ↦ TypeError * console.log(validateInteger(2)) // ↦ undefined diff --git a/packages/monster/source/types/version.js b/packages/monster/source/types/version.js index 026bd94d1763de65b68b2ba549714a23b84d8989..4dc0af24849835119751855ad29fec81fb8cf092 100644 --- a/packages/monster/source/types/version.js +++ b/packages/monster/source/types/version.js @@ -10,7 +10,7 @@ import {Base} from './base.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3 * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0 * </script> @@ -20,7 +20,7 @@ import {Base} from './base.js'; * * ``` * <script type="module"> - * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(new Version('1.2.3')) // ↦ 1.2.3 * console.log(new Version('1')) // ↦ 1.0.0 * </script> @@ -150,7 +150,7 @@ let monsterVersion; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(Monster.getVersion()) * console.log(Monster.getVersion()) * </script> @@ -160,7 +160,7 @@ let monsterVersion; * * ``` * <script type="module"> - * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(getVersion()) * console.log(getVersion()) * </script> @@ -177,7 +177,7 @@ function getVersion() { return monsterVersion; } /**#@+ dont touch, replaced by make with package.json version */ - monsterVersion = new Version('1.5.0') + monsterVersion = new Version('1.6.0') /**#@-*/ return monsterVersion; diff --git a/packages/monster/source/util/clone.js b/packages/monster/source/util/clone.js index cf9ce0de06e77cbe6040722c836ebfd9b1860744..b9a1523a5c8f7e3fb03b5a8ad9f6cb8c67b5e6c4 100644 --- a/packages/monster/source/util/clone.js +++ b/packages/monster/source/util/clone.js @@ -6,6 +6,7 @@ import {Monster} from '../namespace.js'; import {isObject, isFunction, isPrimitive, isArray} from '../types/is.js'; +import {getGlobal} from '../types/global.js'; /** @@ -21,7 +22,7 @@ import {isObject, isFunction, isPrimitive, isArray} from '../types/is.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; * console.log(Monster.Util.clone({})) * </script> * ``` @@ -30,7 +31,7 @@ import {isObject, isFunction, isPrimitive, isArray} from '../types/is.js'; * * ``` * <script type="module"> - * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; + * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; * console.log(clone({})) * </script> * ``` @@ -87,6 +88,7 @@ function clone(obj) { if (typeof DocumentFragment !== 'undefined' && obj instanceof DocumentFragment) return obj; /** Do not clone global objects */ + if (obj === getGlobal()) return obj; if (typeof globalContext !== 'undefined' && obj === globalContext) return obj; if (typeof window !== 'undefined' && obj === window) return obj; if (typeof document !== 'undefined' && obj === document) return obj; diff --git a/packages/monster/source/util/comparator.js b/packages/monster/source/util/comparator.js index 5b7495c0eed89235d80bf5a83c8d3becef3fe8a0..cac6b17f7654f3968535d3dc8ddde177bafad79c 100644 --- a/packages/monster/source/util/comparator.js +++ b/packages/monster/source/util/comparator.js @@ -12,7 +12,7 @@ import {isFunction} from '../types/is.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Monster.Util.Comparator()) * console.log(new Monster.Util.Comparator()) * </script> @@ -22,7 +22,7 @@ import {isFunction} from '../types/is.js'; * * ``` * <script type="module"> - * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Util()) * console.log(new Util()) * </script> diff --git a/packages/monster/source/util/freeze.js b/packages/monster/source/util/freeze.js index c15f4b590ef2d7d47fbe79df5e1229ce363131e1..c952ce87c7074ddd5c8e5b1077b28ecd636d8383 100644 --- a/packages/monster/source/util/freeze.js +++ b/packages/monster/source/util/freeze.js @@ -14,7 +14,7 @@ import {validateObject} from '../types/validate.js'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js'; * console.log(Monster.Util.deepFreeze({})) * </script> * ``` @@ -23,7 +23,7 @@ import {validateObject} from '../types/validate.js'; * * ``` * <script type="module"> - * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/freeze.js'; + * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/freeze.js'; * console.log(deepFreeze({})) * </script> * ``` diff --git a/packages/monster/source/util/namespace.js b/packages/monster/source/util/namespace.js index d45de871cf1601f70ac2540c715fdcfceac583e9..5f33e41056acaf91aae8f6574aa6172dc5da3e58 100644 --- a/packages/monster/source/util/namespace.js +++ b/packages/monster/source/util/namespace.js @@ -3,4 +3,11 @@ /** * @namespace Monster/Util * @author schukai GmbH - */ \ No newline at end of file + */ + + +/** + * @private + * @type {string} + */ +const namespace="Monster.Util"; \ No newline at end of file diff --git a/packages/monster/test/cases/data/diff.js b/packages/monster/test/cases/data/diff.js new file mode 100644 index 0000000000000000000000000000000000000000..6ab19b44b1100529e3ef8b06f1d170663c3c1d32 --- /dev/null +++ b/packages/monster/test/cases/data/diff.js @@ -0,0 +1,144 @@ +"use strict"; + +import {Diff} from "../../../source/data/diff.js"; +import {expect} from "chai" +import {Queue} from "../../../source/types/queue.js"; + +describe('Diff', function () { + + const date1 = new Date; + + // https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Date/parse + const date2 = Date.parse('01 Jan 1970 00:00:00 GMT'); + const date3 = Date.parse('04 Dec 1995 00:12:00 GMT'); // Number + const date4 = Date.parse('04 Dec 1995 00:12:01 GMT'); // Number + + const date5 = new Date(Date.parse('04 Dec 1995 00:12:01 GMT')); // Date + const date6 = new Date(Date.parse('04 Dec 1995 00:12:02 GMT')); // Date + + [ + + [ + {}, + { + a: new Queue() + }, + '[{"operator":"add","path":["a"],"second":{"value":{"data":[]},"type":"object","instance":"Queue"}}]' + ], + + [ + { + a: { + b: 1 + }, + c: { + d: 2 + } + }, + { + a: { + e: 3 + }, + f: { + d: 2 + } + }, + '[{"operator":"delete","path":["a","b"],"first":{"value":1,"type":"number"}},{"operator":"add","path":["a","e"],"second":{"value":3,"type":"number"}},{"operator":"delete","path":["c"],"first":{"value":{"d":2},"type":"object","instance":"Object"}},{"operator":"add","path":["f"],"second":{"value":{"d":2},"type":"object","instance":"Object"}}]' + ], + + [ + { + a: date1, + c: date4 + }, + { + a: date2, + b: date3 + }, + '[{"operator":"update","path":["a"],"first":{"value":"' + date1.toISOString() + '","type":"object","instance":"Date"},"second":{"value":0,"type":"number"}},{"operator":"delete","path":["c"],"first":{"value":818035921000,"type":"number"}},{"operator":"add","path":["b"],"second":{"value":818035920000,"type":"number"}}]' + ], + + [ + { + a: date5 + }, + { + b: date6 + }, + '[{"operator":"delete","path":["a"],"first":{"value":"1995-12-04T00:12:01.000Z","type":"object","instance":"Date"}},{"operator":"add","path":["b"],"second":{"value":"1995-12-04T00:12:02.000Z","type":"object","instance":"Date"}}]' + ], + [ + { + a: date1 + }, + { + a: date1 + }, + '[]' + ], + [ + {}, + { + a: date3 + }, + '[{"operator":"add","path":["a"],"second":{"value":818035920000,"type":"number"}}]' + ], + + [ + { + a: date2 + }, + { + a: date3 + }, + '[{"operator":"update","path":["a"],"first":{"value":0,"type":"number"},"second":{"value":818035920000,"type":"number"}}]' + ], + + [ + { + a: 1 + }, + { + a: 2 + }, + '[{"operator":"update","path":["a"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}}]' + ], + + [ + { + a: 1 + }, + { + x: 1 + }, + '[{"operator":"delete","path":["a"],"first":{"value":1,"type":"number"}},{"operator":"add","path":["x"],"second":{"value":1,"type":"number"}}]' + ], + + [ + { + a: 1 + }, + { + a: 2, + x: 1 + }, + '[{"operator":"update","path":["a"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}},{"operator":"add","path":["x"],"second":{"value":1,"type":"number"}}]' + ] + + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + let c = data.shift() + + + it('Diff should result '+c, function () { + let d = Diff(a, b); + expect(JSON.stringify(d)).is.equal(c); + }); + + + }); + +}) \ No newline at end of file diff --git a/packages/monster/test/cases/data/pathfinder.js b/packages/monster/test/cases/data/pathfinder.js index c12704871b09d4efb1a0cc0ee86cc406805ea306..9b2b91ebc9697980cf50fd5243c6cd9a498eb8f8 100644 --- a/packages/monster/test/cases/data/pathfinder.js +++ b/packages/monster/test/cases/data/pathfinder.js @@ -1,3 +1,5 @@ +"use strict"; + import {Pathfinder} from "../../../source/data/pathfinder.js"; import {expect} from "chai" @@ -122,6 +124,26 @@ describe('Pathfinder', function () { }); + describe('.deleteVia()', function () { + [ + ['a.b.e','{"a":{"b":{"c":[4,"test1",false,null,null],"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{}}}}'], + ['a.b.f','{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"j":{},"k":{},"l":{}}}}'], + ['a.b.j','{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"k":{},"l":{}}}}'], + + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + it('.deleteVia(' + a + ') should return ' + b + ' ', function () { + pathfinder.deleteVia(a) + expect(JSON.stringify(object)).is.equal(b); + }); + + + }); + }); + describe('.getVia()', function () { diff --git a/packages/monster/test/cases/data/pipe.js b/packages/monster/test/cases/data/pipe.js index 23eab9f241eee3e9325d31a8b0b1c9c505be557e..d3e2741af277bd36f2381d690a114bc349d97218 100644 --- a/packages/monster/test/cases/data/pipe.js +++ b/packages/monster/test/cases/data/pipe.js @@ -1,3 +1,5 @@ +"use strict"; + import {Pipe} from "../../../source/data/pipe.js"; import {expect} from "chai" import * as Crypto from "@peculiar/webcrypto"; diff --git a/packages/monster/test/cases/data/transformer.js b/packages/monster/test/cases/data/transformer.js index 2126b948eddaad99e719a39de64f228ef103f31e..66ed1b5dbe24d521133ad123b22e8fc54118ed21 100644 --- a/packages/monster/test/cases/data/transformer.js +++ b/packages/monster/test/cases/data/transformer.js @@ -1,3 +1,5 @@ +"use strict"; + import {Transformer} from "../../../source/data/transformer.js"; import {expect} from "chai" import {JSDOM} from "jsdom" diff --git a/packages/monster/test/cases/dom/assembler.js b/packages/monster/test/cases/dom/assembler.js new file mode 100644 index 0000000000000000000000000000000000000000..5e208fef22a44760bd75eaa4dfd0835fded65d40 --- /dev/null +++ b/packages/monster/test/cases/dom/assembler.js @@ -0,0 +1,56 @@ +'use strict'; + +import {expect} from "chai" + +import {ATTRIBUTEPREFIX, Assembler} from "../../../source/dom/assembler.js"; +import {initJSDOM} from "../../util/jsdom.js"; + +describe('Assembler', function () { + before(async function () { + initJSDOM(); + }) + describe('createDocumentFragment()', function () { + it('should return <div>One</div><div>Two</div>', function () { + + let fragment = document.createRange().createContextualFragment('<div>One</div><div>Two</div>'); + + let f = new Assembler(fragment); + + // convert to string + let container = document.createElement('div'); + container.appendChild(f.createDocumentFragment().cloneNode(true)); + + expect(container.innerHTML).to.be.equal('<div>One</div><div>Two</div>'); + }); + }); + + describe('createDocumentFragment()', function () { + it('should return DocumentFragment object', function () { + let d = new Assembler(document.createDocumentFragment()); + expect(d.createDocumentFragment()).to.be.instanceOf(DocumentFragment); + }); + }); + + describe('new', function () { + it('new Renderer() should return Assembler object', function () { + let d = new Assembler(document.createDocumentFragment()); + expect(d).to.be.instanceOf(Assembler); + }); + }); + + describe('getAttributePrefix()', function () { + it('should return ' + ATTRIBUTEPREFIX, function () { + let d = new Assembler(document.createDocumentFragment()); + expect(d.getAttributePrefix()).to.be.equal(ATTRIBUTEPREFIX); + }); + }); + + describe('setAttributePrefix().getAttributePrefix()', function () { + it('should return same value', function () { + let d = new Assembler(document.createDocumentFragment()); + expect(d.setAttributePrefix('test01').getAttributePrefix()).to.be.equal('test01'); + }); + }); + + +}); \ No newline at end of file diff --git a/packages/monster/test/cases/dom/handle.js b/packages/monster/test/cases/dom/handle.js new file mode 100644 index 0000000000000000000000000000000000000000..345b80fa17e0172b22512a1c70bac9a36eead626 --- /dev/null +++ b/packages/monster/test/cases/dom/handle.js @@ -0,0 +1,85 @@ +"use strict"; + +import {expect} from "chai" + +import {getGlobal} from "../../../source/types/global.js"; +import {Handle, getHandleFromNode} from "../../../source/dom/handle.js"; +import {getDocumentFragmentFromString} from "../../../source/dom/util.js"; +import {ProxyObserver} from "../../../source/types/proxyobserver.js"; +import {initJSDOM} from "../../util/jsdom.js"; + +describe('Handle', function () { + + before(async function () { + initJSDOM(); + }) + + let testnode; + + beforeEach(() => { + const fragment = getDocumentFragmentFromString("<div id='1'><div id='2'><div id='3'><div id='4'></div></div></div></div>"); + const body = document.querySelector('body'); + + body.appendChild(fragment); + testnode = document.getElementById('1') + }) + + afterEach(() => { + const body = document.querySelector('body'); + body.removeChild(testnode); + }) + + describe('new Handle()', function () { + it('should return Handle instance', function () { + + let g = getGlobal(); + + let data = {}; + let proxy = new ProxyObserver(data); + + let h = new Handle(proxy); + expect(h).to.be.instanceOf(Handle); + }); + + }); + + describe('getHandleFromNode()', function () { + it('should return handle', function () { + + let data = {}; + let proxy = new ProxyObserver(data); + + const handle = new Handle(proxy).append(document); + + let node4 = document.getElementById('4') + expect(getHandleFromNode(node4)).to.be.equal(handle); + + handle.remove(document); + + }); + + }); + + describe('Connect MutationObserver', function () { + it('should run observer', function (done) { + + let proxy = new ProxyObserver({}); + let element = document.querySelector('body'); + + + const handle = new Handle(proxy).append(element); + + document.getElementById('4').setAttribute('class', 'test'); + document.getElementById('4').appendChild(document.createElement('p')); + + //let s = proxy.getSubject(); + //s.a = 4; + setTimeout(()=>{ + handle.remove(element); + done(); + }) + + }); + + }); +}); \ No newline at end of file diff --git a/packages/monster/test/cases/dom/template.js b/packages/monster/test/cases/dom/template.js new file mode 100644 index 0000000000000000000000000000000000000000..34b3f9cae10caa98cd6f973b86a55394c8a52591 --- /dev/null +++ b/packages/monster/test/cases/dom/template.js @@ -0,0 +1,49 @@ +'use strict'; + +import {expect} from "chai" + +import {Template} from "../../../source/dom/template.js"; +import {initJSDOM} from "../../util/jsdom.js"; + +describe('Template', function () { + before(async function () { + initJSDOM(); + }) + describe('create HTMLFragment', function () { + [ + ["<div>first</div><div>second</div>"], + ["<div>first</div>"], + ["<div>first</div><p>second</p>"] + + ].forEach(function (data) { + + let a = data.shift() + + it('new Template().getNewDocumentFragmentAsString() should return string', function () { + let template = document.createElement('template'); + template.innerHTML = a; + let t = new Template(template); + + + var container = document.createElement('div'); + container.appendChild(t.createDocumentFragment()); + expect(container.innerHTML).to.be.equal(a); + }); + }); + }); + + describe('create instance', function () { + it('new Template() should return document object', function () { + let d = new Template(document.createElement('template')); + expect(d).to.be.instanceOf(Template); + }); + }); + + describe('.getTemplateElement()', function () { + it('new Template().getTemplateElement() should return HTMLTemplateElement object', function () { + let d = new Template(document.createElement('template')); + expect(d.getTemplateElement()).to.be.instanceOf(HTMLTemplateElement); + }); + }); + +}); \ No newline at end of file diff --git a/packages/monster/test/cases/dom/util.js b/packages/monster/test/cases/dom/util.js new file mode 100644 index 0000000000000000000000000000000000000000..290d2e4e79ef2152e35226aea44e2bdce0c89480 --- /dev/null +++ b/packages/monster/test/cases/dom/util.js @@ -0,0 +1,57 @@ +'use strict'; + +import { + getDocument, getWindow, getDocumentFragmentFromString +} from "../../../source/dom/util.js"; + + +import {initJSDOM} from "../../util/jsdom.js"; + +import {expect} from "chai" + + +describe('DOM', function () { + before(async function () { + initJSDOM(); + }) + describe('getDocument()', function () { + it('should return document object', function () { + let d = getDocument(); + expect(typeof d).is.equal('object'); + }); + }); + + describe('getWindow()', function () { + it('should return document object', function () { + let d = getWindow(); + expect(typeof d).is.equal('object'); + }); + }); + + describe('getDocumentFragmentFromString()', function () { + + + [ + ['<div></div>'], + ['<div><div>2</div></div>'], + ['<div><div>2</div>', '<div><div>2</div></div>'], // test invalid html + ].forEach(function (data) { + + let a = data.shift() + let b = data.shift() + + if (!b) b = a; + + it('should return documentFragment object ' + a, function () { + let fragment = getDocumentFragmentFromString(a); + expect(fragment).to.be.instanceOf(DocumentFragment); + + var div = document.createElement('div'); + div.appendChild(fragment.cloneNode(true)); + expect(div.innerHTML).to.be.equal(b); + }); + + }); + + }); +}); \ No newline at end of file diff --git a/packages/monster/test/cases/monster.js b/packages/monster/test/cases/monster.js index b87e9ed463c34d10f5d9f662dd18e274f8c51082..e88c86e7721ae4382d7c46c3a76b06d01356014d 100644 --- a/packages/monster/test/cases/monster.js +++ b/packages/monster/test/cases/monster.js @@ -7,7 +7,7 @@ describe('Monster', function () { let monsterVersion /**#@+ dont touch, replaced by make with package.json version */ - monsterVersion = new Version('1.5.0') + monsterVersion = new Version('1.6.0') /**#@-*/ let m = Monster.getVersion(); diff --git a/packages/monster/test/cases/types/base.js b/packages/monster/test/cases/types/base.js index 2f07800ee3449f6271c64e2db4bf68ae443977b9..4d45b96bb05fd4ec6d70fd21e4d69689dd1f8c0c 100644 --- a/packages/monster/test/cases/types/base.js +++ b/packages/monster/test/cases/types/base.js @@ -1,3 +1,5 @@ +"use strict"; + import {expect} from "chai" import {Base} from "../../../source/types/base.js"; diff --git a/packages/monster/test/cases/types/global.js b/packages/monster/test/cases/types/global.js new file mode 100644 index 0000000000000000000000000000000000000000..666aac9f1b12b1ee0d3b67d8b0c61b82dbb4512f --- /dev/null +++ b/packages/monster/test/cases/types/global.js @@ -0,0 +1,30 @@ +import {getGlobal, getGlobalObject, getGlobalFunction} from "../../../source/types/global.js"; +import {expect} from "chai" + +describe('Global', function () { + describe('getGlobal', function () { + + it('should return global object', function () { + let t = typeof getGlobal(); + expect(t).to.be.equal('object') + }); + + }); + describe('getGlobalFunction', function () { + + it('should return global function', function () { + let t = typeof getGlobalFunction('parseInt'); + expect(t).to.be.equal('function') + }); + + }); + describe('getGlobalObject', function () { + + it('should return global object', function () { + let t = typeof getGlobalObject('JSON'); + expect(t).to.be.equal('object') + }); + + }); +}); + diff --git a/packages/monster/test/cases/types/id.js b/packages/monster/test/cases/types/id.js index bdc4c0282b689649e68c48afc69bcb6c9044cc5e..2cef5db1dc8e4b546e221c00ead62605a3cbc9bf 100644 --- a/packages/monster/test/cases/types/id.js +++ b/packages/monster/test/cases/types/id.js @@ -17,6 +17,12 @@ describe('ID', function () { it('should return a string', function () { expect(result).is.a('string') }); + + it('should return a string', function () { + expect(new ID('text1425id').toString()).is.equal('text1425id1') + expect(new ID('text1425id').toString()).is.equal('text1425id2') + expect(new ID('text1425id').toString()).is.equal('text1425id3') + }); }); diff --git a/packages/monster/test/cases/types/is.js b/packages/monster/test/cases/types/is.js index 95923bef583e8ac94a1dec40743dbbf3177dea5e..3e544a891db146776c82e1cf1b4db902b8f9259d 100644 --- a/packages/monster/test/cases/types/is.js +++ b/packages/monster/test/cases/types/is.js @@ -192,7 +192,7 @@ describe('Is', function () { let b = data.shift() let c = data.shift() - it('is.isInstance(' + JSON.stringify(a) + ') should return ' + b, function () { + it('is.isInstance(' + JSON.stringify(a) + ') should return ' + typeof b, function () { expect(isInstance(a, b)).is.equal(c) }); }); diff --git a/packages/monster/test/cases/types/observer.js b/packages/monster/test/cases/types/observer.js index 092f79d5f11b70387368b763803b31392df422c8..b7d297692b19c9d17131ab51fc809313cc507766 100644 --- a/packages/monster/test/cases/types/observer.js +++ b/packages/monster/test/cases/types/observer.js @@ -94,15 +94,9 @@ describe('Observer', function () { let counter = 0; let tempObserver = new Observer(function (a, b, c) { - counter++; - - console.log(counter) - - }) - tempObserver.update(obj); tempObserver.update(obj); tempObserver.update(obj); diff --git a/packages/monster/test/cases/types/observerlist.js b/packages/monster/test/cases/types/observerlist.js index 66c5bf0dc4ff3beeb0fb9b58569fa08747c23c9c..7e81875d5bfcc12e2db6530671c626b72d58ea73 100644 --- a/packages/monster/test/cases/types/observerlist.js +++ b/packages/monster/test/cases/types/observerlist.js @@ -45,7 +45,7 @@ describe('ObserverList', function () { }); it('should instanceof Promise', function () { - expect(observerList.notify()).to.be.instanceOf(Promise) + expect(observerList.notify({})).to.be.instanceOf(Promise) }); it('should return ' + resultValue, function (done) { diff --git a/packages/monster/test/cases/types/randomid.js b/packages/monster/test/cases/types/randomid.js new file mode 100644 index 0000000000000000000000000000000000000000..e0c29d7e251786de27bb1a7c3b90cd0b478877df --- /dev/null +++ b/packages/monster/test/cases/types/randomid.js @@ -0,0 +1,24 @@ +import {Monster, RandomID} from "../../../source/types/randomid.js"; +import {expect} from "chai" + +import * as Crypto from "@peculiar/webcrypto"; + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + + +describe('RandomID', function () { + + describe('.toString()', function () { + let id = new RandomID() + let result = id.toString(); + + it('should return a string', function () { + expect(result).is.a('string') + }); + + }); + +}); + diff --git a/packages/monster/test/util/jsdom.js b/packages/monster/test/util/jsdom.js new file mode 100644 index 0000000000000000000000000000000000000000..b9eecfffa683a4c0e985955852118f1adfeab631 --- /dev/null +++ b/packages/monster/test/util/jsdom.js @@ -0,0 +1,56 @@ +'use strict'; + +import {getGlobal} from "../../source/types/global.js"; + +/** + * this helper function creates the dom stack in the node environment + * + * @return {Promise<unknown>|Promise<void>} + */ +function initJSDOM() { + if (typeof window === "object") return Promise.resolve(); + + const g = getGlobal(); + + return import("jsdom").then(({JSDOM}) => { + const {window} = new JSDOM('', { + url: 'http://example.com/', + pretendToBeVisual: true, + referrer: "https://example.com/", + contentType: "text/html", + includeNodeLocations: true, + storageQuota: 10000000 + }); + + g['window'] = window; + + return new Promise(resolve => + window.addEventListener("load", () => { + + [ + 'self', + 'document', + 'Document', + 'Node', + 'Element', + 'HTMLElement', + 'DocumentFragment', + 'DOMParser', + 'MutationObserver', + 'HTMLTemplateElement', + 'XMLSerializer', + 'NodeFilter', + 'InputEvent', + 'CustomEvent' + ].forEach(key => (g[key] = window[key])); + + resolve(); + }) + ); + + + }); +} + +export {initJSDOM} + diff --git a/packages/monster/test/web/import.js b/packages/monster/test/web/import.js index 5db980db2d05c84ce1017c305ec0fd837b8285d1..89083902f845228915e81500e41dec4b19ea610e 100644 --- a/packages/monster/test/web/import.js +++ b/packages/monster/test/web/import.js @@ -1,9 +1,15 @@ /** this file was created automatically by the make target test-browser-monster */ +SharedArrayBuffer = ArrayBuffer; import "../cases/logging/logger.js"; import "../cases/logging/handler.js"; import "../cases/logging/logentry.js"; +import "../cases/dom/handle.js"; +import "../cases/dom/template.js"; +import "../cases/dom/util.js"; +import "../cases/dom/assembler.js"; import "../cases/types/queue.js"; import "../cases/types/observer.js"; +import "../cases/types/global.js"; import "../cases/types/observerlist.js"; import "../cases/types/is.js"; import "../cases/types/proxyobserver.js"; @@ -12,6 +18,7 @@ import "../cases/types/tokenlist.js"; import "../cases/types/base.js"; import "../cases/types/version.js"; import "../cases/types/id.js"; +import "../cases/types/randomid.js"; import "../cases/types/validate.js"; import "../cases/types/stack.js"; import "../cases/constraint/isobject.js"; @@ -23,6 +30,8 @@ import "../cases/constraint/isarray.js"; import "../cases/util/comparator.js"; import "../cases/util/clone.js"; import "../cases/data/pathfinder.js"; +import "../cases/data/pipe.js"; +import "../cases/data/diff.js"; import "../cases/data/transformer.js"; import "../cases/math/random.js"; import "../cases/monster.js"; diff --git a/packages/monster/test/web/mocha.js b/packages/monster/test/web/mocha.js index 47a8e367179c319952cbe603f7c3df6c0b29c2cb..c5ac9a55c063d08f6a1d5200432ebcd7a476ed70 100644 --- a/packages/monster/test/web/mocha.js +++ b/packages/monster/test/web/mocha.js @@ -1,8 +1,8 @@ -// mocha@9.0.1 transpiled to javascript ES5 +// mocha@9.0.2 transpiled to javascript ES5 (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.mocha = factory()); + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.mocha = factory()); }(this, (function () { 'use strict'; var regeneratorRuntime; @@ -11,11 +11,11 @@ function createCommonjsModule(fn, basedir, module) { return module = { - path: basedir, - exports: {}, - require: function (path, base) { - return commonjsRequire(path, (base === undefined || base === null) ? module.path : base); - } + path: basedir, + exports: {}, + require: function (path, base) { + return commonjsRequire(path, (base === undefined || base === null) ? module.path : base); + } }, fn(module, module.exports), module.exports; } @@ -28,32 +28,32 @@ } var check = function (it) { - return it && it.Math == Math && it; + return it && it.Math == Math && it; }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global_1 = - // eslint-disable-next-line es/no-global-this -- safe - check(typeof globalThis == 'object' && globalThis) || - check(typeof window == 'object' && window) || - // eslint-disable-next-line no-restricted-globals -- safe - check(typeof self == 'object' && self) || - check(typeof commonjsGlobal == 'object' && commonjsGlobal) || - // eslint-disable-next-line no-new-func -- fallback - (function () { return this; })() || Function('return this')(); + // eslint-disable-next-line es/no-global-this -- safe + check(typeof globalThis == 'object' && globalThis) || + check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe + check(typeof self == 'object' && self) || + check(typeof commonjsGlobal == 'object' && commonjsGlobal) || + // eslint-disable-next-line no-new-func -- fallback + (function () { return this; })() || Function('return this')(); var fails = function (exec) { - try { - return !!exec(); - } catch (error) { - return true; - } + try { + return !!exec(); + } catch (error) { + return true; + } }; // Detect IE8's incomplete defineProperty implementation var descriptors = !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); var $propertyIsEnumerable$1 = {}.propertyIsEnumerable; @@ -66,8 +66,8 @@ // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable var f$7 = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = getOwnPropertyDescriptor$3(this, V); - return !!descriptor && descriptor.enumerable; + var descriptor = getOwnPropertyDescriptor$3(this, V); + return !!descriptor && descriptor.enumerable; } : $propertyIsEnumerable$1; var objectPropertyIsEnumerable = { @@ -75,36 +75,36 @@ }; var createPropertyDescriptor = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; }; var toString$4 = {}.toString; var classofRaw = function (it) { - return toString$4.call(it).slice(8, -1); + return toString$4.call(it).slice(8, -1); }; var split = ''.split; // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails(function () { - // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins -- safe - return !Object('z').propertyIsEnumerable(0); + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 + // eslint-disable-next-line no-prototype-builtins -- safe + return !Object('z').propertyIsEnumerable(0); }) ? function (it) { - return classofRaw(it) == 'String' ? split.call(it, '') : Object(it); + return classofRaw(it) == 'String' ? split.call(it, '') : Object(it); } : Object; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible var requireObjectCoercible = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; + if (it == undefined) throw TypeError("Can't call method on " + it); + return it; }; // toObject with fallback for non-array-like ES3 strings @@ -112,11 +112,11 @@ var toIndexedObject = function (it) { - return indexedObject(requireObjectCoercible(it)); + return indexedObject(requireObjectCoercible(it)); }; var isObject$1 = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; + return typeof it === 'object' ? it !== null : typeof it === 'function'; }; // `ToPrimitive` abstract operation @@ -124,24 +124,24 @@ // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string var toPrimitive = function (input, PREFERRED_STRING) { - if (!isObject$1(input)) return input; - var fn, val; - if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$1(val = fn.call(input))) return val; - if (typeof (fn = input.valueOf) == 'function' && !isObject$1(val = fn.call(input))) return val; - if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$1(val = fn.call(input))) return val; - throw TypeError("Can't convert object to primitive value"); + if (!isObject$1(input)) return input; + var fn, val; + if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$1(val = fn.call(input))) return val; + if (typeof (fn = input.valueOf) == 'function' && !isObject$1(val = fn.call(input))) return val; + if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$1(val = fn.call(input))) return val; + throw TypeError("Can't convert object to primitive value"); }; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject var toObject = function (argument) { - return Object(requireObjectCoercible(argument)); + return Object(requireObjectCoercible(argument)); }; var hasOwnProperty$1 = {}.hasOwnProperty; var has$1 = Object.hasOwn || function hasOwn(it, key) { - return hasOwnProperty$1.call(toObject(it), key); + return hasOwnProperty$1.call(toObject(it), key); }; var document$3 = global_1.document; @@ -149,15 +149,15 @@ var EXISTS = isObject$1(document$3) && isObject$1(document$3.createElement); var documentCreateElement = function (it) { - return EXISTS ? document$3.createElement(it) : {}; + return EXISTS ? document$3.createElement(it) : {}; }; // Thank's IE8 for his funny defineProperty var ie8DomDefine = !descriptors && !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- requied for testing - return Object.defineProperty(documentCreateElement('div'), 'a', { - get: function () { return 7; } - }).a != 7; + // eslint-disable-next-line es/no-object-defineproperty -- requied for testing + return Object.defineProperty(documentCreateElement('div'), 'a', { + get: function () { return 7; } + }).a != 7; }); // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe @@ -166,12 +166,12 @@ // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor var f$6 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPrimitive(P, true); - if (ie8DomDefine) try { - return $getOwnPropertyDescriptor$1(O, P); - } catch (error) { /* empty */ } - if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]); + O = toIndexedObject(O); + P = toPrimitive(P, true); + if (ie8DomDefine) try { + return $getOwnPropertyDescriptor$1(O, P); + } catch (error) { /* empty */ } + if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]); }; var objectGetOwnPropertyDescriptor = { @@ -179,9 +179,9 @@ }; var anObject = function (it) { - if (!isObject$1(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; + if (!isObject$1(it)) { + throw TypeError(String(it) + ' is not an object'); + } return it; }; // eslint-disable-next-line es/no-object-defineproperty -- safe @@ -190,15 +190,15 @@ // `Object.defineProperty` method // https://tc39.es/ecma262/#sec-object.defineproperty var f$5 = descriptors ? $defineProperty$1 : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if (ie8DomDefine) try { - return $defineProperty$1(O, P, Attributes); - } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (ie8DomDefine) try { + return $defineProperty$1(O, P, Attributes); + } catch (error) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; }; var objectDefineProperty = { @@ -206,18 +206,18 @@ }; var createNonEnumerableProperty = descriptors ? function (object, key, value) { - return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value)); + return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value)); } : function (object, key, value) { - object[key] = value; - return object; + object[key] = value; + return object; }; var setGlobal = function (key, value) { - try { - createNonEnumerableProperty(global_1, key, value); - } catch (error) { - global_1[key] = value; - } return value; + try { + createNonEnumerableProperty(global_1, key, value); + } catch (error) { + global_1[key] = value; + } return value; }; var SHARED = '__core-js_shared__'; @@ -229,9 +229,9 @@ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper if (typeof sharedStore.inspectSource != 'function') { - sharedStore.inspectSource = function (it) { - return functionToString.call(it); - }; + sharedStore.inspectSource = function (it) { + return functionToString.call(it); + }; } var inspectSource = sharedStore.inspectSource; @@ -241,26 +241,26 @@ var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1)); var shared = createCommonjsModule(function (module) { - (module.exports = function (key, value) { - return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.14.0', - mode: 'global', - copyright: '© 2021 Denis Pushkarev (zloirock.ru)' - }); + (module.exports = function (key, value) { + return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {}); + })('versions', []).push({ + version: '3.15.2', + mode: 'global', + copyright: '© 2021 Denis Pushkarev (zloirock.ru)' + }); }); var id = 0; var postfix = Math.random(); var uid = function (key) { - return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); + return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); }; var keys$4 = shared('keys'); var sharedKey = function (key) { - return keys$4[key] || (keys$4[key] = uid(key)); + return keys$4[key] || (keys$4[key] = uid(key)); }; var hiddenKeys$1 = {}; @@ -270,105 +270,105 @@ var set$2, get$1, has; var enforce = function (it) { - return has(it) ? get$1(it) : set$2(it, {}); + return has(it) ? get$1(it) : set$2(it, {}); }; var getterFor = function (TYPE) { - return function (it) { - var state; - if (!isObject$1(it) || (state = get$1(it)).type !== TYPE) { - throw TypeError('Incompatible receiver, ' + TYPE + ' required'); - } return state; - }; + return function (it) { + var state; + if (!isObject$1(it) || (state = get$1(it)).type !== TYPE) { + throw TypeError('Incompatible receiver, ' + TYPE + ' required'); + } return state; + }; }; if (nativeWeakMap || sharedStore.state) { - var store = sharedStore.state || (sharedStore.state = new WeakMap()); - var wmget = store.get; - var wmhas = store.has; - var wmset = store.set; - set$2 = function (it, metadata) { - if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - wmset.call(store, it, metadata); - return metadata; - }; - get$1 = function (it) { - return wmget.call(store, it) || {}; - }; - has = function (it) { - return wmhas.call(store, it); - }; + var store = sharedStore.state || (sharedStore.state = new WeakMap()); + var wmget = store.get; + var wmhas = store.has; + var wmset = store.set; + set$2 = function (it, metadata) { + if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + wmset.call(store, it, metadata); + return metadata; + }; + get$1 = function (it) { + return wmget.call(store, it) || {}; + }; + has = function (it) { + return wmhas.call(store, it); + }; } else { - var STATE = sharedKey('state'); - hiddenKeys$1[STATE] = true; - set$2 = function (it, metadata) { - if (has$1(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - createNonEnumerableProperty(it, STATE, metadata); - return metadata; - }; - get$1 = function (it) { - return has$1(it, STATE) ? it[STATE] : {}; - }; - has = function (it) { - return has$1(it, STATE); - }; + var STATE = sharedKey('state'); + hiddenKeys$1[STATE] = true; + set$2 = function (it, metadata) { + if (has$1(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get$1 = function (it) { + return has$1(it, STATE) ? it[STATE] : {}; + }; + has = function (it) { + return has$1(it, STATE); + }; } var internalState = { - set: set$2, - get: get$1, - has: has, - enforce: enforce, - getterFor: getterFor + set: set$2, + get: get$1, + has: has, + enforce: enforce, + getterFor: getterFor }; var redefine = createCommonjsModule(function (module) { - var getInternalState = internalState.get; - var enforceInternalState = internalState.enforce; - var TEMPLATE = String(String).split('String'); - - (module.exports = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var state; - if (typeof value == 'function') { - if (typeof key == 'string' && !has$1(value, 'name')) { - createNonEnumerableProperty(value, 'name', key); - } - state = enforceInternalState(value); - if (!state.source) { - state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); - } - } - if (O === global_1) { - if (simple) O[key] = value; - else setGlobal(key, value); - return; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty(O, key, value); - // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative - })(Function.prototype, 'toString', function toString() { - return typeof this == 'function' && getInternalState(this).source || inspectSource(this); - }); + var getInternalState = internalState.get; + var enforceInternalState = internalState.enforce; + var TEMPLATE = String(String).split('String'); + + (module.exports = function (O, key, value, options) { + var unsafe = options ? !!options.unsafe : false; + var simple = options ? !!options.enumerable : false; + var noTargetGet = options ? !!options.noTargetGet : false; + var state; + if (typeof value == 'function') { + if (typeof key == 'string' && !has$1(value, 'name')) { + createNonEnumerableProperty(value, 'name', key); + } + state = enforceInternalState(value); + if (!state.source) { + state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); + } + } + if (O === global_1) { + if (simple) O[key] = value; + else setGlobal(key, value); + return; + } else if (!unsafe) { + delete O[key]; + } else if (!noTargetGet && O[key]) { + simple = true; + } + if (simple) O[key] = value; + else createNonEnumerableProperty(O, key, value); + // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative + })(Function.prototype, 'toString', function toString() { + return typeof this == 'function' && getInternalState(this).source || inspectSource(this); + }); }); var path$1 = global_1; var aFunction$1 = function (variable) { - return typeof variable == 'function' ? variable : undefined; + return typeof variable == 'function' ? variable : undefined; }; var getBuiltIn = function (namespace, method) { - return arguments.length < 2 ? aFunction$1(path$1[namespace]) || aFunction$1(global_1[namespace]) - : path$1[namespace] && path$1[namespace][method] || global_1[namespace] && global_1[namespace][method]; + return arguments.length < 2 ? aFunction$1(path$1[namespace]) || aFunction$1(global_1[namespace]) + : path$1[namespace] && path$1[namespace][method] || global_1[namespace] && global_1[namespace][method]; }; var ceil = Math.ceil; @@ -377,7 +377,7 @@ // `ToInteger` abstract operation // https://tc39.es/ecma262/#sec-tointeger var toInteger = function (argument) { - return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$5 : ceil)(argument); + return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor$5 : ceil)(argument); }; var min$7 = Math.min; @@ -385,7 +385,7 @@ // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength = function (argument) { - return argument > 0 ? min$7(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + return argument > 0 ? min$7(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var max$3 = Math.max; @@ -395,64 +395,64 @@ // Let integer be ? ToInteger(index). // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). var toAbsoluteIndex = function (index, length) { - var integer = toInteger(index); - return integer < 0 ? max$3(integer + length, 0) : min$6(integer, length); + var integer = toInteger(index); + return integer < 0 ? max$3(integer + length, 0) : min$6(integer, length); }; // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod$5 = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIndexedObject($this); - var length = toLength(O.length); - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare -- NaN check - if (IS_INCLUDES && el != el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare -- NaN check - if (value != value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) { - if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; + return function ($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare -- NaN check + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare -- NaN check + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; }; var arrayIncludes = { - // `Array.prototype.includes` method - // https://tc39.es/ecma262/#sec-array.prototype.includes - includes: createMethod$5(true), - // `Array.prototype.indexOf` method - // https://tc39.es/ecma262/#sec-array.prototype.indexof - indexOf: createMethod$5(false) + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + includes: createMethod$5(true), + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + indexOf: createMethod$5(false) }; var indexOf$1 = arrayIncludes.indexOf; var objectKeysInternal = function (object, names) { - var O = toIndexedObject(object); - var i = 0; - var result = []; - var key; - for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key); - // Don't enum bug & hidden keys - while (names.length > i) if (has$1(O, key = names[i++])) { - ~indexOf$1(result, key) || result.push(key); - } - return result; + var O = toIndexedObject(object); + var i = 0; + var result = []; + var key; + for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key); + // Don't enum bug & hidden keys + while (names.length > i) if (has$1(O, key = names[i++])) { + ~indexOf$1(result, key) || result.push(key); + } + return result; }; // IE8- don't enum bug keys var enumBugKeys = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf' + 'constructor', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'toLocaleString', + 'toString', + 'valueOf' ]; var hiddenKeys = enumBugKeys.concat('length', 'prototype'); @@ -461,7 +461,7 @@ // https://tc39.es/ecma262/#sec-object.getownpropertynames // eslint-disable-next-line es/no-object-getownpropertynames -- safe var f$4 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return objectKeysInternal(O, hiddenKeys); + return objectKeysInternal(O, hiddenKeys); }; var objectGetOwnPropertyNames = { @@ -477,33 +477,33 @@ // all object keys, includes non-enumerable and symbols var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { - var keys = objectGetOwnPropertyNames.f(anObject(it)); - var getOwnPropertySymbols = objectGetOwnPropertySymbols.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; + var keys = objectGetOwnPropertyNames.f(anObject(it)); + var getOwnPropertySymbols = objectGetOwnPropertySymbols.f; + return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; }; var copyConstructorProperties = function (target, source) { - var keys = ownKeys$1(source); - var defineProperty = objectDefineProperty.f; - var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); - } + var keys = ownKeys$1(source); + var defineProperty = objectDefineProperty.f; + var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } }; var replacement = /#|\.prototype\./; var isForced = function (feature, detection) { - var value = data[normalize$1(feature)]; - return value == POLYFILL ? true - : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) - : !!detection; + var value = data[normalize$1(feature)]; + return value == POLYFILL ? true + : value == NATIVE ? false + : typeof detection == 'function' ? fails(detection) + : !!detection; }; var normalize$1 = isForced.normalize = function (string) { - return String(string).replace(replacement, '.').toLowerCase(); + return String(string).replace(replacement, '.').toLowerCase(); }; var data = isForced.data = {}; @@ -534,72 +534,72 @@ options.noTargetGet - prevent calling a getter on target */ var _export = function (options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; - if (GLOBAL) { - target = global_1; - } else if (STATIC) { - target = global_1[TARGET] || setGlobal(TARGET, {}); - } else { - target = (global_1[TARGET] || {}).prototype; - } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.noTargetGet) { - descriptor = getOwnPropertyDescriptor$2(target, key); - targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); - // contained in target - if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty === typeof targetProperty) continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - // add a flag to not completely full polyfills - if (options.sham || (targetProperty && targetProperty.sham)) { - createNonEnumerableProperty(sourceProperty, 'sham', true); - } - // extend global - redefine(target, key, sourceProperty, options); - } + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var FORCED, target, key, targetProperty, sourceProperty, descriptor; + if (GLOBAL) { + target = global_1; + } else if (STATIC) { + target = global_1[TARGET] || setGlobal(TARGET, {}); + } else { + target = (global_1[TARGET] || {}).prototype; + } + if (target) for (key in source) { + sourceProperty = source[key]; + if (options.noTargetGet) { + descriptor = getOwnPropertyDescriptor$2(target, key); + targetProperty = descriptor && descriptor.value; + } else targetProperty = target[key]; + FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); + // contained in target + if (!FORCED && targetProperty !== undefined) { + if (typeof sourceProperty === typeof targetProperty) continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + // add a flag to not completely full polyfills + if (options.sham || (targetProperty && targetProperty.sham)) { + createNonEnumerableProperty(sourceProperty, 'sham', true); + } + // extend global + redefine(target, key, sourceProperty, options); + } }; var aFunction = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; + if (typeof it != 'function') { + throw TypeError(String(it) + ' is not a function'); + } return it; }; // optional / simple context binding var functionBindContext = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 0: return function () { - return fn.call(that); - }; - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; + aFunction(fn); + if (that === undefined) return fn; + switch (length) { + case 0: return function () { + return fn.call(that); + }; + case 1: return function (a) { + return fn.call(that, a); + }; + case 2: return function (a, b) { + return fn.call(that, a, b); + }; + case 3: return function (a, b, c) { + return fn.call(that, a, b, c); + }; + } + return function (/* ...args */) { + return fn.apply(that, arguments); + }; }; // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray // eslint-disable-next-line es/no-array-isarray -- safe var isArray$3 = Array.isArray || function isArray(arg) { - return classofRaw(arg) == 'Array'; + return classofRaw(arg) == 'Array'; }; var engineUserAgent = getBuiltIn('navigator', 'userAgent') || ''; @@ -610,14 +610,14 @@ var match, version$2; if (v8) { - match = v8.split('.'); - version$2 = match[0] < 4 ? 1 : match[0] + match[1]; + match = v8.split('.'); + version$2 = match[0] < 4 ? 1 : match[0] + match[1]; } else if (engineUserAgent) { - match = engineUserAgent.match(/Edge\/(\d+)/); - if (!match || match[1] >= 74) { - match = engineUserAgent.match(/Chrome\/(\d+)/); - if (match) version$2 = match[1]; - } + match = engineUserAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = engineUserAgent.match(/Chrome\/(\d+)/); + if (match) version$2 = match[1]; + } } var engineV8Version = version$2 && +version$2; @@ -628,33 +628,33 @@ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () { - var symbol = Symbol(); - // Chrome 38 Symbol has incorrect toString conversion - // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances - return !String(symbol) || !(Object(symbol) instanceof Symbol) || - // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances - !Symbol.sham && engineV8Version && engineV8Version < 41; + var symbol = Symbol(); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + return !String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && engineV8Version && engineV8Version < 41; }); /* eslint-disable es/no-symbol -- required for testing */ var useSymbolAsUid = nativeSymbol - && !Symbol.sham - && typeof Symbol.iterator == 'symbol'; + && !Symbol.sham + && typeof Symbol.iterator == 'symbol'; var WellKnownSymbolsStore$1 = shared('wks'); var Symbol$1 = global_1.Symbol; var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid; var wellKnownSymbol = function (name) { - if (!has$1(WellKnownSymbolsStore$1, name) || !(nativeSymbol || typeof WellKnownSymbolsStore$1[name] == 'string')) { - if (nativeSymbol && has$1(Symbol$1, name)) { - WellKnownSymbolsStore$1[name] = Symbol$1[name]; - } else { - WellKnownSymbolsStore$1[name] = createWellKnownSymbol('Symbol.' + name); - } - } return WellKnownSymbolsStore$1[name]; + if (!has$1(WellKnownSymbolsStore$1, name) || !(nativeSymbol || typeof WellKnownSymbolsStore$1[name] == 'string')) { + if (nativeSymbol && has$1(Symbol$1, name)) { + WellKnownSymbolsStore$1[name] = Symbol$1[name]; + } else { + WellKnownSymbolsStore$1[name] = createWellKnownSymbol('Symbol.' + name); + } + } return WellKnownSymbolsStore$1[name]; }; var SPECIES$6 = wellKnownSymbol('species'); @@ -662,99 +662,99 @@ // `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate var arraySpeciesCreate = function (originalArray, length) { - var C; - if (isArray$3(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray$3(C.prototype))) C = undefined; - else if (isObject$1(C)) { - C = C[SPECIES$6]; - if (C === null) C = undefined; - } - } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); + var C; + if (isArray$3(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (typeof C == 'function' && (C === Array || isArray$3(C.prototype))) C = undefined; + else if (isObject$1(C)) { + C = C[SPECIES$6]; + if (C === null) C = undefined; + } + } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); }; var push = [].push; // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation var createMethod$4 = function (TYPE) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var IS_FILTER_OUT = TYPE == 7; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; - return function ($this, callbackfn, that, specificCreate) { - var O = toObject($this); - var self = indexedObject(O); - var boundFunction = functionBindContext(callbackfn, that, 3); - var length = toLength(self.length); - var index = 0; - var create = specificCreate || arraySpeciesCreate; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined; - var value, result; - for (;length > index; index++) if (NO_HOLES || index in self) { - value = self[index]; - result = boundFunction(value, index, O); - if (TYPE) { - if (IS_MAP) target[index] = result; // map - else if (result) switch (TYPE) { - case 3: return true; // some - case 5: return value; // find - case 6: return index; // findIndex - case 2: push.call(target, value); // filter - } else switch (TYPE) { - case 4: return false; // every - case 7: push.call(target, value); // filterOut - } - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; - }; + var IS_MAP = TYPE == 1; + var IS_FILTER = TYPE == 2; + var IS_SOME = TYPE == 3; + var IS_EVERY = TYPE == 4; + var IS_FIND_INDEX = TYPE == 6; + var IS_FILTER_OUT = TYPE == 7; + var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject($this); + var self = indexedObject(O); + var boundFunction = functionBindContext(callbackfn, that, 3); + var length = toLength(self.length); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push.call(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push.call(target, value); // filterOut + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; }; var arrayIteration = { - // `Array.prototype.forEach` method - // https://tc39.es/ecma262/#sec-array.prototype.foreach - forEach: createMethod$4(0), - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - map: createMethod$4(1), - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - filter: createMethod$4(2), - // `Array.prototype.some` method - // https://tc39.es/ecma262/#sec-array.prototype.some - some: createMethod$4(3), - // `Array.prototype.every` method - // https://tc39.es/ecma262/#sec-array.prototype.every - every: createMethod$4(4), - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - find: createMethod$4(5), - // `Array.prototype.findIndex` method - // https://tc39.es/ecma262/#sec-array.prototype.findIndex - findIndex: createMethod$4(6), - // `Array.prototype.filterOut` method - // https://github.com/tc39/proposal-array-filtering - filterOut: createMethod$4(7) + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod$4(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod$4(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod$4(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod$4(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod$4(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod$4(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod$4(6), + // `Array.prototype.filterOut` method + // https://github.com/tc39/proposal-array-filtering + filterOut: createMethod$4(7) }; var SPECIES$5 = wellKnownSymbol('species'); var arrayMethodHasSpeciesSupport = function (METHOD_NAME) { - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/677 - return engineV8Version >= 51 || !fails(function () { - var array = []; - var constructor = array.constructor = {}; - constructor[SPECIES$5] = function () { - return { foo: 1 }; - }; - return array[METHOD_NAME](Boolean).foo !== 1; - }); + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return engineV8Version >= 51 || !fails(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES$5] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); }; var $filter$1 = arrayIteration.filter; @@ -766,15 +766,15 @@ // https://tc39.es/ecma262/#sec-array.prototype.filter // with adding support of @@species _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, { - filter: function filter(callbackfn /* , thisArg */) { - return $filter$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } + filter: function filter(callbackfn /* , thisArg */) { + return $filter$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } }); var createProperty = function (object, key, value) { - var propertyKey = toPrimitive(key); - if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; + var propertyKey = toPrimitive(key); + if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value)); + else object[propertyKey] = value; }; var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport('splice'); @@ -788,59 +788,59 @@ // https://tc39.es/ecma262/#sec-array.prototype.splice // with adding support of @@species _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, { - splice: function splice(start, deleteCount /* , ...items */) { - var O = toObject(this); - var len = toLength(O.length); - var actualStart = toAbsoluteIndex(start, len); - var argumentsLength = arguments.length; - var insertCount, actualDeleteCount, A, k, from, to; - if (argumentsLength === 0) { - insertCount = actualDeleteCount = 0; - } else if (argumentsLength === 1) { - insertCount = 0; - actualDeleteCount = len - actualStart; - } else { - insertCount = argumentsLength - 2; - actualDeleteCount = min$5(max$2(toInteger(deleteCount), 0), len - actualStart); - } - if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER$1) { - throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); - } - A = arraySpeciesCreate(O, actualDeleteCount); - for (k = 0; k < actualDeleteCount; k++) { - from = actualStart + k; - if (from in O) createProperty(A, k, O[from]); - } - A.length = actualDeleteCount; - if (insertCount < actualDeleteCount) { - for (k = actualStart; k < len - actualDeleteCount; k++) { - from = k + actualDeleteCount; - to = k + insertCount; - if (from in O) O[to] = O[from]; - else delete O[to]; - } - for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; - } else if (insertCount > actualDeleteCount) { - for (k = len - actualDeleteCount; k > actualStart; k--) { - from = k + actualDeleteCount - 1; - to = k + insertCount - 1; - if (from in O) O[to] = O[from]; - else delete O[to]; - } - } - for (k = 0; k < insertCount; k++) { - O[k + actualStart] = arguments[k + 2]; - } - O.length = len - actualDeleteCount + insertCount; - return A; - } + splice: function splice(start, deleteCount /* , ...items */) { + var O = toObject(this); + var len = toLength(O.length); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var insertCount, actualDeleteCount, A, k, from, to; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min$5(max$2(toInteger(deleteCount), 0), len - actualStart); + } + if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER$1) { + throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); + } + A = arraySpeciesCreate(O, actualDeleteCount); + for (k = 0; k < actualDeleteCount; k++) { + from = actualStart + k; + if (from in O) createProperty(A, k, O[from]); + } + A.length = actualDeleteCount; + if (insertCount < actualDeleteCount) { + for (k = actualStart; k < len - actualDeleteCount; k++) { + from = k + actualDeleteCount; + to = k + insertCount; + if (from in O) O[to] = O[from]; + else delete O[to]; + } + for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; + } else if (insertCount > actualDeleteCount) { + for (k = len - actualDeleteCount; k > actualStart; k--) { + from = k + actualDeleteCount - 1; + to = k + insertCount - 1; + if (from in O) O[to] = O[from]; + else delete O[to]; + } + } + for (k = 0; k < insertCount; k++) { + O[k + actualStart] = arguments[k + 2]; + } + O.length = len - actualDeleteCount + insertCount; + return A; + } }); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys // eslint-disable-next-line es/no-object-keys -- safe var objectKeys = Object.keys || function keys(O) { - return objectKeysInternal(O, enumBugKeys); + return objectKeysInternal(O, enumBugKeys); }; // eslint-disable-next-line es/no-object-assign -- safe @@ -851,49 +851,49 @@ // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign var objectAssign = !$assign || fails(function () { - // should have correct order of operations (Edge bug) - if (descriptors && $assign({ b: 1 }, $assign(defineProperty$9({}, 'a', { - enumerable: true, - get: function () { - defineProperty$9(this, 'b', { - value: 3, - enumerable: false - }); - } - }), { b: 2 })).b !== 1) return true; - // should work with symbols and should have deterministic property order (V8 bug) - var A = {}; - var B = {}; - // eslint-disable-next-line es/no-symbol -- safe - var symbol = Symbol(); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet; + // should have correct order of operations (Edge bug) + if (descriptors && $assign({ b: 1 }, $assign(defineProperty$9({}, 'a', { + enumerable: true, + get: function () { + defineProperty$9(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol(); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet; }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` - var T = toObject(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = objectGetOwnPropertySymbols.f; - var propertyIsEnumerable = objectPropertyIsEnumerable.f; - while (argumentsLength > index) { - var S = indexedObject(arguments[index++]); - var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key]; - } - } return T; + var T = toObject(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = objectGetOwnPropertySymbols.f; + var propertyIsEnumerable = objectPropertyIsEnumerable.f; + while (argumentsLength > index) { + var S = indexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key]; + } + } return T; } : $assign; // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign // eslint-disable-next-line es/no-object-assign -- required for testing _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, { - assign: objectAssign + assign: objectAssign }); var FAILS_ON_PRIMITIVES$4 = fails(function () { objectKeys(1); }); @@ -901,43 +901,41 @@ // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$4 }, { - keys: function keys(it) { - return objectKeys(toObject(it)); - } + keys: function keys(it) { + return objectKeys(toObject(it)); + } }); // `RegExp.prototype.flags` getter implementation // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags var regexpFlags = function () { - var that = anObject(this); - var result = ''; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.dotAll) result += 's'; - if (that.unicode) result += 'u'; - if (that.sticky) result += 'y'; - return result; + var that = anObject(this); + var result = ''; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.dotAll) result += 's'; + if (that.unicode) result += 'u'; + if (that.sticky) result += 'y'; + return result; }; // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError, - // so we use an intermediate function. - function RE(s, f) { - return RegExp(s, f); - } + var RE = function (s, f) { + return RegExp(s, f); + }; var UNSUPPORTED_Y$3 = fails(function () { - // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var re = RE('a', 'y'); - re.lastIndex = 2; - return re.exec('abcd') != null; + var re = RE('a', 'y'); + re.lastIndex = 2; + return re.exec('abcd') != null; }); var BROKEN_CARET = fails(function () { - // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 - var re = RE('^r', 'gy'); - re.lastIndex = 2; - return re.exec('str') != null; + // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 + var re = RE('^r', 'gy'); + re.lastIndex = 2; + return re.exec('str') != null; }); var regexpStickyHelpers = { @@ -945,23 +943,126 @@ BROKEN_CARET: BROKEN_CARET }; + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + // eslint-disable-next-line es/no-object-defineproperties -- safe + var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var keys = objectKeys(Properties); + var length = keys.length; + var index = 0; + var key; + while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]); + return O; + }; + + var html$1 = getBuiltIn('document', 'documentElement'); + + var GT = '>'; + var LT = '<'; + var PROTOTYPE$2 = 'prototype'; + var SCRIPT = 'script'; + var IE_PROTO$1 = sharedKey('IE_PROTO'); + + var EmptyConstructor = function () { /* empty */ }; + + var scriptTag = function (content) { + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; + }; + + // Create object with fake `null` prototype: use ActiveX Object with cleared prototype + var NullProtoObjectViaActiveX = function (activeXDocument) { + activeXDocument.write(scriptTag('')); + activeXDocument.close(); + var temp = activeXDocument.parentWindow.Object; + activeXDocument = null; // avoid memory leak + return temp; + }; + + // Create object with fake `null` prototype: use iframe Object with cleared prototype + var NullProtoObjectViaIFrame = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = documentCreateElement('iframe'); + var JS = 'java' + SCRIPT + ':'; + var iframeDocument; + iframe.style.display = 'none'; + html$1.appendChild(iframe); + // https://github.com/zloirock/core-js/issues/475 + iframe.src = String(JS); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(scriptTag('document.F=Object')); + iframeDocument.close(); + return iframeDocument.F; + }; + + // Check for document.domain and active x support + // No need to use active x approach when document.domain is not set + // see https://github.com/es-shims/es5-shim/issues/150 + // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 + // avoid IE GC bug + var activeXDocument; + var NullProtoObject = function () { + try { + /* global ActiveXObject -- old IE */ + activeXDocument = document.domain && new ActiveXObject('htmlfile'); + } catch (error) { /* ignore */ } + NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame(); + var length = enumBugKeys.length; + while (length--) delete NullProtoObject[PROTOTYPE$2][enumBugKeys[length]]; + return NullProtoObject(); + }; + + hiddenKeys$1[IE_PROTO$1] = true; + + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + var objectCreate = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + EmptyConstructor[PROTOTYPE$2] = anObject(O); + result = new EmptyConstructor(); + EmptyConstructor[PROTOTYPE$2] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO$1] = O; + } else result = NullProtoObject(); + return Properties === undefined ? result : objectDefineProperties(result, Properties); + }; + + var regexpUnsupportedDotAll = fails(function () { + // babel-minify transpiles RegExp('.', 's') -> /./s and it causes SyntaxError + var re = RegExp('.', (typeof '').charAt(0)); + return !(re.dotAll && re.exec('\n') && re.flags === 's'); + }); + + var regexpUnsupportedNcg = fails(function () { + // babel-minify transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError + var re = RegExp('(?<a>b)', (typeof '').charAt(5)); + return re.exec('b').groups.a !== 'b' || + 'b'.replace(re, '$<a>c') !== 'bc'; + }); + /* eslint-disable regexp/no-assertion-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ /* eslint-disable regexp/no-useless-quantifier -- testing */ + var getInternalState$5 = internalState.get; + + + var nativeExec = RegExp.prototype.exec; var nativeReplace = shared('native-string-replace', String.prototype.replace); var patchedExec = nativeExec; var UPDATES_LAST_INDEX_WRONG = (function () { - var re1 = /a/; - var re2 = /b*/g; - nativeExec.call(re1, 'a'); - nativeExec.call(re2, 'a'); - return re1.lastIndex !== 0 || re2.lastIndex !== 0; + var re1 = /a/; + var re2 = /b*/g; + nativeExec.call(re1, 'a'); + nativeExec.call(re2, 'a'); + return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET; @@ -969,65 +1070,85 @@ // nonparticipating capturing group, copied from es5-shim's String#split patch. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; - var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2; + var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2 || regexpUnsupportedDotAll || regexpUnsupportedNcg; if (PATCH) { - patchedExec = function exec(str) { - var re = this; - var lastIndex, reCopy, match, i; - var sticky = UNSUPPORTED_Y$2 && re.sticky; - var flags = regexpFlags.call(re); - var source = re.source; - var charsAdded = 0; - var strCopy = str; - - if (sticky) { - flags = flags.replace('y', ''); - if (flags.indexOf('g') === -1) { - flags += 'g'; - } - - strCopy = String(str).slice(re.lastIndex); - // Support anchored sticky behavior. - if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) { - source = '(?: ' + source + ')'; - strCopy = ' ' + strCopy; - charsAdded++; - } - // ^(? + rx + ) is needed, in combination with some str slicing, to - // simulate the 'y' flag. - reCopy = new RegExp('^(?:' + source + ')', flags); - } - - if (NPCG_INCLUDED) { - reCopy = new RegExp('^' + source + '$(?!\\s)', flags); - } - if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - - match = nativeExec.call(sticky ? reCopy : re, strCopy); - - if (sticky) { - if (match) { - match.input = match.input.slice(charsAdded); - match[0] = match[0].slice(charsAdded); - match.index = re.lastIndex; - re.lastIndex += match[0].length; - } else re.lastIndex = 0; - } else if (UPDATES_LAST_INDEX_WRONG && match) { - re.lastIndex = re.global ? match.index + match[0].length : lastIndex; - } - if (NPCG_INCLUDED && match && match.length > 1) { - // Fix browsers whose `exec` methods don't consistently return `undefined` - // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ - nativeReplace.call(match[0], reCopy, function () { - for (i = 1; i < arguments.length - 2; i++) { - if (arguments[i] === undefined) match[i] = undefined; - } - }); - } - - return match; - }; + // eslint-disable-next-line max-statements -- TODO + patchedExec = function exec(str) { + var re = this; + var state = getInternalState$5(re); + var raw = state.raw; + var result, reCopy, lastIndex, match, i, object, group; + + if (raw) { + raw.lastIndex = re.lastIndex; + result = patchedExec.call(raw, str); + re.lastIndex = raw.lastIndex; + return result; + } + + var groups = state.groups; + var sticky = UNSUPPORTED_Y$2 && re.sticky; + var flags = regexpFlags.call(re); + var source = re.source; + var charsAdded = 0; + var strCopy = str; + + if (sticky) { + flags = flags.replace('y', ''); + if (flags.indexOf('g') === -1) { + flags += 'g'; + } + + strCopy = String(str).slice(re.lastIndex); + // Support anchored sticky behavior. + if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) { + source = '(?: ' + source + ')'; + strCopy = ' ' + strCopy; + charsAdded++; + } + // ^(? + rx + ) is needed, in combination with some str slicing, to + // simulate the 'y' flag. + reCopy = new RegExp('^(?:' + source + ')', flags); + } + + if (NPCG_INCLUDED) { + reCopy = new RegExp('^' + source + '$(?!\\s)', flags); + } + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; + + match = nativeExec.call(sticky ? reCopy : re, strCopy); + + if (sticky) { + if (match) { + match.input = match.input.slice(charsAdded); + match[0] = match[0].slice(charsAdded); + match.index = re.lastIndex; + re.lastIndex += match[0].length; + } else re.lastIndex = 0; + } else if (UPDATES_LAST_INDEX_WRONG && match) { + re.lastIndex = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + // Fix browsers whose `exec` methods don't consistently return `undefined` + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ + nativeReplace.call(match[0], reCopy, function () { + for (i = 1; i < arguments.length - 2; i++) { + if (arguments[i] === undefined) match[i] = undefined; + } + }); + } + + if (match && groups) { + match.groups = object = objectCreate(null); + for (i = 0; i < groups.length; i++) { + group = groups[i]; + object[group[0]] = match[group[1]]; + } + } + + return match; + }; } var regexpExec = patchedExec; @@ -1035,7 +1156,7 @@ // `RegExp.prototype.exec` method // https://tc39.es/ecma262/#sec-regexp.prototype.exec _export({ target: 'RegExp', proto: true, forced: /./.exec !== regexpExec }, { - exec: regexpExec + exec: regexpExec }); // TODO: Remove from `core-js@4` since it's moved to entry points @@ -1049,221 +1170,164 @@ var SPECIES$4 = wellKnownSymbol('species'); var RegExpPrototype$2 = RegExp.prototype; - var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { - // #replace needs built-in support for named groups. - // #match works fine because it just return the exec results, even if it has - // a "grops" property. - var re = /./; - re.exec = function () { - var result = []; - result.groups = { a: '7' }; - return result; - }; - return ''.replace(re, '$<a>') !== '7'; - }); - - // IE <= 11 replaces $0 with the whole match, as if it was $& - // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 - var REPLACE_KEEPS_$0 = (function () { - // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing - return 'a'.replace(/./, '$0') === '$0'; - })(); - - var REPLACE = wellKnownSymbol('replace'); - // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string - var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { - if (/./[REPLACE]) { - return /./[REPLACE]('a', '$0') === ''; - } - return false; - })(); - - // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec - // Weex JS has frozen built-in prototypes, so use try / catch wrapper - var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { - // eslint-disable-next-line regexp/no-empty-group -- required for testing - var re = /(?:)/; - var originalExec = re.exec; - re.exec = function () { return originalExec.apply(this, arguments); }; - var result = 'ab'.split(re); - return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; - }); - - var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) { - var SYMBOL = wellKnownSymbol(KEY); - - var DELEGATES_TO_SYMBOL = !fails(function () { - // String methods call symbol-named RegEp methods - var O = {}; - O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; - }); - - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { - // Symbol-named RegExp methods call .exec - var execCalled = false; - var re = /a/; - - if (KEY === 'split') { - // We can't use real regex here since it causes deoptimization - // and serious performance degradation in V8 - // https://github.com/zloirock/core-js/issues/306 - re = {}; - // RegExp[@@split] doesn't call the regex's exec method, but first creates - // a new one. We need to return the patched regex when creating the new one. - re.constructor = {}; - re.constructor[SPECIES$4] = function () { return re; }; - re.flags = ''; - re[SYMBOL] = /./[SYMBOL]; - } - - re.exec = function () { execCalled = true; return null; }; - - re[SYMBOL](''); - return !execCalled; - }); - - if ( - !DELEGATES_TO_SYMBOL || - !DELEGATES_TO_EXEC || - (KEY === 'replace' && !( - REPLACE_SUPPORTS_NAMED_GROUPS && - REPLACE_KEEPS_$0 && - !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE - )) || - (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) - ) { - var nativeRegExpMethod = /./[SYMBOL]; - var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - var $exec = regexp.exec; - if ($exec === regexpExec || $exec === RegExpPrototype$2.exec) { - if (DELEGATES_TO_SYMBOL && !forceStringMethod) { - // The native String method already delegates to @@method (this - // polyfilled function), leasing to infinite recursion. - // We avoid it by directly calling the native @@method method. - return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; - } - return { done: true, value: nativeMethod.call(str, regexp, arg2) }; - } - return { done: false }; - }, { - REPLACE_KEEPS_$0: REPLACE_KEEPS_$0, - REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE - }); - var stringMethod = methods[0]; - var regexMethod = methods[1]; - - redefine(String.prototype, KEY, stringMethod); - redefine(RegExpPrototype$2, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return regexMethod.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return regexMethod.call(string, this); } - ); - } - - if (sham) createNonEnumerableProperty(RegExpPrototype$2[SYMBOL], 'sham', true); + var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { + var SYMBOL = wellKnownSymbol(KEY); + + var DELEGATES_TO_SYMBOL = !fails(function () { + // String methods call symbol-named RegEp methods + var O = {}; + O[SYMBOL] = function () { return 7; }; + return ''[KEY](O) != 7; + }); + + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { + // Symbol-named RegExp methods call .exec + var execCalled = false; + var re = /a/; + + if (KEY === 'split') { + // We can't use real regex here since it causes deoptimization + // and serious performance degradation in V8 + // https://github.com/zloirock/core-js/issues/306 + re = {}; + // RegExp[@@split] doesn't call the regex's exec method, but first creates + // a new one. We need to return the patched regex when creating the new one. + re.constructor = {}; + re.constructor[SPECIES$4] = function () { return re; }; + re.flags = ''; + re[SYMBOL] = /./[SYMBOL]; + } + + re.exec = function () { execCalled = true; return null; }; + + re[SYMBOL](''); + return !execCalled; + }); + + if ( + !DELEGATES_TO_SYMBOL || + !DELEGATES_TO_EXEC || + FORCED + ) { + var nativeRegExpMethod = /./[SYMBOL]; + var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { + var $exec = regexp.exec; + if ($exec === regexpExec || $exec === RegExpPrototype$2.exec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + // The native String method already delegates to @@method (this + // polyfilled function), leasing to infinite recursion. + // We avoid it by directly calling the native @@method method. + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; + } + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + } + return { done: false }; + }); + + redefine(String.prototype, KEY, methods[0]); + redefine(RegExpPrototype$2, SYMBOL, methods[1]); + } + + if (SHAM) createNonEnumerableProperty(RegExpPrototype$2[SYMBOL], 'sham', true); }; // `SameValue` abstract operation // https://tc39.es/ecma262/#sec-samevalue // eslint-disable-next-line es/no-object-is -- safe var sameValue = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare -- NaN check - return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; + // eslint-disable-next-line no-self-compare -- NaN check + return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; }; // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec var regexpExecAbstract = function (R, S) { - var exec = R.exec; - if (typeof exec === 'function') { - var result = exec.call(R, S); - if (typeof result !== 'object') { - throw TypeError('RegExp exec method returned something other than an Object or null'); - } - return result; - } + var exec = R.exec; + if (typeof exec === 'function') { + var result = exec.call(R, S); + if (typeof result !== 'object') { + throw TypeError('RegExp exec method returned something other than an Object or null'); + } + return result; + } - if (classofRaw(R) !== 'RegExp') { - throw TypeError('RegExp#exec called on incompatible receiver'); - } + if (classofRaw(R) !== 'RegExp') { + throw TypeError('RegExp#exec called on incompatible receiver'); + } - return regexpExec.call(R, S); + return regexpExec.call(R, S); }; // @@search logic - fixRegexpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) { - return [ - // `String.prototype.search` method - // https://tc39.es/ecma262/#sec-string.prototype.search - function search(regexp) { - var O = requireObjectCoercible(this); - var searcher = regexp == undefined ? undefined : regexp[SEARCH]; - return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); - }, - // `RegExp.prototype[@@search]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@search - function (regexp) { - var res = maybeCallNative(nativeSearch, regexp, this); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - var previousLastIndex = rx.lastIndex; - if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; - var result = regexpExecAbstract(rx, S); - if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; - return result === null ? -1 : result.index; - } - ]; + fixRegexpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.es/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = requireObjectCoercible(this); + var searcher = regexp == undefined ? undefined : regexp[SEARCH]; + return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@search + function (string) { + var res = maybeCallNative(nativeSearch, this, string); + if (res.done) return res.value; + + var rx = anObject(this); + var S = String(string); + + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; + var result = regexpExecAbstract(rx, S); + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; }); // iterable DOM collections // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods var domIterables = { - CSSRuleList: 0, - CSSStyleDeclaration: 0, - CSSValueList: 0, - ClientRectList: 0, - DOMRectList: 0, - DOMStringList: 0, - DOMTokenList: 1, - DataTransferItemList: 0, - FileList: 0, - HTMLAllCollection: 0, - HTMLCollection: 0, - HTMLFormElement: 0, - HTMLSelectElement: 0, - MediaList: 0, - MimeTypeArray: 0, - NamedNodeMap: 0, - NodeList: 1, - PaintRequestList: 0, - Plugin: 0, - PluginArray: 0, - SVGLengthList: 0, - SVGNumberList: 0, - SVGPathSegList: 0, - SVGPointList: 0, - SVGStringList: 0, - SVGTransformList: 0, - SourceBufferList: 0, - StyleSheetList: 0, - TextTrackCueList: 0, - TextTrackList: 0, - TouchList: 0 + CSSRuleList: 0, + CSSStyleDeclaration: 0, + CSSValueList: 0, + ClientRectList: 0, + DOMRectList: 0, + DOMStringList: 0, + DOMTokenList: 1, + DataTransferItemList: 0, + FileList: 0, + HTMLAllCollection: 0, + HTMLCollection: 0, + HTMLFormElement: 0, + HTMLSelectElement: 0, + MediaList: 0, + MimeTypeArray: 0, + NamedNodeMap: 0, + NodeList: 1, + PaintRequestList: 0, + Plugin: 0, + PluginArray: 0, + SVGLengthList: 0, + SVGNumberList: 0, + SVGPathSegList: 0, + SVGPointList: 0, + SVGStringList: 0, + SVGTransformList: 0, + SourceBufferList: 0, + StyleSheetList: 0, + TextTrackCueList: 0, + TextTrackList: 0, + TouchList: 0 }; var arrayMethodIsStrict = function (METHOD_NAME, argument) { - var method = [][METHOD_NAME]; - return !!method && fails(function () { - // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing - method.call(null, argument || function () { throw 1; }, 1); - }); + var method = [][METHOD_NAME]; + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing + method.call(null, argument || function () { throw 1; }, 1); + }); }; var $forEach$2 = arrayIteration.forEach; @@ -1274,19 +1338,19 @@ // `Array.prototype.forEach` method implementation // https://tc39.es/ecma262/#sec-array.prototype.foreach var arrayForEach = !STRICT_METHOD$3 ? function forEach(callbackfn /* , thisArg */) { - return $forEach$2(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - // eslint-disable-next-line es/no-array-prototype-foreach -- safe + return $forEach$2(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + // eslint-disable-next-line es/no-array-prototype-foreach -- safe } : [].forEach; for (var COLLECTION_NAME$1 in domIterables) { - var Collection$1 = global_1[COLLECTION_NAME$1]; - var CollectionPrototype$1 = Collection$1 && Collection$1.prototype; - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype$1 && CollectionPrototype$1.forEach !== arrayForEach) try { - createNonEnumerableProperty(CollectionPrototype$1, 'forEach', arrayForEach); - } catch (error) { - CollectionPrototype$1.forEach = arrayForEach; - } + var Collection$1 = global_1[COLLECTION_NAME$1]; + var CollectionPrototype$1 = Collection$1 && Collection$1.prototype; + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype$1 && CollectionPrototype$1.forEach !== arrayForEach) try { + createNonEnumerableProperty(CollectionPrototype$1, 'forEach', arrayForEach); + } catch (error) { + CollectionPrototype$1.forEach = arrayForEach; + } } var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); @@ -1297,45 +1361,45 @@ // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/679 var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () { - var array = []; - array[IS_CONCAT_SPREADABLE] = false; - return array.concat()[0] !== array; + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; }); var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat'); var isConcatSpreadable = function (O) { - if (!isObject$1(O)) return false; - var spreadable = O[IS_CONCAT_SPREADABLE]; - return spreadable !== undefined ? !!spreadable : isArray$3(O); + if (!isObject$1(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray$3(O); }; - var FORCED$9 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; + var FORCED$8 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; // `Array.prototype.concat` method // https://tc39.es/ecma262/#sec-array.prototype.concat // with adding support of @@isConcatSpreadable and @@species - _export({ target: 'Array', proto: true, forced: FORCED$9 }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - concat: function concat(arg) { - var O = toObject(this); - var A = arraySpeciesCreate(O, 0); - var n = 0; - var i, k, length, len, E; - for (i = -1, length = arguments.length; i < length; i++) { - E = i === -1 ? O : arguments[i]; - if (isConcatSpreadable(E)) { - len = toLength(E.length); - if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); - for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); - } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); - createProperty(A, n++, E); - } - } - A.length = n; - return A; - } + _export({ target: 'Array', proto: true, forced: FORCED$8 }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject(this); + var A = arraySpeciesCreate(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = toLength(E.length); + if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); + } else { + if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + createProperty(A, n++, E); + } + } + A.length = n; + return A; + } }); var global$2 = typeof global$1 !== "undefined" ? global$1 : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}; @@ -1345,75 +1409,75 @@ // based off https://github.com/defunctzombie/node-process/blob/master/browser.js function defaultSetTimout$1() { - throw new Error('setTimeout has not been defined'); + throw new Error('setTimeout has not been defined'); } function defaultClearTimeout$1() { - throw new Error('clearTimeout has not been defined'); + throw new Error('clearTimeout has not been defined'); } var cachedSetTimeout$1 = defaultSetTimout$1; var cachedClearTimeout$1 = defaultClearTimeout$1; if (typeof global$1.setTimeout === 'function') { - cachedSetTimeout$1 = setTimeout; + cachedSetTimeout$1 = setTimeout; } if (typeof global$1.clearTimeout === 'function') { - cachedClearTimeout$1 = clearTimeout; + cachedClearTimeout$1 = clearTimeout; } function runTimeout$1(fun) { - if (cachedSetTimeout$1 === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } // if setTimeout wasn't available but was latter defined - - - if ((cachedSetTimeout$1 === defaultSetTimout$1 || !cachedSetTimeout$1) && setTimeout) { - cachedSetTimeout$1 = setTimeout; - return setTimeout(fun, 0); - } - - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout$1(fun, 0); - } catch (e) { - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout$1.call(null, fun, 0); - } catch (e) { - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout$1.call(this, fun, 0); - } - } + if (cachedSetTimeout$1 === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } // if setTimeout wasn't available but was latter defined + + + if ((cachedSetTimeout$1 === defaultSetTimout$1 || !cachedSetTimeout$1) && setTimeout) { + cachedSetTimeout$1 = setTimeout; + return setTimeout(fun, 0); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout$1(fun, 0); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout$1.call(null, fun, 0); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout$1.call(this, fun, 0); + } + } } function runClearTimeout$1(marker) { - if (cachedClearTimeout$1 === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } // if clearTimeout wasn't available but was latter defined - - - if ((cachedClearTimeout$1 === defaultClearTimeout$1 || !cachedClearTimeout$1) && clearTimeout) { - cachedClearTimeout$1 = clearTimeout; - return clearTimeout(marker); - } - - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout$1(marker); - } catch (e) { - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout$1.call(null, marker); - } catch (e) { - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout$1.call(this, marker); - } - } + if (cachedClearTimeout$1 === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } // if clearTimeout wasn't available but was latter defined + + + if ((cachedClearTimeout$1 === defaultClearTimeout$1 || !cachedClearTimeout$1) && clearTimeout) { + cachedClearTimeout$1 = clearTimeout; + return clearTimeout(marker); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout$1(marker); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout$1.call(null, marker); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout$1.call(this, marker); + } + } } var queue$2 = []; @@ -1422,74 +1486,74 @@ var queueIndex$1 = -1; function cleanUpNextTick$1() { - if (!draining$1 || !currentQueue$1) { - return; - } + if (!draining$1 || !currentQueue$1) { + return; + } - draining$1 = false; + draining$1 = false; - if (currentQueue$1.length) { - queue$2 = currentQueue$1.concat(queue$2); - } else { - queueIndex$1 = -1; - } + if (currentQueue$1.length) { + queue$2 = currentQueue$1.concat(queue$2); + } else { + queueIndex$1 = -1; + } - if (queue$2.length) { - drainQueue$1(); - } + if (queue$2.length) { + drainQueue$1(); + } } function drainQueue$1() { - if (draining$1) { - return; - } + if (draining$1) { + return; + } - var timeout = runTimeout$1(cleanUpNextTick$1); - draining$1 = true; - var len = queue$2.length; + var timeout = runTimeout$1(cleanUpNextTick$1); + draining$1 = true; + var len = queue$2.length; - while (len) { - currentQueue$1 = queue$2; - queue$2 = []; + while (len) { + currentQueue$1 = queue$2; + queue$2 = []; - while (++queueIndex$1 < len) { - if (currentQueue$1) { - currentQueue$1[queueIndex$1].run(); - } - } + while (++queueIndex$1 < len) { + if (currentQueue$1) { + currentQueue$1[queueIndex$1].run(); + } + } - queueIndex$1 = -1; - len = queue$2.length; - } + queueIndex$1 = -1; + len = queue$2.length; + } - currentQueue$1 = null; - draining$1 = false; - runClearTimeout$1(timeout); + currentQueue$1 = null; + draining$1 = false; + runClearTimeout$1(timeout); } function nextTick$1(fun) { - var args = new Array(arguments.length - 1); + var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } - queue$2.push(new Item$1(fun, args)); + queue$2.push(new Item$1(fun, args)); - if (queue$2.length === 1 && !draining$1) { - runTimeout$1(drainQueue$1); - } + if (queue$2.length === 1 && !draining$1) { + runTimeout$1(drainQueue$1); + } } // v8 likes predictible objects function Item$1(fun, array) { - this.fun = fun; - this.array = array; + this.fun = fun; + this.array = array; } Item$1.prototype.run = function () { - this.fun.apply(null, this.array); + this.fun.apply(null, this.array); }; var title = 'browser'; @@ -1513,73 +1577,73 @@ var removeAllListeners = noop; var emit = noop; function binding(name) { - throw new Error('process.binding is not supported'); + throw new Error('process.binding is not supported'); } function cwd() { - return '/'; + return '/'; } function chdir(dir) { - throw new Error('process.chdir is not supported'); + throw new Error('process.chdir is not supported'); } function umask() { - return 0; + return 0; } // from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js var performance$1 = global$1.performance || {}; var performanceNow = performance$1.now || performance$1.mozNow || performance$1.msNow || performance$1.oNow || performance$1.webkitNow || function () { - return new Date().getTime(); + return new Date().getTime(); }; // generate timestamp or delta // see http://nodejs.org/api/process.html#process_process_hrtime function hrtime(previousTimestamp) { - var clocktime = performanceNow.call(performance$1) * 1e-3; - var seconds = Math.floor(clocktime); - var nanoseconds = Math.floor(clocktime % 1 * 1e9); + var clocktime = performanceNow.call(performance$1) * 1e-3; + var seconds = Math.floor(clocktime); + var nanoseconds = Math.floor(clocktime % 1 * 1e9); - if (previousTimestamp) { - seconds = seconds - previousTimestamp[0]; - nanoseconds = nanoseconds - previousTimestamp[1]; + if (previousTimestamp) { + seconds = seconds - previousTimestamp[0]; + nanoseconds = nanoseconds - previousTimestamp[1]; - if (nanoseconds < 0) { - seconds--; - nanoseconds += 1e9; - } - } + if (nanoseconds < 0) { + seconds--; + nanoseconds += 1e9; + } + } - return [seconds, nanoseconds]; + return [seconds, nanoseconds]; } var startTime = new Date(); function uptime() { - var currentTime = new Date(); - var dif = currentTime - startTime; - return dif / 1000; + var currentTime = new Date(); + var dif = currentTime - startTime; + return dif / 1000; } var process$3 = { - nextTick: nextTick$1, - title: title, - browser: browser$3, - env: env, - argv: argv, - version: version$1, - versions: versions, - on: on, - addListener: addListener, - once: once, - off: off, - removeListener: removeListener, - removeAllListeners: removeAllListeners, - emit: emit, - binding: binding, - cwd: cwd, - chdir: chdir, - umask: umask, - hrtime: hrtime, - platform: platform, - release: release, - config: config, - uptime: uptime + nextTick: nextTick$1, + title: title, + browser: browser$3, + env: env, + argv: argv, + version: version$1, + versions: versions, + on: on, + addListener: addListener, + once: once, + off: off, + removeListener: removeListener, + removeAllListeners: removeAllListeners, + emit: emit, + binding: binding, + cwd: cwd, + chdir: chdir, + umask: umask, + hrtime: hrtime, + platform: platform, + release: release, + config: config, + uptime: uptime }; var TO_STRING_TAG$4 = wellKnownSymbol('toStringTag'); @@ -1595,33 +1659,33 @@ // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { - try { - return it[key]; - } catch (error) { /* empty */ } + try { + return it[key]; + } catch (error) { /* empty */ } }; // getting tag from ES6+ `Object.prototype.toString` var classof = toStringTagSupport ? classofRaw : function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG$3)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw(O) - // ES3 arguments fallback - : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; + var O, tag, result; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG$3)) == 'string' ? tag + // builtinTag case + : CORRECT_ARGUMENTS ? classofRaw(O) + // ES3 arguments fallback + : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; }; // `Object.prototype.toString` method implementation // https://tc39.es/ecma262/#sec-object.prototype.tostring var objectToString$1 = toStringTagSupport ? {}.toString : function toString() { - return '[object ' + classof(this) + ']'; + return '[object ' + classof(this) + ']'; }; // `Object.prototype.toString` method // https://tc39.es/ecma262/#sec-object.prototype.tostring if (!toStringTagSupport) { - redefine(Object.prototype, 'toString', objectToString$1, { unsafe: true }); + redefine(Object.prototype, 'toString', objectToString$1, { unsafe: true }); } var TO_STRING = 'toString'; @@ -1635,13 +1699,13 @@ // `RegExp.prototype.toString` method // https://tc39.es/ecma262/#sec-regexp.prototype.tostring if (NOT_GENERIC || INCORRECT_NAME) { - redefine(RegExp.prototype, TO_STRING, function toString() { - var R = anObject(this); - var p = String(R.source); - var rf = R.flags; - var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$1) ? regexpFlags.call(R) : rf); - return '/' + p + '/' + f; - }, { unsafe: true }); + redefine(RegExp.prototype, TO_STRING, function toString() { + var R = anObject(this); + var p = String(R.source); + var rf = R.flags; + var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$1) ? regexpFlags.call(R) : rf); + return '/' + p + '/' + f; + }, { unsafe: true }); } var defineProperty$8 = objectDefineProperty.f; @@ -1654,37 +1718,37 @@ // Function instances `.name` property // https://tc39.es/ecma262/#sec-function-instances-name if (descriptors && !(NAME$1 in FunctionPrototype)) { - defineProperty$8(FunctionPrototype, NAME$1, { - configurable: true, - get: function () { - try { - return FunctionPrototypeToString.call(this).match(nameRE)[1]; - } catch (error) { - return ''; - } - } - }); + defineProperty$8(FunctionPrototype, NAME$1, { + configurable: true, + get: function () { + try { + return FunctionPrototypeToString.call(this).match(nameRE)[1]; + } catch (error) { + return ''; + } + } + }); } var correctPrototypeGetter = !fails(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - // eslint-disable-next-line es/no-object-getprototypeof -- required for testing - return Object.getPrototypeOf(new F()) !== F.prototype; + function F() { /* empty */ } + F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing + return Object.getPrototypeOf(new F()) !== F.prototype; }); - var IE_PROTO$1 = sharedKey('IE_PROTO'); + var IE_PROTO = sharedKey('IE_PROTO'); var ObjectPrototype$3 = Object.prototype; // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof // eslint-disable-next-line es/no-object-getprototypeof -- safe var objectGetPrototypeOf = correctPrototypeGetter ? Object.getPrototypeOf : function (O) { - O = toObject(O); - if (has$1(O, IE_PROTO$1)) return O[IE_PROTO$1]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectPrototype$3 : null; + O = toObject(O); + if (has$1(O, IE_PROTO)) return O[IE_PROTO]; + if (typeof O.constructor == 'function' && O instanceof O.constructor) { + return O.constructor.prototype; + } return O instanceof Object ? ObjectPrototype$3 : null; }; var FAILS_ON_PRIMITIVES$3 = fails(function () { objectGetPrototypeOf(1); }); @@ -1692,15 +1756,15 @@ // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$3, sham: !correctPrototypeGetter }, { - getPrototypeOf: function getPrototypeOf(it) { - return objectGetPrototypeOf(toObject(it)); - } + getPrototypeOf: function getPrototypeOf(it) { + return objectGetPrototypeOf(toObject(it)); + } }); // `Reflect.ownKeys` method // https://tc39.es/ecma262/#sec-reflect.ownkeys _export({ target: 'Reflect', stat: true }, { - ownKeys: ownKeys$1 + ownKeys: ownKeys$1 }); var domain; // This constructor is used to store event handlers. Instantiating this is @@ -1712,7 +1776,7 @@ EventHandlers.prototype = Object.create(null); function EventEmitter$2() { - EventEmitter$2.init.call(this); + EventEmitter$2.init.call(this); } // require('events') === require('events').EventEmitter @@ -1726,36 +1790,36 @@ EventEmitter$2.defaultMaxListeners = 10; EventEmitter$2.init = function () { - this.domain = null; + this.domain = null; - if (EventEmitter$2.usingDomains) { - // if there is an active domain, then attach to it. - if (domain.active ) ; - } + if (EventEmitter$2.usingDomains) { + // if there is an active domain, then attach to it. + if (domain.active ) ; + } - if (!this._events || this._events === Object.getPrototypeOf(this)._events) { - this._events = new EventHandlers(); - this._eventsCount = 0; - } + if (!this._events || this._events === Object.getPrototypeOf(this)._events) { + this._events = new EventHandlers(); + this._eventsCount = 0; + } - this._maxListeners = this._maxListeners || undefined; + this._maxListeners = this._maxListeners || undefined; }; // Obviously not all Emitters should be limited to 10. This function allows // that to be increased. Set to zero for unlimited. EventEmitter$2.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; + 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$2.defaultMaxListeners; - return that._maxListeners; + if (that._maxListeners === undefined) return EventEmitter$2.defaultMaxListeners; + return that._maxListeners; } EventEmitter$2.prototype.getMaxListeners = function getMaxListeners() { - return $getMaxListeners(this); + return $getMaxListeners(this); }; // These standalone emit* functions are used to optimize calling of event // handlers for fast cases because emit() itself often has a variable number of // arguments and can be deoptimized because of that. These functions always have @@ -1764,385 +1828,385 @@ function emitNone(handler, isFn, self) { - if (isFn) handler.call(self);else { - var len = handler.length; - var listeners = arrayClone(handler, len); + 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); - } - } + 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); + 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); - } - } + 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); + 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); - } - } + 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); + 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); - } - } + 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); + 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); - } - } + for (var i = 0; i < len; ++i) { + listeners[i].apply(self, args); + } + } } EventEmitter$2.prototype.emit = function emit(type) { - var er, handler, len, args, i, events, domain; - var doError = type === 'error'; - events = this._events; - if (events) doError = doError && events.error == null;else if (!doError) return false; - domain = this.domain; // If there is no 'error' event listener then throw. - - if (doError) { - er = arguments[1]; - - if (domain) { - if (!er) er = new Error('Uncaught, unspecified "error" event'); - er.domainEmitter = this; - er.domain = domain; - er.domainThrown = false; - domain.emit('error', er); - } else if (er instanceof Error) { - throw er; // Unhandled 'error' event - } else { - // At least give some kind of context to the user - var err = new Error('Uncaught, unspecified "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) { - // fast cases - 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; - // slower - - default: - args = new Array(len - 1); - - for (i = 1; i < len; i++) { - args[i - 1] = arguments[i]; - } - - emitMany(handler, isFn, this, args); - } - return true; + var er, handler, len, args, i, events, domain; + var doError = type === 'error'; + events = this._events; + if (events) doError = doError && events.error == null;else if (!doError) return false; + domain = this.domain; // If there is no 'error' event listener then throw. + + if (doError) { + er = arguments[1]; + + if (domain) { + if (!er) er = new Error('Uncaught, unspecified "error" event'); + er.domainEmitter = this; + er.domain = domain; + er.domainThrown = false; + domain.emit('error', er); + } else if (er instanceof Error) { + throw er; // Unhandled 'error' event + } else { + // At least give some kind of context to the user + var err = new Error('Uncaught, unspecified "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) { + // fast cases + 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; + // slower + + 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 = new EventHandlers(); - target._eventsCount = 0; - } else { - // To avoid recursion in the case that type === "newListener"! Before - // adding it to the listeners, first emit "newListener". - if (events.newListener) { - target.emit('newListener', type, listener.listener ? listener.listener : listener); // Re-assign `events` because a newListener handler could have caused the - // this._events to be assigned to a new object - - events = target._events; - } - - existing = events[type]; - } - - if (!existing) { - // Optimize the case of one listener. Don't need the extra array object. - existing = events[type] = listener; - ++target._eventsCount; - } else { - if (typeof existing === 'function') { - // Adding the second element, need to change to array. - existing = events[type] = prepend ? [listener, existing] : [existing, listener]; - } else { - // If we've already got an array, just append. - if (prepend) { - existing.unshift(listener); - } else { - existing.push(listener); - } - } // Check for listener leak - - - 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 + ' ' + type + ' listeners added. ' + 'Use emitter.setMaxListeners() to increase limit'); - w.name = 'MaxListenersExceededWarning'; - w.emitter = target; - w.type = type; - w.count = existing.length; - emitWarning$1(w); - } - } - } - - return target; + 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 = new EventHandlers(); + target._eventsCount = 0; + } else { + // To avoid recursion in the case that type === "newListener"! Before + // adding it to the listeners, first emit "newListener". + if (events.newListener) { + target.emit('newListener', type, listener.listener ? listener.listener : listener); // Re-assign `events` because a newListener handler could have caused the + // this._events to be assigned to a new object + + events = target._events; + } + + existing = events[type]; + } + + if (!existing) { + // Optimize the case of one listener. Don't need the extra array object. + existing = events[type] = listener; + ++target._eventsCount; + } else { + if (typeof existing === 'function') { + // Adding the second element, need to change to array. + existing = events[type] = prepend ? [listener, existing] : [existing, listener]; + } else { + // If we've already got an array, just append. + if (prepend) { + existing.unshift(listener); + } else { + existing.push(listener); + } + } // Check for listener leak + + + 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 + ' ' + type + ' listeners added. ' + 'Use emitter.setMaxListeners() to increase limit'); + w.name = 'MaxListenersExceededWarning'; + w.emitter = target; + w.type = type; + w.count = existing.length; + emitWarning$1(w); + } + } + } + + return target; } function emitWarning$1(e) { - typeof console.warn === 'function' ? console.warn(e) : console.log(e); + typeof console.warn === 'function' ? console.warn(e) : console.log(e); } EventEmitter$2.prototype.addListener = function addListener(type, listener) { - return _addListener(this, type, listener, false); + return _addListener(this, type, listener, false); }; EventEmitter$2.prototype.on = EventEmitter$2.prototype.addListener; EventEmitter$2.prototype.prependListener = function prependListener(type, listener) { - return _addListener(this, type, listener, true); + return _addListener(this, type, listener, true); }; function _onceWrap(target, type, listener) { - var fired = false; + var fired = false; - function g() { - target.removeListener(type, g); + function g() { + target.removeListener(type, g); - if (!fired) { - fired = true; - listener.apply(target, arguments); - } - } + if (!fired) { + fired = true; + listener.apply(target, arguments); + } + } - g.listener = listener; - return g; + g.listener = listener; + return g; } EventEmitter$2.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; + if (typeof listener !== 'function') throw new TypeError('"listener" argument must be a function'); + this.on(type, _onceWrap(this, type, listener)); + return this; }; EventEmitter$2.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; + if (typeof listener !== 'function') throw new TypeError('"listener" argument must be a function'); + this.prependListener(type, _onceWrap(this, type, listener)); + return this; }; // emits a 'removeListener' event iff the listener was removed EventEmitter$2.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 && list.listener === listener) { - if (--this._eventsCount === 0) this._events = new EventHandlers();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; i-- > 0;) { - if (list[i] === listener || list[i].listener && list[i].listener === listener) { - originalListener = list[i].listener; - position = i; - break; - } - } - - if (position < 0) return this; - - if (list.length === 1) { - list[0] = undefined; - - if (--this._eventsCount === 0) { - this._events = new EventHandlers(); - return this; - } else { - delete events[type]; - } - } else { - spliceOne(list, position); - } - - if (events.removeListener) this.emit('removeListener', type, originalListener || listener); - } - - return this; + 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 && list.listener === listener) { + if (--this._eventsCount === 0) this._events = new EventHandlers();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; i-- > 0;) { + if (list[i] === listener || list[i].listener && list[i].listener === listener) { + originalListener = list[i].listener; + position = i; + break; + } + } + + if (position < 0) return this; + + if (list.length === 1) { + list[0] = undefined; + + if (--this._eventsCount === 0) { + this._events = new EventHandlers(); + return this; + } else { + delete events[type]; + } + } else { + spliceOne(list, position); + } + + if (events.removeListener) this.emit('removeListener', type, originalListener || listener); + } + + return this; }; EventEmitter$2.prototype.removeAllListeners = function removeAllListeners(type) { - var listeners, events; - events = this._events; - if (!events) return this; // not listening for removeListener, no need to emit + var listeners, events; + events = this._events; + if (!events) return this; // not listening for removeListener, no need to emit - if (!events.removeListener) { - if (arguments.length === 0) { - this._events = new EventHandlers(); - this._eventsCount = 0; - } else if (events[type]) { - if (--this._eventsCount === 0) this._events = new EventHandlers();else delete events[type]; - } + if (!events.removeListener) { + if (arguments.length === 0) { + this._events = new EventHandlers(); + this._eventsCount = 0; + } else if (events[type]) { + if (--this._eventsCount === 0) this._events = new EventHandlers();else delete events[type]; + } - return this; - } // emit removeListener for all listeners on all events + return this; + } // emit removeListener for all listeners on all events - if (arguments.length === 0) { - var keys = Object.keys(events); + if (arguments.length === 0) { + var keys = Object.keys(events); - for (var i = 0, key; i < keys.length; ++i) { - key = keys[i]; - if (key === 'removeListener') continue; - this.removeAllListeners(key); - } + for (var i = 0, key; i < keys.length; ++i) { + key = keys[i]; + if (key === 'removeListener') continue; + this.removeAllListeners(key); + } - this.removeAllListeners('removeListener'); - this._events = new EventHandlers(); - this._eventsCount = 0; - return this; - } + this.removeAllListeners('removeListener'); + this._events = new EventHandlers(); + this._eventsCount = 0; + return this; + } - listeners = events[type]; + listeners = events[type]; - if (typeof listeners === 'function') { - this.removeListener(type, listeners); - } else if (listeners) { - // LIFO order - do { - this.removeListener(type, listeners[listeners.length - 1]); - } while (listeners[0]); - } + if (typeof listeners === 'function') { + this.removeListener(type, listeners); + } else if (listeners) { + // LIFO order + do { + this.removeListener(type, listeners[listeners.length - 1]); + } while (listeners[0]); + } - return this; + return this; }; EventEmitter$2.prototype.listeners = function listeners(type) { - var evlistener; - var ret; - var events = this._events; - if (!events) ret = [];else { - evlistener = events[type]; - if (!evlistener) ret = [];else if (typeof evlistener === 'function') ret = [evlistener.listener || evlistener];else ret = unwrapListeners(evlistener); - } - return ret; + var evlistener; + var ret; + var events = this._events; + if (!events) ret = [];else { + evlistener = events[type]; + if (!evlistener) ret = [];else if (typeof evlistener === 'function') ret = [evlistener.listener || evlistener];else ret = unwrapListeners(evlistener); + } + return ret; }; EventEmitter$2.listenerCount = function (emitter, type) { - if (typeof emitter.listenerCount === 'function') { - return emitter.listenerCount(type); - } else { - return listenerCount$1.call(emitter, type); - } + if (typeof emitter.listenerCount === 'function') { + return emitter.listenerCount(type); + } else { + return listenerCount$1.call(emitter, type); + } }; EventEmitter$2.prototype.listenerCount = listenerCount$1; function listenerCount$1(type) { - var events = this._events; + var events = this._events; - if (events) { - var evlistener = events[type]; + if (events) { + var evlistener = events[type]; - if (typeof evlistener === 'function') { - return 1; - } else if (evlistener) { - return evlistener.length; - } - } + if (typeof evlistener === 'function') { + return 1; + } else if (evlistener) { + return evlistener.length; + } + } - return 0; + return 0; } EventEmitter$2.prototype.eventNames = function eventNames() { - return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : []; + return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : []; }; // About 1.5x faster than the two-arg version of Array#splice(). function spliceOne(list, index) { - for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) { - list[i] = list[k]; - } + for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) { + list[i] = list[k]; + } - list.pop(); + list.pop(); } function arrayClone(arr, i) { - var copy = new Array(i); + var copy = new Array(i); - while (i--) { - copy[i] = arr[i]; - } + while (i--) { + copy[i] = arr[i]; + } - return copy; + return copy; } function unwrapListeners(arr) { - var ret = new Array(arr.length); + var ret = new Array(arr.length); - for (var i = 0; i < ret.length; ++i) { - ret[i] = arr[i].listener || arr[i]; - } + for (var i = 0; i < ret.length; ++i) { + ret[i] = arr[i].listener || arr[i]; + } - return ret; + return ret; } var nativeJoin = [].join; @@ -2153,9 +2217,9 @@ // `Array.prototype.join` method // https://tc39.es/ecma262/#sec-array.prototype.join _export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$2 }, { - join: function join(separator) { - return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); - } + join: function join(separator) { + return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); + } }); var $map$1 = arrayIteration.map; @@ -2167,15 +2231,15 @@ // https://tc39.es/ecma262/#sec-array.prototype.map // with adding support of @@species _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { - map: function map(callbackfn /* , thisArg */) { - return $map$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } + map: function map(callbackfn /* , thisArg */) { + return $map$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } }); var aPossiblePrototype = function (it) { - if (!isObject$1(it) && it !== null) { - throw TypeError("Can't set " + String(it) + ' as a prototype'); - } return it; + if (!isObject$1(it) && it !== null) { + throw TypeError("Can't set " + String(it) + ' as a prototype'); + } return it; }; /* eslint-disable no-proto -- safe */ @@ -2187,128 +2251,42 @@ // Works with __proto__ only. Old v8 can't work with null proto objects. // eslint-disable-next-line es/no-object-setprototypeof -- safe var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () { - var CORRECT_SETTER = false; - var test = {}; - var setter; - try { - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); - CORRECT_SETTER = test instanceof Array; - } catch (error) { /* empty */ } - return function setPrototypeOf(O, proto) { - anObject(O); - aPossiblePrototype(proto); - if (CORRECT_SETTER) setter.call(O, proto); - else O.__proto__ = proto; - return O; - }; + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; + setter.call(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) { /* empty */ } + return function setPrototypeOf(O, proto) { + anObject(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) setter.call(O, proto); + else O.__proto__ = proto; + return O; + }; }() : undefined); // makes subclassing work correct for wrapped built-ins var inheritIfRequired = function ($this, dummy, Wrapper) { - var NewTarget, NewTargetPrototype; - if ( - // it can work only with native `setPrototypeOf` - objectSetPrototypeOf && - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - typeof (NewTarget = dummy.constructor) == 'function' && - NewTarget !== Wrapper && - isObject$1(NewTargetPrototype = NewTarget.prototype) && - NewTargetPrototype !== Wrapper.prototype - ) objectSetPrototypeOf($this, NewTargetPrototype); - return $this; - }; - - // `Object.defineProperties` method - // https://tc39.es/ecma262/#sec-object.defineproperties - // eslint-disable-next-line es/no-object-defineproperties -- safe - var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var keys = objectKeys(Properties); - var length = keys.length; - var index = 0; - var key; - while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]); - return O; - }; - - var html$1 = getBuiltIn('document', 'documentElement'); - - var GT = '>'; - var LT = '<'; - var PROTOTYPE$2 = 'prototype'; - var SCRIPT = 'script'; - var IE_PROTO = sharedKey('IE_PROTO'); - - var EmptyConstructor = function () { /* empty */ }; - - var scriptTag = function (content) { - return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; - }; - - // Create object with fake `null` prototype: use ActiveX Object with cleared prototype - var NullProtoObjectViaActiveX = function (activeXDocument) { - activeXDocument.write(scriptTag('')); - activeXDocument.close(); - var temp = activeXDocument.parentWindow.Object; - activeXDocument = null; // avoid memory leak - return temp; - }; - - // Create object with fake `null` prototype: use iframe Object with cleared prototype - var NullProtoObjectViaIFrame = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = documentCreateElement('iframe'); - var JS = 'java' + SCRIPT + ':'; - var iframeDocument; - iframe.style.display = 'none'; - html$1.appendChild(iframe); - // https://github.com/zloirock/core-js/issues/475 - iframe.src = String(JS); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(scriptTag('document.F=Object')); - iframeDocument.close(); - return iframeDocument.F; - }; - - // Check for document.domain and active x support - // No need to use active x approach when document.domain is not set - // see https://github.com/es-shims/es5-shim/issues/150 - // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 - // avoid IE GC bug - var activeXDocument; - var NullProtoObject = function () { - try { - /* global ActiveXObject -- old IE */ - activeXDocument = document.domain && new ActiveXObject('htmlfile'); - } catch (error) { /* ignore */ } - NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame(); - var length = enumBugKeys.length; - while (length--) delete NullProtoObject[PROTOTYPE$2][enumBugKeys[length]]; - return NullProtoObject(); - }; - - hiddenKeys$1[IE_PROTO] = true; - - // `Object.create` method - // https://tc39.es/ecma262/#sec-object.create - var objectCreate = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - EmptyConstructor[PROTOTYPE$2] = anObject(O); - result = new EmptyConstructor(); - EmptyConstructor[PROTOTYPE$2] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = NullProtoObject(); - return Properties === undefined ? result : objectDefineProperties(result, Properties); + var NewTarget, NewTargetPrototype; + if ( + // it can work only with native `setPrototypeOf` + objectSetPrototypeOf && + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this + typeof (NewTarget = dummy.constructor) == 'function' && + NewTarget !== Wrapper && + isObject$1(NewTargetPrototype = NewTarget.prototype) && + NewTargetPrototype !== Wrapper.prototype + ) objectSetPrototypeOf($this, NewTargetPrototype); + return $this; }; // a string of all valid unicode whitespaces var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + - '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; var whitespace = '[' + whitespaces + ']'; var ltrim = RegExp('^' + whitespace + whitespace + '*'); @@ -2316,24 +2294,24 @@ // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation var createMethod$3 = function (TYPE) { - return function ($this) { - var string = String(requireObjectCoercible($this)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); - return string; - }; + return function ($this) { + var string = String(requireObjectCoercible($this)); + if (TYPE & 1) string = string.replace(ltrim, ''); + if (TYPE & 2) string = string.replace(rtrim, ''); + return string; + }; }; var stringTrim = { - // `String.prototype.{ trimLeft, trimStart }` methods - // https://tc39.es/ecma262/#sec-string.prototype.trimstart - start: createMethod$3(1), - // `String.prototype.{ trimRight, trimEnd }` methods - // https://tc39.es/ecma262/#sec-string.prototype.trimend - end: createMethod$3(2), - // `String.prototype.trim` method - // https://tc39.es/ecma262/#sec-string.prototype.trim - trim: createMethod$3(3) + // `String.prototype.{ trimLeft, trimStart }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimstart + start: createMethod$3(1), + // `String.prototype.{ trimRight, trimEnd }` methods + // https://tc39.es/ecma262/#sec-string.prototype.trimend + end: createMethod$3(2), + // `String.prototype.trim` method + // https://tc39.es/ecma262/#sec-string.prototype.trim + trim: createMethod$3(3) }; var getOwnPropertyNames$3 = objectGetOwnPropertyNames.f; @@ -2351,73 +2329,73 @@ // `ToNumber` abstract operation // https://tc39.es/ecma262/#sec-tonumber var toNumber = function (argument) { - var it = toPrimitive(argument, false); - var first, third, radix, maxCode, digits, length, index, code; - if (typeof it == 'string' && it.length > 2) { - it = trim(it); - first = it.charCodeAt(0); - if (first === 43 || first === 45) { - third = it.charCodeAt(2); - if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix - } else if (first === 48) { - switch (it.charCodeAt(1)) { - case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i - case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i - default: return +it; - } - digits = it.slice(2); - length = digits.length; - for (index = 0; index < length; index++) { - code = digits.charCodeAt(index); - // parseInt parses a string to a first unavailable symbol - // but ToNumber should return NaN if a string contains unavailable symbols - if (code < 48 || code > maxCode) return NaN; - } return parseInt(digits, radix); - } - } return +it; + var it = toPrimitive(argument, false); + var first, third, radix, maxCode, digits, length, index, code; + if (typeof it == 'string' && it.length > 2) { + it = trim(it); + first = it.charCodeAt(0); + if (first === 43 || first === 45) { + third = it.charCodeAt(2); + if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix + } else if (first === 48) { + switch (it.charCodeAt(1)) { + case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i + case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i + default: return +it; + } + digits = it.slice(2); + length = digits.length; + for (index = 0; index < length; index++) { + code = digits.charCodeAt(index); + // parseInt parses a string to a first unavailable symbol + // but ToNumber should return NaN if a string contains unavailable symbols + if (code < 48 || code > maxCode) return NaN; + } return parseInt(digits, radix); + } + } return +it; }; // `Number` constructor // https://tc39.es/ecma262/#sec-number-constructor if (isForced_1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) { - var NumberWrapper = function Number(value) { - var it = arguments.length < 1 ? 0 : value; - var dummy = this; - return dummy instanceof NumberWrapper - // check on 1..constructor(foo) case - && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classofRaw(dummy) != NUMBER) - ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it); - }; - for (var keys$3 = descriptors ? getOwnPropertyNames$3(NativeNumber) : ( - // ES3: - 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + - // ES2015 (in case, if modules with ES2015 Number statics required before): - 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + - 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' + - // ESNext - 'fromString,range' - ).split(','), j$1 = 0, key$1; keys$3.length > j$1; j$1++) { - if (has$1(NativeNumber, key$1 = keys$3[j$1]) && !has$1(NumberWrapper, key$1)) { - defineProperty$7(NumberWrapper, key$1, getOwnPropertyDescriptor$1(NativeNumber, key$1)); - } - } - NumberWrapper.prototype = NumberPrototype; - NumberPrototype.constructor = NumberWrapper; - redefine(global_1, NUMBER, NumberWrapper); + var NumberWrapper = function Number(value) { + var it = arguments.length < 1 ? 0 : value; + var dummy = this; + return dummy instanceof NumberWrapper + // check on 1..constructor(foo) case + && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classofRaw(dummy) != NUMBER) + ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it); + }; + for (var keys$3 = descriptors ? getOwnPropertyNames$3(NativeNumber) : ( + // ES3: + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + + // ES2015 (in case, if modules with ES2015 Number statics required before): + 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' + + // ESNext + 'fromString,range' + ).split(','), j$1 = 0, key$1; keys$3.length > j$1; j$1++) { + if (has$1(NativeNumber, key$1 = keys$3[j$1]) && !has$1(NumberWrapper, key$1)) { + defineProperty$7(NumberWrapper, key$1, getOwnPropertyDescriptor$1(NativeNumber, key$1)); + } + } + NumberWrapper.prototype = NumberPrototype; + NumberPrototype.constructor = NumberWrapper; + redefine(global_1, NUMBER, NumberWrapper); } var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; var FAILS_ON_PRIMITIVES$2 = fails(function () { nativeGetOwnPropertyDescriptor$1(1); }); - var FORCED$8 = !descriptors || FAILS_ON_PRIMITIVES$2; + var FORCED$7 = !descriptors || FAILS_ON_PRIMITIVES$2; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor - _export({ target: 'Object', stat: true, forced: FORCED$8, sham: !descriptors }, { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { - return nativeGetOwnPropertyDescriptor$1(toIndexedObject(it), key); - } + _export({ target: 'Object', stat: true, forced: FORCED$7, sham: !descriptors }, { + getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { + return nativeGetOwnPropertyDescriptor$1(toIndexedObject(it), key); + } }); /* eslint-disable es/no-object-getownpropertynames -- safe */ @@ -2427,21 +2405,21 @@ var toString$3 = {}.toString; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames - ? Object.getOwnPropertyNames(window) : []; + ? Object.getOwnPropertyNames(window) : []; var getWindowNames = function (it) { - try { - return $getOwnPropertyNames$1(it); - } catch (error) { - return windowNames.slice(); - } + try { + return $getOwnPropertyNames$1(it); + } catch (error) { + return windowNames.slice(); + } }; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window var f$2 = function getOwnPropertyNames(it) { - return windowNames && toString$3.call(it) == '[object Window]' - ? getWindowNames(it) - : $getOwnPropertyNames$1(toIndexedObject(it)); + return windowNames && toString$3.call(it) == '[object Window]' + ? getWindowNames(it) + : $getOwnPropertyNames$1(toIndexedObject(it)); }; var objectGetOwnPropertyNamesExternal = { @@ -2456,7 +2434,7 @@ // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1 }, { - getOwnPropertyNames: getOwnPropertyNames$2 + getOwnPropertyNames: getOwnPropertyNames$2 }); var MATCH$2 = wellKnownSymbol('match'); @@ -2464,22 +2442,22 @@ // `IsRegExp` abstract operation // https://tc39.es/ecma262/#sec-isregexp var isRegexp = function (it) { - var isRegExp; - return isObject$1(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp'); + var isRegExp; + return isObject$1(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp'); }; var SPECIES$3 = wellKnownSymbol('species'); var setSpecies = function (CONSTRUCTOR_NAME) { - var Constructor = getBuiltIn(CONSTRUCTOR_NAME); - var defineProperty = objectDefineProperty.f; + var Constructor = getBuiltIn(CONSTRUCTOR_NAME); + var defineProperty = objectDefineProperty.f; - if (descriptors && Constructor && !Constructor[SPECIES$3]) { - defineProperty(Constructor, SPECIES$3, { - configurable: true, - get: function () { return this; } - }); - } + if (descriptors && Constructor && !Constructor[SPECIES$3]) { + defineProperty(Constructor, SPECIES$3, { + configurable: true, + get: function () { return this; } + }); + } }; var defineProperty$6 = objectDefineProperty.f; @@ -2489,13 +2467,18 @@ + var enforceInternalState = internalState.enforce; + + var MATCH$1 = wellKnownSymbol('match'); var NativeRegExp = global_1.RegExp; var RegExpPrototype = NativeRegExp.prototype; + // TODO: Use only propper RegExpIdentifierName + var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; var re1 = /a/g; var re2 = /a/g; @@ -2504,63 +2487,158 @@ var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y; - var FORCED$7 = descriptors && isForced_1('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y$1 || fails(function () { - re2[MATCH$1] = false; - // RegExp constructor can alter flags and IsRegExp works correct with @@match - return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; - }))); + var BASE_FORCED = descriptors && + (!CORRECT_NEW || UNSUPPORTED_Y$1 || regexpUnsupportedDotAll || regexpUnsupportedNcg || fails(function () { + re2[MATCH$1] = false; + // RegExp constructor can alter flags and IsRegExp works correct with @@match + return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; + })); + + var handleDotAll = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var brackets = false; + var chr; + for (; index <= length; index++) { + chr = string.charAt(index); + if (chr === '\\') { + result += chr + string.charAt(++index); + continue; + } + if (!brackets && chr === '.') { + result += '[\\s\\S]'; + } else { + if (chr === '[') { + brackets = true; + } else if (chr === ']') { + brackets = false; + } result += chr; + } + } return result; + }; + + var handleNCG = function (string) { + var length = string.length; + var index = 0; + var result = ''; + var named = []; + var names = {}; + var brackets = false; + var ncg = false; + var groupid = 0; + var groupname = ''; + var chr; + for (; index <= length; index++) { + chr = string.charAt(index); + if (chr === '\\') { + chr = chr + string.charAt(++index); + } else if (chr === ']') { + brackets = false; + } else if (!brackets) switch (true) { + case chr === '[': + brackets = true; + break; + case chr === '(': + if (IS_NCG.test(string.slice(index + 1))) { + index += 2; + ncg = true; + } + result += chr; + groupid++; + continue; + case chr === '>' && ncg: + if (groupname === '' || has$1(names, groupname)) { + throw new SyntaxError('Invalid capture group name'); + } + names[groupname] = true; + named.push([groupname, groupid]); + ncg = false; + groupname = ''; + continue; + } + if (ncg) groupname += chr; + else result += chr; + } return [result, named]; + }; // `RegExp` constructor // https://tc39.es/ecma262/#sec-regexp-constructor - if (FORCED$7) { - var RegExpWrapper = function RegExp(pattern, flags) { - var thisIsRegExp = this instanceof RegExpWrapper; - var patternIsRegExp = isRegexp(pattern); - var flagsAreUndefined = flags === undefined; - var sticky; - - if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) { - return pattern; - } - - if (CORRECT_NEW) { - if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source; - } else if (pattern instanceof RegExpWrapper) { - if (flagsAreUndefined) flags = regexpFlags.call(pattern); - pattern = pattern.source; - } - - if (UNSUPPORTED_Y$1) { - sticky = !!flags && flags.indexOf('y') > -1; - if (sticky) flags = flags.replace(/y/g, ''); - } - - var result = inheritIfRequired( - CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags), - thisIsRegExp ? this : RegExpPrototype, - RegExpWrapper - ); - - if (UNSUPPORTED_Y$1 && sticky) { - var state = enforceInternalState(result); - state.sticky = true; - } - - return result; - }; - var proxy = function (key) { - key in RegExpWrapper || defineProperty$6(RegExpWrapper, key, { - configurable: true, - get: function () { return NativeRegExp[key]; }, - set: function (it) { NativeRegExp[key] = it; } - }); - }; - var keys$2 = getOwnPropertyNames$1(NativeRegExp); - var index = 0; - while (keys$2.length > index) proxy(keys$2[index++]); - RegExpPrototype.constructor = RegExpWrapper; - RegExpWrapper.prototype = RegExpPrototype; - redefine(global_1, 'RegExp', RegExpWrapper); + if (isForced_1('RegExp', BASE_FORCED)) { + var RegExpWrapper = function RegExp(pattern, flags) { + var thisIsRegExp = this instanceof RegExpWrapper; + var patternIsRegExp = isRegexp(pattern); + var flagsAreUndefined = flags === undefined; + var groups = []; + var rawPattern = pattern; + var rawFlags, dotAll, sticky, handled, result, state; + + if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { + return pattern; + } + + if (patternIsRegExp || pattern instanceof RegExpWrapper) { + pattern = pattern.source; + if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : regexpFlags.call(rawPattern); + } + + pattern = pattern === undefined ? '' : String(pattern); + flags = flags === undefined ? '' : String(flags); + rawPattern = pattern; + + if (regexpUnsupportedDotAll && 'dotAll' in re1) { + dotAll = !!flags && flags.indexOf('s') > -1; + if (dotAll) flags = flags.replace(/s/g, ''); + } + + rawFlags = flags; + + if (UNSUPPORTED_Y$1 && 'sticky' in re1) { + sticky = !!flags && flags.indexOf('y') > -1; + if (sticky) flags = flags.replace(/y/g, ''); + } + + if (regexpUnsupportedNcg) { + handled = handleNCG(pattern); + pattern = handled[0]; + groups = handled[1]; + } + + result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); + + if (dotAll || sticky || groups.length) { + state = enforceInternalState(result); + if (dotAll) { + state.dotAll = true; + state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); + } + if (sticky) state.sticky = true; + if (groups.length) state.groups = groups; + } + + if (pattern !== rawPattern) try { + // fails in old engines, but we have no alternatives for unsupported regex syntax + createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern); + } catch (error) { /* empty */ } + + return result; + }; + + var proxy = function (key) { + key in RegExpWrapper || defineProperty$6(RegExpWrapper, key, { + configurable: true, + get: function () { return NativeRegExp[key]; }, + set: function (it) { NativeRegExp[key] = it; } + }); + }; + + for (var keys$2 = getOwnPropertyNames$1(NativeRegExp), index = 0; keys$2.length > index;) { + proxy(keys$2[index++]); + } + + RegExpPrototype.constructor = RegExpWrapper; + RegExpWrapper.prototype = RegExpPrototype; + redefine(global_1, 'RegExp', RegExpWrapper); } // https://tc39.es/ecma262/#sec-get-regexp-@@species @@ -2568,27 +2646,27 @@ // `String.prototype.{ codePointAt, at }` methods implementation var createMethod$2 = function (CONVERT_TO_STRING) { - return function ($this, pos) { - var S = String(requireObjectCoercible($this)); - var position = toInteger(pos); - var size = S.length; - var first, second; - if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; - first = S.charCodeAt(position); - return first < 0xD800 || first > 0xDBFF || position + 1 === size - || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF - ? CONVERT_TO_STRING ? S.charAt(position) : first - : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; - }; + return function ($this, pos) { + var S = String(requireObjectCoercible($this)); + var position = toInteger(pos); + var size = S.length; + var first, second; + if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; + first = S.charCodeAt(position); + return first < 0xD800 || first > 0xDBFF || position + 1 === size + || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING ? S.charAt(position) : first + : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; + }; }; var stringMultibyte = { - // `String.prototype.codePointAt` method - // https://tc39.es/ecma262/#sec-string.prototype.codepointat - codeAt: createMethod$2(false), - // `String.prototype.at` method - // https://github.com/mathiasbynens/String.prototype.at - charAt: createMethod$2(true) + // `String.prototype.codePointAt` method + // https://tc39.es/ecma262/#sec-string.prototype.codepointat + codeAt: createMethod$2(false), + // `String.prototype.at` method + // https://github.com/mathiasbynens/String.prototype.at + charAt: createMethod$2(true) }; var charAt$1 = stringMultibyte.charAt; @@ -2596,44 +2674,44 @@ // `AdvanceStringIndex` abstract operation // https://tc39.es/ecma262/#sec-advancestringindex var advanceStringIndex = function (S, index, unicode) { - return index + (unicode ? charAt$1(S, index).length : 1); + return index + (unicode ? charAt$1(S, index).length : 1); }; // @@match logic - fixRegexpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) { - return [ - // `String.prototype.match` method - // https://tc39.es/ecma262/#sec-string.prototype.match - function match(regexp) { - var O = requireObjectCoercible(this); - var matcher = regexp == undefined ? undefined : regexp[MATCH]; - return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); - }, - // `RegExp.prototype[@@match]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@match - function (regexp) { - var res = maybeCallNative(nativeMatch, regexp, this); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - if (!rx.global) return regexpExecAbstract(rx, S); - - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - var A = []; - var n = 0; - var result; - while ((result = regexpExecAbstract(rx, S)) !== null) { - var matchStr = String(result[0]); - A[n] = matchStr; - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - n++; - } - return n === 0 ? null : A; - } - ]; + fixRegexpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) { + return [ + // `String.prototype.match` method + // https://tc39.es/ecma262/#sec-string.prototype.match + function match(regexp) { + var O = requireObjectCoercible(this); + var matcher = regexp == undefined ? undefined : regexp[MATCH]; + return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); + }, + // `RegExp.prototype[@@match]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@match + function (string) { + var res = maybeCallNative(nativeMatch, this, string); + if (res.done) return res.value; + + var rx = anObject(this); + var S = String(string); + + if (!rx.global) return regexpExecAbstract(rx, S); + + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + var A = []; + var n = 0; + var result; + while ((result = regexpExecAbstract(rx, S)) !== null) { + var matchStr = String(result[0]); + A[n] = matchStr; + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + n++; + } + return n === 0 ? null : A; + } + ]; }); var floor$4 = Math.floor; @@ -2644,135 +2722,160 @@ // `GetSubstitution` abstract operation // https://tc39.es/ecma262/#sec-getsubstitution var getSubstitution = function (matched, str, position, captures, namedCaptures, replacement) { - var tailPos = position + matched.length; - var m = captures.length; - var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; - if (namedCaptures !== undefined) { - namedCaptures = toObject(namedCaptures); - symbols = SUBSTITUTION_SYMBOLS; - } - return replace.call(replacement, symbols, function (match, ch) { - var capture; - switch (ch.charAt(0)) { - case '$': return '$'; - case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); - case '<': - capture = namedCaptures[ch.slice(1, -1)]; - break; - default: // \d\d? - var n = +ch; - if (n === 0) return match; - if (n > m) { - var f = floor$4(n / 10); - if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); - return match; - } - capture = captures[n - 1]; - } - return capture === undefined ? '' : capture; - }); + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return replace.call(replacement, symbols, function (match, ch) { + var capture; + switch (ch.charAt(0)) { + case '$': return '$'; + case '&': return matched; + case '`': return str.slice(0, position); + case "'": return str.slice(tailPos); + case '<': + capture = namedCaptures[ch.slice(1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor$4(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); }; + var REPLACE = wellKnownSymbol('replace'); var max$1 = Math.max; var min$4 = Math.min; var maybeToString = function (it) { - return it === undefined ? it : String(it); + return it === undefined ? it : String(it); }; - // @@replace logic - fixRegexpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) { - var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE; - var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0; - var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; - - return [ - // `String.prototype.replace` method - // https://tc39.es/ecma262/#sec-string.prototype.replace - function replace(searchValue, replaceValue) { - var O = requireObjectCoercible(this); - var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; - return replacer !== undefined - ? replacer.call(searchValue, O, replaceValue) - : nativeReplace.call(String(O), searchValue, replaceValue); - }, - // `RegExp.prototype[@@replace]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace - function (regexp, replaceValue) { - if ( - (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) || - (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1) - ) { - var res = maybeCallNative(nativeReplace, regexp, this, replaceValue); - if (res.done) return res.value; - } - - var rx = anObject(regexp); - var S = String(this); - - var functionalReplace = typeof replaceValue === 'function'; - if (!functionalReplace) replaceValue = String(replaceValue); - - var global = rx.global; - if (global) { - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - } - var results = []; - while (true) { - var result = regexpExecAbstract(rx, S); - if (result === null) break; - - results.push(result); - if (!global) break; - - var matchStr = String(result[0]); - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - } - - var accumulatedResult = ''; - var nextSourcePosition = 0; - for (var i = 0; i < results.length; i++) { - result = results[i]; - - var matched = String(result[0]); - var position = max$1(min$4(toInteger(result.index), S.length), 0); - var captures = []; - // NOTE: This is equivalent to - // captures = result.slice(1).map(maybeToString) - // but for some reason `nativeSlice.call(result, 1, result.length)` (called in - // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and - // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); - var namedCaptures = result.groups; - if (functionalReplace) { - var replacerArgs = [matched].concat(captures, position, S); - if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); - var replacement = String(replaceValue.apply(undefined, replacerArgs)); - } else { - replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); - } - if (position >= nextSourcePosition) { - accumulatedResult += S.slice(nextSourcePosition, position) + replacement; - nextSourcePosition = position + matched.length; - } - } - return accumulatedResult + S.slice(nextSourcePosition); - } - ]; + // IE <= 11 replaces $0 with the whole match, as if it was $& + // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 + var REPLACE_KEEPS_$0 = (function () { + // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing + return 'a'.replace(/./, '$0') === '$0'; + })(); + + // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string + var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { + if (/./[REPLACE]) { + return /./[REPLACE]('a', '$0') === ''; + } + return false; + })(); + + var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + return ''.replace(re, '$<a>') !== '7'; }); + // @@replace logic + fixRegexpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { + var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; + + return [ + // `String.prototype.replace` method + // https://tc39.es/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; + return replacer !== undefined + ? replacer.call(searchValue, O, replaceValue) + : nativeReplace.call(String(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace + function (string, replaceValue) { + if ( + typeof replaceValue === 'string' && + replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 && + replaceValue.indexOf('$<') === -1 + ) { + var res = maybeCallNative(nativeReplace, this, string, replaceValue); + if (res.done) return res.value; + } + + var rx = anObject(this); + var S = String(string); + + var functionalReplace = typeof replaceValue === 'function'; + if (!functionalReplace) replaceValue = String(replaceValue); + + var global = rx.global; + if (global) { + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + var results = []; + while (true) { + var result = regexpExecAbstract(rx, S); + if (result === null) break; + + results.push(result); + if (!global) break; + + var matchStr = String(result[0]); + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + } + + var accumulatedResult = ''; + var nextSourcePosition = 0; + for (var i = 0; i < results.length; i++) { + result = results[i]; + + var matched = String(result[0]); + var position = max$1(min$4(toInteger(result.index), S.length), 0); + var captures = []; + // NOTE: This is equivalent to + // captures = result.slice(1).map(maybeToString) + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = [matched].concat(captures, position, S); + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); + var replacement = String(replaceValue.apply(undefined, replacerArgs)); + } else { + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + return accumulatedResult + S.slice(nextSourcePosition); + } + ]; + }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); + var SPECIES$2 = wellKnownSymbol('species'); // `SpeciesConstructor` abstract operation // https://tc39.es/ecma262/#sec-speciesconstructor var speciesConstructor = function (O, defaultConstructor) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES$2]) == undefined ? defaultConstructor : aFunction(S); + var C = anObject(O).constructor; + var S; + return C === undefined || (S = anObject(C)[SPECIES$2]) == undefined ? defaultConstructor : aFunction(S); }; var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y; @@ -2780,359 +2883,370 @@ var min$3 = Math.min; var MAX_UINT32 = 0xFFFFFFFF; + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec + // Weex JS has frozen built-in prototypes, so use try / catch wrapper + var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { + // eslint-disable-next-line regexp/no-empty-group -- required for testing + var re = /(?:)/; + var originalExec = re.exec; + re.exec = function () { return originalExec.apply(this, arguments); }; + var result = 'ab'.split(re); + return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; + }); + // @@split logic - fixRegexpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) { - var internalSplit; - if ( - 'abbc'.split(/(b)*/)[1] == 'c' || - // eslint-disable-next-line regexp/no-empty-group -- required for testing - 'test'.split(/(?:)/, -1).length != 4 || - 'ab'.split(/(?:ab)*/).length != 2 || - '.'.split(/(.?)(.?)/).length != 4 || - // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing - '.'.split(/()()/).length > 1 || - ''.split(/.?/).length - ) { - // based on es5-shim implementation, need to rework it - internalSplit = function (separator, limit) { - var string = String(requireObjectCoercible(this)); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (separator === undefined) return [string]; - // If `separator` is not a regex, use native split - if (!isRegexp(separator)) { - return nativeSplit.call(string, separator, lim); - } - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var match, lastIndex, lastLength; - while (match = regexpExec.call(separatorCopy, string)) { - lastIndex = separatorCopy.lastIndex; - if (lastIndex > lastLastIndex) { - output.push(string.slice(lastLastIndex, match.index)); - if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1)); - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= lim) break; - } - if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop - } - if (lastLastIndex === string.length) { - if (lastLength || !separatorCopy.test('')) output.push(''); - } else output.push(string.slice(lastLastIndex)); - return output.length > lim ? output.slice(0, lim) : output; - }; - // Chakra, V8 - } else if ('0'.split(undefined, 0).length) { - internalSplit = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit); - }; - } else internalSplit = nativeSplit; - - return [ - // `String.prototype.split` method - // https://tc39.es/ecma262/#sec-string.prototype.split - function split(separator, limit) { - var O = requireObjectCoercible(this); - var splitter = separator == undefined ? undefined : separator[SPLIT]; - return splitter !== undefined - ? splitter.call(separator, O, limit) - : internalSplit.call(String(O), separator, limit); - }, - // `RegExp.prototype[@@split]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@split - // - // NOTE: This cannot be properly polyfilled in engines that don't support - // the 'y' flag. - function (regexp, limit) { - var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - var C = speciesConstructor(rx, RegExp); - - var unicodeMatching = rx.unicode; - var flags = (rx.ignoreCase ? 'i' : '') + - (rx.multiline ? 'm' : '') + - (rx.unicode ? 'u' : '') + - (UNSUPPORTED_Y ? 'g' : 'y'); - - // ^(? + rx + ) is needed, in combination with some S slicing, to - // simulate the 'y' flag. - var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (S.length === 0) return regexpExecAbstract(splitter, S) === null ? [S] : []; - var p = 0; - var q = 0; - var A = []; - while (q < S.length) { - splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; - var z = regexpExecAbstract(splitter, UNSUPPORTED_Y ? S.slice(q) : S); - var e; - if ( - z === null || - (e = min$3(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p - ) { - q = advanceStringIndex(S, q, unicodeMatching); - } else { - A.push(S.slice(p, q)); - if (A.length === lim) return A; - for (var i = 1; i <= z.length - 1; i++) { - A.push(z[i]); - if (A.length === lim) return A; - } - q = p = e; - } - } - A.push(S.slice(p)); - return A; - } - ]; - }, UNSUPPORTED_Y); + fixRegexpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) { + var internalSplit; + if ( + 'abbc'.split(/(b)*/)[1] == 'c' || + // eslint-disable-next-line regexp/no-empty-group -- required for testing + 'test'.split(/(?:)/, -1).length != 4 || + 'ab'.split(/(?:ab)*/).length != 2 || + '.'.split(/(.?)(.?)/).length != 4 || + // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing + '.'.split(/()()/).length > 1 || + ''.split(/.?/).length + ) { + // based on es5-shim implementation, need to rework it + internalSplit = function (separator, limit) { + var string = String(requireObjectCoercible(this)); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (separator === undefined) return [string]; + // If `separator` is not a regex, use native split + if (!isRegexp(separator)) { + return nativeSplit.call(string, separator, lim); + } + var output = []; + var flags = (separator.ignoreCase ? 'i' : '') + + (separator.multiline ? 'm' : '') + + (separator.unicode ? 'u' : '') + + (separator.sticky ? 'y' : ''); + var lastLastIndex = 0; + // Make `global` and avoid `lastIndex` issues by working with a copy + var separatorCopy = new RegExp(separator.source, flags + 'g'); + var match, lastIndex, lastLength; + while (match = regexpExec.call(separatorCopy, string)) { + lastIndex = separatorCopy.lastIndex; + if (lastIndex > lastLastIndex) { + output.push(string.slice(lastLastIndex, match.index)); + if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1)); + lastLength = match[0].length; + lastLastIndex = lastIndex; + if (output.length >= lim) break; + } + if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop + } + if (lastLastIndex === string.length) { + if (lastLength || !separatorCopy.test('')) output.push(''); + } else output.push(string.slice(lastLastIndex)); + return output.length > lim ? output.slice(0, lim) : output; + }; + // Chakra, V8 + } else if ('0'.split(undefined, 0).length) { + internalSplit = function (separator, limit) { + return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit); + }; + } else internalSplit = nativeSplit; + + return [ + // `String.prototype.split` method + // https://tc39.es/ecma262/#sec-string.prototype.split + function split(separator, limit) { + var O = requireObjectCoercible(this); + var splitter = separator == undefined ? undefined : separator[SPLIT]; + return splitter !== undefined + ? splitter.call(separator, O, limit) + : internalSplit.call(String(O), separator, limit); + }, + // `RegExp.prototype[@@split]` method + // https://tc39.es/ecma262/#sec-regexp.prototype-@@split + // + // NOTE: This cannot be properly polyfilled in engines that don't support + // the 'y' flag. + function (string, limit) { + var res = maybeCallNative(internalSplit, this, string, limit, internalSplit !== nativeSplit); + if (res.done) return res.value; + + var rx = anObject(this); + var S = String(string); + var C = speciesConstructor(rx, RegExp); + + var unicodeMatching = rx.unicode; + var flags = (rx.ignoreCase ? 'i' : '') + + (rx.multiline ? 'm' : '') + + (rx.unicode ? 'u' : '') + + (UNSUPPORTED_Y ? 'g' : 'y'); + + // ^(? + rx + ) is needed, in combination with some S slicing, to + // simulate the 'y' flag. + var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (S.length === 0) return regexpExecAbstract(splitter, S) === null ? [S] : []; + var p = 0; + var q = 0; + var A = []; + while (q < S.length) { + splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; + var z = regexpExecAbstract(splitter, UNSUPPORTED_Y ? S.slice(q) : S); + var e; + if ( + z === null || + (e = min$3(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p + ) { + q = advanceStringIndex(S, q, unicodeMatching); + } else { + A.push(S.slice(p, q)); + if (A.length === lim) return A; + for (var i = 1; i <= z.length - 1; i++) { + A.push(z[i]); + if (A.length === lim) return A; + } + q = p = e; + } + } + A.push(S.slice(p)); + return A; + } + ]; + }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); + var keys = Object.keys(object); - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) { - symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - } + if (enumerableOnly) { + symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + } - keys.push.apply(keys, symbols); - } + keys.push.apply(keys, symbols); + } - return keys; + return keys; } function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; + 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)); - }); - } - } + 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; + return target; } function _typeof(obj) { - "@babel/helpers - typeof"; + "@babel/helpers - typeof"; - if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { - _typeof = function (obj) { - return typeof obj; - }; - } else { - _typeof = function (obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }; - } + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function (obj) { + return typeof obj; + }; + } else { + _typeof = function (obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } - return _typeof(obj); + return _typeof(obj); } function _asyncIterator(iterable) { - var method; + var method; - if (typeof Symbol !== "undefined") { - if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator]; - if (method == null && Symbol.iterator) method = iterable[Symbol.iterator]; - } + if (typeof Symbol !== "undefined") { + if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator]; + if (method == null && Symbol.iterator) method = iterable[Symbol.iterator]; + } - if (method == null) method = iterable["@@asyncIterator"]; - if (method == null) method = iterable["@@iterator"]; - if (method == null) throw new TypeError("Object is not async iterable"); - return method.call(iterable); + if (method == null) method = iterable["@@asyncIterator"]; + if (method == null) method = iterable["@@iterator"]; + if (method == null) throw new TypeError("Object is not async iterable"); + return method.call(iterable); } function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } + try { + var info = gen[key](arg); + var value = info.value; + } catch (error) { + reject(error); + return; + } - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } + if (info.done) { + resolve(value); + } else { + Promise.resolve(value).then(_next, _throw); + } } function _asyncToGenerator(fn) { - return function () { - var self = this, - args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); + return function () { + var self = this, + args = arguments; + return new Promise(function (resolve, reject) { + var gen = fn.apply(self, args); - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } - _next(undefined); - }); - }; + _next(undefined); + }); + }; } function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } } 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; - } + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } - return obj; + return obj; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - if (superClass) _setPrototypeOf(subClass, superClass); + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) _setPrototypeOf(subClass, superClass); } function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); } function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; - return _setPrototypeOf(o, p); + return _setPrototypeOf(o, p); } function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } } function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } - return self; + return self; } function _possibleConstructorReturn(self, call) { - if (call && (typeof call === "object" || typeof call === "function")) { - return call; - } + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } - return _assertThisInitialized(self); + return _assertThisInitialized(self); } function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); + var hasNativeReflectConstruct = _isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } - return _possibleConstructorReturn(this, result); - }; + return _possibleConstructorReturn(this, result); + }; } function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); + return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return _arrayLikeToArray(arr); + if (Array.isArray(arr)) return _arrayLikeToArray(arr); } function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; + if (len == null || len > arr.length) len = arr.length; - for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; - return arr2; + return arr2; } function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var f$1 = wellKnownSymbol; @@ -3144,10 +3258,10 @@ var defineProperty$5 = objectDefineProperty.f; var defineWellKnownSymbol = function (NAME) { - var Symbol = path$1.Symbol || (path$1.Symbol = {}); - if (!has$1(Symbol, NAME)) defineProperty$5(Symbol, NAME, { - value: wellKnownSymbolWrapped.f(NAME) - }); + var Symbol = path$1.Symbol || (path$1.Symbol = {}); + if (!has$1(Symbol, NAME)) defineProperty$5(Symbol, NAME, { + value: wellKnownSymbolWrapped.f(NAME) + }); }; var defineProperty$4 = objectDefineProperty.f; @@ -3157,9 +3271,9 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag'); var setToStringTag = function (it, TAG, STATIC) { - if (it && !has$1(it = STATIC ? it : it.prototype, TO_STRING_TAG$2)) { - defineProperty$4(it, TO_STRING_TAG$2, { configurable: true, value: TAG }); - } + if (it && !has$1(it = STATIC ? it : it.prototype, TO_STRING_TAG$2)) { + defineProperty$4(it, TO_STRING_TAG$2, { configurable: true, value: TAG }); + } }; var $forEach$1 = arrayIteration.forEach; @@ -3188,249 +3302,249 @@ // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 var setSymbolDescriptor = descriptors && fails(function () { - return objectCreate(nativeDefineProperty({}, 'a', { - get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } - })).a != 7; + return objectCreate(nativeDefineProperty({}, 'a', { + get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } + })).a != 7; }) ? function (O, P, Attributes) { - var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype$2, P); - if (ObjectPrototypeDescriptor) delete ObjectPrototype$2[P]; - nativeDefineProperty(O, P, Attributes); - if (ObjectPrototypeDescriptor && O !== ObjectPrototype$2) { - nativeDefineProperty(ObjectPrototype$2, P, ObjectPrototypeDescriptor); - } + var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype$2, P); + if (ObjectPrototypeDescriptor) delete ObjectPrototype$2[P]; + nativeDefineProperty(O, P, Attributes); + if (ObjectPrototypeDescriptor && O !== ObjectPrototype$2) { + nativeDefineProperty(ObjectPrototype$2, P, ObjectPrototypeDescriptor); + } } : nativeDefineProperty; var wrap = function (tag, description) { - var symbol = AllSymbols[tag] = objectCreate($Symbol[PROTOTYPE$1]); - setInternalState$5(symbol, { - type: SYMBOL, - tag: tag, - description: description - }); - if (!descriptors) symbol.description = description; - return symbol; + var symbol = AllSymbols[tag] = objectCreate($Symbol[PROTOTYPE$1]); + setInternalState$5(symbol, { + type: SYMBOL, + tag: tag, + description: description + }); + if (!descriptors) symbol.description = description; + return symbol; }; var isSymbol$1 = useSymbolAsUid ? function (it) { - return typeof it == 'symbol'; + return typeof it == 'symbol'; } : function (it) { - return Object(it) instanceof $Symbol; + return Object(it) instanceof $Symbol; }; var $defineProperty = function defineProperty(O, P, Attributes) { - if (O === ObjectPrototype$2) $defineProperty(ObjectPrototypeSymbols, P, Attributes); - anObject(O); - var key = toPrimitive(P, true); - anObject(Attributes); - if (has$1(AllSymbols, key)) { - if (!Attributes.enumerable) { - if (!has$1(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); - O[HIDDEN][key] = true; - } else { - if (has$1(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; - Attributes = objectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); - } return setSymbolDescriptor(O, key, Attributes); - } return nativeDefineProperty(O, key, Attributes); + if (O === ObjectPrototype$2) $defineProperty(ObjectPrototypeSymbols, P, Attributes); + anObject(O); + var key = toPrimitive(P, true); + anObject(Attributes); + if (has$1(AllSymbols, key)) { + if (!Attributes.enumerable) { + if (!has$1(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); + O[HIDDEN][key] = true; + } else { + if (has$1(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; + Attributes = objectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); + } return setSymbolDescriptor(O, key, Attributes); + } return nativeDefineProperty(O, key, Attributes); }; var $defineProperties = function defineProperties(O, Properties) { - anObject(O); - var properties = toIndexedObject(Properties); - var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); - $forEach$1(keys, function (key) { - if (!descriptors || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]); - }); - return O; + anObject(O); + var properties = toIndexedObject(Properties); + var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); + $forEach$1(keys, function (key) { + if (!descriptors || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]); + }); + return O; }; var $create = function create(O, Properties) { - return Properties === undefined ? objectCreate(O) : $defineProperties(objectCreate(O), Properties); + return Properties === undefined ? objectCreate(O) : $defineProperties(objectCreate(O), Properties); }; var $propertyIsEnumerable = function propertyIsEnumerable(V) { - var P = toPrimitive(V, true); - var enumerable = nativePropertyIsEnumerable.call(this, P); - if (this === ObjectPrototype$2 && has$1(AllSymbols, P) && !has$1(ObjectPrototypeSymbols, P)) return false; - return enumerable || !has$1(this, P) || !has$1(AllSymbols, P) || has$1(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true; + var P = toPrimitive(V, true); + var enumerable = nativePropertyIsEnumerable.call(this, P); + if (this === ObjectPrototype$2 && has$1(AllSymbols, P) && !has$1(ObjectPrototypeSymbols, P)) return false; + return enumerable || !has$1(this, P) || !has$1(AllSymbols, P) || has$1(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true; }; var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { - var it = toIndexedObject(O); - var key = toPrimitive(P, true); - if (it === ObjectPrototype$2 && has$1(AllSymbols, key) && !has$1(ObjectPrototypeSymbols, key)) return; - var descriptor = nativeGetOwnPropertyDescriptor(it, key); - if (descriptor && has$1(AllSymbols, key) && !(has$1(it, HIDDEN) && it[HIDDEN][key])) { - descriptor.enumerable = true; - } - return descriptor; + var it = toIndexedObject(O); + var key = toPrimitive(P, true); + if (it === ObjectPrototype$2 && has$1(AllSymbols, key) && !has$1(ObjectPrototypeSymbols, key)) return; + var descriptor = nativeGetOwnPropertyDescriptor(it, key); + if (descriptor && has$1(AllSymbols, key) && !(has$1(it, HIDDEN) && it[HIDDEN][key])) { + descriptor.enumerable = true; + } + return descriptor; }; var $getOwnPropertyNames = function getOwnPropertyNames(O) { - var names = nativeGetOwnPropertyNames(toIndexedObject(O)); - var result = []; - $forEach$1(names, function (key) { - if (!has$1(AllSymbols, key) && !has$1(hiddenKeys$1, key)) result.push(key); - }); - return result; + var names = nativeGetOwnPropertyNames(toIndexedObject(O)); + var result = []; + $forEach$1(names, function (key) { + if (!has$1(AllSymbols, key) && !has$1(hiddenKeys$1, key)) result.push(key); + }); + return result; }; var $getOwnPropertySymbols = function getOwnPropertySymbols(O) { - var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$2; - var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); - var result = []; - $forEach$1(names, function (key) { - if (has$1(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has$1(ObjectPrototype$2, key))) { - result.push(AllSymbols[key]); - } - }); - return result; + var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$2; + var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); + var result = []; + $forEach$1(names, function (key) { + if (has$1(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has$1(ObjectPrototype$2, key))) { + result.push(AllSymbols[key]); + } + }); + return result; }; // `Symbol` constructor // https://tc39.es/ecma262/#sec-symbol-constructor if (!nativeSymbol) { - $Symbol = function Symbol() { - if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor'); - var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]); - var tag = uid(description); - var setter = function (value) { - if (this === ObjectPrototype$2) setter.call(ObjectPrototypeSymbols, value); - if (has$1(this, HIDDEN) && has$1(this[HIDDEN], tag)) this[HIDDEN][tag] = false; - setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); - }; - if (descriptors && USE_SETTER) setSymbolDescriptor(ObjectPrototype$2, tag, { configurable: true, set: setter }); - return wrap(tag, description); - }; - - redefine($Symbol[PROTOTYPE$1], 'toString', function toString() { - return getInternalState$4(this).tag; - }); - - redefine($Symbol, 'withoutSetter', function (description) { - return wrap(uid(description), description); - }); - - objectPropertyIsEnumerable.f = $propertyIsEnumerable; - objectDefineProperty.f = $defineProperty; - objectGetOwnPropertyDescriptor.f = $getOwnPropertyDescriptor; - objectGetOwnPropertyNames.f = objectGetOwnPropertyNamesExternal.f = $getOwnPropertyNames; - objectGetOwnPropertySymbols.f = $getOwnPropertySymbols; - - wellKnownSymbolWrapped.f = function (name) { - return wrap(wellKnownSymbol(name), name); - }; - - if (descriptors) { - // https://github.com/tc39/proposal-Symbol-description - nativeDefineProperty($Symbol[PROTOTYPE$1], 'description', { - configurable: true, - get: function description() { - return getInternalState$4(this).description; - } - }); - { - redefine(ObjectPrototype$2, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); - } - } + $Symbol = function Symbol() { + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor'); + var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]); + var tag = uid(description); + var setter = function (value) { + if (this === ObjectPrototype$2) setter.call(ObjectPrototypeSymbols, value); + if (has$1(this, HIDDEN) && has$1(this[HIDDEN], tag)) this[HIDDEN][tag] = false; + setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); + }; + if (descriptors && USE_SETTER) setSymbolDescriptor(ObjectPrototype$2, tag, { configurable: true, set: setter }); + return wrap(tag, description); + }; + + redefine($Symbol[PROTOTYPE$1], 'toString', function toString() { + return getInternalState$4(this).tag; + }); + + redefine($Symbol, 'withoutSetter', function (description) { + return wrap(uid(description), description); + }); + + objectPropertyIsEnumerable.f = $propertyIsEnumerable; + objectDefineProperty.f = $defineProperty; + objectGetOwnPropertyDescriptor.f = $getOwnPropertyDescriptor; + objectGetOwnPropertyNames.f = objectGetOwnPropertyNamesExternal.f = $getOwnPropertyNames; + objectGetOwnPropertySymbols.f = $getOwnPropertySymbols; + + wellKnownSymbolWrapped.f = function (name) { + return wrap(wellKnownSymbol(name), name); + }; + + if (descriptors) { + // https://github.com/tc39/proposal-Symbol-description + nativeDefineProperty($Symbol[PROTOTYPE$1], 'description', { + configurable: true, + get: function description() { + return getInternalState$4(this).description; + } + }); + { + redefine(ObjectPrototype$2, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); + } + } } _export({ global: true, wrap: true, forced: !nativeSymbol, sham: !nativeSymbol }, { - Symbol: $Symbol + Symbol: $Symbol }); $forEach$1(objectKeys(WellKnownSymbolsStore), function (name) { - defineWellKnownSymbol(name); + defineWellKnownSymbol(name); }); _export({ target: SYMBOL, stat: true, forced: !nativeSymbol }, { - // `Symbol.for` method - // https://tc39.es/ecma262/#sec-symbol.for - 'for': function (key) { - var string = String(key); - if (has$1(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; - var symbol = $Symbol(string); - StringToSymbolRegistry[string] = symbol; - SymbolToStringRegistry[symbol] = string; - return symbol; - }, - // `Symbol.keyFor` method - // https://tc39.es/ecma262/#sec-symbol.keyfor - keyFor: function keyFor(sym) { - if (!isSymbol$1(sym)) throw TypeError(sym + ' is not a symbol'); - if (has$1(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; - }, - useSetter: function () { USE_SETTER = true; }, - useSimple: function () { USE_SETTER = false; } + // `Symbol.for` method + // https://tc39.es/ecma262/#sec-symbol.for + 'for': function (key) { + var string = String(key); + if (has$1(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; + var symbol = $Symbol(string); + StringToSymbolRegistry[string] = symbol; + SymbolToStringRegistry[symbol] = string; + return symbol; + }, + // `Symbol.keyFor` method + // https://tc39.es/ecma262/#sec-symbol.keyfor + keyFor: function keyFor(sym) { + if (!isSymbol$1(sym)) throw TypeError(sym + ' is not a symbol'); + if (has$1(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; + }, + useSetter: function () { USE_SETTER = true; }, + useSimple: function () { USE_SETTER = false; } }); _export({ target: 'Object', stat: true, forced: !nativeSymbol, sham: !descriptors }, { - // `Object.create` method - // https://tc39.es/ecma262/#sec-object.create - create: $create, - // `Object.defineProperty` method - // https://tc39.es/ecma262/#sec-object.defineproperty - defineProperty: $defineProperty, - // `Object.defineProperties` method - // https://tc39.es/ecma262/#sec-object.defineproperties - defineProperties: $defineProperties, - // `Object.getOwnPropertyDescriptor` method - // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors - getOwnPropertyDescriptor: $getOwnPropertyDescriptor + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + create: $create, + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + defineProperty: $defineProperty, + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + defineProperties: $defineProperties, + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors + getOwnPropertyDescriptor: $getOwnPropertyDescriptor }); _export({ target: 'Object', stat: true, forced: !nativeSymbol }, { - // `Object.getOwnPropertyNames` method - // https://tc39.es/ecma262/#sec-object.getownpropertynames - getOwnPropertyNames: $getOwnPropertyNames, - // `Object.getOwnPropertySymbols` method - // https://tc39.es/ecma262/#sec-object.getownpropertysymbols - getOwnPropertySymbols: $getOwnPropertySymbols + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + getOwnPropertyNames: $getOwnPropertyNames, + // `Object.getOwnPropertySymbols` method + // https://tc39.es/ecma262/#sec-object.getownpropertysymbols + getOwnPropertySymbols: $getOwnPropertySymbols }); // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives // https://bugs.chromium.org/p/v8/issues/detail?id=3443 _export({ target: 'Object', stat: true, forced: fails(function () { objectGetOwnPropertySymbols.f(1); }) }, { - getOwnPropertySymbols: function getOwnPropertySymbols(it) { - return objectGetOwnPropertySymbols.f(toObject(it)); - } + getOwnPropertySymbols: function getOwnPropertySymbols(it) { + return objectGetOwnPropertySymbols.f(toObject(it)); + } }); // `JSON.stringify` method behavior with symbols // https://tc39.es/ecma262/#sec-json.stringify if ($stringify) { - var FORCED_JSON_STRINGIFY = !nativeSymbol || fails(function () { - var symbol = $Symbol(); - // MS Edge converts symbol values to JSON as {} - return $stringify([symbol]) != '[null]' - // WebKit converts symbol values to JSON as null - || $stringify({ a: symbol }) != '{}' - // V8 throws on boxed symbols - || $stringify(Object(symbol)) != '{}'; - }); - - _export({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - stringify: function stringify(it, replacer, space) { - var args = [it]; - var index = 1; - var $replacer; - while (arguments.length > index) args.push(arguments[index++]); - $replacer = replacer; - if (!isObject$1(replacer) && it === undefined || isSymbol$1(it)) return; // IE8 returns string on undefined - if (!isArray$3(replacer)) replacer = function (key, value) { - if (typeof $replacer == 'function') value = $replacer.call(this, key, value); - if (!isSymbol$1(value)) return value; - }; - args[1] = replacer; - return $stringify.apply(null, args); - } - }); + var FORCED_JSON_STRINGIFY = !nativeSymbol || fails(function () { + var symbol = $Symbol(); + // MS Edge converts symbol values to JSON as {} + return $stringify([symbol]) != '[null]' + // WebKit converts symbol values to JSON as null + || $stringify({ a: symbol }) != '{}' + // V8 throws on boxed symbols + || $stringify(Object(symbol)) != '{}'; + }); + + _export({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + stringify: function stringify(it, replacer, space) { + var args = [it]; + var index = 1; + var $replacer; + while (arguments.length > index) args.push(arguments[index++]); + $replacer = replacer; + if (!isObject$1(replacer) && it === undefined || isSymbol$1(it)) return; // IE8 returns string on undefined + if (!isArray$3(replacer)) replacer = function (key, value) { + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); + if (!isSymbol$1(value)) return value; + }; + args[1] = replacer; + return $stringify.apply(null, args); + } + }); } // `Symbol.prototype[@@toPrimitive]` method // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive if (!$Symbol[PROTOTYPE$1][TO_PRIMITIVE]) { - createNonEnumerableProperty($Symbol[PROTOTYPE$1], TO_PRIMITIVE, $Symbol[PROTOTYPE$1].valueOf); + createNonEnumerableProperty($Symbol[PROTOTYPE$1], TO_PRIMITIVE, $Symbol[PROTOTYPE$1].valueOf); } // `Symbol.prototype[@@toStringTag]` property // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag @@ -3444,41 +3558,41 @@ var NativeSymbol = global_1.Symbol; if (descriptors && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) || - // Safari 12 bug - NativeSymbol().description !== undefined + // Safari 12 bug + NativeSymbol().description !== undefined )) { - var EmptyStringDescriptionStore = {}; - // wrap Symbol constructor for correct work with undefined description - var SymbolWrapper = function Symbol() { - var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]); - var result = this instanceof SymbolWrapper - ? new NativeSymbol(description) - // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' - : description === undefined ? NativeSymbol() : NativeSymbol(description); - if (description === '') EmptyStringDescriptionStore[result] = true; - return result; - }; - copyConstructorProperties(SymbolWrapper, NativeSymbol); - var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype; - symbolPrototype.constructor = SymbolWrapper; - - var symbolToString = symbolPrototype.toString; - var native = String(NativeSymbol('test')) == 'Symbol(test)'; - var regexp = /^Symbol\((.*)\)[^)]+$/; - defineProperty$3(symbolPrototype, 'description', { - configurable: true, - get: function description() { - var symbol = isObject$1(this) ? this.valueOf() : this; - var string = symbolToString.call(symbol); - if (has$1(EmptyStringDescriptionStore, symbol)) return ''; - var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1'); - return desc === '' ? undefined : desc; - } - }); - - _export({ global: true, forced: true }, { - Symbol: SymbolWrapper - }); + var EmptyStringDescriptionStore = {}; + // wrap Symbol constructor for correct work with undefined description + var SymbolWrapper = function Symbol() { + var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]); + var result = this instanceof SymbolWrapper + ? new NativeSymbol(description) + // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' + : description === undefined ? NativeSymbol() : NativeSymbol(description); + if (description === '') EmptyStringDescriptionStore[result] = true; + return result; + }; + copyConstructorProperties(SymbolWrapper, NativeSymbol); + var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype; + symbolPrototype.constructor = SymbolWrapper; + + var symbolToString = symbolPrototype.toString; + var native = String(NativeSymbol('test')) == 'Symbol(test)'; + var regexp = /^Symbol\((.*)\)[^)]+$/; + defineProperty$3(symbolPrototype, 'description', { + configurable: true, + get: function description() { + var symbol = isObject$1(this) ? this.valueOf() : this; + var string = symbolToString.call(symbol); + if (has$1(EmptyStringDescriptionStore, symbol)) return ''; + var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1'); + return desc === '' ? undefined : desc; + } + }); + + _export({ global: true, forced: true }, { + Symbol: SymbolWrapper + }); } // `Symbol.species` well-known symbol @@ -3488,14 +3602,14 @@ // `Array.prototype.fill` method implementation // https://tc39.es/ecma262/#sec-array.prototype.fill var arrayFill = function fill(value /* , start = 0, end = @length */) { - var O = toObject(this); - var length = toLength(O.length); - var argumentsLength = arguments.length; - var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); - var end = argumentsLength > 2 ? arguments[2] : undefined; - var endPos = end === undefined ? length : toAbsoluteIndex(end, length); - while (endPos > index) O[index++] = value; - return O; + var O = toObject(this); + var length = toLength(O.length); + var argumentsLength = arguments.length; + var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); + var end = argumentsLength > 2 ? arguments[2] : undefined; + var endPos = end === undefined ? length : toAbsoluteIndex(end, length); + while (endPos > index) O[index++] = value; + return O; }; var UNSCOPABLES = wellKnownSymbol('unscopables'); @@ -3504,21 +3618,21 @@ // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables if (ArrayPrototype$1[UNSCOPABLES] == undefined) { - objectDefineProperty.f(ArrayPrototype$1, UNSCOPABLES, { - configurable: true, - value: objectCreate(null) - }); + objectDefineProperty.f(ArrayPrototype$1, UNSCOPABLES, { + configurable: true, + value: objectCreate(null) + }); } // add a key to Array.prototype[@@unscopables] var addToUnscopables = function (key) { - ArrayPrototype$1[UNSCOPABLES][key] = true; + ArrayPrototype$1[UNSCOPABLES][key] = true; }; // `Array.prototype.fill` method // https://tc39.es/ecma262/#sec-array.prototype.fill _export({ target: 'Array', proto: true }, { - fill: arrayFill + fill: arrayFill }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables @@ -3530,9 +3644,9 @@ // `Array.prototype.includes` method // https://tc39.es/ecma262/#sec-array.prototype.includes _export({ target: 'Array', proto: true }, { - includes: function includes(el /* , fromIndex = 0 */) { - return $includes$1(this, el, arguments.length > 1 ? arguments[1] : undefined); - } + includes: function includes(el /* , fromIndex = 0 */) { + return $includes$1(this, el, arguments.length > 1 ? arguments[1] : undefined); + } }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables @@ -3551,19 +3665,19 @@ /* eslint-disable es/no-array-prototype-keys -- safe */ if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true; - else { - PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype; - } + arrayIterator = [].keys(); + // Safari 8 has buggy iterators w/o `next` + if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true; + else { + PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator)); + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype; + } } var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails(function () { - var test = {}; - // FF44- legacy iterators case - return IteratorPrototype$2[ITERATOR$6].call(test) !== test; + var test = {}; + // FF44- legacy iterators case + return IteratorPrototype$2[ITERATOR$6].call(test) !== test; }); if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {}; @@ -3571,12 +3685,12 @@ // `%IteratorPrototype%[@@iterator]()` method // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator if (!has$1(IteratorPrototype$2, ITERATOR$6)) { - createNonEnumerableProperty(IteratorPrototype$2, ITERATOR$6, returnThis$2); + createNonEnumerableProperty(IteratorPrototype$2, ITERATOR$6, returnThis$2); } var iteratorsCore = { - IteratorPrototype: IteratorPrototype$2, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1 + IteratorPrototype: IteratorPrototype$2, + BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1 }; var IteratorPrototype$1 = iteratorsCore.IteratorPrototype; @@ -3588,11 +3702,11 @@ var returnThis$1 = function () { return this; }; var createIteratorConstructor = function (IteratorConstructor, NAME, next) { - var TO_STRING_TAG = NAME + ' Iterator'; - IteratorConstructor.prototype = objectCreate(IteratorPrototype$1, { next: createPropertyDescriptor(1, next) }); - setToStringTag(IteratorConstructor, TO_STRING_TAG, false); - iterators[TO_STRING_TAG] = returnThis$1; - return IteratorConstructor; + var TO_STRING_TAG = NAME + ' Iterator'; + IteratorConstructor.prototype = objectCreate(IteratorPrototype$1, { next: createPropertyDescriptor(1, next) }); + setToStringTag(IteratorConstructor, TO_STRING_TAG, false); + iterators[TO_STRING_TAG] = returnThis$1; + return IteratorConstructor; }; var IteratorPrototype = iteratorsCore.IteratorPrototype; @@ -3605,71 +3719,71 @@ var returnThis = function () { return this; }; var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { - createIteratorConstructor(IteratorConstructor, NAME, next); - - var getIterationMethod = function (KIND) { - if (KIND === DEFAULT && defaultIterator) return defaultIterator; - if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; - switch (KIND) { - case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; - case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; - case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; - } return function () { return new IteratorConstructor(this); }; - }; - - var TO_STRING_TAG = NAME + ' Iterator'; - var INCORRECT_VALUES_NAME = false; - var IterablePrototype = Iterable.prototype; - var nativeIterator = IterablePrototype[ITERATOR$5] - || IterablePrototype['@@iterator'] - || DEFAULT && IterablePrototype[DEFAULT]; - var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); - var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; - var CurrentIteratorPrototype, methods, KEY; - - // fix native - if (anyNativeIterator) { - CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable())); - if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { - if (objectGetPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { - if (objectSetPrototypeOf) { - objectSetPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); - } else if (typeof CurrentIteratorPrototype[ITERATOR$5] != 'function') { - createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR$5, returnThis); - } - } - // Set @@toStringTag to native iterators - setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true); - } - } - - // fix Array.prototype.{ values, @@iterator }.name in V8 / FF - if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { - INCORRECT_VALUES_NAME = true; - defaultIterator = function values() { return nativeIterator.call(this); }; - } - - // define iterator - if (IterablePrototype[ITERATOR$5] !== defaultIterator) { - createNonEnumerableProperty(IterablePrototype, ITERATOR$5, defaultIterator); - } - iterators[NAME] = defaultIterator; - - // export additional methods - if (DEFAULT) { - methods = { - values: getIterationMethod(VALUES), - keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), - entries: getIterationMethod(ENTRIES) - }; - if (FORCED) for (KEY in methods) { - if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { - redefine(IterablePrototype, KEY, methods[KEY]); - } - } else _export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); - } - - return methods; + createIteratorConstructor(IteratorConstructor, NAME, next); + + var getIterationMethod = function (KIND) { + if (KIND === DEFAULT && defaultIterator) return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; + switch (KIND) { + case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; + case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; + case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; + } return function () { return new IteratorConstructor(this); }; + }; + + var TO_STRING_TAG = NAME + ' Iterator'; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR$5] + || IterablePrototype['@@iterator'] + || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + + // fix native + if (anyNativeIterator) { + CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable())); + if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (objectGetPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (objectSetPrototypeOf) { + objectSetPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); + } else if (typeof CurrentIteratorPrototype[ITERATOR$5] != 'function') { + createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR$5, returnThis); + } + } + // Set @@toStringTag to native iterators + setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true); + } + } + + // fix Array.prototype.{ values, @@iterator }.name in V8 / FF + if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values() { return nativeIterator.call(this); }; + } + + // define iterator + if (IterablePrototype[ITERATOR$5] !== defaultIterator) { + createNonEnumerableProperty(IterablePrototype, ITERATOR$5, defaultIterator); + } + iterators[NAME] = defaultIterator; + + // export additional methods + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + redefine(IterablePrototype, KEY, methods[KEY]); + } + } else _export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + + return methods; }; var ARRAY_ITERATOR = 'Array Iterator'; @@ -3687,26 +3801,26 @@ // `CreateArrayIterator` internal method // https://tc39.es/ecma262/#sec-createarrayiterator var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) { - setInternalState$4(this, { - type: ARRAY_ITERATOR, - target: toIndexedObject(iterated), // target - index: 0, // next index - kind: kind // kind - }); - // `%ArrayIteratorPrototype%.next` method - // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next + setInternalState$4(this, { + type: ARRAY_ITERATOR, + target: toIndexedObject(iterated), // target + index: 0, // next index + kind: kind // kind + }); + // `%ArrayIteratorPrototype%.next` method + // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next }, function () { - var state = getInternalState$3(this); - var target = state.target; - var kind = state.kind; - var index = state.index++; - if (!target || index >= target.length) { - state.target = undefined; - return { value: undefined, done: true }; - } - if (kind == 'keys') return { value: index, done: false }; - if (kind == 'values') return { value: target[index], done: false }; - return { value: [index, target[index]], done: false }; + var state = getInternalState$3(this); + var target = state.target; + var kind = state.kind; + var index = state.index++; + if (!target || index >= target.length) { + state.target = undefined; + return { value: undefined, done: true }; + } + if (kind == 'keys') return { value: index, done: false }; + if (kind == 'values') return { value: target[index], done: false }; + return { value: [index, target[index]], done: false }; }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% @@ -3729,31 +3843,31 @@ // https://tc39.es/ecma262/#sec-array.prototype.slice // fallback for not array-like ES3 strings and DOM objects _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { - slice: function slice(start, end) { - var O = toIndexedObject(this); - var length = toLength(O.length); - var k = toAbsoluteIndex(start, length); - var fin = toAbsoluteIndex(end === undefined ? length : end, length); - // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible - var Constructor, result, n; - if (isArray$3(O)) { - Constructor = O.constructor; - // cross-realm fallback - if (typeof Constructor == 'function' && (Constructor === Array || isArray$3(Constructor.prototype))) { - Constructor = undefined; - } else if (isObject$1(Constructor)) { - Constructor = Constructor[SPECIES$1]; - if (Constructor === null) Constructor = undefined; - } - if (Constructor === Array || Constructor === undefined) { - return nativeSlice.call(O, k, fin); - } - } - result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); - for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); - result.length = n; - return result; - } + slice: function slice(start, end) { + var O = toIndexedObject(this); + var length = toLength(O.length); + var k = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible + var Constructor, result, n; + if (isArray$3(O)) { + Constructor = O.constructor; + // cross-realm fallback + if (typeof Constructor == 'function' && (Constructor === Array || isArray$3(Constructor.prototype))) { + Constructor = undefined; + } else if (isObject$1(Constructor)) { + Constructor = Constructor[SPECIES$1]; + if (Constructor === null) Constructor = undefined; + } + if (Constructor === Array || Constructor === undefined) { + return nativeSlice.call(O, k, fin); + } + } + result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); + for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); + result.length = n; + return result; + } }); // `Array[@@species]` getter @@ -3764,24 +3878,24 @@ var arrayBufferNative = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'undefined'; var redefineAll = function (target, src, options) { - for (var key in src) redefine(target, key, src[key], options); - return target; + for (var key in src) redefine(target, key, src[key], options); + return target; }; var anInstance = function (it, Constructor, name) { - if (!(it instanceof Constructor)) { - throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); - } return it; + if (!(it instanceof Constructor)) { + throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); + } return it; }; // `ToIndex` abstract operation // https://tc39.es/ecma262/#sec-toindex var toIndex = function (it) { - if (it === undefined) return 0; - var number = toInteger(it); - var length = toLength(number); - if (number !== length) throw RangeError('Wrong length or index'); - return length; + if (it === undefined) return 0; + var number = toInteger(it); + var length = toLength(number); + if (number !== length) throw RangeError('Wrong length or index'); + return length; }; // IEEE754 conversions based on https://github.com/feross/ieee754 @@ -3792,83 +3906,83 @@ var LN2 = Math.LN2; var pack = function (number, mantissaLength, bytes) { - var buffer = new Array(bytes); - var exponentLength = bytes * 8 - mantissaLength - 1; - var eMax = (1 << exponentLength) - 1; - var eBias = eMax >> 1; - var rt = mantissaLength === 23 ? pow$1(2, -24) - pow$1(2, -77) : 0; - var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; - var index = 0; - var exponent, mantissa, c; - number = abs(number); - // eslint-disable-next-line no-self-compare -- NaN check - if (number != number || number === Infinity) { - // eslint-disable-next-line no-self-compare -- NaN check - mantissa = number != number ? 1 : 0; - exponent = eMax; - } else { - exponent = floor$3(log$2(number) / LN2); - if (number * (c = pow$1(2, -exponent)) < 1) { - exponent--; - c *= 2; - } - if (exponent + eBias >= 1) { - number += rt / c; - } else { - number += rt * pow$1(2, 1 - eBias); - } - if (number * c >= 2) { - exponent++; - c /= 2; - } - if (exponent + eBias >= eMax) { - mantissa = 0; - exponent = eMax; - } else if (exponent + eBias >= 1) { - mantissa = (number * c - 1) * pow$1(2, mantissaLength); - exponent = exponent + eBias; - } else { - mantissa = number * pow$1(2, eBias - 1) * pow$1(2, mantissaLength); - exponent = 0; - } - } - for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8); - exponent = exponent << mantissaLength | mantissa; - exponentLength += mantissaLength; - for (; exponentLength > 0; buffer[index++] = exponent & 255, exponent /= 256, exponentLength -= 8); - buffer[--index] |= sign * 128; - return buffer; + var buffer = new Array(bytes); + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var rt = mantissaLength === 23 ? pow$1(2, -24) - pow$1(2, -77) : 0; + var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; + var index = 0; + var exponent, mantissa, c; + number = abs(number); + // eslint-disable-next-line no-self-compare -- NaN check + if (number != number || number === Infinity) { + // eslint-disable-next-line no-self-compare -- NaN check + mantissa = number != number ? 1 : 0; + exponent = eMax; + } else { + exponent = floor$3(log$2(number) / LN2); + if (number * (c = pow$1(2, -exponent)) < 1) { + exponent--; + c *= 2; + } + if (exponent + eBias >= 1) { + number += rt / c; + } else { + number += rt * pow$1(2, 1 - eBias); + } + if (number * c >= 2) { + exponent++; + c /= 2; + } + if (exponent + eBias >= eMax) { + mantissa = 0; + exponent = eMax; + } else if (exponent + eBias >= 1) { + mantissa = (number * c - 1) * pow$1(2, mantissaLength); + exponent = exponent + eBias; + } else { + mantissa = number * pow$1(2, eBias - 1) * pow$1(2, mantissaLength); + exponent = 0; + } + } + for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8); + exponent = exponent << mantissaLength | mantissa; + exponentLength += mantissaLength; + for (; exponentLength > 0; buffer[index++] = exponent & 255, exponent /= 256, exponentLength -= 8); + buffer[--index] |= sign * 128; + return buffer; }; var unpack = function (buffer, mantissaLength) { - var bytes = buffer.length; - var exponentLength = bytes * 8 - mantissaLength - 1; - var eMax = (1 << exponentLength) - 1; - var eBias = eMax >> 1; - var nBits = exponentLength - 7; - var index = bytes - 1; - var sign = buffer[index--]; - var exponent = sign & 127; - var mantissa; - sign >>= 7; - for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8); - mantissa = exponent & (1 << -nBits) - 1; - exponent >>= -nBits; - nBits += mantissaLength; - for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8); - if (exponent === 0) { - exponent = 1 - eBias; - } else if (exponent === eMax) { - return mantissa ? NaN : sign ? -Infinity : Infinity; - } else { - mantissa = mantissa + pow$1(2, mantissaLength); - exponent = exponent - eBias; - } return (sign ? -1 : 1) * mantissa * pow$1(2, exponent - mantissaLength); + var bytes = buffer.length; + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var nBits = exponentLength - 7; + var index = bytes - 1; + var sign = buffer[index--]; + var exponent = sign & 127; + var mantissa; + sign >>= 7; + for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8); + mantissa = exponent & (1 << -nBits) - 1; + exponent >>= -nBits; + nBits += mantissaLength; + for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8); + if (exponent === 0) { + exponent = 1 - eBias; + } else if (exponent === eMax) { + return mantissa ? NaN : sign ? -Infinity : Infinity; + } else { + mantissa = mantissa + pow$1(2, mantissaLength); + exponent = exponent - eBias; + } return (sign ? -1 : 1) * mantissa * pow$1(2, exponent - mantissaLength); }; var ieee754 = { - pack: pack, - unpack: unpack + pack: pack, + unpack: unpack }; var getOwnPropertyNames = objectGetOwnPropertyNames.f; @@ -3895,195 +4009,195 @@ var unpackIEEE754 = ieee754.unpack; var packInt8 = function (number) { - return [number & 0xFF]; + return [number & 0xFF]; }; var packInt16 = function (number) { - return [number & 0xFF, number >> 8 & 0xFF]; + return [number & 0xFF, number >> 8 & 0xFF]; }; var packInt32 = function (number) { - return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF]; + return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF]; }; var unpackInt32 = function (buffer) { - return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; + return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; }; var packFloat32 = function (number) { - return packIEEE754(number, 23, 4); + return packIEEE754(number, 23, 4); }; var packFloat64 = function (number) { - return packIEEE754(number, 52, 8); + return packIEEE754(number, 52, 8); }; var addGetter = function (Constructor, key) { - defineProperty$2(Constructor[PROTOTYPE], key, { get: function () { return getInternalState$2(this)[key]; } }); + defineProperty$2(Constructor[PROTOTYPE], key, { get: function () { return getInternalState$2(this)[key]; } }); }; var get = function (view, count, index, isLittleEndian) { - var intIndex = toIndex(index); - var store = getInternalState$2(view); - if (intIndex + count > store.byteLength) throw RangeError$1(WRONG_INDEX); - var bytes = getInternalState$2(store.buffer).bytes; - var start = intIndex + store.byteOffset; - var pack = bytes.slice(start, start + count); - return isLittleEndian ? pack : pack.reverse(); + var intIndex = toIndex(index); + var store = getInternalState$2(view); + if (intIndex + count > store.byteLength) throw RangeError$1(WRONG_INDEX); + var bytes = getInternalState$2(store.buffer).bytes; + var start = intIndex + store.byteOffset; + var pack = bytes.slice(start, start + count); + return isLittleEndian ? pack : pack.reverse(); }; var set$1 = function (view, count, index, conversion, value, isLittleEndian) { - var intIndex = toIndex(index); - var store = getInternalState$2(view); - if (intIndex + count > store.byteLength) throw RangeError$1(WRONG_INDEX); - var bytes = getInternalState$2(store.buffer).bytes; - var start = intIndex + store.byteOffset; - var pack = conversion(+value); - for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1]; + var intIndex = toIndex(index); + var store = getInternalState$2(view); + if (intIndex + count > store.byteLength) throw RangeError$1(WRONG_INDEX); + var bytes = getInternalState$2(store.buffer).bytes; + var start = intIndex + store.byteOffset; + var pack = conversion(+value); + for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1]; }; if (!arrayBufferNative) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer, ARRAY_BUFFER$1); - var byteLength = toIndex(length); - setInternalState$3(this, { - bytes: arrayFill.call(new Array(byteLength), 0), - byteLength: byteLength - }); - if (!descriptors) this.byteLength = byteLength; - }; - - $DataView = function DataView(buffer, byteOffset, byteLength) { - anInstance(this, $DataView, DATA_VIEW); - anInstance(buffer, $ArrayBuffer, DATA_VIEW); - var bufferLength = getInternalState$2(buffer).byteLength; - var offset = toInteger(byteOffset); - if (offset < 0 || offset > bufferLength) throw RangeError$1('Wrong offset'); - byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); - if (offset + byteLength > bufferLength) throw RangeError$1(WRONG_LENGTH); - setInternalState$3(this, { - buffer: buffer, - byteLength: byteLength, - byteOffset: offset - }); - if (!descriptors) { - this.buffer = buffer; - this.byteLength = byteLength; - this.byteOffset = offset; - } - }; - - if (descriptors) { - addGetter($ArrayBuffer, 'byteLength'); - addGetter($DataView, 'buffer'); - addGetter($DataView, 'byteLength'); - addGetter($DataView, 'byteOffset'); - } - - redefineAll($DataView[PROTOTYPE], { - getInt8: function getInt8(byteOffset) { - return get(this, 1, byteOffset)[0] << 24 >> 24; - }, - getUint8: function getUint8(byteOffset) { - return get(this, 1, byteOffset)[0]; - }, - getInt16: function getInt16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); - return (bytes[1] << 8 | bytes[0]) << 16 >> 16; - }, - getUint16: function getUint16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); - return bytes[1] << 8 | bytes[0]; - }, - getInt32: function getInt32(byteOffset /* , littleEndian */) { - return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)); - }, - getUint32: function getUint32(byteOffset /* , littleEndian */) { - return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0; - }, - getFloat32: function getFloat32(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23); - }, - getFloat64: function getFloat64(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52); - }, - setInt8: function setInt8(byteOffset, value) { - set$1(this, 1, byteOffset, packInt8, value); - }, - setUint8: function setUint8(byteOffset, value) { - set$1(this, 1, byteOffset, packInt8, value); - }, - setInt16: function setInt16(byteOffset, value /* , littleEndian */) { - set$1(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); - }, - setUint16: function setUint16(byteOffset, value /* , littleEndian */) { - set$1(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); - }, - setInt32: function setInt32(byteOffset, value /* , littleEndian */) { - set$1(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); - }, - setUint32: function setUint32(byteOffset, value /* , littleEndian */) { - set$1(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); - }, - setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { - set$1(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined); - }, - setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { - set$1(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined); - } - }); + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, $ArrayBuffer, ARRAY_BUFFER$1); + var byteLength = toIndex(length); + setInternalState$3(this, { + bytes: arrayFill.call(new Array(byteLength), 0), + byteLength: byteLength + }); + if (!descriptors) this.byteLength = byteLength; + }; + + $DataView = function DataView(buffer, byteOffset, byteLength) { + anInstance(this, $DataView, DATA_VIEW); + anInstance(buffer, $ArrayBuffer, DATA_VIEW); + var bufferLength = getInternalState$2(buffer).byteLength; + var offset = toInteger(byteOffset); + if (offset < 0 || offset > bufferLength) throw RangeError$1('Wrong offset'); + byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); + if (offset + byteLength > bufferLength) throw RangeError$1(WRONG_LENGTH); + setInternalState$3(this, { + buffer: buffer, + byteLength: byteLength, + byteOffset: offset + }); + if (!descriptors) { + this.buffer = buffer; + this.byteLength = byteLength; + this.byteOffset = offset; + } + }; + + if (descriptors) { + addGetter($ArrayBuffer, 'byteLength'); + addGetter($DataView, 'buffer'); + addGetter($DataView, 'byteLength'); + addGetter($DataView, 'byteOffset'); + } + + redefineAll($DataView[PROTOTYPE], { + getInt8: function getInt8(byteOffset) { + return get(this, 1, byteOffset)[0] << 24 >> 24; + }, + getUint8: function getUint8(byteOffset) { + return get(this, 1, byteOffset)[0]; + }, + getInt16: function getInt16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); + return (bytes[1] << 8 | bytes[0]) << 16 >> 16; + }, + getUint16: function getUint16(byteOffset /* , littleEndian */) { + var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); + return bytes[1] << 8 | bytes[0]; + }, + getInt32: function getInt32(byteOffset /* , littleEndian */) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)); + }, + getUint32: function getUint32(byteOffset /* , littleEndian */) { + return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0; + }, + getFloat32: function getFloat32(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23); + }, + getFloat64: function getFloat64(byteOffset /* , littleEndian */) { + return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52); + }, + setInt8: function setInt8(byteOffset, value) { + set$1(this, 1, byteOffset, packInt8, value); + }, + setUint8: function setUint8(byteOffset, value) { + set$1(this, 1, byteOffset, packInt8, value); + }, + setInt16: function setInt16(byteOffset, value /* , littleEndian */) { + set$1(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setUint16: function setUint16(byteOffset, value /* , littleEndian */) { + set$1(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setInt32: function setInt32(byteOffset, value /* , littleEndian */) { + set$1(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setUint32: function setUint32(byteOffset, value /* , littleEndian */) { + set$1(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { + set$1(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined); + }, + setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { + set$1(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined); + } + }); } else { - /* eslint-disable no-new -- required for testing */ - if (!fails(function () { - NativeArrayBuffer$1(1); - }) || !fails(function () { - new NativeArrayBuffer$1(-1); - }) || fails(function () { - new NativeArrayBuffer$1(); - new NativeArrayBuffer$1(1.5); - new NativeArrayBuffer$1(NaN); - return NativeArrayBuffer$1.name != ARRAY_BUFFER$1; - })) { - /* eslint-enable no-new -- required for testing */ - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer); - return new NativeArrayBuffer$1(toIndex(length)); - }; - var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer$1[PROTOTYPE]; - for (var keys$1 = getOwnPropertyNames(NativeArrayBuffer$1), j = 0, key; keys$1.length > j;) { - if (!((key = keys$1[j++]) in $ArrayBuffer)) { - createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer$1[key]); - } - } - ArrayBufferPrototype.constructor = $ArrayBuffer; - } - - // WebKit bug - the same parent prototype for typed arrays and data view - if (objectSetPrototypeOf && objectGetPrototypeOf($DataViewPrototype) !== ObjectPrototype$1) { - objectSetPrototypeOf($DataViewPrototype, ObjectPrototype$1); - } - - // iOS Safari 7.x bug - var testView = new $DataView(new $ArrayBuffer(2)); - var $setInt8 = $DataViewPrototype.setInt8; - testView.setInt8(0, 2147483648); - testView.setInt8(1, 2147483649); - if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataViewPrototype, { - setInt8: function setInt8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); - }, - setUint8: function setUint8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); - } - }, { unsafe: true }); + /* eslint-disable no-new -- required for testing */ + if (!fails(function () { + NativeArrayBuffer$1(1); + }) || !fails(function () { + new NativeArrayBuffer$1(-1); + }) || fails(function () { + new NativeArrayBuffer$1(); + new NativeArrayBuffer$1(1.5); + new NativeArrayBuffer$1(NaN); + return NativeArrayBuffer$1.name != ARRAY_BUFFER$1; + })) { + /* eslint-enable no-new -- required for testing */ + $ArrayBuffer = function ArrayBuffer(length) { + anInstance(this, $ArrayBuffer); + return new NativeArrayBuffer$1(toIndex(length)); + }; + var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer$1[PROTOTYPE]; + for (var keys$1 = getOwnPropertyNames(NativeArrayBuffer$1), j = 0, key; keys$1.length > j;) { + if (!((key = keys$1[j++]) in $ArrayBuffer)) { + createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer$1[key]); + } + } + ArrayBufferPrototype.constructor = $ArrayBuffer; + } + + // WebKit bug - the same parent prototype for typed arrays and data view + if (objectSetPrototypeOf && objectGetPrototypeOf($DataViewPrototype) !== ObjectPrototype$1) { + objectSetPrototypeOf($DataViewPrototype, ObjectPrototype$1); + } + + // iOS Safari 7.x bug + var testView = new $DataView(new $ArrayBuffer(2)); + var $setInt8 = $DataViewPrototype.setInt8; + testView.setInt8(0, 2147483648); + testView.setInt8(1, 2147483649); + if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataViewPrototype, { + setInt8: function setInt8(byteOffset, value) { + $setInt8.call(this, byteOffset, value << 24 >> 24); + }, + setUint8: function setUint8(byteOffset, value) { + $setInt8.call(this, byteOffset, value << 24 >> 24); + } + }, { unsafe: true }); } setToStringTag($ArrayBuffer, ARRAY_BUFFER$1); setToStringTag($DataView, DATA_VIEW); var arrayBuffer = { - ArrayBuffer: $ArrayBuffer, - DataView: $DataView + ArrayBuffer: $ArrayBuffer, + DataView: $DataView }; var ARRAY_BUFFER = 'ArrayBuffer'; @@ -4093,38 +4207,38 @@ // `ArrayBuffer` constructor // https://tc39.es/ecma262/#sec-arraybuffer-constructor _export({ global: true, forced: NativeArrayBuffer !== ArrayBuffer$2 }, { - ArrayBuffer: ArrayBuffer$2 + ArrayBuffer: ArrayBuffer$2 }); setSpecies(ARRAY_BUFFER); var notARegexp = function (it) { - if (isRegexp(it)) { - throw TypeError("The method doesn't accept regular expressions"); - } return it; + if (isRegexp(it)) { + throw TypeError("The method doesn't accept regular expressions"); + } return it; }; var MATCH = wellKnownSymbol('match'); var correctIsRegexpLogic = function (METHOD_NAME) { - var regexp = /./; - try { - '/./'[METHOD_NAME](regexp); - } catch (error1) { - try { - regexp[MATCH] = false; - return '/./'[METHOD_NAME](regexp); - } catch (error2) { /* empty */ } - } return false; + var regexp = /./; + try { + '/./'[METHOD_NAME](regexp); + } catch (error1) { + try { + regexp[MATCH] = false; + return '/./'[METHOD_NAME](regexp); + } catch (error2) { /* empty */ } + } return false; }; // `String.prototype.includes` method // https://tc39.es/ecma262/#sec-string.prototype.includes _export({ target: 'String', proto: true, forced: !correctIsRegexpLogic('includes') }, { - includes: function includes(searchString /* , position = 0 */) { - return !!~String(requireObjectCoercible(this)) - .indexOf(notARegexp(searchString), arguments.length > 1 ? arguments[1] : undefined); - } + includes: function includes(searchString /* , position = 0 */) { + return !!~String(requireObjectCoercible(this)) + .indexOf(notARegexp(searchString), arguments.length > 1 ? arguments[1] : undefined); + } }); var non = '\u200B\u0085\u180E'; @@ -4132,9 +4246,9 @@ // check that a method works with the correct list // of whitespaces and has a correct name var stringTrimForced = function (METHOD_NAME) { - return fails(function () { - return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; - }); + return fails(function () { + return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; + }); }; var $trim = stringTrim.trim; @@ -4143,46 +4257,46 @@ // `String.prototype.trim` method // https://tc39.es/ecma262/#sec-string.prototype.trim _export({ target: 'String', proto: true, forced: stringTrimForced('trim') }, { - trim: function trim() { - return $trim(this); - } + trim: function trim() { + return $trim(this); + } }); var ITERATOR$4 = wellKnownSymbol('iterator'); var SAFE_CLOSING = false; try { - var called = 0; - var iteratorWithReturn = { - next: function () { - return { done: !!called++ }; - }, - 'return': function () { - SAFE_CLOSING = true; - } - }; - iteratorWithReturn[ITERATOR$4] = function () { - return this; - }; - // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing - Array.from(iteratorWithReturn, function () { throw 2; }); + var called = 0; + var iteratorWithReturn = { + next: function () { + return { done: !!called++ }; + }, + 'return': function () { + SAFE_CLOSING = true; + } + }; + iteratorWithReturn[ITERATOR$4] = function () { + return this; + }; + // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing + Array.from(iteratorWithReturn, function () { throw 2; }); } catch (error) { /* empty */ } var checkCorrectnessOfIteration = function (exec, SKIP_CLOSING) { - if (!SKIP_CLOSING && !SAFE_CLOSING) return false; - var ITERATION_SUPPORT = false; - try { - var object = {}; - object[ITERATOR$4] = function () { - return { - next: function () { - return { done: ITERATION_SUPPORT = true }; - } - }; - }; - exec(object); - } catch (error) { /* empty */ } - return ITERATION_SUPPORT; + if (!SKIP_CLOSING && !SAFE_CLOSING) return false; + var ITERATION_SUPPORT = false; + try { + var object = {}; + object[ITERATOR$4] = function () { + return { + next: function () { + return { done: ITERATION_SUPPORT = true }; + } + }; + }; + exec(object); + } catch (error) { /* empty */ } + return ITERATION_SUPPORT; }; var defineProperty$1 = objectDefineProperty.f; @@ -4208,140 +4322,140 @@ var NAME; var TypedArrayConstructorsList = { - Int8Array: 1, - Uint8Array: 1, - Uint8ClampedArray: 1, - Int16Array: 2, - Uint16Array: 2, - Int32Array: 4, - Uint32Array: 4, - Float32Array: 4, - Float64Array: 8 + Int8Array: 1, + Uint8Array: 1, + Uint8ClampedArray: 1, + Int16Array: 2, + Uint16Array: 2, + Int32Array: 4, + Uint32Array: 4, + Float32Array: 4, + Float64Array: 8 }; var BigIntArrayConstructorsList = { - BigInt64Array: 8, - BigUint64Array: 8 + BigInt64Array: 8, + BigUint64Array: 8 }; var isView = function isView(it) { - if (!isObject$1(it)) return false; - var klass = classof(it); - return klass === 'DataView' - || has$1(TypedArrayConstructorsList, klass) - || has$1(BigIntArrayConstructorsList, klass); + if (!isObject$1(it)) return false; + var klass = classof(it); + return klass === 'DataView' + || has$1(TypedArrayConstructorsList, klass) + || has$1(BigIntArrayConstructorsList, klass); }; var isTypedArray = function (it) { - if (!isObject$1(it)) return false; - var klass = classof(it); - return has$1(TypedArrayConstructorsList, klass) - || has$1(BigIntArrayConstructorsList, klass); + if (!isObject$1(it)) return false; + var klass = classof(it); + return has$1(TypedArrayConstructorsList, klass) + || has$1(BigIntArrayConstructorsList, klass); }; var aTypedArray$m = function (it) { - if (isTypedArray(it)) return it; - throw TypeError('Target is not a typed array'); + if (isTypedArray(it)) return it; + throw TypeError('Target is not a typed array'); }; var aTypedArrayConstructor$4 = function (C) { - if (objectSetPrototypeOf) { - if (isPrototypeOf.call(TypedArray, C)) return C; - } else for (var ARRAY in TypedArrayConstructorsList) if (has$1(TypedArrayConstructorsList, NAME)) { - var TypedArrayConstructor = global_1[ARRAY]; - if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) { - return C; - } - } throw TypeError('Target is not a typed array constructor'); + if (objectSetPrototypeOf) { + if (isPrototypeOf.call(TypedArray, C)) return C; + } else for (var ARRAY in TypedArrayConstructorsList) if (has$1(TypedArrayConstructorsList, NAME)) { + var TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) { + return C; + } + } throw TypeError('Target is not a typed array constructor'); }; var exportTypedArrayMethod$n = function (KEY, property, forced) { - if (!descriptors) return; - if (forced) for (var ARRAY in TypedArrayConstructorsList) { - var TypedArrayConstructor = global_1[ARRAY]; - if (TypedArrayConstructor && has$1(TypedArrayConstructor.prototype, KEY)) try { - delete TypedArrayConstructor.prototype[KEY]; - } catch (error) { /* empty */ } - } - if (!TypedArrayPrototype[KEY] || forced) { - redefine(TypedArrayPrototype, KEY, forced ? property - : NATIVE_ARRAY_BUFFER_VIEWS$1 && Int8ArrayPrototype[KEY] || property); - } + if (!descriptors) return; + if (forced) for (var ARRAY in TypedArrayConstructorsList) { + var TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && has$1(TypedArrayConstructor.prototype, KEY)) try { + delete TypedArrayConstructor.prototype[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArrayPrototype[KEY] || forced) { + redefine(TypedArrayPrototype, KEY, forced ? property + : NATIVE_ARRAY_BUFFER_VIEWS$1 && Int8ArrayPrototype[KEY] || property); + } }; var exportTypedArrayStaticMethod = function (KEY, property, forced) { - var ARRAY, TypedArrayConstructor; - if (!descriptors) return; - if (objectSetPrototypeOf) { - if (forced) for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global_1[ARRAY]; - if (TypedArrayConstructor && has$1(TypedArrayConstructor, KEY)) try { - delete TypedArrayConstructor[KEY]; - } catch (error) { /* empty */ } - } - if (!TypedArray[KEY] || forced) { - // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable - try { - return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS$1 && TypedArray[KEY] || property); - } catch (error) { /* empty */ } - } else return; - } - for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global_1[ARRAY]; - if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { - redefine(TypedArrayConstructor, KEY, property); - } - } + var ARRAY, TypedArrayConstructor; + if (!descriptors) return; + if (objectSetPrototypeOf) { + if (forced) for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && has$1(TypedArrayConstructor, KEY)) try { + delete TypedArrayConstructor[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArray[KEY] || forced) { + // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable + try { + return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS$1 && TypedArray[KEY] || property); + } catch (error) { /* empty */ } + } else return; + } + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global_1[ARRAY]; + if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { + redefine(TypedArrayConstructor, KEY, property); + } + } }; for (NAME in TypedArrayConstructorsList) { - if (!global_1[NAME]) NATIVE_ARRAY_BUFFER_VIEWS$1 = false; + if (!global_1[NAME]) NATIVE_ARRAY_BUFFER_VIEWS$1 = false; } // WebKit bug - typed arrays constructors prototype is Object.prototype if (!NATIVE_ARRAY_BUFFER_VIEWS$1 || typeof TypedArray != 'function' || TypedArray === Function.prototype) { - // eslint-disable-next-line no-shadow -- safe - TypedArray = function TypedArray() { - throw TypeError('Incorrect invocation'); - }; - if (NATIVE_ARRAY_BUFFER_VIEWS$1) for (NAME in TypedArrayConstructorsList) { - if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray); - } + // eslint-disable-next-line no-shadow -- safe + TypedArray = function TypedArray() { + throw TypeError('Incorrect invocation'); + }; + if (NATIVE_ARRAY_BUFFER_VIEWS$1) for (NAME in TypedArrayConstructorsList) { + if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray); + } } if (!NATIVE_ARRAY_BUFFER_VIEWS$1 || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { - TypedArrayPrototype = TypedArray.prototype; - if (NATIVE_ARRAY_BUFFER_VIEWS$1) for (NAME in TypedArrayConstructorsList) { - if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME].prototype, TypedArrayPrototype); - } + TypedArrayPrototype = TypedArray.prototype; + if (NATIVE_ARRAY_BUFFER_VIEWS$1) for (NAME in TypedArrayConstructorsList) { + if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME].prototype, TypedArrayPrototype); + } } // WebKit bug - one more object in Uint8ClampedArray prototype chain if (NATIVE_ARRAY_BUFFER_VIEWS$1 && objectGetPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { - objectSetPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); + objectSetPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); } if (descriptors && !has$1(TypedArrayPrototype, TO_STRING_TAG$1)) { - TYPED_ARRAY_TAG_REQIRED = true; - defineProperty$1(TypedArrayPrototype, TO_STRING_TAG$1, { get: function () { - return isObject$1(this) ? this[TYPED_ARRAY_TAG] : undefined; - } }); - for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) { - createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME); - } + TYPED_ARRAY_TAG_REQIRED = true; + defineProperty$1(TypedArrayPrototype, TO_STRING_TAG$1, { get: function () { + return isObject$1(this) ? this[TYPED_ARRAY_TAG] : undefined; + } }); + for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) { + createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME); + } } var arrayBufferViewCore = { - NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS$1, - TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG, - aTypedArray: aTypedArray$m, - aTypedArrayConstructor: aTypedArrayConstructor$4, - exportTypedArrayMethod: exportTypedArrayMethod$n, - exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, - isView: isView, - isTypedArray: isTypedArray, - TypedArray: TypedArray, - TypedArrayPrototype: TypedArrayPrototype + NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS$1, + TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG, + aTypedArray: aTypedArray$m, + aTypedArrayConstructor: aTypedArrayConstructor$4, + exportTypedArrayMethod: exportTypedArrayMethod$n, + exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, + isView: isView, + isTypedArray: isTypedArray, + TypedArray: TypedArray, + TypedArrayPrototype: TypedArrayPrototype }; /* eslint-disable no-new -- required for testing */ @@ -4354,37 +4468,37 @@ var Int8Array$2 = global_1.Int8Array; var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { - Int8Array$2(1); + Int8Array$2(1); }) || !fails(function () { - new Int8Array$2(-1); + new Int8Array$2(-1); }) || !checkCorrectnessOfIteration(function (iterable) { - new Int8Array$2(); - new Int8Array$2(null); - new Int8Array$2(1.5); - new Int8Array$2(iterable); + new Int8Array$2(); + new Int8Array$2(null); + new Int8Array$2(1.5); + new Int8Array$2(iterable); }, true) || fails(function () { - // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill - return new Int8Array$2(new ArrayBuffer$1(2), 1, undefined).length !== 1; + // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill + return new Int8Array$2(new ArrayBuffer$1(2), 1, undefined).length !== 1; }); var toPositiveInteger = function (it) { - var result = toInteger(it); - if (result < 0) throw RangeError("The argument can't be less than 0"); - return result; + var result = toInteger(it); + if (result < 0) throw RangeError("The argument can't be less than 0"); + return result; }; var toOffset = function (it, BYTES) { - var offset = toPositiveInteger(it); - if (offset % BYTES) throw RangeError('Wrong offset'); - return offset; + var offset = toPositiveInteger(it); + if (offset % BYTES) throw RangeError('Wrong offset'); + return offset; }; var ITERATOR$3 = wellKnownSymbol('iterator'); var getIteratorMethod = function (it) { - if (it != undefined) return it[ITERATOR$3] - || it['@@iterator'] - || iterators[classof(it)]; + if (it != undefined) return it[ITERATOR$3] + || it['@@iterator'] + || iterators[classof(it)]; }; var ITERATOR$2 = wellKnownSymbol('iterator'); @@ -4392,35 +4506,35 @@ // check on default Array iterator var isArrayIteratorMethod = function (it) { - return it !== undefined && (iterators.Array === it || ArrayPrototype[ITERATOR$2] === it); + return it !== undefined && (iterators.Array === it || ArrayPrototype[ITERATOR$2] === it); }; var aTypedArrayConstructor$3 = arrayBufferViewCore.aTypedArrayConstructor; var typedArrayFrom = function from(source /* , mapfn, thisArg */) { - var O = toObject(source); - var argumentsLength = arguments.length; - var mapfn = argumentsLength > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var iteratorMethod = getIteratorMethod(O); - var i, length, result, step, iterator, next; - if (iteratorMethod != undefined && !isArrayIteratorMethod(iteratorMethod)) { - iterator = iteratorMethod.call(O); - next = iterator.next; - O = []; - while (!(step = next.call(iterator)).done) { - O.push(step.value); - } - } - if (mapping && argumentsLength > 2) { - mapfn = functionBindContext(mapfn, arguments[2], 2); - } - length = toLength(O.length); - result = new (aTypedArrayConstructor$3(this))(length); - for (i = 0; length > i; i++) { - result[i] = mapping ? mapfn(O[i], i) : O[i]; - } - return result; + var O = toObject(source); + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var iteratorMethod = getIteratorMethod(O); + var i, length, result, step, iterator, next; + if (iteratorMethod != undefined && !isArrayIteratorMethod(iteratorMethod)) { + iterator = iteratorMethod.call(O); + next = iterator.next; + O = []; + while (!(step = next.call(iterator)).done) { + O.push(step.value); + } + } + if (mapping && argumentsLength > 2) { + mapfn = functionBindContext(mapfn, arguments[2], 2); + } + length = toLength(O.length); + result = new (aTypedArrayConstructor$3(this))(length); + for (i = 0; length > i; i++) { + result[i] = mapping ? mapfn(O[i], i) : O[i]; + } + return result; }; var typedArrayConstructor = createCommonjsModule(function (module) { @@ -4442,225 +4556,225 @@ - var getOwnPropertyNames = objectGetOwnPropertyNames.f; + var getOwnPropertyNames = objectGetOwnPropertyNames.f; - var forEach = arrayIteration.forEach; + var forEach = arrayIteration.forEach; - var getInternalState = internalState.get; - var setInternalState = internalState.set; - var nativeDefineProperty = objectDefineProperty.f; - var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; - var round = Math.round; - var RangeError = global_1.RangeError; - var ArrayBuffer = arrayBuffer.ArrayBuffer; - var DataView = arrayBuffer.DataView; - var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; - var TYPED_ARRAY_TAG = arrayBufferViewCore.TYPED_ARRAY_TAG; - var TypedArray = arrayBufferViewCore.TypedArray; - var TypedArrayPrototype = arrayBufferViewCore.TypedArrayPrototype; - var aTypedArrayConstructor = arrayBufferViewCore.aTypedArrayConstructor; - var isTypedArray = arrayBufferViewCore.isTypedArray; - var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; - var WRONG_LENGTH = 'Wrong length'; + var getInternalState = internalState.get; + var setInternalState = internalState.set; + var nativeDefineProperty = objectDefineProperty.f; + var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; + var round = Math.round; + var RangeError = global_1.RangeError; + var ArrayBuffer = arrayBuffer.ArrayBuffer; + var DataView = arrayBuffer.DataView; + var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; + var TYPED_ARRAY_TAG = arrayBufferViewCore.TYPED_ARRAY_TAG; + var TypedArray = arrayBufferViewCore.TypedArray; + var TypedArrayPrototype = arrayBufferViewCore.TypedArrayPrototype; + var aTypedArrayConstructor = arrayBufferViewCore.aTypedArrayConstructor; + var isTypedArray = arrayBufferViewCore.isTypedArray; + var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; + var WRONG_LENGTH = 'Wrong length'; - var fromList = function (C, list) { - var index = 0; - var length = list.length; - var result = new (aTypedArrayConstructor(C))(length); - while (length > index) result[index] = list[index++]; - return result; - }; - - var addGetter = function (it, key) { - nativeDefineProperty(it, key, { get: function () { - return getInternalState(this)[key]; - } }); - }; - - var isArrayBuffer = function (it) { - var klass; - return it instanceof ArrayBuffer || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; - }; - - var isTypedArrayIndex = function (target, key) { - return isTypedArray(target) - && typeof key != 'symbol' - && key in target - && String(+key) == String(key); - }; - - var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { - return isTypedArrayIndex(target, key = toPrimitive(key, true)) - ? createPropertyDescriptor(2, target[key]) - : nativeGetOwnPropertyDescriptor(target, key); - }; - - var wrappedDefineProperty = function defineProperty(target, key, descriptor) { - if (isTypedArrayIndex(target, key = toPrimitive(key, true)) - && isObject$1(descriptor) - && has$1(descriptor, 'value') - && !has$1(descriptor, 'get') - && !has$1(descriptor, 'set') - // TODO: add validation descriptor w/o calling accessors - && !descriptor.configurable - && (!has$1(descriptor, 'writable') || descriptor.writable) - && (!has$1(descriptor, 'enumerable') || descriptor.enumerable) - ) { - target[key] = descriptor.value; - return target; - } return nativeDefineProperty(target, key, descriptor); - }; - - if (descriptors) { - if (!NATIVE_ARRAY_BUFFER_VIEWS) { - objectGetOwnPropertyDescriptor.f = wrappedGetOwnPropertyDescriptor; - objectDefineProperty.f = wrappedDefineProperty; - addGetter(TypedArrayPrototype, 'buffer'); - addGetter(TypedArrayPrototype, 'byteOffset'); - addGetter(TypedArrayPrototype, 'byteLength'); - addGetter(TypedArrayPrototype, 'length'); - } - - _export({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { - getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, - defineProperty: wrappedDefineProperty - }); - - module.exports = function (TYPE, wrapper, CLAMPED) { - var BYTES = TYPE.match(/\d+$/)[0] / 8; - var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; - var GETTER = 'get' + TYPE; - var SETTER = 'set' + TYPE; - var NativeTypedArrayConstructor = global_1[CONSTRUCTOR_NAME]; - var TypedArrayConstructor = NativeTypedArrayConstructor; - var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; - var exported = {}; - - var getter = function (that, index) { - var data = getInternalState(that); - return data.view[GETTER](index * BYTES + data.byteOffset, true); - }; - - var setter = function (that, index, value) { - var data = getInternalState(that); - if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; - data.view[SETTER](index * BYTES + data.byteOffset, value, true); - }; - - var addElement = function (that, index) { - nativeDefineProperty(that, index, { - get: function () { - return getter(this, index); - }, - set: function (value) { - return setter(this, index, value); - }, - enumerable: true - }); - }; - - if (!NATIVE_ARRAY_BUFFER_VIEWS) { - TypedArrayConstructor = wrapper(function (that, data, offset, $length) { - anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME); - var index = 0; - var byteOffset = 0; - var buffer, byteLength, length; - if (!isObject$1(data)) { - length = toIndex(data); - byteLength = length * BYTES; - buffer = new ArrayBuffer(byteLength); - } else if (isArrayBuffer(data)) { - buffer = data; - byteOffset = toOffset(offset, BYTES); - var $len = data.byteLength; - if ($length === undefined) { - if ($len % BYTES) throw RangeError(WRONG_LENGTH); - byteLength = $len - byteOffset; - if (byteLength < 0) throw RangeError(WRONG_LENGTH); - } else { - byteLength = toLength($length) * BYTES; - if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH); - } - length = byteLength / BYTES; - } else if (isTypedArray(data)) { - return fromList(TypedArrayConstructor, data); - } else { - return typedArrayFrom.call(TypedArrayConstructor, data); - } - setInternalState(that, { - buffer: buffer, - byteOffset: byteOffset, - byteLength: byteLength, - length: length, - view: new DataView(buffer) - }); - while (index < length) addElement(that, index++); - }); - - if (objectSetPrototypeOf) objectSetPrototypeOf(TypedArrayConstructor, TypedArray); - TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = objectCreate(TypedArrayPrototype); - } else if (typedArrayConstructorsRequireWrappers) { - TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) { - anInstance(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME); - return inheritIfRequired(function () { - if (!isObject$1(data)) return new NativeTypedArrayConstructor(toIndex(data)); - if (isArrayBuffer(data)) return $length !== undefined - ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) - : typedArrayOffset !== undefined - ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) - : new NativeTypedArrayConstructor(data); - if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); - return typedArrayFrom.call(TypedArrayConstructor, data); - }(), dummy, TypedArrayConstructor); - }); - - if (objectSetPrototypeOf) objectSetPrototypeOf(TypedArrayConstructor, TypedArray); - forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) { - if (!(key in TypedArrayConstructor)) { - createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); - } - }); - TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; - } - - if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { - createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); - } - - if (TYPED_ARRAY_TAG) { - createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); - } - - exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; - - _export({ - global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS - }, exported); - - if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { - createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); - } - - if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { - createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); - } - - setSpecies(CONSTRUCTOR_NAME); - }; - } else module.exports = function () { /* empty */ }; + var fromList = function (C, list) { + var index = 0; + var length = list.length; + var result = new (aTypedArrayConstructor(C))(length); + while (length > index) result[index] = list[index++]; + return result; + }; + + var addGetter = function (it, key) { + nativeDefineProperty(it, key, { get: function () { + return getInternalState(this)[key]; + } }); + }; + + var isArrayBuffer = function (it) { + var klass; + return it instanceof ArrayBuffer || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; + }; + + var isTypedArrayIndex = function (target, key) { + return isTypedArray(target) + && typeof key != 'symbol' + && key in target + && String(+key) == String(key); + }; + + var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { + return isTypedArrayIndex(target, key = toPrimitive(key, true)) + ? createPropertyDescriptor(2, target[key]) + : nativeGetOwnPropertyDescriptor(target, key); + }; + + var wrappedDefineProperty = function defineProperty(target, key, descriptor) { + if (isTypedArrayIndex(target, key = toPrimitive(key, true)) + && isObject$1(descriptor) + && has$1(descriptor, 'value') + && !has$1(descriptor, 'get') + && !has$1(descriptor, 'set') + // TODO: add validation descriptor w/o calling accessors + && !descriptor.configurable + && (!has$1(descriptor, 'writable') || descriptor.writable) + && (!has$1(descriptor, 'enumerable') || descriptor.enumerable) + ) { + target[key] = descriptor.value; + return target; + } return nativeDefineProperty(target, key, descriptor); + }; + + if (descriptors) { + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + objectGetOwnPropertyDescriptor.f = wrappedGetOwnPropertyDescriptor; + objectDefineProperty.f = wrappedDefineProperty; + addGetter(TypedArrayPrototype, 'buffer'); + addGetter(TypedArrayPrototype, 'byteOffset'); + addGetter(TypedArrayPrototype, 'byteLength'); + addGetter(TypedArrayPrototype, 'length'); + } + + _export({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { + getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, + defineProperty: wrappedDefineProperty + }); + + module.exports = function (TYPE, wrapper, CLAMPED) { + var BYTES = TYPE.match(/\d+$/)[0] / 8; + var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; + var GETTER = 'get' + TYPE; + var SETTER = 'set' + TYPE; + var NativeTypedArrayConstructor = global_1[CONSTRUCTOR_NAME]; + var TypedArrayConstructor = NativeTypedArrayConstructor; + var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; + var exported = {}; + + var getter = function (that, index) { + var data = getInternalState(that); + return data.view[GETTER](index * BYTES + data.byteOffset, true); + }; + + var setter = function (that, index, value) { + var data = getInternalState(that); + if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; + data.view[SETTER](index * BYTES + data.byteOffset, value, true); + }; + + var addElement = function (that, index) { + nativeDefineProperty(that, index, { + get: function () { + return getter(this, index); + }, + set: function (value) { + return setter(this, index, value); + }, + enumerable: true + }); + }; + + if (!NATIVE_ARRAY_BUFFER_VIEWS) { + TypedArrayConstructor = wrapper(function (that, data, offset, $length) { + anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME); + var index = 0; + var byteOffset = 0; + var buffer, byteLength, length; + if (!isObject$1(data)) { + length = toIndex(data); + byteLength = length * BYTES; + buffer = new ArrayBuffer(byteLength); + } else if (isArrayBuffer(data)) { + buffer = data; + byteOffset = toOffset(offset, BYTES); + var $len = data.byteLength; + if ($length === undefined) { + if ($len % BYTES) throw RangeError(WRONG_LENGTH); + byteLength = $len - byteOffset; + if (byteLength < 0) throw RangeError(WRONG_LENGTH); + } else { + byteLength = toLength($length) * BYTES; + if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH); + } + length = byteLength / BYTES; + } else if (isTypedArray(data)) { + return fromList(TypedArrayConstructor, data); + } else { + return typedArrayFrom.call(TypedArrayConstructor, data); + } + setInternalState(that, { + buffer: buffer, + byteOffset: byteOffset, + byteLength: byteLength, + length: length, + view: new DataView(buffer) + }); + while (index < length) addElement(that, index++); + }); + + if (objectSetPrototypeOf) objectSetPrototypeOf(TypedArrayConstructor, TypedArray); + TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = objectCreate(TypedArrayPrototype); + } else if (typedArrayConstructorsRequireWrappers) { + TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) { + anInstance(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME); + return inheritIfRequired(function () { + if (!isObject$1(data)) return new NativeTypedArrayConstructor(toIndex(data)); + if (isArrayBuffer(data)) return $length !== undefined + ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) + : typedArrayOffset !== undefined + ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) + : new NativeTypedArrayConstructor(data); + if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); + return typedArrayFrom.call(TypedArrayConstructor, data); + }(), dummy, TypedArrayConstructor); + }); + + if (objectSetPrototypeOf) objectSetPrototypeOf(TypedArrayConstructor, TypedArray); + forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) { + if (!(key in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); + } + }); + TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; + } + + if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); + } + + if (TYPED_ARRAY_TAG) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); + } + + exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; + + _export({ + global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS + }, exported); + + if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { + createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); + } + + if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { + createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); + } + + setSpecies(CONSTRUCTOR_NAME); + }; + } else module.exports = function () { /* empty */ }; }); // `Uint8Array` constructor // https://tc39.es/ecma262/#sec-typedarray-objects typedArrayConstructor('Uint8', function (init) { - return function Uint8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; + return function Uint8Array(data, byteOffset, length) { + return init(this, data, byteOffset, length); + }; }); var min$2 = Math.min; @@ -4669,24 +4783,24 @@ // https://tc39.es/ecma262/#sec-array.prototype.copywithin // eslint-disable-next-line es/no-array-prototype-copywithin -- safe var arrayCopyWithin = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { - var O = toObject(this); - var len = toLength(O.length); - var to = toAbsoluteIndex(target, len); - var from = toAbsoluteIndex(start, len); - var end = arguments.length > 2 ? arguments[2] : undefined; - var count = min$2((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); - var inc = 1; - if (from < to && to < from + count) { - inc = -1; - from += count - 1; - to += count - 1; - } - while (count-- > 0) { - if (from in O) O[to] = O[from]; - else delete O[to]; - to += inc; - from += inc; - } return O; + var O = toObject(this); + var len = toLength(O.length); + var to = toAbsoluteIndex(target, len); + var from = toAbsoluteIndex(start, len); + var end = arguments.length > 2 ? arguments[2] : undefined; + var count = min$2((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); + var inc = 1; + if (from < to && to < from + count) { + inc = -1; + from += count - 1; + to += count - 1; + } + while (count-- > 0) { + if (from in O) O[to] = O[from]; + else delete O[to]; + to += inc; + from += inc; + } return O; }; var aTypedArray$l = arrayBufferViewCore.aTypedArray; @@ -4695,7 +4809,7 @@ // `%TypedArray%.prototype.copyWithin` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin exportTypedArrayMethod$m('copyWithin', function copyWithin(target, start /* , end */) { - return arrayCopyWithin.call(aTypedArray$l(this), target, start, arguments.length > 2 ? arguments[2] : undefined); + return arrayCopyWithin.call(aTypedArray$l(this), target, start, arguments.length > 2 ? arguments[2] : undefined); }); var $every = arrayIteration.every; @@ -4706,7 +4820,7 @@ // `%TypedArray%.prototype.every` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.every exportTypedArrayMethod$l('every', function every(callbackfn /* , thisArg */) { - return $every(aTypedArray$k(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return $every(aTypedArray$k(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); var aTypedArray$j = arrayBufferViewCore.aTypedArray; @@ -4716,19 +4830,19 @@ // https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill // eslint-disable-next-line no-unused-vars -- required for `.length` exportTypedArrayMethod$k('fill', function fill(value /* , start, end */) { - return arrayFill.apply(aTypedArray$j(this), arguments); + return arrayFill.apply(aTypedArray$j(this), arguments); }); var aTypedArrayConstructor$2 = arrayBufferViewCore.aTypedArrayConstructor; var typedArrayFromSpeciesAndList = function (instance, list) { - var C = speciesConstructor(instance, instance.constructor); - var index = 0; - var length = list.length; - var result = new (aTypedArrayConstructor$2(C))(length); - while (length > index) result[index] = list[index++]; - return result; + var C = speciesConstructor(instance, instance.constructor); + var index = 0; + var length = list.length; + var result = new (aTypedArrayConstructor$2(C))(length); + while (length > index) result[index] = list[index++]; + return result; }; var $filter = arrayIteration.filter; @@ -4740,8 +4854,8 @@ // `%TypedArray%.prototype.filter` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter exportTypedArrayMethod$j('filter', function filter(callbackfn /* , thisArg */) { - var list = $filter(aTypedArray$i(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - return typedArrayFromSpeciesAndList(this, list); + var list = $filter(aTypedArray$i(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return typedArrayFromSpeciesAndList(this, list); }); var $find = arrayIteration.find; @@ -4752,7 +4866,7 @@ // `%TypedArray%.prototype.find` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.find exportTypedArrayMethod$i('find', function find(predicate /* , thisArg */) { - return $find(aTypedArray$h(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + return $find(aTypedArray$h(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }); var $findIndex = arrayIteration.findIndex; @@ -4763,7 +4877,7 @@ // `%TypedArray%.prototype.findIndex` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex exportTypedArrayMethod$h('findIndex', function findIndex(predicate /* , thisArg */) { - return $findIndex(aTypedArray$g(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + return $findIndex(aTypedArray$g(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }); var $forEach = arrayIteration.forEach; @@ -4774,7 +4888,7 @@ // `%TypedArray%.prototype.forEach` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach exportTypedArrayMethod$g('forEach', function forEach(callbackfn /* , thisArg */) { - $forEach(aTypedArray$f(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + $forEach(aTypedArray$f(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); var $includes = arrayIncludes.includes; @@ -4785,7 +4899,7 @@ // `%TypedArray%.prototype.includes` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes exportTypedArrayMethod$f('includes', function includes(searchElement /* , fromIndex */) { - return $includes(aTypedArray$e(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); + return $includes(aTypedArray$e(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }); var $indexOf = arrayIncludes.indexOf; @@ -4796,7 +4910,7 @@ // `%TypedArray%.prototype.indexOf` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof exportTypedArrayMethod$e('indexOf', function indexOf(searchElement /* , fromIndex */) { - return $indexOf(aTypedArray$d(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); + return $indexOf(aTypedArray$d(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }); var ITERATOR$1 = wellKnownSymbol('iterator'); @@ -4809,21 +4923,21 @@ var nativeTypedArrayIterator = Uint8Array$2 && Uint8Array$2.prototype[ITERATOR$1]; var CORRECT_ITER_NAME = !!nativeTypedArrayIterator - && (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined); + && (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined); var typedArrayValues = function values() { - return arrayValues.call(aTypedArray$c(this)); + return arrayValues.call(aTypedArray$c(this)); }; // `%TypedArray%.prototype.entries` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries exportTypedArrayMethod$d('entries', function entries() { - return arrayEntries.call(aTypedArray$c(this)); + return arrayEntries.call(aTypedArray$c(this)); }); // `%TypedArray%.prototype.keys` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys exportTypedArrayMethod$d('keys', function keys() { - return arrayKeys.call(aTypedArray$c(this)); + return arrayKeys.call(aTypedArray$c(this)); }); // `%TypedArray%.prototype.values` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.values @@ -4840,7 +4954,7 @@ // https://tc39.es/ecma262/#sec-%typedarray%.prototype.join // eslint-disable-next-line no-unused-vars -- required for `.length` exportTypedArrayMethod$c('join', function join(separator) { - return $join.apply(aTypedArray$b(this), arguments); + return $join.apply(aTypedArray$b(this), arguments); }); /* eslint-disable es/no-array-prototype-lastindexof -- safe */ @@ -4858,15 +4972,15 @@ // `Array.prototype.lastIndexOf` method implementation // https://tc39.es/ecma262/#sec-array.prototype.lastindexof var arrayLastIndexOf = FORCED$6 ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { - // convert -0 to +0 - if (NEGATIVE_ZERO) return $lastIndexOf.apply(this, arguments) || 0; - var O = toIndexedObject(this); - var length = toLength(O.length); - var index = length - 1; - if (arguments.length > 1) index = min$1(index, toInteger(arguments[1])); - if (index < 0) index = length + index; - for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0; - return -1; + // convert -0 to +0 + if (NEGATIVE_ZERO) return $lastIndexOf.apply(this, arguments) || 0; + var O = toIndexedObject(this); + var length = toLength(O.length); + var index = length - 1; + if (arguments.length > 1) index = min$1(index, toInteger(arguments[1])); + if (index < 0) index = length + index; + for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0; + return -1; } : $lastIndexOf; var aTypedArray$a = arrayBufferViewCore.aTypedArray; @@ -4876,7 +4990,7 @@ // https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof // eslint-disable-next-line no-unused-vars -- required for `.length` exportTypedArrayMethod$b('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { - return arrayLastIndexOf.apply(aTypedArray$a(this), arguments); + return arrayLastIndexOf.apply(aTypedArray$a(this), arguments); }); var $map = arrayIteration.map; @@ -4889,45 +5003,45 @@ // `%TypedArray%.prototype.map` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.map exportTypedArrayMethod$a('map', function map(mapfn /* , thisArg */) { - return $map(aTypedArray$9(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) { - return new (aTypedArrayConstructor$1(speciesConstructor(O, O.constructor)))(length); - }); + return $map(aTypedArray$9(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) { + return new (aTypedArrayConstructor$1(speciesConstructor(O, O.constructor)))(length); + }); }); // `Array.prototype.{ reduce, reduceRight }` methods implementation var createMethod$1 = function (IS_RIGHT) { - return function (that, callbackfn, argumentsLength, memo) { - aFunction(callbackfn); - var O = toObject(that); - var self = indexedObject(O); - var length = toLength(O.length); - var index = IS_RIGHT ? length - 1 : 0; - var i = IS_RIGHT ? -1 : 1; - if (argumentsLength < 2) while (true) { - if (index in self) { - memo = self[index]; - index += i; - break; - } - index += i; - if (IS_RIGHT ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); - } - } - for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { - memo = callbackfn(memo, self[index], index, O); - } - return memo; - }; + return function (that, callbackfn, argumentsLength, memo) { + aFunction(callbackfn); + var O = toObject(that); + var self = indexedObject(O); + var length = toLength(O.length); + var index = IS_RIGHT ? length - 1 : 0; + var i = IS_RIGHT ? -1 : 1; + if (argumentsLength < 2) while (true) { + if (index in self) { + memo = self[index]; + index += i; + break; + } + index += i; + if (IS_RIGHT ? index < 0 : length <= index) { + throw TypeError('Reduce of empty array with no initial value'); + } + } + for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { + memo = callbackfn(memo, self[index], index, O); + } + return memo; + }; }; var arrayReduce = { - // `Array.prototype.reduce` method - // https://tc39.es/ecma262/#sec-array.prototype.reduce - left: createMethod$1(false), - // `Array.prototype.reduceRight` method - // https://tc39.es/ecma262/#sec-array.prototype.reduceright - right: createMethod$1(true) + // `Array.prototype.reduce` method + // https://tc39.es/ecma262/#sec-array.prototype.reduce + left: createMethod$1(false), + // `Array.prototype.reduceRight` method + // https://tc39.es/ecma262/#sec-array.prototype.reduceright + right: createMethod$1(true) }; var $reduce = arrayReduce.left; @@ -4938,7 +5052,7 @@ // `%TypedArray%.prototype.reduce` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce exportTypedArrayMethod$9('reduce', function reduce(callbackfn /* , initialValue */) { - return $reduce(aTypedArray$8(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + return $reduce(aTypedArray$8(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); }); var $reduceRight = arrayReduce.right; @@ -4949,7 +5063,7 @@ // `%TypedArray%.prototype.reduceRicht` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright exportTypedArrayMethod$8('reduceRight', function reduceRight(callbackfn /* , initialValue */) { - return $reduceRight(aTypedArray$7(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + return $reduceRight(aTypedArray$7(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); }); var aTypedArray$6 = arrayBufferViewCore.aTypedArray; @@ -4959,37 +5073,37 @@ // `%TypedArray%.prototype.reverse` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse exportTypedArrayMethod$7('reverse', function reverse() { - var that = this; - var length = aTypedArray$6(that).length; - var middle = floor$2(length / 2); - var index = 0; - var value; - while (index < middle) { - value = that[index]; - that[index++] = that[--length]; - that[length] = value; - } return that; + var that = this; + var length = aTypedArray$6(that).length; + var middle = floor$2(length / 2); + var index = 0; + var value; + while (index < middle) { + value = that[index]; + that[index++] = that[--length]; + that[length] = value; + } return that; }); var aTypedArray$5 = arrayBufferViewCore.aTypedArray; var exportTypedArrayMethod$6 = arrayBufferViewCore.exportTypedArrayMethod; var FORCED$5 = fails(function () { - // eslint-disable-next-line es/no-typed-arrays -- required for testing - new Int8Array(1).set({}); + // eslint-disable-next-line es/no-typed-arrays -- required for testing + new Int8Array(1).set({}); }); // `%TypedArray%.prototype.set` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.set exportTypedArrayMethod$6('set', function set(arrayLike /* , offset */) { - aTypedArray$5(this); - var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); - var length = this.length; - var src = toObject(arrayLike); - var len = toLength(src.length); - var index = 0; - if (len + offset > length) throw RangeError('Wrong length'); - while (index < len) this[offset + index] = src[index++]; + aTypedArray$5(this); + var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); + var length = this.length; + var src = toObject(arrayLike); + var len = toLength(src.length); + var index = 0; + if (len + offset > length) throw RangeError('Wrong length'); + while (index < len) this[offset + index] = src[index++]; }, FORCED$5); var aTypedArray$4 = arrayBufferViewCore.aTypedArray; @@ -4998,20 +5112,20 @@ var $slice$1 = [].slice; var FORCED$4 = fails(function () { - // eslint-disable-next-line es/no-typed-arrays -- required for testing - new Int8Array(1).slice(); + // eslint-disable-next-line es/no-typed-arrays -- required for testing + new Int8Array(1).slice(); }); // `%TypedArray%.prototype.slice` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice exportTypedArrayMethod$5('slice', function slice(start, end) { - var list = $slice$1.call(aTypedArray$4(this), start, end); - var C = speciesConstructor(this, this.constructor); - var index = 0; - var length = list.length; - var result = new (aTypedArrayConstructor(C))(length); - while (length > index) result[index] = list[index++]; - return result; + var list = $slice$1.call(aTypedArray$4(this), start, end); + var C = speciesConstructor(this, this.constructor); + var index = 0; + var length = list.length; + var result = new (aTypedArrayConstructor(C))(length); + while (length > index) result[index] = list[index++]; + return result; }, FORCED$4); var $some = arrayIteration.some; @@ -5022,51 +5136,51 @@ // `%TypedArray%.prototype.some` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.some exportTypedArrayMethod$4('some', function some(callbackfn /* , thisArg */) { - return $some(aTypedArray$3(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return $some(aTypedArray$3(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); // TODO: use something more complex like timsort? var floor$1 = Math.floor; var mergeSort = function (array, comparefn) { - var length = array.length; - var middle = floor$1(length / 2); - return length < 8 ? insertionSort(array, comparefn) : merge( - mergeSort(array.slice(0, middle), comparefn), - mergeSort(array.slice(middle), comparefn), - comparefn - ); + var length = array.length; + var middle = floor$1(length / 2); + return length < 8 ? insertionSort(array, comparefn) : merge( + mergeSort(array.slice(0, middle), comparefn), + mergeSort(array.slice(middle), comparefn), + comparefn + ); }; var insertionSort = function (array, comparefn) { - var length = array.length; - var i = 1; - var element, j; + var length = array.length; + var i = 1; + var element, j; - while (i < length) { - j = i; - element = array[i]; - while (j && comparefn(array[j - 1], element) > 0) { - array[j] = array[--j]; - } - if (j !== i++) array[j] = element; - } return array; + while (i < length) { + j = i; + element = array[i]; + while (j && comparefn(array[j - 1], element) > 0) { + array[j] = array[--j]; + } + if (j !== i++) array[j] = element; + } return array; }; var merge = function (left, right, comparefn) { - var llength = left.length; - var rlength = right.length; - var lindex = 0; - var rindex = 0; - var result = []; + var llength = left.length; + var rlength = right.length; + var lindex = 0; + var rindex = 0; + var result = []; - while (lindex < llength || rindex < rlength) { - if (lindex < llength && rindex < rlength) { - result.push(comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]); - } else { - result.push(lindex < llength ? left[lindex++] : right[rindex++]); - } - } return result; + while (lindex < llength || rindex < rlength) { + if (lindex < llength && rindex < rlength) { + result.push(comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]); + } else { + result.push(lindex < llength ? left[lindex++] : right[rindex++]); + } + } return result; }; var arraySort = mergeSort; @@ -5088,72 +5202,72 @@ // WebKit var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort$1 && !fails(function () { - var array = new Uint16Array(2); - array.sort(null); - array.sort({}); + var array = new Uint16Array(2); + array.sort(null); + array.sort({}); }); var STABLE_SORT$1 = !!nativeSort$1 && !fails(function () { - // feature detection can be too slow, so check engines versions - if (engineV8Version) return engineV8Version < 74; - if (engineFfVersion) return engineFfVersion < 67; - if (engineIsIeOrEdge) return true; - if (engineWebkitVersion) return engineWebkitVersion < 602; - - var array = new Uint16Array(516); - var expected = Array(516); - var index, mod; - - for (index = 0; index < 516; index++) { - mod = index % 4; - array[index] = 515 - index; - expected[index] = index - 2 * mod + 3; - } - - array.sort(function (a, b) { - return (a / 4 | 0) - (b / 4 | 0); - }); - - for (index = 0; index < 516; index++) { - if (array[index] !== expected[index]) return true; - } + // feature detection can be too slow, so check engines versions + if (engineV8Version) return engineV8Version < 74; + if (engineFfVersion) return engineFfVersion < 67; + if (engineIsIeOrEdge) return true; + if (engineWebkitVersion) return engineWebkitVersion < 602; + + var array = new Uint16Array(516); + var expected = Array(516); + var index, mod; + + for (index = 0; index < 516; index++) { + mod = index % 4; + array[index] = 515 - index; + expected[index] = index - 2 * mod + 3; + } + + array.sort(function (a, b) { + return (a / 4 | 0) - (b / 4 | 0); + }); + + for (index = 0; index < 516; index++) { + if (array[index] !== expected[index]) return true; + } }); var getSortCompare$1 = function (comparefn) { - return function (x, y) { - if (comparefn !== undefined) return +comparefn(x, y) || 0; - // eslint-disable-next-line no-self-compare -- NaN check - if (y !== y) return -1; - // eslint-disable-next-line no-self-compare -- NaN check - if (x !== x) return 1; - if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1; - return x > y; - }; + return function (x, y) { + if (comparefn !== undefined) return +comparefn(x, y) || 0; + // eslint-disable-next-line no-self-compare -- NaN check + if (y !== y) return -1; + // eslint-disable-next-line no-self-compare -- NaN check + if (x !== x) return 1; + if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1; + return x > y; + }; }; // `%TypedArray%.prototype.sort` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort exportTypedArrayMethod$3('sort', function sort(comparefn) { - var array = this; - if (comparefn !== undefined) aFunction(comparefn); - if (STABLE_SORT$1) return nativeSort$1.call(array, comparefn); + var array = this; + if (comparefn !== undefined) aFunction(comparefn); + if (STABLE_SORT$1) return nativeSort$1.call(array, comparefn); - aTypedArray$2(array); - var arrayLength = toLength(array.length); - var items = Array(arrayLength); - var index; + aTypedArray$2(array); + var arrayLength = toLength(array.length); + var items = Array(arrayLength); + var index; - for (index = 0; index < arrayLength; index++) { - items[index] = array[index]; - } + for (index = 0; index < arrayLength; index++) { + items[index] = array[index]; + } - items = arraySort(array, getSortCompare$1(comparefn)); + items = arraySort(array, getSortCompare$1(comparefn)); - for (index = 0; index < arrayLength; index++) { - array[index] = items[index]; - } + for (index = 0; index < arrayLength; index++) { + array[index] = items[index]; + } - return array; + return array; }, !STABLE_SORT$1 || ACCEPT_INCORRECT_ARGUMENTS); var aTypedArray$1 = arrayBufferViewCore.aTypedArray; @@ -5162,14 +5276,14 @@ // `%TypedArray%.prototype.subarray` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray exportTypedArrayMethod$2('subarray', function subarray(begin, end) { - var O = aTypedArray$1(this); - var length = O.length; - var beginIndex = toAbsoluteIndex(begin, length); - return new (speciesConstructor(O, O.constructor))( - O.buffer, - O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, - toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex) - ); + var O = aTypedArray$1(this); + var length = O.length; + var beginIndex = toAbsoluteIndex(begin, length); + return new (speciesConstructor(O, O.constructor))( + O.buffer, + O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, + toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex) + ); }); var Int8Array$1 = global_1.Int8Array; @@ -5180,19 +5294,19 @@ // iOS Safari 6.x fails here var TO_LOCALE_STRING_BUG = !!Int8Array$1 && fails(function () { - $toLocaleString.call(new Int8Array$1(1)); + $toLocaleString.call(new Int8Array$1(1)); }); var FORCED$3 = fails(function () { - return [1, 2].toLocaleString() != new Int8Array$1([1, 2]).toLocaleString(); + return [1, 2].toLocaleString() != new Int8Array$1([1, 2]).toLocaleString(); }) || !fails(function () { - Int8Array$1.prototype.toLocaleString.call([1, 2]); + Int8Array$1.prototype.toLocaleString.call([1, 2]); }); // `%TypedArray%.prototype.toLocaleString` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring exportTypedArrayMethod$1('toLocaleString', function toLocaleString() { - return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice.call(aTypedArray(this)) : aTypedArray(this), arguments); + return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice.call(aTypedArray(this)) : aTypedArray(this), arguments); }, FORCED$3); var exportTypedArrayMethod = arrayBufferViewCore.exportTypedArrayMethod; @@ -5205,9 +5319,9 @@ var arrayJoin = [].join; if (fails(function () { arrayToString.call({}); })) { - arrayToString = function toString() { - return arrayJoin.call(this); - }; + arrayToString = function toString() { + return arrayJoin.call(this); + }; } var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; @@ -5219,9 +5333,9 @@ // `URL.prototype.toJSON` method // https://url.spec.whatwg.org/#dom-url-tojson _export({ target: 'URL', proto: true, enumerable: true }, { - toJSON: function toJSON() { - return URL.prototype.toString.call(this); - } + toJSON: function toJSON() { + return URL.prototype.toString.call(this); + } }); var lookup$1 = []; @@ -5230,204 +5344,204 @@ var inited$1 = false; function init$1() { - inited$1 = true; - var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + inited$1 = true; + var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; - for (var i = 0, len = code.length; i < len; ++i) { - lookup$1[i] = code[i]; - revLookup$1[code.charCodeAt(i)] = i; - } + for (var i = 0, len = code.length; i < len; ++i) { + lookup$1[i] = code[i]; + revLookup$1[code.charCodeAt(i)] = i; + } - revLookup$1['-'.charCodeAt(0)] = 62; - revLookup$1['_'.charCodeAt(0)] = 63; + revLookup$1['-'.charCodeAt(0)] = 62; + revLookup$1['_'.charCodeAt(0)] = 63; } function toByteArray$1(b64) { - if (!inited$1) { - init$1(); - } + if (!inited$1) { + init$1(); + } - var i, j, l, tmp, placeHolders, arr; - var len = b64.length; + var i, j, l, tmp, placeHolders, arr; + var len = b64.length; - if (len % 4 > 0) { - throw new Error('Invalid string. Length must be a multiple of 4'); - } // the number of equal signs (place holders) - // if there are two placeholders, than the two characters before it - // represent one byte - // if there is only one, then the three characters before it represent 2 bytes - // this is just a cheap hack to not do indexOf twice + if (len % 4 > 0) { + throw new Error('Invalid string. Length must be a multiple of 4'); + } // the number of equal signs (place holders) + // if there are two placeholders, than the two characters before it + // represent one byte + // if there is only one, then the three characters before it represent 2 bytes + // this is just a cheap hack to not do indexOf twice - placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0; // base64 is 4/3 + up to two characters of the original data + placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0; // base64 is 4/3 + up to two characters of the original data - arr = new Arr$1(len * 3 / 4 - placeHolders); // if there are placeholders, only get up to the last complete 4 chars + arr = new Arr$1(len * 3 / 4 - placeHolders); // if there are placeholders, only get up to the last complete 4 chars - l = placeHolders > 0 ? len - 4 : len; - var L = 0; + l = placeHolders > 0 ? len - 4 : len; + var L = 0; - for (i = 0, j = 0; i < l; i += 4, j += 3) { - tmp = revLookup$1[b64.charCodeAt(i)] << 18 | revLookup$1[b64.charCodeAt(i + 1)] << 12 | revLookup$1[b64.charCodeAt(i + 2)] << 6 | revLookup$1[b64.charCodeAt(i + 3)]; - arr[L++] = tmp >> 16 & 0xFF; - arr[L++] = tmp >> 8 & 0xFF; - arr[L++] = tmp & 0xFF; - } + for (i = 0, j = 0; i < l; i += 4, j += 3) { + tmp = revLookup$1[b64.charCodeAt(i)] << 18 | revLookup$1[b64.charCodeAt(i + 1)] << 12 | revLookup$1[b64.charCodeAt(i + 2)] << 6 | revLookup$1[b64.charCodeAt(i + 3)]; + arr[L++] = tmp >> 16 & 0xFF; + arr[L++] = tmp >> 8 & 0xFF; + arr[L++] = tmp & 0xFF; + } - if (placeHolders === 2) { - tmp = revLookup$1[b64.charCodeAt(i)] << 2 | revLookup$1[b64.charCodeAt(i + 1)] >> 4; - arr[L++] = tmp & 0xFF; - } else if (placeHolders === 1) { - tmp = revLookup$1[b64.charCodeAt(i)] << 10 | revLookup$1[b64.charCodeAt(i + 1)] << 4 | revLookup$1[b64.charCodeAt(i + 2)] >> 2; - arr[L++] = tmp >> 8 & 0xFF; - arr[L++] = tmp & 0xFF; - } + if (placeHolders === 2) { + tmp = revLookup$1[b64.charCodeAt(i)] << 2 | revLookup$1[b64.charCodeAt(i + 1)] >> 4; + arr[L++] = tmp & 0xFF; + } else if (placeHolders === 1) { + tmp = revLookup$1[b64.charCodeAt(i)] << 10 | revLookup$1[b64.charCodeAt(i + 1)] << 4 | revLookup$1[b64.charCodeAt(i + 2)] >> 2; + arr[L++] = tmp >> 8 & 0xFF; + arr[L++] = tmp & 0xFF; + } - return arr; + return arr; } function tripletToBase64$1(num) { - return lookup$1[num >> 18 & 0x3F] + lookup$1[num >> 12 & 0x3F] + lookup$1[num >> 6 & 0x3F] + lookup$1[num & 0x3F]; + return lookup$1[num >> 18 & 0x3F] + lookup$1[num >> 12 & 0x3F] + lookup$1[num >> 6 & 0x3F] + lookup$1[num & 0x3F]; } function encodeChunk$1(uint8, start, end) { - var tmp; - var output = []; + var tmp; + var output = []; - for (var i = start; i < end; i += 3) { - tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + uint8[i + 2]; - output.push(tripletToBase64$1(tmp)); - } + for (var i = start; i < end; i += 3) { + tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + uint8[i + 2]; + output.push(tripletToBase64$1(tmp)); + } - return output.join(''); + return output.join(''); } function fromByteArray$1(uint8) { - if (!inited$1) { - init$1(); - } + if (!inited$1) { + init$1(); + } - var tmp; - var len = uint8.length; - var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes + var tmp; + var len = uint8.length; + var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes - var output = ''; - var parts = []; - var maxChunkLength = 16383; // must be multiple of 3 - // go through the array every three bytes, we'll deal with trailing stuff later + var output = ''; + var parts = []; + var maxChunkLength = 16383; // must be multiple of 3 + // go through the array every three bytes, we'll deal with trailing stuff later - for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { - parts.push(encodeChunk$1(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength)); - } // pad the end with zeros, but make sure to not forget the extra bytes + for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { + parts.push(encodeChunk$1(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength)); + } // pad the end with zeros, but make sure to not forget the extra bytes - if (extraBytes === 1) { - tmp = uint8[len - 1]; - output += lookup$1[tmp >> 2]; - output += lookup$1[tmp << 4 & 0x3F]; - output += '=='; - } else if (extraBytes === 2) { - tmp = (uint8[len - 2] << 8) + uint8[len - 1]; - output += lookup$1[tmp >> 10]; - output += lookup$1[tmp >> 4 & 0x3F]; - output += lookup$1[tmp << 2 & 0x3F]; - output += '='; - } + if (extraBytes === 1) { + tmp = uint8[len - 1]; + output += lookup$1[tmp >> 2]; + output += lookup$1[tmp << 4 & 0x3F]; + output += '=='; + } else if (extraBytes === 2) { + tmp = (uint8[len - 2] << 8) + uint8[len - 1]; + output += lookup$1[tmp >> 10]; + output += lookup$1[tmp >> 4 & 0x3F]; + output += lookup$1[tmp << 2 & 0x3F]; + output += '='; + } - parts.push(output); - return parts.join(''); + parts.push(output); + return parts.join(''); } function read$1(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); + 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); } function write$1(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 & 0xff, i += d, m /= 256, mLen -= 8) {} - - e = e << mLen | m; - eLen += mLen; - - for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} - - buffer[offset + i - d] |= s * 128; + 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 & 0xff, i += d, m /= 256, mLen -= 8) {} + + e = e << mLen | m; + eLen += mLen; + + for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} + + buffer[offset + i - d] |= s * 128; } var toString$2 = {}.toString; var isArray$2 = Array.isArray || function (arr) { - return toString$2.call(arr) == '[object Array]'; + return toString$2.call(arr) == '[object Array]'; }; var INSPECT_MAX_BYTES$1 = 50; @@ -5459,28 +5573,28 @@ Buffer$1.TYPED_ARRAY_SUPPORT = global$1.TYPED_ARRAY_SUPPORT !== undefined ? global$1.TYPED_ARRAY_SUPPORT : true; function kMaxLength$1() { - return Buffer$1.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff; + return Buffer$1.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff; } function createBuffer$1(that, length) { - if (kMaxLength$1() < length) { - throw new RangeError('Invalid typed array length'); - } + if (kMaxLength$1() < length) { + throw new RangeError('Invalid typed array length'); + } - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - // Return an augmented `Uint8Array` instance, for best performance - that = new Uint8Array(length); - that.__proto__ = Buffer$1.prototype; - } else { - // Fallback: Return an object instance of the Buffer class - if (that === null) { - that = new Buffer$1(length); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = new Uint8Array(length); + that.__proto__ = Buffer$1.prototype; + } else { + // Fallback: Return an object instance of the Buffer class + if (that === null) { + that = new Buffer$1(length); + } - that.length = length; - } + that.length = length; + } - return that; + return that; } /** * The Buffer constructor returns instances of `Uint8Array` that have their @@ -5494,43 +5608,43 @@ function Buffer$1(arg, encodingOrOffset, length) { - if (!Buffer$1.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer$1)) { - return new Buffer$1(arg, encodingOrOffset, length); - } // Common case. + if (!Buffer$1.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer$1)) { + return new Buffer$1(arg, encodingOrOffset, length); + } // Common case. - if (typeof arg === 'number') { - if (typeof encodingOrOffset === 'string') { - throw new Error('If encoding is specified then the first argument must be a string'); - } + if (typeof arg === 'number') { + if (typeof encodingOrOffset === 'string') { + throw new Error('If encoding is specified then the first argument must be a string'); + } - return allocUnsafe$1(this, arg); - } + return allocUnsafe$1(this, arg); + } - return from$1(this, arg, encodingOrOffset, length); + return from$1(this, arg, encodingOrOffset, length); } Buffer$1.poolSize = 8192; // not used by this implementation // TODO: Legacy, not needed anymore. Remove in next major version. Buffer$1._augment = function (arr) { - arr.__proto__ = Buffer$1.prototype; - return arr; + arr.__proto__ = Buffer$1.prototype; + return arr; }; function from$1(that, value, encodingOrOffset, length) { - if (typeof value === 'number') { - throw new TypeError('"value" argument must not be a number'); - } + if (typeof value === 'number') { + throw new TypeError('"value" argument must not be a number'); + } - if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { - return fromArrayBuffer$1(that, value, encodingOrOffset, length); - } + if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { + return fromArrayBuffer$1(that, value, encodingOrOffset, length); + } - if (typeof value === 'string') { - return fromString$1(that, value, encodingOrOffset); - } + if (typeof value === 'string') { + return fromString$1(that, value, encodingOrOffset); + } - return fromObject$1(that, value); + return fromObject$1(that, value); } /** * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError @@ -5543,37 +5657,37 @@ Buffer$1.from = function (value, encodingOrOffset, length) { - return from$1(null, value, encodingOrOffset, length); + return from$1(null, value, encodingOrOffset, length); }; if (Buffer$1.TYPED_ARRAY_SUPPORT) { - Buffer$1.prototype.__proto__ = Uint8Array.prototype; - Buffer$1.__proto__ = Uint8Array; + Buffer$1.prototype.__proto__ = Uint8Array.prototype; + Buffer$1.__proto__ = Uint8Array; } function assertSize$1(size) { - if (typeof size !== 'number') { - throw new TypeError('"size" argument must be a number'); - } else if (size < 0) { - throw new RangeError('"size" argument must not be negative'); - } + if (typeof size !== 'number') { + throw new TypeError('"size" argument must be a number'); + } else if (size < 0) { + throw new RangeError('"size" argument must not be negative'); + } } function alloc$1(that, size, fill, encoding) { - assertSize$1(size); + assertSize$1(size); - if (size <= 0) { - return createBuffer$1(that, size); - } + if (size <= 0) { + return createBuffer$1(that, size); + } - if (fill !== undefined) { - // Only pay attention to encoding if it's a string. This - // prevents accidentally sending in a number that would - // be interpretted as a start offset. - return typeof encoding === 'string' ? createBuffer$1(that, size).fill(fill, encoding) : createBuffer$1(that, size).fill(fill); - } + if (fill !== undefined) { + // Only pay attention to encoding if it's a string. This + // prevents accidentally sending in a number that would + // be interpretted as a start offset. + return typeof encoding === 'string' ? createBuffer$1(that, size).fill(fill, encoding) : createBuffer$1(that, size).fill(fill); + } - return createBuffer$1(that, size); + return createBuffer$1(that, size); } /** * Creates a new filled Buffer instance. @@ -5582,20 +5696,20 @@ Buffer$1.alloc = function (size, fill, encoding) { - return alloc$1(null, size, fill, encoding); + return alloc$1(null, size, fill, encoding); }; function allocUnsafe$1(that, size) { - assertSize$1(size); - that = createBuffer$1(that, size < 0 ? 0 : checked$1(size) | 0); + assertSize$1(size); + that = createBuffer$1(that, size < 0 ? 0 : checked$1(size) | 0); - if (!Buffer$1.TYPED_ARRAY_SUPPORT) { - for (var i = 0; i < size; ++i) { - that[i] = 0; - } - } + if (!Buffer$1.TYPED_ARRAY_SUPPORT) { + for (var i = 0; i < size; ++i) { + that[i] = 0; + } + } - return that; + return that; } /** * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. @@ -5603,7 +5717,7 @@ Buffer$1.allocUnsafe = function (size) { - return allocUnsafe$1(null, size); + return allocUnsafe$1(null, size); }; /** * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. @@ -5611,317 +5725,317 @@ Buffer$1.allocUnsafeSlow = function (size) { - return allocUnsafe$1(null, size); + return allocUnsafe$1(null, size); }; function fromString$1(that, string, encoding) { - if (typeof encoding !== 'string' || encoding === '') { - encoding = 'utf8'; - } + if (typeof encoding !== 'string' || encoding === '') { + encoding = 'utf8'; + } - if (!Buffer$1.isEncoding(encoding)) { - throw new TypeError('"encoding" must be a valid string encoding'); - } + if (!Buffer$1.isEncoding(encoding)) { + throw new TypeError('"encoding" must be a valid string encoding'); + } - var length = byteLength$1(string, encoding) | 0; - that = createBuffer$1(that, length); - var actual = that.write(string, encoding); + var length = byteLength$1(string, encoding) | 0; + that = createBuffer$1(that, length); + var actual = that.write(string, encoding); - if (actual !== length) { - // Writing a hex string, for example, that contains invalid characters will - // cause everything after the first invalid character to be ignored. (e.g. - // 'abxxcd' will be treated as 'ab') - that = that.slice(0, actual); - } + if (actual !== length) { + // Writing a hex string, for example, that contains invalid characters will + // cause everything after the first invalid character to be ignored. (e.g. + // 'abxxcd' will be treated as 'ab') + that = that.slice(0, actual); + } - return that; + return that; } function fromArrayLike$1(that, array) { - var length = array.length < 0 ? 0 : checked$1(array.length) | 0; - that = createBuffer$1(that, length); + var length = array.length < 0 ? 0 : checked$1(array.length) | 0; + that = createBuffer$1(that, length); - for (var i = 0; i < length; i += 1) { - that[i] = array[i] & 255; - } + for (var i = 0; i < length; i += 1) { + that[i] = array[i] & 255; + } - return that; + return that; } function fromArrayBuffer$1(that, array, byteOffset, length) { - array.byteLength; // this throws if `array` is not a valid ArrayBuffer + array.byteLength; // this throws if `array` is not a valid ArrayBuffer - if (byteOffset < 0 || array.byteLength < byteOffset) { - throw new RangeError('\'offset\' is out of bounds'); - } + if (byteOffset < 0 || array.byteLength < byteOffset) { + throw new RangeError('\'offset\' is out of bounds'); + } - if (array.byteLength < byteOffset + (length || 0)) { - throw new RangeError('\'length\' is out of bounds'); - } + if (array.byteLength < byteOffset + (length || 0)) { + throw new RangeError('\'length\' is out of bounds'); + } - if (byteOffset === undefined && length === undefined) { - array = new Uint8Array(array); - } else if (length === undefined) { - array = new Uint8Array(array, byteOffset); - } else { - array = new Uint8Array(array, byteOffset, length); - } + if (byteOffset === undefined && length === undefined) { + array = new Uint8Array(array); + } else if (length === undefined) { + array = new Uint8Array(array, byteOffset); + } else { + array = new Uint8Array(array, byteOffset, length); + } - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - // Return an augmented `Uint8Array` instance, for best performance - that = array; - that.__proto__ = Buffer$1.prototype; - } else { - // Fallback: Return an object instance of the Buffer class - that = fromArrayLike$1(that, array); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = array; + that.__proto__ = Buffer$1.prototype; + } else { + // Fallback: Return an object instance of the Buffer class + that = fromArrayLike$1(that, array); + } - return that; + return that; } function fromObject$1(that, obj) { - if (internalIsBuffer$1(obj)) { - var len = checked$1(obj.length) | 0; - that = createBuffer$1(that, len); + if (internalIsBuffer$1(obj)) { + var len = checked$1(obj.length) | 0; + that = createBuffer$1(that, len); - if (that.length === 0) { - return that; - } + if (that.length === 0) { + return that; + } - obj.copy(that, 0, 0, len); - return that; - } + obj.copy(that, 0, 0, len); + return that; + } - if (obj) { - if (typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer || 'length' in obj) { - if (typeof obj.length !== 'number' || isnan$1(obj.length)) { - return createBuffer$1(that, 0); - } + if (obj) { + if (typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer || 'length' in obj) { + if (typeof obj.length !== 'number' || isnan$1(obj.length)) { + return createBuffer$1(that, 0); + } - return fromArrayLike$1(that, obj); - } + return fromArrayLike$1(that, obj); + } - if (obj.type === 'Buffer' && isArray$2(obj.data)) { - return fromArrayLike$1(that, obj.data); - } - } + if (obj.type === 'Buffer' && isArray$2(obj.data)) { + return fromArrayLike$1(that, obj.data); + } + } - throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.'); + throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.'); } function checked$1(length) { - // Note: cannot use `length < kMaxLength()` here because that fails when - // length is NaN (which is otherwise coerced to zero.) - if (length >= kMaxLength$1()) { - throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength$1().toString(16) + ' bytes'); - } + // Note: cannot use `length < kMaxLength()` here because that fails when + // length is NaN (which is otherwise coerced to zero.) + if (length >= kMaxLength$1()) { + throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength$1().toString(16) + ' bytes'); + } - return length | 0; + return length | 0; } Buffer$1.isBuffer = isBuffer$2; function internalIsBuffer$1(b) { - return !!(b != null && b._isBuffer); + return !!(b != null && b._isBuffer); } Buffer$1.compare = function compare(a, b) { - if (!internalIsBuffer$1(a) || !internalIsBuffer$1(b)) { - throw new TypeError('Arguments must be Buffers'); - } + if (!internalIsBuffer$1(a) || !internalIsBuffer$1(b)) { + throw new TypeError('Arguments must be Buffers'); + } - if (a === b) return 0; - var x = a.length; - var y = b.length; + 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; - } - } + 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; + if (x < y) return -1; + if (y < x) return 1; + return 0; }; Buffer$1.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; - } + 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$1.concat = function concat(list, length) { - if (!isArray$2(list)) { - throw new TypeError('"list" argument must be an Array of Buffers'); - } + if (!isArray$2(list)) { + throw new TypeError('"list" argument must be an Array of Buffers'); + } - if (list.length === 0) { - return Buffer$1.alloc(0); - } + if (list.length === 0) { + return Buffer$1.alloc(0); + } - var i; + var i; - if (length === undefined) { - length = 0; + if (length === undefined) { + length = 0; - for (i = 0; i < list.length; ++i) { - length += list[i].length; - } - } + for (i = 0; i < list.length; ++i) { + length += list[i].length; + } + } - var buffer = Buffer$1.allocUnsafe(length); - var pos = 0; + var buffer = Buffer$1.allocUnsafe(length); + var pos = 0; - for (i = 0; i < list.length; ++i) { - var buf = list[i]; + for (i = 0; i < list.length; ++i) { + var buf = list[i]; - if (!internalIsBuffer$1(buf)) { - throw new TypeError('"list" argument must be an Array of Buffers'); - } + if (!internalIsBuffer$1(buf)) { + throw new TypeError('"list" argument must be an Array of Buffers'); + } - buf.copy(buffer, pos); - pos += buf.length; - } + buf.copy(buffer, pos); + pos += buf.length; + } - return buffer; + return buffer; }; function byteLength$1(string, encoding) { - if (internalIsBuffer$1(string)) { - return string.length; - } + if (internalIsBuffer$1(string)) { + return string.length; + } - if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { - return string.byteLength; - } + if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { + return string.byteLength; + } - if (typeof string !== 'string') { - string = '' + string; - } + if (typeof string !== 'string') { + string = '' + string; + } - var len = string.length; - if (len === 0) return 0; // Use a for loop to avoid recursion + var len = string.length; + if (len === 0) return 0; // Use a for loop to avoid recursion - var loweredCase = false; + var loweredCase = false; - for (;;) { - switch (encoding) { - case 'ascii': - case 'latin1': - case 'binary': - return len; + for (;;) { + switch (encoding) { + case 'ascii': + case 'latin1': + case 'binary': + return len; - case 'utf8': - case 'utf-8': - case undefined: - return utf8ToBytes$1(string).length; + case 'utf8': + case 'utf-8': + case undefined: + return utf8ToBytes$1(string).length; - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return len * 2; + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return len * 2; - case 'hex': - return len >>> 1; + case 'hex': + return len >>> 1; - case 'base64': - return base64ToBytes$1(string).length; + case 'base64': + return base64ToBytes$1(string).length; - default: - if (loweredCase) return utf8ToBytes$1(string).length; // assume utf8 + default: + if (loweredCase) return utf8ToBytes$1(string).length; // assume utf8 - encoding = ('' + encoding).toLowerCase(); - loweredCase = true; - } - } + encoding = ('' + encoding).toLowerCase(); + loweredCase = true; + } + } } Buffer$1.byteLength = byteLength$1; function slowToString$1(encoding, start, end) { - var loweredCase = false; // No need to verify that "this.length <= MAX_UINT32" since it's a read-only - // property of a typed array. - // This behaves neither like String nor Uint8Array in that we set start/end - // to their upper/lower bounds if the value passed is out of range. - // undefined is handled specially as per ECMA-262 6th Edition, - // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. + var loweredCase = false; // No need to verify that "this.length <= MAX_UINT32" since it's a read-only + // property of a typed array. + // This behaves neither like String nor Uint8Array in that we set start/end + // to their upper/lower bounds if the value passed is out of range. + // undefined is handled specially as per ECMA-262 6th Edition, + // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. - if (start === undefined || start < 0) { - start = 0; - } // Return early if start > this.length. Done here to prevent potential uint32 - // coercion fail below. + if (start === undefined || start < 0) { + start = 0; + } // Return early if start > this.length. Done here to prevent potential uint32 + // coercion fail below. - if (start > this.length) { - return ''; - } + if (start > this.length) { + return ''; + } - if (end === undefined || end > this.length) { - end = this.length; - } + if (end === undefined || end > this.length) { + end = this.length; + } - if (end <= 0) { - return ''; - } // Force coersion to uint32. This will also coerce falsey/NaN values to 0. + if (end <= 0) { + return ''; + } // Force coersion to uint32. This will also coerce falsey/NaN values to 0. - end >>>= 0; - start >>>= 0; + end >>>= 0; + start >>>= 0; - if (end <= start) { - return ''; - } + if (end <= start) { + return ''; + } - if (!encoding) encoding = 'utf8'; + if (!encoding) encoding = 'utf8'; - while (true) { - switch (encoding) { - case 'hex': - return hexSlice$1(this, start, end); + while (true) { + switch (encoding) { + case 'hex': + return hexSlice$1(this, start, end); - case 'utf8': - case 'utf-8': - return utf8Slice$1(this, start, end); + case 'utf8': + case 'utf-8': + return utf8Slice$1(this, start, end); - case 'ascii': - return asciiSlice$1(this, start, end); + case 'ascii': + return asciiSlice$1(this, start, end); - case 'latin1': - case 'binary': - return latin1Slice$1(this, start, end); + case 'latin1': + case 'binary': + return latin1Slice$1(this, start, end); - case 'base64': - return base64Slice$1(this, start, end); + case 'base64': + return base64Slice$1(this, start, end); - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return utf16leSlice$1(this, start, end); + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return utf16leSlice$1(this, start, end); - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding); - encoding = (encoding + '').toLowerCase(); - loweredCase = true; - } - } + default: + if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding); + encoding = (encoding + '').toLowerCase(); + loweredCase = true; + } + } } // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect // Buffer instances. @@ -5929,141 +6043,141 @@ Buffer$1.prototype._isBuffer = true; function swap$1(b, n, m) { - var i = b[n]; - b[n] = b[m]; - b[m] = i; + var i = b[n]; + b[n] = b[m]; + b[m] = i; } Buffer$1.prototype.swap16 = function swap16() { - var len = this.length; + var len = this.length; - if (len % 2 !== 0) { - throw new RangeError('Buffer size must be a multiple of 16-bits'); - } + 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$1(this, i, i + 1); - } + for (var i = 0; i < len; i += 2) { + swap$1(this, i, i + 1); + } - return this; + return this; }; Buffer$1.prototype.swap32 = function swap32() { - var len = this.length; + var len = this.length; - if (len % 4 !== 0) { - throw new RangeError('Buffer size must be a multiple of 32-bits'); - } + 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$1(this, i, i + 3); - swap$1(this, i + 1, i + 2); - } + for (var i = 0; i < len; i += 4) { + swap$1(this, i, i + 3); + swap$1(this, i + 1, i + 2); + } - return this; + return this; }; Buffer$1.prototype.swap64 = function swap64() { - var len = this.length; + var len = this.length; - if (len % 8 !== 0) { - throw new RangeError('Buffer size must be a multiple of 64-bits'); - } + 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$1(this, i, i + 7); - swap$1(this, i + 1, i + 6); - swap$1(this, i + 2, i + 5); - swap$1(this, i + 3, i + 4); - } + for (var i = 0; i < len; i += 8) { + swap$1(this, i, i + 7); + swap$1(this, i + 1, i + 6); + swap$1(this, i + 2, i + 5); + swap$1(this, i + 3, i + 4); + } - return this; + return this; }; Buffer$1.prototype.toString = function toString() { - var length = this.length | 0; - if (length === 0) return ''; - if (arguments.length === 0) return utf8Slice$1(this, 0, length); - return slowToString$1.apply(this, arguments); + var length = this.length | 0; + if (length === 0) return ''; + if (arguments.length === 0) return utf8Slice$1(this, 0, length); + return slowToString$1.apply(this, arguments); }; Buffer$1.prototype.equals = function equals(b) { - if (!internalIsBuffer$1(b)) throw new TypeError('Argument must be a Buffer'); - if (this === b) return true; - return Buffer$1.compare(this, b) === 0; + if (!internalIsBuffer$1(b)) throw new TypeError('Argument must be a Buffer'); + if (this === b) return true; + return Buffer$1.compare(this, b) === 0; }; Buffer$1.prototype.inspect = function inspect() { - var str = ''; - var max = INSPECT_MAX_BYTES$1; + var str = ''; + var max = INSPECT_MAX_BYTES$1; - if (this.length > 0) { - str = this.toString('hex', 0, max).match(/.{2}/g).join(' '); - if (this.length > max) str += ' ... '; - } + if (this.length > 0) { + str = this.toString('hex', 0, max).match(/.{2}/g).join(' '); + if (this.length > max) str += ' ... '; + } - return '<Buffer ' + str + '>'; + return '<Buffer ' + str + '>'; }; Buffer$1.prototype.compare = function compare(target, start, end, thisStart, thisEnd) { - if (!internalIsBuffer$1(target)) { - throw new TypeError('Argument must be a Buffer'); - } - - 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; + if (!internalIsBuffer$1(target)) { + throw new TypeError('Argument must be a Buffer'); + } + + 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; }; // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, // OR the last index of `val` in `buffer` at offset <= `byteOffset`. // @@ -6076,354 +6190,354 @@ function bidirectionalIndexOf$1(buffer, val, byteOffset, encoding, dir) { - // Empty buffer means no match - if (buffer.length === 0) return -1; // Normalize byteOffset + // Empty buffer means no match + if (buffer.length === 0) return -1; // Normalize byteOffset - if (typeof byteOffset === 'string') { - encoding = byteOffset; - byteOffset = 0; - } else if (byteOffset > 0x7fffffff) { - byteOffset = 0x7fffffff; - } else if (byteOffset < -0x80000000) { - byteOffset = -0x80000000; - } + if (typeof byteOffset === 'string') { + encoding = byteOffset; + byteOffset = 0; + } else if (byteOffset > 0x7fffffff) { + byteOffset = 0x7fffffff; + } else if (byteOffset < -0x80000000) { + byteOffset = -0x80000000; + } - byteOffset = +byteOffset; // Coerce to Number. + byteOffset = +byteOffset; // Coerce to Number. - if (isNaN(byteOffset)) { - // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer - byteOffset = dir ? 0 : buffer.length - 1; - } // Normalize byteOffset: negative offsets start from the end of the buffer + if (isNaN(byteOffset)) { + // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer + byteOffset = dir ? 0 : buffer.length - 1; + } // Normalize byteOffset: negative offsets start from the end of the buffer - if (byteOffset < 0) byteOffset = buffer.length + byteOffset; + 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; - } // Normalize val + if (byteOffset >= buffer.length) { + if (dir) return -1;else byteOffset = buffer.length - 1; + } else if (byteOffset < 0) { + if (dir) byteOffset = 0;else return -1; + } // Normalize val - if (typeof val === 'string') { - val = Buffer$1.from(val, encoding); - } // Finally, search either indexOf (if dir is true) or lastIndexOf + if (typeof val === 'string') { + val = Buffer$1.from(val, encoding); + } // Finally, search either indexOf (if dir is true) or lastIndexOf - if (internalIsBuffer$1(val)) { - // Special case: looking for empty string/buffer always fails - if (val.length === 0) { - return -1; - } + if (internalIsBuffer$1(val)) { + // Special case: looking for empty string/buffer always fails + if (val.length === 0) { + return -1; + } - return arrayIndexOf$1(buffer, val, byteOffset, encoding, dir); - } else if (typeof val === 'number') { - val = val & 0xFF; // Search for a byte value [0-255] + return arrayIndexOf$1(buffer, val, byteOffset, encoding, dir); + } else if (typeof val === 'number') { + val = val & 0xFF; // Search for a byte value [0-255] - if (Buffer$1.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf === 'function') { - if (dir) { - return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset); - } else { - return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset); - } - } + if (Buffer$1.TYPED_ARRAY_SUPPORT && 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$1(buffer, [val], byteOffset, encoding, dir); - } + return arrayIndexOf$1(buffer, [val], byteOffset, encoding, dir); + } - throw new TypeError('val must be string, number or Buffer'); + throw new TypeError('val must be string, number or Buffer'); } function arrayIndexOf$1(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; + 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$1.prototype.includes = function includes(val, byteOffset, encoding) { - return this.indexOf(val, byteOffset, encoding) !== -1; + return this.indexOf(val, byteOffset, encoding) !== -1; }; Buffer$1.prototype.indexOf = function indexOf(val, byteOffset, encoding) { - return bidirectionalIndexOf$1(this, val, byteOffset, encoding, true); + return bidirectionalIndexOf$1(this, val, byteOffset, encoding, true); }; Buffer$1.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) { - return bidirectionalIndexOf$1(this, val, byteOffset, encoding, false); + return bidirectionalIndexOf$1(this, val, byteOffset, encoding, false); }; function hexWrite$1(buf, string, offset, length) { - offset = Number(offset) || 0; - var remaining = buf.length - offset; + offset = Number(offset) || 0; + var remaining = buf.length - offset; - if (!length) { - length = remaining; - } else { - length = Number(length); + if (!length) { + length = remaining; + } else { + length = Number(length); - if (length > remaining) { - length = remaining; - } - } // must be an even number of digits + if (length > remaining) { + length = remaining; + } + } // must be an even number of digits - var strLen = string.length; - if (strLen % 2 !== 0) throw new TypeError('Invalid hex string'); + var strLen = string.length; + if (strLen % 2 !== 0) throw new TypeError('Invalid hex string'); - if (length > strLen / 2) { - length = strLen / 2; - } + if (length > strLen / 2) { + length = strLen / 2; + } - for (var i = 0; i < length; ++i) { - var parsed = parseInt(string.substr(i * 2, 2), 16); - if (isNaN(parsed)) return i; - buf[offset + i] = parsed; - } + for (var i = 0; i < length; ++i) { + var parsed = parseInt(string.substr(i * 2, 2), 16); + if (isNaN(parsed)) return i; + buf[offset + i] = parsed; + } - return i; + return i; } function utf8Write$1(buf, string, offset, length) { - return blitBuffer$1(utf8ToBytes$1(string, buf.length - offset), buf, offset, length); + return blitBuffer$1(utf8ToBytes$1(string, buf.length - offset), buf, offset, length); } function asciiWrite$1(buf, string, offset, length) { - return blitBuffer$1(asciiToBytes$1(string), buf, offset, length); + return blitBuffer$1(asciiToBytes$1(string), buf, offset, length); } function latin1Write$1(buf, string, offset, length) { - return asciiWrite$1(buf, string, offset, length); + return asciiWrite$1(buf, string, offset, length); } function base64Write$1(buf, string, offset, length) { - return blitBuffer$1(base64ToBytes$1(string), buf, offset, length); + return blitBuffer$1(base64ToBytes$1(string), buf, offset, length); } function ucs2Write$1(buf, string, offset, length) { - return blitBuffer$1(utf16leToBytes$1(string, buf.length - offset), buf, offset, length); + return blitBuffer$1(utf16leToBytes$1(string, buf.length - offset), buf, offset, length); } Buffer$1.prototype.write = function write(string, offset, length, encoding) { - // Buffer#write(string) - if (offset === undefined) { - encoding = 'utf8'; - length = this.length; - offset = 0; // Buffer#write(string, encoding) - } else if (length === undefined && typeof offset === 'string') { - encoding = offset; - length = this.length; - offset = 0; // Buffer#write(string, offset[, length][, encoding]) - } else if (isFinite(offset)) { - offset = offset | 0; - - if (isFinite(length)) { - length = length | 0; - if (encoding === undefined) encoding = 'utf8'; - } else { - encoding = length; - length = undefined; - } // legacy write(string, encoding, offset, length) - remove in v0.13 - - } 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$1(this, string, offset, length); - - case 'utf8': - case 'utf-8': - return utf8Write$1(this, string, offset, length); - - case 'ascii': - return asciiWrite$1(this, string, offset, length); - - case 'latin1': - case 'binary': - return latin1Write$1(this, string, offset, length); - - case 'base64': - // Warning: maxLength not taken into account in base64Write - return base64Write$1(this, string, offset, length); - - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return ucs2Write$1(this, string, offset, length); - - default: - if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding); - encoding = ('' + encoding).toLowerCase(); - loweredCase = true; - } - } + // Buffer#write(string) + if (offset === undefined) { + encoding = 'utf8'; + length = this.length; + offset = 0; // Buffer#write(string, encoding) + } else if (length === undefined && typeof offset === 'string') { + encoding = offset; + length = this.length; + offset = 0; // Buffer#write(string, offset[, length][, encoding]) + } else if (isFinite(offset)) { + offset = offset | 0; + + if (isFinite(length)) { + length = length | 0; + if (encoding === undefined) encoding = 'utf8'; + } else { + encoding = length; + length = undefined; + } // legacy write(string, encoding, offset, length) - remove in v0.13 + + } 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$1(this, string, offset, length); + + case 'utf8': + case 'utf-8': + return utf8Write$1(this, string, offset, length); + + case 'ascii': + return asciiWrite$1(this, string, offset, length); + + case 'latin1': + case 'binary': + return latin1Write$1(this, string, offset, length); + + case 'base64': + // Warning: maxLength not taken into account in base64Write + return base64Write$1(this, string, offset, length); + + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return ucs2Write$1(this, string, offset, length); + + default: + if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding); + encoding = ('' + encoding).toLowerCase(); + loweredCase = true; + } + } }; Buffer$1.prototype.toJSON = function toJSON() { - return { - type: 'Buffer', - data: Array.prototype.slice.call(this._arr || this, 0) - }; + return { + type: 'Buffer', + data: Array.prototype.slice.call(this._arr || this, 0) + }; }; function base64Slice$1(buf, start, end) { - if (start === 0 && end === buf.length) { - return fromByteArray$1(buf); - } else { - return fromByteArray$1(buf.slice(start, end)); - } + if (start === 0 && end === buf.length) { + return fromByteArray$1(buf); + } else { + return fromByteArray$1(buf.slice(start, end)); + } } function utf8Slice$1(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 > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1; - - if (i + bytesPerSequence <= end) { - var secondByte, thirdByte, fourthByte, tempCodePoint; - - switch (bytesPerSequence) { - case 1: - if (firstByte < 0x80) { - codePoint = firstByte; - } - - break; - - case 2: - secondByte = buf[i + 1]; - - if ((secondByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0x1F) << 0x6 | secondByte & 0x3F; - - if (tempCodePoint > 0x7F) { - codePoint = tempCodePoint; - } - } - - break; - - case 3: - secondByte = buf[i + 1]; - thirdByte = buf[i + 2]; - - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | thirdByte & 0x3F; - - if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { - codePoint = tempCodePoint; - } - } - - break; - - case 4: - secondByte = buf[i + 1]; - thirdByte = buf[i + 2]; - fourthByte = buf[i + 3]; - - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | fourthByte & 0x3F; - - if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { - codePoint = tempCodePoint; - } - } - - } - } - - if (codePoint === null) { - // we did not generate a valid codePoint so insert a - // replacement char (U+FFFD) and advance only 1 byte - codePoint = 0xFFFD; - bytesPerSequence = 1; - } else if (codePoint > 0xFFFF) { - // encode to utf16 (surrogate pair dance) - codePoint -= 0x10000; - res.push(codePoint >>> 10 & 0x3FF | 0xD800); - codePoint = 0xDC00 | codePoint & 0x3FF; - } - - res.push(codePoint); - i += bytesPerSequence; - } - - return decodeCodePointsArray$1(res); + end = Math.min(buf.length, end); + var res = []; + var i = start; + + while (i < end) { + var firstByte = buf[i]; + var codePoint = null; + var bytesPerSequence = firstByte > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1; + + if (i + bytesPerSequence <= end) { + var secondByte, thirdByte, fourthByte, tempCodePoint; + + switch (bytesPerSequence) { + case 1: + if (firstByte < 0x80) { + codePoint = firstByte; + } + + break; + + case 2: + secondByte = buf[i + 1]; + + if ((secondByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0x1F) << 0x6 | secondByte & 0x3F; + + if (tempCodePoint > 0x7F) { + codePoint = tempCodePoint; + } + } + + break; + + case 3: + secondByte = buf[i + 1]; + thirdByte = buf[i + 2]; + + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | thirdByte & 0x3F; + + if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { + codePoint = tempCodePoint; + } + } + + break; + + case 4: + secondByte = buf[i + 1]; + thirdByte = buf[i + 2]; + fourthByte = buf[i + 3]; + + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | fourthByte & 0x3F; + + if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { + codePoint = tempCodePoint; + } + } + + } + } + + if (codePoint === null) { + // we did not generate a valid codePoint so insert a + // replacement char (U+FFFD) and advance only 1 byte + codePoint = 0xFFFD; + bytesPerSequence = 1; + } else if (codePoint > 0xFFFF) { + // encode to utf16 (surrogate pair dance) + codePoint -= 0x10000; + res.push(codePoint >>> 10 & 0x3FF | 0xD800); + codePoint = 0xDC00 | codePoint & 0x3FF; + } + + res.push(codePoint); + i += bytesPerSequence; + } + + return decodeCodePointsArray$1(res); } // Based on http://stackoverflow.com/a/22747272/680742, the browser with // the lowest limit is Chrome, with 0x10000 args. // We go 1 magnitude less, for safety @@ -6432,104 +6546,104 @@ var MAX_ARGUMENTS_LENGTH$1 = 0x1000; function decodeCodePointsArray$1(codePoints) { - var len = codePoints.length; + var len = codePoints.length; - if (len <= MAX_ARGUMENTS_LENGTH$1) { - return String.fromCharCode.apply(String, codePoints); // avoid extra slice() - } // Decode in chunks to avoid "call stack size exceeded". + if (len <= MAX_ARGUMENTS_LENGTH$1) { + return String.fromCharCode.apply(String, codePoints); // avoid extra slice() + } // Decode in chunks to avoid "call stack size exceeded". - var res = ''; - var i = 0; + var res = ''; + var i = 0; - while (i < len) { - res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH$1)); - } + while (i < len) { + res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH$1)); + } - return res; + return res; } function asciiSlice$1(buf, start, end) { - var ret = ''; - end = Math.min(buf.length, end); + var ret = ''; + end = Math.min(buf.length, end); - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i] & 0x7F); - } + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i] & 0x7F); + } - return ret; + return ret; } function latin1Slice$1(buf, start, end) { - var ret = ''; - end = Math.min(buf.length, end); + var ret = ''; + end = Math.min(buf.length, end); - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i]); - } + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i]); + } - return ret; + return ret; } function hexSlice$1(buf, start, end) { - var len = buf.length; - if (!start || start < 0) start = 0; - if (!end || end < 0 || end > len) end = len; - var out = ''; + 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$1(buf[i]); - } + for (var i = start; i < end; ++i) { + out += toHex$1(buf[i]); + } - return out; + return out; } function utf16leSlice$1(buf, start, end) { - var bytes = buf.slice(start, end); - var res = ''; + 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); - } + for (var i = 0; i < bytes.length; i += 2) { + res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256); + } - return res; + return res; } Buffer$1.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; - - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - newBuf = this.subarray(start, end); - newBuf.__proto__ = Buffer$1.prototype; - } else { - var sliceLen = end - start; - newBuf = new Buffer$1(sliceLen, undefined); - - for (var i = 0; i < sliceLen; ++i) { - newBuf[i] = this[i + start]; - } - } - - return newBuf; + 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; + + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + newBuf = this.subarray(start, end); + newBuf.__proto__ = Buffer$1.prototype; + } else { + var sliceLen = end - start; + newBuf = new Buffer$1(sliceLen, undefined); + + for (var i = 0; i < sliceLen; ++i) { + newBuf[i] = this[i + start]; + } + } + + return newBuf; }; /* * Need to make sure that buffer isn't trying to write out of bounds. @@ -6537,493 +6651,493 @@ function checkOffset$1(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'); + 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$1.prototype.readUIntLE = function readUIntLE(offset, byteLength, noAssert) { - offset = offset | 0; - byteLength = byteLength | 0; - if (!noAssert) checkOffset$1(offset, byteLength, this.length); - var val = this[offset]; - var mul = 1; - var i = 0; + offset = offset | 0; + byteLength = byteLength | 0; + if (!noAssert) checkOffset$1(offset, byteLength, this.length); + var val = this[offset]; + var mul = 1; + var i = 0; - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul; - } + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul; + } - return val; + return val; }; Buffer$1.prototype.readUIntBE = function readUIntBE(offset, byteLength, noAssert) { - offset = offset | 0; - byteLength = byteLength | 0; + offset = offset | 0; + byteLength = byteLength | 0; - if (!noAssert) { - checkOffset$1(offset, byteLength, this.length); - } + if (!noAssert) { + checkOffset$1(offset, byteLength, this.length); + } - var val = this[offset + --byteLength]; - var mul = 1; + var val = this[offset + --byteLength]; + var mul = 1; - while (byteLength > 0 && (mul *= 0x100)) { - val += this[offset + --byteLength] * mul; - } + while (byteLength > 0 && (mul *= 0x100)) { + val += this[offset + --byteLength] * mul; + } - return val; + return val; }; Buffer$1.prototype.readUInt8 = function readUInt8(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 1, this.length); - return this[offset]; + if (!noAssert) checkOffset$1(offset, 1, this.length); + return this[offset]; }; Buffer$1.prototype.readUInt16LE = function readUInt16LE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 2, this.length); - return this[offset] | this[offset + 1] << 8; + if (!noAssert) checkOffset$1(offset, 2, this.length); + return this[offset] | this[offset + 1] << 8; }; Buffer$1.prototype.readUInt16BE = function readUInt16BE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 2, this.length); - return this[offset] << 8 | this[offset + 1]; + if (!noAssert) checkOffset$1(offset, 2, this.length); + return this[offset] << 8 | this[offset + 1]; }; Buffer$1.prototype.readUInt32LE = function readUInt32LE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 4, this.length); - return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 0x1000000; + if (!noAssert) checkOffset$1(offset, 4, this.length); + return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 0x1000000; }; Buffer$1.prototype.readUInt32BE = function readUInt32BE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 4, this.length); - return this[offset] * 0x1000000 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]); + if (!noAssert) checkOffset$1(offset, 4, this.length); + return this[offset] * 0x1000000 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]); }; Buffer$1.prototype.readIntLE = function readIntLE(offset, byteLength, noAssert) { - offset = offset | 0; - byteLength = byteLength | 0; - if (!noAssert) checkOffset$1(offset, byteLength, this.length); - var val = this[offset]; - var mul = 1; - var i = 0; + offset = offset | 0; + byteLength = byteLength | 0; + if (!noAssert) checkOffset$1(offset, byteLength, this.length); + var val = this[offset]; + var mul = 1; + var i = 0; - while (++i < byteLength && (mul *= 0x100)) { - val += this[offset + i] * mul; - } + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul; + } - mul *= 0x80; - if (val >= mul) val -= Math.pow(2, 8 * byteLength); - return val; + mul *= 0x80; + if (val >= mul) val -= Math.pow(2, 8 * byteLength); + return val; }; Buffer$1.prototype.readIntBE = function readIntBE(offset, byteLength, noAssert) { - offset = offset | 0; - byteLength = byteLength | 0; - if (!noAssert) checkOffset$1(offset, byteLength, this.length); - var i = byteLength; - var mul = 1; - var val = this[offset + --i]; + offset = offset | 0; + byteLength = byteLength | 0; + if (!noAssert) checkOffset$1(offset, byteLength, this.length); + var i = byteLength; + var mul = 1; + var val = this[offset + --i]; - while (i > 0 && (mul *= 0x100)) { - val += this[offset + --i] * mul; - } + while (i > 0 && (mul *= 0x100)) { + val += this[offset + --i] * mul; + } - mul *= 0x80; - if (val >= mul) val -= Math.pow(2, 8 * byteLength); - return val; + mul *= 0x80; + if (val >= mul) val -= Math.pow(2, 8 * byteLength); + return val; }; Buffer$1.prototype.readInt8 = function readInt8(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 1, this.length); - if (!(this[offset] & 0x80)) return this[offset]; - return (0xff - this[offset] + 1) * -1; + if (!noAssert) checkOffset$1(offset, 1, this.length); + if (!(this[offset] & 0x80)) return this[offset]; + return (0xff - this[offset] + 1) * -1; }; Buffer$1.prototype.readInt16LE = function readInt16LE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 2, this.length); - var val = this[offset] | this[offset + 1] << 8; - return val & 0x8000 ? val | 0xFFFF0000 : val; + if (!noAssert) checkOffset$1(offset, 2, this.length); + var val = this[offset] | this[offset + 1] << 8; + return val & 0x8000 ? val | 0xFFFF0000 : val; }; Buffer$1.prototype.readInt16BE = function readInt16BE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 2, this.length); - var val = this[offset + 1] | this[offset] << 8; - return val & 0x8000 ? val | 0xFFFF0000 : val; + if (!noAssert) checkOffset$1(offset, 2, this.length); + var val = this[offset + 1] | this[offset] << 8; + return val & 0x8000 ? val | 0xFFFF0000 : val; }; Buffer$1.prototype.readInt32LE = function readInt32LE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 4, this.length); - return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24; + if (!noAssert) checkOffset$1(offset, 4, this.length); + return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24; }; Buffer$1.prototype.readInt32BE = function readInt32BE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 4, this.length); - return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]; + if (!noAssert) checkOffset$1(offset, 4, this.length); + return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]; }; Buffer$1.prototype.readFloatLE = function readFloatLE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 4, this.length); - return read$1(this, offset, true, 23, 4); + if (!noAssert) checkOffset$1(offset, 4, this.length); + return read$1(this, offset, true, 23, 4); }; Buffer$1.prototype.readFloatBE = function readFloatBE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 4, this.length); - return read$1(this, offset, false, 23, 4); + if (!noAssert) checkOffset$1(offset, 4, this.length); + return read$1(this, offset, false, 23, 4); }; Buffer$1.prototype.readDoubleLE = function readDoubleLE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 8, this.length); - return read$1(this, offset, true, 52, 8); + if (!noAssert) checkOffset$1(offset, 8, this.length); + return read$1(this, offset, true, 52, 8); }; Buffer$1.prototype.readDoubleBE = function readDoubleBE(offset, noAssert) { - if (!noAssert) checkOffset$1(offset, 8, this.length); - return read$1(this, offset, false, 52, 8); + if (!noAssert) checkOffset$1(offset, 8, this.length); + return read$1(this, offset, false, 52, 8); }; function checkInt$1(buf, value, offset, ext, max, min) { - if (!internalIsBuffer$1(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'); + if (!internalIsBuffer$1(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$1.prototype.writeUIntLE = function writeUIntLE(value, offset, byteLength, noAssert) { - value = +value; - offset = offset | 0; - byteLength = byteLength | 0; + value = +value; + offset = offset | 0; + byteLength = byteLength | 0; - if (!noAssert) { - var maxBytes = Math.pow(2, 8 * byteLength) - 1; - checkInt$1(this, value, offset, byteLength, maxBytes, 0); - } + if (!noAssert) { + var maxBytes = Math.pow(2, 8 * byteLength) - 1; + checkInt$1(this, value, offset, byteLength, maxBytes, 0); + } - var mul = 1; - var i = 0; - this[offset] = value & 0xFF; + var mul = 1; + var i = 0; + this[offset] = value & 0xFF; - while (++i < byteLength && (mul *= 0x100)) { - this[offset + i] = value / mul & 0xFF; - } + while (++i < byteLength && (mul *= 0x100)) { + this[offset + i] = value / mul & 0xFF; + } - return offset + byteLength; + return offset + byteLength; }; Buffer$1.prototype.writeUIntBE = function writeUIntBE(value, offset, byteLength, noAssert) { - value = +value; - offset = offset | 0; - byteLength = byteLength | 0; + value = +value; + offset = offset | 0; + byteLength = byteLength | 0; - if (!noAssert) { - var maxBytes = Math.pow(2, 8 * byteLength) - 1; - checkInt$1(this, value, offset, byteLength, maxBytes, 0); - } + if (!noAssert) { + var maxBytes = Math.pow(2, 8 * byteLength) - 1; + checkInt$1(this, value, offset, byteLength, maxBytes, 0); + } - var i = byteLength - 1; - var mul = 1; - this[offset + i] = value & 0xFF; + var i = byteLength - 1; + var mul = 1; + this[offset + i] = value & 0xFF; - while (--i >= 0 && (mul *= 0x100)) { - this[offset + i] = value / mul & 0xFF; - } + while (--i >= 0 && (mul *= 0x100)) { + this[offset + i] = value / mul & 0xFF; + } - return offset + byteLength; + return offset + byteLength; }; Buffer$1.prototype.writeUInt8 = function writeUInt8(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 1, 0xff, 0); - if (!Buffer$1.TYPED_ARRAY_SUPPORT) value = Math.floor(value); - this[offset] = value & 0xff; - return offset + 1; + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 1, 0xff, 0); + if (!Buffer$1.TYPED_ARRAY_SUPPORT) value = Math.floor(value); + this[offset] = value & 0xff; + return offset + 1; }; function objectWriteUInt16$1(buf, value, offset, littleEndian) { - if (value < 0) value = 0xffff + value + 1; + if (value < 0) value = 0xffff + value + 1; - for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { - buf[offset + i] = (value & 0xff << 8 * (littleEndian ? i : 1 - i)) >>> (littleEndian ? i : 1 - i) * 8; - } + for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { + buf[offset + i] = (value & 0xff << 8 * (littleEndian ? i : 1 - i)) >>> (littleEndian ? i : 1 - i) * 8; + } } Buffer$1.prototype.writeUInt16LE = function writeUInt16LE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 2, 0xffff, 0); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 2, 0xffff, 0); - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - this[offset] = value & 0xff; - this[offset + 1] = value >>> 8; - } else { - objectWriteUInt16$1(this, value, offset, true); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + } else { + objectWriteUInt16$1(this, value, offset, true); + } - return offset + 2; + return offset + 2; }; Buffer$1.prototype.writeUInt16BE = function writeUInt16BE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 2, 0xffff, 0); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 2, 0xffff, 0); - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - this[offset] = value >>> 8; - this[offset + 1] = value & 0xff; - } else { - objectWriteUInt16$1(this, value, offset, false); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 8; + this[offset + 1] = value & 0xff; + } else { + objectWriteUInt16$1(this, value, offset, false); + } - return offset + 2; + return offset + 2; }; function objectWriteUInt32$1(buf, value, offset, littleEndian) { - if (value < 0) value = 0xffffffff + value + 1; + if (value < 0) value = 0xffffffff + value + 1; - for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { - buf[offset + i] = value >>> (littleEndian ? i : 3 - i) * 8 & 0xff; - } + for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { + buf[offset + i] = value >>> (littleEndian ? i : 3 - i) * 8 & 0xff; + } } Buffer$1.prototype.writeUInt32LE = function writeUInt32LE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 4, 0xffffffff, 0); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 4, 0xffffffff, 0); - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - this[offset + 3] = value >>> 24; - this[offset + 2] = value >>> 16; - this[offset + 1] = value >>> 8; - this[offset] = value & 0xff; - } else { - objectWriteUInt32$1(this, value, offset, true); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset + 3] = value >>> 24; + this[offset + 2] = value >>> 16; + this[offset + 1] = value >>> 8; + this[offset] = value & 0xff; + } else { + objectWriteUInt32$1(this, value, offset, true); + } - return offset + 4; + return offset + 4; }; Buffer$1.prototype.writeUInt32BE = function writeUInt32BE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 4, 0xffffffff, 0); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 4, 0xffffffff, 0); - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - this[offset] = value >>> 24; - this[offset + 1] = value >>> 16; - this[offset + 2] = value >>> 8; - this[offset + 3] = value & 0xff; - } else { - objectWriteUInt32$1(this, value, offset, false); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 24; + this[offset + 1] = value >>> 16; + this[offset + 2] = value >>> 8; + this[offset + 3] = value & 0xff; + } else { + objectWriteUInt32$1(this, value, offset, false); + } - return offset + 4; + return offset + 4; }; Buffer$1.prototype.writeIntLE = function writeIntLE(value, offset, byteLength, noAssert) { - value = +value; - offset = offset | 0; + value = +value; + offset = offset | 0; - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1); - checkInt$1(this, value, offset, byteLength, limit - 1, -limit); - } + if (!noAssert) { + var limit = Math.pow(2, 8 * byteLength - 1); + checkInt$1(this, value, offset, byteLength, limit - 1, -limit); + } - var i = 0; - var mul = 1; - var sub = 0; - this[offset] = value & 0xFF; + var i = 0; + var mul = 1; + var sub = 0; + this[offset] = value & 0xFF; - while (++i < byteLength && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { - sub = 1; - } + while (++i < byteLength && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { + sub = 1; + } - this[offset + i] = (value / mul >> 0) - sub & 0xFF; - } + this[offset + i] = (value / mul >> 0) - sub & 0xFF; + } - return offset + byteLength; + return offset + byteLength; }; Buffer$1.prototype.writeIntBE = function writeIntBE(value, offset, byteLength, noAssert) { - value = +value; - offset = offset | 0; + value = +value; + offset = offset | 0; - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1); - checkInt$1(this, value, offset, byteLength, limit - 1, -limit); - } + if (!noAssert) { + var limit = Math.pow(2, 8 * byteLength - 1); + checkInt$1(this, value, offset, byteLength, limit - 1, -limit); + } - var i = byteLength - 1; - var mul = 1; - var sub = 0; - this[offset + i] = value & 0xFF; + var i = byteLength - 1; + var mul = 1; + var sub = 0; + this[offset + i] = value & 0xFF; - while (--i >= 0 && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { - sub = 1; - } + while (--i >= 0 && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { + sub = 1; + } - this[offset + i] = (value / mul >> 0) - sub & 0xFF; - } + this[offset + i] = (value / mul >> 0) - sub & 0xFF; + } - return offset + byteLength; + return offset + byteLength; }; Buffer$1.prototype.writeInt8 = function writeInt8(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 1, 0x7f, -0x80); - if (!Buffer$1.TYPED_ARRAY_SUPPORT) value = Math.floor(value); - if (value < 0) value = 0xff + value + 1; - this[offset] = value & 0xff; - return offset + 1; + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 1, 0x7f, -0x80); + if (!Buffer$1.TYPED_ARRAY_SUPPORT) value = Math.floor(value); + if (value < 0) value = 0xff + value + 1; + this[offset] = value & 0xff; + return offset + 1; }; Buffer$1.prototype.writeInt16LE = function writeInt16LE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 2, 0x7fff, -0x8000); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 2, 0x7fff, -0x8000); - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - this[offset] = value & 0xff; - this[offset + 1] = value >>> 8; - } else { - objectWriteUInt16$1(this, value, offset, true); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + } else { + objectWriteUInt16$1(this, value, offset, true); + } - return offset + 2; + return offset + 2; }; Buffer$1.prototype.writeInt16BE = function writeInt16BE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 2, 0x7fff, -0x8000); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 2, 0x7fff, -0x8000); - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - this[offset] = value >>> 8; - this[offset + 1] = value & 0xff; - } else { - objectWriteUInt16$1(this, value, offset, false); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 8; + this[offset + 1] = value & 0xff; + } else { + objectWriteUInt16$1(this, value, offset, false); + } - return offset + 2; + return offset + 2; }; Buffer$1.prototype.writeInt32LE = function writeInt32LE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 4, 0x7fffffff, -0x80000000); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 4, 0x7fffffff, -0x80000000); - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - this[offset] = value & 0xff; - this[offset + 1] = value >>> 8; - this[offset + 2] = value >>> 16; - this[offset + 3] = value >>> 24; - } else { - objectWriteUInt32$1(this, value, offset, true); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + this[offset + 2] = value >>> 16; + this[offset + 3] = value >>> 24; + } else { + objectWriteUInt32$1(this, value, offset, true); + } - return offset + 4; + return offset + 4; }; Buffer$1.prototype.writeInt32BE = function writeInt32BE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt$1(this, value, offset, 4, 0x7fffffff, -0x80000000); - if (value < 0) value = 0xffffffff + value + 1; + value = +value; + offset = offset | 0; + if (!noAssert) checkInt$1(this, value, offset, 4, 0x7fffffff, -0x80000000); + if (value < 0) value = 0xffffffff + value + 1; - if (Buffer$1.TYPED_ARRAY_SUPPORT) { - this[offset] = value >>> 24; - this[offset + 1] = value >>> 16; - this[offset + 2] = value >>> 8; - this[offset + 3] = value & 0xff; - } else { - objectWriteUInt32$1(this, value, offset, false); - } + if (Buffer$1.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 24; + this[offset + 1] = value >>> 16; + this[offset + 2] = value >>> 8; + this[offset + 3] = value & 0xff; + } else { + objectWriteUInt32$1(this, value, offset, false); + } - return offset + 4; + return offset + 4; }; function checkIEEE754$1(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'); + if (offset + ext > buf.length) throw new RangeError('Index out of range'); + if (offset < 0) throw new RangeError('Index out of range'); } function writeFloat$1(buf, value, offset, littleEndian, noAssert) { - if (!noAssert) { - checkIEEE754$1(buf, value, offset, 4); - } + if (!noAssert) { + checkIEEE754$1(buf, value, offset, 4); + } - write$1(buf, value, offset, littleEndian, 23, 4); - return offset + 4; + write$1(buf, value, offset, littleEndian, 23, 4); + return offset + 4; } Buffer$1.prototype.writeFloatLE = function writeFloatLE(value, offset, noAssert) { - return writeFloat$1(this, value, offset, true, noAssert); + return writeFloat$1(this, value, offset, true, noAssert); }; Buffer$1.prototype.writeFloatBE = function writeFloatBE(value, offset, noAssert) { - return writeFloat$1(this, value, offset, false, noAssert); + return writeFloat$1(this, value, offset, false, noAssert); }; function writeDouble$1(buf, value, offset, littleEndian, noAssert) { - if (!noAssert) { - checkIEEE754$1(buf, value, offset, 8); - } + if (!noAssert) { + checkIEEE754$1(buf, value, offset, 8); + } - write$1(buf, value, offset, littleEndian, 52, 8); - return offset + 8; + write$1(buf, value, offset, littleEndian, 52, 8); + return offset + 8; } Buffer$1.prototype.writeDoubleLE = function writeDoubleLE(value, offset, noAssert) { - return writeDouble$1(this, value, offset, true, noAssert); + return writeDouble$1(this, value, offset, true, noAssert); }; Buffer$1.prototype.writeDoubleBE = function writeDoubleBE(value, offset, noAssert) { - return writeDouble$1(this, value, offset, false, noAssert); + return writeDouble$1(this, value, offset, false, noAssert); }; // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) Buffer$1.prototype.copy = function copy(target, targetStart, start, end) { - 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; // Copy 0 bytes; we're done - - if (end === start) return 0; - if (target.length === 0 || this.length === 0) return 0; // Fatal error conditions - - if (targetStart < 0) { - throw new RangeError('targetStart out of bounds'); - } - - if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds'); - if (end < 0) throw new RangeError('sourceEnd out of bounds'); // Are we oob? - - if (end > this.length) end = this.length; - - if (target.length - targetStart < end - start) { - end = target.length - targetStart + start; - } - - var len = end - start; - var i; - - if (this === target && start < targetStart && targetStart < end) { - // descending copy from end - for (i = len - 1; i >= 0; --i) { - target[i + targetStart] = this[i + start]; - } - } else if (len < 1000 || !Buffer$1.TYPED_ARRAY_SUPPORT) { - // ascending copy from start - for (i = 0; i < len; ++i) { - target[i + targetStart] = this[i + start]; - } - } else { - Uint8Array.prototype.set.call(target, this.subarray(start, start + len), targetStart); - } - - return len; + 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; // Copy 0 bytes; we're done + + if (end === start) return 0; + if (target.length === 0 || this.length === 0) return 0; // Fatal error conditions + + if (targetStart < 0) { + throw new RangeError('targetStart out of bounds'); + } + + if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds'); + if (end < 0) throw new RangeError('sourceEnd out of bounds'); // Are we oob? + + if (end > this.length) end = this.length; + + if (target.length - targetStart < end - start) { + end = target.length - targetStart + start; + } + + var len = end - start; + var i; + + if (this === target && start < targetStart && targetStart < end) { + // descending copy from end + for (i = len - 1; i >= 0; --i) { + target[i + targetStart] = this[i + start]; + } + } else if (len < 1000 || !Buffer$1.TYPED_ARRAY_SUPPORT) { + // ascending copy from start + for (i = 0; i < len; ++i) { + target[i + targetStart] = this[i + start]; + } + } else { + Uint8Array.prototype.set.call(target, this.subarray(start, start + len), targetStart); + } + + return len; }; // Usage: // buffer.fill(number[, offset[, end]]) // buffer.fill(buffer[, offset[, end]]) @@ -7031,64 +7145,64 @@ Buffer$1.prototype.fill = function fill(val, start, end, encoding) { - // Handle string cases: - 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 (val.length === 1) { - var code = val.charCodeAt(0); - - if (code < 256) { - val = code; - } - } - - if (encoding !== undefined && typeof encoding !== 'string') { - throw new TypeError('encoding must be a string'); - } - - if (typeof encoding === 'string' && !Buffer$1.isEncoding(encoding)) { - throw new TypeError('Unknown encoding: ' + encoding); - } - } else if (typeof val === 'number') { - val = val & 255; - } // Invalid ranges are not set to a default, so can range check early. - - - 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 = internalIsBuffer$1(val) ? val : utf8ToBytes$1(new Buffer$1(val, encoding).toString()); - var len = bytes.length; - - for (i = 0; i < end - start; ++i) { - this[i + start] = bytes[i % len]; - } - } - - return this; + // Handle string cases: + 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 (val.length === 1) { + var code = val.charCodeAt(0); + + if (code < 256) { + val = code; + } + } + + if (encoding !== undefined && typeof encoding !== 'string') { + throw new TypeError('encoding must be a string'); + } + + if (typeof encoding === 'string' && !Buffer$1.isEncoding(encoding)) { + throw new TypeError('Unknown encoding: ' + encoding); + } + } else if (typeof val === 'number') { + val = val & 255; + } // Invalid ranges are not set to a default, so can range check early. + + + 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 = internalIsBuffer$1(val) ? val : utf8ToBytes$1(new Buffer$1(val, encoding).toString()); + var len = bytes.length; + + for (i = 0; i < end - start; ++i) { + this[i + start] = bytes[i % len]; + } + } + + return this; }; // HELPER FUNCTIONS // ================ @@ -7096,225 +7210,225 @@ var INVALID_BASE64_RE$1 = /[^+\/0-9A-Za-z-_]/g; function base64clean$1(str) { - // Node strips out invalid characters like \n and \t from the string, base64-js does not - str = stringtrim$1(str).replace(INVALID_BASE64_RE$1, ''); // Node converts strings with length < 2 to '' + // Node strips out invalid characters like \n and \t from the string, base64-js does not + str = stringtrim$1(str).replace(INVALID_BASE64_RE$1, ''); // Node converts strings with length < 2 to '' - if (str.length < 2) return ''; // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not + if (str.length < 2) return ''; // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not - while (str.length % 4 !== 0) { - str = str + '='; - } + while (str.length % 4 !== 0) { + str = str + '='; + } - return str; + return str; } function stringtrim$1(str) { - if (str.trim) return str.trim(); - return str.replace(/^\s+|\s+$/g, ''); + if (str.trim) return str.trim(); + return str.replace(/^\s+|\s+$/g, ''); } function toHex$1(n) { - if (n < 16) return '0' + n.toString(16); - return n.toString(16); + if (n < 16) return '0' + n.toString(16); + return n.toString(16); } function utf8ToBytes$1(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); // is surrogate component - - if (codePoint > 0xD7FF && codePoint < 0xE000) { - // last char was a lead - if (!leadSurrogate) { - // no lead yet - if (codePoint > 0xDBFF) { - // unexpected trail - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); - continue; - } else if (i + 1 === length) { - // unpaired lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); - continue; - } // valid lead - - - leadSurrogate = codePoint; - continue; - } // 2 leads in a row - - - if (codePoint < 0xDC00) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); - leadSurrogate = codePoint; - continue; - } // valid surrogate pair - - - codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000; - } else if (leadSurrogate) { - // valid bmp char, but last char was a lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); - } - - leadSurrogate = null; // encode utf8 - - if (codePoint < 0x80) { - if ((units -= 1) < 0) break; - bytes.push(codePoint); - } else if (codePoint < 0x800) { - if ((units -= 2) < 0) break; - bytes.push(codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80); - } else if (codePoint < 0x10000) { - if ((units -= 3) < 0) break; - bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); - } else if (codePoint < 0x110000) { - if ((units -= 4) < 0) break; - bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); - } else { - throw new Error('Invalid code point'); - } - } - - return bytes; + 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); // is surrogate component + + if (codePoint > 0xD7FF && codePoint < 0xE000) { + // last char was a lead + if (!leadSurrogate) { + // no lead yet + if (codePoint > 0xDBFF) { + // unexpected trail + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + continue; + } else if (i + 1 === length) { + // unpaired lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + continue; + } // valid lead + + + leadSurrogate = codePoint; + continue; + } // 2 leads in a row + + + if (codePoint < 0xDC00) { + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + leadSurrogate = codePoint; + continue; + } // valid surrogate pair + + + codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000; + } else if (leadSurrogate) { + // valid bmp char, but last char was a lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + } + + leadSurrogate = null; // encode utf8 + + if (codePoint < 0x80) { + if ((units -= 1) < 0) break; + bytes.push(codePoint); + } else if (codePoint < 0x800) { + if ((units -= 2) < 0) break; + bytes.push(codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80); + } else if (codePoint < 0x10000) { + if ((units -= 3) < 0) break; + bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); + } else if (codePoint < 0x110000) { + if ((units -= 4) < 0) break; + bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); + } else { + throw new Error('Invalid code point'); + } + } + + return bytes; } function asciiToBytes$1(str) { - var byteArray = []; + var byteArray = []; - for (var i = 0; i < str.length; ++i) { - // Node's code seems to be doing this and not & 0x7F.. - byteArray.push(str.charCodeAt(i) & 0xFF); - } + for (var i = 0; i < str.length; ++i) { + // Node's code seems to be doing this and not & 0x7F.. + byteArray.push(str.charCodeAt(i) & 0xFF); + } - return byteArray; + return byteArray; } function utf16leToBytes$1(str, units) { - var c, hi, lo; - var byteArray = []; + 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); - } + 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; + return byteArray; } function base64ToBytes$1(str) { - return toByteArray$1(base64clean$1(str)); + return toByteArray$1(base64clean$1(str)); } function blitBuffer$1(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]; - } + for (var i = 0; i < length; ++i) { + if (i + offset >= dst.length || i >= src.length) break; + dst[i + offset] = src[i]; + } - return i; + return i; } function isnan$1(val) { - return val !== val; // eslint-disable-line no-self-compare + return val !== val; // eslint-disable-line no-self-compare } // the following is from is-buffer, also by Feross Aboukhadijeh and with same lisence // The _isBuffer check is for Safari 5-7 support, because it's missing // Object.prototype.constructor. Remove this eventually function isBuffer$2(obj) { - return obj != null && (!!obj._isBuffer || isFastBuffer$1(obj) || isSlowBuffer$1(obj)); + return obj != null && (!!obj._isBuffer || isFastBuffer$1(obj) || isSlowBuffer$1(obj)); } function isFastBuffer$1(obj) { - return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj); + return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj); } // For Node v0.10 support. Remove this eventually. function isSlowBuffer$1(obj) { - return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer$1(obj.slice(0, 0)); + return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer$1(obj.slice(0, 0)); } // based off https://github.com/defunctzombie/node-process/blob/master/browser.js function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); + throw new Error('setTimeout has not been defined'); } function defaultClearTimeout() { - throw new Error('clearTimeout has not been defined'); + throw new Error('clearTimeout has not been defined'); } var cachedSetTimeout = defaultSetTimout; var cachedClearTimeout = defaultClearTimeout; if (typeof global$1.setTimeout === 'function') { - cachedSetTimeout = setTimeout; + cachedSetTimeout = setTimeout; } if (typeof global$1.clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; + cachedClearTimeout = clearTimeout; } function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } // if setTimeout wasn't available but was latter defined - - - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch (e) { - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch (e) { - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } // if setTimeout wasn't available but was latter defined + + + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } } function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } // if clearTimeout wasn't available but was latter defined - - - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e) { - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e) { - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } // if clearTimeout wasn't available but was latter defined + + + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } } var queue$1 = []; @@ -7323,208 +7437,208 @@ var queueIndex = -1; function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } + if (!draining || !currentQueue) { + return; + } - draining = false; + draining = false; - if (currentQueue.length) { - queue$1 = currentQueue.concat(queue$1); - } else { - queueIndex = -1; - } + if (currentQueue.length) { + queue$1 = currentQueue.concat(queue$1); + } else { + queueIndex = -1; + } - if (queue$1.length) { - drainQueue(); - } + if (queue$1.length) { + drainQueue(); + } } function drainQueue() { - if (draining) { - return; - } + if (draining) { + return; + } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - var len = queue$1.length; + var timeout = runTimeout(cleanUpNextTick); + draining = true; + var len = queue$1.length; - while (len) { - currentQueue = queue$1; - queue$1 = []; + while (len) { + currentQueue = queue$1; + queue$1 = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } - queueIndex = -1; - len = queue$1.length; - } + queueIndex = -1; + len = queue$1.length; + } - currentQueue = null; - draining = false; - runClearTimeout(timeout); + currentQueue = null; + draining = false; + runClearTimeout(timeout); } function nextTick(fun) { - var args = new Array(arguments.length - 1); + var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } - queue$1.push(new Item(fun, args)); + queue$1.push(new Item(fun, args)); - if (queue$1.length === 1 && !draining) { - runTimeout(drainQueue); - } + if (queue$1.length === 1 && !draining) { + runTimeout(drainQueue); + } } // v8 likes predictible objects function Item(fun, array) { - this.fun = fun; - this.array = array; + this.fun = fun; + this.array = array; } Item.prototype.run = function () { - this.fun.apply(null, this.array); + this.fun.apply(null, this.array); }; var performance = global$1.performance || {}; performance.now || performance.mozNow || performance.msNow || performance.oNow || performance.webkitNow || function () { - return new Date().getTime(); + return new Date().getTime(); }; // generate timestamp or delta var inherits$2; if (typeof Object.create === 'function') { - inherits$2 = function inherits(ctor, superCtor) { - // implementation from standard node.js 'util' module - ctor.super_ = superCtor; - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - }; + inherits$2 = function inherits(ctor, superCtor) { + // implementation from standard node.js 'util' module + ctor.super_ = superCtor; + ctor.prototype = Object.create(superCtor.prototype, { + constructor: { + value: ctor, + enumerable: false, + writable: true, + configurable: true + } + }); + }; } else { - inherits$2 = function inherits(ctor, superCtor) { - ctor.super_ = superCtor; + inherits$2 = function inherits(ctor, superCtor) { + ctor.super_ = superCtor; - var TempCtor = function TempCtor() {}; + var TempCtor = function TempCtor() {}; - TempCtor.prototype = superCtor.prototype; - ctor.prototype = new TempCtor(); - ctor.prototype.constructor = ctor; - }; + TempCtor.prototype = superCtor.prototype; + ctor.prototype = new TempCtor(); + ctor.prototype.constructor = ctor; + }; } var inherits$3 = inherits$2; var formatRegExp = /%[sdj%]/g; function format$1(f) { - if (!isString$1(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; + if (!isString$1(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; } // Returns a modified function which warns once by default. // If --no-deprecation is set, then it is a no-op. function deprecate$1(fn, msg) { - // Allow for deprecating things in the process of starting up. - if (isUndefined(global$1.process)) { - return function () { - return deprecate$1(fn, msg).apply(this, arguments); - }; - } + // Allow for deprecating things in the process of starting up. + if (isUndefined(global$1.process)) { + return function () { + return deprecate$1(fn, msg).apply(this, arguments); + }; + } - var warned = false; + var warned = false; - function deprecated() { - if (!warned) { - { - console.error(msg); - } + function deprecated() { + if (!warned) { + { + console.error(msg); + } - warned = true; - } + warned = true; + } - return fn.apply(this, arguments); - } + return fn.apply(this, arguments); + } - return deprecated; + return deprecated; } var debugs = {}; var debugEnviron; function debuglog(set) { - if (isUndefined(debugEnviron)) debugEnviron = ''; - set = set.toUpperCase(); + if (isUndefined(debugEnviron)) debugEnviron = ''; + set = set.toUpperCase(); - if (!debugs[set]) { - if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { - var pid = 0; + if (!debugs[set]) { + if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { + var pid = 0; - debugs[set] = function () { - var msg = format$1.apply(null, arguments); - console.error('%s %d: %s', set, pid, msg); - }; - } else { - debugs[set] = function () {}; - } - } + debugs[set] = function () { + var msg = format$1.apply(null, arguments); + console.error('%s %d: %s', set, pid, msg); + }; + } else { + debugs[set] = function () {}; + } + } - return debugs[set]; + return debugs[set]; } /** * Echos the value of a value. Trys to print the value out @@ -7537,419 +7651,419 @@ /* legacy: obj, showHidden, depth, colors*/ function inspect(obj, opts) { - // default options - var ctx = { - seen: [], - stylize: stylizeNoColor - }; // legacy... - - if (arguments.length >= 3) ctx.depth = arguments[2]; - if (arguments.length >= 4) ctx.colors = arguments[3]; - - if (isBoolean(opts)) { - // legacy... - ctx.showHidden = opts; - } else if (opts) { - // got an "options" object - _extend(ctx, opts); - } // set default options - - - 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); + // default options + var ctx = { + seen: [], + stylize: stylizeNoColor + }; // legacy... + + if (arguments.length >= 3) ctx.depth = arguments[2]; + if (arguments.length >= 4) ctx.colors = arguments[3]; + + if (isBoolean(opts)) { + // legacy... + ctx.showHidden = opts; + } else if (opts) { + // got an "options" object + _extend(ctx, opts); + } // set default options + + + 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); } // http://en.wikipedia.org/wiki/ANSI_escape_code#graphics 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] + '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] }; // Don't use 'blue' not visible on cmd.exe inspect.styles = { - 'special': 'cyan', - 'number': 'yellow', - 'boolean': 'yellow', - 'undefined': 'grey', - 'null': 'bold', - 'string': 'green', - 'date': 'magenta', - // "name": intentionally not styling - 'regexp': 'red' + 'special': 'cyan', + 'number': 'yellow', + 'boolean': 'yellow', + 'undefined': 'grey', + 'null': 'bold', + 'string': 'green', + 'date': 'magenta', + // "name": intentionally not styling + 'regexp': 'red' }; function stylizeWithColor(str, styleType) { - var style = inspect.styles[styleType]; + var style = inspect.styles[styleType]; - if (style) { - return "\x1B[" + inspect.colors[style][0] + 'm' + str + "\x1B[" + inspect.colors[style][1] + 'm'; - } else { - return str; - } + if (style) { + return "\x1B[" + inspect.colors[style][0] + 'm' + str + "\x1B[" + inspect.colors[style][1] + 'm'; + } else { + return str; + } } function stylizeNoColor(str, styleType) { - return str; + return str; } function arrayToHash(array) { - var hash = {}; - array.forEach(function (val, idx) { - hash[val] = true; - }); - return hash; + var hash = {}; + array.forEach(function (val, idx) { + hash[val] = true; + }); + return hash; } function formatValue(ctx, value, recurseTimes) { - // Provide a hook for user-specified inspect functions. - // Check that value is an object with an inspect function on it - if (ctx.customInspect && value && isFunction(value.inspect) && // Filter out the util module, it's inspect function is special - value.inspect !== inspect && // Also filter out any prototype objects using the circular check. - !(value.constructor && value.constructor.prototype === value)) { - var ret = value.inspect(recurseTimes, ctx); + // Provide a hook for user-specified inspect functions. + // Check that value is an object with an inspect function on it + if (ctx.customInspect && value && isFunction(value.inspect) && // Filter out the util module, it's inspect function is special + value.inspect !== inspect && // Also filter out any prototype objects using the circular check. + !(value.constructor && value.constructor.prototype === value)) { + var ret = value.inspect(recurseTimes, ctx); - if (!isString$1(ret)) { - ret = formatValue(ctx, ret, recurseTimes); - } + if (!isString$1(ret)) { + ret = formatValue(ctx, ret, recurseTimes); + } - return ret; - } // Primitive types cannot have properties + return ret; + } // Primitive types cannot have properties - var primitive = formatPrimitive(ctx, value); + var primitive = formatPrimitive(ctx, value); - if (primitive) { - return primitive; - } // Look up the keys of the object. + if (primitive) { + return primitive; + } // Look up the keys of the object. - var keys = Object.keys(value); - var visibleKeys = arrayToHash(keys); + var keys = Object.keys(value); + var visibleKeys = arrayToHash(keys); - if (ctx.showHidden) { - keys = Object.getOwnPropertyNames(value); - } // IE doesn't make error fields non-enumerable - // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx + if (ctx.showHidden) { + keys = Object.getOwnPropertyNames(value); + } // IE doesn't make error fields non-enumerable + // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx - if (isError$1(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { - return formatError(value); - } // Some type of object without properties can be shortcutted. + if (isError$1(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { + return formatError(value); + } // Some type of object without properties can be shortcutted. - if (keys.length === 0) { - if (isFunction(value)) { - var name = value.name ? ': ' + value.name : ''; - return ctx.stylize('[Function' + name + ']', 'special'); - } + 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 (isRegExp(value)) { + return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); + } - if (isDate(value)) { - return ctx.stylize(Date.prototype.toString.call(value), 'date'); - } + if (isDate(value)) { + return ctx.stylize(Date.prototype.toString.call(value), 'date'); + } - if (isError$1(value)) { - return formatError(value); - } - } + if (isError$1(value)) { + return formatError(value); + } + } - var base = '', - array = false, - braces = ['{', '}']; // Make Array say that they are Array + var base = '', + array = false, + braces = ['{', '}']; // Make Array say that they are Array - if (isArray$1(value)) { - array = true; - braces = ['[', ']']; - } // Make functions say that they are functions + if (isArray$1(value)) { + array = true; + braces = ['[', ']']; + } // Make functions say that they are functions - if (isFunction(value)) { - var n = value.name ? ': ' + value.name : ''; - base = ' [Function' + n + ']'; - } // Make RegExps say that they are RegExps + if (isFunction(value)) { + var n = value.name ? ': ' + value.name : ''; + base = ' [Function' + n + ']'; + } // Make RegExps say that they are RegExps - if (isRegExp(value)) { - base = ' ' + RegExp.prototype.toString.call(value); - } // Make dates with properties first say the date + if (isRegExp(value)) { + base = ' ' + RegExp.prototype.toString.call(value); + } // Make dates with properties first say the date - if (isDate(value)) { - base = ' ' + Date.prototype.toUTCString.call(value); - } // Make error with message first say the error + if (isDate(value)) { + base = ' ' + Date.prototype.toUTCString.call(value); + } // Make error with message first say the error - if (isError$1(value)) { - base = ' ' + formatError(value); - } + if (isError$1(value)) { + base = ' ' + formatError(value); + } - if (keys.length === 0 && (!array || value.length == 0)) { - return braces[0] + base + braces[1]; - } + 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'); - } - } + 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; + 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); - }); - } + 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); + ctx.seen.pop(); + return reduceToSingleString(output, base, braces); } function formatPrimitive(ctx, value) { - if (isUndefined(value)) return ctx.stylize('undefined', 'undefined'); + if (isUndefined(value)) return ctx.stylize('undefined', 'undefined'); - if (isString$1(value)) { - var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '').replace(/'/g, "\\'").replace(/\\"/g, '"') + '\''; - return ctx.stylize(simple, 'string'); - } + if (isString$1(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'); // For some reason typeof null is "object", so special case here. + if (isNumber(value)) return ctx.stylize('' + value, 'number'); + if (isBoolean(value)) return ctx.stylize('' + value, 'boolean'); // For some reason typeof null is "object", so special case here. - if (isNull(value)) return ctx.stylize('null', 'null'); + if (isNull(value)) return ctx.stylize('null', 'null'); } function formatError(value) { - return '[' + Error.prototype.toString.call(value) + ']'; + return '[' + Error.prototype.toString.call(value) + ']'; } function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { - var output = []; + 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(''); - } - } + 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; + 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; + 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 length = output.reduce(function (prev, cur) { - if (cur.indexOf('\n') >= 0) ; - return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; - }, 0); + var length = output.reduce(function (prev, cur) { + if (cur.indexOf('\n') >= 0) ; + 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]; - } + if (length > 60) { + return braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join(',\n ') + ' ' + braces[1]; + } - return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; + return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; } // NOTE: These type checking functions intentionally don't use `instanceof` // because it is fragile and can be easily faked with `Object.create()`. function isArray$1(ar) { - return Array.isArray(ar); + return Array.isArray(ar); } function isBoolean(arg) { - return typeof arg === 'boolean'; + return typeof arg === 'boolean'; } function isNull(arg) { - return arg === null; + return arg === null; } function isNullOrUndefined(arg) { - return arg == null; + return arg == null; } function isNumber(arg) { - return typeof arg === 'number'; + return typeof arg === 'number'; } function isString$1(arg) { - return typeof arg === 'string'; + return typeof arg === 'string'; } function isSymbol(arg) { - return _typeof(arg) === 'symbol'; + return _typeof(arg) === 'symbol'; } function isUndefined(arg) { - return arg === void 0; + return arg === void 0; } function isRegExp(re) { - return isObject(re) && objectToString(re) === '[object RegExp]'; + return isObject(re) && objectToString(re) === '[object RegExp]'; } function isObject(arg) { - return _typeof(arg) === 'object' && arg !== null; + return _typeof(arg) === 'object' && arg !== null; } function isDate(d) { - return isObject(d) && objectToString(d) === '[object Date]'; + return isObject(d) && objectToString(d) === '[object Date]'; } function isError$1(e) { - return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error); + return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error); } function isFunction(arg) { - return typeof arg === 'function'; + return typeof arg === 'function'; } function isPrimitive(arg) { - return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || _typeof(arg) === 'symbol' || // ES6 symbol - typeof arg === 'undefined'; + return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || _typeof(arg) === 'symbol' || // ES6 symbol + typeof arg === 'undefined'; } function isBuffer$1(maybeBuf) { - return isBuffer$2(maybeBuf); + return isBuffer$2(maybeBuf); } function objectToString(o) { - return Object.prototype.toString.call(o); + return Object.prototype.toString.call(o); } function pad(n) { - return n < 10 ? '0' + n.toString(10) : n.toString(10); + return n < 10 ? '0' + n.toString(10) : n.toString(10); } var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; // 26 Feb 16:19:34 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(' '); + var d = new Date(); + var time = [pad(d.getHours()), pad(d.getMinutes()), pad(d.getSeconds())].join(':'); + return [d.getDate(), months[d.getMonth()], time].join(' '); } // log is just a thin wrapper to console.log that prepends a timestamp function log$1() { - console.log('%s - %s', timestamp(), format$1.apply(null, arguments)); + console.log('%s - %s', timestamp(), format$1.apply(null, arguments)); } function _extend(origin, add) { - // Don't do anything if add isn't an object - if (!add || !isObject(add)) return origin; - var keys = Object.keys(add); - var i = keys.length; + // Don't do anything if add isn't an object + if (!add || !isObject(add)) return origin; + var keys = Object.keys(add); + var i = keys.length; - while (i--) { - origin[keys[i]] = add[keys[i]]; - } + while (i--) { + origin[keys[i]] = add[keys[i]]; + } - return origin; + return origin; } function hasOwnProperty(obj, prop) { - return Object.prototype.hasOwnProperty.call(obj, prop); + return Object.prototype.hasOwnProperty.call(obj, prop); } var util = { - inherits: inherits$3, - _extend: _extend, - log: log$1, - isBuffer: isBuffer$1, - isPrimitive: isPrimitive, - isFunction: isFunction, - isError: isError$1, - isDate: isDate, - isObject: isObject, - isRegExp: isRegExp, - isUndefined: isUndefined, - isSymbol: isSymbol, - isString: isString$1, - isNumber: isNumber, - isNullOrUndefined: isNullOrUndefined, - isNull: isNull, - isBoolean: isBoolean, - isArray: isArray$1, - inspect: inspect, - deprecate: deprecate$1, - format: format$1, - debuglog: debuglog + inherits: inherits$3, + _extend: _extend, + log: log$1, + isBuffer: isBuffer$1, + isPrimitive: isPrimitive, + isFunction: isFunction, + isError: isError$1, + isDate: isDate, + isObject: isObject, + isRegExp: isRegExp, + isUndefined: isUndefined, + isSymbol: isSymbol, + isString: isString$1, + isNumber: isNumber, + isNullOrUndefined: isNullOrUndefined, + isNull: isNull, + isBoolean: isBoolean, + isArray: isArray$1, + inspect: inspect, + deprecate: deprecate$1, + format: format$1, + debuglog: debuglog }; var lookup = []; @@ -7958,206 +8072,206 @@ var inited = false; function init() { - inited = true; - var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + inited = true; + var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; - for (var i = 0, len = code.length; i < len; ++i) { - lookup[i] = code[i]; - revLookup[code.charCodeAt(i)] = i; - } + 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; + revLookup['-'.charCodeAt(0)] = 62; + revLookup['_'.charCodeAt(0)] = 63; } function toByteArray(b64) { - if (!inited) { - init(); - } + if (!inited) { + init(); + } - var i, j, l, tmp, placeHolders, arr; - var len = b64.length; + var i, j, l, tmp, placeHolders, arr; + var len = b64.length; - if (len % 4 > 0) { - throw new Error('Invalid string. Length must be a multiple of 4'); - } // the number of equal signs (place holders) - // if there are two placeholders, than the two characters before it - // represent one byte - // if there is only one, then the three characters before it represent 2 bytes - // this is just a cheap hack to not do indexOf twice + if (len % 4 > 0) { + throw new Error('Invalid string. Length must be a multiple of 4'); + } // the number of equal signs (place holders) + // if there are two placeholders, than the two characters before it + // represent one byte + // if there is only one, then the three characters before it represent 2 bytes + // this is just a cheap hack to not do indexOf twice - placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0; // base64 is 4/3 + up to two characters of the original data + placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0; // base64 is 4/3 + up to two characters of the original data - arr = new Arr(len * 3 / 4 - placeHolders); // if there are placeholders, only get up to the last complete 4 chars + arr = new Arr(len * 3 / 4 - placeHolders); // if there are placeholders, only get up to the last complete 4 chars - l = placeHolders > 0 ? len - 4 : len; - var L = 0; + l = placeHolders > 0 ? len - 4 : len; + var L = 0; - for (i = 0, j = 0; i < l; i += 4, j += 3) { - tmp = revLookup[b64.charCodeAt(i)] << 18 | revLookup[b64.charCodeAt(i + 1)] << 12 | revLookup[b64.charCodeAt(i + 2)] << 6 | revLookup[b64.charCodeAt(i + 3)]; - arr[L++] = tmp >> 16 & 0xFF; - arr[L++] = tmp >> 8 & 0xFF; - arr[L++] = tmp & 0xFF; - } + for (i = 0, j = 0; i < l; i += 4, j += 3) { + tmp = revLookup[b64.charCodeAt(i)] << 18 | revLookup[b64.charCodeAt(i + 1)] << 12 | revLookup[b64.charCodeAt(i + 2)] << 6 | revLookup[b64.charCodeAt(i + 3)]; + arr[L++] = tmp >> 16 & 0xFF; + arr[L++] = tmp >> 8 & 0xFF; + arr[L++] = tmp & 0xFF; + } - if (placeHolders === 2) { - tmp = revLookup[b64.charCodeAt(i)] << 2 | revLookup[b64.charCodeAt(i + 1)] >> 4; - arr[L++] = tmp & 0xFF; - } else if (placeHolders === 1) { - tmp = revLookup[b64.charCodeAt(i)] << 10 | revLookup[b64.charCodeAt(i + 1)] << 4 | revLookup[b64.charCodeAt(i + 2)] >> 2; - arr[L++] = tmp >> 8 & 0xFF; - arr[L++] = tmp & 0xFF; - } + if (placeHolders === 2) { + tmp = revLookup[b64.charCodeAt(i)] << 2 | revLookup[b64.charCodeAt(i + 1)] >> 4; + arr[L++] = tmp & 0xFF; + } else if (placeHolders === 1) { + tmp = revLookup[b64.charCodeAt(i)] << 10 | revLookup[b64.charCodeAt(i + 1)] << 4 | revLookup[b64.charCodeAt(i + 2)] >> 2; + arr[L++] = tmp >> 8 & 0xFF; + arr[L++] = tmp & 0xFF; + } - return arr; + return arr; } function tripletToBase64(num) { - return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]; + return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]; } function encodeChunk(uint8, start, end) { - var tmp; - var output = []; + var tmp; + var output = []; - for (var i = start; i < end; i += 3) { - tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + uint8[i + 2]; - output.push(tripletToBase64(tmp)); - } + for (var i = start; i < end; i += 3) { + tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + uint8[i + 2]; + output.push(tripletToBase64(tmp)); + } - return output.join(''); + return output.join(''); } function fromByteArray(uint8) { - if (!inited) { - init(); - } + if (!inited) { + init(); + } - var tmp; - var len = uint8.length; - var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes + var tmp; + var len = uint8.length; + var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes - var output = ''; - var parts = []; - var maxChunkLength = 16383; // must be multiple of 3 - // go through the array every three bytes, we'll deal with trailing stuff later + var output = ''; + var parts = []; + var maxChunkLength = 16383; // must be multiple of 3 + // go through the array every three bytes, we'll deal with trailing stuff later - for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { - parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength)); - } // pad the end with zeros, but make sure to not forget the extra bytes + for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { + parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength)); + } // pad the end with zeros, but make sure to not forget the extra bytes - if (extraBytes === 1) { - tmp = uint8[len - 1]; - output += lookup[tmp >> 2]; - output += lookup[tmp << 4 & 0x3F]; - output += '=='; - } else if (extraBytes === 2) { - tmp = (uint8[len - 2] << 8) + uint8[len - 1]; - output += lookup[tmp >> 10]; - output += lookup[tmp >> 4 & 0x3F]; - output += lookup[tmp << 2 & 0x3F]; - output += '='; - } + if (extraBytes === 1) { + tmp = uint8[len - 1]; + output += lookup[tmp >> 2]; + output += lookup[tmp << 4 & 0x3F]; + output += '=='; + } else if (extraBytes === 2) { + tmp = (uint8[len - 2] << 8) + uint8[len - 1]; + output += lookup[tmp >> 10]; + output += lookup[tmp >> 4 & 0x3F]; + output += lookup[tmp << 2 & 0x3F]; + output += '='; + } - parts.push(output); - return parts.join(''); + parts.push(output); + return parts.join(''); } function read(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); + 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); } function write(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 & 0xff, i += d, m /= 256, mLen -= 8) {} - - e = e << mLen | m; - eLen += mLen; - - for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} - - buffer[offset + i - d] |= s * 128; + 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 & 0xff, i += d, m /= 256, mLen -= 8) {} + + e = e << mLen | m; + eLen += mLen; + + for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} + + buffer[offset + i - d] |= s * 128; } var toString$1 = {}.toString; var isArray = Array.isArray || function (arr) { - return toString$1.call(arr) == '[object Array]'; + return toString$1.call(arr) == '[object Array]'; }; /*! * The buffer module from node.js, for the browser. @@ -8196,28 +8310,28 @@ Buffer.TYPED_ARRAY_SUPPORT = global$1.TYPED_ARRAY_SUPPORT !== undefined ? global$1.TYPED_ARRAY_SUPPORT : true; function kMaxLength() { - return Buffer.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff; + return Buffer.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff; } function createBuffer(that, length) { - if (kMaxLength() < length) { - throw new RangeError('Invalid typed array length'); - } + if (kMaxLength() < length) { + throw new RangeError('Invalid typed array length'); + } - if (Buffer.TYPED_ARRAY_SUPPORT) { - // Return an augmented `Uint8Array` instance, for best performance - that = new Uint8Array(length); - that.__proto__ = Buffer.prototype; - } else { - // Fallback: Return an object instance of the Buffer class - if (that === null) { - that = new Buffer(length); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = new Uint8Array(length); + that.__proto__ = Buffer.prototype; + } else { + // Fallback: Return an object instance of the Buffer class + if (that === null) { + that = new Buffer(length); + } - that.length = length; - } + that.length = length; + } - return that; + return that; } /** * The Buffer constructor returns instances of `Uint8Array` that have their @@ -8231,44 +8345,44 @@ function Buffer(arg, encodingOrOffset, length) { - if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) { - return new Buffer(arg, encodingOrOffset, length); - } // Common case. + if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) { + return new Buffer(arg, encodingOrOffset, length); + } // Common case. - if (typeof arg === 'number') { - if (typeof encodingOrOffset === 'string') { - throw new Error('If encoding is specified then the first argument must be a string'); - } + if (typeof arg === 'number') { + if (typeof encodingOrOffset === 'string') { + throw new Error('If encoding is specified then the first argument must be a string'); + } - return allocUnsafe(this, arg); - } + return allocUnsafe(this, arg); + } - return from(this, arg, encodingOrOffset, length); + return from(this, arg, encodingOrOffset, length); } Buffer.poolSize = 8192; // not used by this implementation // TODO: Legacy, not needed anymore. Remove in next major version. Buffer._augment = function (arr) { - arr.__proto__ = Buffer.prototype; - return arr; + arr.__proto__ = Buffer.prototype; + return arr; }; function from(that, value, encodingOrOffset, length) { - if (typeof value === 'number') { - throw new TypeError('"value" argument must not be a number'); - } + if (typeof value === 'number') { + throw new TypeError('"value" argument must not be a number'); + } - if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { - return fromArrayBuffer(that, value, encodingOrOffset, length); - } + if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { + return fromArrayBuffer(that, value, encodingOrOffset, length); + } - if (typeof value === 'string') { - return fromString(that, value, encodingOrOffset); - } + if (typeof value === 'string') { + return fromString(that, value, encodingOrOffset); + } - return fromObject(that, value); + return fromObject(that, value); } /** * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError @@ -8281,37 +8395,37 @@ Buffer.from = function (value, encodingOrOffset, length) { - return from(null, value, encodingOrOffset, length); + return from(null, value, encodingOrOffset, length); }; if (Buffer.TYPED_ARRAY_SUPPORT) { - Buffer.prototype.__proto__ = Uint8Array.prototype; - Buffer.__proto__ = Uint8Array; + Buffer.prototype.__proto__ = Uint8Array.prototype; + Buffer.__proto__ = Uint8Array; } function assertSize(size) { - if (typeof size !== 'number') { - throw new TypeError('"size" argument must be a number'); - } else if (size < 0) { - throw new RangeError('"size" argument must not be negative'); - } + if (typeof size !== 'number') { + throw new TypeError('"size" argument must be a number'); + } else if (size < 0) { + throw new RangeError('"size" argument must not be negative'); + } } function alloc(that, size, fill, encoding) { - assertSize(size); + assertSize(size); - if (size <= 0) { - return createBuffer(that, size); - } + if (size <= 0) { + return createBuffer(that, size); + } - if (fill !== undefined) { - // Only pay attention to encoding if it's a string. This - // prevents accidentally sending in a number that would - // be interpretted as a start offset. - return typeof encoding === 'string' ? createBuffer(that, size).fill(fill, encoding) : createBuffer(that, size).fill(fill); - } + if (fill !== undefined) { + // Only pay attention to encoding if it's a string. This + // prevents accidentally sending in a number that would + // be interpretted as a start offset. + return typeof encoding === 'string' ? createBuffer(that, size).fill(fill, encoding) : createBuffer(that, size).fill(fill); + } - return createBuffer(that, size); + return createBuffer(that, size); } /** * Creates a new filled Buffer instance. @@ -8320,20 +8434,20 @@ Buffer.alloc = function (size, fill, encoding) { - return alloc(null, size, fill, encoding); + return alloc(null, size, fill, encoding); }; function allocUnsafe(that, size) { - assertSize(size); - that = createBuffer(that, size < 0 ? 0 : checked(size) | 0); + assertSize(size); + that = createBuffer(that, size < 0 ? 0 : checked(size) | 0); - if (!Buffer.TYPED_ARRAY_SUPPORT) { - for (var i = 0; i < size; ++i) { - that[i] = 0; - } - } + if (!Buffer.TYPED_ARRAY_SUPPORT) { + for (var i = 0; i < size; ++i) { + that[i] = 0; + } + } - return that; + return that; } /** * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. @@ -8341,7 +8455,7 @@ Buffer.allocUnsafe = function (size) { - return allocUnsafe(null, size); + return allocUnsafe(null, size); }; /** * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. @@ -8349,318 +8463,318 @@ Buffer.allocUnsafeSlow = function (size) { - return allocUnsafe(null, size); + return allocUnsafe(null, size); }; function fromString(that, string, encoding) { - if (typeof encoding !== 'string' || encoding === '') { - encoding = 'utf8'; - } + if (typeof encoding !== 'string' || encoding === '') { + encoding = 'utf8'; + } - if (!Buffer.isEncoding(encoding)) { - throw new TypeError('"encoding" must be a valid string encoding'); - } + if (!Buffer.isEncoding(encoding)) { + throw new TypeError('"encoding" must be a valid string encoding'); + } - var length = byteLength(string, encoding) | 0; - that = createBuffer(that, length); - var actual = that.write(string, encoding); + var length = byteLength(string, encoding) | 0; + that = createBuffer(that, length); + var actual = that.write(string, encoding); - if (actual !== length) { - // Writing a hex string, for example, that contains invalid characters will - // cause everything after the first invalid character to be ignored. (e.g. - // 'abxxcd' will be treated as 'ab') - that = that.slice(0, actual); - } + if (actual !== length) { + // Writing a hex string, for example, that contains invalid characters will + // cause everything after the first invalid character to be ignored. (e.g. + // 'abxxcd' will be treated as 'ab') + that = that.slice(0, actual); + } - return that; + return that; } function fromArrayLike(that, array) { - var length = array.length < 0 ? 0 : checked(array.length) | 0; - that = createBuffer(that, length); + var length = array.length < 0 ? 0 : checked(array.length) | 0; + that = createBuffer(that, length); - for (var i = 0; i < length; i += 1) { - that[i] = array[i] & 255; - } + for (var i = 0; i < length; i += 1) { + that[i] = array[i] & 255; + } - return that; + return that; } function fromArrayBuffer(that, array, byteOffset, length) { - array.byteLength; // this throws if `array` is not a valid ArrayBuffer + array.byteLength; // this throws if `array` is not a valid ArrayBuffer - if (byteOffset < 0 || array.byteLength < byteOffset) { - throw new RangeError('\'offset\' is out of bounds'); - } + if (byteOffset < 0 || array.byteLength < byteOffset) { + throw new RangeError('\'offset\' is out of bounds'); + } - if (array.byteLength < byteOffset + (length || 0)) { - throw new RangeError('\'length\' is out of bounds'); - } + if (array.byteLength < byteOffset + (length || 0)) { + throw new RangeError('\'length\' is out of bounds'); + } - if (byteOffset === undefined && length === undefined) { - array = new Uint8Array(array); - } else if (length === undefined) { - array = new Uint8Array(array, byteOffset); - } else { - array = new Uint8Array(array, byteOffset, length); - } + if (byteOffset === undefined && length === undefined) { + array = new Uint8Array(array); + } else if (length === undefined) { + array = new Uint8Array(array, byteOffset); + } else { + array = new Uint8Array(array, byteOffset, length); + } - if (Buffer.TYPED_ARRAY_SUPPORT) { - // Return an augmented `Uint8Array` instance, for best performance - that = array; - that.__proto__ = Buffer.prototype; - } else { - // Fallback: Return an object instance of the Buffer class - that = fromArrayLike(that, array); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + // Return an augmented `Uint8Array` instance, for best performance + that = array; + that.__proto__ = Buffer.prototype; + } else { + // Fallback: Return an object instance of the Buffer class + that = fromArrayLike(that, array); + } - return that; + return that; } function fromObject(that, obj) { - if (internalIsBuffer(obj)) { - var len = checked(obj.length) | 0; - that = createBuffer(that, len); + if (internalIsBuffer(obj)) { + var len = checked(obj.length) | 0; + that = createBuffer(that, len); - if (that.length === 0) { - return that; - } + if (that.length === 0) { + return that; + } - obj.copy(that, 0, 0, len); - return that; - } + obj.copy(that, 0, 0, len); + return that; + } - if (obj) { - if (typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer || 'length' in obj) { - if (typeof obj.length !== 'number' || isnan(obj.length)) { - return createBuffer(that, 0); - } + if (obj) { + if (typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer || 'length' in obj) { + if (typeof obj.length !== 'number' || isnan(obj.length)) { + return createBuffer(that, 0); + } - return fromArrayLike(that, obj); - } + return fromArrayLike(that, obj); + } - if (obj.type === 'Buffer' && isArray(obj.data)) { - return fromArrayLike(that, obj.data); - } - } + if (obj.type === 'Buffer' && isArray(obj.data)) { + return fromArrayLike(that, obj.data); + } + } - throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.'); + throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.'); } function checked(length) { - // Note: cannot use `length < kMaxLength()` here because that fails when - // length is NaN (which is otherwise coerced to zero.) - if (length >= kMaxLength()) { - throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength().toString(16) + ' bytes'); - } + // Note: cannot use `length < kMaxLength()` here because that fails when + // length is NaN (which is otherwise coerced to zero.) + if (length >= kMaxLength()) { + throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength().toString(16) + ' bytes'); + } - return length | 0; + return length | 0; } Buffer.isBuffer = isBuffer; function internalIsBuffer(b) { - return !!(b != null && b._isBuffer); + return !!(b != null && b._isBuffer); } Buffer.compare = function compare(a, b) { - if (!internalIsBuffer(a) || !internalIsBuffer(b)) { - throw new TypeError('Arguments must be Buffers'); - } + if (!internalIsBuffer(a) || !internalIsBuffer(b)) { + throw new TypeError('Arguments must be Buffers'); + } - if (a === b) return 0; - var x = a.length; - var y = b.length; + 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; - } - } + 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; + 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; - } + switch (String(encoding).toLowerCase()) { + case 'hex': + case 'utf8': + case 'utf-8': + case 'ascii': + case 'latin1': + case 'binary': + case 'base64': + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return true; + + default: + return false; + } }; Buffer.concat = function concat(list, length) { - if (!isArray(list)) { - throw new TypeError('"list" argument must be an Array of Buffers'); - } + if (!isArray(list)) { + throw new TypeError('"list" argument must be an Array of Buffers'); + } - if (list.length === 0) { - return Buffer.alloc(0); - } + if (list.length === 0) { + return Buffer.alloc(0); + } - var i; + var i; - if (length === undefined) { - length = 0; + if (length === undefined) { + length = 0; - for (i = 0; i < list.length; ++i) { - length += list[i].length; - } - } + for (i = 0; i < list.length; ++i) { + length += list[i].length; + } + } - var buffer = Buffer.allocUnsafe(length); - var pos = 0; + var buffer = Buffer.allocUnsafe(length); + var pos = 0; - for (i = 0; i < list.length; ++i) { - var buf = list[i]; + for (i = 0; i < list.length; ++i) { + var buf = list[i]; - if (!internalIsBuffer(buf)) { - throw new TypeError('"list" argument must be an Array of Buffers'); - } + if (!internalIsBuffer(buf)) { + throw new TypeError('"list" argument must be an Array of Buffers'); + } - buf.copy(buffer, pos); - pos += buf.length; - } + buf.copy(buffer, pos); + pos += buf.length; + } - return buffer; + return buffer; }; function byteLength(string, encoding) { - if (internalIsBuffer(string)) { - return string.length; - } + if (internalIsBuffer(string)) { + return string.length; + } - if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { - return string.byteLength; - } + if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { + return string.byteLength; + } - if (typeof string !== 'string') { - string = '' + string; - } + if (typeof string !== 'string') { + string = '' + string; + } - var len = string.length; - if (len === 0) return 0; // Use a for loop to avoid recursion + var len = string.length; + if (len === 0) return 0; // Use a for loop to avoid recursion - var loweredCase = false; + var loweredCase = false; - for (;;) { - switch (encoding) { - case 'ascii': - case 'latin1': - case 'binary': - return len; + for (;;) { + switch (encoding) { + case 'ascii': + case 'latin1': + case 'binary': + return len; - case 'utf8': - case 'utf-8': - case undefined: - return utf8ToBytes(string).length; + case 'utf8': + case 'utf-8': + case undefined: + return utf8ToBytes(string).length; - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': - return len * 2; + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return len * 2; - case 'hex': - return len >>> 1; + case 'hex': + return len >>> 1; - case 'base64': - return base64ToBytes(string).length; + case 'base64': + return base64ToBytes(string).length; - default: - if (loweredCase) return utf8ToBytes(string).length; // assume utf8 + default: + if (loweredCase) return utf8ToBytes(string).length; // assume utf8 - encoding = ('' + encoding).toLowerCase(); - loweredCase = true; - } - } + encoding = ('' + encoding).toLowerCase(); + loweredCase = true; + } + } } Buffer.byteLength = byteLength; function slowToString(encoding, start, end) { - var loweredCase = false; // No need to verify that "this.length <= MAX_UINT32" since it's a read-only - // property of a typed array. - // This behaves neither like String nor Uint8Array in that we set start/end - // to their upper/lower bounds if the value passed is out of range. - // undefined is handled specially as per ECMA-262 6th Edition, - // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. + var loweredCase = false; // No need to verify that "this.length <= MAX_UINT32" since it's a read-only + // property of a typed array. + // This behaves neither like String nor Uint8Array in that we set start/end + // to their upper/lower bounds if the value passed is out of range. + // undefined is handled specially as per ECMA-262 6th Edition, + // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. - if (start === undefined || start < 0) { - start = 0; - } // Return early if start > this.length. Done here to prevent potential uint32 - // coercion fail below. + if (start === undefined || start < 0) { + start = 0; + } // Return early if start > this.length. Done here to prevent potential uint32 + // coercion fail below. - if (start > this.length) { - return ''; - } + if (start > this.length) { + return ''; + } - if (end === undefined || end > this.length) { - end = this.length; - } + if (end === undefined || end > this.length) { + end = this.length; + } - if (end <= 0) { - return ''; - } // Force coersion to uint32. This will also coerce falsey/NaN values to 0. + if (end <= 0) { + return ''; + } // Force coersion to uint32. This will also coerce falsey/NaN values to 0. - end >>>= 0; - start >>>= 0; + end >>>= 0; + start >>>= 0; - if (end <= start) { - return ''; - } + if (end <= start) { + return ''; + } - if (!encoding) encoding = 'utf8'; + if (!encoding) encoding = 'utf8'; - while (true) { - switch (encoding) { - case 'hex': - return hexSlice(this, start, end); + while (true) { + switch (encoding) { + case 'hex': + return hexSlice(this, start, end); - case 'utf8': - case 'utf-8': - return utf8Slice(this, start, end); + case 'utf8': + case 'utf-8': + return utf8Slice(this, start, end); - case 'ascii': - return asciiSlice(this, start, end); + case 'ascii': + return asciiSlice(this, start, end); - case 'latin1': - case 'binary': - return latin1Slice(this, start, end); + case 'latin1': + case 'binary': + return latin1Slice(this, start, end); - case 'base64': - return base64Slice(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); + 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; - } - } + default: + if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding); + encoding = (encoding + '').toLowerCase(); + loweredCase = true; + } + } } // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect // Buffer instances. @@ -8668,141 +8782,141 @@ Buffer.prototype._isBuffer = true; function swap(b, n, m) { - var i = b[n]; - b[n] = b[m]; - b[m] = i; + var i = b[n]; + b[n] = b[m]; + b[m] = i; } Buffer.prototype.swap16 = function swap16() { - var len = this.length; + var len = this.length; - if (len % 2 !== 0) { - throw new RangeError('Buffer size must be a multiple of 16-bits'); - } + 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); - } + for (var i = 0; i < len; i += 2) { + swap(this, i, i + 1); + } - return this; + return this; }; Buffer.prototype.swap32 = function swap32() { - var len = this.length; + var len = this.length; - if (len % 4 !== 0) { - throw new RangeError('Buffer size must be a multiple of 32-bits'); - } + 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); - } + for (var i = 0; i < len; i += 4) { + swap(this, i, i + 3); + swap(this, i + 1, i + 2); + } - return this; + return this; }; Buffer.prototype.swap64 = function swap64() { - var len = this.length; + var len = this.length; - if (len % 8 !== 0) { - throw new RangeError('Buffer size must be a multiple of 64-bits'); - } + 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); - } + 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; + return this; }; Buffer.prototype.toString = function toString() { - var length = this.length | 0; - if (length === 0) return ''; - if (arguments.length === 0) return utf8Slice(this, 0, length); - return slowToString.apply(this, arguments); + var length = this.length | 0; + if (length === 0) return ''; + if (arguments.length === 0) return utf8Slice(this, 0, length); + return slowToString.apply(this, arguments); }; Buffer.prototype.equals = function equals(b) { - if (!internalIsBuffer(b)) throw new TypeError('Argument must be a Buffer'); - if (this === b) return true; - return Buffer.compare(this, b) === 0; + if (!internalIsBuffer(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 = INSPECT_MAX_BYTES; + var str = ''; + var max = INSPECT_MAX_BYTES; - if (this.length > 0) { - str = this.toString('hex', 0, max).match(/.{2}/g).join(' '); - if (this.length > max) str += ' ... '; - } + if (this.length > 0) { + str = this.toString('hex', 0, max).match(/.{2}/g).join(' '); + if (this.length > max) str += ' ... '; + } - return '<Buffer ' + str + '>'; + return '<Buffer ' + str + '>'; }; Buffer.prototype.compare = function compare(target, start, end, thisStart, thisEnd) { - if (!internalIsBuffer(target)) { - throw new TypeError('Argument must be a Buffer'); - } - - 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; + if (!internalIsBuffer(target)) { + throw new TypeError('Argument must be a Buffer'); + } + + 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; }; // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, // OR the last index of `val` in `buffer` at offset <= `byteOffset`. // @@ -8815,354 +8929,354 @@ function bidirectionalIndexOf(buffer, val, byteOffset, encoding, dir) { - // Empty buffer means no match - if (buffer.length === 0) return -1; // Normalize byteOffset + // Empty buffer means no match + if (buffer.length === 0) return -1; // Normalize byteOffset - if (typeof byteOffset === 'string') { - encoding = byteOffset; - byteOffset = 0; - } else if (byteOffset > 0x7fffffff) { - byteOffset = 0x7fffffff; - } else if (byteOffset < -0x80000000) { - byteOffset = -0x80000000; - } + if (typeof byteOffset === 'string') { + encoding = byteOffset; + byteOffset = 0; + } else if (byteOffset > 0x7fffffff) { + byteOffset = 0x7fffffff; + } else if (byteOffset < -0x80000000) { + byteOffset = -0x80000000; + } - byteOffset = +byteOffset; // Coerce to Number. + byteOffset = +byteOffset; // Coerce to Number. - if (isNaN(byteOffset)) { - // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer - byteOffset = dir ? 0 : buffer.length - 1; - } // Normalize byteOffset: negative offsets start from the end of the buffer + if (isNaN(byteOffset)) { + // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer + byteOffset = dir ? 0 : buffer.length - 1; + } // Normalize byteOffset: negative offsets start from the end of the buffer - if (byteOffset < 0) byteOffset = buffer.length + byteOffset; + 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; - } // Normalize val + if (byteOffset >= buffer.length) { + if (dir) return -1;else byteOffset = buffer.length - 1; + } else if (byteOffset < 0) { + if (dir) byteOffset = 0;else return -1; + } // Normalize val - if (typeof val === 'string') { - val = Buffer.from(val, encoding); - } // Finally, search either indexOf (if dir is true) or lastIndexOf + if (typeof val === 'string') { + val = Buffer.from(val, encoding); + } // Finally, search either indexOf (if dir is true) or lastIndexOf - if (internalIsBuffer(val)) { - // Special case: looking for empty string/buffer always fails - if (val.length === 0) { - return -1; - } + if (internalIsBuffer(val)) { + // Special case: looking for empty string/buffer always fails + if (val.length === 0) { + return -1; + } - return arrayIndexOf(buffer, val, byteOffset, encoding, dir); - } else if (typeof val === 'number') { - val = val & 0xFF; // Search for a byte value [0-255] + return arrayIndexOf(buffer, val, byteOffset, encoding, dir); + } else if (typeof val === 'number') { + val = val & 0xFF; // Search for a byte value [0-255] - if (Buffer.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf === 'function') { - if (dir) { - return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset); - } else { - return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset); - } - } + if (Buffer.TYPED_ARRAY_SUPPORT && 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); - } + return arrayIndexOf(buffer, [val], byteOffset, encoding, dir); + } - throw new TypeError('val must be string, number or Buffer'); + 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; + 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; + return this.indexOf(val, byteOffset, encoding) !== -1; }; Buffer.prototype.indexOf = function indexOf(val, byteOffset, encoding) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, true); + return bidirectionalIndexOf(this, val, byteOffset, encoding, true); }; Buffer.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) { - return bidirectionalIndexOf(this, val, byteOffset, encoding, false); + return bidirectionalIndexOf(this, val, byteOffset, encoding, false); }; function hexWrite(buf, string, offset, length) { - offset = Number(offset) || 0; - var remaining = buf.length - offset; + offset = Number(offset) || 0; + var remaining = buf.length - offset; - if (!length) { - length = remaining; - } else { - length = Number(length); + if (!length) { + length = remaining; + } else { + length = Number(length); - if (length > remaining) { - length = remaining; - } - } // must be an even number of digits + if (length > remaining) { + length = remaining; + } + } // must be an even number of digits - var strLen = string.length; - if (strLen % 2 !== 0) throw new TypeError('Invalid hex string'); + var strLen = string.length; + if (strLen % 2 !== 0) throw new TypeError('Invalid hex string'); - if (length > strLen / 2) { - length = strLen / 2; - } + if (length > strLen / 2) { + length = strLen / 2; + } - for (var i = 0; i < length; ++i) { - var parsed = parseInt(string.substr(i * 2, 2), 16); - if (isNaN(parsed)) return i; - buf[offset + i] = parsed; - } + for (var i = 0; i < length; ++i) { + var parsed = parseInt(string.substr(i * 2, 2), 16); + if (isNaN(parsed)) return i; + buf[offset + i] = parsed; + } - return i; + return i; } function utf8Write(buf, string, offset, length) { - return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, 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); + return blitBuffer(asciiToBytes(string), buf, offset, length); } function latin1Write(buf, string, offset, length) { - return asciiWrite(buf, string, offset, length); + return asciiWrite(buf, string, offset, length); } function base64Write(buf, string, offset, length) { - return blitBuffer(base64ToBytes(string), buf, 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); + return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length); } Buffer.prototype.write = function write(string, offset, length, encoding) { - // Buffer#write(string) - if (offset === undefined) { - encoding = 'utf8'; - length = this.length; - offset = 0; // Buffer#write(string, encoding) - } else if (length === undefined && typeof offset === 'string') { - encoding = offset; - length = this.length; - offset = 0; // Buffer#write(string, offset[, length][, encoding]) - } else if (isFinite(offset)) { - offset = offset | 0; - - if (isFinite(length)) { - length = length | 0; - if (encoding === undefined) encoding = 'utf8'; - } else { - encoding = length; - length = undefined; - } // legacy write(string, encoding, offset, length) - remove in v0.13 - - } 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': - // Warning: maxLength not taken into account in base64Write - 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#write(string) + if (offset === undefined) { + encoding = 'utf8'; + length = this.length; + offset = 0; // Buffer#write(string, encoding) + } else if (length === undefined && typeof offset === 'string') { + encoding = offset; + length = this.length; + offset = 0; // Buffer#write(string, offset[, length][, encoding]) + } else if (isFinite(offset)) { + offset = offset | 0; + + if (isFinite(length)) { + length = length | 0; + if (encoding === undefined) encoding = 'utf8'; + } else { + encoding = length; + length = undefined; + } // legacy write(string, encoding, offset, length) - remove in v0.13 + + } 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': + // Warning: maxLength not taken into account in base64Write + 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) - }; + return { + type: 'Buffer', + data: Array.prototype.slice.call(this._arr || this, 0) + }; }; function base64Slice(buf, start, end) { - if (start === 0 && end === buf.length) { - return fromByteArray(buf); - } else { - return fromByteArray(buf.slice(start, end)); - } + if (start === 0 && end === buf.length) { + return fromByteArray(buf); + } else { + return 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 > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1; - - if (i + bytesPerSequence <= end) { - var secondByte, thirdByte, fourthByte, tempCodePoint; - - switch (bytesPerSequence) { - case 1: - if (firstByte < 0x80) { - codePoint = firstByte; - } - - break; - - case 2: - secondByte = buf[i + 1]; - - if ((secondByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0x1F) << 0x6 | secondByte & 0x3F; - - if (tempCodePoint > 0x7F) { - codePoint = tempCodePoint; - } - } - - break; - - case 3: - secondByte = buf[i + 1]; - thirdByte = buf[i + 2]; - - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | thirdByte & 0x3F; - - if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { - codePoint = tempCodePoint; - } - } - - break; - - case 4: - secondByte = buf[i + 1]; - thirdByte = buf[i + 2]; - fourthByte = buf[i + 3]; - - if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { - tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | fourthByte & 0x3F; - - if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { - codePoint = tempCodePoint; - } - } - - } - } - - if (codePoint === null) { - // we did not generate a valid codePoint so insert a - // replacement char (U+FFFD) and advance only 1 byte - codePoint = 0xFFFD; - bytesPerSequence = 1; - } else if (codePoint > 0xFFFF) { - // encode to utf16 (surrogate pair dance) - codePoint -= 0x10000; - res.push(codePoint >>> 10 & 0x3FF | 0xD800); - codePoint = 0xDC00 | codePoint & 0x3FF; - } - - res.push(codePoint); - i += bytesPerSequence; - } - - return decodeCodePointsArray(res); + end = Math.min(buf.length, end); + var res = []; + var i = start; + + while (i < end) { + var firstByte = buf[i]; + var codePoint = null; + var bytesPerSequence = firstByte > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1; + + if (i + bytesPerSequence <= end) { + var secondByte, thirdByte, fourthByte, tempCodePoint; + + switch (bytesPerSequence) { + case 1: + if (firstByte < 0x80) { + codePoint = firstByte; + } + + break; + + case 2: + secondByte = buf[i + 1]; + + if ((secondByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0x1F) << 0x6 | secondByte & 0x3F; + + if (tempCodePoint > 0x7F) { + codePoint = tempCodePoint; + } + } + + break; + + case 3: + secondByte = buf[i + 1]; + thirdByte = buf[i + 2]; + + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | thirdByte & 0x3F; + + if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { + codePoint = tempCodePoint; + } + } + + break; + + case 4: + secondByte = buf[i + 1]; + thirdByte = buf[i + 2]; + fourthByte = buf[i + 3]; + + if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { + tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | fourthByte & 0x3F; + + if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { + codePoint = tempCodePoint; + } + } + + } + } + + if (codePoint === null) { + // we did not generate a valid codePoint so insert a + // replacement char (U+FFFD) and advance only 1 byte + codePoint = 0xFFFD; + bytesPerSequence = 1; + } else if (codePoint > 0xFFFF) { + // encode to utf16 (surrogate pair dance) + codePoint -= 0x10000; + res.push(codePoint >>> 10 & 0x3FF | 0xD800); + codePoint = 0xDC00 | codePoint & 0x3FF; + } + + res.push(codePoint); + i += bytesPerSequence; + } + + return decodeCodePointsArray(res); } // Based on http://stackoverflow.com/a/22747272/680742, the browser with // the lowest limit is Chrome, with 0x10000 args. // We go 1 magnitude less, for safety @@ -9171,104 +9285,104 @@ var MAX_ARGUMENTS_LENGTH = 0x1000; function decodeCodePointsArray(codePoints) { - var len = codePoints.length; + var len = codePoints.length; - if (len <= MAX_ARGUMENTS_LENGTH) { - return String.fromCharCode.apply(String, codePoints); // avoid extra slice() - } // Decode in chunks to avoid "call stack size exceeded". + if (len <= MAX_ARGUMENTS_LENGTH) { + return String.fromCharCode.apply(String, codePoints); // avoid extra slice() + } // Decode in chunks to avoid "call stack size exceeded". - var res = ''; - var i = 0; + var res = ''; + var i = 0; - while (i < len) { - res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)); - } + while (i < len) { + res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)); + } - return res; + return res; } function asciiSlice(buf, start, end) { - var ret = ''; - end = Math.min(buf.length, end); + var ret = ''; + end = Math.min(buf.length, end); - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i] & 0x7F); - } + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i] & 0x7F); + } - return ret; + return ret; } function latin1Slice(buf, start, end) { - var ret = ''; - end = Math.min(buf.length, end); + var ret = ''; + end = Math.min(buf.length, end); - for (var i = start; i < end; ++i) { - ret += String.fromCharCode(buf[i]); - } + for (var i = start; i < end; ++i) { + ret += String.fromCharCode(buf[i]); + } - return ret; + 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 = ''; + 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]); - } + for (var i = start; i < end; ++i) { + out += toHex(buf[i]); + } - return out; + return out; } function utf16leSlice(buf, start, end) { - var bytes = buf.slice(start, end); - var res = ''; + 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); - } + for (var i = 0; i < bytes.length; i += 2) { + res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256); + } - return res; + 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; - - if (Buffer.TYPED_ARRAY_SUPPORT) { - newBuf = this.subarray(start, end); - newBuf.__proto__ = Buffer.prototype; - } else { - var sliceLen = end - start; - newBuf = new Buffer(sliceLen, undefined); - - for (var i = 0; i < sliceLen; ++i) { - newBuf[i] = this[i + start]; - } - } - - return newBuf; + 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; + + if (Buffer.TYPED_ARRAY_SUPPORT) { + newBuf = this.subarray(start, end); + newBuf.__proto__ = Buffer.prototype; + } else { + var sliceLen = end - start; + newBuf = new Buffer(sliceLen, undefined); + + for (var i = 0; i < sliceLen; ++i) { + newBuf[i] = this[i + start]; + } + } + + return newBuf; }; /* * Need to make sure that buffer isn't trying to write out of bounds. @@ -9276,493 +9390,493 @@ 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'); + 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; + 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 *= 0x100)) { - val += this[offset + i] * mul; - } + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul; + } - return val; + return val; }; Buffer.prototype.readUIntBE = function readUIntBE(offset, byteLength, noAssert) { - offset = offset | 0; - byteLength = byteLength | 0; + offset = offset | 0; + byteLength = byteLength | 0; - if (!noAssert) { - checkOffset(offset, byteLength, this.length); - } + if (!noAssert) { + checkOffset(offset, byteLength, this.length); + } - var val = this[offset + --byteLength]; - var mul = 1; + var val = this[offset + --byteLength]; + var mul = 1; - while (byteLength > 0 && (mul *= 0x100)) { - val += this[offset + --byteLength] * mul; - } + while (byteLength > 0 && (mul *= 0x100)) { + val += this[offset + --byteLength] * mul; + } - return val; + return val; }; Buffer.prototype.readUInt8 = function readUInt8(offset, noAssert) { - if (!noAssert) checkOffset(offset, 1, this.length); - return this[offset]; + if (!noAssert) checkOffset(offset, 1, this.length); + return this[offset]; }; Buffer.prototype.readUInt16LE = function readUInt16LE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length); - return this[offset] | this[offset + 1] << 8; + if (!noAssert) checkOffset(offset, 2, this.length); + return this[offset] | this[offset + 1] << 8; }; Buffer.prototype.readUInt16BE = function readUInt16BE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length); - return this[offset] << 8 | this[offset + 1]; + if (!noAssert) checkOffset(offset, 2, this.length); + return this[offset] << 8 | this[offset + 1]; }; Buffer.prototype.readUInt32LE = function readUInt32LE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length); - return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 0x1000000; + if (!noAssert) checkOffset(offset, 4, this.length); + return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + this[offset + 3] * 0x1000000; }; Buffer.prototype.readUInt32BE = function readUInt32BE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length); - return this[offset] * 0x1000000 + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]); + if (!noAssert) checkOffset(offset, 4, this.length); + return this[offset] * 0x1000000 + (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; + 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 *= 0x100)) { - val += this[offset + i] * mul; - } + while (++i < byteLength && (mul *= 0x100)) { + val += this[offset + i] * mul; + } - mul *= 0x80; - if (val >= mul) val -= Math.pow(2, 8 * byteLength); - return val; + mul *= 0x80; + 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]; + 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 *= 0x100)) { - val += this[offset + --i] * mul; - } + while (i > 0 && (mul *= 0x100)) { + val += this[offset + --i] * mul; + } - mul *= 0x80; - if (val >= mul) val -= Math.pow(2, 8 * byteLength); - return val; + mul *= 0x80; + if (val >= mul) val -= Math.pow(2, 8 * byteLength); + return val; }; Buffer.prototype.readInt8 = function readInt8(offset, noAssert) { - if (!noAssert) checkOffset(offset, 1, this.length); - if (!(this[offset] & 0x80)) return this[offset]; - return (0xff - this[offset] + 1) * -1; + if (!noAssert) checkOffset(offset, 1, this.length); + if (!(this[offset] & 0x80)) return this[offset]; + return (0xff - this[offset] + 1) * -1; }; Buffer.prototype.readInt16LE = function readInt16LE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length); - var val = this[offset] | this[offset + 1] << 8; - return val & 0x8000 ? val | 0xFFFF0000 : val; + if (!noAssert) checkOffset(offset, 2, this.length); + var val = this[offset] | this[offset + 1] << 8; + return val & 0x8000 ? val | 0xFFFF0000 : val; }; Buffer.prototype.readInt16BE = function readInt16BE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 2, this.length); - var val = this[offset + 1] | this[offset] << 8; - return val & 0x8000 ? val | 0xFFFF0000 : val; + if (!noAssert) checkOffset(offset, 2, this.length); + var val = this[offset + 1] | this[offset] << 8; + return val & 0x8000 ? val | 0xFFFF0000 : val; }; Buffer.prototype.readInt32LE = function readInt32LE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length); - return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24; + 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) { - if (!noAssert) checkOffset(offset, 4, this.length); - return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]; + 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) { - if (!noAssert) checkOffset(offset, 4, this.length); - return read(this, offset, true, 23, 4); + if (!noAssert) checkOffset(offset, 4, this.length); + return read(this, offset, true, 23, 4); }; Buffer.prototype.readFloatBE = function readFloatBE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 4, this.length); - return read(this, offset, false, 23, 4); + if (!noAssert) checkOffset(offset, 4, this.length); + return read(this, offset, false, 23, 4); }; Buffer.prototype.readDoubleLE = function readDoubleLE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 8, this.length); - return read(this, offset, true, 52, 8); + if (!noAssert) checkOffset(offset, 8, this.length); + return read(this, offset, true, 52, 8); }; Buffer.prototype.readDoubleBE = function readDoubleBE(offset, noAssert) { - if (!noAssert) checkOffset(offset, 8, this.length); - return read(this, offset, false, 52, 8); + if (!noAssert) checkOffset(offset, 8, this.length); + return read(this, offset, false, 52, 8); }; function checkInt(buf, value, offset, ext, max, min) { - if (!internalIsBuffer(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'); + if (!internalIsBuffer(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; + 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); - } + 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 & 0xFF; + var mul = 1; + var i = 0; + this[offset] = value & 0xFF; - while (++i < byteLength && (mul *= 0x100)) { - this[offset + i] = value / mul & 0xFF; - } + while (++i < byteLength && (mul *= 0x100)) { + this[offset + i] = value / mul & 0xFF; + } - return offset + byteLength; + return offset + byteLength; }; Buffer.prototype.writeUIntBE = function writeUIntBE(value, offset, byteLength, noAssert) { - value = +value; - offset = offset | 0; - byteLength = byteLength | 0; + 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); - } + 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 & 0xFF; + var i = byteLength - 1; + var mul = 1; + this[offset + i] = value & 0xFF; - while (--i >= 0 && (mul *= 0x100)) { - this[offset + i] = value / mul & 0xFF; - } + while (--i >= 0 && (mul *= 0x100)) { + this[offset + i] = value / mul & 0xFF; + } - return offset + byteLength; + return offset + byteLength; }; Buffer.prototype.writeUInt8 = function writeUInt8(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0); - if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value); - this[offset] = value & 0xff; - return offset + 1; + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0); + if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value); + this[offset] = value & 0xff; + return offset + 1; }; function objectWriteUInt16(buf, value, offset, littleEndian) { - if (value < 0) value = 0xffff + value + 1; + if (value < 0) value = 0xffff + value + 1; - for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { - buf[offset + i] = (value & 0xff << 8 * (littleEndian ? i : 1 - i)) >>> (littleEndian ? i : 1 - i) * 8; - } + for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { + buf[offset + i] = (value & 0xff << 8 * (littleEndian ? i : 1 - i)) >>> (littleEndian ? i : 1 - i) * 8; + } } Buffer.prototype.writeUInt16LE = function writeUInt16LE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0); - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value & 0xff; - this[offset + 1] = value >>> 8; - } else { - objectWriteUInt16(this, value, offset, true); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + } else { + objectWriteUInt16(this, value, offset, true); + } - return offset + 2; + return offset + 2; }; Buffer.prototype.writeUInt16BE = function writeUInt16BE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0); - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value >>> 8; - this[offset + 1] = value & 0xff; - } else { - objectWriteUInt16(this, value, offset, false); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 8; + this[offset + 1] = value & 0xff; + } else { + objectWriteUInt16(this, value, offset, false); + } - return offset + 2; + return offset + 2; }; function objectWriteUInt32(buf, value, offset, littleEndian) { - if (value < 0) value = 0xffffffff + value + 1; + if (value < 0) value = 0xffffffff + value + 1; - for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { - buf[offset + i] = value >>> (littleEndian ? i : 3 - i) * 8 & 0xff; - } + for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { + buf[offset + i] = value >>> (littleEndian ? i : 3 - i) * 8 & 0xff; + } } Buffer.prototype.writeUInt32LE = function writeUInt32LE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0); - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset + 3] = value >>> 24; - this[offset + 2] = value >>> 16; - this[offset + 1] = value >>> 8; - this[offset] = value & 0xff; - } else { - objectWriteUInt32(this, value, offset, true); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset + 3] = value >>> 24; + this[offset + 2] = value >>> 16; + this[offset + 1] = value >>> 8; + this[offset] = value & 0xff; + } else { + objectWriteUInt32(this, value, offset, true); + } - return offset + 4; + return offset + 4; }; Buffer.prototype.writeUInt32BE = function writeUInt32BE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0); - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value >>> 24; - this[offset + 1] = value >>> 16; - this[offset + 2] = value >>> 8; - this[offset + 3] = value & 0xff; - } else { - objectWriteUInt32(this, value, offset, false); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 24; + this[offset + 1] = value >>> 16; + this[offset + 2] = value >>> 8; + this[offset + 3] = value & 0xff; + } else { + objectWriteUInt32(this, value, offset, false); + } - return offset + 4; + return offset + 4; }; Buffer.prototype.writeIntLE = function writeIntLE(value, offset, byteLength, noAssert) { - value = +value; - offset = offset | 0; + value = +value; + offset = offset | 0; - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1); - checkInt(this, value, offset, byteLength, limit - 1, -limit); - } + 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 & 0xFF; + var i = 0; + var mul = 1; + var sub = 0; + this[offset] = value & 0xFF; - while (++i < byteLength && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { - sub = 1; - } + while (++i < byteLength && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { + sub = 1; + } - this[offset + i] = (value / mul >> 0) - sub & 0xFF; - } + this[offset + i] = (value / mul >> 0) - sub & 0xFF; + } - return offset + byteLength; + return offset + byteLength; }; Buffer.prototype.writeIntBE = function writeIntBE(value, offset, byteLength, noAssert) { - value = +value; - offset = offset | 0; + value = +value; + offset = offset | 0; - if (!noAssert) { - var limit = Math.pow(2, 8 * byteLength - 1); - checkInt(this, value, offset, byteLength, limit - 1, -limit); - } + 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 & 0xFF; + var i = byteLength - 1; + var mul = 1; + var sub = 0; + this[offset + i] = value & 0xFF; - while (--i >= 0 && (mul *= 0x100)) { - if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { - sub = 1; - } + while (--i >= 0 && (mul *= 0x100)) { + if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { + sub = 1; + } - this[offset + i] = (value / mul >> 0) - sub & 0xFF; - } + this[offset + i] = (value / mul >> 0) - sub & 0xFF; + } - return offset + byteLength; + return offset + byteLength; }; Buffer.prototype.writeInt8 = function writeInt8(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80); - if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value); - if (value < 0) value = 0xff + value + 1; - this[offset] = value & 0xff; - return offset + 1; + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80); + if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value); + if (value < 0) value = 0xff + value + 1; + this[offset] = value & 0xff; + return offset + 1; }; Buffer.prototype.writeInt16LE = function writeInt16LE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000); - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value & 0xff; - this[offset + 1] = value >>> 8; - } else { - objectWriteUInt16(this, value, offset, true); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + } else { + objectWriteUInt16(this, value, offset, true); + } - return offset + 2; + return offset + 2; }; Buffer.prototype.writeInt16BE = function writeInt16BE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000); - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value >>> 8; - this[offset + 1] = value & 0xff; - } else { - objectWriteUInt16(this, value, offset, false); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 8; + this[offset + 1] = value & 0xff; + } else { + objectWriteUInt16(this, value, offset, false); + } - return offset + 2; + return offset + 2; }; Buffer.prototype.writeInt32LE = function writeInt32LE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000); + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000); - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value & 0xff; - this[offset + 1] = value >>> 8; - this[offset + 2] = value >>> 16; - this[offset + 3] = value >>> 24; - } else { - objectWriteUInt32(this, value, offset, true); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value & 0xff; + this[offset + 1] = value >>> 8; + this[offset + 2] = value >>> 16; + this[offset + 3] = value >>> 24; + } else { + objectWriteUInt32(this, value, offset, true); + } - return offset + 4; + return offset + 4; }; Buffer.prototype.writeInt32BE = function writeInt32BE(value, offset, noAssert) { - value = +value; - offset = offset | 0; - if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000); - if (value < 0) value = 0xffffffff + value + 1; + value = +value; + offset = offset | 0; + if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000); + if (value < 0) value = 0xffffffff + value + 1; - if (Buffer.TYPED_ARRAY_SUPPORT) { - this[offset] = value >>> 24; - this[offset + 1] = value >>> 16; - this[offset + 2] = value >>> 8; - this[offset + 3] = value & 0xff; - } else { - objectWriteUInt32(this, value, offset, false); - } + if (Buffer.TYPED_ARRAY_SUPPORT) { + this[offset] = value >>> 24; + this[offset + 1] = value >>> 16; + this[offset + 2] = value >>> 8; + this[offset + 3] = value & 0xff; + } else { + objectWriteUInt32(this, value, offset, false); + } - return offset + 4; + 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'); + 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) { - if (!noAssert) { - checkIEEE754(buf, value, offset, 4); - } + if (!noAssert) { + checkIEEE754(buf, value, offset, 4); + } - write(buf, value, offset, littleEndian, 23, 4); - return offset + 4; + 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); + return writeFloat(this, value, offset, true, noAssert); }; Buffer.prototype.writeFloatBE = function writeFloatBE(value, offset, noAssert) { - return writeFloat(this, value, offset, false, noAssert); + return writeFloat(this, value, offset, false, noAssert); }; function writeDouble(buf, value, offset, littleEndian, noAssert) { - if (!noAssert) { - checkIEEE754(buf, value, offset, 8); - } + if (!noAssert) { + checkIEEE754(buf, value, offset, 8); + } - write(buf, value, offset, littleEndian, 52, 8); - return offset + 8; + 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); + return writeDouble(this, value, offset, true, noAssert); }; Buffer.prototype.writeDoubleBE = function writeDoubleBE(value, offset, noAssert) { - return writeDouble(this, value, offset, false, noAssert); + return writeDouble(this, value, offset, false, noAssert); }; // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) Buffer.prototype.copy = function copy(target, targetStart, start, end) { - 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; // Copy 0 bytes; we're done - - if (end === start) return 0; - if (target.length === 0 || this.length === 0) return 0; // Fatal error conditions - - if (targetStart < 0) { - throw new RangeError('targetStart out of bounds'); - } - - if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds'); - if (end < 0) throw new RangeError('sourceEnd out of bounds'); // Are we oob? - - if (end > this.length) end = this.length; - - if (target.length - targetStart < end - start) { - end = target.length - targetStart + start; - } - - var len = end - start; - var i; - - if (this === target && start < targetStart && targetStart < end) { - // descending copy from end - for (i = len - 1; i >= 0; --i) { - target[i + targetStart] = this[i + start]; - } - } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { - // ascending copy from start - for (i = 0; i < len; ++i) { - target[i + targetStart] = this[i + start]; - } - } else { - Uint8Array.prototype.set.call(target, this.subarray(start, start + len), targetStart); - } - - return len; + 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; // Copy 0 bytes; we're done + + if (end === start) return 0; + if (target.length === 0 || this.length === 0) return 0; // Fatal error conditions + + if (targetStart < 0) { + throw new RangeError('targetStart out of bounds'); + } + + if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds'); + if (end < 0) throw new RangeError('sourceEnd out of bounds'); // Are we oob? + + if (end > this.length) end = this.length; + + if (target.length - targetStart < end - start) { + end = target.length - targetStart + start; + } + + var len = end - start; + var i; + + if (this === target && start < targetStart && targetStart < end) { + // descending copy from end + for (i = len - 1; i >= 0; --i) { + target[i + targetStart] = this[i + start]; + } + } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { + // ascending copy from start + for (i = 0; i < len; ++i) { + target[i + targetStart] = this[i + start]; + } + } else { + Uint8Array.prototype.set.call(target, this.subarray(start, start + len), targetStart); + } + + return len; }; // Usage: // buffer.fill(number[, offset[, end]]) // buffer.fill(buffer[, offset[, end]]) @@ -9770,64 +9884,64 @@ Buffer.prototype.fill = function fill(val, start, end, encoding) { - // Handle string cases: - 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 (val.length === 1) { - var code = val.charCodeAt(0); - - if (code < 256) { - val = code; - } - } - - 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); - } - } else if (typeof val === 'number') { - val = val & 255; - } // Invalid ranges are not set to a default, so can range check early. - - - 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 = internalIsBuffer(val) ? val : utf8ToBytes(new Buffer(val, encoding).toString()); - var len = bytes.length; - - for (i = 0; i < end - start; ++i) { - this[i + start] = bytes[i % len]; - } - } - - return this; + // Handle string cases: + 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 (val.length === 1) { + var code = val.charCodeAt(0); + + if (code < 256) { + val = code; + } + } + + 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); + } + } else if (typeof val === 'number') { + val = val & 255; + } // Invalid ranges are not set to a default, so can range check early. + + + 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 = internalIsBuffer(val) ? val : utf8ToBytes(new Buffer(val, encoding).toString()); + var len = bytes.length; + + for (i = 0; i < end - start; ++i) { + this[i + start] = bytes[i % len]; + } + } + + return this; }; // HELPER FUNCTIONS // ================ @@ -9835,244 +9949,244 @@ var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g; function base64clean(str) { - // Node strips out invalid characters like \n and \t from the string, base64-js does not - str = stringtrim(str).replace(INVALID_BASE64_RE, ''); // Node converts strings with length < 2 to '' + // Node strips out invalid characters like \n and \t from the string, base64-js does not + str = stringtrim(str).replace(INVALID_BASE64_RE, ''); // Node converts strings with length < 2 to '' - if (str.length < 2) return ''; // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not + if (str.length < 2) return ''; // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not - while (str.length % 4 !== 0) { - str = str + '='; - } + while (str.length % 4 !== 0) { + str = str + '='; + } - return str; + return str; } function stringtrim(str) { - if (str.trim) return str.trim(); - return str.replace(/^\s+|\s+$/g, ''); + if (str.trim) return str.trim(); + return str.replace(/^\s+|\s+$/g, ''); } function toHex(n) { - if (n < 16) return '0' + n.toString(16); - return n.toString(16); + 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); // is surrogate component - - if (codePoint > 0xD7FF && codePoint < 0xE000) { - // last char was a lead - if (!leadSurrogate) { - // no lead yet - if (codePoint > 0xDBFF) { - // unexpected trail - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); - continue; - } else if (i + 1 === length) { - // unpaired lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); - continue; - } // valid lead - - - leadSurrogate = codePoint; - continue; - } // 2 leads in a row - - - if (codePoint < 0xDC00) { - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); - leadSurrogate = codePoint; - continue; - } // valid surrogate pair - - - codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000; - } else if (leadSurrogate) { - // valid bmp char, but last char was a lead - if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); - } - - leadSurrogate = null; // encode utf8 - - if (codePoint < 0x80) { - if ((units -= 1) < 0) break; - bytes.push(codePoint); - } else if (codePoint < 0x800) { - if ((units -= 2) < 0) break; - bytes.push(codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80); - } else if (codePoint < 0x10000) { - if ((units -= 3) < 0) break; - bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); - } else if (codePoint < 0x110000) { - if ((units -= 4) < 0) break; - bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); - } else { - throw new Error('Invalid code point'); - } - } - - return bytes; + 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); // is surrogate component + + if (codePoint > 0xD7FF && codePoint < 0xE000) { + // last char was a lead + if (!leadSurrogate) { + // no lead yet + if (codePoint > 0xDBFF) { + // unexpected trail + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + continue; + } else if (i + 1 === length) { + // unpaired lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + continue; + } // valid lead + + + leadSurrogate = codePoint; + continue; + } // 2 leads in a row + + + if (codePoint < 0xDC00) { + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + leadSurrogate = codePoint; + continue; + } // valid surrogate pair + + + codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000; + } else if (leadSurrogate) { + // valid bmp char, but last char was a lead + if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD); + } + + leadSurrogate = null; // encode utf8 + + if (codePoint < 0x80) { + if ((units -= 1) < 0) break; + bytes.push(codePoint); + } else if (codePoint < 0x800) { + if ((units -= 2) < 0) break; + bytes.push(codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80); + } else if (codePoint < 0x10000) { + if ((units -= 3) < 0) break; + bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); + } else if (codePoint < 0x110000) { + if ((units -= 4) < 0) break; + bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80); + } else { + throw new Error('Invalid code point'); + } + } + + return bytes; } function asciiToBytes(str) { - var byteArray = []; + var byteArray = []; - for (var i = 0; i < str.length; ++i) { - // Node's code seems to be doing this and not & 0x7F.. - byteArray.push(str.charCodeAt(i) & 0xFF); - } + for (var i = 0; i < str.length; ++i) { + // Node's code seems to be doing this and not & 0x7F.. + byteArray.push(str.charCodeAt(i) & 0xFF); + } - return byteArray; + return byteArray; } function utf16leToBytes(str, units) { - var c, hi, lo; - var byteArray = []; + 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); - } + 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; + return byteArray; } function base64ToBytes(str) { - return toByteArray(base64clean(str)); + return 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]; - } + for (var i = 0; i < length; ++i) { + if (i + offset >= dst.length || i >= src.length) break; + dst[i + offset] = src[i]; + } - return i; + return i; } function isnan(val) { - return val !== val; // eslint-disable-line no-self-compare + return val !== val; // eslint-disable-line no-self-compare } // the following is from is-buffer, also by Feross Aboukhadijeh and with same lisence // The _isBuffer check is for Safari 5-7 support, because it's missing // Object.prototype.constructor. Remove this eventually function isBuffer(obj) { - return obj != null && (!!obj._isBuffer || isFastBuffer(obj) || isSlowBuffer(obj)); + return obj != null && (!!obj._isBuffer || isFastBuffer(obj) || isSlowBuffer(obj)); } function isFastBuffer(obj) { - return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj); + return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj); } // For Node v0.10 support. Remove this eventually. function isSlowBuffer(obj) { - return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer(obj.slice(0, 0)); + return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer(obj.slice(0, 0)); } function BufferList() { - this.head = null; - this.tail = null; - this.length = 0; + this.head = null; + this.tail = null; + this.length = 0; } BufferList.prototype.push = function (v) { - var entry = { - data: v, - next: null - }; - if (this.length > 0) this.tail.next = entry;else this.head = entry; - this.tail = entry; - ++this.length; + 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 (v) { - var entry = { - data: v, - next: this.head - }; - if (this.length === 0) this.tail = entry; - this.head = entry; - ++this.length; + var entry = { + data: v, + next: this.head + }; + if (this.length === 0) this.tail = entry; + this.head = entry; + ++this.length; }; BufferList.prototype.shift = function () { - 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; + 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 () { - this.head = this.tail = null; - this.length = 0; + this.head = this.tail = null; + this.length = 0; }; BufferList.prototype.join = function (s) { - if (this.length === 0) return ''; - var p = this.head; - var ret = '' + p.data; + if (this.length === 0) return ''; + var p = this.head; + var ret = '' + p.data; - while (p = p.next) { - ret += s + p.data; - } + while (p = p.next) { + ret += s + p.data; + } - return ret; + return ret; }; BufferList.prototype.concat = function (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; + 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) { - p.data.copy(ret, i); - i += p.data.length; - p = p.next; - } + while (p) { + p.data.copy(ret, i); + i += p.data.length; + p = p.next; + } - return ret; + return ret; }; var isBufferEncoding = Buffer.isEncoding || function (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; - } + 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 assertEncoding(encoding) { - if (encoding && !isBufferEncoding(encoding)) { - throw new Error('Unknown encoding: ' + encoding); - } + if (encoding && !isBufferEncoding(encoding)) { + throw new Error('Unknown encoding: ' + encoding); + } } // StringDecoder provides an interface for efficiently splitting a series of // buffers into a series of JS strings without breaking apart multi-byte // characters. CESU-8 is handled as part of the UTF-8 encoding. @@ -10084,40 +10198,40 @@ function StringDecoder(encoding) { - this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, ''); - assertEncoding(encoding); + this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, ''); + assertEncoding(encoding); - switch (this.encoding) { - case 'utf8': - // CESU-8 represents each of Surrogate Pair by 3-bytes - this.surrogateSize = 3; - break; + switch (this.encoding) { + case 'utf8': + // CESU-8 represents each of Surrogate Pair by 3-bytes + this.surrogateSize = 3; + break; - case 'ucs2': - case 'utf16le': - // UTF-16 represents each of Surrogate Pair by 2-bytes - this.surrogateSize = 2; - this.detectIncompleteChar = utf16DetectIncompleteChar; - break; + case 'ucs2': + case 'utf16le': + // UTF-16 represents each of Surrogate Pair by 2-bytes + this.surrogateSize = 2; + this.detectIncompleteChar = utf16DetectIncompleteChar; + break; - case 'base64': - // Base-64 stores 3 bytes in 4 chars, and pads the remainder. - this.surrogateSize = 3; - this.detectIncompleteChar = base64DetectIncompleteChar; - break; + case 'base64': + // Base-64 stores 3 bytes in 4 chars, and pads the remainder. + this.surrogateSize = 3; + this.detectIncompleteChar = base64DetectIncompleteChar; + break; - default: - this.write = passThroughWrite; - return; - } // Enough space to store all bytes of a single character. UTF-8 needs 4 - // bytes, but CESU-8 may require up to 6 (3 bytes per surrogate). + default: + this.write = passThroughWrite; + return; + } // Enough space to store all bytes of a single character. UTF-8 needs 4 + // bytes, but CESU-8 may require up to 6 (3 bytes per surrogate). - this.charBuffer = new Buffer(6); // Number of bytes received for the current incomplete multi-byte character. + this.charBuffer = new Buffer(6); // Number of bytes received for the current incomplete multi-byte character. - this.charReceived = 0; // Number of bytes expected for the current incomplete multi-byte character. + this.charReceived = 0; // Number of bytes expected for the current incomplete multi-byte character. - this.charLength = 0; + this.charLength = 0; } // guaranteed to not contain any partial multi-byte characters. Any partial // character found at the end of the buffer is buffered up, and will be @@ -10129,67 +10243,67 @@ // replacement character. See https://codereview.chromium.org/121173009/ . StringDecoder.prototype.write = function (buffer) { - var charStr = ''; // if our last write ended with an incomplete multibyte character + var charStr = ''; // if our last write ended with an incomplete multibyte character - while (this.charLength) { - // determine how many remaining bytes this buffer has to offer for this char - var available = buffer.length >= this.charLength - this.charReceived ? this.charLength - this.charReceived : buffer.length; // add the new bytes to the char buffer + while (this.charLength) { + // determine how many remaining bytes this buffer has to offer for this char + var available = buffer.length >= this.charLength - this.charReceived ? this.charLength - this.charReceived : buffer.length; // add the new bytes to the char buffer - buffer.copy(this.charBuffer, this.charReceived, 0, available); - this.charReceived += available; + buffer.copy(this.charBuffer, this.charReceived, 0, available); + this.charReceived += available; - if (this.charReceived < this.charLength) { - // still not enough chars in this buffer? wait for more ... - return ''; - } // remove bytes belonging to the current character from the buffer + if (this.charReceived < this.charLength) { + // still not enough chars in this buffer? wait for more ... + return ''; + } // remove bytes belonging to the current character from the buffer - buffer = buffer.slice(available, buffer.length); // get the character that was split + buffer = buffer.slice(available, buffer.length); // get the character that was split - charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding); // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character + charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding); // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character - var charCode = charStr.charCodeAt(charStr.length - 1); + var charCode = charStr.charCodeAt(charStr.length - 1); - if (charCode >= 0xD800 && charCode <= 0xDBFF) { - this.charLength += this.surrogateSize; - charStr = ''; - continue; - } + if (charCode >= 0xD800 && charCode <= 0xDBFF) { + this.charLength += this.surrogateSize; + charStr = ''; + continue; + } - this.charReceived = this.charLength = 0; // if there are no more bytes in this buffer, just emit our char + this.charReceived = this.charLength = 0; // if there are no more bytes in this buffer, just emit our char - if (buffer.length === 0) { - return charStr; - } + if (buffer.length === 0) { + return charStr; + } - break; - } // determine and set charLength / charReceived + break; + } // determine and set charLength / charReceived - this.detectIncompleteChar(buffer); - var end = buffer.length; + this.detectIncompleteChar(buffer); + var end = buffer.length; - if (this.charLength) { - // buffer the incomplete character bytes we got - buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end); - end -= this.charReceived; - } + if (this.charLength) { + // buffer the incomplete character bytes we got + buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end); + end -= this.charReceived; + } - charStr += buffer.toString(this.encoding, 0, end); - var end = charStr.length - 1; - var charCode = charStr.charCodeAt(end); // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character + charStr += buffer.toString(this.encoding, 0, end); + var end = charStr.length - 1; + var charCode = charStr.charCodeAt(end); // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character - if (charCode >= 0xD800 && charCode <= 0xDBFF) { - var size = this.surrogateSize; - this.charLength += size; - this.charReceived += size; - this.charBuffer.copy(this.charBuffer, size, 0, size); - buffer.copy(this.charBuffer, 0, 0, size); - return charStr.substring(0, end); - } // or just emit the charStr + if (charCode >= 0xD800 && charCode <= 0xDBFF) { + var size = this.surrogateSize; + this.charLength += size; + this.charReceived += size; + this.charBuffer.copy(this.charBuffer, size, 0, size); + buffer.copy(this.charBuffer, 0, 0, size); + return charStr.substring(0, end); + } // or just emit the charStr - return charStr; + return charStr; }; // detectIncompleteChar determines if there is an incomplete UTF-8 character at // the end of the given buffer. If so, it sets this.charLength to the byte // length that character, and sets this.charReceived to the number of bytes @@ -10197,61 +10311,61 @@ StringDecoder.prototype.detectIncompleteChar = function (buffer) { - // determine how many bytes we have to check at the end of this buffer - var i = buffer.length >= 3 ? 3 : buffer.length; // Figure out if one of the last i bytes of our buffer announces an - // incomplete char. + // determine how many bytes we have to check at the end of this buffer + var i = buffer.length >= 3 ? 3 : buffer.length; // Figure out if one of the last i bytes of our buffer announces an + // incomplete char. - for (; i > 0; i--) { - var c = buffer[buffer.length - i]; // See http://en.wikipedia.org/wiki/UTF-8#Description - // 110XXXXX + for (; i > 0; i--) { + var c = buffer[buffer.length - i]; // See http://en.wikipedia.org/wiki/UTF-8#Description + // 110XXXXX - if (i == 1 && c >> 5 == 0x06) { - this.charLength = 2; - break; - } // 1110XXXX + if (i == 1 && c >> 5 == 0x06) { + this.charLength = 2; + break; + } // 1110XXXX - if (i <= 2 && c >> 4 == 0x0E) { - this.charLength = 3; - break; - } // 11110XXX + if (i <= 2 && c >> 4 == 0x0E) { + this.charLength = 3; + break; + } // 11110XXX - if (i <= 3 && c >> 3 == 0x1E) { - this.charLength = 4; - break; - } - } + if (i <= 3 && c >> 3 == 0x1E) { + this.charLength = 4; + break; + } + } - this.charReceived = i; + this.charReceived = i; }; StringDecoder.prototype.end = function (buffer) { - var res = ''; - if (buffer && buffer.length) res = this.write(buffer); + var res = ''; + if (buffer && buffer.length) res = this.write(buffer); - if (this.charReceived) { - var cr = this.charReceived; - var buf = this.charBuffer; - var enc = this.encoding; - res += buf.slice(0, cr).toString(enc); - } + if (this.charReceived) { + var cr = this.charReceived; + var buf = this.charBuffer; + var enc = this.encoding; + res += buf.slice(0, cr).toString(enc); + } - return res; + return res; }; function passThroughWrite(buffer) { - return buffer.toString(this.encoding); + return buffer.toString(this.encoding); } function utf16DetectIncompleteChar(buffer) { - this.charReceived = buffer.length % 2; - this.charLength = this.charReceived ? 2 : 0; + this.charReceived = buffer.length % 2; + this.charLength = this.charReceived ? 2 : 0; } function base64DetectIncompleteChar(buffer) { - this.charReceived = buffer.length % 3; - this.charLength = this.charReceived ? 3 : 0; + this.charReceived = buffer.length % 3; + this.charLength = this.charReceived ? 3 : 0; } Readable.ReadableState = ReadableState; @@ -10259,161 +10373,161 @@ inherits$3(Readable, EventEmitter$2); function prependListener(emitter, event, fn) { - // Sadly this is not cacheable as some libraries bundle their own - // event emitter implementation with them. - if (typeof emitter.prependListener === 'function') { - return emitter.prependListener(event, fn); - } else { - // This is a hack to make sure that our error handler is attached before any - // userland ones. NEVER DO THIS. This is here only because this code needs - // to continue to work with older versions of Node.js that do not include - // the prependListener() method. The goal is to eventually remove this hack. - 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]]; - } + // Sadly this is not cacheable as some libraries bundle their own + // event emitter implementation with them. + if (typeof emitter.prependListener === 'function') { + return emitter.prependListener(event, fn); + } else { + // This is a hack to make sure that our error handler is attached before any + // userland ones. NEVER DO THIS. This is here only because this code needs + // to continue to work with older versions of Node.js that do not include + // the prependListener() method. The goal is to eventually remove this hack. + 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 listenerCount(emitter, type) { - return emitter.listeners(type).length; + return emitter.listeners(type).length; } function ReadableState(options, stream) { - options = options || {}; // object stream flag. Used to make read(n) ignore n and to - // make all the buffer merging and length checks go away - - this.objectMode = !!options.objectMode; - if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer - // Note: 0 is a valid value, means "don't call _read preemptively ever" - - var hwm = options.highWaterMark; - var defaultHwm = this.objectMode ? 16 : 16 * 1024; - this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm; // cast to ints. - - this.highWaterMark = ~~this.highWaterMark; // A linked list is used to store data chunks instead of an array because the - // linked list can remove elements from the beginning faster than - // array.shift() - - 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; // a flag to be able to tell if the onwrite cb is called immediately, - // or on a later tick. We set this to true at first, because any - // actions that shouldn't happen until "later" should generally also - // not happen before the first write call. - - this.sync = true; // whenever we return null, then we set a flag to say - // that we're awaiting a 'readable' event emission. - - this.needReadable = false; - this.emittedReadable = false; - this.readableListening = false; - this.resumeScheduled = false; // Crypto is kind of old and crusty. Historically, its default string - // encoding is 'binary' so we have to make this configurable. - // Everything else in the universe uses 'utf8', though. - - this.defaultEncoding = options.defaultEncoding || 'utf8'; // when piping, we only care about 'readable' events that happen - // after read()ing all the bytes and not getting any pushback. - - this.ranOut = false; // the number of writers that are awaiting a drain event in .pipe()s - - this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled - - this.readingMore = false; - this.decoder = null; - this.encoding = null; - - if (options.encoding) { - this.decoder = new StringDecoder(options.encoding); - this.encoding = options.encoding; - } + options = options || {}; // object stream flag. Used to make read(n) ignore n and to + // make all the buffer merging and length checks go away + + this.objectMode = !!options.objectMode; + if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer + // Note: 0 is a valid value, means "don't call _read preemptively ever" + + var hwm = options.highWaterMark; + var defaultHwm = this.objectMode ? 16 : 16 * 1024; + this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm; // cast to ints. + + this.highWaterMark = ~~this.highWaterMark; // A linked list is used to store data chunks instead of an array because the + // linked list can remove elements from the beginning faster than + // array.shift() + + 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; // a flag to be able to tell if the onwrite cb is called immediately, + // or on a later tick. We set this to true at first, because any + // actions that shouldn't happen until "later" should generally also + // not happen before the first write call. + + this.sync = true; // whenever we return null, then we set a flag to say + // that we're awaiting a 'readable' event emission. + + this.needReadable = false; + this.emittedReadable = false; + this.readableListening = false; + this.resumeScheduled = false; // Crypto is kind of old and crusty. Historically, its default string + // encoding is 'binary' so we have to make this configurable. + // Everything else in the universe uses 'utf8', though. + + this.defaultEncoding = options.defaultEncoding || 'utf8'; // when piping, we only care about 'readable' events that happen + // after read()ing all the bytes and not getting any pushback. + + this.ranOut = false; // the number of writers that are awaiting a drain event in .pipe()s + + this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled + + this.readingMore = false; + this.decoder = null; + this.encoding = null; + + if (options.encoding) { + this.decoder = new StringDecoder(options.encoding); + this.encoding = options.encoding; + } } function Readable(options) { - if (!(this instanceof Readable)) return new Readable(options); - this._readableState = new ReadableState(options, this); // legacy + if (!(this instanceof Readable)) return new Readable(options); + this._readableState = new ReadableState(options, this); // legacy - this.readable = true; - if (options && typeof options.read === 'function') this._read = options.read; - EventEmitter$2.call(this); + this.readable = true; + if (options && typeof options.read === 'function') this._read = options.read; + EventEmitter$2.call(this); } // Manually shove something into the read() buffer. // This returns true if the highWaterMark has not been hit yet, // similar to how Writable.write() returns true if you should // write() some more. Readable.prototype.push = function (chunk, encoding) { - var state = this._readableState; + var state = this._readableState; - if (!state.objectMode && typeof chunk === 'string') { - encoding = encoding || state.defaultEncoding; + if (!state.objectMode && typeof chunk === 'string') { + encoding = encoding || state.defaultEncoding; - if (encoding !== state.encoding) { - chunk = Buffer$1.from(chunk, encoding); - encoding = ''; - } - } + if (encoding !== state.encoding) { + chunk = Buffer$1.from(chunk, encoding); + encoding = ''; + } + } - return readableAddChunk(this, state, chunk, encoding, false); + return readableAddChunk(this, state, chunk, encoding, false); }; // Unshift should *always* be something directly out of read() Readable.prototype.unshift = function (chunk) { - var state = this._readableState; - return readableAddChunk(this, state, chunk, '', true); + var state = this._readableState; + return readableAddChunk(this, state, chunk, '', true); }; Readable.prototype.isPaused = function () { - return this._readableState.flowing === false; + return this._readableState.flowing === false; }; function readableAddChunk(stream, state, chunk, encoding, addToFront) { - var er = chunkInvalid(state, chunk); - - if (er) { - stream.emit('error', er); - } else if (chunk === null) { - state.reading = false; - onEofChunk(stream, state); - } else if (state.objectMode || chunk && chunk.length > 0) { - if (state.ended && !addToFront) { - var e = new Error('stream.push() after EOF'); - stream.emit('error', e); - } else if (state.endEmitted && addToFront) { - var _e = new Error('stream.unshift() after end event'); - - stream.emit('error', _e); - } else { - var skipAdd; - - if (state.decoder && !addToFront && !encoding) { - chunk = state.decoder.write(chunk); - skipAdd = !state.objectMode && chunk.length === 0; - } - - if (!addToFront) state.reading = false; // Don't add to the buffer if we've decoded to an empty string chunk and - // we're not in object mode - - if (!skipAdd) { - // if we want the data now, just emit it. - if (state.flowing && state.length === 0 && !state.sync) { - stream.emit('data', chunk); - stream.read(0); - } else { - // update the buffer info. - 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); - } - } else if (!addToFront) { - state.reading = false; - } - - return needMoreData(state); + var er = chunkInvalid(state, chunk); + + if (er) { + stream.emit('error', er); + } else if (chunk === null) { + state.reading = false; + onEofChunk(stream, state); + } else if (state.objectMode || chunk && chunk.length > 0) { + if (state.ended && !addToFront) { + var e = new Error('stream.push() after EOF'); + stream.emit('error', e); + } else if (state.endEmitted && addToFront) { + var _e = new Error('stream.unshift() after end event'); + + stream.emit('error', _e); + } else { + var skipAdd; + + if (state.decoder && !addToFront && !encoding) { + chunk = state.decoder.write(chunk); + skipAdd = !state.objectMode && chunk.length === 0; + } + + if (!addToFront) state.reading = false; // Don't add to the buffer if we've decoded to an empty string chunk and + // we're not in object mode + + if (!skipAdd) { + // if we want the data now, just emit it. + if (state.flowing && state.length === 0 && !state.sync) { + stream.emit('data', chunk); + stream.read(0); + } else { + // update the buffer info. + 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); + } + } else if (!addToFront) { + state.reading = false; + } + + return needMoreData(state); } // if it's past the high water mark, we can push in some more. // Also, if we have no data yet, we can stand some // more bytes. This is to work around cases where hwm=0, @@ -10424,200 +10538,200 @@ function needMoreData(state) { - return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0); + return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0); } // backwards compatibility. Readable.prototype.setEncoding = function (enc) { - this._readableState.decoder = new StringDecoder(enc); - this._readableState.encoding = enc; - return this; + this._readableState.decoder = new StringDecoder(enc); + this._readableState.encoding = enc; + return this; }; // Don't raise the hwm > 8MB var MAX_HWM = 0x800000; function computeNewHighWaterMark(n) { - if (n >= MAX_HWM) { - n = MAX_HWM; - } else { - // Get the next highest power of 2 to prevent increasing hwm excessively in - // tiny amounts - n--; - n |= n >>> 1; - n |= n >>> 2; - n |= n >>> 4; - n |= n >>> 8; - n |= n >>> 16; - n++; - } - - return n; + if (n >= MAX_HWM) { + n = MAX_HWM; + } else { + // Get the next highest power of 2 to prevent increasing hwm excessively in + // tiny amounts + n--; + n |= n >>> 1; + n |= n >>> 2; + n |= n >>> 4; + n |= n >>> 8; + n |= n >>> 16; + n++; + } + + return n; } // This function is designed to be inlinable, so please take care when making // changes to the function body. function howMuchToRead(n, state) { - if (n <= 0 || state.length === 0 && state.ended) return 0; - if (state.objectMode) return 1; + if (n <= 0 || state.length === 0 && state.ended) return 0; + if (state.objectMode) return 1; - if (n !== n) { - // Only flow one buffer at a time - if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length; - } // If we're asking for more than the current hwm, then raise the hwm. + if (n !== n) { + // Only flow one buffer at a time + if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length; + } // If we're asking for more than the current hwm, then raise the hwm. - if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n); - if (n <= state.length) return n; // Don't have enough + if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n); + if (n <= state.length) return n; // Don't have enough - if (!state.ended) { - state.needReadable = true; - return 0; - } + if (!state.ended) { + state.needReadable = true; + return 0; + } - return state.length; + return state.length; } // you can override either this method, or the async _read(n) below. Readable.prototype.read = function (n) { - debug$2('read', n); - n = parseInt(n, 10); - var state = this._readableState; - var nOrig = n; - if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we - // already have a bunch of data in the buffer, then just trigger - // the 'readable' event and move on. - - if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) { - debug$2('read: emitReadable', state.length, state.ended); - if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this); - return null; - } - - n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up. - - if (n === 0 && state.ended) { - if (state.length === 0) endReadable(this); - return null; - } // All the actual chunk generation logic needs to be - // *below* the call to _read. The reason is that in certain - // synthetic stream cases, such as passthrough streams, _read - // may be a completely synchronous operation which may change - // the state of the read buffer, providing enough data when - // before there was *not* enough. - // - // So, the steps are: - // 1. Figure out what the state of things will be after we do - // a read from the buffer. - // - // 2. If that resulting state will trigger a _read, then call _read. - // Note that this may be asynchronous, or synchronous. Yes, it is - // deeply ugly to write APIs this way, but that still doesn't mean - // that the Readable class should behave improperly, as streams are - // designed to be sync/async agnostic. - // Take note if the _read call is sync or async (ie, if the read call - // has returned yet), so that we know whether or not it's safe to emit - // 'readable' etc. - // - // 3. Actually pull the requested chunks out of the buffer and return. - // if we need a readable event, then we need to do some reading. - - - var doRead = state.needReadable; - debug$2('need readable', doRead); // if we currently have less than the highWaterMark, then also read some - - if (state.length === 0 || state.length - n < state.highWaterMark) { - doRead = true; - debug$2('length less than watermark', doRead); - } // however, if we've ended, then there's no point, and if we're already - // reading, then it's unnecessary. - - - if (state.ended || state.reading) { - doRead = false; - debug$2('reading or ended', doRead); - } else if (doRead) { - debug$2('do read'); - state.reading = true; - state.sync = true; // if the length is currently zero, then we *need* a readable event. - - if (state.length === 0) state.needReadable = true; // call internal read method - - this._read(state.highWaterMark); - - state.sync = false; // If _read pushed data synchronously, then `reading` will be false, - // and we need to re-evaluate how much data we can return to the user. - - 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 we have nothing in the buffer, then we want to know - // as soon as we *do* get something into the buffer. - if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick. - - if (nOrig !== n && state.ended) endReadable(this); - } - - if (ret !== null) this.emit('data', ret); - return ret; + debug$2('read', n); + n = parseInt(n, 10); + var state = this._readableState; + var nOrig = n; + if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we + // already have a bunch of data in the buffer, then just trigger + // the 'readable' event and move on. + + if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) { + debug$2('read: emitReadable', state.length, state.ended); + if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this); + return null; + } + + n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up. + + if (n === 0 && state.ended) { + if (state.length === 0) endReadable(this); + return null; + } // All the actual chunk generation logic needs to be + // *below* the call to _read. The reason is that in certain + // synthetic stream cases, such as passthrough streams, _read + // may be a completely synchronous operation which may change + // the state of the read buffer, providing enough data when + // before there was *not* enough. + // + // So, the steps are: + // 1. Figure out what the state of things will be after we do + // a read from the buffer. + // + // 2. If that resulting state will trigger a _read, then call _read. + // Note that this may be asynchronous, or synchronous. Yes, it is + // deeply ugly to write APIs this way, but that still doesn't mean + // that the Readable class should behave improperly, as streams are + // designed to be sync/async agnostic. + // Take note if the _read call is sync or async (ie, if the read call + // has returned yet), so that we know whether or not it's safe to emit + // 'readable' etc. + // + // 3. Actually pull the requested chunks out of the buffer and return. + // if we need a readable event, then we need to do some reading. + + + var doRead = state.needReadable; + debug$2('need readable', doRead); // if we currently have less than the highWaterMark, then also read some + + if (state.length === 0 || state.length - n < state.highWaterMark) { + doRead = true; + debug$2('length less than watermark', doRead); + } // however, if we've ended, then there's no point, and if we're already + // reading, then it's unnecessary. + + + if (state.ended || state.reading) { + doRead = false; + debug$2('reading or ended', doRead); + } else if (doRead) { + debug$2('do read'); + state.reading = true; + state.sync = true; // if the length is currently zero, then we *need* a readable event. + + if (state.length === 0) state.needReadable = true; // call internal read method + + this._read(state.highWaterMark); + + state.sync = false; // If _read pushed data synchronously, then `reading` will be false, + // and we need to re-evaluate how much data we can return to the user. + + 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 we have nothing in the buffer, then we want to know + // as soon as we *do* get something into the buffer. + if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick. + + if (nOrig !== n && state.ended) endReadable(this); + } + + if (ret !== null) this.emit('data', ret); + return ret; }; function chunkInvalid(state, chunk) { - var er = null; + var er = null; - if (!isBuffer$2(chunk) && typeof chunk !== 'string' && chunk !== null && chunk !== undefined && !state.objectMode) { - er = new TypeError('Invalid non-string/buffer chunk'); - } + if (!isBuffer$2(chunk) && typeof chunk !== 'string' && chunk !== null && chunk !== undefined && !state.objectMode) { + er = new TypeError('Invalid non-string/buffer chunk'); + } - return er; + return er; } function onEofChunk(stream, state) { - if (state.ended) return; + if (state.ended) return; - if (state.decoder) { - var chunk = state.decoder.end(); + if (state.decoder) { + var chunk = state.decoder.end(); - if (chunk && chunk.length) { - state.buffer.push(chunk); - state.length += state.objectMode ? 1 : chunk.length; - } - } + if (chunk && chunk.length) { + state.buffer.push(chunk); + state.length += state.objectMode ? 1 : chunk.length; + } + } - state.ended = true; // emit 'readable' now to make sure it gets picked up. + state.ended = true; // emit 'readable' now to make sure it gets picked up. - emitReadable(stream); + emitReadable(stream); } // Don't emit readable right away in sync mode, because this can trigger // another read() call => stack overflow. This way, it might trigger // a nextTick recursion warning, but that's not so bad. function emitReadable(stream) { - var state = stream._readableState; - state.needReadable = false; + var state = stream._readableState; + state.needReadable = false; - if (!state.emittedReadable) { - debug$2('emitReadable', state.flowing); - state.emittedReadable = true; - if (state.sync) nextTick(emitReadable_, stream);else emitReadable_(stream); - } + if (!state.emittedReadable) { + debug$2('emitReadable', state.flowing); + state.emittedReadable = true; + if (state.sync) nextTick(emitReadable_, stream);else emitReadable_(stream); + } } function emitReadable_(stream) { - debug$2('emit readable'); - stream.emit('readable'); - flow(stream); + debug$2('emit readable'); + stream.emit('readable'); + flow(stream); } // at this point, the user has presumably seen the 'readable' event, // and called read() to consume some data. that may have triggered // in turn another _read(n) call, in which case reading = true if @@ -10627,23 +10741,23 @@ function maybeReadMore(stream, state) { - if (!state.readingMore) { - state.readingMore = true; - nextTick(maybeReadMore_, stream, state); - } + if (!state.readingMore) { + state.readingMore = true; + nextTick(maybeReadMore_, stream, state); + } } function maybeReadMore_(stream, state) { - var len = state.length; + var len = state.length; - while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) { - debug$2('maybeReadMore read 0'); - stream.read(0); - if (len === state.length) // didn't get any data, stop spinning. - break;else len = state.length; - } + while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) { + debug$2('maybeReadMore read 0'); + stream.read(0); + if (len === state.length) // didn't get any data, stop spinning. + break;else len = state.length; + } - state.readingMore = false; + state.readingMore = false; } // abstract method. to be overridden in specific implementation classes. // call cb(er, data) where data is <= n in length. // for virtual (non-string, non-buffer) streams, "length" is somewhat @@ -10651,345 +10765,345 @@ Readable.prototype._read = function (n) { - this.emit('error', new Error('not implemented')); + this.emit('error', new Error('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$2('pipe count=%d opts=%j', state.pipesCount, pipeOpts); - var doEnd = !pipeOpts || pipeOpts.end !== false; - var endFn = doEnd ? onend : cleanup; - if (state.endEmitted) nextTick(endFn);else src.once('end', endFn); - dest.on('unpipe', onunpipe); - - function onunpipe(readable) { - debug$2('onunpipe'); - - if (readable === src) { - cleanup(); - } - } - - function onend() { - debug$2('onend'); - dest.end(); - } // when the dest drains, it reduces the awaitDrain counter - // on the source. This would be more elegant with a .once() - // handler in flow(), but adding and removing repeatedly is - // too slow. - - - var ondrain = pipeOnDrain(src); - dest.on('drain', ondrain); - var cleanedUp = false; - - function cleanup() { - debug$2('cleanup'); // cleanup event handlers once the pipe is broken - - 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', cleanup); - src.removeListener('data', ondata); - cleanedUp = true; // if the reader is waiting for a drain event from this - // specific writer, then it would cause it to never start - // flowing again. - // So, if this is awaiting a drain, then we just call it now. - // If we don't know, then assume that we are waiting for one. - - if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain(); - } // If the user pushes more data while we're writing to dest then we'll end up - // in ondata again. However, we only want to increase awaitDrain once because - // dest will only emit one 'drain' event for the multiple writes. - // => Introduce a guard on increasing awaitDrain. - - - var increasedAwaitDrain = false; - src.on('data', ondata); - - function ondata(chunk) { - debug$2('ondata'); - increasedAwaitDrain = false; - var ret = dest.write(chunk); - - if (false === ret && !increasedAwaitDrain) { - // If the user unpiped during `dest.write()`, it is possible - // to get stuck in a permanently paused state if that write - // also returned false. - // => Check whether `dest` is still a piping destination. - if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) { - debug$2('false write response, pause', src._readableState.awaitDrain); - src._readableState.awaitDrain++; - increasedAwaitDrain = true; - } - - src.pause(); - } - } // if the dest has an error, then stop piping into it. - // however, don't suppress the throwing behavior for this. - - - function onerror(er) { - debug$2('onerror', er); - unpipe(); - dest.removeListener('error', onerror); - if (listenerCount(dest, 'error') === 0) dest.emit('error', er); - } // Make sure our error handler is attached before userland ones. - - - prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once. - - function onclose() { - dest.removeListener('finish', onfinish); - unpipe(); - } - - dest.once('close', onclose); - - function onfinish() { - debug$2('onfinish'); - dest.removeListener('close', onclose); - unpipe(); - } + 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$2('pipe count=%d opts=%j', state.pipesCount, pipeOpts); + var doEnd = !pipeOpts || pipeOpts.end !== false; + var endFn = doEnd ? onend : cleanup; + if (state.endEmitted) nextTick(endFn);else src.once('end', endFn); + dest.on('unpipe', onunpipe); + + function onunpipe(readable) { + debug$2('onunpipe'); + + if (readable === src) { + cleanup(); + } + } + + function onend() { + debug$2('onend'); + dest.end(); + } // when the dest drains, it reduces the awaitDrain counter + // on the source. This would be more elegant with a .once() + // handler in flow(), but adding and removing repeatedly is + // too slow. + + + var ondrain = pipeOnDrain(src); + dest.on('drain', ondrain); + var cleanedUp = false; + + function cleanup() { + debug$2('cleanup'); // cleanup event handlers once the pipe is broken + + 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', cleanup); + src.removeListener('data', ondata); + cleanedUp = true; // if the reader is waiting for a drain event from this + // specific writer, then it would cause it to never start + // flowing again. + // So, if this is awaiting a drain, then we just call it now. + // If we don't know, then assume that we are waiting for one. + + if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain(); + } // If the user pushes more data while we're writing to dest then we'll end up + // in ondata again. However, we only want to increase awaitDrain once because + // dest will only emit one 'drain' event for the multiple writes. + // => Introduce a guard on increasing awaitDrain. + + + var increasedAwaitDrain = false; + src.on('data', ondata); + + function ondata(chunk) { + debug$2('ondata'); + increasedAwaitDrain = false; + var ret = dest.write(chunk); + + if (false === ret && !increasedAwaitDrain) { + // If the user unpiped during `dest.write()`, it is possible + // to get stuck in a permanently paused state if that write + // also returned false. + // => Check whether `dest` is still a piping destination. + if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) { + debug$2('false write response, pause', src._readableState.awaitDrain); + src._readableState.awaitDrain++; + increasedAwaitDrain = true; + } + + src.pause(); + } + } // if the dest has an error, then stop piping into it. + // however, don't suppress the throwing behavior for this. + + + function onerror(er) { + debug$2('onerror', er); + unpipe(); + dest.removeListener('error', onerror); + if (listenerCount(dest, 'error') === 0) dest.emit('error', er); + } // Make sure our error handler is attached before userland ones. + + + prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once. + + function onclose() { + dest.removeListener('finish', onfinish); + unpipe(); + } + + dest.once('close', onclose); + + function onfinish() { + debug$2('onfinish'); + dest.removeListener('close', onclose); + unpipe(); + } - dest.once('finish', onfinish); - - function unpipe() { - debug$2('unpipe'); - src.unpipe(dest); - } // tell the dest that it's being piped to + dest.once('finish', onfinish); + + function unpipe() { + debug$2('unpipe'); + src.unpipe(dest); + } // tell the dest that it's being piped to - dest.emit('pipe', src); // start the flow if it hasn't been started already. + dest.emit('pipe', src); // start the flow if it hasn't been started already. - if (!state.flowing) { - debug$2('pipe resume'); - src.resume(); - } + if (!state.flowing) { + debug$2('pipe resume'); + src.resume(); + } - return dest; + return dest; }; function pipeOnDrain(src) { - return function () { - var state = src._readableState; - debug$2('pipeOnDrain', state.awaitDrain); - if (state.awaitDrain) state.awaitDrain--; + return function () { + var state = src._readableState; + debug$2('pipeOnDrain', state.awaitDrain); + if (state.awaitDrain) state.awaitDrain--; - if (state.awaitDrain === 0 && src.listeners('data').length) { - state.flowing = true; - flow(src); - } - }; + if (state.awaitDrain === 0 && src.listeners('data').length) { + state.flowing = true; + flow(src); + } + }; } Readable.prototype.unpipe = function (dest) { - var state = this._readableState; // if we're not piping anywhere, then do nothing. - - if (state.pipesCount === 0) return this; // just one destination. most common case. - - if (state.pipesCount === 1) { - // passed in one, but it's not the right one. - if (dest && dest !== state.pipes) return this; - if (!dest) dest = state.pipes; // got a match. - - state.pipes = null; - state.pipesCount = 0; - state.flowing = false; - if (dest) dest.emit('unpipe', this); - return this; - } // slow case. multiple pipe destinations. - - - if (!dest) { - // remove all. - 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); - } - - return this; - } // try to find the right one. - - - var i = indexOf(state.pipes, dest); - if (i === -1) return this; - state.pipes.splice(i, 1); - state.pipesCount -= 1; - if (state.pipesCount === 1) state.pipes = state.pipes[0]; - dest.emit('unpipe', this); - return this; + var state = this._readableState; // if we're not piping anywhere, then do nothing. + + if (state.pipesCount === 0) return this; // just one destination. most common case. + + if (state.pipesCount === 1) { + // passed in one, but it's not the right one. + if (dest && dest !== state.pipes) return this; + if (!dest) dest = state.pipes; // got a match. + + state.pipes = null; + state.pipesCount = 0; + state.flowing = false; + if (dest) dest.emit('unpipe', this); + return this; + } // slow case. multiple pipe destinations. + + + if (!dest) { + // remove all. + 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); + } + + return this; + } // try to find the right one. + + + var i = indexOf(state.pipes, dest); + if (i === -1) return this; + state.pipes.splice(i, 1); + state.pipesCount -= 1; + if (state.pipesCount === 1) state.pipes = state.pipes[0]; + dest.emit('unpipe', this); + return this; }; // set up data events if they are asked for // Ensure readable listeners eventually get something Readable.prototype.on = function (ev, fn) { - var res = EventEmitter$2.prototype.on.call(this, ev, fn); + var res = EventEmitter$2.prototype.on.call(this, ev, fn); - if (ev === 'data') { - // Start flowing on next tick if stream isn't explicitly paused - if (this._readableState.flowing !== false) this.resume(); - } else if (ev === 'readable') { - var state = this._readableState; + if (ev === 'data') { + // Start flowing on next tick if stream isn't explicitly paused + 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.endEmitted && !state.readableListening) { + state.readableListening = state.needReadable = true; + state.emittedReadable = false; - if (!state.reading) { - nextTick(nReadingNextTick, this); - } else if (state.length) { - emitReadable(this); - } - } - } + if (!state.reading) { + nextTick(nReadingNextTick, this); + } else if (state.length) { + emitReadable(this); + } + } + } - return res; + return res; }; Readable.prototype.addListener = Readable.prototype.on; function nReadingNextTick(self) { - debug$2('readable nexttick read 0'); - self.read(0); + debug$2('readable nexttick read 0'); + self.read(0); } // pause() and resume() are remnants of the legacy readable stream API // If the user uses them, then switch into old mode. Readable.prototype.resume = function () { - var state = this._readableState; + var state = this._readableState; - if (!state.flowing) { - debug$2('resume'); - state.flowing = true; - resume(this, state); - } + if (!state.flowing) { + debug$2('resume'); + state.flowing = true; + resume(this, state); + } - return this; + return this; }; function resume(stream, state) { - if (!state.resumeScheduled) { - state.resumeScheduled = true; - nextTick(resume_, stream, state); - } + if (!state.resumeScheduled) { + state.resumeScheduled = true; + nextTick(resume_, stream, state); + } } function resume_(stream, state) { - if (!state.reading) { - debug$2('resume read 0'); - stream.read(0); - } + if (!state.reading) { + debug$2('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); + state.resumeScheduled = false; + state.awaitDrain = 0; + stream.emit('resume'); + flow(stream); + if (state.flowing && !state.reading) stream.read(0); } Readable.prototype.pause = function () { - debug$2('call pause flowing=%j', this._readableState.flowing); + debug$2('call pause flowing=%j', this._readableState.flowing); - if (false !== this._readableState.flowing) { - debug$2('pause'); - this._readableState.flowing = false; - this.emit('pause'); - } + if (false !== this._readableState.flowing) { + debug$2('pause'); + this._readableState.flowing = false; + this.emit('pause'); + } - return this; + return this; }; function flow(stream) { - var state = stream._readableState; - debug$2('flow', state.flowing); + var state = stream._readableState; + debug$2('flow', state.flowing); - while (state.flowing && stream.read() !== null) {} + while (state.flowing && stream.read() !== null) {} } // wrap an old-style stream as the async data source. // This is *not* part of the readable stream interface. // It is an ugly unfortunate mess of history. Readable.prototype.wrap = function (stream) { - var state = this._readableState; - var paused = false; - var self = this; - stream.on('end', function () { - debug$2('wrapped end'); - - if (state.decoder && !state.ended) { - var chunk = state.decoder.end(); - if (chunk && chunk.length) self.push(chunk); - } - - self.push(null); - }); - stream.on('data', function (chunk) { - debug$2('wrapped data'); - if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode - - if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return; - var ret = self.push(chunk); - - if (!ret) { - paused = true; - stream.pause(); - } - }); // proxy all the other methods. - // important when wrapping filters and duplexes. - - 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); - } - } // proxy certain important events. - - - var events = ['error', 'close', 'destroy', 'pause', 'resume']; - forEach(events, function (ev) { - stream.on(ev, self.emit.bind(self, ev)); - }); // when we try to consume some more bytes, simply unpause the - // underlying stream. - - self._read = function (n) { - debug$2('wrapped _read', n); - - if (paused) { - paused = false; - stream.resume(); - } - }; - - return self; + var state = this._readableState; + var paused = false; + var self = this; + stream.on('end', function () { + debug$2('wrapped end'); + + if (state.decoder && !state.ended) { + var chunk = state.decoder.end(); + if (chunk && chunk.length) self.push(chunk); + } + + self.push(null); + }); + stream.on('data', function (chunk) { + debug$2('wrapped data'); + if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode + + if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return; + var ret = self.push(chunk); + + if (!ret) { + paused = true; + stream.pause(); + } + }); // proxy all the other methods. + // important when wrapping filters and duplexes. + + 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); + } + } // proxy certain important events. + + + var events = ['error', 'close', 'destroy', 'pause', 'resume']; + forEach(events, function (ev) { + stream.on(ev, self.emit.bind(self, ev)); + }); // when we try to consume some more bytes, simply unpause the + // underlying stream. + + self._read = function (n) { + debug$2('wrapped _read', n); + + if (paused) { + paused = false; + stream.resume(); + } + }; + + return self; }; // exposed for testing purposes only. @@ -10999,39 +11113,39 @@ // changes to the function body. function fromList(n, state) { - // nothing buffered - if (state.length === 0) return null; - var ret; - if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) { - // read it all, truncate the list - 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 { - // read part of list - ret = fromListPartial(n, state.buffer, state.decoder); - } - return ret; + // nothing buffered + if (state.length === 0) return null; + var ret; + if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) { + // read it all, truncate the list + 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 { + // read part of list + ret = fromListPartial(n, state.buffer, state.decoder); + } + return ret; } // Extracts only enough buffered data to satisfy the amount requested. // This function is designed to be inlinable, so please take care when making // changes to the function body. function fromListPartial(n, list, hasStrings) { - var ret; - - if (n < list.head.data.length) { - // slice is the same for buffers and strings - ret = list.head.data.slice(0, n); - list.head.data = list.head.data.slice(n); - } else if (n === list.head.data.length) { - // first chunk is a perfect match - ret = list.shift(); - } else { - // result spans more than one buffer - ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list); - } - - return ret; + var ret; + + if (n < list.head.data.length) { + // slice is the same for buffers and strings + ret = list.head.data.slice(0, n); + list.head.data = list.head.data.slice(n); + } else if (n === list.head.data.length) { + // first chunk is a perfect match + ret = list.shift(); + } else { + // result spans more than one buffer + ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list); + } + + return ret; } // Copies a specified amount of characters from the list of buffered data // chunks. // This function is designed to be inlinable, so please take care when making @@ -11039,104 +11153,104 @@ 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; + 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; } // Copies a specified amount of bytes from the list of buffered data chunks. // This function is designed to be inlinable, so please take care when making // changes to the function body. function copyFromBuffer(n, list) { - var ret = Buffer$1.allocUnsafe(n); - var p = list.head; - var c = 1; - p.data.copy(ret); - n -= p.data.length; + var ret = Buffer$1.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; + 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); - } + 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; - } + break; + } - ++c; - } + ++c; + } - list.length -= c; - return ret; + list.length -= c; + return ret; } function endReadable(stream) { - var state = stream._readableState; // If we get here before consuming all the bytes, then that is a - // bug in node. Should never happen. + var state = stream._readableState; // If we get here before consuming all the bytes, then that is a + // bug in node. Should never happen. - if (state.length > 0) throw new Error('"endReadable()" called on non-empty stream'); + if (state.length > 0) throw new Error('"endReadable()" called on non-empty stream'); - if (!state.endEmitted) { - state.ended = true; - nextTick(endReadableNT, state, stream); - } + if (!state.endEmitted) { + state.ended = true; + nextTick(endReadableNT, state, stream); + } } function endReadableNT(state, stream) { - // Check that we didn't get one last unshift. - if (!state.endEmitted && state.length === 0) { - state.endEmitted = true; - stream.readable = false; - stream.emit('end'); - } + // Check that we didn't get one last unshift. + if (!state.endEmitted && state.length === 0) { + state.endEmitted = true; + stream.readable = false; + stream.emit('end'); + } } function forEach(xs, f) { - for (var i = 0, l = xs.length; i < l; i++) { - f(xs[i], i); - } + for (var i = 0, l = xs.length; i < l; i++) { + f(xs[i], i); + } } function indexOf(xs, x) { - for (var i = 0, l = xs.length; i < l; i++) { - if (xs[i] === x) return i; - } + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) return i; + } - return -1; + return -1; } // A bit simpler than readable streams. @@ -11146,126 +11260,126 @@ function nop() {} function WriteReq(chunk, encoding, cb) { - this.chunk = chunk; - this.encoding = encoding; - this.callback = cb; - this.next = null; + this.chunk = chunk; + this.encoding = encoding; + this.callback = cb; + this.next = null; } function WritableState(options, stream) { - Object.defineProperty(this, 'buffer', { - get: deprecate$1(function () { - return this.getBuffer(); - }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.') - }); - options = options || {}; // object stream flag to indicate whether or not this stream - // contains buffers or objects. + Object.defineProperty(this, 'buffer', { + get: deprecate$1(function () { + return this.getBuffer(); + }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.') + }); + options = options || {}; // object stream flag to indicate whether or not this stream + // contains buffers or objects. - this.objectMode = !!options.objectMode; - if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false - // Note: 0 is a valid value, means that we always return false if - // the entire buffer is not flushed immediately on write() + this.objectMode = !!options.objectMode; + if (stream instanceof Duplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false + // Note: 0 is a valid value, means that we always return false if + // the entire buffer is not flushed immediately on write() - var hwm = options.highWaterMark; - var defaultHwm = this.objectMode ? 16 : 16 * 1024; - this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm; // cast to ints. + var hwm = options.highWaterMark; + var defaultHwm = this.objectMode ? 16 : 16 * 1024; + this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm; // cast to ints. - this.highWaterMark = ~~this.highWaterMark; - this.needDrain = false; // at the start of calling end() + this.highWaterMark = ~~this.highWaterMark; + this.needDrain = false; // at the start of calling end() - this.ending = false; // when end() has been called, and returned + this.ending = false; // when end() has been called, and returned - this.ended = false; // when 'finish' is emitted + this.ended = false; // when 'finish' is emitted - this.finished = false; // should we decode strings into buffers before passing to _write? - // this is here so that some node-core streams can optimize string - // handling at a lower level. + this.finished = false; // should we decode strings into buffers before passing to _write? + // this is here so that some node-core streams can optimize string + // handling at a lower level. - var noDecode = options.decodeStrings === false; - this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string - // encoding is 'binary' so we have to make this configurable. - // Everything else in the universe uses 'utf8', though. + var noDecode = options.decodeStrings === false; + this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string + // encoding is 'binary' so we have to make this configurable. + // Everything else in the universe uses 'utf8', though. - this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement - // of how much we're waiting to get pushed to some underlying - // socket or file. + this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement + // of how much we're waiting to get pushed to some underlying + // socket or file. - this.length = 0; // a flag to see when we're in the middle of a write. + this.length = 0; // a flag to see when we're in the middle of a write. - this.writing = false; // when true all writes will be buffered until .uncork() call + this.writing = false; // when true all writes will be buffered until .uncork() call - this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately, - // or on a later tick. We set this to true at first, because any - // actions that shouldn't happen until "later" should generally also - // not happen before the first write call. + this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately, + // or on a later tick. We set this to true at first, because any + // actions that shouldn't happen until "later" should generally also + // not happen before the first write call. - this.sync = true; // a flag to know if we're processing previously buffered items, which - // may call the _write() callback in the same tick, so that we don't - // end up in an overlapped onwrite situation. + this.sync = true; // a flag to know if we're processing previously buffered items, which + // may call the _write() callback in the same tick, so that we don't + // end up in an overlapped onwrite situation. - this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb) + this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb) - this.onwrite = function (er) { - onwrite(stream, er); - }; // the callback that the user supplies to write(chunk,encoding,cb) + this.onwrite = function (er) { + onwrite(stream, er); + }; // the callback that the user supplies to write(chunk,encoding,cb) - this.writecb = null; // the amount that is being written when _write is called. + this.writecb = null; // the amount that is being written when _write is called. - this.writelen = 0; - this.bufferedRequest = null; - this.lastBufferedRequest = null; // number of pending user-supplied write callbacks - // this must be 0 before 'finish' can be emitted + this.writelen = 0; + this.bufferedRequest = null; + this.lastBufferedRequest = null; // number of pending user-supplied write callbacks + // this must be 0 before 'finish' can be emitted - this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs - // This is relevant for synchronous Transform streams + this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs + // This is relevant for synchronous Transform streams - this.prefinished = false; // True if the error was already emitted and should not be thrown again + this.prefinished = false; // True if the error was already emitted and should not be thrown again - this.errorEmitted = false; // count buffered requests + this.errorEmitted = false; // count buffered requests - this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always - // one allocated and free to use, and we maintain at most two + this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always + // one allocated and free to use, and we maintain at most two - this.corkedRequestsFree = new CorkedRequest(this); + this.corkedRequestsFree = new CorkedRequest(this); } WritableState.prototype.getBuffer = function writableStateGetBuffer() { - var current = this.bufferedRequest; - var out = []; + var current = this.bufferedRequest; + var out = []; - while (current) { - out.push(current); - current = current.next; - } + while (current) { + out.push(current); + current = current.next; + } - return out; + return out; }; function Writable(options) { - // Writable ctor is applied to Duplexes, though they're not - // instanceof Writable, they're instanceof Readable. - if (!(this instanceof Writable) && !(this instanceof Duplex)) return new Writable(options); - this._writableState = new WritableState(options, this); // legacy. + // Writable ctor is applied to Duplexes, though they're not + // instanceof Writable, they're instanceof Readable. + if (!(this instanceof Writable) && !(this instanceof Duplex)) return new Writable(options); + this._writableState = new WritableState(options, this); // legacy. - this.writable = true; + this.writable = true; - if (options) { - if (typeof options.write === 'function') this._write = options.write; - if (typeof options.writev === 'function') this._writev = options.writev; - } + if (options) { + if (typeof options.write === 'function') this._write = options.write; + if (typeof options.writev === 'function') this._writev = options.writev; + } - EventEmitter$2.call(this); + EventEmitter$2.call(this); } // Otherwise people can pipe Writable streams, which is just wrong. Writable.prototype.pipe = function () { - this.emit('error', new Error('Cannot pipe, not readable')); + this.emit('error', new Error('Cannot pipe, not readable')); }; function writeAfterEnd(stream, cb) { - var er = new Error('write after end'); // TODO: defer error events consistently everywhere, not just the cb + var er = new Error('write after end'); // TODO: defer error events consistently everywhere, not just the cb - stream.emit('error', er); - nextTick(cb, er); + stream.emit('error', er); + nextTick(cb, er); } // If we get something that is not a buffer, string, null, or undefined, // and we're not in objectMode, then that's an error. // Otherwise stream chunks are all considered to be of length=1, and the @@ -11274,409 +11388,409 @@ function validChunk(stream, state, chunk, cb) { - var valid = true; - var er = false; // Always throw error if a null is written - // if we are not in object mode then throw - // if it is not a buffer, string, or undefined. + var valid = true; + var er = false; // Always throw error if a null is written + // if we are not in object mode then throw + // if it is not a buffer, string, or undefined. - if (chunk === null) { - er = new TypeError('May not write null values to stream'); - } else if (!Buffer.isBuffer(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { - er = new TypeError('Invalid non-string/buffer chunk'); - } + if (chunk === null) { + er = new TypeError('May not write null values to stream'); + } else if (!Buffer.isBuffer(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { + er = new TypeError('Invalid non-string/buffer chunk'); + } - if (er) { - stream.emit('error', er); - nextTick(cb, er); - valid = false; - } + if (er) { + stream.emit('error', er); + nextTick(cb, er); + valid = false; + } - return valid; + return valid; } Writable.prototype.write = function (chunk, encoding, cb) { - var state = this._writableState; - var ret = false; + var state = this._writableState; + var ret = false; - if (typeof encoding === 'function') { - cb = encoding; - encoding = null; - } + if (typeof encoding === 'function') { + cb = encoding; + encoding = null; + } - if (Buffer.isBuffer(chunk)) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding; - if (typeof cb !== 'function') cb = nop; - if (state.ended) writeAfterEnd(this, cb);else if (validChunk(this, state, chunk, cb)) { - state.pendingcb++; - ret = writeOrBuffer(this, state, chunk, encoding, cb); - } - return ret; + if (Buffer.isBuffer(chunk)) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding; + if (typeof cb !== 'function') cb = nop; + if (state.ended) writeAfterEnd(this, cb);else if (validChunk(this, state, chunk, cb)) { + state.pendingcb++; + ret = writeOrBuffer(this, state, chunk, encoding, cb); + } + return ret; }; Writable.prototype.cork = function () { - var state = this._writableState; - state.corked++; + var state = this._writableState; + state.corked++; }; Writable.prototype.uncork = function () { - var state = this._writableState; + var state = this._writableState; - if (state.corked) { - state.corked--; - if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state); - } + 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) { - // node::ParseEncoding() requires lower case. - 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; + // node::ParseEncoding() requires lower case. + 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); - } + if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') { + chunk = Buffer.from(chunk, encoding); + } - return chunk; + return chunk; } // if we're already writing something, then just put this // in the queue, and wait our turn. Otherwise, call _write // If we return false, then we need a drain event, so set that flag. function writeOrBuffer(stream, state, chunk, encoding, cb) { - chunk = decodeChunk(state, chunk, encoding); - if (Buffer.isBuffer(chunk)) encoding = 'buffer'; - var len = state.objectMode ? 1 : chunk.length; - state.length += len; - var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false. + chunk = decodeChunk(state, chunk, encoding); + if (Buffer.isBuffer(chunk)) encoding = 'buffer'; + var len = state.objectMode ? 1 : chunk.length; + state.length += len; + var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false. - if (!ret) state.needDrain = true; + if (!ret) state.needDrain = true; - if (state.writing || state.corked) { - var last = state.lastBufferedRequest; - state.lastBufferedRequest = new WriteReq(chunk, encoding, cb); + if (state.writing || state.corked) { + var last = state.lastBufferedRequest; + state.lastBufferedRequest = new WriteReq(chunk, encoding, cb); - if (last) { - last.next = state.lastBufferedRequest; - } else { - state.bufferedRequest = state.lastBufferedRequest; - } + if (last) { + last.next = state.lastBufferedRequest; + } else { + state.bufferedRequest = state.lastBufferedRequest; + } - state.bufferedRequestCount += 1; - } else { - doWrite(stream, state, false, len, chunk, encoding, cb); - } + state.bufferedRequestCount += 1; + } else { + doWrite(stream, state, false, len, chunk, encoding, cb); + } - return ret; + 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; + 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) nextTick(cb, er);else cb(er); - stream._writableState.errorEmitted = true; - stream.emit('error', er); + --state.pendingcb; + if (sync) nextTick(cb, er);else cb(er); + stream._writableState.errorEmitted = true; + stream.emit('error', er); } function onwriteStateUpdate(state) { - state.writing = false; - state.writecb = null; - state.length -= state.writelen; - state.writelen = 0; + 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 { - // Check if we're actually ready to finish, but don't emit yet - var finished = needFinish(state); - - if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) { - clearBuffer(stream, state); - } - - if (sync) { - /*<replacement>*/ - nextTick(afterWrite, stream, state, finished, cb); - /*</replacement>*/ - } else { - afterWrite(stream, state, finished, cb); - } - } + var state = stream._writableState; + var sync = state.sync; + var cb = state.writecb; + onwriteStateUpdate(state); + if (er) onwriteError(stream, state, sync, er, cb);else { + // Check if we're actually ready to finish, but don't emit yet + var finished = needFinish(state); + + if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) { + clearBuffer(stream, state); + } + + if (sync) { + /*<replacement>*/ + nextTick(afterWrite, stream, state, finished, cb); + /*</replacement>*/ + } else { + afterWrite(stream, state, finished, cb); + } + } } function afterWrite(stream, state, finished, cb) { - if (!finished) onwriteDrain(stream, state); - state.pendingcb--; - cb(); - finishMaybe(stream, state); + if (!finished) onwriteDrain(stream, state); + state.pendingcb--; + cb(); + finishMaybe(stream, state); } // Must force callback to be called on nextTick, so that we don't // emit 'drain' before the write() consumer gets the 'false' return // value, and has a chance to attach a 'drain' listener. function onwriteDrain(stream, state) { - if (state.length === 0 && state.needDrain) { - state.needDrain = false; - stream.emit('drain'); - } + if (state.length === 0 && state.needDrain) { + state.needDrain = false; + stream.emit('drain'); + } } // if there's something in the buffer waiting, then process it function clearBuffer(stream, state) { - state.bufferProcessing = true; - var entry = state.bufferedRequest; - - if (stream._writev && entry && entry.next) { - // Fast case, write everything using _writev() - var l = state.bufferedRequestCount; - var buffer = new Array(l); - var holder = state.corkedRequestsFree; - holder.entry = entry; - var count = 0; - - while (entry) { - buffer[count] = entry; - entry = entry.next; - count += 1; - } - - doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time - // as the hot path ends with doWrite - - state.pendingcb++; - state.lastBufferedRequest = null; - - if (holder.next) { - state.corkedRequestsFree = holder.next; - holder.next = null; - } else { - state.corkedRequestsFree = new CorkedRequest(state); - } - } else { - // Slow case, write chunks one-by-one - 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; // if we didn't call the onwrite immediately, then - // it means that we need to wait until it does. - // also, that means that the chunk and cb are currently - // being processed, so move the buffer counter past them. - - if (state.writing) { - break; - } - } - - if (entry === null) state.lastBufferedRequest = null; - } - - state.bufferedRequestCount = 0; - state.bufferedRequest = entry; - state.bufferProcessing = false; + state.bufferProcessing = true; + var entry = state.bufferedRequest; + + if (stream._writev && entry && entry.next) { + // Fast case, write everything using _writev() + var l = state.bufferedRequestCount; + var buffer = new Array(l); + var holder = state.corkedRequestsFree; + holder.entry = entry; + var count = 0; + + while (entry) { + buffer[count] = entry; + entry = entry.next; + count += 1; + } + + doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time + // as the hot path ends with doWrite + + state.pendingcb++; + state.lastBufferedRequest = null; + + if (holder.next) { + state.corkedRequestsFree = holder.next; + holder.next = null; + } else { + state.corkedRequestsFree = new CorkedRequest(state); + } + } else { + // Slow case, write chunks one-by-one + 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; // if we didn't call the onwrite immediately, then + // it means that we need to wait until it does. + // also, that means that the chunk and cb are currently + // being processed, so move the buffer counter past them. + + if (state.writing) { + break; + } + } + + if (entry === null) state.lastBufferedRequest = null; + } + + state.bufferedRequestCount = 0; + state.bufferedRequest = entry; + state.bufferProcessing = false; } Writable.prototype._write = function (chunk, encoding, cb) { - cb(new Error('not implemented')); + cb(new Error('not implemented')); }; Writable.prototype._writev = null; Writable.prototype.end = function (chunk, encoding, cb) { - var state = this._writableState; + var state = this._writableState; - if (typeof chunk === 'function') { - cb = chunk; - chunk = null; - encoding = null; - } else if (typeof encoding === 'function') { - cb = encoding; - encoding = null; - } + 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); // .end() fully uncorks + if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks - if (state.corked) { - state.corked = 1; - this.uncork(); - } // ignore unnecessary end() calls. + if (state.corked) { + state.corked = 1; + this.uncork(); + } // ignore unnecessary end() calls. - if (!state.ending && !state.finished) endWritable(this, state, cb); + 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; + return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing; } function prefinish(stream, state) { - if (!state.prefinished) { - state.prefinished = true; - stream.emit('prefinish'); - } + if (!state.prefinished) { + state.prefinished = true; + stream.emit('prefinish'); + } } function finishMaybe(stream, state) { - var need = needFinish(state); + var need = needFinish(state); - if (need) { - if (state.pendingcb === 0) { - prefinish(stream, state); - state.finished = true; - stream.emit('finish'); - } else { - prefinish(stream, state); - } - } + if (need) { + if (state.pendingcb === 0) { + prefinish(stream, state); + state.finished = true; + stream.emit('finish'); + } else { + prefinish(stream, state); + } + } - return need; + return need; } function endWritable(stream, state, cb) { - state.ending = true; - finishMaybe(stream, state); + state.ending = true; + finishMaybe(stream, state); - if (cb) { - if (state.finished) nextTick(cb);else stream.once('finish', cb); - } + if (cb) { + if (state.finished) nextTick(cb);else stream.once('finish', cb); + } - state.ended = true; - stream.writable = false; + state.ended = true; + stream.writable = false; } // It seems a linked list but it is not // there will be only 2 of these for each stream function CorkedRequest(state) { - var _this = this; + var _this = this; - this.next = null; - this.entry = null; + this.next = null; + this.entry = null; - this.finish = function (err) { - var entry = _this.entry; - _this.entry = null; + this.finish = function (err) { + var entry = _this.entry; + _this.entry = null; - while (entry) { - var cb = entry.callback; - state.pendingcb--; - cb(err); - entry = entry.next; - } + while (entry) { + var cb = entry.callback; + state.pendingcb--; + cb(err); + entry = entry.next; + } - if (state.corkedRequestsFree) { - state.corkedRequestsFree.next = _this; - } else { - state.corkedRequestsFree = _this; - } - }; + if (state.corkedRequestsFree) { + state.corkedRequestsFree.next = _this; + } else { + state.corkedRequestsFree = _this; + } + }; } inherits$3(Duplex, Readable); var keys = Object.keys(Writable.prototype); for (var v = 0; v < keys.length; v++) { - var method = keys[v]; - if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; + 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); + 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); } // the no-half-open enforcer function onend() { - // if we allow half-open state, or if the writable side ended, - // then we're ok. - if (this.allowHalfOpen || this._writableState.ended) return; // no more data can be written. - // But allow more writes to happen in this tick. + // if we allow half-open state, or if the writable side ended, + // then we're ok. + if (this.allowHalfOpen || this._writableState.ended) return; // no more data can be written. + // But allow more writes to happen in this tick. - nextTick(onEndNT, this); + nextTick(onEndNT, this); } function onEndNT(self) { - self.end(); + self.end(); } // a transform stream is a readable/writable stream where you do inherits$3(Transform, Duplex); function TransformState(stream) { - this.afterTransform = function (er, data) { - return afterTransform(stream, er, data); - }; + this.afterTransform = function (er, data) { + return afterTransform(stream, er, data); + }; - this.needTransform = false; - this.transforming = false; - this.writecb = null; - this.writechunk = null; - this.writeencoding = null; + this.needTransform = false; + this.transforming = false; + this.writecb = null; + this.writechunk = null; + this.writeencoding = null; } function afterTransform(stream, er, data) { - var ts = stream._transformState; - ts.transforming = false; - var cb = ts.writecb; - if (!cb) return stream.emit('error', new Error('no writecb in Transform class')); - ts.writechunk = null; - ts.writecb = null; - if (data !== null && data !== undefined) stream.push(data); - cb(er); - var rs = stream._readableState; - rs.reading = false; - - if (rs.needReadable || rs.length < rs.highWaterMark) { - stream._read(rs.highWaterMark); - } + var ts = stream._transformState; + ts.transforming = false; + var cb = ts.writecb; + if (!cb) return stream.emit('error', new Error('no writecb in Transform class')); + ts.writechunk = null; + ts.writecb = null; + if (data !== null && data !== undefined) stream.push(data); + cb(er); + var rs = stream._readableState; + rs.reading = false; + + if (rs.needReadable || rs.length < rs.highWaterMark) { + stream._read(rs.highWaterMark); + } } function Transform(options) { - if (!(this instanceof Transform)) return new Transform(options); - Duplex.call(this, options); - this._transformState = new TransformState(this); // when the writable side finishes, then flush out anything remaining. + if (!(this instanceof Transform)) return new Transform(options); + Duplex.call(this, options); + this._transformState = new TransformState(this); // when the writable side finishes, then flush out anything remaining. - var stream = this; // start out asking for a readable event once data is transformed. + var stream = this; // start out asking for a readable event once data is transformed. - this._readableState.needReadable = true; // we have implemented the _read method, and done the other things - // that Readable wants before the first _read call, so unset the - // sync guard flag. + this._readableState.needReadable = true; // we have implemented the _read method, and done the other things + // that Readable wants before the first _read call, so unset the + // sync guard flag. - this._readableState.sync = false; + this._readableState.sync = false; - if (options) { - if (typeof options.transform === 'function') this._transform = options.transform; - if (typeof options.flush === 'function') this._flush = options.flush; - } + if (options) { + if (typeof options.transform === 'function') this._transform = options.transform; + if (typeof options.flush === 'function') this._flush = options.flush; + } - this.once('prefinish', function () { - if (typeof this._flush === 'function') this._flush(function (er) { - done(stream, er); - });else done(stream); - }); + this.once('prefinish', function () { + if (typeof this._flush === 'function') this._flush(function (er) { + done(stream, er); + });else done(stream); + }); } Transform.prototype.push = function (chunk, encoding) { - this._transformState.needTransform = false; - return Duplex.prototype.push.call(this, chunk, encoding); + this._transformState.needTransform = false; + return Duplex.prototype.push.call(this, chunk, encoding); }; // This is the part where you do stuff! // override this function in implementation classes. // 'chunk' is an input chunk. @@ -11690,57 +11804,57 @@ Transform.prototype._transform = function (chunk, encoding, cb) { - throw new Error('Not implemented'); + throw new Error('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); - } + 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); + } }; // Doesn't matter what the args are here. // _transform does all the work. // That we got here means that the readable side wants more data. Transform.prototype._read = function (n) { - var ts = this._transformState; + var ts = this._transformState; - if (ts.writechunk !== null && ts.writecb && !ts.transforming) { - ts.transforming = true; + if (ts.writechunk !== null && ts.writecb && !ts.transforming) { + ts.transforming = true; - this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform); - } else { - // mark that we need a transform, so that any data that comes in - // will get processed, now that we've asked for it. - ts.needTransform = true; - } + this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform); + } else { + // mark that we need a transform, so that any data that comes in + // will get processed, now that we've asked for it. + ts.needTransform = true; + } }; function done(stream, er) { - if (er) return stream.emit('error', er); // if there's nothing in the write buffer, then that means - // that nothing more will ever be provided + if (er) return stream.emit('error', er); // if there's nothing in the write buffer, then that means + // that nothing more will ever be provided - var ws = stream._writableState; - var ts = stream._transformState; - if (ws.length) throw new Error('Calling transform done when ws.length != 0'); - if (ts.transforming) throw new Error('Calling transform done when still transforming'); - return stream.push(null); + var ws = stream._writableState; + var ts = stream._transformState; + if (ws.length) throw new Error('Calling transform done when ws.length != 0'); + if (ts.transforming) throw new Error('Calling transform done when still transforming'); + return stream.push(null); } inherits$3(PassThrough, Transform); function PassThrough(options) { - if (!(this instanceof PassThrough)) return new PassThrough(options); - Transform.call(this, options); + if (!(this instanceof PassThrough)) return new PassThrough(options); + Transform.call(this, options); } PassThrough.prototype._transform = function (chunk, encoding, cb) { - cb(null, chunk); + cb(null, chunk); }; inherits$3(Stream, EventEmitter$2); @@ -11754,80 +11868,80 @@ // part of this class) is overridden in the Readable class. function Stream() { - EventEmitter$2.call(this); + EventEmitter$2.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 the 'end' option is not supplied, dest.end() will be called when - // source gets the 'end' or 'close' events. Only dest.end() once. - - 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(); - } // don't leave dangling pipes when there are errors. - - - function onerror(er) { - cleanup(); - - if (EventEmitter$2.listenerCount(this, 'error') === 0) { - throw er; // Unhandled stream error in pipe. - } - } - - source.on('error', onerror); - dest.on('error', onerror); // remove all the event listeners that were added. - - 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); // Allow for unix-like usage: A.pipe(B).pipe(C) - - return dest; + 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 the 'end' option is not supplied, dest.end() will be called when + // source gets the 'end' or 'close' events. Only dest.end() once. + + 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(); + } // don't leave dangling pipes when there are errors. + + + function onerror(er) { + cleanup(); + + if (EventEmitter$2.listenerCount(this, 'error') === 0) { + throw er; // Unhandled stream error in pipe. + } + } + + source.on('error', onerror); + dest.on('error', onerror); // remove all the event listeners that were added. + + 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); // Allow for unix-like usage: A.pipe(B).pipe(C) + + return dest; }; var WritableStream = Stream.Writable; @@ -11836,37 +11950,37 @@ inherits$1(BrowserStdout, WritableStream); function BrowserStdout(opts) { - if (!(this instanceof BrowserStdout)) return new BrowserStdout(opts); - opts = opts || {}; - WritableStream.call(this, opts); - this.label = opts.label !== undefined ? opts.label : 'stdout'; + if (!(this instanceof BrowserStdout)) return new BrowserStdout(opts); + opts = opts || {}; + WritableStream.call(this, opts); + this.label = opts.label !== undefined ? opts.label : 'stdout'; } BrowserStdout.prototype._write = function (chunks, encoding, cb) { - var output = chunks.toString ? chunks.toString() : chunks; + var output = chunks.toString ? chunks.toString() : chunks; - if (this.label === false) { - console.log(output); - } else { - console.log(this.label + ':', output); - } + if (this.label === false) { + console.log(output); + } else { + console.log(this.label + ':', output); + } - nextTick$1(cb); + nextTick$1(cb); }; var parseQuery = function parseQuery(qs) { - return qs.replace('?', '').split('&').reduce(function (obj, pair) { - var i = pair.indexOf('='); - var key = pair.slice(0, i); - var val = pair.slice(++i); // Due to how the URLSearchParams API treats spaces + return qs.replace('?', '').split('&').reduce(function (obj, pair) { + var i = pair.indexOf('='); + var key = pair.slice(0, i); + var val = pair.slice(++i); // Due to how the URLSearchParams API treats spaces - obj[key] = decodeURIComponent(val.replace(/\+/g, '%20')); - return obj; - }, {}); + obj[key] = decodeURIComponent(val.replace(/\+/g, '%20')); + return obj; + }, {}); }; function highlight(js) { - return js.replace(/</g, '<').replace(/>/g, '>').replace(/\/\/(.*)/gm, '<span class="comment">//$1</span>').replace(/('.*?')/gm, '<span class="string">$1</span>').replace(/(\d+\.\d+)/gm, '<span class="number">$1</span>').replace(/(\d+)/gm, '<span class="number">$1</span>').replace(/\bnew[ \t]+(\w+)/gm, '<span class="keyword">new</span> <span class="init">$1</span>').replace(/\b(function|new|throw|return|var|if|else)\b/gm, '<span class="keyword">$1</span>'); + return js.replace(/</g, '<').replace(/>/g, '>').replace(/\/\/(.*)/gm, '<span class="comment">//$1</span>').replace(/('.*?')/gm, '<span class="string">$1</span>').replace(/(\d+\.\d+)/gm, '<span class="number">$1</span>').replace(/(\d+)/gm, '<span class="number">$1</span>').replace(/\bnew[ \t]+(\w+)/gm, '<span class="keyword">new</span> <span class="init">$1</span>').replace(/\b(function|new|throw|return|var|if|else)\b/gm, '<span class="keyword">$1</span>'); } /** * Highlight the contents of tag `name`. @@ -11877,72 +11991,72 @@ var highlightTags = function highlightTags(name) { - var code = document.getElementById('mocha').getElementsByTagName(name); + var code = document.getElementById('mocha').getElementsByTagName(name); - for (var i = 0, len = code.length; i < len; ++i) { - code[i].innerHTML = highlight(code[i].innerHTML); - } + for (var i = 0, len = code.length; i < len; ++i) { + code[i].innerHTML = highlight(code[i].innerHTML); + } }; var nativePromiseConstructor = global_1.Promise; var iteratorClose = function (iterator) { - var returnMethod = iterator['return']; - if (returnMethod !== undefined) { - return anObject(returnMethod.call(iterator)).value; - } + var returnMethod = iterator['return']; + if (returnMethod !== undefined) { + return anObject(returnMethod.call(iterator)).value; + } }; var Result = function (stopped, result) { - this.stopped = stopped; - this.result = result; + this.stopped = stopped; + this.result = result; }; var iterate = function (iterable, unboundFunction, options) { - var that = options && options.that; - var AS_ENTRIES = !!(options && options.AS_ENTRIES); - var IS_ITERATOR = !!(options && options.IS_ITERATOR); - var INTERRUPTED = !!(options && options.INTERRUPTED); - var fn = functionBindContext(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED); - var iterator, iterFn, index, length, result, next, step; - - var stop = function (condition) { - if (iterator) iteratorClose(iterator); - return new Result(true, condition); - }; - - var callFn = function (value) { - if (AS_ENTRIES) { - anObject(value); - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); - } return INTERRUPTED ? fn(value, stop) : fn(value); - }; - - if (IS_ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = toLength(iterable.length); length > index; index++) { - result = callFn(iterable[index]); - if (result && result instanceof Result) return result; - } return new Result(false); - } - iterator = iterFn.call(iterable); - } - - next = iterator.next; - while (!(step = next.call(iterator)).done) { - try { - result = callFn(step.value); - } catch (error) { - iteratorClose(iterator); - throw error; - } - if (typeof result == 'object' && result && result instanceof Result) return result; - } return new Result(false); + var that = options && options.that; + var AS_ENTRIES = !!(options && options.AS_ENTRIES); + var IS_ITERATOR = !!(options && options.IS_ITERATOR); + var INTERRUPTED = !!(options && options.INTERRUPTED); + var fn = functionBindContext(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED); + var iterator, iterFn, index, length, result, next, step; + + var stop = function (condition) { + if (iterator) iteratorClose(iterator); + return new Result(true, condition); + }; + + var callFn = function (value) { + if (AS_ENTRIES) { + anObject(value); + return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); + } return INTERRUPTED ? fn(value, stop) : fn(value); + }; + + if (IS_ITERATOR) { + iterator = iterable; + } else { + iterFn = getIteratorMethod(iterable); + if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); + // optimisation for array iterators + if (isArrayIteratorMethod(iterFn)) { + for (index = 0, length = toLength(iterable.length); length > index; index++) { + result = callFn(iterable[index]); + if (result && result instanceof Result) return result; + } return new Result(false); + } + iterator = iterFn.call(iterable); + } + + next = iterator.next; + while (!(step = next.call(iterator)).done) { + try { + result = callFn(step.value); + } catch (error) { + iteratorClose(iterator); + throw error; + } + if (typeof result == 'object' && result && result instanceof Result) return result; + } return new Result(false); }; var engineIsIos = /(?:iphone|ipod|ipad).*applewebkit/i.test(engineUserAgent); @@ -11961,92 +12075,92 @@ var defer, channel, port; var run = function (id) { - // eslint-disable-next-line no-prototype-builtins -- safe - if (queue.hasOwnProperty(id)) { - var fn = queue[id]; - delete queue[id]; - fn(); - } + // eslint-disable-next-line no-prototype-builtins -- safe + if (queue.hasOwnProperty(id)) { + var fn = queue[id]; + delete queue[id]; + fn(); + } }; var runner$1 = function (id) { - return function () { - run(id); - }; + return function () { + run(id); + }; }; var listener = function (event) { - run(event.data); + run(event.data); }; var post = function (id) { - // old engines have not location.origin - global_1.postMessage(id + '', location$1.protocol + '//' + location$1.host); + // old engines have not location.origin + global_1.postMessage(id + '', location$1.protocol + '//' + location$1.host); }; // Node.js 0.9+ & IE10+ has setImmediate, otherwise: if (!set || !clear) { - set = function setImmediate(fn) { - var args = []; - var i = 1; - while (arguments.length > i) args.push(arguments[i++]); - queue[++counter] = function () { - // eslint-disable-next-line no-new-func -- spec requirement - (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); - }; - defer(counter); - return counter; - }; - clear = function clearImmediate(id) { - delete queue[id]; - }; - // Node.js 0.8- - if (engineIsNode) { - defer = function (id) { - process$2.nextTick(runner$1(id)); - }; - // Sphere (JS game engine) Dispatch API - } else if (Dispatch && Dispatch.now) { - defer = function (id) { - Dispatch.now(runner$1(id)); - }; - // Browsers with MessageChannel, includes WebWorkers - // except iOS - https://github.com/zloirock/core-js/issues/624 - } else if (MessageChannel && !engineIsIos) { - channel = new MessageChannel(); - port = channel.port2; - channel.port1.onmessage = listener; - defer = functionBindContext(port.postMessage, port, 1); - // Browsers with postMessage, skip WebWorkers - // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' - } else if ( - global_1.addEventListener && - typeof postMessage == 'function' && - !global_1.importScripts && - location$1 && location$1.protocol !== 'file:' && - !fails(post) - ) { - defer = post; - global_1.addEventListener('message', listener, false); - // IE8- - } else if (ONREADYSTATECHANGE in documentCreateElement('script')) { - defer = function (id) { - html$1.appendChild(documentCreateElement('script'))[ONREADYSTATECHANGE] = function () { - html$1.removeChild(this); - run(id); - }; - }; - // Rest old browsers - } else { - defer = function (id) { - setTimeout(runner$1(id), 0); - }; - } + set = function setImmediate(fn) { + var args = []; + var i = 1; + while (arguments.length > i) args.push(arguments[i++]); + queue[++counter] = function () { + // eslint-disable-next-line no-new-func -- spec requirement + (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); + }; + defer(counter); + return counter; + }; + clear = function clearImmediate(id) { + delete queue[id]; + }; + // Node.js 0.8- + if (engineIsNode) { + defer = function (id) { + process$2.nextTick(runner$1(id)); + }; + // Sphere (JS game engine) Dispatch API + } else if (Dispatch && Dispatch.now) { + defer = function (id) { + Dispatch.now(runner$1(id)); + }; + // Browsers with MessageChannel, includes WebWorkers + // except iOS - https://github.com/zloirock/core-js/issues/624 + } else if (MessageChannel && !engineIsIos) { + channel = new MessageChannel(); + port = channel.port2; + channel.port1.onmessage = listener; + defer = functionBindContext(port.postMessage, port, 1); + // Browsers with postMessage, skip WebWorkers + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' + } else if ( + global_1.addEventListener && + typeof postMessage == 'function' && + !global_1.importScripts && + location$1 && location$1.protocol !== 'file:' && + !fails(post) + ) { + defer = post; + global_1.addEventListener('message', listener, false); + // IE8- + } else if (ONREADYSTATECHANGE in documentCreateElement('script')) { + defer = function (id) { + html$1.appendChild(documentCreateElement('script'))[ONREADYSTATECHANGE] = function () { + html$1.removeChild(this); + run(id); + }; + }; + // Rest old browsers + } else { + defer = function (id) { + setTimeout(runner$1(id), 0); + }; + } } var task$1 = { - set: set, - clear: clear + set: set, + clear: clear }; var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(engineUserAgent); @@ -12069,85 +12183,85 @@ // modern engines have queueMicrotask method if (!queueMicrotask) { - flush = function () { - var parent, fn; - if (engineIsNode && (parent = process$1.domain)) parent.exit(); - while (head) { - fn = head.fn; - head = head.next; - try { - fn(); - } catch (error) { - if (head) notify$2(); - else last = undefined; - throw error; - } - } last = undefined; - if (parent) parent.enter(); - }; - - // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 - // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 - if (!engineIsIos && !engineIsNode && !engineIsWebosWebkit && MutationObserver && document$2) { - toggle = true; - node = document$2.createTextNode(''); - new MutationObserver(flush).observe(node, { characterData: true }); - notify$2 = function () { - node.data = toggle = !toggle; - }; - // environments with maybe non-completely correct, but existent Promise - } else if (Promise$1 && Promise$1.resolve) { - // Promise.resolve without an argument throws an error in LG WebOS 2 - promise = Promise$1.resolve(undefined); - // workaround of WebKit ~ iOS Safari 10.1 bug - promise.constructor = Promise$1; - then = promise.then; - notify$2 = function () { - then.call(promise, flush); - }; - // Node.js without promises - } else if (engineIsNode) { - notify$2 = function () { - process$1.nextTick(flush); - }; - // for other environments - macrotask based on: - // - setImmediate - // - MessageChannel - // - window.postMessag - // - onreadystatechange - // - setTimeout - } else { - notify$2 = function () { - // strange IE + webpack dev server bug - use .call(global) - macrotask.call(global_1, flush); - }; - } + flush = function () { + var parent, fn; + if (engineIsNode && (parent = process$1.domain)) parent.exit(); + while (head) { + fn = head.fn; + head = head.next; + try { + fn(); + } catch (error) { + if (head) notify$2(); + else last = undefined; + throw error; + } + } last = undefined; + if (parent) parent.enter(); + }; + + // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 + // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 + if (!engineIsIos && !engineIsNode && !engineIsWebosWebkit && MutationObserver && document$2) { + toggle = true; + node = document$2.createTextNode(''); + new MutationObserver(flush).observe(node, { characterData: true }); + notify$2 = function () { + node.data = toggle = !toggle; + }; + // environments with maybe non-completely correct, but existent Promise + } else if (Promise$1 && Promise$1.resolve) { + // Promise.resolve without an argument throws an error in LG WebOS 2 + promise = Promise$1.resolve(undefined); + // workaround of WebKit ~ iOS Safari 10.1 bug + promise.constructor = Promise$1; + then = promise.then; + notify$2 = function () { + then.call(promise, flush); + }; + // Node.js without promises + } else if (engineIsNode) { + notify$2 = function () { + process$1.nextTick(flush); + }; + // for other environments - macrotask based on: + // - setImmediate + // - MessageChannel + // - window.postMessag + // - onreadystatechange + // - setTimeout + } else { + notify$2 = function () { + // strange IE + webpack dev server bug - use .call(global) + macrotask.call(global_1, flush); + }; + } } var microtask = queueMicrotask || function (fn) { - var task = { fn: fn, next: undefined }; - if (last) last.next = task; - if (!head) { - head = task; - notify$2(); - } last = task; + var task = { fn: fn, next: undefined }; + if (last) last.next = task; + if (!head) { + head = task; + notify$2(); + } last = task; }; var PromiseCapability = function (C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aFunction(resolve); - this.reject = aFunction(reject); + var resolve, reject; + this.promise = new C(function ($$resolve, $$reject) { + if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); + resolve = $$resolve; + reject = $$reject; + }); + this.resolve = aFunction(resolve); + this.reject = aFunction(reject); }; // `NewPromiseCapability` abstract operation // https://tc39.es/ecma262/#sec-newpromisecapability var f = function (C) { - return new PromiseCapability(C); + return new PromiseCapability(C); }; var newPromiseCapability$1 = { @@ -12155,27 +12269,27 @@ }; var promiseResolve = function (C, x) { - anObject(C); - if (isObject$1(x) && x.constructor === C) return x; - var promiseCapability = newPromiseCapability$1.f(C); - var resolve = promiseCapability.resolve; - resolve(x); - return promiseCapability.promise; + anObject(C); + if (isObject$1(x) && x.constructor === C) return x; + var promiseCapability = newPromiseCapability$1.f(C); + var resolve = promiseCapability.resolve; + resolve(x); + return promiseCapability.promise; }; var hostReportErrors = function (a, b) { - var console = global_1.console; - if (console && console.error) { - arguments.length === 1 ? console.error(a) : console.error(a, b); - } + var console = global_1.console; + if (console && console.error) { + arguments.length === 1 ? console.error(a) : console.error(a, b); + } }; var perform = function (exec) { - try { - return { error: false, value: exec() }; - } catch (error) { - return { error: true, value: error }; - } + try { + return { error: false, value: exec() }; + } catch (error) { + return { error: true, value: error }; + } }; var engineIsBrowser = typeof window == 'object'; @@ -12219,267 +12333,268 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; var FORCED$2 = isForced_1(PROMISE, function () { - var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor); - // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables - // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 - // We can't detect it synchronously, so just check versions - if (!GLOBAL_CORE_JS_PROMISE && engineV8Version === 66) return true; - // We can't use @@species feature detection in V8 since it causes - // deoptimization and performance degradation - // https://github.com/zloirock/core-js/issues/679 - if (engineV8Version >= 51 && /native code/.test(PromiseConstructor)) return false; - // Detect correctness of subclassing with @@species support - var promise = new PromiseConstructor(function (resolve) { resolve(1); }); - var FakePromise = function (exec) { - exec(function () { /* empty */ }, function () { /* empty */ }); - }; - var constructor = promise.constructor = {}; - constructor[SPECIES] = FakePromise; - SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; - if (!SUBCLASSING) return true; - // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test - return !GLOBAL_CORE_JS_PROMISE && engineIsBrowser && !NATIVE_REJECTION_EVENT; + var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor); + var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor); + // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 + // We can't detect it synchronously, so just check versions + if (!GLOBAL_CORE_JS_PROMISE && engineV8Version === 66) return true; + // We can't use @@species feature detection in V8 since it causes + // deoptimization and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if (engineV8Version >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false; + // Detect correctness of subclassing with @@species support + var promise = new PromiseConstructor(function (resolve) { resolve(1); }); + var FakePromise = function (exec) { + exec(function () { /* empty */ }, function () { /* empty */ }); + }; + var constructor = promise.constructor = {}; + constructor[SPECIES] = FakePromise; + SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; + if (!SUBCLASSING) return true; + // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test + return !GLOBAL_CORE_JS_PROMISE && engineIsBrowser && !NATIVE_REJECTION_EVENT; }); var INCORRECT_ITERATION$1 = FORCED$2 || !checkCorrectnessOfIteration(function (iterable) { - PromiseConstructor.all(iterable)['catch'](function () { /* empty */ }); + PromiseConstructor.all(iterable)['catch'](function () { /* empty */ }); }); // helpers var isThenable = function (it) { - var then; - return isObject$1(it) && typeof (then = it.then) == 'function' ? then : false; + var then; + return isObject$1(it) && typeof (then = it.then) == 'function' ? then : false; }; var notify$1 = function (state, isReject) { - if (state.notified) return; - state.notified = true; - var chain = state.reactions; - microtask(function () { - var value = state.value; - var ok = state.state == FULFILLED; - var index = 0; - // variable length - can't use forEach - while (chain.length > index) { - var reaction = chain[index++]; - var handler = ok ? reaction.ok : reaction.fail; - var resolve = reaction.resolve; - var reject = reaction.reject; - var domain = reaction.domain; - var result, then, exited; - try { - if (handler) { - if (!ok) { - if (state.rejection === UNHANDLED) onHandleUnhandled(state); - state.rejection = HANDLED; - } - if (handler === true) result = value; - else { - if (domain) domain.enter(); - result = handler(value); // can throw - if (domain) { - domain.exit(); - exited = true; - } - } - if (result === reaction.promise) { - reject(TypeError$1('Promise-chain cycle')); - } else if (then = isThenable(result)) { - then.call(result, resolve, reject); - } else resolve(result); - } else reject(value); - } catch (error) { - if (domain && !exited) domain.exit(); - reject(error); - } - } - state.reactions = []; - state.notified = false; - if (isReject && !state.rejection) onUnhandled(state); - }); + if (state.notified) return; + state.notified = true; + var chain = state.reactions; + microtask(function () { + var value = state.value; + var ok = state.state == FULFILLED; + var index = 0; + // variable length - can't use forEach + while (chain.length > index) { + var reaction = chain[index++]; + var handler = ok ? reaction.ok : reaction.fail; + var resolve = reaction.resolve; + var reject = reaction.reject; + var domain = reaction.domain; + var result, then, exited; + try { + if (handler) { + if (!ok) { + if (state.rejection === UNHANDLED) onHandleUnhandled(state); + state.rejection = HANDLED; + } + if (handler === true) result = value; + else { + if (domain) domain.enter(); + result = handler(value); // can throw + if (domain) { + domain.exit(); + exited = true; + } + } + if (result === reaction.promise) { + reject(TypeError$1('Promise-chain cycle')); + } else if (then = isThenable(result)) { + then.call(result, resolve, reject); + } else resolve(result); + } else reject(value); + } catch (error) { + if (domain && !exited) domain.exit(); + reject(error); + } + } + state.reactions = []; + state.notified = false; + if (isReject && !state.rejection) onUnhandled(state); + }); }; var dispatchEvent = function (name, promise, reason) { - var event, handler; - if (DISPATCH_EVENT) { - event = document$1.createEvent('Event'); - event.promise = promise; - event.reason = reason; - event.initEvent(name, false, true); - global_1.dispatchEvent(event); - } else event = { promise: promise, reason: reason }; - if (!NATIVE_REJECTION_EVENT && (handler = global_1['on' + name])) handler(event); - else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); + var event, handler; + if (DISPATCH_EVENT) { + event = document$1.createEvent('Event'); + event.promise = promise; + event.reason = reason; + event.initEvent(name, false, true); + global_1.dispatchEvent(event); + } else event = { promise: promise, reason: reason }; + if (!NATIVE_REJECTION_EVENT && (handler = global_1['on' + name])) handler(event); + else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); }; var onUnhandled = function (state) { - task.call(global_1, function () { - var promise = state.facade; - var value = state.value; - var IS_UNHANDLED = isUnhandled(state); - var result; - if (IS_UNHANDLED) { - result = perform(function () { - if (engineIsNode) { - process.emit('unhandledRejection', value, promise); - } else dispatchEvent(UNHANDLED_REJECTION, promise, value); - }); - // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should - state.rejection = engineIsNode || isUnhandled(state) ? UNHANDLED : HANDLED; - if (result.error) throw result.value; - } - }); + task.call(global_1, function () { + var promise = state.facade; + var value = state.value; + var IS_UNHANDLED = isUnhandled(state); + var result; + if (IS_UNHANDLED) { + result = perform(function () { + if (engineIsNode) { + process.emit('unhandledRejection', value, promise); + } else dispatchEvent(UNHANDLED_REJECTION, promise, value); + }); + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should + state.rejection = engineIsNode || isUnhandled(state) ? UNHANDLED : HANDLED; + if (result.error) throw result.value; + } + }); }; var isUnhandled = function (state) { - return state.rejection !== HANDLED && !state.parent; + return state.rejection !== HANDLED && !state.parent; }; var onHandleUnhandled = function (state) { - task.call(global_1, function () { - var promise = state.facade; - if (engineIsNode) { - process.emit('rejectionHandled', promise); - } else dispatchEvent(REJECTION_HANDLED, promise, state.value); - }); + task.call(global_1, function () { + var promise = state.facade; + if (engineIsNode) { + process.emit('rejectionHandled', promise); + } else dispatchEvent(REJECTION_HANDLED, promise, state.value); + }); }; var bind = function (fn, state, unwrap) { - return function (value) { - fn(state, value, unwrap); - }; + return function (value) { + fn(state, value, unwrap); + }; }; var internalReject = function (state, value, unwrap) { - if (state.done) return; - state.done = true; - if (unwrap) state = unwrap; - state.value = value; - state.state = REJECTED; - notify$1(state, true); + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + state.value = value; + state.state = REJECTED; + notify$1(state, true); }; var internalResolve = function (state, value, unwrap) { - if (state.done) return; - state.done = true; - if (unwrap) state = unwrap; - try { - if (state.facade === value) throw TypeError$1("Promise can't be resolved itself"); - var then = isThenable(value); - if (then) { - microtask(function () { - var wrapper = { done: false }; - try { - then.call(value, - bind(internalResolve, wrapper, state), - bind(internalReject, wrapper, state) - ); - } catch (error) { - internalReject(wrapper, error, state); - } - }); - } else { - state.value = value; - state.state = FULFILLED; - notify$1(state, false); - } - } catch (error) { - internalReject({ done: false }, error, state); - } + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + try { + if (state.facade === value) throw TypeError$1("Promise can't be resolved itself"); + var then = isThenable(value); + if (then) { + microtask(function () { + var wrapper = { done: false }; + try { + then.call(value, + bind(internalResolve, wrapper, state), + bind(internalReject, wrapper, state) + ); + } catch (error) { + internalReject(wrapper, error, state); + } + }); + } else { + state.value = value; + state.state = FULFILLED; + notify$1(state, false); + } + } catch (error) { + internalReject({ done: false }, error, state); + } }; // constructor polyfill if (FORCED$2) { - // 25.4.3.1 Promise(executor) - PromiseConstructor = function Promise(executor) { - anInstance(this, PromiseConstructor, PROMISE); - aFunction(executor); - Internal.call(this); - var state = getInternalState$1(this); - try { - executor(bind(internalResolve, state), bind(internalReject, state)); - } catch (error) { - internalReject(state, error); - } - }; - PromiseConstructorPrototype = PromiseConstructor.prototype; - // eslint-disable-next-line no-unused-vars -- required for `.length` - Internal = function Promise(executor) { - setInternalState$2(this, { - type: PROMISE, - done: false, - notified: false, - parent: false, - reactions: [], - rejection: false, - state: PENDING, - value: undefined - }); - }; - Internal.prototype = redefineAll(PromiseConstructorPrototype, { - // `Promise.prototype.then` method - // https://tc39.es/ecma262/#sec-promise.prototype.then - then: function then(onFulfilled, onRejected) { - var state = getInternalPromiseState(this); - var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); - reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; - reaction.fail = typeof onRejected == 'function' && onRejected; - reaction.domain = engineIsNode ? process.domain : undefined; - state.parent = true; - state.reactions.push(reaction); - if (state.state != PENDING) notify$1(state, false); - return reaction.promise; - }, - // `Promise.prototype.catch` method - // https://tc39.es/ecma262/#sec-promise.prototype.catch - 'catch': function (onRejected) { - return this.then(undefined, onRejected); - } - }); - OwnPromiseCapability = function () { - var promise = new Internal(); - var state = getInternalState$1(promise); - this.promise = promise; - this.resolve = bind(internalResolve, state); - this.reject = bind(internalReject, state); - }; - newPromiseCapability$1.f = newPromiseCapability = function (C) { - return C === PromiseConstructor || C === PromiseWrapper - ? new OwnPromiseCapability(C) - : newGenericPromiseCapability(C); - }; - - if (typeof nativePromiseConstructor == 'function' && NativePromisePrototype !== Object.prototype) { - nativeThen = NativePromisePrototype.then; - - if (!SUBCLASSING) { - // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs - redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { - var that = this; - return new PromiseConstructor(function (resolve, reject) { - nativeThen.call(that, resolve, reject); - }).then(onFulfilled, onRejected); - // https://github.com/zloirock/core-js/issues/640 - }, { unsafe: true }); - - // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` - redefine(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true }); - } - - // make `.constructor === Promise` work for native promise-based APIs - try { - delete NativePromisePrototype.constructor; - } catch (error) { /* empty */ } - - // make `instanceof Promise` work for native promise-based APIs - if (objectSetPrototypeOf) { - objectSetPrototypeOf(NativePromisePrototype, PromiseConstructorPrototype); - } - } + // 25.4.3.1 Promise(executor) + PromiseConstructor = function Promise(executor) { + anInstance(this, PromiseConstructor, PROMISE); + aFunction(executor); + Internal.call(this); + var state = getInternalState$1(this); + try { + executor(bind(internalResolve, state), bind(internalReject, state)); + } catch (error) { + internalReject(state, error); + } + }; + PromiseConstructorPrototype = PromiseConstructor.prototype; + // eslint-disable-next-line no-unused-vars -- required for `.length` + Internal = function Promise(executor) { + setInternalState$2(this, { + type: PROMISE, + done: false, + notified: false, + parent: false, + reactions: [], + rejection: false, + state: PENDING, + value: undefined + }); + }; + Internal.prototype = redefineAll(PromiseConstructorPrototype, { + // `Promise.prototype.then` method + // https://tc39.es/ecma262/#sec-promise.prototype.then + then: function then(onFulfilled, onRejected) { + var state = getInternalPromiseState(this); + var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; + reaction.fail = typeof onRejected == 'function' && onRejected; + reaction.domain = engineIsNode ? process.domain : undefined; + state.parent = true; + state.reactions.push(reaction); + if (state.state != PENDING) notify$1(state, false); + return reaction.promise; + }, + // `Promise.prototype.catch` method + // https://tc39.es/ecma262/#sec-promise.prototype.catch + 'catch': function (onRejected) { + return this.then(undefined, onRejected); + } + }); + OwnPromiseCapability = function () { + var promise = new Internal(); + var state = getInternalState$1(promise); + this.promise = promise; + this.resolve = bind(internalResolve, state); + this.reject = bind(internalReject, state); + }; + newPromiseCapability$1.f = newPromiseCapability = function (C) { + return C === PromiseConstructor || C === PromiseWrapper + ? new OwnPromiseCapability(C) + : newGenericPromiseCapability(C); + }; + + if (typeof nativePromiseConstructor == 'function' && NativePromisePrototype !== Object.prototype) { + nativeThen = NativePromisePrototype.then; + + if (!SUBCLASSING) { + // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs + redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { + var that = this; + return new PromiseConstructor(function (resolve, reject) { + nativeThen.call(that, resolve, reject); + }).then(onFulfilled, onRejected); + // https://github.com/zloirock/core-js/issues/640 + }, { unsafe: true }); + + // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` + redefine(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true }); + } + + // make `.constructor === Promise` work for native promise-based APIs + try { + delete NativePromisePrototype.constructor; + } catch (error) { /* empty */ } + + // make `instanceof Promise` work for native promise-based APIs + if (objectSetPrototypeOf) { + objectSetPrototypeOf(NativePromisePrototype, PromiseConstructorPrototype); + } + } } _export({ global: true, wrap: true, forced: FORCED$2 }, { - Promise: PromiseConstructor + Promise: PromiseConstructor }); setToStringTag(PromiseConstructor, PROMISE, false); @@ -12489,68 +12604,68 @@ // statics _export({ target: PROMISE, stat: true, forced: FORCED$2 }, { - // `Promise.reject` method - // https://tc39.es/ecma262/#sec-promise.reject - reject: function reject(r) { - var capability = newPromiseCapability(this); - capability.reject.call(undefined, r); - return capability.promise; - } + // `Promise.reject` method + // https://tc39.es/ecma262/#sec-promise.reject + reject: function reject(r) { + var capability = newPromiseCapability(this); + capability.reject.call(undefined, r); + return capability.promise; + } }); _export({ target: PROMISE, stat: true, forced: FORCED$2 }, { - // `Promise.resolve` method - // https://tc39.es/ecma262/#sec-promise.resolve - resolve: function resolve(x) { - return promiseResolve(this, x); - } + // `Promise.resolve` method + // https://tc39.es/ecma262/#sec-promise.resolve + resolve: function resolve(x) { + return promiseResolve(this, x); + } }); _export({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION$1 }, { - // `Promise.all` method - // https://tc39.es/ecma262/#sec-promise.all - all: function all(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var $promiseResolve = aFunction(C.resolve); - var values = []; - var counter = 0; - var remaining = 1; - iterate(iterable, function (promise) { - var index = counter++; - var alreadyCalled = false; - values.push(undefined); - remaining++; - $promiseResolve.call(C, promise).then(function (value) { - if (alreadyCalled) return; - alreadyCalled = true; - values[index] = value; - --remaining || resolve(values); - }, reject); - }); - --remaining || resolve(values); - }); - if (result.error) reject(result.value); - return capability.promise; - }, - // `Promise.race` method - // https://tc39.es/ecma262/#sec-promise.race - race: function race(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var reject = capability.reject; - var result = perform(function () { - var $promiseResolve = aFunction(C.resolve); - iterate(iterable, function (promise) { - $promiseResolve.call(C, promise).then(capability.resolve, reject); - }); - }); - if (result.error) reject(result.value); - return capability.promise; - } + // `Promise.all` method + // https://tc39.es/ecma262/#sec-promise.all + all: function all(iterable) { + var C = this; + var capability = newPromiseCapability(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aFunction(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + values.push(undefined); + remaining++; + $promiseResolve.call(C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = value; + --remaining || resolve(values); + }, reject); + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + }, + // `Promise.race` method + // https://tc39.es/ecma262/#sec-promise.race + race: function race(iterable) { + var C = this; + var capability = newPromiseCapability(C); + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aFunction(C.resolve); + iterate(iterable, function (promise) { + $promiseResolve.call(C, promise).then(capability.resolve, reject); + }); + }); + if (result.error) reject(result.value); + return capability.promise; + } }); // `Symbol.asyncIterator` well-known symbol @@ -12584,22 +12699,22 @@ // `String.prototype[@@iterator]` method // https://tc39.es/ecma262/#sec-string.prototype-@@iterator defineIterator(String, 'String', function (iterated) { - setInternalState$1(this, { - type: STRING_ITERATOR, - string: String(iterated), - index: 0 - }); - // `%StringIteratorPrototype%.next` method - // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next + setInternalState$1(this, { + type: STRING_ITERATOR, + string: String(iterated), + index: 0 + }); + // `%StringIteratorPrototype%.next` method + // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next }, function next() { - var state = getInternalState(this); - var string = state.string; - var index = state.index; - var point; - if (index >= string.length) return { value: undefined, done: true }; - point = charAt(string, index); - state.index += point.length; - return { value: point, done: false }; + var state = getInternalState(this); + var string = state.string; + var index = state.index; + var point; + if (index >= string.length) return { value: undefined, done: true }; + point = charAt(string, index); + state.index += point.length; + return { value: point, done: false }; }); var ITERATOR = wellKnownSymbol('iterator'); @@ -12607,761 +12722,761 @@ var ArrayValues = es_array_iterator.values; for (var COLLECTION_NAME in domIterables) { - var Collection = global_1[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; - if (CollectionPrototype) { - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype[ITERATOR] !== ArrayValues) try { - createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); - } catch (error) { - CollectionPrototype[ITERATOR] = ArrayValues; - } - if (!CollectionPrototype[TO_STRING_TAG]) { - createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); - } - if (domIterables[COLLECTION_NAME]) for (var METHOD_NAME in es_array_iterator) { - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) try { - createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, es_array_iterator[METHOD_NAME]); - } catch (error) { - CollectionPrototype[METHOD_NAME] = es_array_iterator[METHOD_NAME]; - } - } - } + var Collection = global_1[COLLECTION_NAME]; + var CollectionPrototype = Collection && Collection.prototype; + if (CollectionPrototype) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype[ITERATOR] !== ArrayValues) try { + createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); + } catch (error) { + CollectionPrototype[ITERATOR] = ArrayValues; + } + if (!CollectionPrototype[TO_STRING_TAG]) { + createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); + } + if (domIterables[COLLECTION_NAME]) for (var METHOD_NAME in es_array_iterator) { + // some Chrome versions have non-configurable methods on DOMTokenList + if (CollectionPrototype[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) try { + createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, es_array_iterator[METHOD_NAME]); + } catch (error) { + CollectionPrototype[METHOD_NAME] = es_array_iterator[METHOD_NAME]; + } + } + } } createCommonjsModule(function (module) { - /** - * Copyright (c) 2014-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - var runtime = function (exports) { - - var Op = Object.prototype; - var hasOwn = Op.hasOwnProperty; - var undefined$1; // More compressible than void 0. - - var $Symbol = typeof Symbol === "function" ? Symbol : {}; - var iteratorSymbol = $Symbol.iterator || "@@iterator"; - var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; - var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; - - function define(obj, key, value) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - return obj[key]; - } - - try { - // IE 8 has a broken Object.defineProperty that only works on DOM objects. - define({}, ""); - } catch (err) { - define = function define(obj, key, value) { - return obj[key] = value; - }; - } - - function wrap(innerFn, outerFn, self, tryLocsList) { - // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. - var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; - var generator = Object.create(protoGenerator.prototype); - var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next, - // .throw, and .return methods. - - generator._invoke = makeInvokeMethod(innerFn, self, context); - return generator; - } - - exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion - // record like context.tryEntries[i].completion. This interface could - // have been (and was previously) designed to take a closure to be - // invoked without arguments, but in all the cases we care about we - // already have an existing method we want to call, so there's no need - // to create a new function object. We can even get away with assuming - // the method takes exactly one argument, since that happens to be true - // in every case, so we don't have to touch the arguments object. The - // only additional allocation required is the completion record, which - // has a stable shape and so hopefully should be cheap to allocate. - - function tryCatch(fn, obj, arg) { - try { - return { - type: "normal", - arg: fn.call(obj, arg) - }; - } catch (err) { - return { - type: "throw", - arg: err - }; - } - } - - var GenStateSuspendedStart = "suspendedStart"; - var GenStateSuspendedYield = "suspendedYield"; - var GenStateExecuting = "executing"; - var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as - // breaking out of the dispatch switch statement. - - var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and - // .constructor.prototype properties for functions that return Generator - // objects. For full spec compliance, you may wish to configure your - // minifier not to mangle the names of these two functions. - - function Generator() {} - - function GeneratorFunction() {} - - function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that - // don't natively support it. - - - var IteratorPrototype = {}; - - IteratorPrototype[iteratorSymbol] = function () { - return this; - }; - - var getProto = Object.getPrototypeOf; - var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); - - if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { - // This environment has a native %IteratorPrototype%; use it instead - // of the polyfill. - IteratorPrototype = NativeIteratorPrototype; - } - - var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); - GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; - GeneratorFunctionPrototype.constructor = GeneratorFunction; - GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the - // Iterator interface in terms of a single ._invoke method. - - function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function (method) { - define(prototype, method, function (arg) { - return this._invoke(method, arg); - }); - }); - } - - exports.isGeneratorFunction = function (genFun) { - var ctor = typeof genFun === "function" && genFun.constructor; - return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can - // do is to check its .name property. - (ctor.displayName || ctor.name) === "GeneratorFunction" : false; - }; - - exports.mark = function (genFun) { - if (Object.setPrototypeOf) { - Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); - } else { - genFun.__proto__ = GeneratorFunctionPrototype; - define(genFun, toStringTagSymbol, "GeneratorFunction"); - } - - genFun.prototype = Object.create(Gp); - return genFun; - }; // Within the body of any async function, `await x` is transformed to - // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test - // `hasOwn.call(value, "__await")` to determine if the yielded value is - // meant to be awaited. - - - exports.awrap = function (arg) { - return { - __await: arg - }; - }; - - function AsyncIterator(generator, PromiseImpl) { - function invoke(method, arg, resolve, reject) { - var record = tryCatch(generator[method], generator, arg); - - if (record.type === "throw") { - reject(record.arg); - } else { - var result = record.arg; - var value = result.value; - - if (value && _typeof(value) === "object" && hasOwn.call(value, "__await")) { - return PromiseImpl.resolve(value.__await).then(function (value) { - invoke("next", value, resolve, reject); - }, function (err) { - invoke("throw", err, resolve, reject); - }); - } - - return PromiseImpl.resolve(value).then(function (unwrapped) { - // When a yielded Promise is resolved, its final value becomes - // the .value of the Promise<{value,done}> result for the - // current iteration. - result.value = unwrapped; - resolve(result); - }, function (error) { - // If a rejected Promise was yielded, throw the rejection back - // into the async generator function so it can be handled there. - return invoke("throw", error, resolve, reject); - }); - } - } - - var previousPromise; - - function enqueue(method, arg) { - function callInvokeWithMethodAndArg() { - return new PromiseImpl(function (resolve, reject) { - invoke(method, arg, resolve, reject); - }); - } - - return previousPromise = // If enqueue has been called before, then we want to wait until - // all previous Promises have been resolved before calling invoke, - // so that results are always delivered in the correct order. If - // enqueue has not been called before, then it is important to - // call invoke immediately, without waiting on a callback to fire, - // so that the async generator function has the opportunity to do - // any necessary setup in a predictable way. This predictability - // is why the Promise constructor synchronously invokes its - // executor callback, and why async functions synchronously - // execute code before the first await. Since we implement simple - // async functions in terms of async generators, it is especially - // important to get this right, even though it requires care. - previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later - // invocations of the iterator. - callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); - } // Define the unified helper method that is used to implement .next, - // .throw, and .return (see defineIteratorMethods). - - - this._invoke = enqueue; - } - - defineIteratorMethods(AsyncIterator.prototype); - - AsyncIterator.prototype[asyncIteratorSymbol] = function () { - return this; - }; - - exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of - // AsyncIterator objects; they just return a Promise for the value of - // the final result produced by the iterator. - - exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { - if (PromiseImpl === void 0) PromiseImpl = Promise; - var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); - return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator. - : iter.next().then(function (result) { - return result.done ? result.value : iter.next(); - }); - }; - - function makeInvokeMethod(innerFn, self, context) { - var state = GenStateSuspendedStart; - return function invoke(method, arg) { - if (state === GenStateExecuting) { - throw new Error("Generator is already running"); - } - - if (state === GenStateCompleted) { - if (method === "throw") { - throw arg; - } // Be forgiving, per 25.3.3.3.3 of the spec: - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume - - - return doneResult(); - } - - context.method = method; - context.arg = arg; - - while (true) { - var delegate = context.delegate; - - if (delegate) { - var delegateResult = maybeInvokeDelegate(delegate, context); - - if (delegateResult) { - if (delegateResult === ContinueSentinel) continue; - return delegateResult; - } - } - - if (context.method === "next") { - // Setting context._sent for legacy support of Babel's - // function.sent implementation. - context.sent = context._sent = context.arg; - } else if (context.method === "throw") { - if (state === GenStateSuspendedStart) { - state = GenStateCompleted; - throw context.arg; - } - - context.dispatchException(context.arg); - } else if (context.method === "return") { - context.abrupt("return", context.arg); - } - - state = GenStateExecuting; - var record = tryCatch(innerFn, self, context); - - if (record.type === "normal") { - // If an exception is thrown from innerFn, we leave state === - // GenStateExecuting and loop back for another invocation. - state = context.done ? GenStateCompleted : GenStateSuspendedYield; - - if (record.arg === ContinueSentinel) { - continue; - } - - return { - value: record.arg, - done: context.done - }; - } else if (record.type === "throw") { - state = GenStateCompleted; // Dispatch the exception by looping back around to the - // context.dispatchException(context.arg) call above. - - context.method = "throw"; - context.arg = record.arg; - } - } - }; - } // Call delegate.iterator[context.method](context.arg) and handle the - // result, either by returning a { value, done } result from the - // delegate iterator, or by modifying context.method and context.arg, - // setting context.delegate to null, and returning the ContinueSentinel. - - - function maybeInvokeDelegate(delegate, context) { - var method = delegate.iterator[context.method]; - - if (method === undefined$1) { - // A .throw or .return when the delegate iterator has no .throw - // method always terminates the yield* loop. - context.delegate = null; - - if (context.method === "throw") { - // Note: ["return"] must be used for ES3 parsing compatibility. - if (delegate.iterator["return"]) { - // If the delegate iterator has a return method, give it a - // chance to clean up. - context.method = "return"; - context.arg = undefined$1; - maybeInvokeDelegate(delegate, context); - - if (context.method === "throw") { - // If maybeInvokeDelegate(context) changed context.method from - // "return" to "throw", let that override the TypeError below. - return ContinueSentinel; - } - } - - context.method = "throw"; - context.arg = new TypeError("The iterator does not provide a 'throw' method"); - } - - return ContinueSentinel; - } - - var record = tryCatch(method, delegate.iterator, context.arg); - - if (record.type === "throw") { - context.method = "throw"; - context.arg = record.arg; - context.delegate = null; - return ContinueSentinel; - } - - var info = record.arg; - - if (!info) { - context.method = "throw"; - context.arg = new TypeError("iterator result is not an object"); - context.delegate = null; - return ContinueSentinel; - } - - if (info.done) { - // Assign the result of the finished delegate to the temporary - // variable specified by delegate.resultName (see delegateYield). - context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield). - - context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the - // exception, let the outer generator proceed normally. If - // context.method was "next", forget context.arg since it has been - // "consumed" by the delegate iterator. If context.method was - // "return", allow the original .return call to continue in the - // outer generator. - - if (context.method !== "return") { - context.method = "next"; - context.arg = undefined$1; - } - } else { - // Re-yield the result returned by the delegate method. - return info; - } // The delegate iterator is finished, so forget it and continue with - // the outer generator. - - - context.delegate = null; - return ContinueSentinel; - } // Define Generator.prototype.{next,throw,return} in terms of the - // unified ._invoke helper method. - - - defineIteratorMethods(Gp); - define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the - // @@iterator function is called on it. Some browsers' implementations of the - // iterator prototype chain incorrectly implement this, causing the Generator - // object to not be returned from this call. This ensures that doesn't happen. - // See https://github.com/facebook/regenerator/issues/274 for more details. - - Gp[iteratorSymbol] = function () { - return this; - }; - - Gp.toString = function () { - return "[object Generator]"; - }; - - function pushTryEntry(locs) { - var entry = { - tryLoc: locs[0] - }; - - if (1 in locs) { - entry.catchLoc = locs[1]; - } - - if (2 in locs) { - entry.finallyLoc = locs[2]; - entry.afterLoc = locs[3]; - } - - this.tryEntries.push(entry); - } - - function resetTryEntry(entry) { - var record = entry.completion || {}; - record.type = "normal"; - delete record.arg; - entry.completion = record; - } - - function Context(tryLocsList) { - // The root entry object (effectively a try statement without a catch - // or a finally block) gives us a place to store values thrown from - // locations where there is no enclosing try statement. - this.tryEntries = [{ - tryLoc: "root" - }]; - tryLocsList.forEach(pushTryEntry, this); - this.reset(true); - } - - exports.keys = function (object) { - var keys = []; - - for (var key in object) { - keys.push(key); - } - - keys.reverse(); // Rather than returning an object with a next method, we keep - // things simple and return the next function itself. - - return function next() { - while (keys.length) { - var key = keys.pop(); - - if (key in object) { - next.value = key; - next.done = false; - return next; - } - } // To avoid creating an additional object, we just hang the .value - // and .done properties off the next function object itself. This - // also ensures that the minifier will not anonymize the function. - - - next.done = true; - return next; - }; - }; - - function values(iterable) { - if (iterable) { - var iteratorMethod = iterable[iteratorSymbol]; - - if (iteratorMethod) { - return iteratorMethod.call(iterable); - } - - if (typeof iterable.next === "function") { - return iterable; - } - - if (!isNaN(iterable.length)) { - var i = -1, - next = function next() { - while (++i < iterable.length) { - if (hasOwn.call(iterable, i)) { - next.value = iterable[i]; - next.done = false; - return next; - } - } - - next.value = undefined$1; - next.done = true; - return next; - }; - - return next.next = next; - } - } // Return an iterator with no values. - - - return { - next: doneResult - }; - } - - exports.values = values; - - function doneResult() { - return { - value: undefined$1, - done: true - }; - } - - Context.prototype = { - constructor: Context, - reset: function reset(skipTempReset) { - this.prev = 0; - this.next = 0; // Resetting context._sent for legacy support of Babel's - // function.sent implementation. - - this.sent = this._sent = undefined$1; - this.done = false; - this.delegate = null; - this.method = "next"; - this.arg = undefined$1; - this.tryEntries.forEach(resetTryEntry); - - if (!skipTempReset) { - for (var name in this) { - // Not sure about the optimal order of these conditions: - if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { - this[name] = undefined$1; - } - } - } - }, - stop: function stop() { - this.done = true; - var rootEntry = this.tryEntries[0]; - var rootRecord = rootEntry.completion; - - if (rootRecord.type === "throw") { - throw rootRecord.arg; - } - - return this.rval; - }, - dispatchException: function dispatchException(exception) { - if (this.done) { - throw exception; - } - - var context = this; - - function handle(loc, caught) { - record.type = "throw"; - record.arg = exception; - context.next = loc; - - if (caught) { - // If the dispatched exception was caught by a catch block, - // then let that catch block handle the exception normally. - context.method = "next"; - context.arg = undefined$1; - } - - return !!caught; - } - - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - var record = entry.completion; - - if (entry.tryLoc === "root") { - // Exception thrown outside of any try block that could handle - // it, so set the completion value of the entire function to - // throw the exception. - return handle("end"); - } - - if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"); - var hasFinally = hasOwn.call(entry, "finallyLoc"); - - if (hasCatch && hasFinally) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } else if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } - } else if (hasCatch) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } - } else if (hasFinally) { - if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } - } else { - throw new Error("try statement without catch or finally"); - } - } - } - }, - abrupt: function abrupt(type, arg) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { - var finallyEntry = entry; - break; - } - } - - if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { - // Ignore the finally entry if control is not jumping to a - // location outside the try/catch block. - finallyEntry = null; - } - - var record = finallyEntry ? finallyEntry.completion : {}; - record.type = type; - record.arg = arg; - - if (finallyEntry) { - this.method = "next"; - this.next = finallyEntry.finallyLoc; - return ContinueSentinel; - } - - return this.complete(record); - }, - complete: function complete(record, afterLoc) { - if (record.type === "throw") { - throw record.arg; - } - - if (record.type === "break" || record.type === "continue") { - this.next = record.arg; - } else if (record.type === "return") { - this.rval = this.arg = record.arg; - this.method = "return"; - this.next = "end"; - } else if (record.type === "normal" && afterLoc) { - this.next = afterLoc; - } - - return ContinueSentinel; - }, - finish: function finish(finallyLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.finallyLoc === finallyLoc) { - this.complete(entry.completion, entry.afterLoc); - resetTryEntry(entry); - return ContinueSentinel; - } - } - }, - "catch": function _catch(tryLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.tryLoc === tryLoc) { - var record = entry.completion; - - if (record.type === "throw") { - var thrown = record.arg; - resetTryEntry(entry); - } - - return thrown; - } - } // The context.catch method must only be called with a location - // argument that corresponds to a known catch block. - - - throw new Error("illegal catch attempt"); - }, - delegateYield: function delegateYield(iterable, resultName, nextLoc) { - this.delegate = { - iterator: values(iterable), - resultName: resultName, - nextLoc: nextLoc - }; - - if (this.method === "next") { - // Deliberately forget the last sent value so that we don't - // accidentally pass it on to the delegate. - this.arg = undefined$1; - } - - return ContinueSentinel; - } - }; // Regardless of whether this script is executing as a CommonJS module - // or not, return the runtime object so that we can declare the variable - // regeneratorRuntime in the outer scope, which allows this module to be - // injected easily by `bin/regenerator --include-runtime script.js`. - - return exports; - }( // If this script is executing as a CommonJS module, use module.exports - // as the regeneratorRuntime namespace. Otherwise create a new empty - // object. Either way, the resulting object will be used to initialize - // the regeneratorRuntime variable at the top of this file. - module.exports ); - - try { - regeneratorRuntime = runtime; - } catch (accidentalStrictMode) { - // This module should not be running in strict mode, so the above - // assignment should always work unless something is misconfigured. Just - // in case runtime.js accidentally runs in strict mode, we can escape - // strict mode using a global Function call. This could conceivably fail - // if a Content Security Policy forbids using Function, but in that case - // the proper solution is to fix the accidental strict mode problem. If - // you've misconfigured your bundler to force strict mode and applied a - // CSP to forbid Function, and you're not willing to fix either of those - // problems, please detail your unique predicament in a GitHub issue. - Function("r", "regeneratorRuntime = r")(runtime); - } + /** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + var runtime = function (exports) { + + var Op = Object.prototype; + var hasOwn = Op.hasOwnProperty; + var undefined$1; // More compressible than void 0. + + var $Symbol = typeof Symbol === "function" ? Symbol : {}; + var iteratorSymbol = $Symbol.iterator || "@@iterator"; + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + + function define(obj, key, value) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + return obj[key]; + } + + try { + // IE 8 has a broken Object.defineProperty that only works on DOM objects. + define({}, ""); + } catch (err) { + define = function define(obj, key, value) { + return obj[key] = value; + }; + } + + function wrap(innerFn, outerFn, self, tryLocsList) { + // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; + var generator = Object.create(protoGenerator.prototype); + var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next, + // .throw, and .return methods. + + generator._invoke = makeInvokeMethod(innerFn, self, context); + return generator; + } + + exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion + // record like context.tryEntries[i].completion. This interface could + // have been (and was previously) designed to take a closure to be + // invoked without arguments, but in all the cases we care about we + // already have an existing method we want to call, so there's no need + // to create a new function object. We can even get away with assuming + // the method takes exactly one argument, since that happens to be true + // in every case, so we don't have to touch the arguments object. The + // only additional allocation required is the completion record, which + // has a stable shape and so hopefully should be cheap to allocate. + + function tryCatch(fn, obj, arg) { + try { + return { + type: "normal", + arg: fn.call(obj, arg) + }; + } catch (err) { + return { + type: "throw", + arg: err + }; + } + } + + var GenStateSuspendedStart = "suspendedStart"; + var GenStateSuspendedYield = "suspendedYield"; + var GenStateExecuting = "executing"; + var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as + // breaking out of the dispatch switch statement. + + var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and + // .constructor.prototype properties for functions that return Generator + // objects. For full spec compliance, you may wish to configure your + // minifier not to mangle the names of these two functions. + + function Generator() {} + + function GeneratorFunction() {} + + function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that + // don't natively support it. + + + var IteratorPrototype = {}; + + IteratorPrototype[iteratorSymbol] = function () { + return this; + }; + + var getProto = Object.getPrototypeOf; + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + + if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { + // This environment has a native %IteratorPrototype%; use it instead + // of the polyfill. + IteratorPrototype = NativeIteratorPrototype; + } + + var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); + GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; + GeneratorFunctionPrototype.constructor = GeneratorFunction; + GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the + // Iterator interface in terms of a single ._invoke method. + + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function (method) { + define(prototype, method, function (arg) { + return this._invoke(method, arg); + }); + }); + } + + exports.isGeneratorFunction = function (genFun) { + var ctor = typeof genFun === "function" && genFun.constructor; + return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can + // do is to check its .name property. + (ctor.displayName || ctor.name) === "GeneratorFunction" : false; + }; + + exports.mark = function (genFun) { + if (Object.setPrototypeOf) { + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); + } else { + genFun.__proto__ = GeneratorFunctionPrototype; + define(genFun, toStringTagSymbol, "GeneratorFunction"); + } + + genFun.prototype = Object.create(Gp); + return genFun; + }; // Within the body of any async function, `await x` is transformed to + // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test + // `hasOwn.call(value, "__await")` to determine if the yielded value is + // meant to be awaited. + + + exports.awrap = function (arg) { + return { + __await: arg + }; + }; + + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + + if (record.type === "throw") { + reject(record.arg); + } else { + var result = record.arg; + var value = result.value; + + if (value && _typeof(value) === "object" && hasOwn.call(value, "__await")) { + return PromiseImpl.resolve(value.__await).then(function (value) { + invoke("next", value, resolve, reject); + }, function (err) { + invoke("throw", err, resolve, reject); + }); + } + + return PromiseImpl.resolve(value).then(function (unwrapped) { + // When a yielded Promise is resolved, its final value becomes + // the .value of the Promise<{value,done}> result for the + // current iteration. + result.value = unwrapped; + resolve(result); + }, function (error) { + // If a rejected Promise was yielded, throw the rejection back + // into the async generator function so it can be handled there. + return invoke("throw", error, resolve, reject); + }); + } + } + + var previousPromise; + + function enqueue(method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function (resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } + + return previousPromise = // If enqueue has been called before, then we want to wait until + // all previous Promises have been resolved before calling invoke, + // so that results are always delivered in the correct order. If + // enqueue has not been called before, then it is important to + // call invoke immediately, without waiting on a callback to fire, + // so that the async generator function has the opportunity to do + // any necessary setup in a predictable way. This predictability + // is why the Promise constructor synchronously invokes its + // executor callback, and why async functions synchronously + // execute code before the first await. Since we implement simple + // async functions in terms of async generators, it is especially + // important to get this right, even though it requires care. + previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later + // invocations of the iterator. + callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); + } // Define the unified helper method that is used to implement .next, + // .throw, and .return (see defineIteratorMethods). + + + this._invoke = enqueue; + } + + defineIteratorMethods(AsyncIterator.prototype); + + AsyncIterator.prototype[asyncIteratorSymbol] = function () { + return this; + }; + + exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of + // AsyncIterator objects; they just return a Promise for the value of + // the final result produced by the iterator. + + exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { + if (PromiseImpl === void 0) PromiseImpl = Promise; + var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); + return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator. + : iter.next().then(function (result) { + return result.done ? result.value : iter.next(); + }); + }; + + function makeInvokeMethod(innerFn, self, context) { + var state = GenStateSuspendedStart; + return function invoke(method, arg) { + if (state === GenStateExecuting) { + throw new Error("Generator is already running"); + } + + if (state === GenStateCompleted) { + if (method === "throw") { + throw arg; + } // Be forgiving, per 25.3.3.3.3 of the spec: + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume + + + return doneResult(); + } + + context.method = method; + context.arg = arg; + + while (true) { + var delegate = context.delegate; + + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } + + if (context.method === "next") { + // Setting context._sent for legacy support of Babel's + // function.sent implementation. + context.sent = context._sent = context.arg; + } else if (context.method === "throw") { + if (state === GenStateSuspendedStart) { + state = GenStateCompleted; + throw context.arg; + } + + context.dispatchException(context.arg); + } else if (context.method === "return") { + context.abrupt("return", context.arg); + } + + state = GenStateExecuting; + var record = tryCatch(innerFn, self, context); + + if (record.type === "normal") { + // If an exception is thrown from innerFn, we leave state === + // GenStateExecuting and loop back for another invocation. + state = context.done ? GenStateCompleted : GenStateSuspendedYield; + + if (record.arg === ContinueSentinel) { + continue; + } + + return { + value: record.arg, + done: context.done + }; + } else if (record.type === "throw") { + state = GenStateCompleted; // Dispatch the exception by looping back around to the + // context.dispatchException(context.arg) call above. + + context.method = "throw"; + context.arg = record.arg; + } + } + }; + } // Call delegate.iterator[context.method](context.arg) and handle the + // result, either by returning a { value, done } result from the + // delegate iterator, or by modifying context.method and context.arg, + // setting context.delegate to null, and returning the ContinueSentinel. + + + function maybeInvokeDelegate(delegate, context) { + var method = delegate.iterator[context.method]; + + if (method === undefined$1) { + // A .throw or .return when the delegate iterator has no .throw + // method always terminates the yield* loop. + context.delegate = null; + + if (context.method === "throw") { + // Note: ["return"] must be used for ES3 parsing compatibility. + if (delegate.iterator["return"]) { + // If the delegate iterator has a return method, give it a + // chance to clean up. + context.method = "return"; + context.arg = undefined$1; + maybeInvokeDelegate(delegate, context); + + if (context.method === "throw") { + // If maybeInvokeDelegate(context) changed context.method from + // "return" to "throw", let that override the TypeError below. + return ContinueSentinel; + } + } + + context.method = "throw"; + context.arg = new TypeError("The iterator does not provide a 'throw' method"); + } + + return ContinueSentinel; + } + + var record = tryCatch(method, delegate.iterator, context.arg); + + if (record.type === "throw") { + context.method = "throw"; + context.arg = record.arg; + context.delegate = null; + return ContinueSentinel; + } + + var info = record.arg; + + if (!info) { + context.method = "throw"; + context.arg = new TypeError("iterator result is not an object"); + context.delegate = null; + return ContinueSentinel; + } + + if (info.done) { + // Assign the result of the finished delegate to the temporary + // variable specified by delegate.resultName (see delegateYield). + context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield). + + context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the + // exception, let the outer generator proceed normally. If + // context.method was "next", forget context.arg since it has been + // "consumed" by the delegate iterator. If context.method was + // "return", allow the original .return call to continue in the + // outer generator. + + if (context.method !== "return") { + context.method = "next"; + context.arg = undefined$1; + } + } else { + // Re-yield the result returned by the delegate method. + return info; + } // The delegate iterator is finished, so forget it and continue with + // the outer generator. + + + context.delegate = null; + return ContinueSentinel; + } // Define Generator.prototype.{next,throw,return} in terms of the + // unified ._invoke helper method. + + + defineIteratorMethods(Gp); + define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the + // @@iterator function is called on it. Some browsers' implementations of the + // iterator prototype chain incorrectly implement this, causing the Generator + // object to not be returned from this call. This ensures that doesn't happen. + // See https://github.com/facebook/regenerator/issues/274 for more details. + + Gp[iteratorSymbol] = function () { + return this; + }; + + Gp.toString = function () { + return "[object Generator]"; + }; + + function pushTryEntry(locs) { + var entry = { + tryLoc: locs[0] + }; + + if (1 in locs) { + entry.catchLoc = locs[1]; + } + + if (2 in locs) { + entry.finallyLoc = locs[2]; + entry.afterLoc = locs[3]; + } + + this.tryEntries.push(entry); + } + + function resetTryEntry(entry) { + var record = entry.completion || {}; + record.type = "normal"; + delete record.arg; + entry.completion = record; + } + + function Context(tryLocsList) { + // The root entry object (effectively a try statement without a catch + // or a finally block) gives us a place to store values thrown from + // locations where there is no enclosing try statement. + this.tryEntries = [{ + tryLoc: "root" + }]; + tryLocsList.forEach(pushTryEntry, this); + this.reset(true); + } + + exports.keys = function (object) { + var keys = []; + + for (var key in object) { + keys.push(key); + } + + keys.reverse(); // Rather than returning an object with a next method, we keep + // things simple and return the next function itself. + + return function next() { + while (keys.length) { + var key = keys.pop(); + + if (key in object) { + next.value = key; + next.done = false; + return next; + } + } // To avoid creating an additional object, we just hang the .value + // and .done properties off the next function object itself. This + // also ensures that the minifier will not anonymize the function. + + + next.done = true; + return next; + }; + }; + + function values(iterable) { + if (iterable) { + var iteratorMethod = iterable[iteratorSymbol]; + + if (iteratorMethod) { + return iteratorMethod.call(iterable); + } + + if (typeof iterable.next === "function") { + return iterable; + } + + if (!isNaN(iterable.length)) { + var i = -1, + next = function next() { + while (++i < iterable.length) { + if (hasOwn.call(iterable, i)) { + next.value = iterable[i]; + next.done = false; + return next; + } + } + + next.value = undefined$1; + next.done = true; + return next; + }; + + return next.next = next; + } + } // Return an iterator with no values. + + + return { + next: doneResult + }; + } + + exports.values = values; + + function doneResult() { + return { + value: undefined$1, + done: true + }; + } + + Context.prototype = { + constructor: Context, + reset: function reset(skipTempReset) { + this.prev = 0; + this.next = 0; // Resetting context._sent for legacy support of Babel's + // function.sent implementation. + + this.sent = this._sent = undefined$1; + this.done = false; + this.delegate = null; + this.method = "next"; + this.arg = undefined$1; + this.tryEntries.forEach(resetTryEntry); + + if (!skipTempReset) { + for (var name in this) { + // Not sure about the optimal order of these conditions: + if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { + this[name] = undefined$1; + } + } + } + }, + stop: function stop() { + this.done = true; + var rootEntry = this.tryEntries[0]; + var rootRecord = rootEntry.completion; + + if (rootRecord.type === "throw") { + throw rootRecord.arg; + } + + return this.rval; + }, + dispatchException: function dispatchException(exception) { + if (this.done) { + throw exception; + } + + var context = this; + + function handle(loc, caught) { + record.type = "throw"; + record.arg = exception; + context.next = loc; + + if (caught) { + // If the dispatched exception was caught by a catch block, + // then let that catch block handle the exception normally. + context.method = "next"; + context.arg = undefined$1; + } + + return !!caught; + } + + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + var record = entry.completion; + + if (entry.tryLoc === "root") { + // Exception thrown outside of any try block that could handle + // it, so set the completion value of the entire function to + // throw the exception. + return handle("end"); + } + + if (entry.tryLoc <= this.prev) { + var hasCatch = hasOwn.call(entry, "catchLoc"); + var hasFinally = hasOwn.call(entry, "finallyLoc"); + + if (hasCatch && hasFinally) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } else if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + } else if (hasCatch) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } + } else if (hasFinally) { + if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + } else { + throw new Error("try statement without catch or finally"); + } + } + } + }, + abrupt: function abrupt(type, arg) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { + var finallyEntry = entry; + break; + } + } + + if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { + // Ignore the finally entry if control is not jumping to a + // location outside the try/catch block. + finallyEntry = null; + } + + var record = finallyEntry ? finallyEntry.completion : {}; + record.type = type; + record.arg = arg; + + if (finallyEntry) { + this.method = "next"; + this.next = finallyEntry.finallyLoc; + return ContinueSentinel; + } + + return this.complete(record); + }, + complete: function complete(record, afterLoc) { + if (record.type === "throw") { + throw record.arg; + } + + if (record.type === "break" || record.type === "continue") { + this.next = record.arg; + } else if (record.type === "return") { + this.rval = this.arg = record.arg; + this.method = "return"; + this.next = "end"; + } else if (record.type === "normal" && afterLoc) { + this.next = afterLoc; + } + + return ContinueSentinel; + }, + finish: function finish(finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.finallyLoc === finallyLoc) { + this.complete(entry.completion, entry.afterLoc); + resetTryEntry(entry); + return ContinueSentinel; + } + } + }, + "catch": function _catch(tryLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.tryLoc === tryLoc) { + var record = entry.completion; + + if (record.type === "throw") { + var thrown = record.arg; + resetTryEntry(entry); + } + + return thrown; + } + } // The context.catch method must only be called with a location + // argument that corresponds to a known catch block. + + + throw new Error("illegal catch attempt"); + }, + delegateYield: function delegateYield(iterable, resultName, nextLoc) { + this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }; + + if (this.method === "next") { + // Deliberately forget the last sent value so that we don't + // accidentally pass it on to the delegate. + this.arg = undefined$1; + } + + return ContinueSentinel; + } + }; // Regardless of whether this script is executing as a CommonJS module + // or not, return the runtime object so that we can declare the variable + // regeneratorRuntime in the outer scope, which allows this module to be + // injected easily by `bin/regenerator --include-runtime script.js`. + + return exports; + }( // If this script is executing as a CommonJS module, use module.exports + // as the regeneratorRuntime namespace. Otherwise create a new empty + // object. Either way, the resulting object will be used to initialize + // the regeneratorRuntime variable at the top of this file. + module.exports ); + + try { + regeneratorRuntime = runtime; + } catch (accidentalStrictMode) { + // This module should not be running in strict mode, so the above + // assignment should always work unless something is misconfigured. Just + // in case runtime.js accidentally runs in strict mode, we can escape + // strict mode using a global Function call. This could conceivably fail + // if a Content Security Policy forbids using Function, but in that case + // the proper solution is to fix the accidental strict mode problem. If + // you've misconfigured your bundler to force strict mode and applied a + // CSP to forbid Function, and you're not willing to fix either of those + // problems, please detail your unique predicament in a GitHub issue. + Function("r", "regeneratorRuntime = r")(runtime); + } }); var escapeStringRegexp = function escapeStringRegexp(string) { - if (typeof string !== 'string') { - throw new TypeError('Expected a string'); - } // Escape characters with special meaning either inside or outside character sets. - // Use a simple backslash escape when it’s always valid, and a \unnnn escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar. + if (typeof string !== 'string') { + throw new TypeError('Expected a string'); + } // Escape characters with special meaning either inside or outside character sets. + // Use a simple backslash escape when it’s always valid, and a \unnnn escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar. - return string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); + return string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); }; // Copyright Joyent, Inc. and other Node contributors. @@ -13389,31 +13504,31 @@ // (so also no leading and trailing slashes - it does not distinguish // relative and absolute paths) function normalizeArray(parts, allowAboveRoot) { - // if the path tries to go above the root, `up` ends up > 0 - 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 the path is allowed to go above the root, restore leading ..s - - - if (allowAboveRoot) { - for (; up--; up) { - parts.unshift('..'); - } - } - - return parts; + // if the path tries to go above the root, `up` ends up > 0 + 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 the path is allowed to go above the root, restore leading ..s + + + if (allowAboveRoot) { + for (; up--; up) { + parts.unshift('..'); + } + } + + return parts; } // Split a filename into [root, dir, basename, ext], unix version // 'root' is just a slash, or nothing. @@ -13421,230 +13536,230 @@ var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/; var splitPath = function splitPath(filename) { - return splitPathRe.exec(filename).slice(1); + return splitPathRe.exec(filename).slice(1); }; // path.resolve([from ...], to) // posix version function resolve() { - var resolvedPath = '', - resolvedAbsolute = false; + var resolvedPath = '', + resolvedAbsolute = false; - for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { - var path = i >= 0 ? arguments[i] : '/'; // Skip empty and invalid entries + for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { + var path = i >= 0 ? arguments[i] : '/'; // Skip empty and invalid entries - if (typeof path !== 'string') { - throw new TypeError('Arguments to path.resolve must be strings'); - } else if (!path) { - continue; - } + 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) === '/'; - } // At this point the path should be resolved to a full absolute path, but - // handle relative paths to be safe (might happen when process.cwd() fails) - // Normalize the path + resolvedPath = path + '/' + resolvedPath; + resolvedAbsolute = path.charAt(0) === '/'; + } // At this point the path should be resolved to a full absolute path, but + // handle relative paths to be safe (might happen when process.cwd() fails) + // Normalize the path - resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function (p) { - return !!p; - }), !resolvedAbsolute).join('/'); - return (resolvedAbsolute ? '/' : '') + resolvedPath || '.'; + resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function (p) { + return !!p; + }), !resolvedAbsolute).join('/'); + return (resolvedAbsolute ? '/' : '') + resolvedPath || '.'; } // posix version function normalize(path) { - var isPathAbsolute = isAbsolute(path), - trailingSlash = substr(path, -1) === '/'; // Normalize the path + var isPathAbsolute = isAbsolute(path), + trailingSlash = substr(path, -1) === '/'; // Normalize the path - path = normalizeArray(filter(path.split('/'), function (p) { - return !!p; - }), !isPathAbsolute).join('/'); + path = normalizeArray(filter(path.split('/'), function (p) { + return !!p; + }), !isPathAbsolute).join('/'); - if (!path && !isPathAbsolute) { - path = '.'; - } + if (!path && !isPathAbsolute) { + path = '.'; + } - if (path && trailingSlash) { - path += '/'; - } + if (path && trailingSlash) { + path += '/'; + } - return (isPathAbsolute ? '/' : '') + path; + return (isPathAbsolute ? '/' : '') + path; } function isAbsolute(path) { - return path.charAt(0) === '/'; + return path.charAt(0) === '/'; } // posix version function join() { - var paths = Array.prototype.slice.call(arguments, 0); - return normalize(filter(paths, function (p, index) { - if (typeof p !== 'string') { - throw new TypeError('Arguments to path.join must be strings'); - } - - return p; - }).join('/')); + var paths = Array.prototype.slice.call(arguments, 0); + return normalize(filter(paths, function (p, index) { + if (typeof p !== 'string') { + throw new TypeError('Arguments to path.join must be strings'); + } + + return p; + }).join('/')); } // path.relative(from, to) // posix version function relative(from, to) { - from = resolve(from).substr(1); - to = resolve(to).substr(1); + from = resolve(from).substr(1); + to = resolve(to).substr(1); - function trim(arr) { - var start = 0; + function trim(arr) { + var start = 0; - for (; start < arr.length; start++) { - if (arr[start] !== '') break; - } + for (; start < arr.length; start++) { + if (arr[start] !== '') break; + } - var end = arr.length - 1; + var end = arr.length - 1; - for (; end >= 0; end--) { - if (arr[end] !== '') break; - } + for (; end >= 0; end--) { + if (arr[end] !== '') break; + } - if (start > end) return []; - return arr.slice(start, end - start + 1); - } + 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; + 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; - } - } + for (var i = 0; i < length; i++) { + if (fromParts[i] !== toParts[i]) { + samePartsLength = i; + break; + } + } - var outputParts = []; + var outputParts = []; - for (var i = samePartsLength; i < fromParts.length; i++) { - outputParts.push('..'); - } + for (var i = samePartsLength; i < fromParts.length; i++) { + outputParts.push('..'); + } - outputParts = outputParts.concat(toParts.slice(samePartsLength)); - return outputParts.join('/'); + outputParts = outputParts.concat(toParts.slice(samePartsLength)); + return outputParts.join('/'); } var sep = '/'; var delimiter = ':'; function dirname(path) { - var result = splitPath(path), - root = result[0], - dir = result[1]; + var result = splitPath(path), + root = result[0], + dir = result[1]; - if (!root && !dir) { - // No dirname whatsoever - return '.'; - } + if (!root && !dir) { + // No dirname whatsoever + return '.'; + } - if (dir) { - // It has a dirname, strip trailing slash - dir = dir.substr(0, dir.length - 1); - } + if (dir) { + // It has a dirname, strip trailing slash + dir = dir.substr(0, dir.length - 1); + } - return root + dir; + return root + dir; } function basename(path, ext) { - var f = splitPath(path)[2]; // TODO: make this comparison case-insensitive on windows? + var f = splitPath(path)[2]; // TODO: make this comparison case-insensitive on windows? - if (ext && f.substr(-1 * ext.length) === ext) { - f = f.substr(0, f.length - ext.length); - } + if (ext && f.substr(-1 * ext.length) === ext) { + f = f.substr(0, f.length - ext.length); + } - return f; + return f; } function extname(path) { - return splitPath(path)[3]; + return splitPath(path)[3]; } var path = { - extname: extname, - basename: basename, - dirname: dirname, - sep: sep, - delimiter: delimiter, - relative: relative, - join: join, - isAbsolute: isAbsolute, - normalize: normalize, - resolve: resolve + extname: extname, + basename: basename, + dirname: dirname, + sep: sep, + delimiter: delimiter, + relative: relative, + join: join, + isAbsolute: isAbsolute, + normalize: normalize, + resolve: resolve }; function filter(xs, f) { - if (xs.filter) return xs.filter(f); - var res = []; + 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]); - } + for (var i = 0; i < xs.length; i++) { + if (f(xs[i], i, xs)) res.push(xs[i]); + } - return res; + return res; } // String.prototype.substr - negative index don't work in IE8 var substr = 'ab'.substr(-1) === 'b' ? function (str, start, len) { - return str.substr(start, len); + return str.substr(start, len); } : function (str, start, len) { - if (start < 0) start = str.length + start; - return str.substr(start, len); + if (start < 0) start = str.length + start; + return str.substr(start, len); }; // call something on iterator step with safe closing on error var callWithSafeIterationClosing = function (iterator, fn, value, ENTRIES) { - try { - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); - } catch (error) { - iteratorClose(iterator); - throw error; - } + try { + return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); + } catch (error) { + iteratorClose(iterator); + throw error; + } }; // `Array.from` method implementation // https://tc39.es/ecma262/#sec-array.from var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { - var O = toObject(arrayLike); - var C = typeof this == 'function' ? this : Array; - var argumentsLength = arguments.length; - var mapfn = argumentsLength > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var iteratorMethod = getIteratorMethod(O); - var index = 0; - var length, result, step, iterator, next, value; - if (mapping) mapfn = functionBindContext(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); - // if the target is not iterable or it's an array with the default iterator - use a simple case - if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { - iterator = iteratorMethod.call(O); - next = iterator.next; - result = new C(); - for (;!(step = next.call(iterator)).done; index++) { - value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; - createProperty(result, index, value); - } - } else { - length = toLength(O.length); - result = new C(length); - for (;length > index; index++) { - value = mapping ? mapfn(O[index], index) : O[index]; - createProperty(result, index, value); - } - } - result.length = index; - return result; + var O = toObject(arrayLike); + var C = typeof this == 'function' ? this : Array; + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var mapping = mapfn !== undefined; + var iteratorMethod = getIteratorMethod(O); + var index = 0; + var length, result, step, iterator, next, value; + if (mapping) mapfn = functionBindContext(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); + // if the target is not iterable or it's an array with the default iterator - use a simple case + if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { + iterator = iteratorMethod.call(O); + next = iterator.next; + result = new C(); + for (;!(step = next.call(iterator)).done; index++) { + value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; + createProperty(result, index, value); + } + } else { + length = toLength(O.length); + result = new C(length); + for (;length > index; index++) { + value = mapping ? mapfn(O[index], index) : O[index]; + createProperty(result, index, value); + } + } + result.length = index; + return result; }; var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) { - // eslint-disable-next-line es/no-array-from -- required for testing - Array.from(iterable); + // eslint-disable-next-line es/no-array-from -- required for testing + Array.from(iterable); }); // `Array.from` method // https://tc39.es/ecma262/#sec-array.from _export({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { - from: arrayFrom + from: arrayFrom }); var test$1 = []; @@ -13652,1683 +13767,1683 @@ // IE8- var FAILS_ON_UNDEFINED = fails(function () { - test$1.sort(undefined); + test$1.sort(undefined); }); // V8 bug var FAILS_ON_NULL = fails(function () { - test$1.sort(null); + test$1.sort(null); }); // Old WebKit var STRICT_METHOD = arrayMethodIsStrict('sort'); var STABLE_SORT = !fails(function () { - // feature detection can be too slow, so check engines versions - if (engineV8Version) return engineV8Version < 70; - if (engineFfVersion && engineFfVersion > 3) return; - if (engineIsIeOrEdge) return true; - if (engineWebkitVersion) return engineWebkitVersion < 603; - - var result = ''; - var code, chr, value, index; - - // generate an array with more 512 elements (Chakra and old V8 fails only in this case) - for (code = 65; code < 76; code++) { - chr = String.fromCharCode(code); - - switch (code) { - case 66: case 69: case 70: case 72: value = 3; break; - case 68: case 71: value = 4; break; - default: value = 2; - } - - for (index = 0; index < 47; index++) { - test$1.push({ k: chr + index, v: value }); - } - } - - test$1.sort(function (a, b) { return b.v - a.v; }); - - for (index = 0; index < test$1.length; index++) { - chr = test$1[index].k.charAt(0); - if (result.charAt(result.length - 1) !== chr) result += chr; - } - - return result !== 'DGBEFHACIJK'; + // feature detection can be too slow, so check engines versions + if (engineV8Version) return engineV8Version < 70; + if (engineFfVersion && engineFfVersion > 3) return; + if (engineIsIeOrEdge) return true; + if (engineWebkitVersion) return engineWebkitVersion < 603; + + var result = ''; + var code, chr, value, index; + + // generate an array with more 512 elements (Chakra and old V8 fails only in this case) + for (code = 65; code < 76; code++) { + chr = String.fromCharCode(code); + + switch (code) { + case 66: case 69: case 70: case 72: value = 3; break; + case 68: case 71: value = 4; break; + default: value = 2; + } + + for (index = 0; index < 47; index++) { + test$1.push({ k: chr + index, v: value }); + } + } + + test$1.sort(function (a, b) { return b.v - a.v; }); + + for (index = 0; index < test$1.length; index++) { + chr = test$1[index].k.charAt(0); + if (result.charAt(result.length - 1) !== chr) result += chr; + } + + return result !== 'DGBEFHACIJK'; }); var FORCED$1 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; var getSortCompare = function (comparefn) { - return function (x, y) { - if (y === undefined) return -1; - if (x === undefined) return 1; - if (comparefn !== undefined) return +comparefn(x, y) || 0; - return String(x) > String(y) ? 1 : -1; - }; + return function (x, y) { + if (y === undefined) return -1; + if (x === undefined) return 1; + if (comparefn !== undefined) return +comparefn(x, y) || 0; + return String(x) > String(y) ? 1 : -1; + }; }; // `Array.prototype.sort` method // https://tc39.es/ecma262/#sec-array.prototype.sort _export({ target: 'Array', proto: true, forced: FORCED$1 }, { - sort: function sort(comparefn) { - if (comparefn !== undefined) aFunction(comparefn); + sort: function sort(comparefn) { + if (comparefn !== undefined) aFunction(comparefn); - var array = toObject(this); + var array = toObject(this); - if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn); + if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn); - var items = []; - var arrayLength = toLength(array.length); - var itemsLength, index; + var items = []; + var arrayLength = toLength(array.length); + var itemsLength, index; - for (index = 0; index < arrayLength; index++) { - if (index in array) items.push(array[index]); - } + for (index = 0; index < arrayLength; index++) { + if (index in array) items.push(array[index]); + } - items = arraySort(items, getSortCompare(comparefn)); - itemsLength = items.length; - index = 0; + items = arraySort(items, getSortCompare(comparefn)); + itemsLength = items.length; + index = 0; - while (index < itemsLength) array[index] = items[index++]; - while (index < arrayLength) delete array[index++]; + while (index < itemsLength) array[index] = items[index++]; + while (index < arrayLength) delete array[index++]; - return array; - } + return array; + } }); var diff$1 = createCommonjsModule(function (module, exports) { - (function (global, factory) { - factory(exports) ; - })(commonjsGlobal, function (exports) { - - function Diff() {} - - Diff.prototype = { - diff: function diff(oldString, newString) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - var callback = options.callback; - - if (typeof options === 'function') { - callback = options; - options = {}; - } - - this.options = options; - var self = this; - - function done(value) { - if (callback) { - setTimeout(function () { - callback(undefined, value); - }, 0); - return true; - } else { - return value; - } - } // Allow subclasses to massage the input prior to running - - - oldString = this.castInput(oldString); - newString = this.castInput(newString); - oldString = this.removeEmpty(this.tokenize(oldString)); - newString = this.removeEmpty(this.tokenize(newString)); - var newLen = newString.length, - oldLen = oldString.length; - var editLength = 1; - var maxEditLength = newLen + oldLen; - var bestPath = [{ - newPos: -1, - components: [] - }]; // Seed editLength = 0, i.e. the content starts with the same values - - var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); - - if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) { - // Identity per the equality and tokenizer - return done([{ - value: this.join(newString), - count: newString.length - }]); - } // Main worker method. checks all permutations of a given edit length for acceptance. - - - function execEditLength() { - for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) { - var basePath = void 0; - - var addPath = bestPath[diagonalPath - 1], - removePath = bestPath[diagonalPath + 1], - _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath; - - if (addPath) { - // No one else is going to attempt to use this value, clear it - bestPath[diagonalPath - 1] = undefined; - } - - var canAdd = addPath && addPath.newPos + 1 < newLen, - canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen; - - if (!canAdd && !canRemove) { - // If this path is a terminal then prune - bestPath[diagonalPath] = undefined; - continue; - } // Select the diagonal that we want to branch from. We select the prior - // path whose position in the new string is the farthest from the origin - // and does not pass the bounds of the diff graph - - - if (!canAdd || canRemove && addPath.newPos < removePath.newPos) { - basePath = clonePath(removePath); - self.pushComponent(basePath.components, undefined, true); - } else { - basePath = addPath; // No need to clone, we've pulled it from the list - - basePath.newPos++; - self.pushComponent(basePath.components, true, undefined); - } - - _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath); // If we have hit the end of both strings, then we are done - - if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) { - return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken)); - } else { - // Otherwise track this path as a potential candidate and continue. - bestPath[diagonalPath] = basePath; - } - } - - editLength++; - } // Performs the length of edit iteration. Is a bit fugly as this has to support the - // sync and async mode which is never fun. Loops over execEditLength until a value - // is produced. - - - if (callback) { - (function exec() { - setTimeout(function () { - // This should not happen, but we want to be safe. - - /* istanbul ignore next */ - if (editLength > maxEditLength) { - return callback(); - } - - if (!execEditLength()) { - exec(); - } - }, 0); - })(); - } else { - while (editLength <= maxEditLength) { - var ret = execEditLength(); - - if (ret) { - return ret; - } - } - } - }, - pushComponent: function pushComponent(components, added, removed) { - var last = components[components.length - 1]; - - if (last && last.added === added && last.removed === removed) { - // We need to clone here as the component clone operation is just - // as shallow array clone - components[components.length - 1] = { - count: last.count + 1, - added: added, - removed: removed - }; - } else { - components.push({ - count: 1, - added: added, - removed: removed - }); - } - }, - extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) { - var newLen = newString.length, - oldLen = oldString.length, - newPos = basePath.newPos, - oldPos = newPos - diagonalPath, - commonCount = 0; - - while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) { - newPos++; - oldPos++; - commonCount++; - } - - if (commonCount) { - basePath.components.push({ - count: commonCount - }); - } - - basePath.newPos = newPos; - return oldPos; - }, - equals: function equals(left, right) { - if (this.options.comparator) { - return this.options.comparator(left, right); - } else { - return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase(); - } - }, - removeEmpty: function removeEmpty(array) { - var ret = []; - - for (var i = 0; i < array.length; i++) { - if (array[i]) { - ret.push(array[i]); - } - } - - return ret; - }, - castInput: function castInput(value) { - return value; - }, - tokenize: function tokenize(value) { - return value.split(''); - }, - join: function join(chars) { - return chars.join(''); - } - }; - - function buildValues(diff, components, newString, oldString, useLongestToken) { - var componentPos = 0, - componentLen = components.length, - newPos = 0, - oldPos = 0; - - for (; componentPos < componentLen; componentPos++) { - var component = components[componentPos]; - - if (!component.removed) { - if (!component.added && useLongestToken) { - var value = newString.slice(newPos, newPos + component.count); - value = value.map(function (value, i) { - var oldValue = oldString[oldPos + i]; - return oldValue.length > value.length ? oldValue : value; - }); - component.value = diff.join(value); - } else { - component.value = diff.join(newString.slice(newPos, newPos + component.count)); - } - - newPos += component.count; // Common case - - if (!component.added) { - oldPos += component.count; - } - } else { - component.value = diff.join(oldString.slice(oldPos, oldPos + component.count)); - oldPos += component.count; // Reverse add and remove so removes are output first to match common convention - // The diffing algorithm is tied to add then remove output and this is the simplest - // route to get the desired output with minimal overhead. - - if (componentPos && components[componentPos - 1].added) { - var tmp = components[componentPos - 1]; - components[componentPos - 1] = components[componentPos]; - components[componentPos] = tmp; - } - } - } // Special case handle for when one terminal is ignored (i.e. whitespace). - // For this case we merge the terminal into the prior string and drop the change. - // This is only available for string mode. - - - var lastComponent = components[componentLen - 1]; - - if (componentLen > 1 && typeof lastComponent.value === 'string' && (lastComponent.added || lastComponent.removed) && diff.equals('', lastComponent.value)) { - components[componentLen - 2].value += lastComponent.value; - components.pop(); - } - - return components; - } - - function clonePath(path) { - return { - newPos: path.newPos, - components: path.components.slice(0) - }; - } - - var characterDiff = new Diff(); - - function diffChars(oldStr, newStr, options) { - return characterDiff.diff(oldStr, newStr, options); - } - - function generateOptions(options, defaults) { - if (typeof options === 'function') { - defaults.callback = options; - } else if (options) { - for (var name in options) { - /* istanbul ignore else */ - if (options.hasOwnProperty(name)) { - defaults[name] = options[name]; - } - } - } - - return defaults; - } // - // Ranges and exceptions: - // Latin-1 Supplement, 0080–00FF - // - U+00D7 × Multiplication sign - // - U+00F7 ÷ Division sign - // Latin Extended-A, 0100–017F - // Latin Extended-B, 0180–024F - // IPA Extensions, 0250–02AF - // Spacing Modifier Letters, 02B0–02FF - // - U+02C7 ˇ ˇ Caron - // - U+02D8 ˘ ˘ Breve - // - U+02D9 ˙ ˙ Dot Above - // - U+02DA ˚ ˚ Ring Above - // - U+02DB ˛ ˛ Ogonek - // - U+02DC ˜ ˜ Small Tilde - // - U+02DD ˝ ˝ Double Acute Accent - // Latin Extended Additional, 1E00–1EFF - - - var extendedWordChars = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/; - var reWhitespace = /\S/; - var wordDiff = new Diff(); - - wordDiff.equals = function (left, right) { - if (this.options.ignoreCase) { - left = left.toLowerCase(); - right = right.toLowerCase(); - } - - return left === right || this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right); - }; - - wordDiff.tokenize = function (value) { - // All whitespace symbols except newline group into one token, each newline - in separate token - var tokens = value.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/); // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set. - - for (var i = 0; i < tokens.length - 1; i++) { - // If we have an empty string in the next field and we have only word chars before and after, merge - if (!tokens[i + 1] && tokens[i + 2] && extendedWordChars.test(tokens[i]) && extendedWordChars.test(tokens[i + 2])) { - tokens[i] += tokens[i + 2]; - tokens.splice(i + 1, 2); - i--; - } - } - - return tokens; - }; - - function diffWords(oldStr, newStr, options) { - options = generateOptions(options, { - ignoreWhitespace: true - }); - return wordDiff.diff(oldStr, newStr, options); - } - - function diffWordsWithSpace(oldStr, newStr, options) { - return wordDiff.diff(oldStr, newStr, options); - } - - var lineDiff = new Diff(); - - lineDiff.tokenize = function (value) { - var retLines = [], - linesAndNewlines = value.split(/(\n|\r\n)/); // Ignore the final empty token that occurs if the string ends with a new line - - if (!linesAndNewlines[linesAndNewlines.length - 1]) { - linesAndNewlines.pop(); - } // Merge the content and line separators into single tokens - - - for (var i = 0; i < linesAndNewlines.length; i++) { - var line = linesAndNewlines[i]; - - if (i % 2 && !this.options.newlineIsToken) { - retLines[retLines.length - 1] += line; - } else { - if (this.options.ignoreWhitespace) { - line = line.trim(); - } - - retLines.push(line); - } - } - - return retLines; - }; - - function diffLines(oldStr, newStr, callback) { - return lineDiff.diff(oldStr, newStr, callback); - } - - function diffTrimmedLines(oldStr, newStr, callback) { - var options = generateOptions(callback, { - ignoreWhitespace: true - }); - return lineDiff.diff(oldStr, newStr, options); - } - - var sentenceDiff = new Diff(); - - sentenceDiff.tokenize = function (value) { - return value.split(/(\S.+?[.!?])(?=\s+|$)/); - }; - - function diffSentences(oldStr, newStr, callback) { - return sentenceDiff.diff(oldStr, newStr, callback); - } - - var cssDiff = new Diff(); - - cssDiff.tokenize = function (value) { - return value.split(/([{}:;,]|\s+)/); - }; - - function diffCss(oldStr, newStr, callback) { - return cssDiff.diff(oldStr, newStr, callback); - } - - function _typeof(obj) { - "@babel/helpers - typeof"; - - if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { - _typeof = function _typeof(obj) { - return typeof obj; - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }; - } - - return _typeof(obj); - } - - function _toConsumableArray(arr) { - return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); - } - - function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return _arrayLikeToArray(arr); - } - - function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); - } - - function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); - } - - function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - - return arr2; - } - - function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - - var objectPrototypeToString = Object.prototype.toString; - var jsonDiff = new Diff(); // Discriminate between two lines of pretty-printed, serialized JSON where one of them has a - // dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output: - - jsonDiff.useLongestToken = true; - jsonDiff.tokenize = lineDiff.tokenize; - - jsonDiff.castInput = function (value) { - var _this$options = this.options, - undefinedReplacement = _this$options.undefinedReplacement, - _this$options$stringi = _this$options.stringifyReplacer, - stringifyReplacer = _this$options$stringi === void 0 ? function (k, v) { - return typeof v === 'undefined' ? undefinedReplacement : v; - } : _this$options$stringi; - return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' '); - }; - - jsonDiff.equals = function (left, right) { - return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\r\n])/g, '$1'), right.replace(/,([\r\n])/g, '$1')); - }; - - function diffJson(oldObj, newObj, options) { - return jsonDiff.diff(oldObj, newObj, options); - } // This function handles the presence of circular references by bailing out when encountering an - // object that is already on the "stack" of items being processed. Accepts an optional replacer - - - function canonicalize(obj, stack, replacementStack, replacer, key) { - stack = stack || []; - replacementStack = replacementStack || []; - - if (replacer) { - obj = replacer(key, obj); - } - - var i; - - for (i = 0; i < stack.length; i += 1) { - if (stack[i] === obj) { - return replacementStack[i]; - } - } + (function (global, factory) { + factory(exports) ; + })(commonjsGlobal, function (exports) { + + function Diff() {} + + Diff.prototype = { + diff: function diff(oldString, newString) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var callback = options.callback; + + if (typeof options === 'function') { + callback = options; + options = {}; + } + + this.options = options; + var self = this; + + function done(value) { + if (callback) { + setTimeout(function () { + callback(undefined, value); + }, 0); + return true; + } else { + return value; + } + } // Allow subclasses to massage the input prior to running + + + oldString = this.castInput(oldString); + newString = this.castInput(newString); + oldString = this.removeEmpty(this.tokenize(oldString)); + newString = this.removeEmpty(this.tokenize(newString)); + var newLen = newString.length, + oldLen = oldString.length; + var editLength = 1; + var maxEditLength = newLen + oldLen; + var bestPath = [{ + newPos: -1, + components: [] + }]; // Seed editLength = 0, i.e. the content starts with the same values + + var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); + + if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) { + // Identity per the equality and tokenizer + return done([{ + value: this.join(newString), + count: newString.length + }]); + } // Main worker method. checks all permutations of a given edit length for acceptance. + + + function execEditLength() { + for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) { + var basePath = void 0; + + var addPath = bestPath[diagonalPath - 1], + removePath = bestPath[diagonalPath + 1], + _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath; + + if (addPath) { + // No one else is going to attempt to use this value, clear it + bestPath[diagonalPath - 1] = undefined; + } + + var canAdd = addPath && addPath.newPos + 1 < newLen, + canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen; + + if (!canAdd && !canRemove) { + // If this path is a terminal then prune + bestPath[diagonalPath] = undefined; + continue; + } // Select the diagonal that we want to branch from. We select the prior + // path whose position in the new string is the farthest from the origin + // and does not pass the bounds of the diff graph + + + if (!canAdd || canRemove && addPath.newPos < removePath.newPos) { + basePath = clonePath(removePath); + self.pushComponent(basePath.components, undefined, true); + } else { + basePath = addPath; // No need to clone, we've pulled it from the list + + basePath.newPos++; + self.pushComponent(basePath.components, true, undefined); + } + + _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath); // If we have hit the end of both strings, then we are done + + if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) { + return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken)); + } else { + // Otherwise track this path as a potential candidate and continue. + bestPath[diagonalPath] = basePath; + } + } + + editLength++; + } // Performs the length of edit iteration. Is a bit fugly as this has to support the + // sync and async mode which is never fun. Loops over execEditLength until a value + // is produced. + + + if (callback) { + (function exec() { + setTimeout(function () { + // This should not happen, but we want to be safe. + + /* istanbul ignore next */ + if (editLength > maxEditLength) { + return callback(); + } + + if (!execEditLength()) { + exec(); + } + }, 0); + })(); + } else { + while (editLength <= maxEditLength) { + var ret = execEditLength(); + + if (ret) { + return ret; + } + } + } + }, + pushComponent: function pushComponent(components, added, removed) { + var last = components[components.length - 1]; + + if (last && last.added === added && last.removed === removed) { + // We need to clone here as the component clone operation is just + // as shallow array clone + components[components.length - 1] = { + count: last.count + 1, + added: added, + removed: removed + }; + } else { + components.push({ + count: 1, + added: added, + removed: removed + }); + } + }, + extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) { + var newLen = newString.length, + oldLen = oldString.length, + newPos = basePath.newPos, + oldPos = newPos - diagonalPath, + commonCount = 0; + + while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) { + newPos++; + oldPos++; + commonCount++; + } + + if (commonCount) { + basePath.components.push({ + count: commonCount + }); + } + + basePath.newPos = newPos; + return oldPos; + }, + equals: function equals(left, right) { + if (this.options.comparator) { + return this.options.comparator(left, right); + } else { + return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase(); + } + }, + removeEmpty: function removeEmpty(array) { + var ret = []; + + for (var i = 0; i < array.length; i++) { + if (array[i]) { + ret.push(array[i]); + } + } + + return ret; + }, + castInput: function castInput(value) { + return value; + }, + tokenize: function tokenize(value) { + return value.split(''); + }, + join: function join(chars) { + return chars.join(''); + } + }; + + function buildValues(diff, components, newString, oldString, useLongestToken) { + var componentPos = 0, + componentLen = components.length, + newPos = 0, + oldPos = 0; + + for (; componentPos < componentLen; componentPos++) { + var component = components[componentPos]; + + if (!component.removed) { + if (!component.added && useLongestToken) { + var value = newString.slice(newPos, newPos + component.count); + value = value.map(function (value, i) { + var oldValue = oldString[oldPos + i]; + return oldValue.length > value.length ? oldValue : value; + }); + component.value = diff.join(value); + } else { + component.value = diff.join(newString.slice(newPos, newPos + component.count)); + } + + newPos += component.count; // Common case + + if (!component.added) { + oldPos += component.count; + } + } else { + component.value = diff.join(oldString.slice(oldPos, oldPos + component.count)); + oldPos += component.count; // Reverse add and remove so removes are output first to match common convention + // The diffing algorithm is tied to add then remove output and this is the simplest + // route to get the desired output with minimal overhead. + + if (componentPos && components[componentPos - 1].added) { + var tmp = components[componentPos - 1]; + components[componentPos - 1] = components[componentPos]; + components[componentPos] = tmp; + } + } + } // Special case handle for when one terminal is ignored (i.e. whitespace). + // For this case we merge the terminal into the prior string and drop the change. + // This is only available for string mode. + + + var lastComponent = components[componentLen - 1]; + + if (componentLen > 1 && typeof lastComponent.value === 'string' && (lastComponent.added || lastComponent.removed) && diff.equals('', lastComponent.value)) { + components[componentLen - 2].value += lastComponent.value; + components.pop(); + } + + return components; + } + + function clonePath(path) { + return { + newPos: path.newPos, + components: path.components.slice(0) + }; + } + + var characterDiff = new Diff(); + + function diffChars(oldStr, newStr, options) { + return characterDiff.diff(oldStr, newStr, options); + } + + function generateOptions(options, defaults) { + if (typeof options === 'function') { + defaults.callback = options; + } else if (options) { + for (var name in options) { + /* istanbul ignore else */ + if (options.hasOwnProperty(name)) { + defaults[name] = options[name]; + } + } + } + + return defaults; + } // + // Ranges and exceptions: + // Latin-1 Supplement, 0080–00FF + // - U+00D7 × Multiplication sign + // - U+00F7 ÷ Division sign + // Latin Extended-A, 0100–017F + // Latin Extended-B, 0180–024F + // IPA Extensions, 0250–02AF + // Spacing Modifier Letters, 02B0–02FF + // - U+02C7 ˇ ˇ Caron + // - U+02D8 ˘ ˘ Breve + // - U+02D9 ˙ ˙ Dot Above + // - U+02DA ˚ ˚ Ring Above + // - U+02DB ˛ ˛ Ogonek + // - U+02DC ˜ ˜ Small Tilde + // - U+02DD ˝ ˝ Double Acute Accent + // Latin Extended Additional, 1E00–1EFF + + + var extendedWordChars = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/; + var reWhitespace = /\S/; + var wordDiff = new Diff(); + + wordDiff.equals = function (left, right) { + if (this.options.ignoreCase) { + left = left.toLowerCase(); + right = right.toLowerCase(); + } + + return left === right || this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right); + }; + + wordDiff.tokenize = function (value) { + // All whitespace symbols except newline group into one token, each newline - in separate token + var tokens = value.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/); // Join the boundary splits that we do not consider to be boundaries. This is primarily the extended Latin character set. + + for (var i = 0; i < tokens.length - 1; i++) { + // If we have an empty string in the next field and we have only word chars before and after, merge + if (!tokens[i + 1] && tokens[i + 2] && extendedWordChars.test(tokens[i]) && extendedWordChars.test(tokens[i + 2])) { + tokens[i] += tokens[i + 2]; + tokens.splice(i + 1, 2); + i--; + } + } + + return tokens; + }; + + function diffWords(oldStr, newStr, options) { + options = generateOptions(options, { + ignoreWhitespace: true + }); + return wordDiff.diff(oldStr, newStr, options); + } + + function diffWordsWithSpace(oldStr, newStr, options) { + return wordDiff.diff(oldStr, newStr, options); + } + + var lineDiff = new Diff(); + + lineDiff.tokenize = function (value) { + var retLines = [], + linesAndNewlines = value.split(/(\n|\r\n)/); // Ignore the final empty token that occurs if the string ends with a new line + + if (!linesAndNewlines[linesAndNewlines.length - 1]) { + linesAndNewlines.pop(); + } // Merge the content and line separators into single tokens + + + for (var i = 0; i < linesAndNewlines.length; i++) { + var line = linesAndNewlines[i]; + + if (i % 2 && !this.options.newlineIsToken) { + retLines[retLines.length - 1] += line; + } else { + if (this.options.ignoreWhitespace) { + line = line.trim(); + } + + retLines.push(line); + } + } + + return retLines; + }; + + function diffLines(oldStr, newStr, callback) { + return lineDiff.diff(oldStr, newStr, callback); + } + + function diffTrimmedLines(oldStr, newStr, callback) { + var options = generateOptions(callback, { + ignoreWhitespace: true + }); + return lineDiff.diff(oldStr, newStr, options); + } + + var sentenceDiff = new Diff(); + + sentenceDiff.tokenize = function (value) { + return value.split(/(\S.+?[.!?])(?=\s+|$)/); + }; + + function diffSentences(oldStr, newStr, callback) { + return sentenceDiff.diff(oldStr, newStr, callback); + } + + var cssDiff = new Diff(); + + cssDiff.tokenize = function (value) { + return value.split(/([{}:;,]|\s+)/); + }; + + function diffCss(oldStr, newStr, callback) { + return cssDiff.diff(oldStr, newStr, callback); + } + + function _typeof(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); + } + + function _toConsumableArray(arr) { + return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); + } + + function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return _arrayLikeToArray(arr); + } + + function _iterableToArray(iter) { + if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); + } + + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + + return arr2; + } + + function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var objectPrototypeToString = Object.prototype.toString; + var jsonDiff = new Diff(); // Discriminate between two lines of pretty-printed, serialized JSON where one of them has a + // dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output: + + jsonDiff.useLongestToken = true; + jsonDiff.tokenize = lineDiff.tokenize; + + jsonDiff.castInput = function (value) { + var _this$options = this.options, + undefinedReplacement = _this$options.undefinedReplacement, + _this$options$stringi = _this$options.stringifyReplacer, + stringifyReplacer = _this$options$stringi === void 0 ? function (k, v) { + return typeof v === 'undefined' ? undefinedReplacement : v; + } : _this$options$stringi; + return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' '); + }; + + jsonDiff.equals = function (left, right) { + return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\r\n])/g, '$1'), right.replace(/,([\r\n])/g, '$1')); + }; + + function diffJson(oldObj, newObj, options) { + return jsonDiff.diff(oldObj, newObj, options); + } // This function handles the presence of circular references by bailing out when encountering an + // object that is already on the "stack" of items being processed. Accepts an optional replacer + + + function canonicalize(obj, stack, replacementStack, replacer, key) { + stack = stack || []; + replacementStack = replacementStack || []; + + if (replacer) { + obj = replacer(key, obj); + } + + var i; + + for (i = 0; i < stack.length; i += 1) { + if (stack[i] === obj) { + return replacementStack[i]; + } + } - var canonicalizedObj; + var canonicalizedObj; - if ('[object Array]' === objectPrototypeToString.call(obj)) { - stack.push(obj); - canonicalizedObj = new Array(obj.length); - replacementStack.push(canonicalizedObj); - - for (i = 0; i < obj.length; i += 1) { - canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key); - } - - stack.pop(); - replacementStack.pop(); - return canonicalizedObj; - } - - if (obj && obj.toJSON) { - obj = obj.toJSON(); - } - - if (_typeof(obj) === 'object' && obj !== null) { - stack.push(obj); - canonicalizedObj = {}; - replacementStack.push(canonicalizedObj); - - var sortedKeys = [], - _key; - - for (_key in obj) { - /* istanbul ignore else */ - if (obj.hasOwnProperty(_key)) { - sortedKeys.push(_key); - } - } - - sortedKeys.sort(); - - for (i = 0; i < sortedKeys.length; i += 1) { - _key = sortedKeys[i]; - canonicalizedObj[_key] = canonicalize(obj[_key], stack, replacementStack, replacer, _key); - } + if ('[object Array]' === objectPrototypeToString.call(obj)) { + stack.push(obj); + canonicalizedObj = new Array(obj.length); + replacementStack.push(canonicalizedObj); + + for (i = 0; i < obj.length; i += 1) { + canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key); + } + + stack.pop(); + replacementStack.pop(); + return canonicalizedObj; + } + + if (obj && obj.toJSON) { + obj = obj.toJSON(); + } + + if (_typeof(obj) === 'object' && obj !== null) { + stack.push(obj); + canonicalizedObj = {}; + replacementStack.push(canonicalizedObj); + + var sortedKeys = [], + _key; + + for (_key in obj) { + /* istanbul ignore else */ + if (obj.hasOwnProperty(_key)) { + sortedKeys.push(_key); + } + } + + sortedKeys.sort(); + + for (i = 0; i < sortedKeys.length; i += 1) { + _key = sortedKeys[i]; + canonicalizedObj[_key] = canonicalize(obj[_key], stack, replacementStack, replacer, _key); + } - stack.pop(); - replacementStack.pop(); - } else { - canonicalizedObj = obj; - } - - return canonicalizedObj; - } - - var arrayDiff = new Diff(); - - arrayDiff.tokenize = function (value) { - return value.slice(); - }; - - arrayDiff.join = arrayDiff.removeEmpty = function (value) { - return value; - }; - - function diffArrays(oldArr, newArr, callback) { - return arrayDiff.diff(oldArr, newArr, callback); - } - - function parsePatch(uniDiff) { - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/), - delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [], - list = [], - i = 0; - - function parseIndex() { - var index = {}; - list.push(index); // Parse diff metadata - - while (i < diffstr.length) { - var line = diffstr[i]; // File header found, end parsing diff metadata - - if (/^(\-\-\-|\+\+\+|@@)\s/.test(line)) { - break; - } // Diff index - - - var header = /^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line); - - if (header) { - index.index = header[1]; - } - - i++; - } // Parse file headers if they are defined. Unified diff requires them, but - // there's no technical issues to have an isolated hunk without file header - - - parseFileHeader(index); - parseFileHeader(index); // Parse hunks - - index.hunks = []; - - while (i < diffstr.length) { - var _line = diffstr[i]; - - if (/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(_line)) { - break; - } else if (/^@@/.test(_line)) { - index.hunks.push(parseHunk()); - } else if (_line && options.strict) { - // Ignore unexpected content unless in strict mode - throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(_line)); - } else { - i++; - } - } - } // Parses the --- and +++ headers, if none are found, no lines - // are consumed. - - - function parseFileHeader(index) { - var fileHeader = /^(---|\+\+\+)\s+(.*)$/.exec(diffstr[i]); - - if (fileHeader) { - var keyPrefix = fileHeader[1] === '---' ? 'old' : 'new'; - var data = fileHeader[2].split('\t', 2); - var fileName = data[0].replace(/\\\\/g, '\\'); - - if (/^".*"$/.test(fileName)) { - fileName = fileName.substr(1, fileName.length - 2); - } - - index[keyPrefix + 'FileName'] = fileName; - index[keyPrefix + 'Header'] = (data[1] || '').trim(); - i++; - } - } // Parses a hunk - // This assumes that we are at the start of a hunk. - - - function parseHunk() { - var chunkHeaderIndex = i, - chunkHeaderLine = diffstr[i++], - chunkHeader = chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/); - var hunk = { - oldStart: +chunkHeader[1], - oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2], - newStart: +chunkHeader[3], - newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4], - lines: [], - linedelimiters: [] - }; // Unified Diff Format quirk: If the chunk size is 0, - // the first number is one lower than one would expect. - // https://www.artima.com/weblogs/viewpost.jsp?thread=164293 - - if (hunk.oldLines === 0) { - hunk.oldStart += 1; - } - - if (hunk.newLines === 0) { - hunk.newStart += 1; - } - - var addCount = 0, - removeCount = 0; - - for (; i < diffstr.length; i++) { - // Lines starting with '---' could be mistaken for the "remove line" operation - // But they could be the header for the next file. Therefore prune such cases out. - if (diffstr[i].indexOf('--- ') === 0 && i + 2 < diffstr.length && diffstr[i + 1].indexOf('+++ ') === 0 && diffstr[i + 2].indexOf('@@') === 0) { - break; - } - - var operation = diffstr[i].length == 0 && i != diffstr.length - 1 ? ' ' : diffstr[i][0]; - - if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\') { - hunk.lines.push(diffstr[i]); - hunk.linedelimiters.push(delimiters[i] || '\n'); - - if (operation === '+') { - addCount++; - } else if (operation === '-') { - removeCount++; - } else if (operation === ' ') { - addCount++; - removeCount++; - } - } else { - break; - } - } // Handle the empty block count case - - - if (!addCount && hunk.newLines === 1) { - hunk.newLines = 0; - } - - if (!removeCount && hunk.oldLines === 1) { - hunk.oldLines = 0; - } // Perform optional sanity checking - - - if (options.strict) { - if (addCount !== hunk.newLines) { - throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1)); - } - - if (removeCount !== hunk.oldLines) { - throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1)); - } - } - - return hunk; - } - - while (i < diffstr.length) { - parseIndex(); - } - - return list; - } // Iterator that traverses in the range of [min, max], stepping - // by distance from a given start position. I.e. for [0, 4], with - // start of 2, this will iterate 2, 3, 1, 4, 0. - - - function distanceIterator(start, minLine, maxLine) { - var wantForward = true, - backwardExhausted = false, - forwardExhausted = false, - localOffset = 1; - return function iterator() { - if (wantForward && !forwardExhausted) { - if (backwardExhausted) { - localOffset++; - } else { - wantForward = false; - } // Check if trying to fit beyond text length, and if not, check it fits - // after offset location (or desired location on first iteration) - - - if (start + localOffset <= maxLine) { - return localOffset; - } - - forwardExhausted = true; - } - - if (!backwardExhausted) { - if (!forwardExhausted) { - wantForward = true; - } // Check if trying to fit before text beginning, and if not, check it fits - // before offset location - - - if (minLine <= start - localOffset) { - return -localOffset++; - } - - backwardExhausted = true; - return iterator(); - } // We tried to fit hunk before text beginning and beyond text length, then - // hunk can't fit on the text. Return undefined - - }; - } - - function applyPatch(source, uniDiff) { - var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - - if (typeof uniDiff === 'string') { - uniDiff = parsePatch(uniDiff); - } - - if (Array.isArray(uniDiff)) { - if (uniDiff.length > 1) { - throw new Error('applyPatch only works with a single input.'); - } - - uniDiff = uniDiff[0]; - } // Apply the diff to the input - - - var lines = source.split(/\r\n|[\n\v\f\r\x85]/), - delimiters = source.match(/\r\n|[\n\v\f\r\x85]/g) || [], - hunks = uniDiff.hunks, - compareLine = options.compareLine || function (lineNumber, line, operation, patchContent) { - return line === patchContent; - }, - errorCount = 0, - fuzzFactor = options.fuzzFactor || 0, - minLine = 0, - offset = 0, - removeEOFNL, - addEOFNL; - /** - * Checks if the hunk exactly fits on the provided location - */ - - - function hunkFits(hunk, toPos) { - for (var j = 0; j < hunk.lines.length; j++) { - var line = hunk.lines[j], - operation = line.length > 0 ? line[0] : ' ', - content = line.length > 0 ? line.substr(1) : line; - - if (operation === ' ' || operation === '-') { - // Context sanity check - if (!compareLine(toPos + 1, lines[toPos], operation, content)) { - errorCount++; - - if (errorCount > fuzzFactor) { - return false; - } - } - - toPos++; - } - } - - return true; - } // Search best fit offsets for each hunk based on the previous ones - - - for (var i = 0; i < hunks.length; i++) { - var hunk = hunks[i], - maxLine = lines.length - hunk.oldLines, - localOffset = 0, - toPos = offset + hunk.oldStart - 1; - var iterator = distanceIterator(toPos, minLine, maxLine); - - for (; localOffset !== undefined; localOffset = iterator()) { - if (hunkFits(hunk, toPos + localOffset)) { - hunk.offset = offset += localOffset; - break; - } - } - - if (localOffset === undefined) { - return false; - } // Set lower text limit to end of the current hunk, so next ones don't try - // to fit over already patched text - - - minLine = hunk.offset + hunk.oldStart + hunk.oldLines; - } // Apply patch hunks - - - var diffOffset = 0; - - for (var _i = 0; _i < hunks.length; _i++) { - var _hunk = hunks[_i], - _toPos = _hunk.oldStart + _hunk.offset + diffOffset - 1; - - diffOffset += _hunk.newLines - _hunk.oldLines; - - for (var j = 0; j < _hunk.lines.length; j++) { - var line = _hunk.lines[j], - operation = line.length > 0 ? line[0] : ' ', - content = line.length > 0 ? line.substr(1) : line, - delimiter = _hunk.linedelimiters[j]; - - if (operation === ' ') { - _toPos++; - } else if (operation === '-') { - lines.splice(_toPos, 1); - delimiters.splice(_toPos, 1); - /* istanbul ignore else */ - } else if (operation === '+') { - lines.splice(_toPos, 0, content); - delimiters.splice(_toPos, 0, delimiter); - _toPos++; - } else if (operation === '\\') { - var previousOperation = _hunk.lines[j - 1] ? _hunk.lines[j - 1][0] : null; - - if (previousOperation === '+') { - removeEOFNL = true; - } else if (previousOperation === '-') { - addEOFNL = true; - } - } - } - } // Handle EOFNL insertion/removal - - - if (removeEOFNL) { - while (!lines[lines.length - 1]) { - lines.pop(); - delimiters.pop(); - } - } else if (addEOFNL) { - lines.push(''); - delimiters.push('\n'); - } - - for (var _k = 0; _k < lines.length - 1; _k++) { - lines[_k] = lines[_k] + delimiters[_k]; - } - - return lines.join(''); - } // Wrapper that supports multiple file patches via callbacks. - - - function applyPatches(uniDiff, options) { - if (typeof uniDiff === 'string') { - uniDiff = parsePatch(uniDiff); - } - - var currentIndex = 0; - - function processIndex() { - var index = uniDiff[currentIndex++]; - - if (!index) { - return options.complete(); - } - - options.loadFile(index, function (err, data) { - if (err) { - return options.complete(err); - } - - var updatedContent = applyPatch(data, index, options); - options.patched(index, updatedContent, function (err) { - if (err) { - return options.complete(err); - } - - processIndex(); - }); - }); - } - - processIndex(); - } - - function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) { - if (!options) { - options = {}; - } - - if (typeof options.context === 'undefined') { - options.context = 4; - } - - var diff = diffLines(oldStr, newStr, options); - diff.push({ - value: '', - lines: [] - }); // Append an empty value to make cleanup easier - - function contextLines(lines) { - return lines.map(function (entry) { - return ' ' + entry; - }); - } - - var hunks = []; - var oldRangeStart = 0, - newRangeStart = 0, - curRange = [], - oldLine = 1, - newLine = 1; - - var _loop = function _loop(i) { - var current = diff[i], - lines = current.lines || current.value.replace(/\n$/, '').split('\n'); - current.lines = lines; - - if (current.added || current.removed) { - var _curRange; // If we have previous context, start with that - - - if (!oldRangeStart) { - var prev = diff[i - 1]; - oldRangeStart = oldLine; - newRangeStart = newLine; - - if (prev) { - curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : []; - oldRangeStart -= curRange.length; - newRangeStart -= curRange.length; - } - } // Output our changes - - - (_curRange = curRange).push.apply(_curRange, _toConsumableArray(lines.map(function (entry) { - return (current.added ? '+' : '-') + entry; - }))); // Track the updated file position - - - if (current.added) { - newLine += lines.length; - } else { - oldLine += lines.length; - } - } else { - // Identical context lines. Track line changes - if (oldRangeStart) { - // Close out any changes that have been output (or join overlapping) - if (lines.length <= options.context * 2 && i < diff.length - 2) { - var _curRange2; // Overlapping - - - (_curRange2 = curRange).push.apply(_curRange2, _toConsumableArray(contextLines(lines))); - } else { - var _curRange3; // end the range and output - - - var contextSize = Math.min(lines.length, options.context); - - (_curRange3 = curRange).push.apply(_curRange3, _toConsumableArray(contextLines(lines.slice(0, contextSize)))); - - var hunk = { - oldStart: oldRangeStart, - oldLines: oldLine - oldRangeStart + contextSize, - newStart: newRangeStart, - newLines: newLine - newRangeStart + contextSize, - lines: curRange - }; - - if (i >= diff.length - 2 && lines.length <= options.context) { - // EOF is inside this hunk - var oldEOFNewline = /\n$/.test(oldStr); - var newEOFNewline = /\n$/.test(newStr); - var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines; - - if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) { - // special case: old has no eol and no trailing context; no-nl can end up before adds - // however, if the old file is empty, do not output the no-nl line - curRange.splice(hunk.oldLines, 0, '\\ No newline at end of file'); - } - - if (!oldEOFNewline && !noNlBeforeAdds || !newEOFNewline) { - curRange.push('\\ No newline at end of file'); - } - } - - hunks.push(hunk); - oldRangeStart = 0; - newRangeStart = 0; - curRange = []; - } - } - - oldLine += lines.length; - newLine += lines.length; - } - }; - - for (var i = 0; i < diff.length; i++) { - _loop(i); - } - - return { - oldFileName: oldFileName, - newFileName: newFileName, - oldHeader: oldHeader, - newHeader: newHeader, - hunks: hunks - }; - } - - function formatPatch(diff) { - var ret = []; - - if (diff.oldFileName == diff.newFileName) { - ret.push('Index: ' + diff.oldFileName); - } - - ret.push('==================================================================='); - ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\t' + diff.oldHeader)); - ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\t' + diff.newHeader)); - - for (var i = 0; i < diff.hunks.length; i++) { - var hunk = diff.hunks[i]; // Unified Diff Format quirk: If the chunk size is 0, - // the first number is one lower than one would expect. - // https://www.artima.com/weblogs/viewpost.jsp?thread=164293 - - if (hunk.oldLines === 0) { - hunk.oldStart -= 1; - } - - if (hunk.newLines === 0) { - hunk.newStart -= 1; - } - - ret.push('@@ -' + hunk.oldStart + ',' + hunk.oldLines + ' +' + hunk.newStart + ',' + hunk.newLines + ' @@'); - ret.push.apply(ret, hunk.lines); - } - - return ret.join('\n') + '\n'; - } - - function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) { - return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options)); - } - - function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) { - return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options); - } - - function arrayEqual(a, b) { - if (a.length !== b.length) { - return false; - } - - return arrayStartsWith(a, b); - } - - function arrayStartsWith(array, start) { - if (start.length > array.length) { - return false; - } - - for (var i = 0; i < start.length; i++) { - if (start[i] !== array[i]) { - return false; - } - } - - return true; - } - - function calcLineCount(hunk) { - var _calcOldNewLineCount = calcOldNewLineCount(hunk.lines), - oldLines = _calcOldNewLineCount.oldLines, - newLines = _calcOldNewLineCount.newLines; - - if (oldLines !== undefined) { - hunk.oldLines = oldLines; - } else { - delete hunk.oldLines; - } - - if (newLines !== undefined) { - hunk.newLines = newLines; - } else { - delete hunk.newLines; - } - } - - function merge(mine, theirs, base) { - mine = loadPatch(mine, base); - theirs = loadPatch(theirs, base); - var ret = {}; // For index we just let it pass through as it doesn't have any necessary meaning. - // Leaving sanity checks on this to the API consumer that may know more about the - // meaning in their own context. - - if (mine.index || theirs.index) { - ret.index = mine.index || theirs.index; - } - - if (mine.newFileName || theirs.newFileName) { - if (!fileNameChanged(mine)) { - // No header or no change in ours, use theirs (and ours if theirs does not exist) - ret.oldFileName = theirs.oldFileName || mine.oldFileName; - ret.newFileName = theirs.newFileName || mine.newFileName; - ret.oldHeader = theirs.oldHeader || mine.oldHeader; - ret.newHeader = theirs.newHeader || mine.newHeader; - } else if (!fileNameChanged(theirs)) { - // No header or no change in theirs, use ours - ret.oldFileName = mine.oldFileName; - ret.newFileName = mine.newFileName; - ret.oldHeader = mine.oldHeader; - ret.newHeader = mine.newHeader; - } else { - // Both changed... figure it out - ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName); - ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName); - ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader); - ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader); - } - } - - ret.hunks = []; - var mineIndex = 0, - theirsIndex = 0, - mineOffset = 0, - theirsOffset = 0; - - while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) { - var mineCurrent = mine.hunks[mineIndex] || { - oldStart: Infinity - }, - theirsCurrent = theirs.hunks[theirsIndex] || { - oldStart: Infinity - }; - - if (hunkBefore(mineCurrent, theirsCurrent)) { - // This patch does not overlap with any of the others, yay. - ret.hunks.push(cloneHunk(mineCurrent, mineOffset)); - mineIndex++; - theirsOffset += mineCurrent.newLines - mineCurrent.oldLines; - } else if (hunkBefore(theirsCurrent, mineCurrent)) { - // This patch does not overlap with any of the others, yay. - ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset)); - theirsIndex++; - mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines; - } else { - // Overlap, merge as best we can - var mergedHunk = { - oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart), - oldLines: 0, - newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset), - newLines: 0, - lines: [] - }; - mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines); - theirsIndex++; - mineIndex++; - ret.hunks.push(mergedHunk); - } - } - - return ret; - } - - function loadPatch(param, base) { - if (typeof param === 'string') { - if (/^@@/m.test(param) || /^Index:/m.test(param)) { - return parsePatch(param)[0]; - } - - if (!base) { - throw new Error('Must provide a base reference or pass in a patch'); - } - - return structuredPatch(undefined, undefined, base, param); - } - - return param; - } - - function fileNameChanged(patch) { - return patch.newFileName && patch.newFileName !== patch.oldFileName; - } - - function selectField(index, mine, theirs) { - if (mine === theirs) { - return mine; - } else { - index.conflict = true; - return { - mine: mine, - theirs: theirs - }; - } - } - - function hunkBefore(test, check) { - return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart; - } - - function cloneHunk(hunk, offset) { - return { - oldStart: hunk.oldStart, - oldLines: hunk.oldLines, - newStart: hunk.newStart + offset, - newLines: hunk.newLines, - lines: hunk.lines - }; - } - - function mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) { - // This will generally result in a conflicted hunk, but there are cases where the context - // is the only overlap where we can successfully merge the content here. - var mine = { - offset: mineOffset, - lines: mineLines, - index: 0 - }, - their = { - offset: theirOffset, - lines: theirLines, - index: 0 - }; // Handle any leading content - - insertLeading(hunk, mine, their); - insertLeading(hunk, their, mine); // Now in the overlap content. Scan through and select the best changes from each. - - while (mine.index < mine.lines.length && their.index < their.lines.length) { - var mineCurrent = mine.lines[mine.index], - theirCurrent = their.lines[their.index]; - - if ((mineCurrent[0] === '-' || mineCurrent[0] === '+') && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) { - // Both modified ... - mutualChange(hunk, mine, their); - } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') { - var _hunk$lines; // Mine inserted - - - (_hunk$lines = hunk.lines).push.apply(_hunk$lines, _toConsumableArray(collectChange(mine))); - } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') { - var _hunk$lines2; // Theirs inserted - - - (_hunk$lines2 = hunk.lines).push.apply(_hunk$lines2, _toConsumableArray(collectChange(their))); - } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') { - // Mine removed or edited - removal(hunk, mine, their); - } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') { - // Their removed or edited - removal(hunk, their, mine, true); - } else if (mineCurrent === theirCurrent) { - // Context identity - hunk.lines.push(mineCurrent); - mine.index++; - their.index++; - } else { - // Context mismatch - conflict(hunk, collectChange(mine), collectChange(their)); - } - } // Now push anything that may be remaining - - - insertTrailing(hunk, mine); - insertTrailing(hunk, their); - calcLineCount(hunk); - } - - function mutualChange(hunk, mine, their) { - var myChanges = collectChange(mine), - theirChanges = collectChange(their); - - if (allRemoves(myChanges) && allRemoves(theirChanges)) { - // Special case for remove changes that are supersets of one another - if (arrayStartsWith(myChanges, theirChanges) && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) { - var _hunk$lines3; - - (_hunk$lines3 = hunk.lines).push.apply(_hunk$lines3, _toConsumableArray(myChanges)); - - return; - } else if (arrayStartsWith(theirChanges, myChanges) && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) { - var _hunk$lines4; - - (_hunk$lines4 = hunk.lines).push.apply(_hunk$lines4, _toConsumableArray(theirChanges)); - - return; - } - } else if (arrayEqual(myChanges, theirChanges)) { - var _hunk$lines5; - - (_hunk$lines5 = hunk.lines).push.apply(_hunk$lines5, _toConsumableArray(myChanges)); - - return; - } - - conflict(hunk, myChanges, theirChanges); - } - - function removal(hunk, mine, their, swap) { - var myChanges = collectChange(mine), - theirChanges = collectContext(their, myChanges); - - if (theirChanges.merged) { - var _hunk$lines6; - - (_hunk$lines6 = hunk.lines).push.apply(_hunk$lines6, _toConsumableArray(theirChanges.merged)); - } else { - conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges); - } - } - - function conflict(hunk, mine, their) { - hunk.conflict = true; - hunk.lines.push({ - conflict: true, - mine: mine, - theirs: their - }); - } - - function insertLeading(hunk, insert, their) { - while (insert.offset < their.offset && insert.index < insert.lines.length) { - var line = insert.lines[insert.index++]; - hunk.lines.push(line); - insert.offset++; - } - } - - function insertTrailing(hunk, insert) { - while (insert.index < insert.lines.length) { - var line = insert.lines[insert.index++]; - hunk.lines.push(line); - } - } - - function collectChange(state) { - var ret = [], - operation = state.lines[state.index][0]; - - while (state.index < state.lines.length) { - var line = state.lines[state.index]; // Group additions that are immediately after subtractions and treat them as one "atomic" modify change. - - if (operation === '-' && line[0] === '+') { - operation = '+'; - } - - if (operation === line[0]) { - ret.push(line); - state.index++; - } else { - break; - } - } - - return ret; - } - - function collectContext(state, matchChanges) { - var changes = [], - merged = [], - matchIndex = 0, - contextChanges = false, - conflicted = false; - - while (matchIndex < matchChanges.length && state.index < state.lines.length) { - var change = state.lines[state.index], - match = matchChanges[matchIndex]; // Once we've hit our add, then we are done - - if (match[0] === '+') { - break; - } - - contextChanges = contextChanges || change[0] !== ' '; - merged.push(match); - matchIndex++; // Consume any additions in the other block as a conflict to attempt - // to pull in the remaining context after this - - if (change[0] === '+') { - conflicted = true; - - while (change[0] === '+') { - changes.push(change); - change = state.lines[++state.index]; - } - } - - if (match.substr(1) === change.substr(1)) { - changes.push(change); - state.index++; - } else { - conflicted = true; - } - } - - if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) { - conflicted = true; - } - - if (conflicted) { - return changes; - } - - while (matchIndex < matchChanges.length) { - merged.push(matchChanges[matchIndex++]); - } - - return { - merged: merged, - changes: changes - }; - } - - function allRemoves(changes) { - return changes.reduce(function (prev, change) { - return prev && change[0] === '-'; - }, true); - } - - function skipRemoveSuperset(state, removeChanges, delta) { - for (var i = 0; i < delta; i++) { - var changeContent = removeChanges[removeChanges.length - delta + i].substr(1); - - if (state.lines[state.index + i] !== ' ' + changeContent) { - return false; - } - } - - state.index += delta; - return true; - } - - function calcOldNewLineCount(lines) { - var oldLines = 0; - var newLines = 0; - lines.forEach(function (line) { - if (typeof line !== 'string') { - var myCount = calcOldNewLineCount(line.mine); - var theirCount = calcOldNewLineCount(line.theirs); - - if (oldLines !== undefined) { - if (myCount.oldLines === theirCount.oldLines) { - oldLines += myCount.oldLines; - } else { - oldLines = undefined; - } - } - - if (newLines !== undefined) { - if (myCount.newLines === theirCount.newLines) { - newLines += myCount.newLines; - } else { - newLines = undefined; - } - } - } else { - if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) { - newLines++; - } - - if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) { - oldLines++; - } - } - }); - return { - oldLines: oldLines, - newLines: newLines - }; - } // See: http://code.google.com/p/google-diff-match-patch/wiki/API - - - function convertChangesToDMP(changes) { - var ret = [], - change, - operation; - - for (var i = 0; i < changes.length; i++) { - change = changes[i]; - - if (change.added) { - operation = 1; - } else if (change.removed) { - operation = -1; - } else { - operation = 0; - } - - ret.push([operation, change.value]); - } - - return ret; - } - - function convertChangesToXML(changes) { - var ret = []; - - for (var i = 0; i < changes.length; i++) { - var change = changes[i]; - - if (change.added) { - ret.push('<ins>'); - } else if (change.removed) { - ret.push('<del>'); - } - - ret.push(escapeHTML(change.value)); - - if (change.added) { - ret.push('</ins>'); - } else if (change.removed) { - ret.push('</del>'); - } - } - - return ret.join(''); - } - - function escapeHTML(s) { - var n = s; - n = n.replace(/&/g, '&'); - n = n.replace(/</g, '<'); - n = n.replace(/>/g, '>'); - n = n.replace(/"/g, '"'); - return n; - } - - exports.Diff = Diff; - exports.applyPatch = applyPatch; - exports.applyPatches = applyPatches; - exports.canonicalize = canonicalize; - exports.convertChangesToDMP = convertChangesToDMP; - exports.convertChangesToXML = convertChangesToXML; - exports.createPatch = createPatch; - exports.createTwoFilesPatch = createTwoFilesPatch; - exports.diffArrays = diffArrays; - exports.diffChars = diffChars; - exports.diffCss = diffCss; - exports.diffJson = diffJson; - exports.diffLines = diffLines; - exports.diffSentences = diffSentences; - exports.diffTrimmedLines = diffTrimmedLines; - exports.diffWords = diffWords; - exports.diffWordsWithSpace = diffWordsWithSpace; - exports.merge = merge; - exports.parsePatch = parsePatch; - exports.structuredPatch = structuredPatch; - Object.defineProperty(exports, '__esModule', { - value: true - }); - }); + stack.pop(); + replacementStack.pop(); + } else { + canonicalizedObj = obj; + } + + return canonicalizedObj; + } + + var arrayDiff = new Diff(); + + arrayDiff.tokenize = function (value) { + return value.slice(); + }; + + arrayDiff.join = arrayDiff.removeEmpty = function (value) { + return value; + }; + + function diffArrays(oldArr, newArr, callback) { + return arrayDiff.diff(oldArr, newArr, callback); + } + + function parsePatch(uniDiff) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/), + delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [], + list = [], + i = 0; + + function parseIndex() { + var index = {}; + list.push(index); // Parse diff metadata + + while (i < diffstr.length) { + var line = diffstr[i]; // File header found, end parsing diff metadata + + if (/^(\-\-\-|\+\+\+|@@)\s/.test(line)) { + break; + } // Diff index + + + var header = /^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line); + + if (header) { + index.index = header[1]; + } + + i++; + } // Parse file headers if they are defined. Unified diff requires them, but + // there's no technical issues to have an isolated hunk without file header + + + parseFileHeader(index); + parseFileHeader(index); // Parse hunks + + index.hunks = []; + + while (i < diffstr.length) { + var _line = diffstr[i]; + + if (/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(_line)) { + break; + } else if (/^@@/.test(_line)) { + index.hunks.push(parseHunk()); + } else if (_line && options.strict) { + // Ignore unexpected content unless in strict mode + throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(_line)); + } else { + i++; + } + } + } // Parses the --- and +++ headers, if none are found, no lines + // are consumed. + + + function parseFileHeader(index) { + var fileHeader = /^(---|\+\+\+)\s+(.*)$/.exec(diffstr[i]); + + if (fileHeader) { + var keyPrefix = fileHeader[1] === '---' ? 'old' : 'new'; + var data = fileHeader[2].split('\t', 2); + var fileName = data[0].replace(/\\\\/g, '\\'); + + if (/^".*"$/.test(fileName)) { + fileName = fileName.substr(1, fileName.length - 2); + } + + index[keyPrefix + 'FileName'] = fileName; + index[keyPrefix + 'Header'] = (data[1] || '').trim(); + i++; + } + } // Parses a hunk + // This assumes that we are at the start of a hunk. + + + function parseHunk() { + var chunkHeaderIndex = i, + chunkHeaderLine = diffstr[i++], + chunkHeader = chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/); + var hunk = { + oldStart: +chunkHeader[1], + oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2], + newStart: +chunkHeader[3], + newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4], + lines: [], + linedelimiters: [] + }; // Unified Diff Format quirk: If the chunk size is 0, + // the first number is one lower than one would expect. + // https://www.artima.com/weblogs/viewpost.jsp?thread=164293 + + if (hunk.oldLines === 0) { + hunk.oldStart += 1; + } + + if (hunk.newLines === 0) { + hunk.newStart += 1; + } + + var addCount = 0, + removeCount = 0; + + for (; i < diffstr.length; i++) { + // Lines starting with '---' could be mistaken for the "remove line" operation + // But they could be the header for the next file. Therefore prune such cases out. + if (diffstr[i].indexOf('--- ') === 0 && i + 2 < diffstr.length && diffstr[i + 1].indexOf('+++ ') === 0 && diffstr[i + 2].indexOf('@@') === 0) { + break; + } + + var operation = diffstr[i].length == 0 && i != diffstr.length - 1 ? ' ' : diffstr[i][0]; + + if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\') { + hunk.lines.push(diffstr[i]); + hunk.linedelimiters.push(delimiters[i] || '\n'); + + if (operation === '+') { + addCount++; + } else if (operation === '-') { + removeCount++; + } else if (operation === ' ') { + addCount++; + removeCount++; + } + } else { + break; + } + } // Handle the empty block count case + + + if (!addCount && hunk.newLines === 1) { + hunk.newLines = 0; + } + + if (!removeCount && hunk.oldLines === 1) { + hunk.oldLines = 0; + } // Perform optional sanity checking + + + if (options.strict) { + if (addCount !== hunk.newLines) { + throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1)); + } + + if (removeCount !== hunk.oldLines) { + throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1)); + } + } + + return hunk; + } + + while (i < diffstr.length) { + parseIndex(); + } + + return list; + } // Iterator that traverses in the range of [min, max], stepping + // by distance from a given start position. I.e. for [0, 4], with + // start of 2, this will iterate 2, 3, 1, 4, 0. + + + function distanceIterator(start, minLine, maxLine) { + var wantForward = true, + backwardExhausted = false, + forwardExhausted = false, + localOffset = 1; + return function iterator() { + if (wantForward && !forwardExhausted) { + if (backwardExhausted) { + localOffset++; + } else { + wantForward = false; + } // Check if trying to fit beyond text length, and if not, check it fits + // after offset location (or desired location on first iteration) + + + if (start + localOffset <= maxLine) { + return localOffset; + } + + forwardExhausted = true; + } + + if (!backwardExhausted) { + if (!forwardExhausted) { + wantForward = true; + } // Check if trying to fit before text beginning, and if not, check it fits + // before offset location + + + if (minLine <= start - localOffset) { + return -localOffset++; + } + + backwardExhausted = true; + return iterator(); + } // We tried to fit hunk before text beginning and beyond text length, then + // hunk can't fit on the text. Return undefined + + }; + } + + function applyPatch(source, uniDiff) { + var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + + if (typeof uniDiff === 'string') { + uniDiff = parsePatch(uniDiff); + } + + if (Array.isArray(uniDiff)) { + if (uniDiff.length > 1) { + throw new Error('applyPatch only works with a single input.'); + } + + uniDiff = uniDiff[0]; + } // Apply the diff to the input + + + var lines = source.split(/\r\n|[\n\v\f\r\x85]/), + delimiters = source.match(/\r\n|[\n\v\f\r\x85]/g) || [], + hunks = uniDiff.hunks, + compareLine = options.compareLine || function (lineNumber, line, operation, patchContent) { + return line === patchContent; + }, + errorCount = 0, + fuzzFactor = options.fuzzFactor || 0, + minLine = 0, + offset = 0, + removeEOFNL, + addEOFNL; + /** + * Checks if the hunk exactly fits on the provided location + */ + + + function hunkFits(hunk, toPos) { + for (var j = 0; j < hunk.lines.length; j++) { + var line = hunk.lines[j], + operation = line.length > 0 ? line[0] : ' ', + content = line.length > 0 ? line.substr(1) : line; + + if (operation === ' ' || operation === '-') { + // Context sanity check + if (!compareLine(toPos + 1, lines[toPos], operation, content)) { + errorCount++; + + if (errorCount > fuzzFactor) { + return false; + } + } + + toPos++; + } + } + + return true; + } // Search best fit offsets for each hunk based on the previous ones + + + for (var i = 0; i < hunks.length; i++) { + var hunk = hunks[i], + maxLine = lines.length - hunk.oldLines, + localOffset = 0, + toPos = offset + hunk.oldStart - 1; + var iterator = distanceIterator(toPos, minLine, maxLine); + + for (; localOffset !== undefined; localOffset = iterator()) { + if (hunkFits(hunk, toPos + localOffset)) { + hunk.offset = offset += localOffset; + break; + } + } + + if (localOffset === undefined) { + return false; + } // Set lower text limit to end of the current hunk, so next ones don't try + // to fit over already patched text + + + minLine = hunk.offset + hunk.oldStart + hunk.oldLines; + } // Apply patch hunks + + + var diffOffset = 0; + + for (var _i = 0; _i < hunks.length; _i++) { + var _hunk = hunks[_i], + _toPos = _hunk.oldStart + _hunk.offset + diffOffset - 1; + + diffOffset += _hunk.newLines - _hunk.oldLines; + + for (var j = 0; j < _hunk.lines.length; j++) { + var line = _hunk.lines[j], + operation = line.length > 0 ? line[0] : ' ', + content = line.length > 0 ? line.substr(1) : line, + delimiter = _hunk.linedelimiters[j]; + + if (operation === ' ') { + _toPos++; + } else if (operation === '-') { + lines.splice(_toPos, 1); + delimiters.splice(_toPos, 1); + /* istanbul ignore else */ + } else if (operation === '+') { + lines.splice(_toPos, 0, content); + delimiters.splice(_toPos, 0, delimiter); + _toPos++; + } else if (operation === '\\') { + var previousOperation = _hunk.lines[j - 1] ? _hunk.lines[j - 1][0] : null; + + if (previousOperation === '+') { + removeEOFNL = true; + } else if (previousOperation === '-') { + addEOFNL = true; + } + } + } + } // Handle EOFNL insertion/removal + + + if (removeEOFNL) { + while (!lines[lines.length - 1]) { + lines.pop(); + delimiters.pop(); + } + } else if (addEOFNL) { + lines.push(''); + delimiters.push('\n'); + } + + for (var _k = 0; _k < lines.length - 1; _k++) { + lines[_k] = lines[_k] + delimiters[_k]; + } + + return lines.join(''); + } // Wrapper that supports multiple file patches via callbacks. + + + function applyPatches(uniDiff, options) { + if (typeof uniDiff === 'string') { + uniDiff = parsePatch(uniDiff); + } + + var currentIndex = 0; + + function processIndex() { + var index = uniDiff[currentIndex++]; + + if (!index) { + return options.complete(); + } + + options.loadFile(index, function (err, data) { + if (err) { + return options.complete(err); + } + + var updatedContent = applyPatch(data, index, options); + options.patched(index, updatedContent, function (err) { + if (err) { + return options.complete(err); + } + + processIndex(); + }); + }); + } + + processIndex(); + } + + function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) { + if (!options) { + options = {}; + } + + if (typeof options.context === 'undefined') { + options.context = 4; + } + + var diff = diffLines(oldStr, newStr, options); + diff.push({ + value: '', + lines: [] + }); // Append an empty value to make cleanup easier + + function contextLines(lines) { + return lines.map(function (entry) { + return ' ' + entry; + }); + } + + var hunks = []; + var oldRangeStart = 0, + newRangeStart = 0, + curRange = [], + oldLine = 1, + newLine = 1; + + var _loop = function _loop(i) { + var current = diff[i], + lines = current.lines || current.value.replace(/\n$/, '').split('\n'); + current.lines = lines; + + if (current.added || current.removed) { + var _curRange; // If we have previous context, start with that + + + if (!oldRangeStart) { + var prev = diff[i - 1]; + oldRangeStart = oldLine; + newRangeStart = newLine; + + if (prev) { + curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : []; + oldRangeStart -= curRange.length; + newRangeStart -= curRange.length; + } + } // Output our changes + + + (_curRange = curRange).push.apply(_curRange, _toConsumableArray(lines.map(function (entry) { + return (current.added ? '+' : '-') + entry; + }))); // Track the updated file position + + + if (current.added) { + newLine += lines.length; + } else { + oldLine += lines.length; + } + } else { + // Identical context lines. Track line changes + if (oldRangeStart) { + // Close out any changes that have been output (or join overlapping) + if (lines.length <= options.context * 2 && i < diff.length - 2) { + var _curRange2; // Overlapping + + + (_curRange2 = curRange).push.apply(_curRange2, _toConsumableArray(contextLines(lines))); + } else { + var _curRange3; // end the range and output + + + var contextSize = Math.min(lines.length, options.context); + + (_curRange3 = curRange).push.apply(_curRange3, _toConsumableArray(contextLines(lines.slice(0, contextSize)))); + + var hunk = { + oldStart: oldRangeStart, + oldLines: oldLine - oldRangeStart + contextSize, + newStart: newRangeStart, + newLines: newLine - newRangeStart + contextSize, + lines: curRange + }; + + if (i >= diff.length - 2 && lines.length <= options.context) { + // EOF is inside this hunk + var oldEOFNewline = /\n$/.test(oldStr); + var newEOFNewline = /\n$/.test(newStr); + var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines; + + if (!oldEOFNewline && noNlBeforeAdds && oldStr.length > 0) { + // special case: old has no eol and no trailing context; no-nl can end up before adds + // however, if the old file is empty, do not output the no-nl line + curRange.splice(hunk.oldLines, 0, '\\ No newline at end of file'); + } + + if (!oldEOFNewline && !noNlBeforeAdds || !newEOFNewline) { + curRange.push('\\ No newline at end of file'); + } + } + + hunks.push(hunk); + oldRangeStart = 0; + newRangeStart = 0; + curRange = []; + } + } + + oldLine += lines.length; + newLine += lines.length; + } + }; + + for (var i = 0; i < diff.length; i++) { + _loop(i); + } + + return { + oldFileName: oldFileName, + newFileName: newFileName, + oldHeader: oldHeader, + newHeader: newHeader, + hunks: hunks + }; + } + + function formatPatch(diff) { + var ret = []; + + if (diff.oldFileName == diff.newFileName) { + ret.push('Index: ' + diff.oldFileName); + } + + ret.push('==================================================================='); + ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\t' + diff.oldHeader)); + ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\t' + diff.newHeader)); + + for (var i = 0; i < diff.hunks.length; i++) { + var hunk = diff.hunks[i]; // Unified Diff Format quirk: If the chunk size is 0, + // the first number is one lower than one would expect. + // https://www.artima.com/weblogs/viewpost.jsp?thread=164293 + + if (hunk.oldLines === 0) { + hunk.oldStart -= 1; + } + + if (hunk.newLines === 0) { + hunk.newStart -= 1; + } + + ret.push('@@ -' + hunk.oldStart + ',' + hunk.oldLines + ' +' + hunk.newStart + ',' + hunk.newLines + ' @@'); + ret.push.apply(ret, hunk.lines); + } + + return ret.join('\n') + '\n'; + } + + function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) { + return formatPatch(structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options)); + } + + function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) { + return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options); + } + + function arrayEqual(a, b) { + if (a.length !== b.length) { + return false; + } + + return arrayStartsWith(a, b); + } + + function arrayStartsWith(array, start) { + if (start.length > array.length) { + return false; + } + + for (var i = 0; i < start.length; i++) { + if (start[i] !== array[i]) { + return false; + } + } + + return true; + } + + function calcLineCount(hunk) { + var _calcOldNewLineCount = calcOldNewLineCount(hunk.lines), + oldLines = _calcOldNewLineCount.oldLines, + newLines = _calcOldNewLineCount.newLines; + + if (oldLines !== undefined) { + hunk.oldLines = oldLines; + } else { + delete hunk.oldLines; + } + + if (newLines !== undefined) { + hunk.newLines = newLines; + } else { + delete hunk.newLines; + } + } + + function merge(mine, theirs, base) { + mine = loadPatch(mine, base); + theirs = loadPatch(theirs, base); + var ret = {}; // For index we just let it pass through as it doesn't have any necessary meaning. + // Leaving sanity checks on this to the API consumer that may know more about the + // meaning in their own context. + + if (mine.index || theirs.index) { + ret.index = mine.index || theirs.index; + } + + if (mine.newFileName || theirs.newFileName) { + if (!fileNameChanged(mine)) { + // No header or no change in ours, use theirs (and ours if theirs does not exist) + ret.oldFileName = theirs.oldFileName || mine.oldFileName; + ret.newFileName = theirs.newFileName || mine.newFileName; + ret.oldHeader = theirs.oldHeader || mine.oldHeader; + ret.newHeader = theirs.newHeader || mine.newHeader; + } else if (!fileNameChanged(theirs)) { + // No header or no change in theirs, use ours + ret.oldFileName = mine.oldFileName; + ret.newFileName = mine.newFileName; + ret.oldHeader = mine.oldHeader; + ret.newHeader = mine.newHeader; + } else { + // Both changed... figure it out + ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName); + ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName); + ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader); + ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader); + } + } + + ret.hunks = []; + var mineIndex = 0, + theirsIndex = 0, + mineOffset = 0, + theirsOffset = 0; + + while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) { + var mineCurrent = mine.hunks[mineIndex] || { + oldStart: Infinity + }, + theirsCurrent = theirs.hunks[theirsIndex] || { + oldStart: Infinity + }; + + if (hunkBefore(mineCurrent, theirsCurrent)) { + // This patch does not overlap with any of the others, yay. + ret.hunks.push(cloneHunk(mineCurrent, mineOffset)); + mineIndex++; + theirsOffset += mineCurrent.newLines - mineCurrent.oldLines; + } else if (hunkBefore(theirsCurrent, mineCurrent)) { + // This patch does not overlap with any of the others, yay. + ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset)); + theirsIndex++; + mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines; + } else { + // Overlap, merge as best we can + var mergedHunk = { + oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart), + oldLines: 0, + newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset), + newLines: 0, + lines: [] + }; + mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines); + theirsIndex++; + mineIndex++; + ret.hunks.push(mergedHunk); + } + } + + return ret; + } + + function loadPatch(param, base) { + if (typeof param === 'string') { + if (/^@@/m.test(param) || /^Index:/m.test(param)) { + return parsePatch(param)[0]; + } + + if (!base) { + throw new Error('Must provide a base reference or pass in a patch'); + } + + return structuredPatch(undefined, undefined, base, param); + } + + return param; + } + + function fileNameChanged(patch) { + return patch.newFileName && patch.newFileName !== patch.oldFileName; + } + + function selectField(index, mine, theirs) { + if (mine === theirs) { + return mine; + } else { + index.conflict = true; + return { + mine: mine, + theirs: theirs + }; + } + } + + function hunkBefore(test, check) { + return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart; + } + + function cloneHunk(hunk, offset) { + return { + oldStart: hunk.oldStart, + oldLines: hunk.oldLines, + newStart: hunk.newStart + offset, + newLines: hunk.newLines, + lines: hunk.lines + }; + } + + function mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) { + // This will generally result in a conflicted hunk, but there are cases where the context + // is the only overlap where we can successfully merge the content here. + var mine = { + offset: mineOffset, + lines: mineLines, + index: 0 + }, + their = { + offset: theirOffset, + lines: theirLines, + index: 0 + }; // Handle any leading content + + insertLeading(hunk, mine, their); + insertLeading(hunk, their, mine); // Now in the overlap content. Scan through and select the best changes from each. + + while (mine.index < mine.lines.length && their.index < their.lines.length) { + var mineCurrent = mine.lines[mine.index], + theirCurrent = their.lines[their.index]; + + if ((mineCurrent[0] === '-' || mineCurrent[0] === '+') && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) { + // Both modified ... + mutualChange(hunk, mine, their); + } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') { + var _hunk$lines; // Mine inserted + + + (_hunk$lines = hunk.lines).push.apply(_hunk$lines, _toConsumableArray(collectChange(mine))); + } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') { + var _hunk$lines2; // Theirs inserted + + + (_hunk$lines2 = hunk.lines).push.apply(_hunk$lines2, _toConsumableArray(collectChange(their))); + } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') { + // Mine removed or edited + removal(hunk, mine, their); + } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') { + // Their removed or edited + removal(hunk, their, mine, true); + } else if (mineCurrent === theirCurrent) { + // Context identity + hunk.lines.push(mineCurrent); + mine.index++; + their.index++; + } else { + // Context mismatch + conflict(hunk, collectChange(mine), collectChange(their)); + } + } // Now push anything that may be remaining + + + insertTrailing(hunk, mine); + insertTrailing(hunk, their); + calcLineCount(hunk); + } + + function mutualChange(hunk, mine, their) { + var myChanges = collectChange(mine), + theirChanges = collectChange(their); + + if (allRemoves(myChanges) && allRemoves(theirChanges)) { + // Special case for remove changes that are supersets of one another + if (arrayStartsWith(myChanges, theirChanges) && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) { + var _hunk$lines3; + + (_hunk$lines3 = hunk.lines).push.apply(_hunk$lines3, _toConsumableArray(myChanges)); + + return; + } else if (arrayStartsWith(theirChanges, myChanges) && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) { + var _hunk$lines4; + + (_hunk$lines4 = hunk.lines).push.apply(_hunk$lines4, _toConsumableArray(theirChanges)); + + return; + } + } else if (arrayEqual(myChanges, theirChanges)) { + var _hunk$lines5; + + (_hunk$lines5 = hunk.lines).push.apply(_hunk$lines5, _toConsumableArray(myChanges)); + + return; + } + + conflict(hunk, myChanges, theirChanges); + } + + function removal(hunk, mine, their, swap) { + var myChanges = collectChange(mine), + theirChanges = collectContext(their, myChanges); + + if (theirChanges.merged) { + var _hunk$lines6; + + (_hunk$lines6 = hunk.lines).push.apply(_hunk$lines6, _toConsumableArray(theirChanges.merged)); + } else { + conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges); + } + } + + function conflict(hunk, mine, their) { + hunk.conflict = true; + hunk.lines.push({ + conflict: true, + mine: mine, + theirs: their + }); + } + + function insertLeading(hunk, insert, their) { + while (insert.offset < their.offset && insert.index < insert.lines.length) { + var line = insert.lines[insert.index++]; + hunk.lines.push(line); + insert.offset++; + } + } + + function insertTrailing(hunk, insert) { + while (insert.index < insert.lines.length) { + var line = insert.lines[insert.index++]; + hunk.lines.push(line); + } + } + + function collectChange(state) { + var ret = [], + operation = state.lines[state.index][0]; + + while (state.index < state.lines.length) { + var line = state.lines[state.index]; // Group additions that are immediately after subtractions and treat them as one "atomic" modify change. + + if (operation === '-' && line[0] === '+') { + operation = '+'; + } + + if (operation === line[0]) { + ret.push(line); + state.index++; + } else { + break; + } + } + + return ret; + } + + function collectContext(state, matchChanges) { + var changes = [], + merged = [], + matchIndex = 0, + contextChanges = false, + conflicted = false; + + while (matchIndex < matchChanges.length && state.index < state.lines.length) { + var change = state.lines[state.index], + match = matchChanges[matchIndex]; // Once we've hit our add, then we are done + + if (match[0] === '+') { + break; + } + + contextChanges = contextChanges || change[0] !== ' '; + merged.push(match); + matchIndex++; // Consume any additions in the other block as a conflict to attempt + // to pull in the remaining context after this + + if (change[0] === '+') { + conflicted = true; + + while (change[0] === '+') { + changes.push(change); + change = state.lines[++state.index]; + } + } + + if (match.substr(1) === change.substr(1)) { + changes.push(change); + state.index++; + } else { + conflicted = true; + } + } + + if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) { + conflicted = true; + } + + if (conflicted) { + return changes; + } + + while (matchIndex < matchChanges.length) { + merged.push(matchChanges[matchIndex++]); + } + + return { + merged: merged, + changes: changes + }; + } + + function allRemoves(changes) { + return changes.reduce(function (prev, change) { + return prev && change[0] === '-'; + }, true); + } + + function skipRemoveSuperset(state, removeChanges, delta) { + for (var i = 0; i < delta; i++) { + var changeContent = removeChanges[removeChanges.length - delta + i].substr(1); + + if (state.lines[state.index + i] !== ' ' + changeContent) { + return false; + } + } + + state.index += delta; + return true; + } + + function calcOldNewLineCount(lines) { + var oldLines = 0; + var newLines = 0; + lines.forEach(function (line) { + if (typeof line !== 'string') { + var myCount = calcOldNewLineCount(line.mine); + var theirCount = calcOldNewLineCount(line.theirs); + + if (oldLines !== undefined) { + if (myCount.oldLines === theirCount.oldLines) { + oldLines += myCount.oldLines; + } else { + oldLines = undefined; + } + } + + if (newLines !== undefined) { + if (myCount.newLines === theirCount.newLines) { + newLines += myCount.newLines; + } else { + newLines = undefined; + } + } + } else { + if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) { + newLines++; + } + + if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) { + oldLines++; + } + } + }); + return { + oldLines: oldLines, + newLines: newLines + }; + } // See: http://code.google.com/p/google-diff-match-patch/wiki/API + + + function convertChangesToDMP(changes) { + var ret = [], + change, + operation; + + for (var i = 0; i < changes.length; i++) { + change = changes[i]; + + if (change.added) { + operation = 1; + } else if (change.removed) { + operation = -1; + } else { + operation = 0; + } + + ret.push([operation, change.value]); + } + + return ret; + } + + function convertChangesToXML(changes) { + var ret = []; + + for (var i = 0; i < changes.length; i++) { + var change = changes[i]; + + if (change.added) { + ret.push('<ins>'); + } else if (change.removed) { + ret.push('<del>'); + } + + ret.push(escapeHTML(change.value)); + + if (change.added) { + ret.push('</ins>'); + } else if (change.removed) { + ret.push('</del>'); + } + } + + return ret.join(''); + } + + function escapeHTML(s) { + var n = s; + n = n.replace(/&/g, '&'); + n = n.replace(/</g, '<'); + n = n.replace(/>/g, '>'); + n = n.replace(/"/g, '"'); + return n; + } + + exports.Diff = Diff; + exports.applyPatch = applyPatch; + exports.applyPatches = applyPatches; + exports.canonicalize = canonicalize; + exports.convertChangesToDMP = convertChangesToDMP; + exports.convertChangesToXML = convertChangesToXML; + exports.createPatch = createPatch; + exports.createTwoFilesPatch = createTwoFilesPatch; + exports.diffArrays = diffArrays; + exports.diffChars = diffChars; + exports.diffCss = diffCss; + exports.diffJson = diffJson; + exports.diffLines = diffLines; + exports.diffSentences = diffSentences; + exports.diffTrimmedLines = diffTrimmedLines; + exports.diffWords = diffWords; + exports.diffWordsWithSpace = diffWordsWithSpace; + exports.merge = merge; + exports.parsePatch = parsePatch; + exports.structuredPatch = structuredPatch; + Object.defineProperty(exports, '__esModule', { + value: true + }); + }); }); /** @@ -15355,17 +15470,17 @@ */ var ms$1 = function ms(val, options) { - options = options || {}; + options = options || {}; - var type = _typeof(val); + var type = _typeof(val); - if (type === 'string' && val.length > 0) { - return parse$1(val); - } else if (type === 'number' && isFinite(val)) { - return options["long"] ? fmtLong$1(val) : fmtShort$1(val); - } + if (type === 'string' && val.length > 0) { + return parse$1(val); + } else if (type === 'number' && isFinite(val)) { + return options["long"] ? fmtLong$1(val) : fmtShort$1(val); + } - throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val)); + throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val)); }; /** * Parse the given `str` and return milliseconds. @@ -15377,70 +15492,70 @@ function parse$1(str) { - str = String(str); - - if (str.length > 100) { - return; - } - - var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str); - - if (!match) { - return; - } - - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y$1; - - case 'weeks': - case 'week': - case 'w': - return n * w$1; - - case 'days': - case 'day': - case 'd': - return n * d$1; - - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h$1; - - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m$1; - - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s$1; - - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - - default: - return undefined; - } + str = String(str); + + if (str.length > 100) { + return; + } + + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str); + + if (!match) { + return; + } + + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y$1; + + case 'weeks': + case 'week': + case 'w': + return n * w$1; + + case 'days': + case 'day': + case 'd': + return n * d$1; + + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h$1; + + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m$1; + + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s$1; + + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + + default: + return undefined; + } } /** * Short format for `ms`. @@ -15452,25 +15567,25 @@ function fmtShort$1(ms) { - var msAbs = Math.abs(ms); + var msAbs = Math.abs(ms); - if (msAbs >= d$1) { - return Math.round(ms / d$1) + 'd'; - } + if (msAbs >= d$1) { + return Math.round(ms / d$1) + 'd'; + } - if (msAbs >= h$1) { - return Math.round(ms / h$1) + 'h'; - } + if (msAbs >= h$1) { + return Math.round(ms / h$1) + 'h'; + } - if (msAbs >= m$1) { - return Math.round(ms / m$1) + 'm'; - } + if (msAbs >= m$1) { + return Math.round(ms / m$1) + 'm'; + } - if (msAbs >= s$1) { - return Math.round(ms / s$1) + 's'; - } + if (msAbs >= s$1) { + return Math.round(ms / s$1) + 's'; + } - return ms + 'ms'; + return ms + 'ms'; } /** * Long format for `ms`. @@ -15482,25 +15597,25 @@ function fmtLong$1(ms) { - var msAbs = Math.abs(ms); + var msAbs = Math.abs(ms); - if (msAbs >= d$1) { - return plural$1(ms, msAbs, d$1, 'day'); - } + if (msAbs >= d$1) { + return plural$1(ms, msAbs, d$1, 'day'); + } - if (msAbs >= h$1) { - return plural$1(ms, msAbs, h$1, 'hour'); - } + if (msAbs >= h$1) { + return plural$1(ms, msAbs, h$1, 'hour'); + } - if (msAbs >= m$1) { - return plural$1(ms, msAbs, m$1, 'minute'); - } + if (msAbs >= m$1) { + return plural$1(ms, msAbs, m$1, 'minute'); + } - if (msAbs >= s$1) { - return plural$1(ms, msAbs, s$1, 'second'); - } + if (msAbs >= s$1) { + return plural$1(ms, msAbs, s$1, 'second'); + } - return ms + ' ms'; + return ms + ' ms'; } /** * Pluralization helper. @@ -15508,75 +15623,75 @@ function plural$1(ms, msAbs, n, name) { - var isPlural = msAbs >= n * 1.5; - return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); } var freezing = !fails(function () { - // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing - return Object.isExtensible(Object.preventExtensions({})); + // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing + return Object.isExtensible(Object.preventExtensions({})); }); var internalMetadata = createCommonjsModule(function (module) { - var defineProperty = objectDefineProperty.f; - - - - var METADATA = uid('meta'); - var id = 0; - - // eslint-disable-next-line es/no-object-isextensible -- safe - var isExtensible = Object.isExtensible || function () { - return true; - }; - - var setMetadata = function (it) { - defineProperty(it, METADATA, { value: { - objectID: 'O' + ++id, // object ID - weakData: {} // weak collections IDs - } }); - }; - - var fastKey = function (it, create) { - // return a primitive with prefix - if (!isObject$1(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!has$1(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return 'F'; - // not necessary to add metadata - if (!create) return 'E'; - // add missing metadata - setMetadata(it); - // return object ID - } return it[METADATA].objectID; - }; - - var getWeakData = function (it, create) { - if (!has$1(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return true; - // not necessary to add metadata - if (!create) return false; - // add missing metadata - setMetadata(it); - // return the store of weak collections IDs - } return it[METADATA].weakData; - }; - - // add metadata on freeze-family methods calling - var onFreeze = function (it) { - if (freezing && meta.REQUIRED && isExtensible(it) && !has$1(it, METADATA)) setMetadata(it); - return it; - }; - - var meta = module.exports = { - REQUIRED: false, - fastKey: fastKey, - getWeakData: getWeakData, - onFreeze: onFreeze - }; - - hiddenKeys$1[METADATA] = true; + var defineProperty = objectDefineProperty.f; + + + + var METADATA = uid('meta'); + var id = 0; + + // eslint-disable-next-line es/no-object-isextensible -- safe + var isExtensible = Object.isExtensible || function () { + return true; + }; + + var setMetadata = function (it) { + defineProperty(it, METADATA, { value: { + objectID: 'O' + id++, // object ID + weakData: {} // weak collections IDs + } }); + }; + + var fastKey = function (it, create) { + // return a primitive with prefix + if (!isObject$1(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!has$1(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMetadata(it); + // return object ID + } return it[METADATA].objectID; + }; + + var getWeakData = function (it, create) { + if (!has$1(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMetadata(it); + // return the store of weak collections IDs + } return it[METADATA].weakData; + }; + + // add metadata on freeze-family methods calling + var onFreeze = function (it) { + if (freezing && meta.REQUIRED && isExtensible(it) && !has$1(it, METADATA)) setMetadata(it); + return it; + }; + + var meta = module.exports = { + REQUIRED: false, + fastKey: fastKey, + getWeakData: getWeakData, + onFreeze: onFreeze + }; + + hiddenKeys$1[METADATA] = true; }); var onFreeze = internalMetadata.onFreeze; @@ -15588,99 +15703,99 @@ // `Object.freeze` method // https://tc39.es/ecma262/#sec-object.freeze _export({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !freezing }, { - freeze: function freeze(it) { - return $freeze && isObject$1(it) ? $freeze(onFreeze(it)) : it; - } + freeze: function freeze(it) { + return $freeze && isObject$1(it) ? $freeze(onFreeze(it)) : it; + } }); var collection = function (CONSTRUCTOR_NAME, wrapper, common) { - var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; - var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; - var ADDER = IS_MAP ? 'set' : 'add'; - var NativeConstructor = global_1[CONSTRUCTOR_NAME]; - var NativePrototype = NativeConstructor && NativeConstructor.prototype; - var Constructor = NativeConstructor; - var exported = {}; - - var fixMethod = function (KEY) { - var nativeMethod = NativePrototype[KEY]; - redefine(NativePrototype, KEY, - KEY == 'add' ? function add(value) { - nativeMethod.call(this, value === 0 ? 0 : value); - return this; - } : KEY == 'delete' ? function (key) { - return IS_WEAK && !isObject$1(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); - } : KEY == 'get' ? function get(key) { - return IS_WEAK && !isObject$1(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key); - } : KEY == 'has' ? function has(key) { - return IS_WEAK && !isObject$1(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); - } : function set(key, value) { - nativeMethod.call(this, key === 0 ? 0 : key, value); - return this; - } - ); - }; - - var REPLACE = isForced_1( - CONSTRUCTOR_NAME, - typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () { - new NativeConstructor().entries().next(); - })) - ); - - if (REPLACE) { - // create collection constructor - Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); - internalMetadata.REQUIRED = true; - } else if (isForced_1(CONSTRUCTOR_NAME, true)) { - var instance = new Constructor(); - // early implementations not supports chaining - var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; - // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false - var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); - // most early implementations doesn't supports iterables, most modern - not close it correctly - // eslint-disable-next-line no-new -- required for testing - var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); - // for early implementations -0 and +0 not the same - var BUGGY_ZERO = !IS_WEAK && fails(function () { - // V8 ~ Chromium 42- fails only with 5+ elements - var $instance = new NativeConstructor(); - var index = 5; - while (index--) $instance[ADDER](index, index); - return !$instance.has(-0); - }); - - if (!ACCEPT_ITERABLES) { - Constructor = wrapper(function (dummy, iterable) { - anInstance(dummy, Constructor, CONSTRUCTOR_NAME); - var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); - if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); - return that; - }); - Constructor.prototype = NativePrototype; - NativePrototype.constructor = Constructor; - } - - if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { - fixMethod('delete'); - fixMethod('has'); - IS_MAP && fixMethod('get'); - } - - if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); - - // weak collections should not contains .clear method - if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; - } - - exported[CONSTRUCTOR_NAME] = Constructor; - _export({ global: true, forced: Constructor != NativeConstructor }, exported); - - setToStringTag(Constructor, CONSTRUCTOR_NAME); - - if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); - - return Constructor; + var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; + var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; + var ADDER = IS_MAP ? 'set' : 'add'; + var NativeConstructor = global_1[CONSTRUCTOR_NAME]; + var NativePrototype = NativeConstructor && NativeConstructor.prototype; + var Constructor = NativeConstructor; + var exported = {}; + + var fixMethod = function (KEY) { + var nativeMethod = NativePrototype[KEY]; + redefine(NativePrototype, KEY, + KEY == 'add' ? function add(value) { + nativeMethod.call(this, value === 0 ? 0 : value); + return this; + } : KEY == 'delete' ? function (key) { + return IS_WEAK && !isObject$1(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); + } : KEY == 'get' ? function get(key) { + return IS_WEAK && !isObject$1(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key); + } : KEY == 'has' ? function has(key) { + return IS_WEAK && !isObject$1(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); + } : function set(key, value) { + nativeMethod.call(this, key === 0 ? 0 : key, value); + return this; + } + ); + }; + + var REPLACE = isForced_1( + CONSTRUCTOR_NAME, + typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () { + new NativeConstructor().entries().next(); + })) + ); + + if (REPLACE) { + // create collection constructor + Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); + internalMetadata.REQUIRED = true; + } else if (isForced_1(CONSTRUCTOR_NAME, true)) { + var instance = new Constructor(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + // eslint-disable-next-line no-new -- required for testing + var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new NativeConstructor(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + + if (!ACCEPT_ITERABLES) { + Constructor = wrapper(function (dummy, iterable) { + anInstance(dummy, Constructor, CONSTRUCTOR_NAME); + var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); + if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + return that; + }); + Constructor.prototype = NativePrototype; + NativePrototype.constructor = Constructor; + } + + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + + // weak collections should not contains .clear method + if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; + } + + exported[CONSTRUCTOR_NAME] = Constructor; + _export({ global: true, forced: Constructor != NativeConstructor }, exported); + + setToStringTag(Constructor, CONSTRUCTOR_NAME); + + if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); + + return Constructor; }; var defineProperty = objectDefineProperty.f; @@ -15699,196 +15814,196 @@ var internalStateGetterFor = internalState.getterFor; var collectionStrong = { - getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, CONSTRUCTOR_NAME); - setInternalState(that, { - type: CONSTRUCTOR_NAME, - index: objectCreate(null), - first: undefined, - last: undefined, - size: 0 - }); - if (!descriptors) that.size = 0; - if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); - }); - - var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); - - var define = function (that, key, value) { - var state = getInternalState(that); - var entry = getEntry(that, key); - var previous, index; - // change existing entry - if (entry) { - entry.value = value; - // create new entry - } else { - state.last = entry = { - index: index = fastKey(key, true), - key: key, - value: value, - previous: previous = state.last, - next: undefined, - removed: false - }; - if (!state.first) state.first = entry; - if (previous) previous.next = entry; - if (descriptors) state.size++; - else that.size++; - // add to index - if (index !== 'F') state.index[index] = entry; - } return that; - }; - - var getEntry = function (that, key) { - var state = getInternalState(that); - // fast case - var index = fastKey(key); - var entry; - if (index !== 'F') return state.index[index]; - // frozen object case - for (entry = state.first; entry; entry = entry.next) { - if (entry.key == key) return entry; - } - }; - - redefineAll(C.prototype, { - // `{ Map, Set }.prototype.clear()` methods - // https://tc39.es/ecma262/#sec-map.prototype.clear - // https://tc39.es/ecma262/#sec-set.prototype.clear - clear: function clear() { - var that = this; - var state = getInternalState(that); - var data = state.index; - var entry = state.first; - while (entry) { - entry.removed = true; - if (entry.previous) entry.previous = entry.previous.next = undefined; - delete data[entry.index]; - entry = entry.next; - } - state.first = state.last = undefined; - if (descriptors) state.size = 0; - else that.size = 0; - }, - // `{ Map, Set }.prototype.delete(key)` methods - // https://tc39.es/ecma262/#sec-map.prototype.delete - // https://tc39.es/ecma262/#sec-set.prototype.delete - 'delete': function (key) { - var that = this; - var state = getInternalState(that); - var entry = getEntry(that, key); - if (entry) { - var next = entry.next; - var prev = entry.previous; - delete state.index[entry.index]; - entry.removed = true; - if (prev) prev.next = next; - if (next) next.previous = prev; - if (state.first == entry) state.first = next; - if (state.last == entry) state.last = prev; - if (descriptors) state.size--; - else that.size--; - } return !!entry; - }, - // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods - // https://tc39.es/ecma262/#sec-map.prototype.foreach - // https://tc39.es/ecma262/#sec-set.prototype.foreach - forEach: function forEach(callbackfn /* , that = undefined */) { - var state = getInternalState(this); - var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var entry; - while (entry = entry ? entry.next : state.first) { - boundFunction(entry.value, entry.key, this); - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - } - }, - // `{ Map, Set}.prototype.has(key)` methods - // https://tc39.es/ecma262/#sec-map.prototype.has - // https://tc39.es/ecma262/#sec-set.prototype.has - has: function has(key) { - return !!getEntry(this, key); - } - }); - - redefineAll(C.prototype, IS_MAP ? { - // `Map.prototype.get(key)` method - // https://tc39.es/ecma262/#sec-map.prototype.get - get: function get(key) { - var entry = getEntry(this, key); - return entry && entry.value; - }, - // `Map.prototype.set(key, value)` method - // https://tc39.es/ecma262/#sec-map.prototype.set - set: function set(key, value) { - return define(this, key === 0 ? 0 : key, value); - } - } : { - // `Set.prototype.add(value)` method - // https://tc39.es/ecma262/#sec-set.prototype.add - add: function add(value) { - return define(this, value = value === 0 ? 0 : value, value); - } - }); - if (descriptors) defineProperty(C.prototype, 'size', { - get: function () { - return getInternalState(this).size; - } - }); - return C; - }, - setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) { - var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; - var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); - var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); - // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods - // https://tc39.es/ecma262/#sec-map.prototype.entries - // https://tc39.es/ecma262/#sec-map.prototype.keys - // https://tc39.es/ecma262/#sec-map.prototype.values - // https://tc39.es/ecma262/#sec-map.prototype-@@iterator - // https://tc39.es/ecma262/#sec-set.prototype.entries - // https://tc39.es/ecma262/#sec-set.prototype.keys - // https://tc39.es/ecma262/#sec-set.prototype.values - // https://tc39.es/ecma262/#sec-set.prototype-@@iterator - defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) { - setInternalState(this, { - type: ITERATOR_NAME, - target: iterated, - state: getInternalCollectionState(iterated), - kind: kind, - last: undefined - }); - }, function () { - var state = getInternalIteratorState(this); - var kind = state.kind; - var entry = state.last; - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - // get next entry - if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { - // or finish the iteration - state.target = undefined; - return { value: undefined, done: true }; - } - // return step by kind - if (kind == 'keys') return { value: entry.key, done: false }; - if (kind == 'values') return { value: entry.value, done: false }; - return { value: [entry.key, entry.value], done: false }; - }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); - - // `{ Map, Set }.prototype[@@species]` accessors - // https://tc39.es/ecma262/#sec-get-map-@@species - // https://tc39.es/ecma262/#sec-get-set-@@species - setSpecies(CONSTRUCTOR_NAME); - } + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var C = wrapper(function (that, iterable) { + anInstance(that, C, CONSTRUCTOR_NAME); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + index: objectCreate(null), + first: undefined, + last: undefined, + size: 0 + }); + if (!descriptors) that.size = 0; + if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var entry = getEntry(that, key); + var previous, index; + // change existing entry + if (entry) { + entry.value = value; + // create new entry + } else { + state.last = entry = { + index: index = fastKey(key, true), + key: key, + value: value, + previous: previous = state.last, + next: undefined, + removed: false + }; + if (!state.first) state.first = entry; + if (previous) previous.next = entry; + if (descriptors) state.size++; + else that.size++; + // add to index + if (index !== 'F') state.index[index] = entry; + } return that; + }; + + var getEntry = function (that, key) { + var state = getInternalState(that); + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return state.index[index]; + // frozen object case + for (entry = state.first; entry; entry = entry.next) { + if (entry.key == key) return entry; + } + }; + + redefineAll(C.prototype, { + // `{ Map, Set }.prototype.clear()` methods + // https://tc39.es/ecma262/#sec-map.prototype.clear + // https://tc39.es/ecma262/#sec-set.prototype.clear + clear: function clear() { + var that = this; + var state = getInternalState(that); + var data = state.index; + var entry = state.first; + while (entry) { + entry.removed = true; + if (entry.previous) entry.previous = entry.previous.next = undefined; + delete data[entry.index]; + entry = entry.next; + } + state.first = state.last = undefined; + if (descriptors) state.size = 0; + else that.size = 0; + }, + // `{ Map, Set }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.delete + // https://tc39.es/ecma262/#sec-set.prototype.delete + 'delete': function (key) { + var that = this; + var state = getInternalState(that); + var entry = getEntry(that, key); + if (entry) { + var next = entry.next; + var prev = entry.previous; + delete state.index[entry.index]; + entry.removed = true; + if (prev) prev.next = next; + if (next) next.previous = prev; + if (state.first == entry) state.first = next; + if (state.last == entry) state.last = prev; + if (descriptors) state.size--; + else that.size--; + } return !!entry; + }, + // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods + // https://tc39.es/ecma262/#sec-map.prototype.foreach + // https://tc39.es/ecma262/#sec-set.prototype.foreach + forEach: function forEach(callbackfn /* , that = undefined */) { + var state = getInternalState(this); + var boundFunction = functionBindContext(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var entry; + while (entry = entry ? entry.next : state.first) { + boundFunction(entry.value, entry.key, this); + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + } + }, + // `{ Map, Set}.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.has + // https://tc39.es/ecma262/#sec-set.prototype.has + has: function has(key) { + return !!getEntry(this, key); + } + }); + + redefineAll(C.prototype, IS_MAP ? { + // `Map.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-map.prototype.get + get: function get(key) { + var entry = getEntry(this, key); + return entry && entry.value; + }, + // `Map.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-map.prototype.set + set: function set(key, value) { + return define(this, key === 0 ? 0 : key, value); + } + } : { + // `Set.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-set.prototype.add + add: function add(value) { + return define(this, value = value === 0 ? 0 : value, value); + } + }); + if (descriptors) defineProperty(C.prototype, 'size', { + get: function () { + return getInternalState(this).size; + } + }); + return C; + }, + setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) { + var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; + var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); + var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); + // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods + // https://tc39.es/ecma262/#sec-map.prototype.entries + // https://tc39.es/ecma262/#sec-map.prototype.keys + // https://tc39.es/ecma262/#sec-map.prototype.values + // https://tc39.es/ecma262/#sec-map.prototype-@@iterator + // https://tc39.es/ecma262/#sec-set.prototype.entries + // https://tc39.es/ecma262/#sec-set.prototype.keys + // https://tc39.es/ecma262/#sec-set.prototype.values + // https://tc39.es/ecma262/#sec-set.prototype-@@iterator + defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) { + setInternalState(this, { + type: ITERATOR_NAME, + target: iterated, + state: getInternalCollectionState(iterated), + kind: kind, + last: undefined + }); + }, function () { + var state = getInternalIteratorState(this); + var kind = state.kind; + var entry = state.last; + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + // get next entry + if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { + // or finish the iteration + state.target = undefined; + return { value: undefined, done: true }; + } + // return step by kind + if (kind == 'keys') return { value: entry.key, done: false }; + if (kind == 'values') return { value: entry.value, done: false }; + return { value: [entry.key, entry.value], done: false }; + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // `{ Map, Set }.prototype[@@species]` accessors + // https://tc39.es/ecma262/#sec-get-map-@@species + // https://tc39.es/ecma262/#sec-get-set-@@species + setSpecies(CONSTRUCTOR_NAME); + } }; // `Set` constructor // https://tc39.es/ecma262/#sec-set-objects collection('Set', function (init) { - return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; + return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; }, collectionStrong); var browser$2 = true; @@ -15898,32 +16013,32 @@ var urlAlphabet = 'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW'; var customAlphabet = function customAlphabet(alphabet, size) { - return function () { - var id = ''; // A compact alternative for `for (var i = 0; i < step; i++)`. + return function () { + var id = ''; // A compact alternative for `for (var i = 0; i < step; i++)`. - var i = size; + var i = size; - while (i--) { - // `| 0` is more compact and faster than `Math.floor()`. - id += alphabet[Math.random() * alphabet.length | 0]; - } + while (i--) { + // `| 0` is more compact and faster than `Math.floor()`. + id += alphabet[Math.random() * alphabet.length | 0]; + } - return id; - }; + return id; + }; }; var nanoid = function nanoid() { - var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 21; - var id = ''; // A compact alternative for `for (var i = 0; i < step; i++)`. + var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 21; + var id = ''; // A compact alternative for `for (var i = 0; i < step; i++)`. - var i = size; + var i = size; - while (i--) { - // `| 0` is more compact and faster than `Math.floor()`. - id += urlAlphabet[Math.random() * 64 | 0]; - } + while (i--) { + // `| 0` is more compact and faster than `Math.floor()`. + id += urlAlphabet[Math.random() * 64 | 0]; + } - return id; + return id; }; var nonSecure = /*#__PURE__*/Object.freeze({ @@ -15934,4955 +16049,4955 @@ var he = createCommonjsModule(function (module, exports) { - (function (root) { - // Detect free variables `exports`. - var freeExports = exports; // Detect free variable `module`. - - var freeModule = module && module.exports == freeExports && module; // Detect free variable `global`, from Node.js or Browserified code, - // and use it as `root`. - - var freeGlobal = _typeof(commonjsGlobal) == 'object' && commonjsGlobal; - - if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) { - root = freeGlobal; - } - /*--------------------------------------------------------------------------*/ - // All astral symbols. - - - var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; // All ASCII symbols (not just printable ASCII) except those listed in the - // first column of the overrides table. - // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides - - var regexAsciiWhitelist = /[\x01-\x7F]/g; // All BMP symbols that are not ASCII newlines, printable ASCII symbols, or - // code points listed in the first column of the overrides table on - // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides. - - var regexBmpWhitelist = /[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g; - var regexEncodeNonAscii = /<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g; - var encodeMap = { - '\xAD': 'shy', - "\u200C": 'zwnj', - "\u200D": 'zwj', - "\u200E": 'lrm', - "\u2063": 'ic', - "\u2062": 'it', - "\u2061": 'af', - "\u200F": 'rlm', - "\u200B": 'ZeroWidthSpace', - "\u2060": 'NoBreak', - "\u0311": 'DownBreve', - "\u20DB": 'tdot', - "\u20DC": 'DotDot', - '\t': 'Tab', - '\n': 'NewLine', - "\u2008": 'puncsp', - "\u205F": 'MediumSpace', - "\u2009": 'thinsp', - "\u200A": 'hairsp', - "\u2004": 'emsp13', - "\u2002": 'ensp', - "\u2005": 'emsp14', - "\u2003": 'emsp', - "\u2007": 'numsp', - '\xA0': 'nbsp', - "\u205F\u200A": 'ThickSpace', - "\u203E": 'oline', - '_': 'lowbar', - "\u2010": 'dash', - "\u2013": 'ndash', - "\u2014": 'mdash', - "\u2015": 'horbar', - ',': 'comma', - ';': 'semi', - "\u204F": 'bsemi', - ':': 'colon', - "\u2A74": 'Colone', - '!': 'excl', - '\xA1': 'iexcl', - '?': 'quest', - '\xBF': 'iquest', - '.': 'period', - "\u2025": 'nldr', - "\u2026": 'mldr', - '\xB7': 'middot', - '\'': 'apos', - "\u2018": 'lsquo', - "\u2019": 'rsquo', - "\u201A": 'sbquo', - "\u2039": 'lsaquo', - "\u203A": 'rsaquo', - '"': 'quot', - "\u201C": 'ldquo', - "\u201D": 'rdquo', - "\u201E": 'bdquo', - '\xAB': 'laquo', - '\xBB': 'raquo', - '(': 'lpar', - ')': 'rpar', - '[': 'lsqb', - ']': 'rsqb', - '{': 'lcub', - '}': 'rcub', - "\u2308": 'lceil', - "\u2309": 'rceil', - "\u230A": 'lfloor', - "\u230B": 'rfloor', - "\u2985": 'lopar', - "\u2986": 'ropar', - "\u298B": 'lbrke', - "\u298C": 'rbrke', - "\u298D": 'lbrkslu', - "\u298E": 'rbrksld', - "\u298F": 'lbrksld', - "\u2990": 'rbrkslu', - "\u2991": 'langd', - "\u2992": 'rangd', - "\u2993": 'lparlt', - "\u2994": 'rpargt', - "\u2995": 'gtlPar', - "\u2996": 'ltrPar', - "\u27E6": 'lobrk', - "\u27E7": 'robrk', - "\u27E8": 'lang', - "\u27E9": 'rang', - "\u27EA": 'Lang', - "\u27EB": 'Rang', - "\u27EC": 'loang', - "\u27ED": 'roang', - "\u2772": 'lbbrk', - "\u2773": 'rbbrk', - "\u2016": 'Vert', - '\xA7': 'sect', - '\xB6': 'para', - '@': 'commat', - '*': 'ast', - '/': 'sol', - 'undefined': null, - '&': 'amp', - '#': 'num', - '%': 'percnt', - "\u2030": 'permil', - "\u2031": 'pertenk', - "\u2020": 'dagger', - "\u2021": 'Dagger', - "\u2022": 'bull', - "\u2043": 'hybull', - "\u2032": 'prime', - "\u2033": 'Prime', - "\u2034": 'tprime', - "\u2057": 'qprime', - "\u2035": 'bprime', - "\u2041": 'caret', - '`': 'grave', - '\xB4': 'acute', - "\u02DC": 'tilde', - '^': 'Hat', - '\xAF': 'macr', - "\u02D8": 'breve', - "\u02D9": 'dot', - '\xA8': 'die', - "\u02DA": 'ring', - "\u02DD": 'dblac', - '\xB8': 'cedil', - "\u02DB": 'ogon', - "\u02C6": 'circ', - "\u02C7": 'caron', - '\xB0': 'deg', - '\xA9': 'copy', - '\xAE': 'reg', - "\u2117": 'copysr', - "\u2118": 'wp', - "\u211E": 'rx', - "\u2127": 'mho', - "\u2129": 'iiota', - "\u2190": 'larr', - "\u219A": 'nlarr', - "\u2192": 'rarr', - "\u219B": 'nrarr', - "\u2191": 'uarr', - "\u2193": 'darr', - "\u2194": 'harr', - "\u21AE": 'nharr', - "\u2195": 'varr', - "\u2196": 'nwarr', - "\u2197": 'nearr', - "\u2198": 'searr', - "\u2199": 'swarr', - "\u219D": 'rarrw', - "\u219D\u0338": 'nrarrw', - "\u219E": 'Larr', - "\u219F": 'Uarr', - "\u21A0": 'Rarr', - "\u21A1": 'Darr', - "\u21A2": 'larrtl', - "\u21A3": 'rarrtl', - "\u21A4": 'mapstoleft', - "\u21A5": 'mapstoup', - "\u21A6": 'map', - "\u21A7": 'mapstodown', - "\u21A9": 'larrhk', - "\u21AA": 'rarrhk', - "\u21AB": 'larrlp', - "\u21AC": 'rarrlp', - "\u21AD": 'harrw', - "\u21B0": 'lsh', - "\u21B1": 'rsh', - "\u21B2": 'ldsh', - "\u21B3": 'rdsh', - "\u21B5": 'crarr', - "\u21B6": 'cularr', - "\u21B7": 'curarr', - "\u21BA": 'olarr', - "\u21BB": 'orarr', - "\u21BC": 'lharu', - "\u21BD": 'lhard', - "\u21BE": 'uharr', - "\u21BF": 'uharl', - "\u21C0": 'rharu', - "\u21C1": 'rhard', - "\u21C2": 'dharr', - "\u21C3": 'dharl', - "\u21C4": 'rlarr', - "\u21C5": 'udarr', - "\u21C6": 'lrarr', - "\u21C7": 'llarr', - "\u21C8": 'uuarr', - "\u21C9": 'rrarr', - "\u21CA": 'ddarr', - "\u21CB": 'lrhar', - "\u21CC": 'rlhar', - "\u21D0": 'lArr', - "\u21CD": 'nlArr', - "\u21D1": 'uArr', - "\u21D2": 'rArr', - "\u21CF": 'nrArr', - "\u21D3": 'dArr', - "\u21D4": 'iff', - "\u21CE": 'nhArr', - "\u21D5": 'vArr', - "\u21D6": 'nwArr', - "\u21D7": 'neArr', - "\u21D8": 'seArr', - "\u21D9": 'swArr', - "\u21DA": 'lAarr', - "\u21DB": 'rAarr', - "\u21DD": 'zigrarr', - "\u21E4": 'larrb', - "\u21E5": 'rarrb', - "\u21F5": 'duarr', - "\u21FD": 'loarr', - "\u21FE": 'roarr', - "\u21FF": 'hoarr', - "\u2200": 'forall', - "\u2201": 'comp', - "\u2202": 'part', - "\u2202\u0338": 'npart', - "\u2203": 'exist', - "\u2204": 'nexist', - "\u2205": 'empty', - "\u2207": 'Del', - "\u2208": 'in', - "\u2209": 'notin', - "\u220B": 'ni', - "\u220C": 'notni', - "\u03F6": 'bepsi', - "\u220F": 'prod', - "\u2210": 'coprod', - "\u2211": 'sum', - '+': 'plus', - '\xB1': 'pm', - '\xF7': 'div', - '\xD7': 'times', - '<': 'lt', - "\u226E": 'nlt', - "<\u20D2": 'nvlt', - '=': 'equals', - "\u2260": 'ne', - "=\u20E5": 'bne', - "\u2A75": 'Equal', - '>': 'gt', - "\u226F": 'ngt', - ">\u20D2": 'nvgt', - '\xAC': 'not', - '|': 'vert', - '\xA6': 'brvbar', - "\u2212": 'minus', - "\u2213": 'mp', - "\u2214": 'plusdo', - "\u2044": 'frasl', - "\u2216": 'setmn', - "\u2217": 'lowast', - "\u2218": 'compfn', - "\u221A": 'Sqrt', - "\u221D": 'prop', - "\u221E": 'infin', - "\u221F": 'angrt', - "\u2220": 'ang', - "\u2220\u20D2": 'nang', - "\u2221": 'angmsd', - "\u2222": 'angsph', - "\u2223": 'mid', - "\u2224": 'nmid', - "\u2225": 'par', - "\u2226": 'npar', - "\u2227": 'and', - "\u2228": 'or', - "\u2229": 'cap', - "\u2229\uFE00": 'caps', - "\u222A": 'cup', - "\u222A\uFE00": 'cups', - "\u222B": 'int', - "\u222C": 'Int', - "\u222D": 'tint', - "\u2A0C": 'qint', - "\u222E": 'oint', - "\u222F": 'Conint', - "\u2230": 'Cconint', - "\u2231": 'cwint', - "\u2232": 'cwconint', - "\u2233": 'awconint', - "\u2234": 'there4', - "\u2235": 'becaus', - "\u2236": 'ratio', - "\u2237": 'Colon', - "\u2238": 'minusd', - "\u223A": 'mDDot', - "\u223B": 'homtht', - "\u223C": 'sim', - "\u2241": 'nsim', - "\u223C\u20D2": 'nvsim', - "\u223D": 'bsim', - "\u223D\u0331": 'race', - "\u223E": 'ac', - "\u223E\u0333": 'acE', - "\u223F": 'acd', - "\u2240": 'wr', - "\u2242": 'esim', - "\u2242\u0338": 'nesim', - "\u2243": 'sime', - "\u2244": 'nsime', - "\u2245": 'cong', - "\u2247": 'ncong', - "\u2246": 'simne', - "\u2248": 'ap', - "\u2249": 'nap', - "\u224A": 'ape', - "\u224B": 'apid', - "\u224B\u0338": 'napid', - "\u224C": 'bcong', - "\u224D": 'CupCap', - "\u226D": 'NotCupCap', - "\u224D\u20D2": 'nvap', - "\u224E": 'bump', - "\u224E\u0338": 'nbump', - "\u224F": 'bumpe', - "\u224F\u0338": 'nbumpe', - "\u2250": 'doteq', - "\u2250\u0338": 'nedot', - "\u2251": 'eDot', - "\u2252": 'efDot', - "\u2253": 'erDot', - "\u2254": 'colone', - "\u2255": 'ecolon', - "\u2256": 'ecir', - "\u2257": 'cire', - "\u2259": 'wedgeq', - "\u225A": 'veeeq', - "\u225C": 'trie', - "\u225F": 'equest', - "\u2261": 'equiv', - "\u2262": 'nequiv', - "\u2261\u20E5": 'bnequiv', - "\u2264": 'le', - "\u2270": 'nle', - "\u2264\u20D2": 'nvle', - "\u2265": 'ge', - "\u2271": 'nge', - "\u2265\u20D2": 'nvge', - "\u2266": 'lE', - "\u2266\u0338": 'nlE', - "\u2267": 'gE', - "\u2267\u0338": 'ngE', - "\u2268\uFE00": 'lvnE', - "\u2268": 'lnE', - "\u2269": 'gnE', - "\u2269\uFE00": 'gvnE', - "\u226A": 'll', - "\u226A\u0338": 'nLtv', - "\u226A\u20D2": 'nLt', - "\u226B": 'gg', - "\u226B\u0338": 'nGtv', - "\u226B\u20D2": 'nGt', - "\u226C": 'twixt', - "\u2272": 'lsim', - "\u2274": 'nlsim', - "\u2273": 'gsim', - "\u2275": 'ngsim', - "\u2276": 'lg', - "\u2278": 'ntlg', - "\u2277": 'gl', - "\u2279": 'ntgl', - "\u227A": 'pr', - "\u2280": 'npr', - "\u227B": 'sc', - "\u2281": 'nsc', - "\u227C": 'prcue', - "\u22E0": 'nprcue', - "\u227D": 'sccue', - "\u22E1": 'nsccue', - "\u227E": 'prsim', - "\u227F": 'scsim', - "\u227F\u0338": 'NotSucceedsTilde', - "\u2282": 'sub', - "\u2284": 'nsub', - "\u2282\u20D2": 'vnsub', - "\u2283": 'sup', - "\u2285": 'nsup', - "\u2283\u20D2": 'vnsup', - "\u2286": 'sube', - "\u2288": 'nsube', - "\u2287": 'supe', - "\u2289": 'nsupe', - "\u228A\uFE00": 'vsubne', - "\u228A": 'subne', - "\u228B\uFE00": 'vsupne', - "\u228B": 'supne', - "\u228D": 'cupdot', - "\u228E": 'uplus', - "\u228F": 'sqsub', - "\u228F\u0338": 'NotSquareSubset', - "\u2290": 'sqsup', - "\u2290\u0338": 'NotSquareSuperset', - "\u2291": 'sqsube', - "\u22E2": 'nsqsube', - "\u2292": 'sqsupe', - "\u22E3": 'nsqsupe', - "\u2293": 'sqcap', - "\u2293\uFE00": 'sqcaps', - "\u2294": 'sqcup', - "\u2294\uFE00": 'sqcups', - "\u2295": 'oplus', - "\u2296": 'ominus', - "\u2297": 'otimes', - "\u2298": 'osol', - "\u2299": 'odot', - "\u229A": 'ocir', - "\u229B": 'oast', - "\u229D": 'odash', - "\u229E": 'plusb', - "\u229F": 'minusb', - "\u22A0": 'timesb', - "\u22A1": 'sdotb', - "\u22A2": 'vdash', - "\u22AC": 'nvdash', - "\u22A3": 'dashv', - "\u22A4": 'top', - "\u22A5": 'bot', - "\u22A7": 'models', - "\u22A8": 'vDash', - "\u22AD": 'nvDash', - "\u22A9": 'Vdash', - "\u22AE": 'nVdash', - "\u22AA": 'Vvdash', - "\u22AB": 'VDash', - "\u22AF": 'nVDash', - "\u22B0": 'prurel', - "\u22B2": 'vltri', - "\u22EA": 'nltri', - "\u22B3": 'vrtri', - "\u22EB": 'nrtri', - "\u22B4": 'ltrie', - "\u22EC": 'nltrie', - "\u22B4\u20D2": 'nvltrie', - "\u22B5": 'rtrie', - "\u22ED": 'nrtrie', - "\u22B5\u20D2": 'nvrtrie', - "\u22B6": 'origof', - "\u22B7": 'imof', - "\u22B8": 'mumap', - "\u22B9": 'hercon', - "\u22BA": 'intcal', - "\u22BB": 'veebar', - "\u22BD": 'barvee', - "\u22BE": 'angrtvb', - "\u22BF": 'lrtri', - "\u22C0": 'Wedge', - "\u22C1": 'Vee', - "\u22C2": 'xcap', - "\u22C3": 'xcup', - "\u22C4": 'diam', - "\u22C5": 'sdot', - "\u22C6": 'Star', - "\u22C7": 'divonx', - "\u22C8": 'bowtie', - "\u22C9": 'ltimes', - "\u22CA": 'rtimes', - "\u22CB": 'lthree', - "\u22CC": 'rthree', - "\u22CD": 'bsime', - "\u22CE": 'cuvee', - "\u22CF": 'cuwed', - "\u22D0": 'Sub', - "\u22D1": 'Sup', - "\u22D2": 'Cap', - "\u22D3": 'Cup', - "\u22D4": 'fork', - "\u22D5": 'epar', - "\u22D6": 'ltdot', - "\u22D7": 'gtdot', - "\u22D8": 'Ll', - "\u22D8\u0338": 'nLl', - "\u22D9": 'Gg', - "\u22D9\u0338": 'nGg', - "\u22DA\uFE00": 'lesg', - "\u22DA": 'leg', - "\u22DB": 'gel', - "\u22DB\uFE00": 'gesl', - "\u22DE": 'cuepr', - "\u22DF": 'cuesc', - "\u22E6": 'lnsim', - "\u22E7": 'gnsim', - "\u22E8": 'prnsim', - "\u22E9": 'scnsim', - "\u22EE": 'vellip', - "\u22EF": 'ctdot', - "\u22F0": 'utdot', - "\u22F1": 'dtdot', - "\u22F2": 'disin', - "\u22F3": 'isinsv', - "\u22F4": 'isins', - "\u22F5": 'isindot', - "\u22F5\u0338": 'notindot', - "\u22F6": 'notinvc', - "\u22F7": 'notinvb', - "\u22F9": 'isinE', - "\u22F9\u0338": 'notinE', - "\u22FA": 'nisd', - "\u22FB": 'xnis', - "\u22FC": 'nis', - "\u22FD": 'notnivc', - "\u22FE": 'notnivb', - "\u2305": 'barwed', - "\u2306": 'Barwed', - "\u230C": 'drcrop', - "\u230D": 'dlcrop', - "\u230E": 'urcrop', - "\u230F": 'ulcrop', - "\u2310": 'bnot', - "\u2312": 'profline', - "\u2313": 'profsurf', - "\u2315": 'telrec', - "\u2316": 'target', - "\u231C": 'ulcorn', - "\u231D": 'urcorn', - "\u231E": 'dlcorn', - "\u231F": 'drcorn', - "\u2322": 'frown', - "\u2323": 'smile', - "\u232D": 'cylcty', - "\u232E": 'profalar', - "\u2336": 'topbot', - "\u233D": 'ovbar', - "\u233F": 'solbar', - "\u237C": 'angzarr', - "\u23B0": 'lmoust', - "\u23B1": 'rmoust', - "\u23B4": 'tbrk', - "\u23B5": 'bbrk', - "\u23B6": 'bbrktbrk', - "\u23DC": 'OverParenthesis', - "\u23DD": 'UnderParenthesis', - "\u23DE": 'OverBrace', - "\u23DF": 'UnderBrace', - "\u23E2": 'trpezium', - "\u23E7": 'elinters', - "\u2423": 'blank', - "\u2500": 'boxh', - "\u2502": 'boxv', - "\u250C": 'boxdr', - "\u2510": 'boxdl', - "\u2514": 'boxur', - "\u2518": 'boxul', - "\u251C": 'boxvr', - "\u2524": 'boxvl', - "\u252C": 'boxhd', - "\u2534": 'boxhu', - "\u253C": 'boxvh', - "\u2550": 'boxH', - "\u2551": 'boxV', - "\u2552": 'boxdR', - "\u2553": 'boxDr', - "\u2554": 'boxDR', - "\u2555": 'boxdL', - "\u2556": 'boxDl', - "\u2557": 'boxDL', - "\u2558": 'boxuR', - "\u2559": 'boxUr', - "\u255A": 'boxUR', - "\u255B": 'boxuL', - "\u255C": 'boxUl', - "\u255D": 'boxUL', - "\u255E": 'boxvR', - "\u255F": 'boxVr', - "\u2560": 'boxVR', - "\u2561": 'boxvL', - "\u2562": 'boxVl', - "\u2563": 'boxVL', - "\u2564": 'boxHd', - "\u2565": 'boxhD', - "\u2566": 'boxHD', - "\u2567": 'boxHu', - "\u2568": 'boxhU', - "\u2569": 'boxHU', - "\u256A": 'boxvH', - "\u256B": 'boxVh', - "\u256C": 'boxVH', - "\u2580": 'uhblk', - "\u2584": 'lhblk', - "\u2588": 'block', - "\u2591": 'blk14', - "\u2592": 'blk12', - "\u2593": 'blk34', - "\u25A1": 'squ', - "\u25AA": 'squf', - "\u25AB": 'EmptyVerySmallSquare', - "\u25AD": 'rect', - "\u25AE": 'marker', - "\u25B1": 'fltns', - "\u25B3": 'xutri', - "\u25B4": 'utrif', - "\u25B5": 'utri', - "\u25B8": 'rtrif', - "\u25B9": 'rtri', - "\u25BD": 'xdtri', - "\u25BE": 'dtrif', - "\u25BF": 'dtri', - "\u25C2": 'ltrif', - "\u25C3": 'ltri', - "\u25CA": 'loz', - "\u25CB": 'cir', - "\u25EC": 'tridot', - "\u25EF": 'xcirc', - "\u25F8": 'ultri', - "\u25F9": 'urtri', - "\u25FA": 'lltri', - "\u25FB": 'EmptySmallSquare', - "\u25FC": 'FilledSmallSquare', - "\u2605": 'starf', - "\u2606": 'star', - "\u260E": 'phone', - "\u2640": 'female', - "\u2642": 'male', - "\u2660": 'spades', - "\u2663": 'clubs', - "\u2665": 'hearts', - "\u2666": 'diams', - "\u266A": 'sung', - "\u2713": 'check', - "\u2717": 'cross', - "\u2720": 'malt', - "\u2736": 'sext', - "\u2758": 'VerticalSeparator', - "\u27C8": 'bsolhsub', - "\u27C9": 'suphsol', - "\u27F5": 'xlarr', - "\u27F6": 'xrarr', - "\u27F7": 'xharr', - "\u27F8": 'xlArr', - "\u27F9": 'xrArr', - "\u27FA": 'xhArr', - "\u27FC": 'xmap', - "\u27FF": 'dzigrarr', - "\u2902": 'nvlArr', - "\u2903": 'nvrArr', - "\u2904": 'nvHarr', - "\u2905": 'Map', - "\u290C": 'lbarr', - "\u290D": 'rbarr', - "\u290E": 'lBarr', - "\u290F": 'rBarr', - "\u2910": 'RBarr', - "\u2911": 'DDotrahd', - "\u2912": 'UpArrowBar', - "\u2913": 'DownArrowBar', - "\u2916": 'Rarrtl', - "\u2919": 'latail', - "\u291A": 'ratail', - "\u291B": 'lAtail', - "\u291C": 'rAtail', - "\u291D": 'larrfs', - "\u291E": 'rarrfs', - "\u291F": 'larrbfs', - "\u2920": 'rarrbfs', - "\u2923": 'nwarhk', - "\u2924": 'nearhk', - "\u2925": 'searhk', - "\u2926": 'swarhk', - "\u2927": 'nwnear', - "\u2928": 'toea', - "\u2929": 'tosa', - "\u292A": 'swnwar', - "\u2933": 'rarrc', - "\u2933\u0338": 'nrarrc', - "\u2935": 'cudarrr', - "\u2936": 'ldca', - "\u2937": 'rdca', - "\u2938": 'cudarrl', - "\u2939": 'larrpl', - "\u293C": 'curarrm', - "\u293D": 'cularrp', - "\u2945": 'rarrpl', - "\u2948": 'harrcir', - "\u2949": 'Uarrocir', - "\u294A": 'lurdshar', - "\u294B": 'ldrushar', - "\u294E": 'LeftRightVector', - "\u294F": 'RightUpDownVector', - "\u2950": 'DownLeftRightVector', - "\u2951": 'LeftUpDownVector', - "\u2952": 'LeftVectorBar', - "\u2953": 'RightVectorBar', - "\u2954": 'RightUpVectorBar', - "\u2955": 'RightDownVectorBar', - "\u2956": 'DownLeftVectorBar', - "\u2957": 'DownRightVectorBar', - "\u2958": 'LeftUpVectorBar', - "\u2959": 'LeftDownVectorBar', - "\u295A": 'LeftTeeVector', - "\u295B": 'RightTeeVector', - "\u295C": 'RightUpTeeVector', - "\u295D": 'RightDownTeeVector', - "\u295E": 'DownLeftTeeVector', - "\u295F": 'DownRightTeeVector', - "\u2960": 'LeftUpTeeVector', - "\u2961": 'LeftDownTeeVector', - "\u2962": 'lHar', - "\u2963": 'uHar', - "\u2964": 'rHar', - "\u2965": 'dHar', - "\u2966": 'luruhar', - "\u2967": 'ldrdhar', - "\u2968": 'ruluhar', - "\u2969": 'rdldhar', - "\u296A": 'lharul', - "\u296B": 'llhard', - "\u296C": 'rharul', - "\u296D": 'lrhard', - "\u296E": 'udhar', - "\u296F": 'duhar', - "\u2970": 'RoundImplies', - "\u2971": 'erarr', - "\u2972": 'simrarr', - "\u2973": 'larrsim', - "\u2974": 'rarrsim', - "\u2975": 'rarrap', - "\u2976": 'ltlarr', - "\u2978": 'gtrarr', - "\u2979": 'subrarr', - "\u297B": 'suplarr', - "\u297C": 'lfisht', - "\u297D": 'rfisht', - "\u297E": 'ufisht', - "\u297F": 'dfisht', - "\u299A": 'vzigzag', - "\u299C": 'vangrt', - "\u299D": 'angrtvbd', - "\u29A4": 'ange', - "\u29A5": 'range', - "\u29A6": 'dwangle', - "\u29A7": 'uwangle', - "\u29A8": 'angmsdaa', - "\u29A9": 'angmsdab', - "\u29AA": 'angmsdac', - "\u29AB": 'angmsdad', - "\u29AC": 'angmsdae', - "\u29AD": 'angmsdaf', - "\u29AE": 'angmsdag', - "\u29AF": 'angmsdah', - "\u29B0": 'bemptyv', - "\u29B1": 'demptyv', - "\u29B2": 'cemptyv', - "\u29B3": 'raemptyv', - "\u29B4": 'laemptyv', - "\u29B5": 'ohbar', - "\u29B6": 'omid', - "\u29B7": 'opar', - "\u29B9": 'operp', - "\u29BB": 'olcross', - "\u29BC": 'odsold', - "\u29BE": 'olcir', - "\u29BF": 'ofcir', - "\u29C0": 'olt', - "\u29C1": 'ogt', - "\u29C2": 'cirscir', - "\u29C3": 'cirE', - "\u29C4": 'solb', - "\u29C5": 'bsolb', - "\u29C9": 'boxbox', - "\u29CD": 'trisb', - "\u29CE": 'rtriltri', - "\u29CF": 'LeftTriangleBar', - "\u29CF\u0338": 'NotLeftTriangleBar', - "\u29D0": 'RightTriangleBar', - "\u29D0\u0338": 'NotRightTriangleBar', - "\u29DC": 'iinfin', - "\u29DD": 'infintie', - "\u29DE": 'nvinfin', - "\u29E3": 'eparsl', - "\u29E4": 'smeparsl', - "\u29E5": 'eqvparsl', - "\u29EB": 'lozf', - "\u29F4": 'RuleDelayed', - "\u29F6": 'dsol', - "\u2A00": 'xodot', - "\u2A01": 'xoplus', - "\u2A02": 'xotime', - "\u2A04": 'xuplus', - "\u2A06": 'xsqcup', - "\u2A0D": 'fpartint', - "\u2A10": 'cirfnint', - "\u2A11": 'awint', - "\u2A12": 'rppolint', - "\u2A13": 'scpolint', - "\u2A14": 'npolint', - "\u2A15": 'pointint', - "\u2A16": 'quatint', - "\u2A17": 'intlarhk', - "\u2A22": 'pluscir', - "\u2A23": 'plusacir', - "\u2A24": 'simplus', - "\u2A25": 'plusdu', - "\u2A26": 'plussim', - "\u2A27": 'plustwo', - "\u2A29": 'mcomma', - "\u2A2A": 'minusdu', - "\u2A2D": 'loplus', - "\u2A2E": 'roplus', - "\u2A2F": 'Cross', - "\u2A30": 'timesd', - "\u2A31": 'timesbar', - "\u2A33": 'smashp', - "\u2A34": 'lotimes', - "\u2A35": 'rotimes', - "\u2A36": 'otimesas', - "\u2A37": 'Otimes', - "\u2A38": 'odiv', - "\u2A39": 'triplus', - "\u2A3A": 'triminus', - "\u2A3B": 'tritime', - "\u2A3C": 'iprod', - "\u2A3F": 'amalg', - "\u2A40": 'capdot', - "\u2A42": 'ncup', - "\u2A43": 'ncap', - "\u2A44": 'capand', - "\u2A45": 'cupor', - "\u2A46": 'cupcap', - "\u2A47": 'capcup', - "\u2A48": 'cupbrcap', - "\u2A49": 'capbrcup', - "\u2A4A": 'cupcup', - "\u2A4B": 'capcap', - "\u2A4C": 'ccups', - "\u2A4D": 'ccaps', - "\u2A50": 'ccupssm', - "\u2A53": 'And', - "\u2A54": 'Or', - "\u2A55": 'andand', - "\u2A56": 'oror', - "\u2A57": 'orslope', - "\u2A58": 'andslope', - "\u2A5A": 'andv', - "\u2A5B": 'orv', - "\u2A5C": 'andd', - "\u2A5D": 'ord', - "\u2A5F": 'wedbar', - "\u2A66": 'sdote', - "\u2A6A": 'simdot', - "\u2A6D": 'congdot', - "\u2A6D\u0338": 'ncongdot', - "\u2A6E": 'easter', - "\u2A6F": 'apacir', - "\u2A70": 'apE', - "\u2A70\u0338": 'napE', - "\u2A71": 'eplus', - "\u2A72": 'pluse', - "\u2A73": 'Esim', - "\u2A77": 'eDDot', - "\u2A78": 'equivDD', - "\u2A79": 'ltcir', - "\u2A7A": 'gtcir', - "\u2A7B": 'ltquest', - "\u2A7C": 'gtquest', - "\u2A7D": 'les', - "\u2A7D\u0338": 'nles', - "\u2A7E": 'ges', - "\u2A7E\u0338": 'nges', - "\u2A7F": 'lesdot', - "\u2A80": 'gesdot', - "\u2A81": 'lesdoto', - "\u2A82": 'gesdoto', - "\u2A83": 'lesdotor', - "\u2A84": 'gesdotol', - "\u2A85": 'lap', - "\u2A86": 'gap', - "\u2A87": 'lne', - "\u2A88": 'gne', - "\u2A89": 'lnap', - "\u2A8A": 'gnap', - "\u2A8B": 'lEg', - "\u2A8C": 'gEl', - "\u2A8D": 'lsime', - "\u2A8E": 'gsime', - "\u2A8F": 'lsimg', - "\u2A90": 'gsiml', - "\u2A91": 'lgE', - "\u2A92": 'glE', - "\u2A93": 'lesges', - "\u2A94": 'gesles', - "\u2A95": 'els', - "\u2A96": 'egs', - "\u2A97": 'elsdot', - "\u2A98": 'egsdot', - "\u2A99": 'el', - "\u2A9A": 'eg', - "\u2A9D": 'siml', - "\u2A9E": 'simg', - "\u2A9F": 'simlE', - "\u2AA0": 'simgE', - "\u2AA1": 'LessLess', - "\u2AA1\u0338": 'NotNestedLessLess', - "\u2AA2": 'GreaterGreater', - "\u2AA2\u0338": 'NotNestedGreaterGreater', - "\u2AA4": 'glj', - "\u2AA5": 'gla', - "\u2AA6": 'ltcc', - "\u2AA7": 'gtcc', - "\u2AA8": 'lescc', - "\u2AA9": 'gescc', - "\u2AAA": 'smt', - "\u2AAB": 'lat', - "\u2AAC": 'smte', - "\u2AAC\uFE00": 'smtes', - "\u2AAD": 'late', - "\u2AAD\uFE00": 'lates', - "\u2AAE": 'bumpE', - "\u2AAF": 'pre', - "\u2AAF\u0338": 'npre', - "\u2AB0": 'sce', - "\u2AB0\u0338": 'nsce', - "\u2AB3": 'prE', - "\u2AB4": 'scE', - "\u2AB5": 'prnE', - "\u2AB6": 'scnE', - "\u2AB7": 'prap', - "\u2AB8": 'scap', - "\u2AB9": 'prnap', - "\u2ABA": 'scnap', - "\u2ABB": 'Pr', - "\u2ABC": 'Sc', - "\u2ABD": 'subdot', - "\u2ABE": 'supdot', - "\u2ABF": 'subplus', - "\u2AC0": 'supplus', - "\u2AC1": 'submult', - "\u2AC2": 'supmult', - "\u2AC3": 'subedot', - "\u2AC4": 'supedot', - "\u2AC5": 'subE', - "\u2AC5\u0338": 'nsubE', - "\u2AC6": 'supE', - "\u2AC6\u0338": 'nsupE', - "\u2AC7": 'subsim', - "\u2AC8": 'supsim', - "\u2ACB\uFE00": 'vsubnE', - "\u2ACB": 'subnE', - "\u2ACC\uFE00": 'vsupnE', - "\u2ACC": 'supnE', - "\u2ACF": 'csub', - "\u2AD0": 'csup', - "\u2AD1": 'csube', - "\u2AD2": 'csupe', - "\u2AD3": 'subsup', - "\u2AD4": 'supsub', - "\u2AD5": 'subsub', - "\u2AD6": 'supsup', - "\u2AD7": 'suphsub', - "\u2AD8": 'supdsub', - "\u2AD9": 'forkv', - "\u2ADA": 'topfork', - "\u2ADB": 'mlcp', - "\u2AE4": 'Dashv', - "\u2AE6": 'Vdashl', - "\u2AE7": 'Barv', - "\u2AE8": 'vBar', - "\u2AE9": 'vBarv', - "\u2AEB": 'Vbar', - "\u2AEC": 'Not', - "\u2AED": 'bNot', - "\u2AEE": 'rnmid', - "\u2AEF": 'cirmid', - "\u2AF0": 'midcir', - "\u2AF1": 'topcir', - "\u2AF2": 'nhpar', - "\u2AF3": 'parsim', - "\u2AFD": 'parsl', - "\u2AFD\u20E5": 'nparsl', - "\u266D": 'flat', - "\u266E": 'natur', - "\u266F": 'sharp', - '\xA4': 'curren', - '\xA2': 'cent', - '$': 'dollar', - '\xA3': 'pound', - '\xA5': 'yen', - "\u20AC": 'euro', - '\xB9': 'sup1', - '\xBD': 'half', - "\u2153": 'frac13', - '\xBC': 'frac14', - "\u2155": 'frac15', - "\u2159": 'frac16', - "\u215B": 'frac18', - '\xB2': 'sup2', - "\u2154": 'frac23', - "\u2156": 'frac25', - '\xB3': 'sup3', - '\xBE': 'frac34', - "\u2157": 'frac35', - "\u215C": 'frac38', - "\u2158": 'frac45', - "\u215A": 'frac56', - "\u215D": 'frac58', - "\u215E": 'frac78', - "\uD835\uDCB6": 'ascr', - "\uD835\uDD52": 'aopf', - "\uD835\uDD1E": 'afr', - "\uD835\uDD38": 'Aopf', - "\uD835\uDD04": 'Afr', - "\uD835\uDC9C": 'Ascr', - '\xAA': 'ordf', - '\xE1': 'aacute', - '\xC1': 'Aacute', - '\xE0': 'agrave', - '\xC0': 'Agrave', - "\u0103": 'abreve', - "\u0102": 'Abreve', - '\xE2': 'acirc', - '\xC2': 'Acirc', - '\xE5': 'aring', - '\xC5': 'angst', - '\xE4': 'auml', - '\xC4': 'Auml', - '\xE3': 'atilde', - '\xC3': 'Atilde', - "\u0105": 'aogon', - "\u0104": 'Aogon', - "\u0101": 'amacr', - "\u0100": 'Amacr', - '\xE6': 'aelig', - '\xC6': 'AElig', - "\uD835\uDCB7": 'bscr', - "\uD835\uDD53": 'bopf', - "\uD835\uDD1F": 'bfr', - "\uD835\uDD39": 'Bopf', - "\u212C": 'Bscr', - "\uD835\uDD05": 'Bfr', - "\uD835\uDD20": 'cfr', - "\uD835\uDCB8": 'cscr', - "\uD835\uDD54": 'copf', - "\u212D": 'Cfr', - "\uD835\uDC9E": 'Cscr', - "\u2102": 'Copf', - "\u0107": 'cacute', - "\u0106": 'Cacute', - "\u0109": 'ccirc', - "\u0108": 'Ccirc', - "\u010D": 'ccaron', - "\u010C": 'Ccaron', - "\u010B": 'cdot', - "\u010A": 'Cdot', - '\xE7': 'ccedil', - '\xC7': 'Ccedil', - "\u2105": 'incare', - "\uD835\uDD21": 'dfr', - "\u2146": 'dd', - "\uD835\uDD55": 'dopf', - "\uD835\uDCB9": 'dscr', - "\uD835\uDC9F": 'Dscr', - "\uD835\uDD07": 'Dfr', - "\u2145": 'DD', - "\uD835\uDD3B": 'Dopf', - "\u010F": 'dcaron', - "\u010E": 'Dcaron', - "\u0111": 'dstrok', - "\u0110": 'Dstrok', - '\xF0': 'eth', - '\xD0': 'ETH', - "\u2147": 'ee', - "\u212F": 'escr', - "\uD835\uDD22": 'efr', - "\uD835\uDD56": 'eopf', - "\u2130": 'Escr', - "\uD835\uDD08": 'Efr', - "\uD835\uDD3C": 'Eopf', - '\xE9': 'eacute', - '\xC9': 'Eacute', - '\xE8': 'egrave', - '\xC8': 'Egrave', - '\xEA': 'ecirc', - '\xCA': 'Ecirc', - "\u011B": 'ecaron', - "\u011A": 'Ecaron', - '\xEB': 'euml', - '\xCB': 'Euml', - "\u0117": 'edot', - "\u0116": 'Edot', - "\u0119": 'eogon', - "\u0118": 'Eogon', - "\u0113": 'emacr', - "\u0112": 'Emacr', - "\uD835\uDD23": 'ffr', - "\uD835\uDD57": 'fopf', - "\uD835\uDCBB": 'fscr', - "\uD835\uDD09": 'Ffr', - "\uD835\uDD3D": 'Fopf', - "\u2131": 'Fscr', - "\uFB00": 'fflig', - "\uFB03": 'ffilig', - "\uFB04": 'ffllig', - "\uFB01": 'filig', - 'fj': 'fjlig', - "\uFB02": 'fllig', - "\u0192": 'fnof', - "\u210A": 'gscr', - "\uD835\uDD58": 'gopf', - "\uD835\uDD24": 'gfr', - "\uD835\uDCA2": 'Gscr', - "\uD835\uDD3E": 'Gopf', - "\uD835\uDD0A": 'Gfr', - "\u01F5": 'gacute', - "\u011F": 'gbreve', - "\u011E": 'Gbreve', - "\u011D": 'gcirc', - "\u011C": 'Gcirc', - "\u0121": 'gdot', - "\u0120": 'Gdot', - "\u0122": 'Gcedil', - "\uD835\uDD25": 'hfr', - "\u210E": 'planckh', - "\uD835\uDCBD": 'hscr', - "\uD835\uDD59": 'hopf', - "\u210B": 'Hscr', - "\u210C": 'Hfr', - "\u210D": 'Hopf', - "\u0125": 'hcirc', - "\u0124": 'Hcirc', - "\u210F": 'hbar', - "\u0127": 'hstrok', - "\u0126": 'Hstrok', - "\uD835\uDD5A": 'iopf', - "\uD835\uDD26": 'ifr', - "\uD835\uDCBE": 'iscr', - "\u2148": 'ii', - "\uD835\uDD40": 'Iopf', - "\u2110": 'Iscr', - "\u2111": 'Im', - '\xED': 'iacute', - '\xCD': 'Iacute', - '\xEC': 'igrave', - '\xCC': 'Igrave', - '\xEE': 'icirc', - '\xCE': 'Icirc', - '\xEF': 'iuml', - '\xCF': 'Iuml', - "\u0129": 'itilde', - "\u0128": 'Itilde', - "\u0130": 'Idot', - "\u012F": 'iogon', - "\u012E": 'Iogon', - "\u012B": 'imacr', - "\u012A": 'Imacr', - "\u0133": 'ijlig', - "\u0132": 'IJlig', - "\u0131": 'imath', - "\uD835\uDCBF": 'jscr', - "\uD835\uDD5B": 'jopf', - "\uD835\uDD27": 'jfr', - "\uD835\uDCA5": 'Jscr', - "\uD835\uDD0D": 'Jfr', - "\uD835\uDD41": 'Jopf', - "\u0135": 'jcirc', - "\u0134": 'Jcirc', - "\u0237": 'jmath', - "\uD835\uDD5C": 'kopf', - "\uD835\uDCC0": 'kscr', - "\uD835\uDD28": 'kfr', - "\uD835\uDCA6": 'Kscr', - "\uD835\uDD42": 'Kopf', - "\uD835\uDD0E": 'Kfr', - "\u0137": 'kcedil', - "\u0136": 'Kcedil', - "\uD835\uDD29": 'lfr', - "\uD835\uDCC1": 'lscr', - "\u2113": 'ell', - "\uD835\uDD5D": 'lopf', - "\u2112": 'Lscr', - "\uD835\uDD0F": 'Lfr', - "\uD835\uDD43": 'Lopf', - "\u013A": 'lacute', - "\u0139": 'Lacute', - "\u013E": 'lcaron', - "\u013D": 'Lcaron', - "\u013C": 'lcedil', - "\u013B": 'Lcedil', - "\u0142": 'lstrok', - "\u0141": 'Lstrok', - "\u0140": 'lmidot', - "\u013F": 'Lmidot', - "\uD835\uDD2A": 'mfr', - "\uD835\uDD5E": 'mopf', - "\uD835\uDCC2": 'mscr', - "\uD835\uDD10": 'Mfr', - "\uD835\uDD44": 'Mopf', - "\u2133": 'Mscr', - "\uD835\uDD2B": 'nfr', - "\uD835\uDD5F": 'nopf', - "\uD835\uDCC3": 'nscr', - "\u2115": 'Nopf', - "\uD835\uDCA9": 'Nscr', - "\uD835\uDD11": 'Nfr', - "\u0144": 'nacute', - "\u0143": 'Nacute', - "\u0148": 'ncaron', - "\u0147": 'Ncaron', - '\xF1': 'ntilde', - '\xD1': 'Ntilde', - "\u0146": 'ncedil', - "\u0145": 'Ncedil', - "\u2116": 'numero', - "\u014B": 'eng', - "\u014A": 'ENG', - "\uD835\uDD60": 'oopf', - "\uD835\uDD2C": 'ofr', - "\u2134": 'oscr', - "\uD835\uDCAA": 'Oscr', - "\uD835\uDD12": 'Ofr', - "\uD835\uDD46": 'Oopf', - '\xBA': 'ordm', - '\xF3': 'oacute', - '\xD3': 'Oacute', - '\xF2': 'ograve', - '\xD2': 'Ograve', - '\xF4': 'ocirc', - '\xD4': 'Ocirc', - '\xF6': 'ouml', - '\xD6': 'Ouml', - "\u0151": 'odblac', - "\u0150": 'Odblac', - '\xF5': 'otilde', - '\xD5': 'Otilde', - '\xF8': 'oslash', - '\xD8': 'Oslash', - "\u014D": 'omacr', - "\u014C": 'Omacr', - "\u0153": 'oelig', - "\u0152": 'OElig', - "\uD835\uDD2D": 'pfr', - "\uD835\uDCC5": 'pscr', - "\uD835\uDD61": 'popf', - "\u2119": 'Popf', - "\uD835\uDD13": 'Pfr', - "\uD835\uDCAB": 'Pscr', - "\uD835\uDD62": 'qopf', - "\uD835\uDD2E": 'qfr', - "\uD835\uDCC6": 'qscr', - "\uD835\uDCAC": 'Qscr', - "\uD835\uDD14": 'Qfr', - "\u211A": 'Qopf', - "\u0138": 'kgreen', - "\uD835\uDD2F": 'rfr', - "\uD835\uDD63": 'ropf', - "\uD835\uDCC7": 'rscr', - "\u211B": 'Rscr', - "\u211C": 'Re', - "\u211D": 'Ropf', - "\u0155": 'racute', - "\u0154": 'Racute', - "\u0159": 'rcaron', - "\u0158": 'Rcaron', - "\u0157": 'rcedil', - "\u0156": 'Rcedil', - "\uD835\uDD64": 'sopf', - "\uD835\uDCC8": 'sscr', - "\uD835\uDD30": 'sfr', - "\uD835\uDD4A": 'Sopf', - "\uD835\uDD16": 'Sfr', - "\uD835\uDCAE": 'Sscr', - "\u24C8": 'oS', - "\u015B": 'sacute', - "\u015A": 'Sacute', - "\u015D": 'scirc', - "\u015C": 'Scirc', - "\u0161": 'scaron', - "\u0160": 'Scaron', - "\u015F": 'scedil', - "\u015E": 'Scedil', - '\xDF': 'szlig', - "\uD835\uDD31": 'tfr', - "\uD835\uDCC9": 'tscr', - "\uD835\uDD65": 'topf', - "\uD835\uDCAF": 'Tscr', - "\uD835\uDD17": 'Tfr', - "\uD835\uDD4B": 'Topf', - "\u0165": 'tcaron', - "\u0164": 'Tcaron', - "\u0163": 'tcedil', - "\u0162": 'Tcedil', - "\u2122": 'trade', - "\u0167": 'tstrok', - "\u0166": 'Tstrok', - "\uD835\uDCCA": 'uscr', - "\uD835\uDD66": 'uopf', - "\uD835\uDD32": 'ufr', - "\uD835\uDD4C": 'Uopf', - "\uD835\uDD18": 'Ufr', - "\uD835\uDCB0": 'Uscr', - '\xFA': 'uacute', - '\xDA': 'Uacute', - '\xF9': 'ugrave', - '\xD9': 'Ugrave', - "\u016D": 'ubreve', - "\u016C": 'Ubreve', - '\xFB': 'ucirc', - '\xDB': 'Ucirc', - "\u016F": 'uring', - "\u016E": 'Uring', - '\xFC': 'uuml', - '\xDC': 'Uuml', - "\u0171": 'udblac', - "\u0170": 'Udblac', - "\u0169": 'utilde', - "\u0168": 'Utilde', - "\u0173": 'uogon', - "\u0172": 'Uogon', - "\u016B": 'umacr', - "\u016A": 'Umacr', - "\uD835\uDD33": 'vfr', - "\uD835\uDD67": 'vopf', - "\uD835\uDCCB": 'vscr', - "\uD835\uDD19": 'Vfr', - "\uD835\uDD4D": 'Vopf', - "\uD835\uDCB1": 'Vscr', - "\uD835\uDD68": 'wopf', - "\uD835\uDCCC": 'wscr', - "\uD835\uDD34": 'wfr', - "\uD835\uDCB2": 'Wscr', - "\uD835\uDD4E": 'Wopf', - "\uD835\uDD1A": 'Wfr', - "\u0175": 'wcirc', - "\u0174": 'Wcirc', - "\uD835\uDD35": 'xfr', - "\uD835\uDCCD": 'xscr', - "\uD835\uDD69": 'xopf', - "\uD835\uDD4F": 'Xopf', - "\uD835\uDD1B": 'Xfr', - "\uD835\uDCB3": 'Xscr', - "\uD835\uDD36": 'yfr', - "\uD835\uDCCE": 'yscr', - "\uD835\uDD6A": 'yopf', - "\uD835\uDCB4": 'Yscr', - "\uD835\uDD1C": 'Yfr', - "\uD835\uDD50": 'Yopf', - '\xFD': 'yacute', - '\xDD': 'Yacute', - "\u0177": 'ycirc', - "\u0176": 'Ycirc', - '\xFF': 'yuml', - "\u0178": 'Yuml', - "\uD835\uDCCF": 'zscr', - "\uD835\uDD37": 'zfr', - "\uD835\uDD6B": 'zopf', - "\u2128": 'Zfr', - "\u2124": 'Zopf', - "\uD835\uDCB5": 'Zscr', - "\u017A": 'zacute', - "\u0179": 'Zacute', - "\u017E": 'zcaron', - "\u017D": 'Zcaron', - "\u017C": 'zdot', - "\u017B": 'Zdot', - "\u01B5": 'imped', - '\xFE': 'thorn', - '\xDE': 'THORN', - "\u0149": 'napos', - "\u03B1": 'alpha', - "\u0391": 'Alpha', - "\u03B2": 'beta', - "\u0392": 'Beta', - "\u03B3": 'gamma', - "\u0393": 'Gamma', - "\u03B4": 'delta', - "\u0394": 'Delta', - "\u03B5": 'epsi', - "\u03F5": 'epsiv', - "\u0395": 'Epsilon', - "\u03DD": 'gammad', - "\u03DC": 'Gammad', - "\u03B6": 'zeta', - "\u0396": 'Zeta', - "\u03B7": 'eta', - "\u0397": 'Eta', - "\u03B8": 'theta', - "\u03D1": 'thetav', - "\u0398": 'Theta', - "\u03B9": 'iota', - "\u0399": 'Iota', - "\u03BA": 'kappa', - "\u03F0": 'kappav', - "\u039A": 'Kappa', - "\u03BB": 'lambda', - "\u039B": 'Lambda', - "\u03BC": 'mu', - '\xB5': 'micro', - "\u039C": 'Mu', - "\u03BD": 'nu', - "\u039D": 'Nu', - "\u03BE": 'xi', - "\u039E": 'Xi', - "\u03BF": 'omicron', - "\u039F": 'Omicron', - "\u03C0": 'pi', - "\u03D6": 'piv', - "\u03A0": 'Pi', - "\u03C1": 'rho', - "\u03F1": 'rhov', - "\u03A1": 'Rho', - "\u03C3": 'sigma', - "\u03A3": 'Sigma', - "\u03C2": 'sigmaf', - "\u03C4": 'tau', - "\u03A4": 'Tau', - "\u03C5": 'upsi', - "\u03A5": 'Upsilon', - "\u03D2": 'Upsi', - "\u03C6": 'phi', - "\u03D5": 'phiv', - "\u03A6": 'Phi', - "\u03C7": 'chi', - "\u03A7": 'Chi', - "\u03C8": 'psi', - "\u03A8": 'Psi', - "\u03C9": 'omega', - "\u03A9": 'ohm', - "\u0430": 'acy', - "\u0410": 'Acy', - "\u0431": 'bcy', - "\u0411": 'Bcy', - "\u0432": 'vcy', - "\u0412": 'Vcy', - "\u0433": 'gcy', - "\u0413": 'Gcy', - "\u0453": 'gjcy', - "\u0403": 'GJcy', - "\u0434": 'dcy', - "\u0414": 'Dcy', - "\u0452": 'djcy', - "\u0402": 'DJcy', - "\u0435": 'iecy', - "\u0415": 'IEcy', - "\u0451": 'iocy', - "\u0401": 'IOcy', - "\u0454": 'jukcy', - "\u0404": 'Jukcy', - "\u0436": 'zhcy', - "\u0416": 'ZHcy', - "\u0437": 'zcy', - "\u0417": 'Zcy', - "\u0455": 'dscy', - "\u0405": 'DScy', - "\u0438": 'icy', - "\u0418": 'Icy', - "\u0456": 'iukcy', - "\u0406": 'Iukcy', - "\u0457": 'yicy', - "\u0407": 'YIcy', - "\u0439": 'jcy', - "\u0419": 'Jcy', - "\u0458": 'jsercy', - "\u0408": 'Jsercy', - "\u043A": 'kcy', - "\u041A": 'Kcy', - "\u045C": 'kjcy', - "\u040C": 'KJcy', - "\u043B": 'lcy', - "\u041B": 'Lcy', - "\u0459": 'ljcy', - "\u0409": 'LJcy', - "\u043C": 'mcy', - "\u041C": 'Mcy', - "\u043D": 'ncy', - "\u041D": 'Ncy', - "\u045A": 'njcy', - "\u040A": 'NJcy', - "\u043E": 'ocy', - "\u041E": 'Ocy', - "\u043F": 'pcy', - "\u041F": 'Pcy', - "\u0440": 'rcy', - "\u0420": 'Rcy', - "\u0441": 'scy', - "\u0421": 'Scy', - "\u0442": 'tcy', - "\u0422": 'Tcy', - "\u045B": 'tshcy', - "\u040B": 'TSHcy', - "\u0443": 'ucy', - "\u0423": 'Ucy', - "\u045E": 'ubrcy', - "\u040E": 'Ubrcy', - "\u0444": 'fcy', - "\u0424": 'Fcy', - "\u0445": 'khcy', - "\u0425": 'KHcy', - "\u0446": 'tscy', - "\u0426": 'TScy', - "\u0447": 'chcy', - "\u0427": 'CHcy', - "\u045F": 'dzcy', - "\u040F": 'DZcy', - "\u0448": 'shcy', - "\u0428": 'SHcy', - "\u0449": 'shchcy', - "\u0429": 'SHCHcy', - "\u044A": 'hardcy', - "\u042A": 'HARDcy', - "\u044B": 'ycy', - "\u042B": 'Ycy', - "\u044C": 'softcy', - "\u042C": 'SOFTcy', - "\u044D": 'ecy', - "\u042D": 'Ecy', - "\u044E": 'yucy', - "\u042E": 'YUcy', - "\u044F": 'yacy', - "\u042F": 'YAcy', - "\u2135": 'aleph', - "\u2136": 'beth', - "\u2137": 'gimel', - "\u2138": 'daleth' - }; - var regexEscape = /["&'<>`]/g; - var escapeMap = { - '"': '"', - '&': '&', - '\'': ''', - '<': '<', - // See https://mathiasbynens.be/notes/ambiguous-ampersands: in HTML, the - // following is not strictly necessary unless it’s part of a tag or an - // unquoted attribute value. We’re only escaping it to support those - // situations, and for XML support. - '>': '>', - // In Internet Explorer ≤ 8, the backtick character can be used - // to break out of (un)quoted attribute values or HTML comments. - // See http://html5sec.org/#102, http://html5sec.org/#108, and - // http://html5sec.org/#133. - '`': '`' - }; - var regexInvalidEntity = /&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/; - var regexInvalidRawCodePoint = /[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; - var regexDecode = /&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g; - var decodeMap = { - 'aacute': '\xE1', - 'Aacute': '\xC1', - 'abreve': "\u0103", - 'Abreve': "\u0102", - 'ac': "\u223E", - 'acd': "\u223F", - 'acE': "\u223E\u0333", - 'acirc': '\xE2', - 'Acirc': '\xC2', - 'acute': '\xB4', - 'acy': "\u0430", - 'Acy': "\u0410", - 'aelig': '\xE6', - 'AElig': '\xC6', - 'af': "\u2061", - 'afr': "\uD835\uDD1E", - 'Afr': "\uD835\uDD04", - 'agrave': '\xE0', - 'Agrave': '\xC0', - 'alefsym': "\u2135", - 'aleph': "\u2135", - 'alpha': "\u03B1", - 'Alpha': "\u0391", - 'amacr': "\u0101", - 'Amacr': "\u0100", - 'amalg': "\u2A3F", - 'amp': '&', - 'AMP': '&', - 'and': "\u2227", - 'And': "\u2A53", - 'andand': "\u2A55", - 'andd': "\u2A5C", - 'andslope': "\u2A58", - 'andv': "\u2A5A", - 'ang': "\u2220", - 'ange': "\u29A4", - 'angle': "\u2220", - 'angmsd': "\u2221", - 'angmsdaa': "\u29A8", - 'angmsdab': "\u29A9", - 'angmsdac': "\u29AA", - 'angmsdad': "\u29AB", - 'angmsdae': "\u29AC", - 'angmsdaf': "\u29AD", - 'angmsdag': "\u29AE", - 'angmsdah': "\u29AF", - 'angrt': "\u221F", - 'angrtvb': "\u22BE", - 'angrtvbd': "\u299D", - 'angsph': "\u2222", - 'angst': '\xC5', - 'angzarr': "\u237C", - 'aogon': "\u0105", - 'Aogon': "\u0104", - 'aopf': "\uD835\uDD52", - 'Aopf': "\uD835\uDD38", - 'ap': "\u2248", - 'apacir': "\u2A6F", - 'ape': "\u224A", - 'apE': "\u2A70", - 'apid': "\u224B", - 'apos': '\'', - 'ApplyFunction': "\u2061", - 'approx': "\u2248", - 'approxeq': "\u224A", - 'aring': '\xE5', - 'Aring': '\xC5', - 'ascr': "\uD835\uDCB6", - 'Ascr': "\uD835\uDC9C", - 'Assign': "\u2254", - 'ast': '*', - 'asymp': "\u2248", - 'asympeq': "\u224D", - 'atilde': '\xE3', - 'Atilde': '\xC3', - 'auml': '\xE4', - 'Auml': '\xC4', - 'awconint': "\u2233", - 'awint': "\u2A11", - 'backcong': "\u224C", - 'backepsilon': "\u03F6", - 'backprime': "\u2035", - 'backsim': "\u223D", - 'backsimeq': "\u22CD", - 'Backslash': "\u2216", - 'Barv': "\u2AE7", - 'barvee': "\u22BD", - 'barwed': "\u2305", - 'Barwed': "\u2306", - 'barwedge': "\u2305", - 'bbrk': "\u23B5", - 'bbrktbrk': "\u23B6", - 'bcong': "\u224C", - 'bcy': "\u0431", - 'Bcy': "\u0411", - 'bdquo': "\u201E", - 'becaus': "\u2235", - 'because': "\u2235", - 'Because': "\u2235", - 'bemptyv': "\u29B0", - 'bepsi': "\u03F6", - 'bernou': "\u212C", - 'Bernoullis': "\u212C", - 'beta': "\u03B2", - 'Beta': "\u0392", - 'beth': "\u2136", - 'between': "\u226C", - 'bfr': "\uD835\uDD1F", - 'Bfr': "\uD835\uDD05", - 'bigcap': "\u22C2", - 'bigcirc': "\u25EF", - 'bigcup': "\u22C3", - 'bigodot': "\u2A00", - 'bigoplus': "\u2A01", - 'bigotimes': "\u2A02", - 'bigsqcup': "\u2A06", - 'bigstar': "\u2605", - 'bigtriangledown': "\u25BD", - 'bigtriangleup': "\u25B3", - 'biguplus': "\u2A04", - 'bigvee': "\u22C1", - 'bigwedge': "\u22C0", - 'bkarow': "\u290D", - 'blacklozenge': "\u29EB", - 'blacksquare': "\u25AA", - 'blacktriangle': "\u25B4", - 'blacktriangledown': "\u25BE", - 'blacktriangleleft': "\u25C2", - 'blacktriangleright': "\u25B8", - 'blank': "\u2423", - 'blk12': "\u2592", - 'blk14': "\u2591", - 'blk34': "\u2593", - 'block': "\u2588", - 'bne': "=\u20E5", - 'bnequiv': "\u2261\u20E5", - 'bnot': "\u2310", - 'bNot': "\u2AED", - 'bopf': "\uD835\uDD53", - 'Bopf': "\uD835\uDD39", - 'bot': "\u22A5", - 'bottom': "\u22A5", - 'bowtie': "\u22C8", - 'boxbox': "\u29C9", - 'boxdl': "\u2510", - 'boxdL': "\u2555", - 'boxDl': "\u2556", - 'boxDL': "\u2557", - 'boxdr': "\u250C", - 'boxdR': "\u2552", - 'boxDr': "\u2553", - 'boxDR': "\u2554", - 'boxh': "\u2500", - 'boxH': "\u2550", - 'boxhd': "\u252C", - 'boxhD': "\u2565", - 'boxHd': "\u2564", - 'boxHD': "\u2566", - 'boxhu': "\u2534", - 'boxhU': "\u2568", - 'boxHu': "\u2567", - 'boxHU': "\u2569", - 'boxminus': "\u229F", - 'boxplus': "\u229E", - 'boxtimes': "\u22A0", - 'boxul': "\u2518", - 'boxuL': "\u255B", - 'boxUl': "\u255C", - 'boxUL': "\u255D", - 'boxur': "\u2514", - 'boxuR': "\u2558", - 'boxUr': "\u2559", - 'boxUR': "\u255A", - 'boxv': "\u2502", - 'boxV': "\u2551", - 'boxvh': "\u253C", - 'boxvH': "\u256A", - 'boxVh': "\u256B", - 'boxVH': "\u256C", - 'boxvl': "\u2524", - 'boxvL': "\u2561", - 'boxVl': "\u2562", - 'boxVL': "\u2563", - 'boxvr': "\u251C", - 'boxvR': "\u255E", - 'boxVr': "\u255F", - 'boxVR': "\u2560", - 'bprime': "\u2035", - 'breve': "\u02D8", - 'Breve': "\u02D8", - 'brvbar': '\xA6', - 'bscr': "\uD835\uDCB7", - 'Bscr': "\u212C", - 'bsemi': "\u204F", - 'bsim': "\u223D", - 'bsime': "\u22CD", - 'bsol': '\\', - 'bsolb': "\u29C5", - 'bsolhsub': "\u27C8", - 'bull': "\u2022", - 'bullet': "\u2022", - 'bump': "\u224E", - 'bumpe': "\u224F", - 'bumpE': "\u2AAE", - 'bumpeq': "\u224F", - 'Bumpeq': "\u224E", - 'cacute': "\u0107", - 'Cacute': "\u0106", - 'cap': "\u2229", - 'Cap': "\u22D2", - 'capand': "\u2A44", - 'capbrcup': "\u2A49", - 'capcap': "\u2A4B", - 'capcup': "\u2A47", - 'capdot': "\u2A40", - 'CapitalDifferentialD': "\u2145", - 'caps': "\u2229\uFE00", - 'caret': "\u2041", - 'caron': "\u02C7", - 'Cayleys': "\u212D", - 'ccaps': "\u2A4D", - 'ccaron': "\u010D", - 'Ccaron': "\u010C", - 'ccedil': '\xE7', - 'Ccedil': '\xC7', - 'ccirc': "\u0109", - 'Ccirc': "\u0108", - 'Cconint': "\u2230", - 'ccups': "\u2A4C", - 'ccupssm': "\u2A50", - 'cdot': "\u010B", - 'Cdot': "\u010A", - 'cedil': '\xB8', - 'Cedilla': '\xB8', - 'cemptyv': "\u29B2", - 'cent': '\xA2', - 'centerdot': '\xB7', - 'CenterDot': '\xB7', - 'cfr': "\uD835\uDD20", - 'Cfr': "\u212D", - 'chcy': "\u0447", - 'CHcy': "\u0427", - 'check': "\u2713", - 'checkmark': "\u2713", - 'chi': "\u03C7", - 'Chi': "\u03A7", - 'cir': "\u25CB", - 'circ': "\u02C6", - 'circeq': "\u2257", - 'circlearrowleft': "\u21BA", - 'circlearrowright': "\u21BB", - 'circledast': "\u229B", - 'circledcirc': "\u229A", - 'circleddash': "\u229D", - 'CircleDot': "\u2299", - 'circledR': '\xAE', - 'circledS': "\u24C8", - 'CircleMinus': "\u2296", - 'CirclePlus': "\u2295", - 'CircleTimes': "\u2297", - 'cire': "\u2257", - 'cirE': "\u29C3", - 'cirfnint': "\u2A10", - 'cirmid': "\u2AEF", - 'cirscir': "\u29C2", - 'ClockwiseContourIntegral': "\u2232", - 'CloseCurlyDoubleQuote': "\u201D", - 'CloseCurlyQuote': "\u2019", - 'clubs': "\u2663", - 'clubsuit': "\u2663", - 'colon': ':', - 'Colon': "\u2237", - 'colone': "\u2254", - 'Colone': "\u2A74", - 'coloneq': "\u2254", - 'comma': ',', - 'commat': '@', - 'comp': "\u2201", - 'compfn': "\u2218", - 'complement': "\u2201", - 'complexes': "\u2102", - 'cong': "\u2245", - 'congdot': "\u2A6D", - 'Congruent': "\u2261", - 'conint': "\u222E", - 'Conint': "\u222F", - 'ContourIntegral': "\u222E", - 'copf': "\uD835\uDD54", - 'Copf': "\u2102", - 'coprod': "\u2210", - 'Coproduct': "\u2210", - 'copy': '\xA9', - 'COPY': '\xA9', - 'copysr': "\u2117", - 'CounterClockwiseContourIntegral': "\u2233", - 'crarr': "\u21B5", - 'cross': "\u2717", - 'Cross': "\u2A2F", - 'cscr': "\uD835\uDCB8", - 'Cscr': "\uD835\uDC9E", - 'csub': "\u2ACF", - 'csube': "\u2AD1", - 'csup': "\u2AD0", - 'csupe': "\u2AD2", - 'ctdot': "\u22EF", - 'cudarrl': "\u2938", - 'cudarrr': "\u2935", - 'cuepr': "\u22DE", - 'cuesc': "\u22DF", - 'cularr': "\u21B6", - 'cularrp': "\u293D", - 'cup': "\u222A", - 'Cup': "\u22D3", - 'cupbrcap': "\u2A48", - 'cupcap': "\u2A46", - 'CupCap': "\u224D", - 'cupcup': "\u2A4A", - 'cupdot': "\u228D", - 'cupor': "\u2A45", - 'cups': "\u222A\uFE00", - 'curarr': "\u21B7", - 'curarrm': "\u293C", - 'curlyeqprec': "\u22DE", - 'curlyeqsucc': "\u22DF", - 'curlyvee': "\u22CE", - 'curlywedge': "\u22CF", - 'curren': '\xA4', - 'curvearrowleft': "\u21B6", - 'curvearrowright': "\u21B7", - 'cuvee': "\u22CE", - 'cuwed': "\u22CF", - 'cwconint': "\u2232", - 'cwint': "\u2231", - 'cylcty': "\u232D", - 'dagger': "\u2020", - 'Dagger': "\u2021", - 'daleth': "\u2138", - 'darr': "\u2193", - 'dArr': "\u21D3", - 'Darr': "\u21A1", - 'dash': "\u2010", - 'dashv': "\u22A3", - 'Dashv': "\u2AE4", - 'dbkarow': "\u290F", - 'dblac': "\u02DD", - 'dcaron': "\u010F", - 'Dcaron': "\u010E", - 'dcy': "\u0434", - 'Dcy': "\u0414", - 'dd': "\u2146", - 'DD': "\u2145", - 'ddagger': "\u2021", - 'ddarr': "\u21CA", - 'DDotrahd': "\u2911", - 'ddotseq': "\u2A77", - 'deg': '\xB0', - 'Del': "\u2207", - 'delta': "\u03B4", - 'Delta': "\u0394", - 'demptyv': "\u29B1", - 'dfisht': "\u297F", - 'dfr': "\uD835\uDD21", - 'Dfr': "\uD835\uDD07", - 'dHar': "\u2965", - 'dharl': "\u21C3", - 'dharr': "\u21C2", - 'DiacriticalAcute': '\xB4', - 'DiacriticalDot': "\u02D9", - 'DiacriticalDoubleAcute': "\u02DD", - 'DiacriticalGrave': '`', - 'DiacriticalTilde': "\u02DC", - 'diam': "\u22C4", - 'diamond': "\u22C4", - 'Diamond': "\u22C4", - 'diamondsuit': "\u2666", - 'diams': "\u2666", - 'die': '\xA8', - 'DifferentialD': "\u2146", - 'digamma': "\u03DD", - 'disin': "\u22F2", - 'div': '\xF7', - 'divide': '\xF7', - 'divideontimes': "\u22C7", - 'divonx': "\u22C7", - 'djcy': "\u0452", - 'DJcy': "\u0402", - 'dlcorn': "\u231E", - 'dlcrop': "\u230D", - 'dollar': '$', - 'dopf': "\uD835\uDD55", - 'Dopf': "\uD835\uDD3B", - 'dot': "\u02D9", - 'Dot': '\xA8', - 'DotDot': "\u20DC", - 'doteq': "\u2250", - 'doteqdot': "\u2251", - 'DotEqual': "\u2250", - 'dotminus': "\u2238", - 'dotplus': "\u2214", - 'dotsquare': "\u22A1", - 'doublebarwedge': "\u2306", - 'DoubleContourIntegral': "\u222F", - 'DoubleDot': '\xA8', - 'DoubleDownArrow': "\u21D3", - 'DoubleLeftArrow': "\u21D0", - 'DoubleLeftRightArrow': "\u21D4", - 'DoubleLeftTee': "\u2AE4", - 'DoubleLongLeftArrow': "\u27F8", - 'DoubleLongLeftRightArrow': "\u27FA", - 'DoubleLongRightArrow': "\u27F9", - 'DoubleRightArrow': "\u21D2", - 'DoubleRightTee': "\u22A8", - 'DoubleUpArrow': "\u21D1", - 'DoubleUpDownArrow': "\u21D5", - 'DoubleVerticalBar': "\u2225", - 'downarrow': "\u2193", - 'Downarrow': "\u21D3", - 'DownArrow': "\u2193", - 'DownArrowBar': "\u2913", - 'DownArrowUpArrow': "\u21F5", - 'DownBreve': "\u0311", - 'downdownarrows': "\u21CA", - 'downharpoonleft': "\u21C3", - 'downharpoonright': "\u21C2", - 'DownLeftRightVector': "\u2950", - 'DownLeftTeeVector': "\u295E", - 'DownLeftVector': "\u21BD", - 'DownLeftVectorBar': "\u2956", - 'DownRightTeeVector': "\u295F", - 'DownRightVector': "\u21C1", - 'DownRightVectorBar': "\u2957", - 'DownTee': "\u22A4", - 'DownTeeArrow': "\u21A7", - 'drbkarow': "\u2910", - 'drcorn': "\u231F", - 'drcrop': "\u230C", - 'dscr': "\uD835\uDCB9", - 'Dscr': "\uD835\uDC9F", - 'dscy': "\u0455", - 'DScy': "\u0405", - 'dsol': "\u29F6", - 'dstrok': "\u0111", - 'Dstrok': "\u0110", - 'dtdot': "\u22F1", - 'dtri': "\u25BF", - 'dtrif': "\u25BE", - 'duarr': "\u21F5", - 'duhar': "\u296F", - 'dwangle': "\u29A6", - 'dzcy': "\u045F", - 'DZcy': "\u040F", - 'dzigrarr': "\u27FF", - 'eacute': '\xE9', - 'Eacute': '\xC9', - 'easter': "\u2A6E", - 'ecaron': "\u011B", - 'Ecaron': "\u011A", - 'ecir': "\u2256", - 'ecirc': '\xEA', - 'Ecirc': '\xCA', - 'ecolon': "\u2255", - 'ecy': "\u044D", - 'Ecy': "\u042D", - 'eDDot': "\u2A77", - 'edot': "\u0117", - 'eDot': "\u2251", - 'Edot': "\u0116", - 'ee': "\u2147", - 'efDot': "\u2252", - 'efr': "\uD835\uDD22", - 'Efr': "\uD835\uDD08", - 'eg': "\u2A9A", - 'egrave': '\xE8', - 'Egrave': '\xC8', - 'egs': "\u2A96", - 'egsdot': "\u2A98", - 'el': "\u2A99", - 'Element': "\u2208", - 'elinters': "\u23E7", - 'ell': "\u2113", - 'els': "\u2A95", - 'elsdot': "\u2A97", - 'emacr': "\u0113", - 'Emacr': "\u0112", - 'empty': "\u2205", - 'emptyset': "\u2205", - 'EmptySmallSquare': "\u25FB", - 'emptyv': "\u2205", - 'EmptyVerySmallSquare': "\u25AB", - 'emsp': "\u2003", - 'emsp13': "\u2004", - 'emsp14': "\u2005", - 'eng': "\u014B", - 'ENG': "\u014A", - 'ensp': "\u2002", - 'eogon': "\u0119", - 'Eogon': "\u0118", - 'eopf': "\uD835\uDD56", - 'Eopf': "\uD835\uDD3C", - 'epar': "\u22D5", - 'eparsl': "\u29E3", - 'eplus': "\u2A71", - 'epsi': "\u03B5", - 'epsilon': "\u03B5", - 'Epsilon': "\u0395", - 'epsiv': "\u03F5", - 'eqcirc': "\u2256", - 'eqcolon': "\u2255", - 'eqsim': "\u2242", - 'eqslantgtr': "\u2A96", - 'eqslantless': "\u2A95", - 'Equal': "\u2A75", - 'equals': '=', - 'EqualTilde': "\u2242", - 'equest': "\u225F", - 'Equilibrium': "\u21CC", - 'equiv': "\u2261", - 'equivDD': "\u2A78", - 'eqvparsl': "\u29E5", - 'erarr': "\u2971", - 'erDot': "\u2253", - 'escr': "\u212F", - 'Escr': "\u2130", - 'esdot': "\u2250", - 'esim': "\u2242", - 'Esim': "\u2A73", - 'eta': "\u03B7", - 'Eta': "\u0397", - 'eth': '\xF0', - 'ETH': '\xD0', - 'euml': '\xEB', - 'Euml': '\xCB', - 'euro': "\u20AC", - 'excl': '!', - 'exist': "\u2203", - 'Exists': "\u2203", - 'expectation': "\u2130", - 'exponentiale': "\u2147", - 'ExponentialE': "\u2147", - 'fallingdotseq': "\u2252", - 'fcy': "\u0444", - 'Fcy': "\u0424", - 'female': "\u2640", - 'ffilig': "\uFB03", - 'fflig': "\uFB00", - 'ffllig': "\uFB04", - 'ffr': "\uD835\uDD23", - 'Ffr': "\uD835\uDD09", - 'filig': "\uFB01", - 'FilledSmallSquare': "\u25FC", - 'FilledVerySmallSquare': "\u25AA", - 'fjlig': 'fj', - 'flat': "\u266D", - 'fllig': "\uFB02", - 'fltns': "\u25B1", - 'fnof': "\u0192", - 'fopf': "\uD835\uDD57", - 'Fopf': "\uD835\uDD3D", - 'forall': "\u2200", - 'ForAll': "\u2200", - 'fork': "\u22D4", - 'forkv': "\u2AD9", - 'Fouriertrf': "\u2131", - 'fpartint': "\u2A0D", - 'frac12': '\xBD', - 'frac13': "\u2153", - 'frac14': '\xBC', - 'frac15': "\u2155", - 'frac16': "\u2159", - 'frac18': "\u215B", - 'frac23': "\u2154", - 'frac25': "\u2156", - 'frac34': '\xBE', - 'frac35': "\u2157", - 'frac38': "\u215C", - 'frac45': "\u2158", - 'frac56': "\u215A", - 'frac58': "\u215D", - 'frac78': "\u215E", - 'frasl': "\u2044", - 'frown': "\u2322", - 'fscr': "\uD835\uDCBB", - 'Fscr': "\u2131", - 'gacute': "\u01F5", - 'gamma': "\u03B3", - 'Gamma': "\u0393", - 'gammad': "\u03DD", - 'Gammad': "\u03DC", - 'gap': "\u2A86", - 'gbreve': "\u011F", - 'Gbreve': "\u011E", - 'Gcedil': "\u0122", - 'gcirc': "\u011D", - 'Gcirc': "\u011C", - 'gcy': "\u0433", - 'Gcy': "\u0413", - 'gdot': "\u0121", - 'Gdot': "\u0120", - 'ge': "\u2265", - 'gE': "\u2267", - 'gel': "\u22DB", - 'gEl': "\u2A8C", - 'geq': "\u2265", - 'geqq': "\u2267", - 'geqslant': "\u2A7E", - 'ges': "\u2A7E", - 'gescc': "\u2AA9", - 'gesdot': "\u2A80", - 'gesdoto': "\u2A82", - 'gesdotol': "\u2A84", - 'gesl': "\u22DB\uFE00", - 'gesles': "\u2A94", - 'gfr': "\uD835\uDD24", - 'Gfr': "\uD835\uDD0A", - 'gg': "\u226B", - 'Gg': "\u22D9", - 'ggg': "\u22D9", - 'gimel': "\u2137", - 'gjcy': "\u0453", - 'GJcy': "\u0403", - 'gl': "\u2277", - 'gla': "\u2AA5", - 'glE': "\u2A92", - 'glj': "\u2AA4", - 'gnap': "\u2A8A", - 'gnapprox': "\u2A8A", - 'gne': "\u2A88", - 'gnE': "\u2269", - 'gneq': "\u2A88", - 'gneqq': "\u2269", - 'gnsim': "\u22E7", - 'gopf': "\uD835\uDD58", - 'Gopf': "\uD835\uDD3E", - 'grave': '`', - 'GreaterEqual': "\u2265", - 'GreaterEqualLess': "\u22DB", - 'GreaterFullEqual': "\u2267", - 'GreaterGreater': "\u2AA2", - 'GreaterLess': "\u2277", - 'GreaterSlantEqual': "\u2A7E", - 'GreaterTilde': "\u2273", - 'gscr': "\u210A", - 'Gscr': "\uD835\uDCA2", - 'gsim': "\u2273", - 'gsime': "\u2A8E", - 'gsiml': "\u2A90", - 'gt': '>', - 'Gt': "\u226B", - 'GT': '>', - 'gtcc': "\u2AA7", - 'gtcir': "\u2A7A", - 'gtdot': "\u22D7", - 'gtlPar': "\u2995", - 'gtquest': "\u2A7C", - 'gtrapprox': "\u2A86", - 'gtrarr': "\u2978", - 'gtrdot': "\u22D7", - 'gtreqless': "\u22DB", - 'gtreqqless': "\u2A8C", - 'gtrless': "\u2277", - 'gtrsim': "\u2273", - 'gvertneqq': "\u2269\uFE00", - 'gvnE': "\u2269\uFE00", - 'Hacek': "\u02C7", - 'hairsp': "\u200A", - 'half': '\xBD', - 'hamilt': "\u210B", - 'hardcy': "\u044A", - 'HARDcy': "\u042A", - 'harr': "\u2194", - 'hArr': "\u21D4", - 'harrcir': "\u2948", - 'harrw': "\u21AD", - 'Hat': '^', - 'hbar': "\u210F", - 'hcirc': "\u0125", - 'Hcirc': "\u0124", - 'hearts': "\u2665", - 'heartsuit': "\u2665", - 'hellip': "\u2026", - 'hercon': "\u22B9", - 'hfr': "\uD835\uDD25", - 'Hfr': "\u210C", - 'HilbertSpace': "\u210B", - 'hksearow': "\u2925", - 'hkswarow': "\u2926", - 'hoarr': "\u21FF", - 'homtht': "\u223B", - 'hookleftarrow': "\u21A9", - 'hookrightarrow': "\u21AA", - 'hopf': "\uD835\uDD59", - 'Hopf': "\u210D", - 'horbar': "\u2015", - 'HorizontalLine': "\u2500", - 'hscr': "\uD835\uDCBD", - 'Hscr': "\u210B", - 'hslash': "\u210F", - 'hstrok': "\u0127", - 'Hstrok': "\u0126", - 'HumpDownHump': "\u224E", - 'HumpEqual': "\u224F", - 'hybull': "\u2043", - 'hyphen': "\u2010", - 'iacute': '\xED', - 'Iacute': '\xCD', - 'ic': "\u2063", - 'icirc': '\xEE', - 'Icirc': '\xCE', - 'icy': "\u0438", - 'Icy': "\u0418", - 'Idot': "\u0130", - 'iecy': "\u0435", - 'IEcy': "\u0415", - 'iexcl': '\xA1', - 'iff': "\u21D4", - 'ifr': "\uD835\uDD26", - 'Ifr': "\u2111", - 'igrave': '\xEC', - 'Igrave': '\xCC', - 'ii': "\u2148", - 'iiiint': "\u2A0C", - 'iiint': "\u222D", - 'iinfin': "\u29DC", - 'iiota': "\u2129", - 'ijlig': "\u0133", - 'IJlig': "\u0132", - 'Im': "\u2111", - 'imacr': "\u012B", - 'Imacr': "\u012A", - 'image': "\u2111", - 'ImaginaryI': "\u2148", - 'imagline': "\u2110", - 'imagpart': "\u2111", - 'imath': "\u0131", - 'imof': "\u22B7", - 'imped': "\u01B5", - 'Implies': "\u21D2", - 'in': "\u2208", - 'incare': "\u2105", - 'infin': "\u221E", - 'infintie': "\u29DD", - 'inodot': "\u0131", - 'int': "\u222B", - 'Int': "\u222C", - 'intcal': "\u22BA", - 'integers': "\u2124", - 'Integral': "\u222B", - 'intercal': "\u22BA", - 'Intersection': "\u22C2", - 'intlarhk': "\u2A17", - 'intprod': "\u2A3C", - 'InvisibleComma': "\u2063", - 'InvisibleTimes': "\u2062", - 'iocy': "\u0451", - 'IOcy': "\u0401", - 'iogon': "\u012F", - 'Iogon': "\u012E", - 'iopf': "\uD835\uDD5A", - 'Iopf': "\uD835\uDD40", - 'iota': "\u03B9", - 'Iota': "\u0399", - 'iprod': "\u2A3C", - 'iquest': '\xBF', - 'iscr': "\uD835\uDCBE", - 'Iscr': "\u2110", - 'isin': "\u2208", - 'isindot': "\u22F5", - 'isinE': "\u22F9", - 'isins': "\u22F4", - 'isinsv': "\u22F3", - 'isinv': "\u2208", - 'it': "\u2062", - 'itilde': "\u0129", - 'Itilde': "\u0128", - 'iukcy': "\u0456", - 'Iukcy': "\u0406", - 'iuml': '\xEF', - 'Iuml': '\xCF', - 'jcirc': "\u0135", - 'Jcirc': "\u0134", - 'jcy': "\u0439", - 'Jcy': "\u0419", - 'jfr': "\uD835\uDD27", - 'Jfr': "\uD835\uDD0D", - 'jmath': "\u0237", - 'jopf': "\uD835\uDD5B", - 'Jopf': "\uD835\uDD41", - 'jscr': "\uD835\uDCBF", - 'Jscr': "\uD835\uDCA5", - 'jsercy': "\u0458", - 'Jsercy': "\u0408", - 'jukcy': "\u0454", - 'Jukcy': "\u0404", - 'kappa': "\u03BA", - 'Kappa': "\u039A", - 'kappav': "\u03F0", - 'kcedil': "\u0137", - 'Kcedil': "\u0136", - 'kcy': "\u043A", - 'Kcy': "\u041A", - 'kfr': "\uD835\uDD28", - 'Kfr': "\uD835\uDD0E", - 'kgreen': "\u0138", - 'khcy': "\u0445", - 'KHcy': "\u0425", - 'kjcy': "\u045C", - 'KJcy': "\u040C", - 'kopf': "\uD835\uDD5C", - 'Kopf': "\uD835\uDD42", - 'kscr': "\uD835\uDCC0", - 'Kscr': "\uD835\uDCA6", - 'lAarr': "\u21DA", - 'lacute': "\u013A", - 'Lacute': "\u0139", - 'laemptyv': "\u29B4", - 'lagran': "\u2112", - 'lambda': "\u03BB", - 'Lambda': "\u039B", - 'lang': "\u27E8", - 'Lang': "\u27EA", - 'langd': "\u2991", - 'langle': "\u27E8", - 'lap': "\u2A85", - 'Laplacetrf': "\u2112", - 'laquo': '\xAB', - 'larr': "\u2190", - 'lArr': "\u21D0", - 'Larr': "\u219E", - 'larrb': "\u21E4", - 'larrbfs': "\u291F", - 'larrfs': "\u291D", - 'larrhk': "\u21A9", - 'larrlp': "\u21AB", - 'larrpl': "\u2939", - 'larrsim': "\u2973", - 'larrtl': "\u21A2", - 'lat': "\u2AAB", - 'latail': "\u2919", - 'lAtail': "\u291B", - 'late': "\u2AAD", - 'lates': "\u2AAD\uFE00", - 'lbarr': "\u290C", - 'lBarr': "\u290E", - 'lbbrk': "\u2772", - 'lbrace': '{', - 'lbrack': '[', - 'lbrke': "\u298B", - 'lbrksld': "\u298F", - 'lbrkslu': "\u298D", - 'lcaron': "\u013E", - 'Lcaron': "\u013D", - 'lcedil': "\u013C", - 'Lcedil': "\u013B", - 'lceil': "\u2308", - 'lcub': '{', - 'lcy': "\u043B", - 'Lcy': "\u041B", - 'ldca': "\u2936", - 'ldquo': "\u201C", - 'ldquor': "\u201E", - 'ldrdhar': "\u2967", - 'ldrushar': "\u294B", - 'ldsh': "\u21B2", - 'le': "\u2264", - 'lE': "\u2266", - 'LeftAngleBracket': "\u27E8", - 'leftarrow': "\u2190", - 'Leftarrow': "\u21D0", - 'LeftArrow': "\u2190", - 'LeftArrowBar': "\u21E4", - 'LeftArrowRightArrow': "\u21C6", - 'leftarrowtail': "\u21A2", - 'LeftCeiling': "\u2308", - 'LeftDoubleBracket': "\u27E6", - 'LeftDownTeeVector': "\u2961", - 'LeftDownVector': "\u21C3", - 'LeftDownVectorBar': "\u2959", - 'LeftFloor': "\u230A", - 'leftharpoondown': "\u21BD", - 'leftharpoonup': "\u21BC", - 'leftleftarrows': "\u21C7", - 'leftrightarrow': "\u2194", - 'Leftrightarrow': "\u21D4", - 'LeftRightArrow': "\u2194", - 'leftrightarrows': "\u21C6", - 'leftrightharpoons': "\u21CB", - 'leftrightsquigarrow': "\u21AD", - 'LeftRightVector': "\u294E", - 'LeftTee': "\u22A3", - 'LeftTeeArrow': "\u21A4", - 'LeftTeeVector': "\u295A", - 'leftthreetimes': "\u22CB", - 'LeftTriangle': "\u22B2", - 'LeftTriangleBar': "\u29CF", - 'LeftTriangleEqual': "\u22B4", - 'LeftUpDownVector': "\u2951", - 'LeftUpTeeVector': "\u2960", - 'LeftUpVector': "\u21BF", - 'LeftUpVectorBar': "\u2958", - 'LeftVector': "\u21BC", - 'LeftVectorBar': "\u2952", - 'leg': "\u22DA", - 'lEg': "\u2A8B", - 'leq': "\u2264", - 'leqq': "\u2266", - 'leqslant': "\u2A7D", - 'les': "\u2A7D", - 'lescc': "\u2AA8", - 'lesdot': "\u2A7F", - 'lesdoto': "\u2A81", - 'lesdotor': "\u2A83", - 'lesg': "\u22DA\uFE00", - 'lesges': "\u2A93", - 'lessapprox': "\u2A85", - 'lessdot': "\u22D6", - 'lesseqgtr': "\u22DA", - 'lesseqqgtr': "\u2A8B", - 'LessEqualGreater': "\u22DA", - 'LessFullEqual': "\u2266", - 'LessGreater': "\u2276", - 'lessgtr': "\u2276", - 'LessLess': "\u2AA1", - 'lesssim': "\u2272", - 'LessSlantEqual': "\u2A7D", - 'LessTilde': "\u2272", - 'lfisht': "\u297C", - 'lfloor': "\u230A", - 'lfr': "\uD835\uDD29", - 'Lfr': "\uD835\uDD0F", - 'lg': "\u2276", - 'lgE': "\u2A91", - 'lHar': "\u2962", - 'lhard': "\u21BD", - 'lharu': "\u21BC", - 'lharul': "\u296A", - 'lhblk': "\u2584", - 'ljcy': "\u0459", - 'LJcy': "\u0409", - 'll': "\u226A", - 'Ll': "\u22D8", - 'llarr': "\u21C7", - 'llcorner': "\u231E", - 'Lleftarrow': "\u21DA", - 'llhard': "\u296B", - 'lltri': "\u25FA", - 'lmidot': "\u0140", - 'Lmidot': "\u013F", - 'lmoust': "\u23B0", - 'lmoustache': "\u23B0", - 'lnap': "\u2A89", - 'lnapprox': "\u2A89", - 'lne': "\u2A87", - 'lnE': "\u2268", - 'lneq': "\u2A87", - 'lneqq': "\u2268", - 'lnsim': "\u22E6", - 'loang': "\u27EC", - 'loarr': "\u21FD", - 'lobrk': "\u27E6", - 'longleftarrow': "\u27F5", - 'Longleftarrow': "\u27F8", - 'LongLeftArrow': "\u27F5", - 'longleftrightarrow': "\u27F7", - 'Longleftrightarrow': "\u27FA", - 'LongLeftRightArrow': "\u27F7", - 'longmapsto': "\u27FC", - 'longrightarrow': "\u27F6", - 'Longrightarrow': "\u27F9", - 'LongRightArrow': "\u27F6", - 'looparrowleft': "\u21AB", - 'looparrowright': "\u21AC", - 'lopar': "\u2985", - 'lopf': "\uD835\uDD5D", - 'Lopf': "\uD835\uDD43", - 'loplus': "\u2A2D", - 'lotimes': "\u2A34", - 'lowast': "\u2217", - 'lowbar': '_', - 'LowerLeftArrow': "\u2199", - 'LowerRightArrow': "\u2198", - 'loz': "\u25CA", - 'lozenge': "\u25CA", - 'lozf': "\u29EB", - 'lpar': '(', - 'lparlt': "\u2993", - 'lrarr': "\u21C6", - 'lrcorner': "\u231F", - 'lrhar': "\u21CB", - 'lrhard': "\u296D", - 'lrm': "\u200E", - 'lrtri': "\u22BF", - 'lsaquo': "\u2039", - 'lscr': "\uD835\uDCC1", - 'Lscr': "\u2112", - 'lsh': "\u21B0", - 'Lsh': "\u21B0", - 'lsim': "\u2272", - 'lsime': "\u2A8D", - 'lsimg': "\u2A8F", - 'lsqb': '[', - 'lsquo': "\u2018", - 'lsquor': "\u201A", - 'lstrok': "\u0142", - 'Lstrok': "\u0141", - 'lt': '<', - 'Lt': "\u226A", - 'LT': '<', - 'ltcc': "\u2AA6", - 'ltcir': "\u2A79", - 'ltdot': "\u22D6", - 'lthree': "\u22CB", - 'ltimes': "\u22C9", - 'ltlarr': "\u2976", - 'ltquest': "\u2A7B", - 'ltri': "\u25C3", - 'ltrie': "\u22B4", - 'ltrif': "\u25C2", - 'ltrPar': "\u2996", - 'lurdshar': "\u294A", - 'luruhar': "\u2966", - 'lvertneqq': "\u2268\uFE00", - 'lvnE': "\u2268\uFE00", - 'macr': '\xAF', - 'male': "\u2642", - 'malt': "\u2720", - 'maltese': "\u2720", - 'map': "\u21A6", - 'Map': "\u2905", - 'mapsto': "\u21A6", - 'mapstodown': "\u21A7", - 'mapstoleft': "\u21A4", - 'mapstoup': "\u21A5", - 'marker': "\u25AE", - 'mcomma': "\u2A29", - 'mcy': "\u043C", - 'Mcy': "\u041C", - 'mdash': "\u2014", - 'mDDot': "\u223A", - 'measuredangle': "\u2221", - 'MediumSpace': "\u205F", - 'Mellintrf': "\u2133", - 'mfr': "\uD835\uDD2A", - 'Mfr': "\uD835\uDD10", - 'mho': "\u2127", - 'micro': '\xB5', - 'mid': "\u2223", - 'midast': '*', - 'midcir': "\u2AF0", - 'middot': '\xB7', - 'minus': "\u2212", - 'minusb': "\u229F", - 'minusd': "\u2238", - 'minusdu': "\u2A2A", - 'MinusPlus': "\u2213", - 'mlcp': "\u2ADB", - 'mldr': "\u2026", - 'mnplus': "\u2213", - 'models': "\u22A7", - 'mopf': "\uD835\uDD5E", - 'Mopf': "\uD835\uDD44", - 'mp': "\u2213", - 'mscr': "\uD835\uDCC2", - 'Mscr': "\u2133", - 'mstpos': "\u223E", - 'mu': "\u03BC", - 'Mu': "\u039C", - 'multimap': "\u22B8", - 'mumap': "\u22B8", - 'nabla': "\u2207", - 'nacute': "\u0144", - 'Nacute': "\u0143", - 'nang': "\u2220\u20D2", - 'nap': "\u2249", - 'napE': "\u2A70\u0338", - 'napid': "\u224B\u0338", - 'napos': "\u0149", - 'napprox': "\u2249", - 'natur': "\u266E", - 'natural': "\u266E", - 'naturals': "\u2115", - 'nbsp': '\xA0', - 'nbump': "\u224E\u0338", - 'nbumpe': "\u224F\u0338", - 'ncap': "\u2A43", - 'ncaron': "\u0148", - 'Ncaron': "\u0147", - 'ncedil': "\u0146", - 'Ncedil': "\u0145", - 'ncong': "\u2247", - 'ncongdot': "\u2A6D\u0338", - 'ncup': "\u2A42", - 'ncy': "\u043D", - 'Ncy': "\u041D", - 'ndash': "\u2013", - 'ne': "\u2260", - 'nearhk': "\u2924", - 'nearr': "\u2197", - 'neArr': "\u21D7", - 'nearrow': "\u2197", - 'nedot': "\u2250\u0338", - 'NegativeMediumSpace': "\u200B", - 'NegativeThickSpace': "\u200B", - 'NegativeThinSpace': "\u200B", - 'NegativeVeryThinSpace': "\u200B", - 'nequiv': "\u2262", - 'nesear': "\u2928", - 'nesim': "\u2242\u0338", - 'NestedGreaterGreater': "\u226B", - 'NestedLessLess': "\u226A", - 'NewLine': '\n', - 'nexist': "\u2204", - 'nexists': "\u2204", - 'nfr': "\uD835\uDD2B", - 'Nfr': "\uD835\uDD11", - 'nge': "\u2271", - 'ngE': "\u2267\u0338", - 'ngeq': "\u2271", - 'ngeqq': "\u2267\u0338", - 'ngeqslant': "\u2A7E\u0338", - 'nges': "\u2A7E\u0338", - 'nGg': "\u22D9\u0338", - 'ngsim': "\u2275", - 'ngt': "\u226F", - 'nGt': "\u226B\u20D2", - 'ngtr': "\u226F", - 'nGtv': "\u226B\u0338", - 'nharr': "\u21AE", - 'nhArr': "\u21CE", - 'nhpar': "\u2AF2", - 'ni': "\u220B", - 'nis': "\u22FC", - 'nisd': "\u22FA", - 'niv': "\u220B", - 'njcy': "\u045A", - 'NJcy': "\u040A", - 'nlarr': "\u219A", - 'nlArr': "\u21CD", - 'nldr': "\u2025", - 'nle': "\u2270", - 'nlE': "\u2266\u0338", - 'nleftarrow': "\u219A", - 'nLeftarrow': "\u21CD", - 'nleftrightarrow': "\u21AE", - 'nLeftrightarrow': "\u21CE", - 'nleq': "\u2270", - 'nleqq': "\u2266\u0338", - 'nleqslant': "\u2A7D\u0338", - 'nles': "\u2A7D\u0338", - 'nless': "\u226E", - 'nLl': "\u22D8\u0338", - 'nlsim': "\u2274", - 'nlt': "\u226E", - 'nLt': "\u226A\u20D2", - 'nltri': "\u22EA", - 'nltrie': "\u22EC", - 'nLtv': "\u226A\u0338", - 'nmid': "\u2224", - 'NoBreak': "\u2060", - 'NonBreakingSpace': '\xA0', - 'nopf': "\uD835\uDD5F", - 'Nopf': "\u2115", - 'not': '\xAC', - 'Not': "\u2AEC", - 'NotCongruent': "\u2262", - 'NotCupCap': "\u226D", - 'NotDoubleVerticalBar': "\u2226", - 'NotElement': "\u2209", - 'NotEqual': "\u2260", - 'NotEqualTilde': "\u2242\u0338", - 'NotExists': "\u2204", - 'NotGreater': "\u226F", - 'NotGreaterEqual': "\u2271", - 'NotGreaterFullEqual': "\u2267\u0338", - 'NotGreaterGreater': "\u226B\u0338", - 'NotGreaterLess': "\u2279", - 'NotGreaterSlantEqual': "\u2A7E\u0338", - 'NotGreaterTilde': "\u2275", - 'NotHumpDownHump': "\u224E\u0338", - 'NotHumpEqual': "\u224F\u0338", - 'notin': "\u2209", - 'notindot': "\u22F5\u0338", - 'notinE': "\u22F9\u0338", - 'notinva': "\u2209", - 'notinvb': "\u22F7", - 'notinvc': "\u22F6", - 'NotLeftTriangle': "\u22EA", - 'NotLeftTriangleBar': "\u29CF\u0338", - 'NotLeftTriangleEqual': "\u22EC", - 'NotLess': "\u226E", - 'NotLessEqual': "\u2270", - 'NotLessGreater': "\u2278", - 'NotLessLess': "\u226A\u0338", - 'NotLessSlantEqual': "\u2A7D\u0338", - 'NotLessTilde': "\u2274", - 'NotNestedGreaterGreater': "\u2AA2\u0338", - 'NotNestedLessLess': "\u2AA1\u0338", - 'notni': "\u220C", - 'notniva': "\u220C", - 'notnivb': "\u22FE", - 'notnivc': "\u22FD", - 'NotPrecedes': "\u2280", - 'NotPrecedesEqual': "\u2AAF\u0338", - 'NotPrecedesSlantEqual': "\u22E0", - 'NotReverseElement': "\u220C", - 'NotRightTriangle': "\u22EB", - 'NotRightTriangleBar': "\u29D0\u0338", - 'NotRightTriangleEqual': "\u22ED", - 'NotSquareSubset': "\u228F\u0338", - 'NotSquareSubsetEqual': "\u22E2", - 'NotSquareSuperset': "\u2290\u0338", - 'NotSquareSupersetEqual': "\u22E3", - 'NotSubset': "\u2282\u20D2", - 'NotSubsetEqual': "\u2288", - 'NotSucceeds': "\u2281", - 'NotSucceedsEqual': "\u2AB0\u0338", - 'NotSucceedsSlantEqual': "\u22E1", - 'NotSucceedsTilde': "\u227F\u0338", - 'NotSuperset': "\u2283\u20D2", - 'NotSupersetEqual': "\u2289", - 'NotTilde': "\u2241", - 'NotTildeEqual': "\u2244", - 'NotTildeFullEqual': "\u2247", - 'NotTildeTilde': "\u2249", - 'NotVerticalBar': "\u2224", - 'npar': "\u2226", - 'nparallel': "\u2226", - 'nparsl': "\u2AFD\u20E5", - 'npart': "\u2202\u0338", - 'npolint': "\u2A14", - 'npr': "\u2280", - 'nprcue': "\u22E0", - 'npre': "\u2AAF\u0338", - 'nprec': "\u2280", - 'npreceq': "\u2AAF\u0338", - 'nrarr': "\u219B", - 'nrArr': "\u21CF", - 'nrarrc': "\u2933\u0338", - 'nrarrw': "\u219D\u0338", - 'nrightarrow': "\u219B", - 'nRightarrow': "\u21CF", - 'nrtri': "\u22EB", - 'nrtrie': "\u22ED", - 'nsc': "\u2281", - 'nsccue': "\u22E1", - 'nsce': "\u2AB0\u0338", - 'nscr': "\uD835\uDCC3", - 'Nscr': "\uD835\uDCA9", - 'nshortmid': "\u2224", - 'nshortparallel': "\u2226", - 'nsim': "\u2241", - 'nsime': "\u2244", - 'nsimeq': "\u2244", - 'nsmid': "\u2224", - 'nspar': "\u2226", - 'nsqsube': "\u22E2", - 'nsqsupe': "\u22E3", - 'nsub': "\u2284", - 'nsube': "\u2288", - 'nsubE': "\u2AC5\u0338", - 'nsubset': "\u2282\u20D2", - 'nsubseteq': "\u2288", - 'nsubseteqq': "\u2AC5\u0338", - 'nsucc': "\u2281", - 'nsucceq': "\u2AB0\u0338", - 'nsup': "\u2285", - 'nsupe': "\u2289", - 'nsupE': "\u2AC6\u0338", - 'nsupset': "\u2283\u20D2", - 'nsupseteq': "\u2289", - 'nsupseteqq': "\u2AC6\u0338", - 'ntgl': "\u2279", - 'ntilde': '\xF1', - 'Ntilde': '\xD1', - 'ntlg': "\u2278", - 'ntriangleleft': "\u22EA", - 'ntrianglelefteq': "\u22EC", - 'ntriangleright': "\u22EB", - 'ntrianglerighteq': "\u22ED", - 'nu': "\u03BD", - 'Nu': "\u039D", - 'num': '#', - 'numero': "\u2116", - 'numsp': "\u2007", - 'nvap': "\u224D\u20D2", - 'nvdash': "\u22AC", - 'nvDash': "\u22AD", - 'nVdash': "\u22AE", - 'nVDash': "\u22AF", - 'nvge': "\u2265\u20D2", - 'nvgt': ">\u20D2", - 'nvHarr': "\u2904", - 'nvinfin': "\u29DE", - 'nvlArr': "\u2902", - 'nvle': "\u2264\u20D2", - 'nvlt': "<\u20D2", - 'nvltrie': "\u22B4\u20D2", - 'nvrArr': "\u2903", - 'nvrtrie': "\u22B5\u20D2", - 'nvsim': "\u223C\u20D2", - 'nwarhk': "\u2923", - 'nwarr': "\u2196", - 'nwArr': "\u21D6", - 'nwarrow': "\u2196", - 'nwnear': "\u2927", - 'oacute': '\xF3', - 'Oacute': '\xD3', - 'oast': "\u229B", - 'ocir': "\u229A", - 'ocirc': '\xF4', - 'Ocirc': '\xD4', - 'ocy': "\u043E", - 'Ocy': "\u041E", - 'odash': "\u229D", - 'odblac': "\u0151", - 'Odblac': "\u0150", - 'odiv': "\u2A38", - 'odot': "\u2299", - 'odsold': "\u29BC", - 'oelig': "\u0153", - 'OElig': "\u0152", - 'ofcir': "\u29BF", - 'ofr': "\uD835\uDD2C", - 'Ofr': "\uD835\uDD12", - 'ogon': "\u02DB", - 'ograve': '\xF2', - 'Ograve': '\xD2', - 'ogt': "\u29C1", - 'ohbar': "\u29B5", - 'ohm': "\u03A9", - 'oint': "\u222E", - 'olarr': "\u21BA", - 'olcir': "\u29BE", - 'olcross': "\u29BB", - 'oline': "\u203E", - 'olt': "\u29C0", - 'omacr': "\u014D", - 'Omacr': "\u014C", - 'omega': "\u03C9", - 'Omega': "\u03A9", - 'omicron': "\u03BF", - 'Omicron': "\u039F", - 'omid': "\u29B6", - 'ominus': "\u2296", - 'oopf': "\uD835\uDD60", - 'Oopf': "\uD835\uDD46", - 'opar': "\u29B7", - 'OpenCurlyDoubleQuote': "\u201C", - 'OpenCurlyQuote': "\u2018", - 'operp': "\u29B9", - 'oplus': "\u2295", - 'or': "\u2228", - 'Or': "\u2A54", - 'orarr': "\u21BB", - 'ord': "\u2A5D", - 'order': "\u2134", - 'orderof': "\u2134", - 'ordf': '\xAA', - 'ordm': '\xBA', - 'origof': "\u22B6", - 'oror': "\u2A56", - 'orslope': "\u2A57", - 'orv': "\u2A5B", - 'oS': "\u24C8", - 'oscr': "\u2134", - 'Oscr': "\uD835\uDCAA", - 'oslash': '\xF8', - 'Oslash': '\xD8', - 'osol': "\u2298", - 'otilde': '\xF5', - 'Otilde': '\xD5', - 'otimes': "\u2297", - 'Otimes': "\u2A37", - 'otimesas': "\u2A36", - 'ouml': '\xF6', - 'Ouml': '\xD6', - 'ovbar': "\u233D", - 'OverBar': "\u203E", - 'OverBrace': "\u23DE", - 'OverBracket': "\u23B4", - 'OverParenthesis': "\u23DC", - 'par': "\u2225", - 'para': '\xB6', - 'parallel': "\u2225", - 'parsim': "\u2AF3", - 'parsl': "\u2AFD", - 'part': "\u2202", - 'PartialD': "\u2202", - 'pcy': "\u043F", - 'Pcy': "\u041F", - 'percnt': '%', - 'period': '.', - 'permil': "\u2030", - 'perp': "\u22A5", - 'pertenk': "\u2031", - 'pfr': "\uD835\uDD2D", - 'Pfr': "\uD835\uDD13", - 'phi': "\u03C6", - 'Phi': "\u03A6", - 'phiv': "\u03D5", - 'phmmat': "\u2133", - 'phone': "\u260E", - 'pi': "\u03C0", - 'Pi': "\u03A0", - 'pitchfork': "\u22D4", - 'piv': "\u03D6", - 'planck': "\u210F", - 'planckh': "\u210E", - 'plankv': "\u210F", - 'plus': '+', - 'plusacir': "\u2A23", - 'plusb': "\u229E", - 'pluscir': "\u2A22", - 'plusdo': "\u2214", - 'plusdu': "\u2A25", - 'pluse': "\u2A72", - 'PlusMinus': '\xB1', - 'plusmn': '\xB1', - 'plussim': "\u2A26", - 'plustwo': "\u2A27", - 'pm': '\xB1', - 'Poincareplane': "\u210C", - 'pointint': "\u2A15", - 'popf': "\uD835\uDD61", - 'Popf': "\u2119", - 'pound': '\xA3', - 'pr': "\u227A", - 'Pr': "\u2ABB", - 'prap': "\u2AB7", - 'prcue': "\u227C", - 'pre': "\u2AAF", - 'prE': "\u2AB3", - 'prec': "\u227A", - 'precapprox': "\u2AB7", - 'preccurlyeq': "\u227C", - 'Precedes': "\u227A", - 'PrecedesEqual': "\u2AAF", - 'PrecedesSlantEqual': "\u227C", - 'PrecedesTilde': "\u227E", - 'preceq': "\u2AAF", - 'precnapprox': "\u2AB9", - 'precneqq': "\u2AB5", - 'precnsim': "\u22E8", - 'precsim': "\u227E", - 'prime': "\u2032", - 'Prime': "\u2033", - 'primes': "\u2119", - 'prnap': "\u2AB9", - 'prnE': "\u2AB5", - 'prnsim': "\u22E8", - 'prod': "\u220F", - 'Product': "\u220F", - 'profalar': "\u232E", - 'profline': "\u2312", - 'profsurf': "\u2313", - 'prop': "\u221D", - 'Proportion': "\u2237", - 'Proportional': "\u221D", - 'propto': "\u221D", - 'prsim': "\u227E", - 'prurel': "\u22B0", - 'pscr': "\uD835\uDCC5", - 'Pscr': "\uD835\uDCAB", - 'psi': "\u03C8", - 'Psi': "\u03A8", - 'puncsp': "\u2008", - 'qfr': "\uD835\uDD2E", - 'Qfr': "\uD835\uDD14", - 'qint': "\u2A0C", - 'qopf': "\uD835\uDD62", - 'Qopf': "\u211A", - 'qprime': "\u2057", - 'qscr': "\uD835\uDCC6", - 'Qscr': "\uD835\uDCAC", - 'quaternions': "\u210D", - 'quatint': "\u2A16", - 'quest': '?', - 'questeq': "\u225F", - 'quot': '"', - 'QUOT': '"', - 'rAarr': "\u21DB", - 'race': "\u223D\u0331", - 'racute': "\u0155", - 'Racute': "\u0154", - 'radic': "\u221A", - 'raemptyv': "\u29B3", - 'rang': "\u27E9", - 'Rang': "\u27EB", - 'rangd': "\u2992", - 'range': "\u29A5", - 'rangle': "\u27E9", - 'raquo': '\xBB', - 'rarr': "\u2192", - 'rArr': "\u21D2", - 'Rarr': "\u21A0", - 'rarrap': "\u2975", - 'rarrb': "\u21E5", - 'rarrbfs': "\u2920", - 'rarrc': "\u2933", - 'rarrfs': "\u291E", - 'rarrhk': "\u21AA", - 'rarrlp': "\u21AC", - 'rarrpl': "\u2945", - 'rarrsim': "\u2974", - 'rarrtl': "\u21A3", - 'Rarrtl': "\u2916", - 'rarrw': "\u219D", - 'ratail': "\u291A", - 'rAtail': "\u291C", - 'ratio': "\u2236", - 'rationals': "\u211A", - 'rbarr': "\u290D", - 'rBarr': "\u290F", - 'RBarr': "\u2910", - 'rbbrk': "\u2773", - 'rbrace': '}', - 'rbrack': ']', - 'rbrke': "\u298C", - 'rbrksld': "\u298E", - 'rbrkslu': "\u2990", - 'rcaron': "\u0159", - 'Rcaron': "\u0158", - 'rcedil': "\u0157", - 'Rcedil': "\u0156", - 'rceil': "\u2309", - 'rcub': '}', - 'rcy': "\u0440", - 'Rcy': "\u0420", - 'rdca': "\u2937", - 'rdldhar': "\u2969", - 'rdquo': "\u201D", - 'rdquor': "\u201D", - 'rdsh': "\u21B3", - 'Re': "\u211C", - 'real': "\u211C", - 'realine': "\u211B", - 'realpart': "\u211C", - 'reals': "\u211D", - 'rect': "\u25AD", - 'reg': '\xAE', - 'REG': '\xAE', - 'ReverseElement': "\u220B", - 'ReverseEquilibrium': "\u21CB", - 'ReverseUpEquilibrium': "\u296F", - 'rfisht': "\u297D", - 'rfloor': "\u230B", - 'rfr': "\uD835\uDD2F", - 'Rfr': "\u211C", - 'rHar': "\u2964", - 'rhard': "\u21C1", - 'rharu': "\u21C0", - 'rharul': "\u296C", - 'rho': "\u03C1", - 'Rho': "\u03A1", - 'rhov': "\u03F1", - 'RightAngleBracket': "\u27E9", - 'rightarrow': "\u2192", - 'Rightarrow': "\u21D2", - 'RightArrow': "\u2192", - 'RightArrowBar': "\u21E5", - 'RightArrowLeftArrow': "\u21C4", - 'rightarrowtail': "\u21A3", - 'RightCeiling': "\u2309", - 'RightDoubleBracket': "\u27E7", - 'RightDownTeeVector': "\u295D", - 'RightDownVector': "\u21C2", - 'RightDownVectorBar': "\u2955", - 'RightFloor': "\u230B", - 'rightharpoondown': "\u21C1", - 'rightharpoonup': "\u21C0", - 'rightleftarrows': "\u21C4", - 'rightleftharpoons': "\u21CC", - 'rightrightarrows': "\u21C9", - 'rightsquigarrow': "\u219D", - 'RightTee': "\u22A2", - 'RightTeeArrow': "\u21A6", - 'RightTeeVector': "\u295B", - 'rightthreetimes': "\u22CC", - 'RightTriangle': "\u22B3", - 'RightTriangleBar': "\u29D0", - 'RightTriangleEqual': "\u22B5", - 'RightUpDownVector': "\u294F", - 'RightUpTeeVector': "\u295C", - 'RightUpVector': "\u21BE", - 'RightUpVectorBar': "\u2954", - 'RightVector': "\u21C0", - 'RightVectorBar': "\u2953", - 'ring': "\u02DA", - 'risingdotseq': "\u2253", - 'rlarr': "\u21C4", - 'rlhar': "\u21CC", - 'rlm': "\u200F", - 'rmoust': "\u23B1", - 'rmoustache': "\u23B1", - 'rnmid': "\u2AEE", - 'roang': "\u27ED", - 'roarr': "\u21FE", - 'robrk': "\u27E7", - 'ropar': "\u2986", - 'ropf': "\uD835\uDD63", - 'Ropf': "\u211D", - 'roplus': "\u2A2E", - 'rotimes': "\u2A35", - 'RoundImplies': "\u2970", - 'rpar': ')', - 'rpargt': "\u2994", - 'rppolint': "\u2A12", - 'rrarr': "\u21C9", - 'Rrightarrow': "\u21DB", - 'rsaquo': "\u203A", - 'rscr': "\uD835\uDCC7", - 'Rscr': "\u211B", - 'rsh': "\u21B1", - 'Rsh': "\u21B1", - 'rsqb': ']', - 'rsquo': "\u2019", - 'rsquor': "\u2019", - 'rthree': "\u22CC", - 'rtimes': "\u22CA", - 'rtri': "\u25B9", - 'rtrie': "\u22B5", - 'rtrif': "\u25B8", - 'rtriltri': "\u29CE", - 'RuleDelayed': "\u29F4", - 'ruluhar': "\u2968", - 'rx': "\u211E", - 'sacute': "\u015B", - 'Sacute': "\u015A", - 'sbquo': "\u201A", - 'sc': "\u227B", - 'Sc': "\u2ABC", - 'scap': "\u2AB8", - 'scaron': "\u0161", - 'Scaron': "\u0160", - 'sccue': "\u227D", - 'sce': "\u2AB0", - 'scE': "\u2AB4", - 'scedil': "\u015F", - 'Scedil': "\u015E", - 'scirc': "\u015D", - 'Scirc': "\u015C", - 'scnap': "\u2ABA", - 'scnE': "\u2AB6", - 'scnsim': "\u22E9", - 'scpolint': "\u2A13", - 'scsim': "\u227F", - 'scy': "\u0441", - 'Scy': "\u0421", - 'sdot': "\u22C5", - 'sdotb': "\u22A1", - 'sdote': "\u2A66", - 'searhk': "\u2925", - 'searr': "\u2198", - 'seArr': "\u21D8", - 'searrow': "\u2198", - 'sect': '\xA7', - 'semi': ';', - 'seswar': "\u2929", - 'setminus': "\u2216", - 'setmn': "\u2216", - 'sext': "\u2736", - 'sfr': "\uD835\uDD30", - 'Sfr': "\uD835\uDD16", - 'sfrown': "\u2322", - 'sharp': "\u266F", - 'shchcy': "\u0449", - 'SHCHcy': "\u0429", - 'shcy': "\u0448", - 'SHcy': "\u0428", - 'ShortDownArrow': "\u2193", - 'ShortLeftArrow': "\u2190", - 'shortmid': "\u2223", - 'shortparallel': "\u2225", - 'ShortRightArrow': "\u2192", - 'ShortUpArrow': "\u2191", - 'shy': '\xAD', - 'sigma': "\u03C3", - 'Sigma': "\u03A3", - 'sigmaf': "\u03C2", - 'sigmav': "\u03C2", - 'sim': "\u223C", - 'simdot': "\u2A6A", - 'sime': "\u2243", - 'simeq': "\u2243", - 'simg': "\u2A9E", - 'simgE': "\u2AA0", - 'siml': "\u2A9D", - 'simlE': "\u2A9F", - 'simne': "\u2246", - 'simplus': "\u2A24", - 'simrarr': "\u2972", - 'slarr': "\u2190", - 'SmallCircle': "\u2218", - 'smallsetminus': "\u2216", - 'smashp': "\u2A33", - 'smeparsl': "\u29E4", - 'smid': "\u2223", - 'smile': "\u2323", - 'smt': "\u2AAA", - 'smte': "\u2AAC", - 'smtes': "\u2AAC\uFE00", - 'softcy': "\u044C", - 'SOFTcy': "\u042C", - 'sol': '/', - 'solb': "\u29C4", - 'solbar': "\u233F", - 'sopf': "\uD835\uDD64", - 'Sopf': "\uD835\uDD4A", - 'spades': "\u2660", - 'spadesuit': "\u2660", - 'spar': "\u2225", - 'sqcap': "\u2293", - 'sqcaps': "\u2293\uFE00", - 'sqcup': "\u2294", - 'sqcups': "\u2294\uFE00", - 'Sqrt': "\u221A", - 'sqsub': "\u228F", - 'sqsube': "\u2291", - 'sqsubset': "\u228F", - 'sqsubseteq': "\u2291", - 'sqsup': "\u2290", - 'sqsupe': "\u2292", - 'sqsupset': "\u2290", - 'sqsupseteq': "\u2292", - 'squ': "\u25A1", - 'square': "\u25A1", - 'Square': "\u25A1", - 'SquareIntersection': "\u2293", - 'SquareSubset': "\u228F", - 'SquareSubsetEqual': "\u2291", - 'SquareSuperset': "\u2290", - 'SquareSupersetEqual': "\u2292", - 'SquareUnion': "\u2294", - 'squarf': "\u25AA", - 'squf': "\u25AA", - 'srarr': "\u2192", - 'sscr': "\uD835\uDCC8", - 'Sscr': "\uD835\uDCAE", - 'ssetmn': "\u2216", - 'ssmile': "\u2323", - 'sstarf': "\u22C6", - 'star': "\u2606", - 'Star': "\u22C6", - 'starf': "\u2605", - 'straightepsilon': "\u03F5", - 'straightphi': "\u03D5", - 'strns': '\xAF', - 'sub': "\u2282", - 'Sub': "\u22D0", - 'subdot': "\u2ABD", - 'sube': "\u2286", - 'subE': "\u2AC5", - 'subedot': "\u2AC3", - 'submult': "\u2AC1", - 'subne': "\u228A", - 'subnE': "\u2ACB", - 'subplus': "\u2ABF", - 'subrarr': "\u2979", - 'subset': "\u2282", - 'Subset': "\u22D0", - 'subseteq': "\u2286", - 'subseteqq': "\u2AC5", - 'SubsetEqual': "\u2286", - 'subsetneq': "\u228A", - 'subsetneqq': "\u2ACB", - 'subsim': "\u2AC7", - 'subsub': "\u2AD5", - 'subsup': "\u2AD3", - 'succ': "\u227B", - 'succapprox': "\u2AB8", - 'succcurlyeq': "\u227D", - 'Succeeds': "\u227B", - 'SucceedsEqual': "\u2AB0", - 'SucceedsSlantEqual': "\u227D", - 'SucceedsTilde': "\u227F", - 'succeq': "\u2AB0", - 'succnapprox': "\u2ABA", - 'succneqq': "\u2AB6", - 'succnsim': "\u22E9", - 'succsim': "\u227F", - 'SuchThat': "\u220B", - 'sum': "\u2211", - 'Sum': "\u2211", - 'sung': "\u266A", - 'sup': "\u2283", - 'Sup': "\u22D1", - 'sup1': '\xB9', - 'sup2': '\xB2', - 'sup3': '\xB3', - 'supdot': "\u2ABE", - 'supdsub': "\u2AD8", - 'supe': "\u2287", - 'supE': "\u2AC6", - 'supedot': "\u2AC4", - 'Superset': "\u2283", - 'SupersetEqual': "\u2287", - 'suphsol': "\u27C9", - 'suphsub': "\u2AD7", - 'suplarr': "\u297B", - 'supmult': "\u2AC2", - 'supne': "\u228B", - 'supnE': "\u2ACC", - 'supplus': "\u2AC0", - 'supset': "\u2283", - 'Supset': "\u22D1", - 'supseteq': "\u2287", - 'supseteqq': "\u2AC6", - 'supsetneq': "\u228B", - 'supsetneqq': "\u2ACC", - 'supsim': "\u2AC8", - 'supsub': "\u2AD4", - 'supsup': "\u2AD6", - 'swarhk': "\u2926", - 'swarr': "\u2199", - 'swArr': "\u21D9", - 'swarrow': "\u2199", - 'swnwar': "\u292A", - 'szlig': '\xDF', - 'Tab': '\t', - 'target': "\u2316", - 'tau': "\u03C4", - 'Tau': "\u03A4", - 'tbrk': "\u23B4", - 'tcaron': "\u0165", - 'Tcaron': "\u0164", - 'tcedil': "\u0163", - 'Tcedil': "\u0162", - 'tcy': "\u0442", - 'Tcy': "\u0422", - 'tdot': "\u20DB", - 'telrec': "\u2315", - 'tfr': "\uD835\uDD31", - 'Tfr': "\uD835\uDD17", - 'there4': "\u2234", - 'therefore': "\u2234", - 'Therefore': "\u2234", - 'theta': "\u03B8", - 'Theta': "\u0398", - 'thetasym': "\u03D1", - 'thetav': "\u03D1", - 'thickapprox': "\u2248", - 'thicksim': "\u223C", - 'ThickSpace': "\u205F\u200A", - 'thinsp': "\u2009", - 'ThinSpace': "\u2009", - 'thkap': "\u2248", - 'thksim': "\u223C", - 'thorn': '\xFE', - 'THORN': '\xDE', - 'tilde': "\u02DC", - 'Tilde': "\u223C", - 'TildeEqual': "\u2243", - 'TildeFullEqual': "\u2245", - 'TildeTilde': "\u2248", - 'times': '\xD7', - 'timesb': "\u22A0", - 'timesbar': "\u2A31", - 'timesd': "\u2A30", - 'tint': "\u222D", - 'toea': "\u2928", - 'top': "\u22A4", - 'topbot': "\u2336", - 'topcir': "\u2AF1", - 'topf': "\uD835\uDD65", - 'Topf': "\uD835\uDD4B", - 'topfork': "\u2ADA", - 'tosa': "\u2929", - 'tprime': "\u2034", - 'trade': "\u2122", - 'TRADE': "\u2122", - 'triangle': "\u25B5", - 'triangledown': "\u25BF", - 'triangleleft': "\u25C3", - 'trianglelefteq': "\u22B4", - 'triangleq': "\u225C", - 'triangleright': "\u25B9", - 'trianglerighteq': "\u22B5", - 'tridot': "\u25EC", - 'trie': "\u225C", - 'triminus': "\u2A3A", - 'TripleDot': "\u20DB", - 'triplus': "\u2A39", - 'trisb': "\u29CD", - 'tritime': "\u2A3B", - 'trpezium': "\u23E2", - 'tscr': "\uD835\uDCC9", - 'Tscr': "\uD835\uDCAF", - 'tscy': "\u0446", - 'TScy': "\u0426", - 'tshcy': "\u045B", - 'TSHcy': "\u040B", - 'tstrok': "\u0167", - 'Tstrok': "\u0166", - 'twixt': "\u226C", - 'twoheadleftarrow': "\u219E", - 'twoheadrightarrow': "\u21A0", - 'uacute': '\xFA', - 'Uacute': '\xDA', - 'uarr': "\u2191", - 'uArr': "\u21D1", - 'Uarr': "\u219F", - 'Uarrocir': "\u2949", - 'ubrcy': "\u045E", - 'Ubrcy': "\u040E", - 'ubreve': "\u016D", - 'Ubreve': "\u016C", - 'ucirc': '\xFB', - 'Ucirc': '\xDB', - 'ucy': "\u0443", - 'Ucy': "\u0423", - 'udarr': "\u21C5", - 'udblac': "\u0171", - 'Udblac': "\u0170", - 'udhar': "\u296E", - 'ufisht': "\u297E", - 'ufr': "\uD835\uDD32", - 'Ufr': "\uD835\uDD18", - 'ugrave': '\xF9', - 'Ugrave': '\xD9', - 'uHar': "\u2963", - 'uharl': "\u21BF", - 'uharr': "\u21BE", - 'uhblk': "\u2580", - 'ulcorn': "\u231C", - 'ulcorner': "\u231C", - 'ulcrop': "\u230F", - 'ultri': "\u25F8", - 'umacr': "\u016B", - 'Umacr': "\u016A", - 'uml': '\xA8', - 'UnderBar': '_', - 'UnderBrace': "\u23DF", - 'UnderBracket': "\u23B5", - 'UnderParenthesis': "\u23DD", - 'Union': "\u22C3", - 'UnionPlus': "\u228E", - 'uogon': "\u0173", - 'Uogon': "\u0172", - 'uopf': "\uD835\uDD66", - 'Uopf': "\uD835\uDD4C", - 'uparrow': "\u2191", - 'Uparrow': "\u21D1", - 'UpArrow': "\u2191", - 'UpArrowBar': "\u2912", - 'UpArrowDownArrow': "\u21C5", - 'updownarrow': "\u2195", - 'Updownarrow': "\u21D5", - 'UpDownArrow': "\u2195", - 'UpEquilibrium': "\u296E", - 'upharpoonleft': "\u21BF", - 'upharpoonright': "\u21BE", - 'uplus': "\u228E", - 'UpperLeftArrow': "\u2196", - 'UpperRightArrow': "\u2197", - 'upsi': "\u03C5", - 'Upsi': "\u03D2", - 'upsih': "\u03D2", - 'upsilon': "\u03C5", - 'Upsilon': "\u03A5", - 'UpTee': "\u22A5", - 'UpTeeArrow': "\u21A5", - 'upuparrows': "\u21C8", - 'urcorn': "\u231D", - 'urcorner': "\u231D", - 'urcrop': "\u230E", - 'uring': "\u016F", - 'Uring': "\u016E", - 'urtri': "\u25F9", - 'uscr': "\uD835\uDCCA", - 'Uscr': "\uD835\uDCB0", - 'utdot': "\u22F0", - 'utilde': "\u0169", - 'Utilde': "\u0168", - 'utri': "\u25B5", - 'utrif': "\u25B4", - 'uuarr': "\u21C8", - 'uuml': '\xFC', - 'Uuml': '\xDC', - 'uwangle': "\u29A7", - 'vangrt': "\u299C", - 'varepsilon': "\u03F5", - 'varkappa': "\u03F0", - 'varnothing': "\u2205", - 'varphi': "\u03D5", - 'varpi': "\u03D6", - 'varpropto': "\u221D", - 'varr': "\u2195", - 'vArr': "\u21D5", - 'varrho': "\u03F1", - 'varsigma': "\u03C2", - 'varsubsetneq': "\u228A\uFE00", - 'varsubsetneqq': "\u2ACB\uFE00", - 'varsupsetneq': "\u228B\uFE00", - 'varsupsetneqq': "\u2ACC\uFE00", - 'vartheta': "\u03D1", - 'vartriangleleft': "\u22B2", - 'vartriangleright': "\u22B3", - 'vBar': "\u2AE8", - 'Vbar': "\u2AEB", - 'vBarv': "\u2AE9", - 'vcy': "\u0432", - 'Vcy': "\u0412", - 'vdash': "\u22A2", - 'vDash': "\u22A8", - 'Vdash': "\u22A9", - 'VDash': "\u22AB", - 'Vdashl': "\u2AE6", - 'vee': "\u2228", - 'Vee': "\u22C1", - 'veebar': "\u22BB", - 'veeeq': "\u225A", - 'vellip': "\u22EE", - 'verbar': '|', - 'Verbar': "\u2016", - 'vert': '|', - 'Vert': "\u2016", - 'VerticalBar': "\u2223", - 'VerticalLine': '|', - 'VerticalSeparator': "\u2758", - 'VerticalTilde': "\u2240", - 'VeryThinSpace': "\u200A", - 'vfr': "\uD835\uDD33", - 'Vfr': "\uD835\uDD19", - 'vltri': "\u22B2", - 'vnsub': "\u2282\u20D2", - 'vnsup': "\u2283\u20D2", - 'vopf': "\uD835\uDD67", - 'Vopf': "\uD835\uDD4D", - 'vprop': "\u221D", - 'vrtri': "\u22B3", - 'vscr': "\uD835\uDCCB", - 'Vscr': "\uD835\uDCB1", - 'vsubne': "\u228A\uFE00", - 'vsubnE': "\u2ACB\uFE00", - 'vsupne': "\u228B\uFE00", - 'vsupnE': "\u2ACC\uFE00", - 'Vvdash': "\u22AA", - 'vzigzag': "\u299A", - 'wcirc': "\u0175", - 'Wcirc': "\u0174", - 'wedbar': "\u2A5F", - 'wedge': "\u2227", - 'Wedge': "\u22C0", - 'wedgeq': "\u2259", - 'weierp': "\u2118", - 'wfr': "\uD835\uDD34", - 'Wfr': "\uD835\uDD1A", - 'wopf': "\uD835\uDD68", - 'Wopf': "\uD835\uDD4E", - 'wp': "\u2118", - 'wr': "\u2240", - 'wreath': "\u2240", - 'wscr': "\uD835\uDCCC", - 'Wscr': "\uD835\uDCB2", - 'xcap': "\u22C2", - 'xcirc': "\u25EF", - 'xcup': "\u22C3", - 'xdtri': "\u25BD", - 'xfr': "\uD835\uDD35", - 'Xfr': "\uD835\uDD1B", - 'xharr': "\u27F7", - 'xhArr': "\u27FA", - 'xi': "\u03BE", - 'Xi': "\u039E", - 'xlarr': "\u27F5", - 'xlArr': "\u27F8", - 'xmap': "\u27FC", - 'xnis': "\u22FB", - 'xodot': "\u2A00", - 'xopf': "\uD835\uDD69", - 'Xopf': "\uD835\uDD4F", - 'xoplus': "\u2A01", - 'xotime': "\u2A02", - 'xrarr': "\u27F6", - 'xrArr': "\u27F9", - 'xscr': "\uD835\uDCCD", - 'Xscr': "\uD835\uDCB3", - 'xsqcup': "\u2A06", - 'xuplus': "\u2A04", - 'xutri': "\u25B3", - 'xvee': "\u22C1", - 'xwedge': "\u22C0", - 'yacute': '\xFD', - 'Yacute': '\xDD', - 'yacy': "\u044F", - 'YAcy': "\u042F", - 'ycirc': "\u0177", - 'Ycirc': "\u0176", - 'ycy': "\u044B", - 'Ycy': "\u042B", - 'yen': '\xA5', - 'yfr': "\uD835\uDD36", - 'Yfr': "\uD835\uDD1C", - 'yicy': "\u0457", - 'YIcy': "\u0407", - 'yopf': "\uD835\uDD6A", - 'Yopf': "\uD835\uDD50", - 'yscr': "\uD835\uDCCE", - 'Yscr': "\uD835\uDCB4", - 'yucy': "\u044E", - 'YUcy': "\u042E", - 'yuml': '\xFF', - 'Yuml': "\u0178", - 'zacute': "\u017A", - 'Zacute': "\u0179", - 'zcaron': "\u017E", - 'Zcaron': "\u017D", - 'zcy': "\u0437", - 'Zcy': "\u0417", - 'zdot': "\u017C", - 'Zdot': "\u017B", - 'zeetrf': "\u2128", - 'ZeroWidthSpace': "\u200B", - 'zeta': "\u03B6", - 'Zeta': "\u0396", - 'zfr': "\uD835\uDD37", - 'Zfr': "\u2128", - 'zhcy': "\u0436", - 'ZHcy': "\u0416", - 'zigrarr': "\u21DD", - 'zopf': "\uD835\uDD6B", - 'Zopf': "\u2124", - 'zscr': "\uD835\uDCCF", - 'Zscr': "\uD835\uDCB5", - 'zwj': "\u200D", - 'zwnj': "\u200C" - }; - var decodeMapLegacy = { - 'aacute': '\xE1', - 'Aacute': '\xC1', - 'acirc': '\xE2', - 'Acirc': '\xC2', - 'acute': '\xB4', - 'aelig': '\xE6', - 'AElig': '\xC6', - 'agrave': '\xE0', - 'Agrave': '\xC0', - 'amp': '&', - 'AMP': '&', - 'aring': '\xE5', - 'Aring': '\xC5', - 'atilde': '\xE3', - 'Atilde': '\xC3', - 'auml': '\xE4', - 'Auml': '\xC4', - 'brvbar': '\xA6', - 'ccedil': '\xE7', - 'Ccedil': '\xC7', - 'cedil': '\xB8', - 'cent': '\xA2', - 'copy': '\xA9', - 'COPY': '\xA9', - 'curren': '\xA4', - 'deg': '\xB0', - 'divide': '\xF7', - 'eacute': '\xE9', - 'Eacute': '\xC9', - 'ecirc': '\xEA', - 'Ecirc': '\xCA', - 'egrave': '\xE8', - 'Egrave': '\xC8', - 'eth': '\xF0', - 'ETH': '\xD0', - 'euml': '\xEB', - 'Euml': '\xCB', - 'frac12': '\xBD', - 'frac14': '\xBC', - 'frac34': '\xBE', - 'gt': '>', - 'GT': '>', - 'iacute': '\xED', - 'Iacute': '\xCD', - 'icirc': '\xEE', - 'Icirc': '\xCE', - 'iexcl': '\xA1', - 'igrave': '\xEC', - 'Igrave': '\xCC', - 'iquest': '\xBF', - 'iuml': '\xEF', - 'Iuml': '\xCF', - 'laquo': '\xAB', - 'lt': '<', - 'LT': '<', - 'macr': '\xAF', - 'micro': '\xB5', - 'middot': '\xB7', - 'nbsp': '\xA0', - 'not': '\xAC', - 'ntilde': '\xF1', - 'Ntilde': '\xD1', - 'oacute': '\xF3', - 'Oacute': '\xD3', - 'ocirc': '\xF4', - 'Ocirc': '\xD4', - 'ograve': '\xF2', - 'Ograve': '\xD2', - 'ordf': '\xAA', - 'ordm': '\xBA', - 'oslash': '\xF8', - 'Oslash': '\xD8', - 'otilde': '\xF5', - 'Otilde': '\xD5', - 'ouml': '\xF6', - 'Ouml': '\xD6', - 'para': '\xB6', - 'plusmn': '\xB1', - 'pound': '\xA3', - 'quot': '"', - 'QUOT': '"', - 'raquo': '\xBB', - 'reg': '\xAE', - 'REG': '\xAE', - 'sect': '\xA7', - 'shy': '\xAD', - 'sup1': '\xB9', - 'sup2': '\xB2', - 'sup3': '\xB3', - 'szlig': '\xDF', - 'thorn': '\xFE', - 'THORN': '\xDE', - 'times': '\xD7', - 'uacute': '\xFA', - 'Uacute': '\xDA', - 'ucirc': '\xFB', - 'Ucirc': '\xDB', - 'ugrave': '\xF9', - 'Ugrave': '\xD9', - 'uml': '\xA8', - 'uuml': '\xFC', - 'Uuml': '\xDC', - 'yacute': '\xFD', - 'Yacute': '\xDD', - 'yen': '\xA5', - 'yuml': '\xFF' - }; - var decodeMapNumeric = { - '0': "\uFFFD", - '128': "\u20AC", - '130': "\u201A", - '131': "\u0192", - '132': "\u201E", - '133': "\u2026", - '134': "\u2020", - '135': "\u2021", - '136': "\u02C6", - '137': "\u2030", - '138': "\u0160", - '139': "\u2039", - '140': "\u0152", - '142': "\u017D", - '145': "\u2018", - '146': "\u2019", - '147': "\u201C", - '148': "\u201D", - '149': "\u2022", - '150': "\u2013", - '151': "\u2014", - '152': "\u02DC", - '153': "\u2122", - '154': "\u0161", - '155': "\u203A", - '156': "\u0153", - '158': "\u017E", - '159': "\u0178" - }; - var invalidReferenceCodePoints = [1, 2, 3, 4, 5, 6, 7, 8, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 64976, 64977, 64978, 64979, 64980, 64981, 64982, 64983, 64984, 64985, 64986, 64987, 64988, 64989, 64990, 64991, 64992, 64993, 64994, 64995, 64996, 64997, 64998, 64999, 65000, 65001, 65002, 65003, 65004, 65005, 65006, 65007, 65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, 393214, 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, 655359, 720894, 720895, 786430, 786431, 851966, 851967, 917502, 917503, 983038, 983039, 1048574, 1048575, 1114110, 1114111]; - /*--------------------------------------------------------------------------*/ - - var stringFromCharCode = String.fromCharCode; - var object = {}; - var hasOwnProperty = object.hasOwnProperty; - - var has = function has(object, propertyName) { - return hasOwnProperty.call(object, propertyName); - }; - - var contains = function contains(array, value) { - var index = -1; - var length = array.length; - - while (++index < length) { - if (array[index] == value) { - return true; - } - } - - return false; - }; - - var merge = function merge(options, defaults) { - if (!options) { - return defaults; - } - - var result = {}; - var key; - - for (key in defaults) { - // A `hasOwnProperty` check is not needed here, since only recognized - // option names are used anyway. Any others are ignored. - result[key] = has(options, key) ? options[key] : defaults[key]; - } - - return result; - }; // Modified version of `ucs2encode`; see https://mths.be/punycode. - - - var codePointToSymbol = function codePointToSymbol(codePoint, strict) { - var output = ''; - - if (codePoint >= 0xD800 && codePoint <= 0xDFFF || codePoint > 0x10FFFF) { - // See issue #4: - // “Otherwise, if the number is in the range 0xD800 to 0xDFFF or is - // greater than 0x10FFFF, then this is a parse error. Return a U+FFFD - // REPLACEMENT CHARACTER.” - if (strict) { - parseError('character reference outside the permissible Unicode range'); - } - - return "\uFFFD"; - } - - if (has(decodeMapNumeric, codePoint)) { - if (strict) { - parseError('disallowed character reference'); - } - - return decodeMapNumeric[codePoint]; - } - - if (strict && contains(invalidReferenceCodePoints, codePoint)) { - parseError('disallowed character reference'); - } - - if (codePoint > 0xFFFF) { - codePoint -= 0x10000; - output += stringFromCharCode(codePoint >>> 10 & 0x3FF | 0xD800); - codePoint = 0xDC00 | codePoint & 0x3FF; - } - - output += stringFromCharCode(codePoint); - return output; - }; - - var hexEscape = function hexEscape(codePoint) { - return '&#x' + codePoint.toString(16).toUpperCase() + ';'; - }; - - var decEscape = function decEscape(codePoint) { - return '&#' + codePoint + ';'; - }; - - var parseError = function parseError(message) { - throw Error('Parse error: ' + message); - }; - /*--------------------------------------------------------------------------*/ - - - var encode = function encode(string, options) { - options = merge(options, encode.options); - var strict = options.strict; - - if (strict && regexInvalidRawCodePoint.test(string)) { - parseError('forbidden code point'); - } - - var encodeEverything = options.encodeEverything; - var useNamedReferences = options.useNamedReferences; - var allowUnsafeSymbols = options.allowUnsafeSymbols; - var escapeCodePoint = options.decimal ? decEscape : hexEscape; - - var escapeBmpSymbol = function escapeBmpSymbol(symbol) { - return escapeCodePoint(symbol.charCodeAt(0)); - }; - - if (encodeEverything) { - // Encode ASCII symbols. - string = string.replace(regexAsciiWhitelist, function (symbol) { - // Use named references if requested & possible. - if (useNamedReferences && has(encodeMap, symbol)) { - return '&' + encodeMap[symbol] + ';'; - } - - return escapeBmpSymbol(symbol); - }); // Shorten a few escapes that represent two symbols, of which at least one - // is within the ASCII range. - - if (useNamedReferences) { - string = string.replace(/>\u20D2/g, '>⃒').replace(/<\u20D2/g, '<⃒').replace(/fj/g, 'fj'); - } // Encode non-ASCII symbols. - - - if (useNamedReferences) { - // Encode non-ASCII symbols that can be replaced with a named reference. - string = string.replace(regexEncodeNonAscii, function (string) { - // Note: there is no need to check `has(encodeMap, string)` here. - return '&' + encodeMap[string] + ';'; - }); - } // Note: any remaining non-ASCII symbols are handled outside of the `if`. - - } else if (useNamedReferences) { - // Apply named character references. - // Encode `<>"'&` using named character references. - if (!allowUnsafeSymbols) { - string = string.replace(regexEscape, function (string) { - return '&' + encodeMap[string] + ';'; // no need to check `has()` here - }); - } // Shorten escapes that represent two symbols, of which at least one is - // `<>"'&`. - - - string = string.replace(/>\u20D2/g, '>⃒').replace(/<\u20D2/g, '<⃒'); // Encode non-ASCII symbols that can be replaced with a named reference. - - string = string.replace(regexEncodeNonAscii, function (string) { - // Note: there is no need to check `has(encodeMap, string)` here. - return '&' + encodeMap[string] + ';'; - }); - } else if (!allowUnsafeSymbols) { - // Encode `<>"'&` using hexadecimal escapes, now that they’re not handled - // using named character references. - string = string.replace(regexEscape, escapeBmpSymbol); - } - - return string // Encode astral symbols. - .replace(regexAstralSymbols, function ($0) { - // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae - var high = $0.charCodeAt(0); - var low = $0.charCodeAt(1); - var codePoint = (high - 0xD800) * 0x400 + low - 0xDC00 + 0x10000; - return escapeCodePoint(codePoint); - }) // Encode any remaining BMP symbols that are not printable ASCII symbols - // using a hexadecimal escape. - .replace(regexBmpWhitelist, escapeBmpSymbol); - }; // Expose default options (so they can be overridden globally). - - - encode.options = { - 'allowUnsafeSymbols': false, - 'encodeEverything': false, - 'strict': false, - 'useNamedReferences': false, - 'decimal': false - }; - - var decode = function decode(html, options) { - options = merge(options, decode.options); - var strict = options.strict; - - if (strict && regexInvalidEntity.test(html)) { - parseError('malformed character reference'); - } - - return html.replace(regexDecode, function ($0, $1, $2, $3, $4, $5, $6, $7, $8) { - var codePoint; - var semicolon; - var decDigits; - var hexDigits; - var reference; - var next; - - if ($1) { - reference = $1; // Note: there is no need to check `has(decodeMap, reference)`. - - return decodeMap[reference]; - } - - if ($2) { - // Decode named character references without trailing `;`, e.g. `&`. - // This is only a parse error if it gets converted to `&`, or if it is - // followed by `=` in an attribute context. - reference = $2; - next = $3; - - if (next && options.isAttributeValue) { - if (strict && next == '=') { - parseError('`&` did not start a character reference'); - } - - return $0; - } else { - if (strict) { - parseError('named character reference was not terminated by a semicolon'); - } // Note: there is no need to check `has(decodeMapLegacy, reference)`. - - - return decodeMapLegacy[reference] + (next || ''); - } - } - - if ($4) { - // Decode decimal escapes, e.g. `𝌆`. - decDigits = $4; - semicolon = $5; - - if (strict && !semicolon) { - parseError('character reference was not terminated by a semicolon'); - } - - codePoint = parseInt(decDigits, 10); - return codePointToSymbol(codePoint, strict); - } - - if ($6) { - // Decode hexadecimal escapes, e.g. `𝌆`. - hexDigits = $6; - semicolon = $7; - - if (strict && !semicolon) { - parseError('character reference was not terminated by a semicolon'); - } - - codePoint = parseInt(hexDigits, 16); - return codePointToSymbol(codePoint, strict); - } // If we’re still here, `if ($7)` is implied; it’s an ambiguous - // ampersand for sure. https://mths.be/notes/ambiguous-ampersands - - - if (strict) { - parseError('named character reference was not terminated by a semicolon'); - } - - return $0; - }); - }; // Expose default options (so they can be overridden globally). - - - decode.options = { - 'isAttributeValue': false, - 'strict': false - }; - - var escape = function escape(string) { - return string.replace(regexEscape, function ($0) { - // Note: there is no need to check `has(escapeMap, $0)` here. - return escapeMap[$0]; - }); - }; - /*--------------------------------------------------------------------------*/ - - - var he = { - 'version': '1.2.0', - 'encode': encode, - 'decode': decode, - 'escape': escape, - 'unescape': decode - }; // Some AMD build optimizers, like r.js, check for specific condition patterns - // like the following: - - if (freeExports && !freeExports.nodeType) { - if (freeModule) { - // in Node.js, io.js, or RingoJS v0.8.0+ - freeModule.exports = he; - } else { - // in Narwhal or RingoJS v0.7.0- - for (var key in he) { - has(he, key) && (freeExports[key] = he[key]); - } - } - } else { - // in Rhino or a web browser - root.he = he; - } - })(commonjsGlobal); + (function (root) { + // Detect free variables `exports`. + var freeExports = exports; // Detect free variable `module`. + + var freeModule = module && module.exports == freeExports && module; // Detect free variable `global`, from Node.js or Browserified code, + // and use it as `root`. + + var freeGlobal = _typeof(commonjsGlobal) == 'object' && commonjsGlobal; + + if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) { + root = freeGlobal; + } + /*--------------------------------------------------------------------------*/ + // All astral symbols. + + + var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; // All ASCII symbols (not just printable ASCII) except those listed in the + // first column of the overrides table. + // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides + + var regexAsciiWhitelist = /[\x01-\x7F]/g; // All BMP symbols that are not ASCII newlines, printable ASCII symbols, or + // code points listed in the first column of the overrides table on + // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides. + + var regexBmpWhitelist = /[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g; + var regexEncodeNonAscii = /<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g; + var encodeMap = { + '\xAD': 'shy', + "\u200C": 'zwnj', + "\u200D": 'zwj', + "\u200E": 'lrm', + "\u2063": 'ic', + "\u2062": 'it', + "\u2061": 'af', + "\u200F": 'rlm', + "\u200B": 'ZeroWidthSpace', + "\u2060": 'NoBreak', + "\u0311": 'DownBreve', + "\u20DB": 'tdot', + "\u20DC": 'DotDot', + '\t': 'Tab', + '\n': 'NewLine', + "\u2008": 'puncsp', + "\u205F": 'MediumSpace', + "\u2009": 'thinsp', + "\u200A": 'hairsp', + "\u2004": 'emsp13', + "\u2002": 'ensp', + "\u2005": 'emsp14', + "\u2003": 'emsp', + "\u2007": 'numsp', + '\xA0': 'nbsp', + "\u205F\u200A": 'ThickSpace', + "\u203E": 'oline', + '_': 'lowbar', + "\u2010": 'dash', + "\u2013": 'ndash', + "\u2014": 'mdash', + "\u2015": 'horbar', + ',': 'comma', + ';': 'semi', + "\u204F": 'bsemi', + ':': 'colon', + "\u2A74": 'Colone', + '!': 'excl', + '\xA1': 'iexcl', + '?': 'quest', + '\xBF': 'iquest', + '.': 'period', + "\u2025": 'nldr', + "\u2026": 'mldr', + '\xB7': 'middot', + '\'': 'apos', + "\u2018": 'lsquo', + "\u2019": 'rsquo', + "\u201A": 'sbquo', + "\u2039": 'lsaquo', + "\u203A": 'rsaquo', + '"': 'quot', + "\u201C": 'ldquo', + "\u201D": 'rdquo', + "\u201E": 'bdquo', + '\xAB': 'laquo', + '\xBB': 'raquo', + '(': 'lpar', + ')': 'rpar', + '[': 'lsqb', + ']': 'rsqb', + '{': 'lcub', + '}': 'rcub', + "\u2308": 'lceil', + "\u2309": 'rceil', + "\u230A": 'lfloor', + "\u230B": 'rfloor', + "\u2985": 'lopar', + "\u2986": 'ropar', + "\u298B": 'lbrke', + "\u298C": 'rbrke', + "\u298D": 'lbrkslu', + "\u298E": 'rbrksld', + "\u298F": 'lbrksld', + "\u2990": 'rbrkslu', + "\u2991": 'langd', + "\u2992": 'rangd', + "\u2993": 'lparlt', + "\u2994": 'rpargt', + "\u2995": 'gtlPar', + "\u2996": 'ltrPar', + "\u27E6": 'lobrk', + "\u27E7": 'robrk', + "\u27E8": 'lang', + "\u27E9": 'rang', + "\u27EA": 'Lang', + "\u27EB": 'Rang', + "\u27EC": 'loang', + "\u27ED": 'roang', + "\u2772": 'lbbrk', + "\u2773": 'rbbrk', + "\u2016": 'Vert', + '\xA7': 'sect', + '\xB6': 'para', + '@': 'commat', + '*': 'ast', + '/': 'sol', + 'undefined': null, + '&': 'amp', + '#': 'num', + '%': 'percnt', + "\u2030": 'permil', + "\u2031": 'pertenk', + "\u2020": 'dagger', + "\u2021": 'Dagger', + "\u2022": 'bull', + "\u2043": 'hybull', + "\u2032": 'prime', + "\u2033": 'Prime', + "\u2034": 'tprime', + "\u2057": 'qprime', + "\u2035": 'bprime', + "\u2041": 'caret', + '`': 'grave', + '\xB4': 'acute', + "\u02DC": 'tilde', + '^': 'Hat', + '\xAF': 'macr', + "\u02D8": 'breve', + "\u02D9": 'dot', + '\xA8': 'die', + "\u02DA": 'ring', + "\u02DD": 'dblac', + '\xB8': 'cedil', + "\u02DB": 'ogon', + "\u02C6": 'circ', + "\u02C7": 'caron', + '\xB0': 'deg', + '\xA9': 'copy', + '\xAE': 'reg', + "\u2117": 'copysr', + "\u2118": 'wp', + "\u211E": 'rx', + "\u2127": 'mho', + "\u2129": 'iiota', + "\u2190": 'larr', + "\u219A": 'nlarr', + "\u2192": 'rarr', + "\u219B": 'nrarr', + "\u2191": 'uarr', + "\u2193": 'darr', + "\u2194": 'harr', + "\u21AE": 'nharr', + "\u2195": 'varr', + "\u2196": 'nwarr', + "\u2197": 'nearr', + "\u2198": 'searr', + "\u2199": 'swarr', + "\u219D": 'rarrw', + "\u219D\u0338": 'nrarrw', + "\u219E": 'Larr', + "\u219F": 'Uarr', + "\u21A0": 'Rarr', + "\u21A1": 'Darr', + "\u21A2": 'larrtl', + "\u21A3": 'rarrtl', + "\u21A4": 'mapstoleft', + "\u21A5": 'mapstoup', + "\u21A6": 'map', + "\u21A7": 'mapstodown', + "\u21A9": 'larrhk', + "\u21AA": 'rarrhk', + "\u21AB": 'larrlp', + "\u21AC": 'rarrlp', + "\u21AD": 'harrw', + "\u21B0": 'lsh', + "\u21B1": 'rsh', + "\u21B2": 'ldsh', + "\u21B3": 'rdsh', + "\u21B5": 'crarr', + "\u21B6": 'cularr', + "\u21B7": 'curarr', + "\u21BA": 'olarr', + "\u21BB": 'orarr', + "\u21BC": 'lharu', + "\u21BD": 'lhard', + "\u21BE": 'uharr', + "\u21BF": 'uharl', + "\u21C0": 'rharu', + "\u21C1": 'rhard', + "\u21C2": 'dharr', + "\u21C3": 'dharl', + "\u21C4": 'rlarr', + "\u21C5": 'udarr', + "\u21C6": 'lrarr', + "\u21C7": 'llarr', + "\u21C8": 'uuarr', + "\u21C9": 'rrarr', + "\u21CA": 'ddarr', + "\u21CB": 'lrhar', + "\u21CC": 'rlhar', + "\u21D0": 'lArr', + "\u21CD": 'nlArr', + "\u21D1": 'uArr', + "\u21D2": 'rArr', + "\u21CF": 'nrArr', + "\u21D3": 'dArr', + "\u21D4": 'iff', + "\u21CE": 'nhArr', + "\u21D5": 'vArr', + "\u21D6": 'nwArr', + "\u21D7": 'neArr', + "\u21D8": 'seArr', + "\u21D9": 'swArr', + "\u21DA": 'lAarr', + "\u21DB": 'rAarr', + "\u21DD": 'zigrarr', + "\u21E4": 'larrb', + "\u21E5": 'rarrb', + "\u21F5": 'duarr', + "\u21FD": 'loarr', + "\u21FE": 'roarr', + "\u21FF": 'hoarr', + "\u2200": 'forall', + "\u2201": 'comp', + "\u2202": 'part', + "\u2202\u0338": 'npart', + "\u2203": 'exist', + "\u2204": 'nexist', + "\u2205": 'empty', + "\u2207": 'Del', + "\u2208": 'in', + "\u2209": 'notin', + "\u220B": 'ni', + "\u220C": 'notni', + "\u03F6": 'bepsi', + "\u220F": 'prod', + "\u2210": 'coprod', + "\u2211": 'sum', + '+': 'plus', + '\xB1': 'pm', + '\xF7': 'div', + '\xD7': 'times', + '<': 'lt', + "\u226E": 'nlt', + "<\u20D2": 'nvlt', + '=': 'equals', + "\u2260": 'ne', + "=\u20E5": 'bne', + "\u2A75": 'Equal', + '>': 'gt', + "\u226F": 'ngt', + ">\u20D2": 'nvgt', + '\xAC': 'not', + '|': 'vert', + '\xA6': 'brvbar', + "\u2212": 'minus', + "\u2213": 'mp', + "\u2214": 'plusdo', + "\u2044": 'frasl', + "\u2216": 'setmn', + "\u2217": 'lowast', + "\u2218": 'compfn', + "\u221A": 'Sqrt', + "\u221D": 'prop', + "\u221E": 'infin', + "\u221F": 'angrt', + "\u2220": 'ang', + "\u2220\u20D2": 'nang', + "\u2221": 'angmsd', + "\u2222": 'angsph', + "\u2223": 'mid', + "\u2224": 'nmid', + "\u2225": 'par', + "\u2226": 'npar', + "\u2227": 'and', + "\u2228": 'or', + "\u2229": 'cap', + "\u2229\uFE00": 'caps', + "\u222A": 'cup', + "\u222A\uFE00": 'cups', + "\u222B": 'int', + "\u222C": 'Int', + "\u222D": 'tint', + "\u2A0C": 'qint', + "\u222E": 'oint', + "\u222F": 'Conint', + "\u2230": 'Cconint', + "\u2231": 'cwint', + "\u2232": 'cwconint', + "\u2233": 'awconint', + "\u2234": 'there4', + "\u2235": 'becaus', + "\u2236": 'ratio', + "\u2237": 'Colon', + "\u2238": 'minusd', + "\u223A": 'mDDot', + "\u223B": 'homtht', + "\u223C": 'sim', + "\u2241": 'nsim', + "\u223C\u20D2": 'nvsim', + "\u223D": 'bsim', + "\u223D\u0331": 'race', + "\u223E": 'ac', + "\u223E\u0333": 'acE', + "\u223F": 'acd', + "\u2240": 'wr', + "\u2242": 'esim', + "\u2242\u0338": 'nesim', + "\u2243": 'sime', + "\u2244": 'nsime', + "\u2245": 'cong', + "\u2247": 'ncong', + "\u2246": 'simne', + "\u2248": 'ap', + "\u2249": 'nap', + "\u224A": 'ape', + "\u224B": 'apid', + "\u224B\u0338": 'napid', + "\u224C": 'bcong', + "\u224D": 'CupCap', + "\u226D": 'NotCupCap', + "\u224D\u20D2": 'nvap', + "\u224E": 'bump', + "\u224E\u0338": 'nbump', + "\u224F": 'bumpe', + "\u224F\u0338": 'nbumpe', + "\u2250": 'doteq', + "\u2250\u0338": 'nedot', + "\u2251": 'eDot', + "\u2252": 'efDot', + "\u2253": 'erDot', + "\u2254": 'colone', + "\u2255": 'ecolon', + "\u2256": 'ecir', + "\u2257": 'cire', + "\u2259": 'wedgeq', + "\u225A": 'veeeq', + "\u225C": 'trie', + "\u225F": 'equest', + "\u2261": 'equiv', + "\u2262": 'nequiv', + "\u2261\u20E5": 'bnequiv', + "\u2264": 'le', + "\u2270": 'nle', + "\u2264\u20D2": 'nvle', + "\u2265": 'ge', + "\u2271": 'nge', + "\u2265\u20D2": 'nvge', + "\u2266": 'lE', + "\u2266\u0338": 'nlE', + "\u2267": 'gE', + "\u2267\u0338": 'ngE', + "\u2268\uFE00": 'lvnE', + "\u2268": 'lnE', + "\u2269": 'gnE', + "\u2269\uFE00": 'gvnE', + "\u226A": 'll', + "\u226A\u0338": 'nLtv', + "\u226A\u20D2": 'nLt', + "\u226B": 'gg', + "\u226B\u0338": 'nGtv', + "\u226B\u20D2": 'nGt', + "\u226C": 'twixt', + "\u2272": 'lsim', + "\u2274": 'nlsim', + "\u2273": 'gsim', + "\u2275": 'ngsim', + "\u2276": 'lg', + "\u2278": 'ntlg', + "\u2277": 'gl', + "\u2279": 'ntgl', + "\u227A": 'pr', + "\u2280": 'npr', + "\u227B": 'sc', + "\u2281": 'nsc', + "\u227C": 'prcue', + "\u22E0": 'nprcue', + "\u227D": 'sccue', + "\u22E1": 'nsccue', + "\u227E": 'prsim', + "\u227F": 'scsim', + "\u227F\u0338": 'NotSucceedsTilde', + "\u2282": 'sub', + "\u2284": 'nsub', + "\u2282\u20D2": 'vnsub', + "\u2283": 'sup', + "\u2285": 'nsup', + "\u2283\u20D2": 'vnsup', + "\u2286": 'sube', + "\u2288": 'nsube', + "\u2287": 'supe', + "\u2289": 'nsupe', + "\u228A\uFE00": 'vsubne', + "\u228A": 'subne', + "\u228B\uFE00": 'vsupne', + "\u228B": 'supne', + "\u228D": 'cupdot', + "\u228E": 'uplus', + "\u228F": 'sqsub', + "\u228F\u0338": 'NotSquareSubset', + "\u2290": 'sqsup', + "\u2290\u0338": 'NotSquareSuperset', + "\u2291": 'sqsube', + "\u22E2": 'nsqsube', + "\u2292": 'sqsupe', + "\u22E3": 'nsqsupe', + "\u2293": 'sqcap', + "\u2293\uFE00": 'sqcaps', + "\u2294": 'sqcup', + "\u2294\uFE00": 'sqcups', + "\u2295": 'oplus', + "\u2296": 'ominus', + "\u2297": 'otimes', + "\u2298": 'osol', + "\u2299": 'odot', + "\u229A": 'ocir', + "\u229B": 'oast', + "\u229D": 'odash', + "\u229E": 'plusb', + "\u229F": 'minusb', + "\u22A0": 'timesb', + "\u22A1": 'sdotb', + "\u22A2": 'vdash', + "\u22AC": 'nvdash', + "\u22A3": 'dashv', + "\u22A4": 'top', + "\u22A5": 'bot', + "\u22A7": 'models', + "\u22A8": 'vDash', + "\u22AD": 'nvDash', + "\u22A9": 'Vdash', + "\u22AE": 'nVdash', + "\u22AA": 'Vvdash', + "\u22AB": 'VDash', + "\u22AF": 'nVDash', + "\u22B0": 'prurel', + "\u22B2": 'vltri', + "\u22EA": 'nltri', + "\u22B3": 'vrtri', + "\u22EB": 'nrtri', + "\u22B4": 'ltrie', + "\u22EC": 'nltrie', + "\u22B4\u20D2": 'nvltrie', + "\u22B5": 'rtrie', + "\u22ED": 'nrtrie', + "\u22B5\u20D2": 'nvrtrie', + "\u22B6": 'origof', + "\u22B7": 'imof', + "\u22B8": 'mumap', + "\u22B9": 'hercon', + "\u22BA": 'intcal', + "\u22BB": 'veebar', + "\u22BD": 'barvee', + "\u22BE": 'angrtvb', + "\u22BF": 'lrtri', + "\u22C0": 'Wedge', + "\u22C1": 'Vee', + "\u22C2": 'xcap', + "\u22C3": 'xcup', + "\u22C4": 'diam', + "\u22C5": 'sdot', + "\u22C6": 'Star', + "\u22C7": 'divonx', + "\u22C8": 'bowtie', + "\u22C9": 'ltimes', + "\u22CA": 'rtimes', + "\u22CB": 'lthree', + "\u22CC": 'rthree', + "\u22CD": 'bsime', + "\u22CE": 'cuvee', + "\u22CF": 'cuwed', + "\u22D0": 'Sub', + "\u22D1": 'Sup', + "\u22D2": 'Cap', + "\u22D3": 'Cup', + "\u22D4": 'fork', + "\u22D5": 'epar', + "\u22D6": 'ltdot', + "\u22D7": 'gtdot', + "\u22D8": 'Ll', + "\u22D8\u0338": 'nLl', + "\u22D9": 'Gg', + "\u22D9\u0338": 'nGg', + "\u22DA\uFE00": 'lesg', + "\u22DA": 'leg', + "\u22DB": 'gel', + "\u22DB\uFE00": 'gesl', + "\u22DE": 'cuepr', + "\u22DF": 'cuesc', + "\u22E6": 'lnsim', + "\u22E7": 'gnsim', + "\u22E8": 'prnsim', + "\u22E9": 'scnsim', + "\u22EE": 'vellip', + "\u22EF": 'ctdot', + "\u22F0": 'utdot', + "\u22F1": 'dtdot', + "\u22F2": 'disin', + "\u22F3": 'isinsv', + "\u22F4": 'isins', + "\u22F5": 'isindot', + "\u22F5\u0338": 'notindot', + "\u22F6": 'notinvc', + "\u22F7": 'notinvb', + "\u22F9": 'isinE', + "\u22F9\u0338": 'notinE', + "\u22FA": 'nisd', + "\u22FB": 'xnis', + "\u22FC": 'nis', + "\u22FD": 'notnivc', + "\u22FE": 'notnivb', + "\u2305": 'barwed', + "\u2306": 'Barwed', + "\u230C": 'drcrop', + "\u230D": 'dlcrop', + "\u230E": 'urcrop', + "\u230F": 'ulcrop', + "\u2310": 'bnot', + "\u2312": 'profline', + "\u2313": 'profsurf', + "\u2315": 'telrec', + "\u2316": 'target', + "\u231C": 'ulcorn', + "\u231D": 'urcorn', + "\u231E": 'dlcorn', + "\u231F": 'drcorn', + "\u2322": 'frown', + "\u2323": 'smile', + "\u232D": 'cylcty', + "\u232E": 'profalar', + "\u2336": 'topbot', + "\u233D": 'ovbar', + "\u233F": 'solbar', + "\u237C": 'angzarr', + "\u23B0": 'lmoust', + "\u23B1": 'rmoust', + "\u23B4": 'tbrk', + "\u23B5": 'bbrk', + "\u23B6": 'bbrktbrk', + "\u23DC": 'OverParenthesis', + "\u23DD": 'UnderParenthesis', + "\u23DE": 'OverBrace', + "\u23DF": 'UnderBrace', + "\u23E2": 'trpezium', + "\u23E7": 'elinters', + "\u2423": 'blank', + "\u2500": 'boxh', + "\u2502": 'boxv', + "\u250C": 'boxdr', + "\u2510": 'boxdl', + "\u2514": 'boxur', + "\u2518": 'boxul', + "\u251C": 'boxvr', + "\u2524": 'boxvl', + "\u252C": 'boxhd', + "\u2534": 'boxhu', + "\u253C": 'boxvh', + "\u2550": 'boxH', + "\u2551": 'boxV', + "\u2552": 'boxdR', + "\u2553": 'boxDr', + "\u2554": 'boxDR', + "\u2555": 'boxdL', + "\u2556": 'boxDl', + "\u2557": 'boxDL', + "\u2558": 'boxuR', + "\u2559": 'boxUr', + "\u255A": 'boxUR', + "\u255B": 'boxuL', + "\u255C": 'boxUl', + "\u255D": 'boxUL', + "\u255E": 'boxvR', + "\u255F": 'boxVr', + "\u2560": 'boxVR', + "\u2561": 'boxvL', + "\u2562": 'boxVl', + "\u2563": 'boxVL', + "\u2564": 'boxHd', + "\u2565": 'boxhD', + "\u2566": 'boxHD', + "\u2567": 'boxHu', + "\u2568": 'boxhU', + "\u2569": 'boxHU', + "\u256A": 'boxvH', + "\u256B": 'boxVh', + "\u256C": 'boxVH', + "\u2580": 'uhblk', + "\u2584": 'lhblk', + "\u2588": 'block', + "\u2591": 'blk14', + "\u2592": 'blk12', + "\u2593": 'blk34', + "\u25A1": 'squ', + "\u25AA": 'squf', + "\u25AB": 'EmptyVerySmallSquare', + "\u25AD": 'rect', + "\u25AE": 'marker', + "\u25B1": 'fltns', + "\u25B3": 'xutri', + "\u25B4": 'utrif', + "\u25B5": 'utri', + "\u25B8": 'rtrif', + "\u25B9": 'rtri', + "\u25BD": 'xdtri', + "\u25BE": 'dtrif', + "\u25BF": 'dtri', + "\u25C2": 'ltrif', + "\u25C3": 'ltri', + "\u25CA": 'loz', + "\u25CB": 'cir', + "\u25EC": 'tridot', + "\u25EF": 'xcirc', + "\u25F8": 'ultri', + "\u25F9": 'urtri', + "\u25FA": 'lltri', + "\u25FB": 'EmptySmallSquare', + "\u25FC": 'FilledSmallSquare', + "\u2605": 'starf', + "\u2606": 'star', + "\u260E": 'phone', + "\u2640": 'female', + "\u2642": 'male', + "\u2660": 'spades', + "\u2663": 'clubs', + "\u2665": 'hearts', + "\u2666": 'diams', + "\u266A": 'sung', + "\u2713": 'check', + "\u2717": 'cross', + "\u2720": 'malt', + "\u2736": 'sext', + "\u2758": 'VerticalSeparator', + "\u27C8": 'bsolhsub', + "\u27C9": 'suphsol', + "\u27F5": 'xlarr', + "\u27F6": 'xrarr', + "\u27F7": 'xharr', + "\u27F8": 'xlArr', + "\u27F9": 'xrArr', + "\u27FA": 'xhArr', + "\u27FC": 'xmap', + "\u27FF": 'dzigrarr', + "\u2902": 'nvlArr', + "\u2903": 'nvrArr', + "\u2904": 'nvHarr', + "\u2905": 'Map', + "\u290C": 'lbarr', + "\u290D": 'rbarr', + "\u290E": 'lBarr', + "\u290F": 'rBarr', + "\u2910": 'RBarr', + "\u2911": 'DDotrahd', + "\u2912": 'UpArrowBar', + "\u2913": 'DownArrowBar', + "\u2916": 'Rarrtl', + "\u2919": 'latail', + "\u291A": 'ratail', + "\u291B": 'lAtail', + "\u291C": 'rAtail', + "\u291D": 'larrfs', + "\u291E": 'rarrfs', + "\u291F": 'larrbfs', + "\u2920": 'rarrbfs', + "\u2923": 'nwarhk', + "\u2924": 'nearhk', + "\u2925": 'searhk', + "\u2926": 'swarhk', + "\u2927": 'nwnear', + "\u2928": 'toea', + "\u2929": 'tosa', + "\u292A": 'swnwar', + "\u2933": 'rarrc', + "\u2933\u0338": 'nrarrc', + "\u2935": 'cudarrr', + "\u2936": 'ldca', + "\u2937": 'rdca', + "\u2938": 'cudarrl', + "\u2939": 'larrpl', + "\u293C": 'curarrm', + "\u293D": 'cularrp', + "\u2945": 'rarrpl', + "\u2948": 'harrcir', + "\u2949": 'Uarrocir', + "\u294A": 'lurdshar', + "\u294B": 'ldrushar', + "\u294E": 'LeftRightVector', + "\u294F": 'RightUpDownVector', + "\u2950": 'DownLeftRightVector', + "\u2951": 'LeftUpDownVector', + "\u2952": 'LeftVectorBar', + "\u2953": 'RightVectorBar', + "\u2954": 'RightUpVectorBar', + "\u2955": 'RightDownVectorBar', + "\u2956": 'DownLeftVectorBar', + "\u2957": 'DownRightVectorBar', + "\u2958": 'LeftUpVectorBar', + "\u2959": 'LeftDownVectorBar', + "\u295A": 'LeftTeeVector', + "\u295B": 'RightTeeVector', + "\u295C": 'RightUpTeeVector', + "\u295D": 'RightDownTeeVector', + "\u295E": 'DownLeftTeeVector', + "\u295F": 'DownRightTeeVector', + "\u2960": 'LeftUpTeeVector', + "\u2961": 'LeftDownTeeVector', + "\u2962": 'lHar', + "\u2963": 'uHar', + "\u2964": 'rHar', + "\u2965": 'dHar', + "\u2966": 'luruhar', + "\u2967": 'ldrdhar', + "\u2968": 'ruluhar', + "\u2969": 'rdldhar', + "\u296A": 'lharul', + "\u296B": 'llhard', + "\u296C": 'rharul', + "\u296D": 'lrhard', + "\u296E": 'udhar', + "\u296F": 'duhar', + "\u2970": 'RoundImplies', + "\u2971": 'erarr', + "\u2972": 'simrarr', + "\u2973": 'larrsim', + "\u2974": 'rarrsim', + "\u2975": 'rarrap', + "\u2976": 'ltlarr', + "\u2978": 'gtrarr', + "\u2979": 'subrarr', + "\u297B": 'suplarr', + "\u297C": 'lfisht', + "\u297D": 'rfisht', + "\u297E": 'ufisht', + "\u297F": 'dfisht', + "\u299A": 'vzigzag', + "\u299C": 'vangrt', + "\u299D": 'angrtvbd', + "\u29A4": 'ange', + "\u29A5": 'range', + "\u29A6": 'dwangle', + "\u29A7": 'uwangle', + "\u29A8": 'angmsdaa', + "\u29A9": 'angmsdab', + "\u29AA": 'angmsdac', + "\u29AB": 'angmsdad', + "\u29AC": 'angmsdae', + "\u29AD": 'angmsdaf', + "\u29AE": 'angmsdag', + "\u29AF": 'angmsdah', + "\u29B0": 'bemptyv', + "\u29B1": 'demptyv', + "\u29B2": 'cemptyv', + "\u29B3": 'raemptyv', + "\u29B4": 'laemptyv', + "\u29B5": 'ohbar', + "\u29B6": 'omid', + "\u29B7": 'opar', + "\u29B9": 'operp', + "\u29BB": 'olcross', + "\u29BC": 'odsold', + "\u29BE": 'olcir', + "\u29BF": 'ofcir', + "\u29C0": 'olt', + "\u29C1": 'ogt', + "\u29C2": 'cirscir', + "\u29C3": 'cirE', + "\u29C4": 'solb', + "\u29C5": 'bsolb', + "\u29C9": 'boxbox', + "\u29CD": 'trisb', + "\u29CE": 'rtriltri', + "\u29CF": 'LeftTriangleBar', + "\u29CF\u0338": 'NotLeftTriangleBar', + "\u29D0": 'RightTriangleBar', + "\u29D0\u0338": 'NotRightTriangleBar', + "\u29DC": 'iinfin', + "\u29DD": 'infintie', + "\u29DE": 'nvinfin', + "\u29E3": 'eparsl', + "\u29E4": 'smeparsl', + "\u29E5": 'eqvparsl', + "\u29EB": 'lozf', + "\u29F4": 'RuleDelayed', + "\u29F6": 'dsol', + "\u2A00": 'xodot', + "\u2A01": 'xoplus', + "\u2A02": 'xotime', + "\u2A04": 'xuplus', + "\u2A06": 'xsqcup', + "\u2A0D": 'fpartint', + "\u2A10": 'cirfnint', + "\u2A11": 'awint', + "\u2A12": 'rppolint', + "\u2A13": 'scpolint', + "\u2A14": 'npolint', + "\u2A15": 'pointint', + "\u2A16": 'quatint', + "\u2A17": 'intlarhk', + "\u2A22": 'pluscir', + "\u2A23": 'plusacir', + "\u2A24": 'simplus', + "\u2A25": 'plusdu', + "\u2A26": 'plussim', + "\u2A27": 'plustwo', + "\u2A29": 'mcomma', + "\u2A2A": 'minusdu', + "\u2A2D": 'loplus', + "\u2A2E": 'roplus', + "\u2A2F": 'Cross', + "\u2A30": 'timesd', + "\u2A31": 'timesbar', + "\u2A33": 'smashp', + "\u2A34": 'lotimes', + "\u2A35": 'rotimes', + "\u2A36": 'otimesas', + "\u2A37": 'Otimes', + "\u2A38": 'odiv', + "\u2A39": 'triplus', + "\u2A3A": 'triminus', + "\u2A3B": 'tritime', + "\u2A3C": 'iprod', + "\u2A3F": 'amalg', + "\u2A40": 'capdot', + "\u2A42": 'ncup', + "\u2A43": 'ncap', + "\u2A44": 'capand', + "\u2A45": 'cupor', + "\u2A46": 'cupcap', + "\u2A47": 'capcup', + "\u2A48": 'cupbrcap', + "\u2A49": 'capbrcup', + "\u2A4A": 'cupcup', + "\u2A4B": 'capcap', + "\u2A4C": 'ccups', + "\u2A4D": 'ccaps', + "\u2A50": 'ccupssm', + "\u2A53": 'And', + "\u2A54": 'Or', + "\u2A55": 'andand', + "\u2A56": 'oror', + "\u2A57": 'orslope', + "\u2A58": 'andslope', + "\u2A5A": 'andv', + "\u2A5B": 'orv', + "\u2A5C": 'andd', + "\u2A5D": 'ord', + "\u2A5F": 'wedbar', + "\u2A66": 'sdote', + "\u2A6A": 'simdot', + "\u2A6D": 'congdot', + "\u2A6D\u0338": 'ncongdot', + "\u2A6E": 'easter', + "\u2A6F": 'apacir', + "\u2A70": 'apE', + "\u2A70\u0338": 'napE', + "\u2A71": 'eplus', + "\u2A72": 'pluse', + "\u2A73": 'Esim', + "\u2A77": 'eDDot', + "\u2A78": 'equivDD', + "\u2A79": 'ltcir', + "\u2A7A": 'gtcir', + "\u2A7B": 'ltquest', + "\u2A7C": 'gtquest', + "\u2A7D": 'les', + "\u2A7D\u0338": 'nles', + "\u2A7E": 'ges', + "\u2A7E\u0338": 'nges', + "\u2A7F": 'lesdot', + "\u2A80": 'gesdot', + "\u2A81": 'lesdoto', + "\u2A82": 'gesdoto', + "\u2A83": 'lesdotor', + "\u2A84": 'gesdotol', + "\u2A85": 'lap', + "\u2A86": 'gap', + "\u2A87": 'lne', + "\u2A88": 'gne', + "\u2A89": 'lnap', + "\u2A8A": 'gnap', + "\u2A8B": 'lEg', + "\u2A8C": 'gEl', + "\u2A8D": 'lsime', + "\u2A8E": 'gsime', + "\u2A8F": 'lsimg', + "\u2A90": 'gsiml', + "\u2A91": 'lgE', + "\u2A92": 'glE', + "\u2A93": 'lesges', + "\u2A94": 'gesles', + "\u2A95": 'els', + "\u2A96": 'egs', + "\u2A97": 'elsdot', + "\u2A98": 'egsdot', + "\u2A99": 'el', + "\u2A9A": 'eg', + "\u2A9D": 'siml', + "\u2A9E": 'simg', + "\u2A9F": 'simlE', + "\u2AA0": 'simgE', + "\u2AA1": 'LessLess', + "\u2AA1\u0338": 'NotNestedLessLess', + "\u2AA2": 'GreaterGreater', + "\u2AA2\u0338": 'NotNestedGreaterGreater', + "\u2AA4": 'glj', + "\u2AA5": 'gla', + "\u2AA6": 'ltcc', + "\u2AA7": 'gtcc', + "\u2AA8": 'lescc', + "\u2AA9": 'gescc', + "\u2AAA": 'smt', + "\u2AAB": 'lat', + "\u2AAC": 'smte', + "\u2AAC\uFE00": 'smtes', + "\u2AAD": 'late', + "\u2AAD\uFE00": 'lates', + "\u2AAE": 'bumpE', + "\u2AAF": 'pre', + "\u2AAF\u0338": 'npre', + "\u2AB0": 'sce', + "\u2AB0\u0338": 'nsce', + "\u2AB3": 'prE', + "\u2AB4": 'scE', + "\u2AB5": 'prnE', + "\u2AB6": 'scnE', + "\u2AB7": 'prap', + "\u2AB8": 'scap', + "\u2AB9": 'prnap', + "\u2ABA": 'scnap', + "\u2ABB": 'Pr', + "\u2ABC": 'Sc', + "\u2ABD": 'subdot', + "\u2ABE": 'supdot', + "\u2ABF": 'subplus', + "\u2AC0": 'supplus', + "\u2AC1": 'submult', + "\u2AC2": 'supmult', + "\u2AC3": 'subedot', + "\u2AC4": 'supedot', + "\u2AC5": 'subE', + "\u2AC5\u0338": 'nsubE', + "\u2AC6": 'supE', + "\u2AC6\u0338": 'nsupE', + "\u2AC7": 'subsim', + "\u2AC8": 'supsim', + "\u2ACB\uFE00": 'vsubnE', + "\u2ACB": 'subnE', + "\u2ACC\uFE00": 'vsupnE', + "\u2ACC": 'supnE', + "\u2ACF": 'csub', + "\u2AD0": 'csup', + "\u2AD1": 'csube', + "\u2AD2": 'csupe', + "\u2AD3": 'subsup', + "\u2AD4": 'supsub', + "\u2AD5": 'subsub', + "\u2AD6": 'supsup', + "\u2AD7": 'suphsub', + "\u2AD8": 'supdsub', + "\u2AD9": 'forkv', + "\u2ADA": 'topfork', + "\u2ADB": 'mlcp', + "\u2AE4": 'Dashv', + "\u2AE6": 'Vdashl', + "\u2AE7": 'Barv', + "\u2AE8": 'vBar', + "\u2AE9": 'vBarv', + "\u2AEB": 'Vbar', + "\u2AEC": 'Not', + "\u2AED": 'bNot', + "\u2AEE": 'rnmid', + "\u2AEF": 'cirmid', + "\u2AF0": 'midcir', + "\u2AF1": 'topcir', + "\u2AF2": 'nhpar', + "\u2AF3": 'parsim', + "\u2AFD": 'parsl', + "\u2AFD\u20E5": 'nparsl', + "\u266D": 'flat', + "\u266E": 'natur', + "\u266F": 'sharp', + '\xA4': 'curren', + '\xA2': 'cent', + '$': 'dollar', + '\xA3': 'pound', + '\xA5': 'yen', + "\u20AC": 'euro', + '\xB9': 'sup1', + '\xBD': 'half', + "\u2153": 'frac13', + '\xBC': 'frac14', + "\u2155": 'frac15', + "\u2159": 'frac16', + "\u215B": 'frac18', + '\xB2': 'sup2', + "\u2154": 'frac23', + "\u2156": 'frac25', + '\xB3': 'sup3', + '\xBE': 'frac34', + "\u2157": 'frac35', + "\u215C": 'frac38', + "\u2158": 'frac45', + "\u215A": 'frac56', + "\u215D": 'frac58', + "\u215E": 'frac78', + "\uD835\uDCB6": 'ascr', + "\uD835\uDD52": 'aopf', + "\uD835\uDD1E": 'afr', + "\uD835\uDD38": 'Aopf', + "\uD835\uDD04": 'Afr', + "\uD835\uDC9C": 'Ascr', + '\xAA': 'ordf', + '\xE1': 'aacute', + '\xC1': 'Aacute', + '\xE0': 'agrave', + '\xC0': 'Agrave', + "\u0103": 'abreve', + "\u0102": 'Abreve', + '\xE2': 'acirc', + '\xC2': 'Acirc', + '\xE5': 'aring', + '\xC5': 'angst', + '\xE4': 'auml', + '\xC4': 'Auml', + '\xE3': 'atilde', + '\xC3': 'Atilde', + "\u0105": 'aogon', + "\u0104": 'Aogon', + "\u0101": 'amacr', + "\u0100": 'Amacr', + '\xE6': 'aelig', + '\xC6': 'AElig', + "\uD835\uDCB7": 'bscr', + "\uD835\uDD53": 'bopf', + "\uD835\uDD1F": 'bfr', + "\uD835\uDD39": 'Bopf', + "\u212C": 'Bscr', + "\uD835\uDD05": 'Bfr', + "\uD835\uDD20": 'cfr', + "\uD835\uDCB8": 'cscr', + "\uD835\uDD54": 'copf', + "\u212D": 'Cfr', + "\uD835\uDC9E": 'Cscr', + "\u2102": 'Copf', + "\u0107": 'cacute', + "\u0106": 'Cacute', + "\u0109": 'ccirc', + "\u0108": 'Ccirc', + "\u010D": 'ccaron', + "\u010C": 'Ccaron', + "\u010B": 'cdot', + "\u010A": 'Cdot', + '\xE7': 'ccedil', + '\xC7': 'Ccedil', + "\u2105": 'incare', + "\uD835\uDD21": 'dfr', + "\u2146": 'dd', + "\uD835\uDD55": 'dopf', + "\uD835\uDCB9": 'dscr', + "\uD835\uDC9F": 'Dscr', + "\uD835\uDD07": 'Dfr', + "\u2145": 'DD', + "\uD835\uDD3B": 'Dopf', + "\u010F": 'dcaron', + "\u010E": 'Dcaron', + "\u0111": 'dstrok', + "\u0110": 'Dstrok', + '\xF0': 'eth', + '\xD0': 'ETH', + "\u2147": 'ee', + "\u212F": 'escr', + "\uD835\uDD22": 'efr', + "\uD835\uDD56": 'eopf', + "\u2130": 'Escr', + "\uD835\uDD08": 'Efr', + "\uD835\uDD3C": 'Eopf', + '\xE9': 'eacute', + '\xC9': 'Eacute', + '\xE8': 'egrave', + '\xC8': 'Egrave', + '\xEA': 'ecirc', + '\xCA': 'Ecirc', + "\u011B": 'ecaron', + "\u011A": 'Ecaron', + '\xEB': 'euml', + '\xCB': 'Euml', + "\u0117": 'edot', + "\u0116": 'Edot', + "\u0119": 'eogon', + "\u0118": 'Eogon', + "\u0113": 'emacr', + "\u0112": 'Emacr', + "\uD835\uDD23": 'ffr', + "\uD835\uDD57": 'fopf', + "\uD835\uDCBB": 'fscr', + "\uD835\uDD09": 'Ffr', + "\uD835\uDD3D": 'Fopf', + "\u2131": 'Fscr', + "\uFB00": 'fflig', + "\uFB03": 'ffilig', + "\uFB04": 'ffllig', + "\uFB01": 'filig', + 'fj': 'fjlig', + "\uFB02": 'fllig', + "\u0192": 'fnof', + "\u210A": 'gscr', + "\uD835\uDD58": 'gopf', + "\uD835\uDD24": 'gfr', + "\uD835\uDCA2": 'Gscr', + "\uD835\uDD3E": 'Gopf', + "\uD835\uDD0A": 'Gfr', + "\u01F5": 'gacute', + "\u011F": 'gbreve', + "\u011E": 'Gbreve', + "\u011D": 'gcirc', + "\u011C": 'Gcirc', + "\u0121": 'gdot', + "\u0120": 'Gdot', + "\u0122": 'Gcedil', + "\uD835\uDD25": 'hfr', + "\u210E": 'planckh', + "\uD835\uDCBD": 'hscr', + "\uD835\uDD59": 'hopf', + "\u210B": 'Hscr', + "\u210C": 'Hfr', + "\u210D": 'Hopf', + "\u0125": 'hcirc', + "\u0124": 'Hcirc', + "\u210F": 'hbar', + "\u0127": 'hstrok', + "\u0126": 'Hstrok', + "\uD835\uDD5A": 'iopf', + "\uD835\uDD26": 'ifr', + "\uD835\uDCBE": 'iscr', + "\u2148": 'ii', + "\uD835\uDD40": 'Iopf', + "\u2110": 'Iscr', + "\u2111": 'Im', + '\xED': 'iacute', + '\xCD': 'Iacute', + '\xEC': 'igrave', + '\xCC': 'Igrave', + '\xEE': 'icirc', + '\xCE': 'Icirc', + '\xEF': 'iuml', + '\xCF': 'Iuml', + "\u0129": 'itilde', + "\u0128": 'Itilde', + "\u0130": 'Idot', + "\u012F": 'iogon', + "\u012E": 'Iogon', + "\u012B": 'imacr', + "\u012A": 'Imacr', + "\u0133": 'ijlig', + "\u0132": 'IJlig', + "\u0131": 'imath', + "\uD835\uDCBF": 'jscr', + "\uD835\uDD5B": 'jopf', + "\uD835\uDD27": 'jfr', + "\uD835\uDCA5": 'Jscr', + "\uD835\uDD0D": 'Jfr', + "\uD835\uDD41": 'Jopf', + "\u0135": 'jcirc', + "\u0134": 'Jcirc', + "\u0237": 'jmath', + "\uD835\uDD5C": 'kopf', + "\uD835\uDCC0": 'kscr', + "\uD835\uDD28": 'kfr', + "\uD835\uDCA6": 'Kscr', + "\uD835\uDD42": 'Kopf', + "\uD835\uDD0E": 'Kfr', + "\u0137": 'kcedil', + "\u0136": 'Kcedil', + "\uD835\uDD29": 'lfr', + "\uD835\uDCC1": 'lscr', + "\u2113": 'ell', + "\uD835\uDD5D": 'lopf', + "\u2112": 'Lscr', + "\uD835\uDD0F": 'Lfr', + "\uD835\uDD43": 'Lopf', + "\u013A": 'lacute', + "\u0139": 'Lacute', + "\u013E": 'lcaron', + "\u013D": 'Lcaron', + "\u013C": 'lcedil', + "\u013B": 'Lcedil', + "\u0142": 'lstrok', + "\u0141": 'Lstrok', + "\u0140": 'lmidot', + "\u013F": 'Lmidot', + "\uD835\uDD2A": 'mfr', + "\uD835\uDD5E": 'mopf', + "\uD835\uDCC2": 'mscr', + "\uD835\uDD10": 'Mfr', + "\uD835\uDD44": 'Mopf', + "\u2133": 'Mscr', + "\uD835\uDD2B": 'nfr', + "\uD835\uDD5F": 'nopf', + "\uD835\uDCC3": 'nscr', + "\u2115": 'Nopf', + "\uD835\uDCA9": 'Nscr', + "\uD835\uDD11": 'Nfr', + "\u0144": 'nacute', + "\u0143": 'Nacute', + "\u0148": 'ncaron', + "\u0147": 'Ncaron', + '\xF1': 'ntilde', + '\xD1': 'Ntilde', + "\u0146": 'ncedil', + "\u0145": 'Ncedil', + "\u2116": 'numero', + "\u014B": 'eng', + "\u014A": 'ENG', + "\uD835\uDD60": 'oopf', + "\uD835\uDD2C": 'ofr', + "\u2134": 'oscr', + "\uD835\uDCAA": 'Oscr', + "\uD835\uDD12": 'Ofr', + "\uD835\uDD46": 'Oopf', + '\xBA': 'ordm', + '\xF3': 'oacute', + '\xD3': 'Oacute', + '\xF2': 'ograve', + '\xD2': 'Ograve', + '\xF4': 'ocirc', + '\xD4': 'Ocirc', + '\xF6': 'ouml', + '\xD6': 'Ouml', + "\u0151": 'odblac', + "\u0150": 'Odblac', + '\xF5': 'otilde', + '\xD5': 'Otilde', + '\xF8': 'oslash', + '\xD8': 'Oslash', + "\u014D": 'omacr', + "\u014C": 'Omacr', + "\u0153": 'oelig', + "\u0152": 'OElig', + "\uD835\uDD2D": 'pfr', + "\uD835\uDCC5": 'pscr', + "\uD835\uDD61": 'popf', + "\u2119": 'Popf', + "\uD835\uDD13": 'Pfr', + "\uD835\uDCAB": 'Pscr', + "\uD835\uDD62": 'qopf', + "\uD835\uDD2E": 'qfr', + "\uD835\uDCC6": 'qscr', + "\uD835\uDCAC": 'Qscr', + "\uD835\uDD14": 'Qfr', + "\u211A": 'Qopf', + "\u0138": 'kgreen', + "\uD835\uDD2F": 'rfr', + "\uD835\uDD63": 'ropf', + "\uD835\uDCC7": 'rscr', + "\u211B": 'Rscr', + "\u211C": 'Re', + "\u211D": 'Ropf', + "\u0155": 'racute', + "\u0154": 'Racute', + "\u0159": 'rcaron', + "\u0158": 'Rcaron', + "\u0157": 'rcedil', + "\u0156": 'Rcedil', + "\uD835\uDD64": 'sopf', + "\uD835\uDCC8": 'sscr', + "\uD835\uDD30": 'sfr', + "\uD835\uDD4A": 'Sopf', + "\uD835\uDD16": 'Sfr', + "\uD835\uDCAE": 'Sscr', + "\u24C8": 'oS', + "\u015B": 'sacute', + "\u015A": 'Sacute', + "\u015D": 'scirc', + "\u015C": 'Scirc', + "\u0161": 'scaron', + "\u0160": 'Scaron', + "\u015F": 'scedil', + "\u015E": 'Scedil', + '\xDF': 'szlig', + "\uD835\uDD31": 'tfr', + "\uD835\uDCC9": 'tscr', + "\uD835\uDD65": 'topf', + "\uD835\uDCAF": 'Tscr', + "\uD835\uDD17": 'Tfr', + "\uD835\uDD4B": 'Topf', + "\u0165": 'tcaron', + "\u0164": 'Tcaron', + "\u0163": 'tcedil', + "\u0162": 'Tcedil', + "\u2122": 'trade', + "\u0167": 'tstrok', + "\u0166": 'Tstrok', + "\uD835\uDCCA": 'uscr', + "\uD835\uDD66": 'uopf', + "\uD835\uDD32": 'ufr', + "\uD835\uDD4C": 'Uopf', + "\uD835\uDD18": 'Ufr', + "\uD835\uDCB0": 'Uscr', + '\xFA': 'uacute', + '\xDA': 'Uacute', + '\xF9': 'ugrave', + '\xD9': 'Ugrave', + "\u016D": 'ubreve', + "\u016C": 'Ubreve', + '\xFB': 'ucirc', + '\xDB': 'Ucirc', + "\u016F": 'uring', + "\u016E": 'Uring', + '\xFC': 'uuml', + '\xDC': 'Uuml', + "\u0171": 'udblac', + "\u0170": 'Udblac', + "\u0169": 'utilde', + "\u0168": 'Utilde', + "\u0173": 'uogon', + "\u0172": 'Uogon', + "\u016B": 'umacr', + "\u016A": 'Umacr', + "\uD835\uDD33": 'vfr', + "\uD835\uDD67": 'vopf', + "\uD835\uDCCB": 'vscr', + "\uD835\uDD19": 'Vfr', + "\uD835\uDD4D": 'Vopf', + "\uD835\uDCB1": 'Vscr', + "\uD835\uDD68": 'wopf', + "\uD835\uDCCC": 'wscr', + "\uD835\uDD34": 'wfr', + "\uD835\uDCB2": 'Wscr', + "\uD835\uDD4E": 'Wopf', + "\uD835\uDD1A": 'Wfr', + "\u0175": 'wcirc', + "\u0174": 'Wcirc', + "\uD835\uDD35": 'xfr', + "\uD835\uDCCD": 'xscr', + "\uD835\uDD69": 'xopf', + "\uD835\uDD4F": 'Xopf', + "\uD835\uDD1B": 'Xfr', + "\uD835\uDCB3": 'Xscr', + "\uD835\uDD36": 'yfr', + "\uD835\uDCCE": 'yscr', + "\uD835\uDD6A": 'yopf', + "\uD835\uDCB4": 'Yscr', + "\uD835\uDD1C": 'Yfr', + "\uD835\uDD50": 'Yopf', + '\xFD': 'yacute', + '\xDD': 'Yacute', + "\u0177": 'ycirc', + "\u0176": 'Ycirc', + '\xFF': 'yuml', + "\u0178": 'Yuml', + "\uD835\uDCCF": 'zscr', + "\uD835\uDD37": 'zfr', + "\uD835\uDD6B": 'zopf', + "\u2128": 'Zfr', + "\u2124": 'Zopf', + "\uD835\uDCB5": 'Zscr', + "\u017A": 'zacute', + "\u0179": 'Zacute', + "\u017E": 'zcaron', + "\u017D": 'Zcaron', + "\u017C": 'zdot', + "\u017B": 'Zdot', + "\u01B5": 'imped', + '\xFE': 'thorn', + '\xDE': 'THORN', + "\u0149": 'napos', + "\u03B1": 'alpha', + "\u0391": 'Alpha', + "\u03B2": 'beta', + "\u0392": 'Beta', + "\u03B3": 'gamma', + "\u0393": 'Gamma', + "\u03B4": 'delta', + "\u0394": 'Delta', + "\u03B5": 'epsi', + "\u03F5": 'epsiv', + "\u0395": 'Epsilon', + "\u03DD": 'gammad', + "\u03DC": 'Gammad', + "\u03B6": 'zeta', + "\u0396": 'Zeta', + "\u03B7": 'eta', + "\u0397": 'Eta', + "\u03B8": 'theta', + "\u03D1": 'thetav', + "\u0398": 'Theta', + "\u03B9": 'iota', + "\u0399": 'Iota', + "\u03BA": 'kappa', + "\u03F0": 'kappav', + "\u039A": 'Kappa', + "\u03BB": 'lambda', + "\u039B": 'Lambda', + "\u03BC": 'mu', + '\xB5': 'micro', + "\u039C": 'Mu', + "\u03BD": 'nu', + "\u039D": 'Nu', + "\u03BE": 'xi', + "\u039E": 'Xi', + "\u03BF": 'omicron', + "\u039F": 'Omicron', + "\u03C0": 'pi', + "\u03D6": 'piv', + "\u03A0": 'Pi', + "\u03C1": 'rho', + "\u03F1": 'rhov', + "\u03A1": 'Rho', + "\u03C3": 'sigma', + "\u03A3": 'Sigma', + "\u03C2": 'sigmaf', + "\u03C4": 'tau', + "\u03A4": 'Tau', + "\u03C5": 'upsi', + "\u03A5": 'Upsilon', + "\u03D2": 'Upsi', + "\u03C6": 'phi', + "\u03D5": 'phiv', + "\u03A6": 'Phi', + "\u03C7": 'chi', + "\u03A7": 'Chi', + "\u03C8": 'psi', + "\u03A8": 'Psi', + "\u03C9": 'omega', + "\u03A9": 'ohm', + "\u0430": 'acy', + "\u0410": 'Acy', + "\u0431": 'bcy', + "\u0411": 'Bcy', + "\u0432": 'vcy', + "\u0412": 'Vcy', + "\u0433": 'gcy', + "\u0413": 'Gcy', + "\u0453": 'gjcy', + "\u0403": 'GJcy', + "\u0434": 'dcy', + "\u0414": 'Dcy', + "\u0452": 'djcy', + "\u0402": 'DJcy', + "\u0435": 'iecy', + "\u0415": 'IEcy', + "\u0451": 'iocy', + "\u0401": 'IOcy', + "\u0454": 'jukcy', + "\u0404": 'Jukcy', + "\u0436": 'zhcy', + "\u0416": 'ZHcy', + "\u0437": 'zcy', + "\u0417": 'Zcy', + "\u0455": 'dscy', + "\u0405": 'DScy', + "\u0438": 'icy', + "\u0418": 'Icy', + "\u0456": 'iukcy', + "\u0406": 'Iukcy', + "\u0457": 'yicy', + "\u0407": 'YIcy', + "\u0439": 'jcy', + "\u0419": 'Jcy', + "\u0458": 'jsercy', + "\u0408": 'Jsercy', + "\u043A": 'kcy', + "\u041A": 'Kcy', + "\u045C": 'kjcy', + "\u040C": 'KJcy', + "\u043B": 'lcy', + "\u041B": 'Lcy', + "\u0459": 'ljcy', + "\u0409": 'LJcy', + "\u043C": 'mcy', + "\u041C": 'Mcy', + "\u043D": 'ncy', + "\u041D": 'Ncy', + "\u045A": 'njcy', + "\u040A": 'NJcy', + "\u043E": 'ocy', + "\u041E": 'Ocy', + "\u043F": 'pcy', + "\u041F": 'Pcy', + "\u0440": 'rcy', + "\u0420": 'Rcy', + "\u0441": 'scy', + "\u0421": 'Scy', + "\u0442": 'tcy', + "\u0422": 'Tcy', + "\u045B": 'tshcy', + "\u040B": 'TSHcy', + "\u0443": 'ucy', + "\u0423": 'Ucy', + "\u045E": 'ubrcy', + "\u040E": 'Ubrcy', + "\u0444": 'fcy', + "\u0424": 'Fcy', + "\u0445": 'khcy', + "\u0425": 'KHcy', + "\u0446": 'tscy', + "\u0426": 'TScy', + "\u0447": 'chcy', + "\u0427": 'CHcy', + "\u045F": 'dzcy', + "\u040F": 'DZcy', + "\u0448": 'shcy', + "\u0428": 'SHcy', + "\u0449": 'shchcy', + "\u0429": 'SHCHcy', + "\u044A": 'hardcy', + "\u042A": 'HARDcy', + "\u044B": 'ycy', + "\u042B": 'Ycy', + "\u044C": 'softcy', + "\u042C": 'SOFTcy', + "\u044D": 'ecy', + "\u042D": 'Ecy', + "\u044E": 'yucy', + "\u042E": 'YUcy', + "\u044F": 'yacy', + "\u042F": 'YAcy', + "\u2135": 'aleph', + "\u2136": 'beth', + "\u2137": 'gimel', + "\u2138": 'daleth' + }; + var regexEscape = /["&'<>`]/g; + var escapeMap = { + '"': '"', + '&': '&', + '\'': ''', + '<': '<', + // See https://mathiasbynens.be/notes/ambiguous-ampersands: in HTML, the + // following is not strictly necessary unless it’s part of a tag or an + // unquoted attribute value. We’re only escaping it to support those + // situations, and for XML support. + '>': '>', + // In Internet Explorer ≤ 8, the backtick character can be used + // to break out of (un)quoted attribute values or HTML comments. + // See http://html5sec.org/#102, http://html5sec.org/#108, and + // http://html5sec.org/#133. + '`': '`' + }; + var regexInvalidEntity = /&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/; + var regexInvalidRawCodePoint = /[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; + var regexDecode = /&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g; + var decodeMap = { + 'aacute': '\xE1', + 'Aacute': '\xC1', + 'abreve': "\u0103", + 'Abreve': "\u0102", + 'ac': "\u223E", + 'acd': "\u223F", + 'acE': "\u223E\u0333", + 'acirc': '\xE2', + 'Acirc': '\xC2', + 'acute': '\xB4', + 'acy': "\u0430", + 'Acy': "\u0410", + 'aelig': '\xE6', + 'AElig': '\xC6', + 'af': "\u2061", + 'afr': "\uD835\uDD1E", + 'Afr': "\uD835\uDD04", + 'agrave': '\xE0', + 'Agrave': '\xC0', + 'alefsym': "\u2135", + 'aleph': "\u2135", + 'alpha': "\u03B1", + 'Alpha': "\u0391", + 'amacr': "\u0101", + 'Amacr': "\u0100", + 'amalg': "\u2A3F", + 'amp': '&', + 'AMP': '&', + 'and': "\u2227", + 'And': "\u2A53", + 'andand': "\u2A55", + 'andd': "\u2A5C", + 'andslope': "\u2A58", + 'andv': "\u2A5A", + 'ang': "\u2220", + 'ange': "\u29A4", + 'angle': "\u2220", + 'angmsd': "\u2221", + 'angmsdaa': "\u29A8", + 'angmsdab': "\u29A9", + 'angmsdac': "\u29AA", + 'angmsdad': "\u29AB", + 'angmsdae': "\u29AC", + 'angmsdaf': "\u29AD", + 'angmsdag': "\u29AE", + 'angmsdah': "\u29AF", + 'angrt': "\u221F", + 'angrtvb': "\u22BE", + 'angrtvbd': "\u299D", + 'angsph': "\u2222", + 'angst': '\xC5', + 'angzarr': "\u237C", + 'aogon': "\u0105", + 'Aogon': "\u0104", + 'aopf': "\uD835\uDD52", + 'Aopf': "\uD835\uDD38", + 'ap': "\u2248", + 'apacir': "\u2A6F", + 'ape': "\u224A", + 'apE': "\u2A70", + 'apid': "\u224B", + 'apos': '\'', + 'ApplyFunction': "\u2061", + 'approx': "\u2248", + 'approxeq': "\u224A", + 'aring': '\xE5', + 'Aring': '\xC5', + 'ascr': "\uD835\uDCB6", + 'Ascr': "\uD835\uDC9C", + 'Assign': "\u2254", + 'ast': '*', + 'asymp': "\u2248", + 'asympeq': "\u224D", + 'atilde': '\xE3', + 'Atilde': '\xC3', + 'auml': '\xE4', + 'Auml': '\xC4', + 'awconint': "\u2233", + 'awint': "\u2A11", + 'backcong': "\u224C", + 'backepsilon': "\u03F6", + 'backprime': "\u2035", + 'backsim': "\u223D", + 'backsimeq': "\u22CD", + 'Backslash': "\u2216", + 'Barv': "\u2AE7", + 'barvee': "\u22BD", + 'barwed': "\u2305", + 'Barwed': "\u2306", + 'barwedge': "\u2305", + 'bbrk': "\u23B5", + 'bbrktbrk': "\u23B6", + 'bcong': "\u224C", + 'bcy': "\u0431", + 'Bcy': "\u0411", + 'bdquo': "\u201E", + 'becaus': "\u2235", + 'because': "\u2235", + 'Because': "\u2235", + 'bemptyv': "\u29B0", + 'bepsi': "\u03F6", + 'bernou': "\u212C", + 'Bernoullis': "\u212C", + 'beta': "\u03B2", + 'Beta': "\u0392", + 'beth': "\u2136", + 'between': "\u226C", + 'bfr': "\uD835\uDD1F", + 'Bfr': "\uD835\uDD05", + 'bigcap': "\u22C2", + 'bigcirc': "\u25EF", + 'bigcup': "\u22C3", + 'bigodot': "\u2A00", + 'bigoplus': "\u2A01", + 'bigotimes': "\u2A02", + 'bigsqcup': "\u2A06", + 'bigstar': "\u2605", + 'bigtriangledown': "\u25BD", + 'bigtriangleup': "\u25B3", + 'biguplus': "\u2A04", + 'bigvee': "\u22C1", + 'bigwedge': "\u22C0", + 'bkarow': "\u290D", + 'blacklozenge': "\u29EB", + 'blacksquare': "\u25AA", + 'blacktriangle': "\u25B4", + 'blacktriangledown': "\u25BE", + 'blacktriangleleft': "\u25C2", + 'blacktriangleright': "\u25B8", + 'blank': "\u2423", + 'blk12': "\u2592", + 'blk14': "\u2591", + 'blk34': "\u2593", + 'block': "\u2588", + 'bne': "=\u20E5", + 'bnequiv': "\u2261\u20E5", + 'bnot': "\u2310", + 'bNot': "\u2AED", + 'bopf': "\uD835\uDD53", + 'Bopf': "\uD835\uDD39", + 'bot': "\u22A5", + 'bottom': "\u22A5", + 'bowtie': "\u22C8", + 'boxbox': "\u29C9", + 'boxdl': "\u2510", + 'boxdL': "\u2555", + 'boxDl': "\u2556", + 'boxDL': "\u2557", + 'boxdr': "\u250C", + 'boxdR': "\u2552", + 'boxDr': "\u2553", + 'boxDR': "\u2554", + 'boxh': "\u2500", + 'boxH': "\u2550", + 'boxhd': "\u252C", + 'boxhD': "\u2565", + 'boxHd': "\u2564", + 'boxHD': "\u2566", + 'boxhu': "\u2534", + 'boxhU': "\u2568", + 'boxHu': "\u2567", + 'boxHU': "\u2569", + 'boxminus': "\u229F", + 'boxplus': "\u229E", + 'boxtimes': "\u22A0", + 'boxul': "\u2518", + 'boxuL': "\u255B", + 'boxUl': "\u255C", + 'boxUL': "\u255D", + 'boxur': "\u2514", + 'boxuR': "\u2558", + 'boxUr': "\u2559", + 'boxUR': "\u255A", + 'boxv': "\u2502", + 'boxV': "\u2551", + 'boxvh': "\u253C", + 'boxvH': "\u256A", + 'boxVh': "\u256B", + 'boxVH': "\u256C", + 'boxvl': "\u2524", + 'boxvL': "\u2561", + 'boxVl': "\u2562", + 'boxVL': "\u2563", + 'boxvr': "\u251C", + 'boxvR': "\u255E", + 'boxVr': "\u255F", + 'boxVR': "\u2560", + 'bprime': "\u2035", + 'breve': "\u02D8", + 'Breve': "\u02D8", + 'brvbar': '\xA6', + 'bscr': "\uD835\uDCB7", + 'Bscr': "\u212C", + 'bsemi': "\u204F", + 'bsim': "\u223D", + 'bsime': "\u22CD", + 'bsol': '\\', + 'bsolb': "\u29C5", + 'bsolhsub': "\u27C8", + 'bull': "\u2022", + 'bullet': "\u2022", + 'bump': "\u224E", + 'bumpe': "\u224F", + 'bumpE': "\u2AAE", + 'bumpeq': "\u224F", + 'Bumpeq': "\u224E", + 'cacute': "\u0107", + 'Cacute': "\u0106", + 'cap': "\u2229", + 'Cap': "\u22D2", + 'capand': "\u2A44", + 'capbrcup': "\u2A49", + 'capcap': "\u2A4B", + 'capcup': "\u2A47", + 'capdot': "\u2A40", + 'CapitalDifferentialD': "\u2145", + 'caps': "\u2229\uFE00", + 'caret': "\u2041", + 'caron': "\u02C7", + 'Cayleys': "\u212D", + 'ccaps': "\u2A4D", + 'ccaron': "\u010D", + 'Ccaron': "\u010C", + 'ccedil': '\xE7', + 'Ccedil': '\xC7', + 'ccirc': "\u0109", + 'Ccirc': "\u0108", + 'Cconint': "\u2230", + 'ccups': "\u2A4C", + 'ccupssm': "\u2A50", + 'cdot': "\u010B", + 'Cdot': "\u010A", + 'cedil': '\xB8', + 'Cedilla': '\xB8', + 'cemptyv': "\u29B2", + 'cent': '\xA2', + 'centerdot': '\xB7', + 'CenterDot': '\xB7', + 'cfr': "\uD835\uDD20", + 'Cfr': "\u212D", + 'chcy': "\u0447", + 'CHcy': "\u0427", + 'check': "\u2713", + 'checkmark': "\u2713", + 'chi': "\u03C7", + 'Chi': "\u03A7", + 'cir': "\u25CB", + 'circ': "\u02C6", + 'circeq': "\u2257", + 'circlearrowleft': "\u21BA", + 'circlearrowright': "\u21BB", + 'circledast': "\u229B", + 'circledcirc': "\u229A", + 'circleddash': "\u229D", + 'CircleDot': "\u2299", + 'circledR': '\xAE', + 'circledS': "\u24C8", + 'CircleMinus': "\u2296", + 'CirclePlus': "\u2295", + 'CircleTimes': "\u2297", + 'cire': "\u2257", + 'cirE': "\u29C3", + 'cirfnint': "\u2A10", + 'cirmid': "\u2AEF", + 'cirscir': "\u29C2", + 'ClockwiseContourIntegral': "\u2232", + 'CloseCurlyDoubleQuote': "\u201D", + 'CloseCurlyQuote': "\u2019", + 'clubs': "\u2663", + 'clubsuit': "\u2663", + 'colon': ':', + 'Colon': "\u2237", + 'colone': "\u2254", + 'Colone': "\u2A74", + 'coloneq': "\u2254", + 'comma': ',', + 'commat': '@', + 'comp': "\u2201", + 'compfn': "\u2218", + 'complement': "\u2201", + 'complexes': "\u2102", + 'cong': "\u2245", + 'congdot': "\u2A6D", + 'Congruent': "\u2261", + 'conint': "\u222E", + 'Conint': "\u222F", + 'ContourIntegral': "\u222E", + 'copf': "\uD835\uDD54", + 'Copf': "\u2102", + 'coprod': "\u2210", + 'Coproduct': "\u2210", + 'copy': '\xA9', + 'COPY': '\xA9', + 'copysr': "\u2117", + 'CounterClockwiseContourIntegral': "\u2233", + 'crarr': "\u21B5", + 'cross': "\u2717", + 'Cross': "\u2A2F", + 'cscr': "\uD835\uDCB8", + 'Cscr': "\uD835\uDC9E", + 'csub': "\u2ACF", + 'csube': "\u2AD1", + 'csup': "\u2AD0", + 'csupe': "\u2AD2", + 'ctdot': "\u22EF", + 'cudarrl': "\u2938", + 'cudarrr': "\u2935", + 'cuepr': "\u22DE", + 'cuesc': "\u22DF", + 'cularr': "\u21B6", + 'cularrp': "\u293D", + 'cup': "\u222A", + 'Cup': "\u22D3", + 'cupbrcap': "\u2A48", + 'cupcap': "\u2A46", + 'CupCap': "\u224D", + 'cupcup': "\u2A4A", + 'cupdot': "\u228D", + 'cupor': "\u2A45", + 'cups': "\u222A\uFE00", + 'curarr': "\u21B7", + 'curarrm': "\u293C", + 'curlyeqprec': "\u22DE", + 'curlyeqsucc': "\u22DF", + 'curlyvee': "\u22CE", + 'curlywedge': "\u22CF", + 'curren': '\xA4', + 'curvearrowleft': "\u21B6", + 'curvearrowright': "\u21B7", + 'cuvee': "\u22CE", + 'cuwed': "\u22CF", + 'cwconint': "\u2232", + 'cwint': "\u2231", + 'cylcty': "\u232D", + 'dagger': "\u2020", + 'Dagger': "\u2021", + 'daleth': "\u2138", + 'darr': "\u2193", + 'dArr': "\u21D3", + 'Darr': "\u21A1", + 'dash': "\u2010", + 'dashv': "\u22A3", + 'Dashv': "\u2AE4", + 'dbkarow': "\u290F", + 'dblac': "\u02DD", + 'dcaron': "\u010F", + 'Dcaron': "\u010E", + 'dcy': "\u0434", + 'Dcy': "\u0414", + 'dd': "\u2146", + 'DD': "\u2145", + 'ddagger': "\u2021", + 'ddarr': "\u21CA", + 'DDotrahd': "\u2911", + 'ddotseq': "\u2A77", + 'deg': '\xB0', + 'Del': "\u2207", + 'delta': "\u03B4", + 'Delta': "\u0394", + 'demptyv': "\u29B1", + 'dfisht': "\u297F", + 'dfr': "\uD835\uDD21", + 'Dfr': "\uD835\uDD07", + 'dHar': "\u2965", + 'dharl': "\u21C3", + 'dharr': "\u21C2", + 'DiacriticalAcute': '\xB4', + 'DiacriticalDot': "\u02D9", + 'DiacriticalDoubleAcute': "\u02DD", + 'DiacriticalGrave': '`', + 'DiacriticalTilde': "\u02DC", + 'diam': "\u22C4", + 'diamond': "\u22C4", + 'Diamond': "\u22C4", + 'diamondsuit': "\u2666", + 'diams': "\u2666", + 'die': '\xA8', + 'DifferentialD': "\u2146", + 'digamma': "\u03DD", + 'disin': "\u22F2", + 'div': '\xF7', + 'divide': '\xF7', + 'divideontimes': "\u22C7", + 'divonx': "\u22C7", + 'djcy': "\u0452", + 'DJcy': "\u0402", + 'dlcorn': "\u231E", + 'dlcrop': "\u230D", + 'dollar': '$', + 'dopf': "\uD835\uDD55", + 'Dopf': "\uD835\uDD3B", + 'dot': "\u02D9", + 'Dot': '\xA8', + 'DotDot': "\u20DC", + 'doteq': "\u2250", + 'doteqdot': "\u2251", + 'DotEqual': "\u2250", + 'dotminus': "\u2238", + 'dotplus': "\u2214", + 'dotsquare': "\u22A1", + 'doublebarwedge': "\u2306", + 'DoubleContourIntegral': "\u222F", + 'DoubleDot': '\xA8', + 'DoubleDownArrow': "\u21D3", + 'DoubleLeftArrow': "\u21D0", + 'DoubleLeftRightArrow': "\u21D4", + 'DoubleLeftTee': "\u2AE4", + 'DoubleLongLeftArrow': "\u27F8", + 'DoubleLongLeftRightArrow': "\u27FA", + 'DoubleLongRightArrow': "\u27F9", + 'DoubleRightArrow': "\u21D2", + 'DoubleRightTee': "\u22A8", + 'DoubleUpArrow': "\u21D1", + 'DoubleUpDownArrow': "\u21D5", + 'DoubleVerticalBar': "\u2225", + 'downarrow': "\u2193", + 'Downarrow': "\u21D3", + 'DownArrow': "\u2193", + 'DownArrowBar': "\u2913", + 'DownArrowUpArrow': "\u21F5", + 'DownBreve': "\u0311", + 'downdownarrows': "\u21CA", + 'downharpoonleft': "\u21C3", + 'downharpoonright': "\u21C2", + 'DownLeftRightVector': "\u2950", + 'DownLeftTeeVector': "\u295E", + 'DownLeftVector': "\u21BD", + 'DownLeftVectorBar': "\u2956", + 'DownRightTeeVector': "\u295F", + 'DownRightVector': "\u21C1", + 'DownRightVectorBar': "\u2957", + 'DownTee': "\u22A4", + 'DownTeeArrow': "\u21A7", + 'drbkarow': "\u2910", + 'drcorn': "\u231F", + 'drcrop': "\u230C", + 'dscr': "\uD835\uDCB9", + 'Dscr': "\uD835\uDC9F", + 'dscy': "\u0455", + 'DScy': "\u0405", + 'dsol': "\u29F6", + 'dstrok': "\u0111", + 'Dstrok': "\u0110", + 'dtdot': "\u22F1", + 'dtri': "\u25BF", + 'dtrif': "\u25BE", + 'duarr': "\u21F5", + 'duhar': "\u296F", + 'dwangle': "\u29A6", + 'dzcy': "\u045F", + 'DZcy': "\u040F", + 'dzigrarr': "\u27FF", + 'eacute': '\xE9', + 'Eacute': '\xC9', + 'easter': "\u2A6E", + 'ecaron': "\u011B", + 'Ecaron': "\u011A", + 'ecir': "\u2256", + 'ecirc': '\xEA', + 'Ecirc': '\xCA', + 'ecolon': "\u2255", + 'ecy': "\u044D", + 'Ecy': "\u042D", + 'eDDot': "\u2A77", + 'edot': "\u0117", + 'eDot': "\u2251", + 'Edot': "\u0116", + 'ee': "\u2147", + 'efDot': "\u2252", + 'efr': "\uD835\uDD22", + 'Efr': "\uD835\uDD08", + 'eg': "\u2A9A", + 'egrave': '\xE8', + 'Egrave': '\xC8', + 'egs': "\u2A96", + 'egsdot': "\u2A98", + 'el': "\u2A99", + 'Element': "\u2208", + 'elinters': "\u23E7", + 'ell': "\u2113", + 'els': "\u2A95", + 'elsdot': "\u2A97", + 'emacr': "\u0113", + 'Emacr': "\u0112", + 'empty': "\u2205", + 'emptyset': "\u2205", + 'EmptySmallSquare': "\u25FB", + 'emptyv': "\u2205", + 'EmptyVerySmallSquare': "\u25AB", + 'emsp': "\u2003", + 'emsp13': "\u2004", + 'emsp14': "\u2005", + 'eng': "\u014B", + 'ENG': "\u014A", + 'ensp': "\u2002", + 'eogon': "\u0119", + 'Eogon': "\u0118", + 'eopf': "\uD835\uDD56", + 'Eopf': "\uD835\uDD3C", + 'epar': "\u22D5", + 'eparsl': "\u29E3", + 'eplus': "\u2A71", + 'epsi': "\u03B5", + 'epsilon': "\u03B5", + 'Epsilon': "\u0395", + 'epsiv': "\u03F5", + 'eqcirc': "\u2256", + 'eqcolon': "\u2255", + 'eqsim': "\u2242", + 'eqslantgtr': "\u2A96", + 'eqslantless': "\u2A95", + 'Equal': "\u2A75", + 'equals': '=', + 'EqualTilde': "\u2242", + 'equest': "\u225F", + 'Equilibrium': "\u21CC", + 'equiv': "\u2261", + 'equivDD': "\u2A78", + 'eqvparsl': "\u29E5", + 'erarr': "\u2971", + 'erDot': "\u2253", + 'escr': "\u212F", + 'Escr': "\u2130", + 'esdot': "\u2250", + 'esim': "\u2242", + 'Esim': "\u2A73", + 'eta': "\u03B7", + 'Eta': "\u0397", + 'eth': '\xF0', + 'ETH': '\xD0', + 'euml': '\xEB', + 'Euml': '\xCB', + 'euro': "\u20AC", + 'excl': '!', + 'exist': "\u2203", + 'Exists': "\u2203", + 'expectation': "\u2130", + 'exponentiale': "\u2147", + 'ExponentialE': "\u2147", + 'fallingdotseq': "\u2252", + 'fcy': "\u0444", + 'Fcy': "\u0424", + 'female': "\u2640", + 'ffilig': "\uFB03", + 'fflig': "\uFB00", + 'ffllig': "\uFB04", + 'ffr': "\uD835\uDD23", + 'Ffr': "\uD835\uDD09", + 'filig': "\uFB01", + 'FilledSmallSquare': "\u25FC", + 'FilledVerySmallSquare': "\u25AA", + 'fjlig': 'fj', + 'flat': "\u266D", + 'fllig': "\uFB02", + 'fltns': "\u25B1", + 'fnof': "\u0192", + 'fopf': "\uD835\uDD57", + 'Fopf': "\uD835\uDD3D", + 'forall': "\u2200", + 'ForAll': "\u2200", + 'fork': "\u22D4", + 'forkv': "\u2AD9", + 'Fouriertrf': "\u2131", + 'fpartint': "\u2A0D", + 'frac12': '\xBD', + 'frac13': "\u2153", + 'frac14': '\xBC', + 'frac15': "\u2155", + 'frac16': "\u2159", + 'frac18': "\u215B", + 'frac23': "\u2154", + 'frac25': "\u2156", + 'frac34': '\xBE', + 'frac35': "\u2157", + 'frac38': "\u215C", + 'frac45': "\u2158", + 'frac56': "\u215A", + 'frac58': "\u215D", + 'frac78': "\u215E", + 'frasl': "\u2044", + 'frown': "\u2322", + 'fscr': "\uD835\uDCBB", + 'Fscr': "\u2131", + 'gacute': "\u01F5", + 'gamma': "\u03B3", + 'Gamma': "\u0393", + 'gammad': "\u03DD", + 'Gammad': "\u03DC", + 'gap': "\u2A86", + 'gbreve': "\u011F", + 'Gbreve': "\u011E", + 'Gcedil': "\u0122", + 'gcirc': "\u011D", + 'Gcirc': "\u011C", + 'gcy': "\u0433", + 'Gcy': "\u0413", + 'gdot': "\u0121", + 'Gdot': "\u0120", + 'ge': "\u2265", + 'gE': "\u2267", + 'gel': "\u22DB", + 'gEl': "\u2A8C", + 'geq': "\u2265", + 'geqq': "\u2267", + 'geqslant': "\u2A7E", + 'ges': "\u2A7E", + 'gescc': "\u2AA9", + 'gesdot': "\u2A80", + 'gesdoto': "\u2A82", + 'gesdotol': "\u2A84", + 'gesl': "\u22DB\uFE00", + 'gesles': "\u2A94", + 'gfr': "\uD835\uDD24", + 'Gfr': "\uD835\uDD0A", + 'gg': "\u226B", + 'Gg': "\u22D9", + 'ggg': "\u22D9", + 'gimel': "\u2137", + 'gjcy': "\u0453", + 'GJcy': "\u0403", + 'gl': "\u2277", + 'gla': "\u2AA5", + 'glE': "\u2A92", + 'glj': "\u2AA4", + 'gnap': "\u2A8A", + 'gnapprox': "\u2A8A", + 'gne': "\u2A88", + 'gnE': "\u2269", + 'gneq': "\u2A88", + 'gneqq': "\u2269", + 'gnsim': "\u22E7", + 'gopf': "\uD835\uDD58", + 'Gopf': "\uD835\uDD3E", + 'grave': '`', + 'GreaterEqual': "\u2265", + 'GreaterEqualLess': "\u22DB", + 'GreaterFullEqual': "\u2267", + 'GreaterGreater': "\u2AA2", + 'GreaterLess': "\u2277", + 'GreaterSlantEqual': "\u2A7E", + 'GreaterTilde': "\u2273", + 'gscr': "\u210A", + 'Gscr': "\uD835\uDCA2", + 'gsim': "\u2273", + 'gsime': "\u2A8E", + 'gsiml': "\u2A90", + 'gt': '>', + 'Gt': "\u226B", + 'GT': '>', + 'gtcc': "\u2AA7", + 'gtcir': "\u2A7A", + 'gtdot': "\u22D7", + 'gtlPar': "\u2995", + 'gtquest': "\u2A7C", + 'gtrapprox': "\u2A86", + 'gtrarr': "\u2978", + 'gtrdot': "\u22D7", + 'gtreqless': "\u22DB", + 'gtreqqless': "\u2A8C", + 'gtrless': "\u2277", + 'gtrsim': "\u2273", + 'gvertneqq': "\u2269\uFE00", + 'gvnE': "\u2269\uFE00", + 'Hacek': "\u02C7", + 'hairsp': "\u200A", + 'half': '\xBD', + 'hamilt': "\u210B", + 'hardcy': "\u044A", + 'HARDcy': "\u042A", + 'harr': "\u2194", + 'hArr': "\u21D4", + 'harrcir': "\u2948", + 'harrw': "\u21AD", + 'Hat': '^', + 'hbar': "\u210F", + 'hcirc': "\u0125", + 'Hcirc': "\u0124", + 'hearts': "\u2665", + 'heartsuit': "\u2665", + 'hellip': "\u2026", + 'hercon': "\u22B9", + 'hfr': "\uD835\uDD25", + 'Hfr': "\u210C", + 'HilbertSpace': "\u210B", + 'hksearow': "\u2925", + 'hkswarow': "\u2926", + 'hoarr': "\u21FF", + 'homtht': "\u223B", + 'hookleftarrow': "\u21A9", + 'hookrightarrow': "\u21AA", + 'hopf': "\uD835\uDD59", + 'Hopf': "\u210D", + 'horbar': "\u2015", + 'HorizontalLine': "\u2500", + 'hscr': "\uD835\uDCBD", + 'Hscr': "\u210B", + 'hslash': "\u210F", + 'hstrok': "\u0127", + 'Hstrok': "\u0126", + 'HumpDownHump': "\u224E", + 'HumpEqual': "\u224F", + 'hybull': "\u2043", + 'hyphen': "\u2010", + 'iacute': '\xED', + 'Iacute': '\xCD', + 'ic': "\u2063", + 'icirc': '\xEE', + 'Icirc': '\xCE', + 'icy': "\u0438", + 'Icy': "\u0418", + 'Idot': "\u0130", + 'iecy': "\u0435", + 'IEcy': "\u0415", + 'iexcl': '\xA1', + 'iff': "\u21D4", + 'ifr': "\uD835\uDD26", + 'Ifr': "\u2111", + 'igrave': '\xEC', + 'Igrave': '\xCC', + 'ii': "\u2148", + 'iiiint': "\u2A0C", + 'iiint': "\u222D", + 'iinfin': "\u29DC", + 'iiota': "\u2129", + 'ijlig': "\u0133", + 'IJlig': "\u0132", + 'Im': "\u2111", + 'imacr': "\u012B", + 'Imacr': "\u012A", + 'image': "\u2111", + 'ImaginaryI': "\u2148", + 'imagline': "\u2110", + 'imagpart': "\u2111", + 'imath': "\u0131", + 'imof': "\u22B7", + 'imped': "\u01B5", + 'Implies': "\u21D2", + 'in': "\u2208", + 'incare': "\u2105", + 'infin': "\u221E", + 'infintie': "\u29DD", + 'inodot': "\u0131", + 'int': "\u222B", + 'Int': "\u222C", + 'intcal': "\u22BA", + 'integers': "\u2124", + 'Integral': "\u222B", + 'intercal': "\u22BA", + 'Intersection': "\u22C2", + 'intlarhk': "\u2A17", + 'intprod': "\u2A3C", + 'InvisibleComma': "\u2063", + 'InvisibleTimes': "\u2062", + 'iocy': "\u0451", + 'IOcy': "\u0401", + 'iogon': "\u012F", + 'Iogon': "\u012E", + 'iopf': "\uD835\uDD5A", + 'Iopf': "\uD835\uDD40", + 'iota': "\u03B9", + 'Iota': "\u0399", + 'iprod': "\u2A3C", + 'iquest': '\xBF', + 'iscr': "\uD835\uDCBE", + 'Iscr': "\u2110", + 'isin': "\u2208", + 'isindot': "\u22F5", + 'isinE': "\u22F9", + 'isins': "\u22F4", + 'isinsv': "\u22F3", + 'isinv': "\u2208", + 'it': "\u2062", + 'itilde': "\u0129", + 'Itilde': "\u0128", + 'iukcy': "\u0456", + 'Iukcy': "\u0406", + 'iuml': '\xEF', + 'Iuml': '\xCF', + 'jcirc': "\u0135", + 'Jcirc': "\u0134", + 'jcy': "\u0439", + 'Jcy': "\u0419", + 'jfr': "\uD835\uDD27", + 'Jfr': "\uD835\uDD0D", + 'jmath': "\u0237", + 'jopf': "\uD835\uDD5B", + 'Jopf': "\uD835\uDD41", + 'jscr': "\uD835\uDCBF", + 'Jscr': "\uD835\uDCA5", + 'jsercy': "\u0458", + 'Jsercy': "\u0408", + 'jukcy': "\u0454", + 'Jukcy': "\u0404", + 'kappa': "\u03BA", + 'Kappa': "\u039A", + 'kappav': "\u03F0", + 'kcedil': "\u0137", + 'Kcedil': "\u0136", + 'kcy': "\u043A", + 'Kcy': "\u041A", + 'kfr': "\uD835\uDD28", + 'Kfr': "\uD835\uDD0E", + 'kgreen': "\u0138", + 'khcy': "\u0445", + 'KHcy': "\u0425", + 'kjcy': "\u045C", + 'KJcy': "\u040C", + 'kopf': "\uD835\uDD5C", + 'Kopf': "\uD835\uDD42", + 'kscr': "\uD835\uDCC0", + 'Kscr': "\uD835\uDCA6", + 'lAarr': "\u21DA", + 'lacute': "\u013A", + 'Lacute': "\u0139", + 'laemptyv': "\u29B4", + 'lagran': "\u2112", + 'lambda': "\u03BB", + 'Lambda': "\u039B", + 'lang': "\u27E8", + 'Lang': "\u27EA", + 'langd': "\u2991", + 'langle': "\u27E8", + 'lap': "\u2A85", + 'Laplacetrf': "\u2112", + 'laquo': '\xAB', + 'larr': "\u2190", + 'lArr': "\u21D0", + 'Larr': "\u219E", + 'larrb': "\u21E4", + 'larrbfs': "\u291F", + 'larrfs': "\u291D", + 'larrhk': "\u21A9", + 'larrlp': "\u21AB", + 'larrpl': "\u2939", + 'larrsim': "\u2973", + 'larrtl': "\u21A2", + 'lat': "\u2AAB", + 'latail': "\u2919", + 'lAtail': "\u291B", + 'late': "\u2AAD", + 'lates': "\u2AAD\uFE00", + 'lbarr': "\u290C", + 'lBarr': "\u290E", + 'lbbrk': "\u2772", + 'lbrace': '{', + 'lbrack': '[', + 'lbrke': "\u298B", + 'lbrksld': "\u298F", + 'lbrkslu': "\u298D", + 'lcaron': "\u013E", + 'Lcaron': "\u013D", + 'lcedil': "\u013C", + 'Lcedil': "\u013B", + 'lceil': "\u2308", + 'lcub': '{', + 'lcy': "\u043B", + 'Lcy': "\u041B", + 'ldca': "\u2936", + 'ldquo': "\u201C", + 'ldquor': "\u201E", + 'ldrdhar': "\u2967", + 'ldrushar': "\u294B", + 'ldsh': "\u21B2", + 'le': "\u2264", + 'lE': "\u2266", + 'LeftAngleBracket': "\u27E8", + 'leftarrow': "\u2190", + 'Leftarrow': "\u21D0", + 'LeftArrow': "\u2190", + 'LeftArrowBar': "\u21E4", + 'LeftArrowRightArrow': "\u21C6", + 'leftarrowtail': "\u21A2", + 'LeftCeiling': "\u2308", + 'LeftDoubleBracket': "\u27E6", + 'LeftDownTeeVector': "\u2961", + 'LeftDownVector': "\u21C3", + 'LeftDownVectorBar': "\u2959", + 'LeftFloor': "\u230A", + 'leftharpoondown': "\u21BD", + 'leftharpoonup': "\u21BC", + 'leftleftarrows': "\u21C7", + 'leftrightarrow': "\u2194", + 'Leftrightarrow': "\u21D4", + 'LeftRightArrow': "\u2194", + 'leftrightarrows': "\u21C6", + 'leftrightharpoons': "\u21CB", + 'leftrightsquigarrow': "\u21AD", + 'LeftRightVector': "\u294E", + 'LeftTee': "\u22A3", + 'LeftTeeArrow': "\u21A4", + 'LeftTeeVector': "\u295A", + 'leftthreetimes': "\u22CB", + 'LeftTriangle': "\u22B2", + 'LeftTriangleBar': "\u29CF", + 'LeftTriangleEqual': "\u22B4", + 'LeftUpDownVector': "\u2951", + 'LeftUpTeeVector': "\u2960", + 'LeftUpVector': "\u21BF", + 'LeftUpVectorBar': "\u2958", + 'LeftVector': "\u21BC", + 'LeftVectorBar': "\u2952", + 'leg': "\u22DA", + 'lEg': "\u2A8B", + 'leq': "\u2264", + 'leqq': "\u2266", + 'leqslant': "\u2A7D", + 'les': "\u2A7D", + 'lescc': "\u2AA8", + 'lesdot': "\u2A7F", + 'lesdoto': "\u2A81", + 'lesdotor': "\u2A83", + 'lesg': "\u22DA\uFE00", + 'lesges': "\u2A93", + 'lessapprox': "\u2A85", + 'lessdot': "\u22D6", + 'lesseqgtr': "\u22DA", + 'lesseqqgtr': "\u2A8B", + 'LessEqualGreater': "\u22DA", + 'LessFullEqual': "\u2266", + 'LessGreater': "\u2276", + 'lessgtr': "\u2276", + 'LessLess': "\u2AA1", + 'lesssim': "\u2272", + 'LessSlantEqual': "\u2A7D", + 'LessTilde': "\u2272", + 'lfisht': "\u297C", + 'lfloor': "\u230A", + 'lfr': "\uD835\uDD29", + 'Lfr': "\uD835\uDD0F", + 'lg': "\u2276", + 'lgE': "\u2A91", + 'lHar': "\u2962", + 'lhard': "\u21BD", + 'lharu': "\u21BC", + 'lharul': "\u296A", + 'lhblk': "\u2584", + 'ljcy': "\u0459", + 'LJcy': "\u0409", + 'll': "\u226A", + 'Ll': "\u22D8", + 'llarr': "\u21C7", + 'llcorner': "\u231E", + 'Lleftarrow': "\u21DA", + 'llhard': "\u296B", + 'lltri': "\u25FA", + 'lmidot': "\u0140", + 'Lmidot': "\u013F", + 'lmoust': "\u23B0", + 'lmoustache': "\u23B0", + 'lnap': "\u2A89", + 'lnapprox': "\u2A89", + 'lne': "\u2A87", + 'lnE': "\u2268", + 'lneq': "\u2A87", + 'lneqq': "\u2268", + 'lnsim': "\u22E6", + 'loang': "\u27EC", + 'loarr': "\u21FD", + 'lobrk': "\u27E6", + 'longleftarrow': "\u27F5", + 'Longleftarrow': "\u27F8", + 'LongLeftArrow': "\u27F5", + 'longleftrightarrow': "\u27F7", + 'Longleftrightarrow': "\u27FA", + 'LongLeftRightArrow': "\u27F7", + 'longmapsto': "\u27FC", + 'longrightarrow': "\u27F6", + 'Longrightarrow': "\u27F9", + 'LongRightArrow': "\u27F6", + 'looparrowleft': "\u21AB", + 'looparrowright': "\u21AC", + 'lopar': "\u2985", + 'lopf': "\uD835\uDD5D", + 'Lopf': "\uD835\uDD43", + 'loplus': "\u2A2D", + 'lotimes': "\u2A34", + 'lowast': "\u2217", + 'lowbar': '_', + 'LowerLeftArrow': "\u2199", + 'LowerRightArrow': "\u2198", + 'loz': "\u25CA", + 'lozenge': "\u25CA", + 'lozf': "\u29EB", + 'lpar': '(', + 'lparlt': "\u2993", + 'lrarr': "\u21C6", + 'lrcorner': "\u231F", + 'lrhar': "\u21CB", + 'lrhard': "\u296D", + 'lrm': "\u200E", + 'lrtri': "\u22BF", + 'lsaquo': "\u2039", + 'lscr': "\uD835\uDCC1", + 'Lscr': "\u2112", + 'lsh': "\u21B0", + 'Lsh': "\u21B0", + 'lsim': "\u2272", + 'lsime': "\u2A8D", + 'lsimg': "\u2A8F", + 'lsqb': '[', + 'lsquo': "\u2018", + 'lsquor': "\u201A", + 'lstrok': "\u0142", + 'Lstrok': "\u0141", + 'lt': '<', + 'Lt': "\u226A", + 'LT': '<', + 'ltcc': "\u2AA6", + 'ltcir': "\u2A79", + 'ltdot': "\u22D6", + 'lthree': "\u22CB", + 'ltimes': "\u22C9", + 'ltlarr': "\u2976", + 'ltquest': "\u2A7B", + 'ltri': "\u25C3", + 'ltrie': "\u22B4", + 'ltrif': "\u25C2", + 'ltrPar': "\u2996", + 'lurdshar': "\u294A", + 'luruhar': "\u2966", + 'lvertneqq': "\u2268\uFE00", + 'lvnE': "\u2268\uFE00", + 'macr': '\xAF', + 'male': "\u2642", + 'malt': "\u2720", + 'maltese': "\u2720", + 'map': "\u21A6", + 'Map': "\u2905", + 'mapsto': "\u21A6", + 'mapstodown': "\u21A7", + 'mapstoleft': "\u21A4", + 'mapstoup': "\u21A5", + 'marker': "\u25AE", + 'mcomma': "\u2A29", + 'mcy': "\u043C", + 'Mcy': "\u041C", + 'mdash': "\u2014", + 'mDDot': "\u223A", + 'measuredangle': "\u2221", + 'MediumSpace': "\u205F", + 'Mellintrf': "\u2133", + 'mfr': "\uD835\uDD2A", + 'Mfr': "\uD835\uDD10", + 'mho': "\u2127", + 'micro': '\xB5', + 'mid': "\u2223", + 'midast': '*', + 'midcir': "\u2AF0", + 'middot': '\xB7', + 'minus': "\u2212", + 'minusb': "\u229F", + 'minusd': "\u2238", + 'minusdu': "\u2A2A", + 'MinusPlus': "\u2213", + 'mlcp': "\u2ADB", + 'mldr': "\u2026", + 'mnplus': "\u2213", + 'models': "\u22A7", + 'mopf': "\uD835\uDD5E", + 'Mopf': "\uD835\uDD44", + 'mp': "\u2213", + 'mscr': "\uD835\uDCC2", + 'Mscr': "\u2133", + 'mstpos': "\u223E", + 'mu': "\u03BC", + 'Mu': "\u039C", + 'multimap': "\u22B8", + 'mumap': "\u22B8", + 'nabla': "\u2207", + 'nacute': "\u0144", + 'Nacute': "\u0143", + 'nang': "\u2220\u20D2", + 'nap': "\u2249", + 'napE': "\u2A70\u0338", + 'napid': "\u224B\u0338", + 'napos': "\u0149", + 'napprox': "\u2249", + 'natur': "\u266E", + 'natural': "\u266E", + 'naturals': "\u2115", + 'nbsp': '\xA0', + 'nbump': "\u224E\u0338", + 'nbumpe': "\u224F\u0338", + 'ncap': "\u2A43", + 'ncaron': "\u0148", + 'Ncaron': "\u0147", + 'ncedil': "\u0146", + 'Ncedil': "\u0145", + 'ncong': "\u2247", + 'ncongdot': "\u2A6D\u0338", + 'ncup': "\u2A42", + 'ncy': "\u043D", + 'Ncy': "\u041D", + 'ndash': "\u2013", + 'ne': "\u2260", + 'nearhk': "\u2924", + 'nearr': "\u2197", + 'neArr': "\u21D7", + 'nearrow': "\u2197", + 'nedot': "\u2250\u0338", + 'NegativeMediumSpace': "\u200B", + 'NegativeThickSpace': "\u200B", + 'NegativeThinSpace': "\u200B", + 'NegativeVeryThinSpace': "\u200B", + 'nequiv': "\u2262", + 'nesear': "\u2928", + 'nesim': "\u2242\u0338", + 'NestedGreaterGreater': "\u226B", + 'NestedLessLess': "\u226A", + 'NewLine': '\n', + 'nexist': "\u2204", + 'nexists': "\u2204", + 'nfr': "\uD835\uDD2B", + 'Nfr': "\uD835\uDD11", + 'nge': "\u2271", + 'ngE': "\u2267\u0338", + 'ngeq': "\u2271", + 'ngeqq': "\u2267\u0338", + 'ngeqslant': "\u2A7E\u0338", + 'nges': "\u2A7E\u0338", + 'nGg': "\u22D9\u0338", + 'ngsim': "\u2275", + 'ngt': "\u226F", + 'nGt': "\u226B\u20D2", + 'ngtr': "\u226F", + 'nGtv': "\u226B\u0338", + 'nharr': "\u21AE", + 'nhArr': "\u21CE", + 'nhpar': "\u2AF2", + 'ni': "\u220B", + 'nis': "\u22FC", + 'nisd': "\u22FA", + 'niv': "\u220B", + 'njcy': "\u045A", + 'NJcy': "\u040A", + 'nlarr': "\u219A", + 'nlArr': "\u21CD", + 'nldr': "\u2025", + 'nle': "\u2270", + 'nlE': "\u2266\u0338", + 'nleftarrow': "\u219A", + 'nLeftarrow': "\u21CD", + 'nleftrightarrow': "\u21AE", + 'nLeftrightarrow': "\u21CE", + 'nleq': "\u2270", + 'nleqq': "\u2266\u0338", + 'nleqslant': "\u2A7D\u0338", + 'nles': "\u2A7D\u0338", + 'nless': "\u226E", + 'nLl': "\u22D8\u0338", + 'nlsim': "\u2274", + 'nlt': "\u226E", + 'nLt': "\u226A\u20D2", + 'nltri': "\u22EA", + 'nltrie': "\u22EC", + 'nLtv': "\u226A\u0338", + 'nmid': "\u2224", + 'NoBreak': "\u2060", + 'NonBreakingSpace': '\xA0', + 'nopf': "\uD835\uDD5F", + 'Nopf': "\u2115", + 'not': '\xAC', + 'Not': "\u2AEC", + 'NotCongruent': "\u2262", + 'NotCupCap': "\u226D", + 'NotDoubleVerticalBar': "\u2226", + 'NotElement': "\u2209", + 'NotEqual': "\u2260", + 'NotEqualTilde': "\u2242\u0338", + 'NotExists': "\u2204", + 'NotGreater': "\u226F", + 'NotGreaterEqual': "\u2271", + 'NotGreaterFullEqual': "\u2267\u0338", + 'NotGreaterGreater': "\u226B\u0338", + 'NotGreaterLess': "\u2279", + 'NotGreaterSlantEqual': "\u2A7E\u0338", + 'NotGreaterTilde': "\u2275", + 'NotHumpDownHump': "\u224E\u0338", + 'NotHumpEqual': "\u224F\u0338", + 'notin': "\u2209", + 'notindot': "\u22F5\u0338", + 'notinE': "\u22F9\u0338", + 'notinva': "\u2209", + 'notinvb': "\u22F7", + 'notinvc': "\u22F6", + 'NotLeftTriangle': "\u22EA", + 'NotLeftTriangleBar': "\u29CF\u0338", + 'NotLeftTriangleEqual': "\u22EC", + 'NotLess': "\u226E", + 'NotLessEqual': "\u2270", + 'NotLessGreater': "\u2278", + 'NotLessLess': "\u226A\u0338", + 'NotLessSlantEqual': "\u2A7D\u0338", + 'NotLessTilde': "\u2274", + 'NotNestedGreaterGreater': "\u2AA2\u0338", + 'NotNestedLessLess': "\u2AA1\u0338", + 'notni': "\u220C", + 'notniva': "\u220C", + 'notnivb': "\u22FE", + 'notnivc': "\u22FD", + 'NotPrecedes': "\u2280", + 'NotPrecedesEqual': "\u2AAF\u0338", + 'NotPrecedesSlantEqual': "\u22E0", + 'NotReverseElement': "\u220C", + 'NotRightTriangle': "\u22EB", + 'NotRightTriangleBar': "\u29D0\u0338", + 'NotRightTriangleEqual': "\u22ED", + 'NotSquareSubset': "\u228F\u0338", + 'NotSquareSubsetEqual': "\u22E2", + 'NotSquareSuperset': "\u2290\u0338", + 'NotSquareSupersetEqual': "\u22E3", + 'NotSubset': "\u2282\u20D2", + 'NotSubsetEqual': "\u2288", + 'NotSucceeds': "\u2281", + 'NotSucceedsEqual': "\u2AB0\u0338", + 'NotSucceedsSlantEqual': "\u22E1", + 'NotSucceedsTilde': "\u227F\u0338", + 'NotSuperset': "\u2283\u20D2", + 'NotSupersetEqual': "\u2289", + 'NotTilde': "\u2241", + 'NotTildeEqual': "\u2244", + 'NotTildeFullEqual': "\u2247", + 'NotTildeTilde': "\u2249", + 'NotVerticalBar': "\u2224", + 'npar': "\u2226", + 'nparallel': "\u2226", + 'nparsl': "\u2AFD\u20E5", + 'npart': "\u2202\u0338", + 'npolint': "\u2A14", + 'npr': "\u2280", + 'nprcue': "\u22E0", + 'npre': "\u2AAF\u0338", + 'nprec': "\u2280", + 'npreceq': "\u2AAF\u0338", + 'nrarr': "\u219B", + 'nrArr': "\u21CF", + 'nrarrc': "\u2933\u0338", + 'nrarrw': "\u219D\u0338", + 'nrightarrow': "\u219B", + 'nRightarrow': "\u21CF", + 'nrtri': "\u22EB", + 'nrtrie': "\u22ED", + 'nsc': "\u2281", + 'nsccue': "\u22E1", + 'nsce': "\u2AB0\u0338", + 'nscr': "\uD835\uDCC3", + 'Nscr': "\uD835\uDCA9", + 'nshortmid': "\u2224", + 'nshortparallel': "\u2226", + 'nsim': "\u2241", + 'nsime': "\u2244", + 'nsimeq': "\u2244", + 'nsmid': "\u2224", + 'nspar': "\u2226", + 'nsqsube': "\u22E2", + 'nsqsupe': "\u22E3", + 'nsub': "\u2284", + 'nsube': "\u2288", + 'nsubE': "\u2AC5\u0338", + 'nsubset': "\u2282\u20D2", + 'nsubseteq': "\u2288", + 'nsubseteqq': "\u2AC5\u0338", + 'nsucc': "\u2281", + 'nsucceq': "\u2AB0\u0338", + 'nsup': "\u2285", + 'nsupe': "\u2289", + 'nsupE': "\u2AC6\u0338", + 'nsupset': "\u2283\u20D2", + 'nsupseteq': "\u2289", + 'nsupseteqq': "\u2AC6\u0338", + 'ntgl': "\u2279", + 'ntilde': '\xF1', + 'Ntilde': '\xD1', + 'ntlg': "\u2278", + 'ntriangleleft': "\u22EA", + 'ntrianglelefteq': "\u22EC", + 'ntriangleright': "\u22EB", + 'ntrianglerighteq': "\u22ED", + 'nu': "\u03BD", + 'Nu': "\u039D", + 'num': '#', + 'numero': "\u2116", + 'numsp': "\u2007", + 'nvap': "\u224D\u20D2", + 'nvdash': "\u22AC", + 'nvDash': "\u22AD", + 'nVdash': "\u22AE", + 'nVDash': "\u22AF", + 'nvge': "\u2265\u20D2", + 'nvgt': ">\u20D2", + 'nvHarr': "\u2904", + 'nvinfin': "\u29DE", + 'nvlArr': "\u2902", + 'nvle': "\u2264\u20D2", + 'nvlt': "<\u20D2", + 'nvltrie': "\u22B4\u20D2", + 'nvrArr': "\u2903", + 'nvrtrie': "\u22B5\u20D2", + 'nvsim': "\u223C\u20D2", + 'nwarhk': "\u2923", + 'nwarr': "\u2196", + 'nwArr': "\u21D6", + 'nwarrow': "\u2196", + 'nwnear': "\u2927", + 'oacute': '\xF3', + 'Oacute': '\xD3', + 'oast': "\u229B", + 'ocir': "\u229A", + 'ocirc': '\xF4', + 'Ocirc': '\xD4', + 'ocy': "\u043E", + 'Ocy': "\u041E", + 'odash': "\u229D", + 'odblac': "\u0151", + 'Odblac': "\u0150", + 'odiv': "\u2A38", + 'odot': "\u2299", + 'odsold': "\u29BC", + 'oelig': "\u0153", + 'OElig': "\u0152", + 'ofcir': "\u29BF", + 'ofr': "\uD835\uDD2C", + 'Ofr': "\uD835\uDD12", + 'ogon': "\u02DB", + 'ograve': '\xF2', + 'Ograve': '\xD2', + 'ogt': "\u29C1", + 'ohbar': "\u29B5", + 'ohm': "\u03A9", + 'oint': "\u222E", + 'olarr': "\u21BA", + 'olcir': "\u29BE", + 'olcross': "\u29BB", + 'oline': "\u203E", + 'olt': "\u29C0", + 'omacr': "\u014D", + 'Omacr': "\u014C", + 'omega': "\u03C9", + 'Omega': "\u03A9", + 'omicron': "\u03BF", + 'Omicron': "\u039F", + 'omid': "\u29B6", + 'ominus': "\u2296", + 'oopf': "\uD835\uDD60", + 'Oopf': "\uD835\uDD46", + 'opar': "\u29B7", + 'OpenCurlyDoubleQuote': "\u201C", + 'OpenCurlyQuote': "\u2018", + 'operp': "\u29B9", + 'oplus': "\u2295", + 'or': "\u2228", + 'Or': "\u2A54", + 'orarr': "\u21BB", + 'ord': "\u2A5D", + 'order': "\u2134", + 'orderof': "\u2134", + 'ordf': '\xAA', + 'ordm': '\xBA', + 'origof': "\u22B6", + 'oror': "\u2A56", + 'orslope': "\u2A57", + 'orv': "\u2A5B", + 'oS': "\u24C8", + 'oscr': "\u2134", + 'Oscr': "\uD835\uDCAA", + 'oslash': '\xF8', + 'Oslash': '\xD8', + 'osol': "\u2298", + 'otilde': '\xF5', + 'Otilde': '\xD5', + 'otimes': "\u2297", + 'Otimes': "\u2A37", + 'otimesas': "\u2A36", + 'ouml': '\xF6', + 'Ouml': '\xD6', + 'ovbar': "\u233D", + 'OverBar': "\u203E", + 'OverBrace': "\u23DE", + 'OverBracket': "\u23B4", + 'OverParenthesis': "\u23DC", + 'par': "\u2225", + 'para': '\xB6', + 'parallel': "\u2225", + 'parsim': "\u2AF3", + 'parsl': "\u2AFD", + 'part': "\u2202", + 'PartialD': "\u2202", + 'pcy': "\u043F", + 'Pcy': "\u041F", + 'percnt': '%', + 'period': '.', + 'permil': "\u2030", + 'perp': "\u22A5", + 'pertenk': "\u2031", + 'pfr': "\uD835\uDD2D", + 'Pfr': "\uD835\uDD13", + 'phi': "\u03C6", + 'Phi': "\u03A6", + 'phiv': "\u03D5", + 'phmmat': "\u2133", + 'phone': "\u260E", + 'pi': "\u03C0", + 'Pi': "\u03A0", + 'pitchfork': "\u22D4", + 'piv': "\u03D6", + 'planck': "\u210F", + 'planckh': "\u210E", + 'plankv': "\u210F", + 'plus': '+', + 'plusacir': "\u2A23", + 'plusb': "\u229E", + 'pluscir': "\u2A22", + 'plusdo': "\u2214", + 'plusdu': "\u2A25", + 'pluse': "\u2A72", + 'PlusMinus': '\xB1', + 'plusmn': '\xB1', + 'plussim': "\u2A26", + 'plustwo': "\u2A27", + 'pm': '\xB1', + 'Poincareplane': "\u210C", + 'pointint': "\u2A15", + 'popf': "\uD835\uDD61", + 'Popf': "\u2119", + 'pound': '\xA3', + 'pr': "\u227A", + 'Pr': "\u2ABB", + 'prap': "\u2AB7", + 'prcue': "\u227C", + 'pre': "\u2AAF", + 'prE': "\u2AB3", + 'prec': "\u227A", + 'precapprox': "\u2AB7", + 'preccurlyeq': "\u227C", + 'Precedes': "\u227A", + 'PrecedesEqual': "\u2AAF", + 'PrecedesSlantEqual': "\u227C", + 'PrecedesTilde': "\u227E", + 'preceq': "\u2AAF", + 'precnapprox': "\u2AB9", + 'precneqq': "\u2AB5", + 'precnsim': "\u22E8", + 'precsim': "\u227E", + 'prime': "\u2032", + 'Prime': "\u2033", + 'primes': "\u2119", + 'prnap': "\u2AB9", + 'prnE': "\u2AB5", + 'prnsim': "\u22E8", + 'prod': "\u220F", + 'Product': "\u220F", + 'profalar': "\u232E", + 'profline': "\u2312", + 'profsurf': "\u2313", + 'prop': "\u221D", + 'Proportion': "\u2237", + 'Proportional': "\u221D", + 'propto': "\u221D", + 'prsim': "\u227E", + 'prurel': "\u22B0", + 'pscr': "\uD835\uDCC5", + 'Pscr': "\uD835\uDCAB", + 'psi': "\u03C8", + 'Psi': "\u03A8", + 'puncsp': "\u2008", + 'qfr': "\uD835\uDD2E", + 'Qfr': "\uD835\uDD14", + 'qint': "\u2A0C", + 'qopf': "\uD835\uDD62", + 'Qopf': "\u211A", + 'qprime': "\u2057", + 'qscr': "\uD835\uDCC6", + 'Qscr': "\uD835\uDCAC", + 'quaternions': "\u210D", + 'quatint': "\u2A16", + 'quest': '?', + 'questeq': "\u225F", + 'quot': '"', + 'QUOT': '"', + 'rAarr': "\u21DB", + 'race': "\u223D\u0331", + 'racute': "\u0155", + 'Racute': "\u0154", + 'radic': "\u221A", + 'raemptyv': "\u29B3", + 'rang': "\u27E9", + 'Rang': "\u27EB", + 'rangd': "\u2992", + 'range': "\u29A5", + 'rangle': "\u27E9", + 'raquo': '\xBB', + 'rarr': "\u2192", + 'rArr': "\u21D2", + 'Rarr': "\u21A0", + 'rarrap': "\u2975", + 'rarrb': "\u21E5", + 'rarrbfs': "\u2920", + 'rarrc': "\u2933", + 'rarrfs': "\u291E", + 'rarrhk': "\u21AA", + 'rarrlp': "\u21AC", + 'rarrpl': "\u2945", + 'rarrsim': "\u2974", + 'rarrtl': "\u21A3", + 'Rarrtl': "\u2916", + 'rarrw': "\u219D", + 'ratail': "\u291A", + 'rAtail': "\u291C", + 'ratio': "\u2236", + 'rationals': "\u211A", + 'rbarr': "\u290D", + 'rBarr': "\u290F", + 'RBarr': "\u2910", + 'rbbrk': "\u2773", + 'rbrace': '}', + 'rbrack': ']', + 'rbrke': "\u298C", + 'rbrksld': "\u298E", + 'rbrkslu': "\u2990", + 'rcaron': "\u0159", + 'Rcaron': "\u0158", + 'rcedil': "\u0157", + 'Rcedil': "\u0156", + 'rceil': "\u2309", + 'rcub': '}', + 'rcy': "\u0440", + 'Rcy': "\u0420", + 'rdca': "\u2937", + 'rdldhar': "\u2969", + 'rdquo': "\u201D", + 'rdquor': "\u201D", + 'rdsh': "\u21B3", + 'Re': "\u211C", + 'real': "\u211C", + 'realine': "\u211B", + 'realpart': "\u211C", + 'reals': "\u211D", + 'rect': "\u25AD", + 'reg': '\xAE', + 'REG': '\xAE', + 'ReverseElement': "\u220B", + 'ReverseEquilibrium': "\u21CB", + 'ReverseUpEquilibrium': "\u296F", + 'rfisht': "\u297D", + 'rfloor': "\u230B", + 'rfr': "\uD835\uDD2F", + 'Rfr': "\u211C", + 'rHar': "\u2964", + 'rhard': "\u21C1", + 'rharu': "\u21C0", + 'rharul': "\u296C", + 'rho': "\u03C1", + 'Rho': "\u03A1", + 'rhov': "\u03F1", + 'RightAngleBracket': "\u27E9", + 'rightarrow': "\u2192", + 'Rightarrow': "\u21D2", + 'RightArrow': "\u2192", + 'RightArrowBar': "\u21E5", + 'RightArrowLeftArrow': "\u21C4", + 'rightarrowtail': "\u21A3", + 'RightCeiling': "\u2309", + 'RightDoubleBracket': "\u27E7", + 'RightDownTeeVector': "\u295D", + 'RightDownVector': "\u21C2", + 'RightDownVectorBar': "\u2955", + 'RightFloor': "\u230B", + 'rightharpoondown': "\u21C1", + 'rightharpoonup': "\u21C0", + 'rightleftarrows': "\u21C4", + 'rightleftharpoons': "\u21CC", + 'rightrightarrows': "\u21C9", + 'rightsquigarrow': "\u219D", + 'RightTee': "\u22A2", + 'RightTeeArrow': "\u21A6", + 'RightTeeVector': "\u295B", + 'rightthreetimes': "\u22CC", + 'RightTriangle': "\u22B3", + 'RightTriangleBar': "\u29D0", + 'RightTriangleEqual': "\u22B5", + 'RightUpDownVector': "\u294F", + 'RightUpTeeVector': "\u295C", + 'RightUpVector': "\u21BE", + 'RightUpVectorBar': "\u2954", + 'RightVector': "\u21C0", + 'RightVectorBar': "\u2953", + 'ring': "\u02DA", + 'risingdotseq': "\u2253", + 'rlarr': "\u21C4", + 'rlhar': "\u21CC", + 'rlm': "\u200F", + 'rmoust': "\u23B1", + 'rmoustache': "\u23B1", + 'rnmid': "\u2AEE", + 'roang': "\u27ED", + 'roarr': "\u21FE", + 'robrk': "\u27E7", + 'ropar': "\u2986", + 'ropf': "\uD835\uDD63", + 'Ropf': "\u211D", + 'roplus': "\u2A2E", + 'rotimes': "\u2A35", + 'RoundImplies': "\u2970", + 'rpar': ')', + 'rpargt': "\u2994", + 'rppolint': "\u2A12", + 'rrarr': "\u21C9", + 'Rrightarrow': "\u21DB", + 'rsaquo': "\u203A", + 'rscr': "\uD835\uDCC7", + 'Rscr': "\u211B", + 'rsh': "\u21B1", + 'Rsh': "\u21B1", + 'rsqb': ']', + 'rsquo': "\u2019", + 'rsquor': "\u2019", + 'rthree': "\u22CC", + 'rtimes': "\u22CA", + 'rtri': "\u25B9", + 'rtrie': "\u22B5", + 'rtrif': "\u25B8", + 'rtriltri': "\u29CE", + 'RuleDelayed': "\u29F4", + 'ruluhar': "\u2968", + 'rx': "\u211E", + 'sacute': "\u015B", + 'Sacute': "\u015A", + 'sbquo': "\u201A", + 'sc': "\u227B", + 'Sc': "\u2ABC", + 'scap': "\u2AB8", + 'scaron': "\u0161", + 'Scaron': "\u0160", + 'sccue': "\u227D", + 'sce': "\u2AB0", + 'scE': "\u2AB4", + 'scedil': "\u015F", + 'Scedil': "\u015E", + 'scirc': "\u015D", + 'Scirc': "\u015C", + 'scnap': "\u2ABA", + 'scnE': "\u2AB6", + 'scnsim': "\u22E9", + 'scpolint': "\u2A13", + 'scsim': "\u227F", + 'scy': "\u0441", + 'Scy': "\u0421", + 'sdot': "\u22C5", + 'sdotb': "\u22A1", + 'sdote': "\u2A66", + 'searhk': "\u2925", + 'searr': "\u2198", + 'seArr': "\u21D8", + 'searrow': "\u2198", + 'sect': '\xA7', + 'semi': ';', + 'seswar': "\u2929", + 'setminus': "\u2216", + 'setmn': "\u2216", + 'sext': "\u2736", + 'sfr': "\uD835\uDD30", + 'Sfr': "\uD835\uDD16", + 'sfrown': "\u2322", + 'sharp': "\u266F", + 'shchcy': "\u0449", + 'SHCHcy': "\u0429", + 'shcy': "\u0448", + 'SHcy': "\u0428", + 'ShortDownArrow': "\u2193", + 'ShortLeftArrow': "\u2190", + 'shortmid': "\u2223", + 'shortparallel': "\u2225", + 'ShortRightArrow': "\u2192", + 'ShortUpArrow': "\u2191", + 'shy': '\xAD', + 'sigma': "\u03C3", + 'Sigma': "\u03A3", + 'sigmaf': "\u03C2", + 'sigmav': "\u03C2", + 'sim': "\u223C", + 'simdot': "\u2A6A", + 'sime': "\u2243", + 'simeq': "\u2243", + 'simg': "\u2A9E", + 'simgE': "\u2AA0", + 'siml': "\u2A9D", + 'simlE': "\u2A9F", + 'simne': "\u2246", + 'simplus': "\u2A24", + 'simrarr': "\u2972", + 'slarr': "\u2190", + 'SmallCircle': "\u2218", + 'smallsetminus': "\u2216", + 'smashp': "\u2A33", + 'smeparsl': "\u29E4", + 'smid': "\u2223", + 'smile': "\u2323", + 'smt': "\u2AAA", + 'smte': "\u2AAC", + 'smtes': "\u2AAC\uFE00", + 'softcy': "\u044C", + 'SOFTcy': "\u042C", + 'sol': '/', + 'solb': "\u29C4", + 'solbar': "\u233F", + 'sopf': "\uD835\uDD64", + 'Sopf': "\uD835\uDD4A", + 'spades': "\u2660", + 'spadesuit': "\u2660", + 'spar': "\u2225", + 'sqcap': "\u2293", + 'sqcaps': "\u2293\uFE00", + 'sqcup': "\u2294", + 'sqcups': "\u2294\uFE00", + 'Sqrt': "\u221A", + 'sqsub': "\u228F", + 'sqsube': "\u2291", + 'sqsubset': "\u228F", + 'sqsubseteq': "\u2291", + 'sqsup': "\u2290", + 'sqsupe': "\u2292", + 'sqsupset': "\u2290", + 'sqsupseteq': "\u2292", + 'squ': "\u25A1", + 'square': "\u25A1", + 'Square': "\u25A1", + 'SquareIntersection': "\u2293", + 'SquareSubset': "\u228F", + 'SquareSubsetEqual': "\u2291", + 'SquareSuperset': "\u2290", + 'SquareSupersetEqual': "\u2292", + 'SquareUnion': "\u2294", + 'squarf': "\u25AA", + 'squf': "\u25AA", + 'srarr': "\u2192", + 'sscr': "\uD835\uDCC8", + 'Sscr': "\uD835\uDCAE", + 'ssetmn': "\u2216", + 'ssmile': "\u2323", + 'sstarf': "\u22C6", + 'star': "\u2606", + 'Star': "\u22C6", + 'starf': "\u2605", + 'straightepsilon': "\u03F5", + 'straightphi': "\u03D5", + 'strns': '\xAF', + 'sub': "\u2282", + 'Sub': "\u22D0", + 'subdot': "\u2ABD", + 'sube': "\u2286", + 'subE': "\u2AC5", + 'subedot': "\u2AC3", + 'submult': "\u2AC1", + 'subne': "\u228A", + 'subnE': "\u2ACB", + 'subplus': "\u2ABF", + 'subrarr': "\u2979", + 'subset': "\u2282", + 'Subset': "\u22D0", + 'subseteq': "\u2286", + 'subseteqq': "\u2AC5", + 'SubsetEqual': "\u2286", + 'subsetneq': "\u228A", + 'subsetneqq': "\u2ACB", + 'subsim': "\u2AC7", + 'subsub': "\u2AD5", + 'subsup': "\u2AD3", + 'succ': "\u227B", + 'succapprox': "\u2AB8", + 'succcurlyeq': "\u227D", + 'Succeeds': "\u227B", + 'SucceedsEqual': "\u2AB0", + 'SucceedsSlantEqual': "\u227D", + 'SucceedsTilde': "\u227F", + 'succeq': "\u2AB0", + 'succnapprox': "\u2ABA", + 'succneqq': "\u2AB6", + 'succnsim': "\u22E9", + 'succsim': "\u227F", + 'SuchThat': "\u220B", + 'sum': "\u2211", + 'Sum': "\u2211", + 'sung': "\u266A", + 'sup': "\u2283", + 'Sup': "\u22D1", + 'sup1': '\xB9', + 'sup2': '\xB2', + 'sup3': '\xB3', + 'supdot': "\u2ABE", + 'supdsub': "\u2AD8", + 'supe': "\u2287", + 'supE': "\u2AC6", + 'supedot': "\u2AC4", + 'Superset': "\u2283", + 'SupersetEqual': "\u2287", + 'suphsol': "\u27C9", + 'suphsub': "\u2AD7", + 'suplarr': "\u297B", + 'supmult': "\u2AC2", + 'supne': "\u228B", + 'supnE': "\u2ACC", + 'supplus': "\u2AC0", + 'supset': "\u2283", + 'Supset': "\u22D1", + 'supseteq': "\u2287", + 'supseteqq': "\u2AC6", + 'supsetneq': "\u228B", + 'supsetneqq': "\u2ACC", + 'supsim': "\u2AC8", + 'supsub': "\u2AD4", + 'supsup': "\u2AD6", + 'swarhk': "\u2926", + 'swarr': "\u2199", + 'swArr': "\u21D9", + 'swarrow': "\u2199", + 'swnwar': "\u292A", + 'szlig': '\xDF', + 'Tab': '\t', + 'target': "\u2316", + 'tau': "\u03C4", + 'Tau': "\u03A4", + 'tbrk': "\u23B4", + 'tcaron': "\u0165", + 'Tcaron': "\u0164", + 'tcedil': "\u0163", + 'Tcedil': "\u0162", + 'tcy': "\u0442", + 'Tcy': "\u0422", + 'tdot': "\u20DB", + 'telrec': "\u2315", + 'tfr': "\uD835\uDD31", + 'Tfr': "\uD835\uDD17", + 'there4': "\u2234", + 'therefore': "\u2234", + 'Therefore': "\u2234", + 'theta': "\u03B8", + 'Theta': "\u0398", + 'thetasym': "\u03D1", + 'thetav': "\u03D1", + 'thickapprox': "\u2248", + 'thicksim': "\u223C", + 'ThickSpace': "\u205F\u200A", + 'thinsp': "\u2009", + 'ThinSpace': "\u2009", + 'thkap': "\u2248", + 'thksim': "\u223C", + 'thorn': '\xFE', + 'THORN': '\xDE', + 'tilde': "\u02DC", + 'Tilde': "\u223C", + 'TildeEqual': "\u2243", + 'TildeFullEqual': "\u2245", + 'TildeTilde': "\u2248", + 'times': '\xD7', + 'timesb': "\u22A0", + 'timesbar': "\u2A31", + 'timesd': "\u2A30", + 'tint': "\u222D", + 'toea': "\u2928", + 'top': "\u22A4", + 'topbot': "\u2336", + 'topcir': "\u2AF1", + 'topf': "\uD835\uDD65", + 'Topf': "\uD835\uDD4B", + 'topfork': "\u2ADA", + 'tosa': "\u2929", + 'tprime': "\u2034", + 'trade': "\u2122", + 'TRADE': "\u2122", + 'triangle': "\u25B5", + 'triangledown': "\u25BF", + 'triangleleft': "\u25C3", + 'trianglelefteq': "\u22B4", + 'triangleq': "\u225C", + 'triangleright': "\u25B9", + 'trianglerighteq': "\u22B5", + 'tridot': "\u25EC", + 'trie': "\u225C", + 'triminus': "\u2A3A", + 'TripleDot': "\u20DB", + 'triplus': "\u2A39", + 'trisb': "\u29CD", + 'tritime': "\u2A3B", + 'trpezium': "\u23E2", + 'tscr': "\uD835\uDCC9", + 'Tscr': "\uD835\uDCAF", + 'tscy': "\u0446", + 'TScy': "\u0426", + 'tshcy': "\u045B", + 'TSHcy': "\u040B", + 'tstrok': "\u0167", + 'Tstrok': "\u0166", + 'twixt': "\u226C", + 'twoheadleftarrow': "\u219E", + 'twoheadrightarrow': "\u21A0", + 'uacute': '\xFA', + 'Uacute': '\xDA', + 'uarr': "\u2191", + 'uArr': "\u21D1", + 'Uarr': "\u219F", + 'Uarrocir': "\u2949", + 'ubrcy': "\u045E", + 'Ubrcy': "\u040E", + 'ubreve': "\u016D", + 'Ubreve': "\u016C", + 'ucirc': '\xFB', + 'Ucirc': '\xDB', + 'ucy': "\u0443", + 'Ucy': "\u0423", + 'udarr': "\u21C5", + 'udblac': "\u0171", + 'Udblac': "\u0170", + 'udhar': "\u296E", + 'ufisht': "\u297E", + 'ufr': "\uD835\uDD32", + 'Ufr': "\uD835\uDD18", + 'ugrave': '\xF9', + 'Ugrave': '\xD9', + 'uHar': "\u2963", + 'uharl': "\u21BF", + 'uharr': "\u21BE", + 'uhblk': "\u2580", + 'ulcorn': "\u231C", + 'ulcorner': "\u231C", + 'ulcrop': "\u230F", + 'ultri': "\u25F8", + 'umacr': "\u016B", + 'Umacr': "\u016A", + 'uml': '\xA8', + 'UnderBar': '_', + 'UnderBrace': "\u23DF", + 'UnderBracket': "\u23B5", + 'UnderParenthesis': "\u23DD", + 'Union': "\u22C3", + 'UnionPlus': "\u228E", + 'uogon': "\u0173", + 'Uogon': "\u0172", + 'uopf': "\uD835\uDD66", + 'Uopf': "\uD835\uDD4C", + 'uparrow': "\u2191", + 'Uparrow': "\u21D1", + 'UpArrow': "\u2191", + 'UpArrowBar': "\u2912", + 'UpArrowDownArrow': "\u21C5", + 'updownarrow': "\u2195", + 'Updownarrow': "\u21D5", + 'UpDownArrow': "\u2195", + 'UpEquilibrium': "\u296E", + 'upharpoonleft': "\u21BF", + 'upharpoonright': "\u21BE", + 'uplus': "\u228E", + 'UpperLeftArrow': "\u2196", + 'UpperRightArrow': "\u2197", + 'upsi': "\u03C5", + 'Upsi': "\u03D2", + 'upsih': "\u03D2", + 'upsilon': "\u03C5", + 'Upsilon': "\u03A5", + 'UpTee': "\u22A5", + 'UpTeeArrow': "\u21A5", + 'upuparrows': "\u21C8", + 'urcorn': "\u231D", + 'urcorner': "\u231D", + 'urcrop': "\u230E", + 'uring': "\u016F", + 'Uring': "\u016E", + 'urtri': "\u25F9", + 'uscr': "\uD835\uDCCA", + 'Uscr': "\uD835\uDCB0", + 'utdot': "\u22F0", + 'utilde': "\u0169", + 'Utilde': "\u0168", + 'utri': "\u25B5", + 'utrif': "\u25B4", + 'uuarr': "\u21C8", + 'uuml': '\xFC', + 'Uuml': '\xDC', + 'uwangle': "\u29A7", + 'vangrt': "\u299C", + 'varepsilon': "\u03F5", + 'varkappa': "\u03F0", + 'varnothing': "\u2205", + 'varphi': "\u03D5", + 'varpi': "\u03D6", + 'varpropto': "\u221D", + 'varr': "\u2195", + 'vArr': "\u21D5", + 'varrho': "\u03F1", + 'varsigma': "\u03C2", + 'varsubsetneq': "\u228A\uFE00", + 'varsubsetneqq': "\u2ACB\uFE00", + 'varsupsetneq': "\u228B\uFE00", + 'varsupsetneqq': "\u2ACC\uFE00", + 'vartheta': "\u03D1", + 'vartriangleleft': "\u22B2", + 'vartriangleright': "\u22B3", + 'vBar': "\u2AE8", + 'Vbar': "\u2AEB", + 'vBarv': "\u2AE9", + 'vcy': "\u0432", + 'Vcy': "\u0412", + 'vdash': "\u22A2", + 'vDash': "\u22A8", + 'Vdash': "\u22A9", + 'VDash': "\u22AB", + 'Vdashl': "\u2AE6", + 'vee': "\u2228", + 'Vee': "\u22C1", + 'veebar': "\u22BB", + 'veeeq': "\u225A", + 'vellip': "\u22EE", + 'verbar': '|', + 'Verbar': "\u2016", + 'vert': '|', + 'Vert': "\u2016", + 'VerticalBar': "\u2223", + 'VerticalLine': '|', + 'VerticalSeparator': "\u2758", + 'VerticalTilde': "\u2240", + 'VeryThinSpace': "\u200A", + 'vfr': "\uD835\uDD33", + 'Vfr': "\uD835\uDD19", + 'vltri': "\u22B2", + 'vnsub': "\u2282\u20D2", + 'vnsup': "\u2283\u20D2", + 'vopf': "\uD835\uDD67", + 'Vopf': "\uD835\uDD4D", + 'vprop': "\u221D", + 'vrtri': "\u22B3", + 'vscr': "\uD835\uDCCB", + 'Vscr': "\uD835\uDCB1", + 'vsubne': "\u228A\uFE00", + 'vsubnE': "\u2ACB\uFE00", + 'vsupne': "\u228B\uFE00", + 'vsupnE': "\u2ACC\uFE00", + 'Vvdash': "\u22AA", + 'vzigzag': "\u299A", + 'wcirc': "\u0175", + 'Wcirc': "\u0174", + 'wedbar': "\u2A5F", + 'wedge': "\u2227", + 'Wedge': "\u22C0", + 'wedgeq': "\u2259", + 'weierp': "\u2118", + 'wfr': "\uD835\uDD34", + 'Wfr': "\uD835\uDD1A", + 'wopf': "\uD835\uDD68", + 'Wopf': "\uD835\uDD4E", + 'wp': "\u2118", + 'wr': "\u2240", + 'wreath': "\u2240", + 'wscr': "\uD835\uDCCC", + 'Wscr': "\uD835\uDCB2", + 'xcap': "\u22C2", + 'xcirc': "\u25EF", + 'xcup': "\u22C3", + 'xdtri': "\u25BD", + 'xfr': "\uD835\uDD35", + 'Xfr': "\uD835\uDD1B", + 'xharr': "\u27F7", + 'xhArr': "\u27FA", + 'xi': "\u03BE", + 'Xi': "\u039E", + 'xlarr': "\u27F5", + 'xlArr': "\u27F8", + 'xmap': "\u27FC", + 'xnis': "\u22FB", + 'xodot': "\u2A00", + 'xopf': "\uD835\uDD69", + 'Xopf': "\uD835\uDD4F", + 'xoplus': "\u2A01", + 'xotime': "\u2A02", + 'xrarr': "\u27F6", + 'xrArr': "\u27F9", + 'xscr': "\uD835\uDCCD", + 'Xscr': "\uD835\uDCB3", + 'xsqcup': "\u2A06", + 'xuplus': "\u2A04", + 'xutri': "\u25B3", + 'xvee': "\u22C1", + 'xwedge': "\u22C0", + 'yacute': '\xFD', + 'Yacute': '\xDD', + 'yacy': "\u044F", + 'YAcy': "\u042F", + 'ycirc': "\u0177", + 'Ycirc': "\u0176", + 'ycy': "\u044B", + 'Ycy': "\u042B", + 'yen': '\xA5', + 'yfr': "\uD835\uDD36", + 'Yfr': "\uD835\uDD1C", + 'yicy': "\u0457", + 'YIcy': "\u0407", + 'yopf': "\uD835\uDD6A", + 'Yopf': "\uD835\uDD50", + 'yscr': "\uD835\uDCCE", + 'Yscr': "\uD835\uDCB4", + 'yucy': "\u044E", + 'YUcy': "\u042E", + 'yuml': '\xFF', + 'Yuml': "\u0178", + 'zacute': "\u017A", + 'Zacute': "\u0179", + 'zcaron': "\u017E", + 'Zcaron': "\u017D", + 'zcy': "\u0437", + 'Zcy': "\u0417", + 'zdot': "\u017C", + 'Zdot': "\u017B", + 'zeetrf': "\u2128", + 'ZeroWidthSpace': "\u200B", + 'zeta': "\u03B6", + 'Zeta': "\u0396", + 'zfr': "\uD835\uDD37", + 'Zfr': "\u2128", + 'zhcy': "\u0436", + 'ZHcy': "\u0416", + 'zigrarr': "\u21DD", + 'zopf': "\uD835\uDD6B", + 'Zopf': "\u2124", + 'zscr': "\uD835\uDCCF", + 'Zscr': "\uD835\uDCB5", + 'zwj': "\u200D", + 'zwnj': "\u200C" + }; + var decodeMapLegacy = { + 'aacute': '\xE1', + 'Aacute': '\xC1', + 'acirc': '\xE2', + 'Acirc': '\xC2', + 'acute': '\xB4', + 'aelig': '\xE6', + 'AElig': '\xC6', + 'agrave': '\xE0', + 'Agrave': '\xC0', + 'amp': '&', + 'AMP': '&', + 'aring': '\xE5', + 'Aring': '\xC5', + 'atilde': '\xE3', + 'Atilde': '\xC3', + 'auml': '\xE4', + 'Auml': '\xC4', + 'brvbar': '\xA6', + 'ccedil': '\xE7', + 'Ccedil': '\xC7', + 'cedil': '\xB8', + 'cent': '\xA2', + 'copy': '\xA9', + 'COPY': '\xA9', + 'curren': '\xA4', + 'deg': '\xB0', + 'divide': '\xF7', + 'eacute': '\xE9', + 'Eacute': '\xC9', + 'ecirc': '\xEA', + 'Ecirc': '\xCA', + 'egrave': '\xE8', + 'Egrave': '\xC8', + 'eth': '\xF0', + 'ETH': '\xD0', + 'euml': '\xEB', + 'Euml': '\xCB', + 'frac12': '\xBD', + 'frac14': '\xBC', + 'frac34': '\xBE', + 'gt': '>', + 'GT': '>', + 'iacute': '\xED', + 'Iacute': '\xCD', + 'icirc': '\xEE', + 'Icirc': '\xCE', + 'iexcl': '\xA1', + 'igrave': '\xEC', + 'Igrave': '\xCC', + 'iquest': '\xBF', + 'iuml': '\xEF', + 'Iuml': '\xCF', + 'laquo': '\xAB', + 'lt': '<', + 'LT': '<', + 'macr': '\xAF', + 'micro': '\xB5', + 'middot': '\xB7', + 'nbsp': '\xA0', + 'not': '\xAC', + 'ntilde': '\xF1', + 'Ntilde': '\xD1', + 'oacute': '\xF3', + 'Oacute': '\xD3', + 'ocirc': '\xF4', + 'Ocirc': '\xD4', + 'ograve': '\xF2', + 'Ograve': '\xD2', + 'ordf': '\xAA', + 'ordm': '\xBA', + 'oslash': '\xF8', + 'Oslash': '\xD8', + 'otilde': '\xF5', + 'Otilde': '\xD5', + 'ouml': '\xF6', + 'Ouml': '\xD6', + 'para': '\xB6', + 'plusmn': '\xB1', + 'pound': '\xA3', + 'quot': '"', + 'QUOT': '"', + 'raquo': '\xBB', + 'reg': '\xAE', + 'REG': '\xAE', + 'sect': '\xA7', + 'shy': '\xAD', + 'sup1': '\xB9', + 'sup2': '\xB2', + 'sup3': '\xB3', + 'szlig': '\xDF', + 'thorn': '\xFE', + 'THORN': '\xDE', + 'times': '\xD7', + 'uacute': '\xFA', + 'Uacute': '\xDA', + 'ucirc': '\xFB', + 'Ucirc': '\xDB', + 'ugrave': '\xF9', + 'Ugrave': '\xD9', + 'uml': '\xA8', + 'uuml': '\xFC', + 'Uuml': '\xDC', + 'yacute': '\xFD', + 'Yacute': '\xDD', + 'yen': '\xA5', + 'yuml': '\xFF' + }; + var decodeMapNumeric = { + '0': "\uFFFD", + '128': "\u20AC", + '130': "\u201A", + '131': "\u0192", + '132': "\u201E", + '133': "\u2026", + '134': "\u2020", + '135': "\u2021", + '136': "\u02C6", + '137': "\u2030", + '138': "\u0160", + '139': "\u2039", + '140': "\u0152", + '142': "\u017D", + '145': "\u2018", + '146': "\u2019", + '147': "\u201C", + '148': "\u201D", + '149': "\u2022", + '150': "\u2013", + '151': "\u2014", + '152': "\u02DC", + '153': "\u2122", + '154': "\u0161", + '155': "\u203A", + '156': "\u0153", + '158': "\u017E", + '159': "\u0178" + }; + var invalidReferenceCodePoints = [1, 2, 3, 4, 5, 6, 7, 8, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 64976, 64977, 64978, 64979, 64980, 64981, 64982, 64983, 64984, 64985, 64986, 64987, 64988, 64989, 64990, 64991, 64992, 64993, 64994, 64995, 64996, 64997, 64998, 64999, 65000, 65001, 65002, 65003, 65004, 65005, 65006, 65007, 65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, 393214, 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, 655359, 720894, 720895, 786430, 786431, 851966, 851967, 917502, 917503, 983038, 983039, 1048574, 1048575, 1114110, 1114111]; + /*--------------------------------------------------------------------------*/ + + var stringFromCharCode = String.fromCharCode; + var object = {}; + var hasOwnProperty = object.hasOwnProperty; + + var has = function has(object, propertyName) { + return hasOwnProperty.call(object, propertyName); + }; + + var contains = function contains(array, value) { + var index = -1; + var length = array.length; + + while (++index < length) { + if (array[index] == value) { + return true; + } + } + + return false; + }; + + var merge = function merge(options, defaults) { + if (!options) { + return defaults; + } + + var result = {}; + var key; + + for (key in defaults) { + // A `hasOwnProperty` check is not needed here, since only recognized + // option names are used anyway. Any others are ignored. + result[key] = has(options, key) ? options[key] : defaults[key]; + } + + return result; + }; // Modified version of `ucs2encode`; see https://mths.be/punycode. + + + var codePointToSymbol = function codePointToSymbol(codePoint, strict) { + var output = ''; + + if (codePoint >= 0xD800 && codePoint <= 0xDFFF || codePoint > 0x10FFFF) { + // See issue #4: + // “Otherwise, if the number is in the range 0xD800 to 0xDFFF or is + // greater than 0x10FFFF, then this is a parse error. Return a U+FFFD + // REPLACEMENT CHARACTER.” + if (strict) { + parseError('character reference outside the permissible Unicode range'); + } + + return "\uFFFD"; + } + + if (has(decodeMapNumeric, codePoint)) { + if (strict) { + parseError('disallowed character reference'); + } + + return decodeMapNumeric[codePoint]; + } + + if (strict && contains(invalidReferenceCodePoints, codePoint)) { + parseError('disallowed character reference'); + } + + if (codePoint > 0xFFFF) { + codePoint -= 0x10000; + output += stringFromCharCode(codePoint >>> 10 & 0x3FF | 0xD800); + codePoint = 0xDC00 | codePoint & 0x3FF; + } + + output += stringFromCharCode(codePoint); + return output; + }; + + var hexEscape = function hexEscape(codePoint) { + return '&#x' + codePoint.toString(16).toUpperCase() + ';'; + }; + + var decEscape = function decEscape(codePoint) { + return '&#' + codePoint + ';'; + }; + + var parseError = function parseError(message) { + throw Error('Parse error: ' + message); + }; + /*--------------------------------------------------------------------------*/ + + + var encode = function encode(string, options) { + options = merge(options, encode.options); + var strict = options.strict; + + if (strict && regexInvalidRawCodePoint.test(string)) { + parseError('forbidden code point'); + } + + var encodeEverything = options.encodeEverything; + var useNamedReferences = options.useNamedReferences; + var allowUnsafeSymbols = options.allowUnsafeSymbols; + var escapeCodePoint = options.decimal ? decEscape : hexEscape; + + var escapeBmpSymbol = function escapeBmpSymbol(symbol) { + return escapeCodePoint(symbol.charCodeAt(0)); + }; + + if (encodeEverything) { + // Encode ASCII symbols. + string = string.replace(regexAsciiWhitelist, function (symbol) { + // Use named references if requested & possible. + if (useNamedReferences && has(encodeMap, symbol)) { + return '&' + encodeMap[symbol] + ';'; + } + + return escapeBmpSymbol(symbol); + }); // Shorten a few escapes that represent two symbols, of which at least one + // is within the ASCII range. + + if (useNamedReferences) { + string = string.replace(/>\u20D2/g, '>⃒').replace(/<\u20D2/g, '<⃒').replace(/fj/g, 'fj'); + } // Encode non-ASCII symbols. + + + if (useNamedReferences) { + // Encode non-ASCII symbols that can be replaced with a named reference. + string = string.replace(regexEncodeNonAscii, function (string) { + // Note: there is no need to check `has(encodeMap, string)` here. + return '&' + encodeMap[string] + ';'; + }); + } // Note: any remaining non-ASCII symbols are handled outside of the `if`. + + } else if (useNamedReferences) { + // Apply named character references. + // Encode `<>"'&` using named character references. + if (!allowUnsafeSymbols) { + string = string.replace(regexEscape, function (string) { + return '&' + encodeMap[string] + ';'; // no need to check `has()` here + }); + } // Shorten escapes that represent two symbols, of which at least one is + // `<>"'&`. + + + string = string.replace(/>\u20D2/g, '>⃒').replace(/<\u20D2/g, '<⃒'); // Encode non-ASCII symbols that can be replaced with a named reference. + + string = string.replace(regexEncodeNonAscii, function (string) { + // Note: there is no need to check `has(encodeMap, string)` here. + return '&' + encodeMap[string] + ';'; + }); + } else if (!allowUnsafeSymbols) { + // Encode `<>"'&` using hexadecimal escapes, now that they’re not handled + // using named character references. + string = string.replace(regexEscape, escapeBmpSymbol); + } + + return string // Encode astral symbols. + .replace(regexAstralSymbols, function ($0) { + // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae + var high = $0.charCodeAt(0); + var low = $0.charCodeAt(1); + var codePoint = (high - 0xD800) * 0x400 + low - 0xDC00 + 0x10000; + return escapeCodePoint(codePoint); + }) // Encode any remaining BMP symbols that are not printable ASCII symbols + // using a hexadecimal escape. + .replace(regexBmpWhitelist, escapeBmpSymbol); + }; // Expose default options (so they can be overridden globally). + + + encode.options = { + 'allowUnsafeSymbols': false, + 'encodeEverything': false, + 'strict': false, + 'useNamedReferences': false, + 'decimal': false + }; + + var decode = function decode(html, options) { + options = merge(options, decode.options); + var strict = options.strict; + + if (strict && regexInvalidEntity.test(html)) { + parseError('malformed character reference'); + } + + return html.replace(regexDecode, function ($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var codePoint; + var semicolon; + var decDigits; + var hexDigits; + var reference; + var next; + + if ($1) { + reference = $1; // Note: there is no need to check `has(decodeMap, reference)`. + + return decodeMap[reference]; + } + + if ($2) { + // Decode named character references without trailing `;`, e.g. `&`. + // This is only a parse error if it gets converted to `&`, or if it is + // followed by `=` in an attribute context. + reference = $2; + next = $3; + + if (next && options.isAttributeValue) { + if (strict && next == '=') { + parseError('`&` did not start a character reference'); + } + + return $0; + } else { + if (strict) { + parseError('named character reference was not terminated by a semicolon'); + } // Note: there is no need to check `has(decodeMapLegacy, reference)`. + + + return decodeMapLegacy[reference] + (next || ''); + } + } + + if ($4) { + // Decode decimal escapes, e.g. `𝌆`. + decDigits = $4; + semicolon = $5; + + if (strict && !semicolon) { + parseError('character reference was not terminated by a semicolon'); + } + + codePoint = parseInt(decDigits, 10); + return codePointToSymbol(codePoint, strict); + } + + if ($6) { + // Decode hexadecimal escapes, e.g. `𝌆`. + hexDigits = $6; + semicolon = $7; + + if (strict && !semicolon) { + parseError('character reference was not terminated by a semicolon'); + } + + codePoint = parseInt(hexDigits, 16); + return codePointToSymbol(codePoint, strict); + } // If we’re still here, `if ($7)` is implied; it’s an ambiguous + // ampersand for sure. https://mths.be/notes/ambiguous-ampersands + + + if (strict) { + parseError('named character reference was not terminated by a semicolon'); + } + + return $0; + }); + }; // Expose default options (so they can be overridden globally). + + + decode.options = { + 'isAttributeValue': false, + 'strict': false + }; + + var escape = function escape(string) { + return string.replace(regexEscape, function ($0) { + // Note: there is no need to check `has(escapeMap, $0)` here. + return escapeMap[$0]; + }); + }; + /*--------------------------------------------------------------------------*/ + + + var he = { + 'version': '1.2.0', + 'encode': encode, + 'decode': decode, + 'escape': escape, + 'unescape': decode + }; // Some AMD build optimizers, like r.js, check for specific condition patterns + // like the following: + + if (freeExports && !freeExports.nodeType) { + if (freeModule) { + // in Node.js, io.js, or RingoJS v0.8.0+ + freeModule.exports = he; + } else { + // in Narwhal or RingoJS v0.7.0- + for (var key in he) { + has(he, key) && (freeExports[key] = he[key]); + } + } + } else { + // in Rhino or a web browser + root.he = he; + } + })(commonjsGlobal); }); var utils = createCommonjsModule(function (module, exports) { - /** - * Various utility functions used throughout Mocha's codebase. - * @module utils + /** + * Various utility functions used throughout Mocha's codebase. + * @module utils + */ + + /** + * Module dependencies. + */ + + var nanoid = nonSecure.nanoid; + var MOCHA_ID_PROP_NAME = '__mocha_id__'; + /** + * Inherit the prototype methods from one constructor into another. + * + * @param {function} ctor - Constructor function which needs to inherit the + * prototype. + * @param {function} superCtor - Constructor function to inherit prototype from. + * @throws {TypeError} if either constructor is null, or if super constructor + * lacks a prototype. + */ + + exports.inherits = util.inherits; + /** + * Escape special characters in the given string of html. + * + * @private + * @param {string} html + * @return {string} + */ + + exports.escape = function (html) { + return he.encode(String(html), { + useNamedReferences: false + }); + }; + /** + * Test if the given obj is type of string. + * + * @private + * @param {Object} obj + * @return {boolean} + */ + + + exports.isString = function (obj) { + return typeof obj === 'string'; + }; + /** + * Compute a slug from the given `str`. + * + * @private + * @param {string} str + * @return {string} + */ + + + exports.slug = function (str) { + return str.toLowerCase().replace(/\s+/g, '-').replace(/[^-\w]/g, '').replace(/-{2,}/g, '-'); + }; + /** + * Strip the function definition from `str`, and re-indent for pre whitespace. + * + * @param {string} str + * @return {string} + */ + + + exports.clean = function (str) { + str = str.replace(/\r\n?|[\n\u2028\u2029]/g, '\n').replace(/^\uFEFF/, '') // (traditional)-> space/name parameters body (lambda)-> parameters body multi-statement/single keep body content + .replace(/^function(?:\s*|\s+[^(]*)\([^)]*\)\s*\{((?:.|\n)*?)\s*\}$|^\([^)]*\)\s*=>\s*(?:\{((?:.|\n)*?)\s*\}|((?:.|\n)*))$/, '$1$2$3'); + var spaces = str.match(/^\n?( *)/)[1].length; + var tabs = str.match(/^\n?(\t*)/)[1].length; + var re = new RegExp('^\n?' + (tabs ? '\t' : ' ') + '{' + (tabs || spaces) + '}', 'gm'); + str = str.replace(re, ''); + return str.trim(); + }; + /** + * If a value could have properties, and has none, this function is called, + * which returns a string representation of the empty value. + * + * Functions w/ no properties return `'[Function]'` + * Arrays w/ length === 0 return `'[]'` + * Objects w/ no properties return `'{}'` + * All else: return result of `value.toString()` + * + * @private + * @param {*} value The value to inspect. + * @param {string} typeHint The type of the value + * @returns {string} + */ + + + function emptyRepresentation(value, typeHint) { + switch (typeHint) { + case 'function': + return '[Function]'; + + case 'object': + return '{}'; + + case 'array': + return '[]'; + + default: + return value.toString(); + } + } + /** + * Takes some variable and asks `Object.prototype.toString()` what it thinks it + * is. + * + * @private + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toString + * @param {*} value The value to test. + * @returns {string} Computed type + * @example + * canonicalType({}) // 'object' + * canonicalType([]) // 'array' + * canonicalType(1) // 'number' + * canonicalType(false) // 'boolean' + * canonicalType(Infinity) // 'number' + * canonicalType(null) // 'null' + * canonicalType(new Date()) // 'date' + * canonicalType(/foo/) // 'regexp' + * canonicalType('type') // 'string' + * canonicalType(global) // 'global' + * canonicalType(new String('foo') // 'object' + * canonicalType(async function() {}) // 'asyncfunction' + * canonicalType(await import(name)) // 'module' + */ + + + var canonicalType = exports.canonicalType = function canonicalType(value) { + if (value === undefined) { + return 'undefined'; + } else if (value === null) { + return 'null'; + } else if (isBuffer$2(value)) { + return 'buffer'; + } + + return Object.prototype.toString.call(value).replace(/^\[.+\s(.+?)]$/, '$1').toLowerCase(); + }; + /** + * + * Returns a general type or data structure of a variable + * @private + * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures + * @param {*} value The value to test. + * @returns {string} One of undefined, boolean, number, string, bigint, symbol, object + * @example + * type({}) // 'object' + * type([]) // 'array' + * type(1) // 'number' + * type(false) // 'boolean' + * type(Infinity) // 'number' + * type(null) // 'null' + * type(new Date()) // 'object' + * type(/foo/) // 'object' + * type('type') // 'string' + * type(global) // 'object' + * type(new String('foo') // 'string' + */ + + + exports.type = function type(value) { + // Null is special + if (value === null) return 'null'; + var primitives = new Set(['undefined', 'boolean', 'number', 'string', 'bigint', 'symbol']); + + var _type = _typeof(value); + + if (_type === 'function') return _type; + if (primitives.has(_type)) return _type; + if (value instanceof String) return 'string'; + if (value instanceof Error) return 'error'; + if (Array.isArray(value)) return 'array'; + return _type; + }; + /** + * Stringify `value`. Different behavior depending on type of value: + * + * - If `value` is undefined or null, return `'[undefined]'` or `'[null]'`, respectively. + * - If `value` is not an object, function or array, return result of `value.toString()` wrapped in double-quotes. + * - If `value` is an *empty* object, function, or array, return result of function + * {@link emptyRepresentation}. + * - If `value` has properties, call {@link exports.canonicalize} on it, then return result of + * JSON.stringify(). + * + * @private + * @see exports.type + * @param {*} value + * @return {string} + */ + + + exports.stringify = function (value) { + var typeHint = canonicalType(value); + + if (!~['object', 'array', 'function'].indexOf(typeHint)) { + if (typeHint === 'buffer') { + var json = Buffer$1.prototype.toJSON.call(value); // Based on the toJSON result + + return jsonStringify(json.data && json.type ? json.data : json, 2).replace(/,(\n|$)/g, '$1'); + } // IE7/IE8 has a bizarre String constructor; needs to be coerced + // into an array and back to obj. + + + if (typeHint === 'string' && _typeof(value) === 'object') { + value = value.split('').reduce(function (acc, _char, idx) { + acc[idx] = _char; + return acc; + }, {}); + typeHint = 'object'; + } else { + return jsonStringify(value); + } + } + + for (var prop in value) { + if (Object.prototype.hasOwnProperty.call(value, prop)) { + return jsonStringify(exports.canonicalize(value, null, typeHint), 2).replace(/,(\n|$)/g, '$1'); + } + } + + return emptyRepresentation(value, typeHint); + }; + /** + * like JSON.stringify but more sense. + * + * @private + * @param {Object} object + * @param {number=} spaces + * @param {number=} depth + * @returns {*} + */ + + + function jsonStringify(object, spaces, depth) { + if (typeof spaces === 'undefined') { + // primitive types + return _stringify(object); + } + + depth = depth || 1; + var space = spaces * depth; + var str = Array.isArray(object) ? '[' : '{'; + var end = Array.isArray(object) ? ']' : '}'; + var length = typeof object.length === 'number' ? object.length : Object.keys(object).length; // `.repeat()` polyfill + + function repeat(s, n) { + return new Array(n).join(s); + } + + function _stringify(val) { + switch (canonicalType(val)) { + case 'null': + case 'undefined': + val = '[' + val + ']'; + break; + + case 'array': + case 'object': + val = jsonStringify(val, spaces, depth + 1); + break; + + case 'boolean': + case 'regexp': + case 'symbol': + case 'number': + val = val === 0 && 1 / val === -Infinity // `-0` + ? '-0' : val.toString(); + break; + + case 'bigint': + val = val.toString() + 'n'; + break; + + case 'date': + var sDate = isNaN(val.getTime()) ? val.toString() : val.toISOString(); + val = '[Date: ' + sDate + ']'; + break; + + case 'buffer': + var json = val.toJSON(); // Based on the toJSON result + + json = json.data && json.type ? json.data : json; + val = '[Buffer: ' + jsonStringify(json, 2, depth + 1) + ']'; + break; + + default: + val = val === '[Function]' || val === '[Circular]' ? val : JSON.stringify(val); + // string + } + + return val; + } + + for (var i in object) { + if (!Object.prototype.hasOwnProperty.call(object, i)) { + continue; // not my business + } + + --length; + str += '\n ' + repeat(' ', space) + (Array.isArray(object) ? '' : '"' + i + '": ') + // key + _stringify(object[i]) + ( // value + length ? ',' : ''); // comma + } + + return str + ( // [], {} + str.length !== 1 ? '\n' + repeat(' ', --space) + end : end); + } + /** + * Return a new Thing that has the keys in sorted order. Recursive. + * + * If the Thing... + * - has already been seen, return string `'[Circular]'` + * - is `undefined`, return string `'[undefined]'` + * - is `null`, return value `null` + * - is some other primitive, return the value + * - is not a primitive or an `Array`, `Object`, or `Function`, return the value of the Thing's `toString()` method + * - is a non-empty `Array`, `Object`, or `Function`, return the result of calling this function again. + * - is an empty `Array`, `Object`, or `Function`, return the result of calling `emptyRepresentation()` + * + * @private + * @see {@link exports.stringify} + * @param {*} value Thing to inspect. May or may not have properties. + * @param {Array} [stack=[]] Stack of seen values + * @param {string} [typeHint] Type hint + * @return {(Object|Array|Function|string|undefined)} + */ + + + exports.canonicalize = function canonicalize(value, stack, typeHint) { + var canonicalizedObj; + /* eslint-disable no-unused-vars */ + + var prop; + /* eslint-enable no-unused-vars */ + + typeHint = typeHint || canonicalType(value); + + function withStack(value, fn) { + stack.push(value); + fn(); + stack.pop(); + } + + stack = stack || []; + + if (stack.indexOf(value) !== -1) { + return '[Circular]'; + } + + switch (typeHint) { + case 'undefined': + case 'buffer': + case 'null': + canonicalizedObj = value; + break; + + case 'array': + withStack(value, function () { + canonicalizedObj = value.map(function (item) { + return exports.canonicalize(item, stack); + }); + }); + break; + + case 'function': + /* eslint-disable-next-line no-unused-vars */ + for (prop in value) { + canonicalizedObj = {}; + break; + } + /* eslint-enable guard-for-in */ + + + if (!canonicalizedObj) { + canonicalizedObj = emptyRepresentation(value, typeHint); + break; + } + + /* falls through */ + + case 'object': + canonicalizedObj = canonicalizedObj || {}; + withStack(value, function () { + Object.keys(value).sort().forEach(function (key) { + canonicalizedObj[key] = exports.canonicalize(value[key], stack); + }); + }); + break; + + case 'date': + case 'number': + case 'regexp': + case 'boolean': + case 'symbol': + canonicalizedObj = value; + break; + + default: + canonicalizedObj = value + ''; + } + + return canonicalizedObj; + }; + /** + * @summary + * This Filter based on `mocha-clean` module.(see: `github.com/rstacruz/mocha-clean`) + * @description + * When invoking this function you get a filter function that get the Error.stack as an input, + * and return a prettify output. + * (i.e: strip Mocha and internal node functions from stack trace). + * @returns {Function} + */ + + + exports.stackTraceFilter = function () { + // TODO: Replace with `process.browser` + var is = typeof document === 'undefined' ? { + node: true + } : { + browser: true + }; + var slash = path.sep; + var cwd; + + if (is.node) { + cwd = exports.cwd() + slash; + } else { + cwd = (typeof location === 'undefined' ? window.location : location).href.replace(/\/[^/]*$/, '/'); + slash = '/'; + } + + function isMochaInternal(line) { + return ~line.indexOf('node_modules' + slash + 'mocha' + slash) || ~line.indexOf(slash + 'mocha.js') || ~line.indexOf(slash + 'mocha.min.js'); + } + + function isNodeInternal(line) { + return ~line.indexOf('(timers.js:') || ~line.indexOf('(events.js:') || ~line.indexOf('(node.js:') || ~line.indexOf('(module.js:') || ~line.indexOf('GeneratorFunctionPrototype.next (native)') || false; + } + + return function (stack) { + stack = stack.split('\n'); + stack = stack.reduce(function (list, line) { + if (isMochaInternal(line)) { + return list; + } + + if (is.node && isNodeInternal(line)) { + return list; + } // Clean up cwd(absolute) + + + if (/:\d+:\d+\)?$/.test(line)) { + line = line.replace('(' + cwd, '('); + } + + list.push(line); + return list; + }, []); + return stack.join('\n'); + }; + }; + /** + * Crude, but effective. + * @public + * @param {*} value + * @returns {boolean} Whether or not `value` is a Promise + */ + + + exports.isPromise = function isPromise(value) { + return _typeof(value) === 'object' && value !== null && typeof value.then === 'function'; + }; + /** + * Clamps a numeric value to an inclusive range. + * + * @param {number} value - Value to be clamped. + * @param {number[]} range - Two element array specifying [min, max] range. + * @returns {number} clamped value + */ + + + exports.clamp = function clamp(value, range) { + return Math.min(Math.max(value, range[0]), range[1]); + }; + /** + * It's a noop. + * @public + */ + + + exports.noop = function () {}; + /** + * Creates a map-like object. + * + * @description + * A "map" is an object with no prototype, for our purposes. In some cases + * this would be more appropriate than a `Map`, especially if your environment + * doesn't support it. Recommended for use in Mocha's public APIs. + * + * @public + * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#Custom_and_Null_objects|MDN:Map} + * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create#Custom_and_Null_objects|MDN:Object.create - Custom objects} + * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Custom_and_Null_objects|MDN:Object.assign} + * @param {...*} [obj] - Arguments to `Object.assign()`. + * @returns {Object} An object with no prototype, having `...obj` properties + */ + + + exports.createMap = function (obj) { + return Object.assign.apply(null, [Object.create(null)].concat(Array.prototype.slice.call(arguments))); + }; + /** + * Creates a read-only map-like object. + * + * @description + * This differs from {@link module:utils.createMap createMap} only in that + * the argument must be non-empty, because the result is frozen. + * + * @see {@link module:utils.createMap createMap} + * @param {...*} [obj] - Arguments to `Object.assign()`. + * @returns {Object} A frozen object with no prototype, having `...obj` properties + * @throws {TypeError} if argument is not a non-empty object. + */ + + + exports.defineConstants = function (obj) { + if (canonicalType(obj) !== 'object' || !Object.keys(obj).length) { + throw new TypeError('Invalid argument; expected a non-empty object'); + } + + return Object.freeze(exports.createMap(obj)); + }; + /** + * Whether current version of Node support ES modules + * + * @description + * Versions prior to 10 did not support ES Modules, and version 10 has an old incompatible version of ESM. + * This function returns whether Node.JS has ES Module supports that is compatible with Mocha's needs, + * which is version >=12.11. + * + * @param {partialSupport} whether the full Node.js ESM support is available (>= 12) or just something that supports the runtime (>= 10) + * + * @returns {Boolean} whether the current version of Node.JS supports ES Modules in a way that is compatible with Mocha + */ + + + exports.supportsEsModules = function (partialSupport) { + if (!exports.isBrowser() && process$3.versions && process$3.versions.node) { + var versionFields = process$3.versions.node.split('.'); + var major = +versionFields[0]; + var minor = +versionFields[1]; + + if (!partialSupport) { + return major >= 13 || major === 12 && minor >= 11; + } else { + return major >= 10; + } + } + }; + /** + * Returns current working directory + * + * Wrapper around `process.cwd()` for isolation + * @private + */ + + + exports.cwd = function cwd() { + return process$3.cwd(); + }; + /** + * Returns `true` if Mocha is running in a browser. + * Checks for `process.browser`. + * @returns {boolean} + * @private + */ + + + exports.isBrowser = function isBrowser() { + return Boolean(browser$2); + }; + /* + * Casts `value` to an array; useful for optionally accepting array parameters + * + * It follows these rules, depending on `value`. If `value` is... + * 1. `undefined`: return an empty Array + * 2. `null`: return an array with a single `null` element + * 3. Any other object: return the value of `Array.from()` _if_ the object is iterable + * 4. otherwise: return an array with a single element, `value` + * @param {*} value - Something to cast to an Array + * @returns {Array<*>} */ - /** - * Module dependencies. - */ - var nanoid = nonSecure.nanoid; - var MOCHA_ID_PROP_NAME = '__mocha_id__'; - /** - * Inherit the prototype methods from one constructor into another. - * - * @param {function} ctor - Constructor function which needs to inherit the - * prototype. - * @param {function} superCtor - Constructor function to inherit prototype from. - * @throws {TypeError} if either constructor is null, or if super constructor - * lacks a prototype. - */ + exports.castArray = function castArray(value) { + if (value === undefined) { + return []; + } + + if (value === null) { + return [null]; + } + + if (_typeof(value) === 'object' && (typeof value[Symbol.iterator] === 'function' || value.length !== undefined)) { + return Array.from(value); + } + + return [value]; + }; + + exports.constants = exports.defineConstants({ + MOCHA_ID_PROP_NAME: MOCHA_ID_PROP_NAME + }); + /** + * Creates a new unique identifier + * @returns {string} Unique identifier + */ + + exports.uniqueID = function () { + return nanoid(); + }; + + exports.assignNewMochaID = function (obj) { + var id = exports.uniqueID(); + Object.defineProperty(obj, MOCHA_ID_PROP_NAME, { + get: function get() { + return id; + } + }); + return obj; + }; + /** + * Retrieves a Mocha ID from an object, if present. + * @param {*} [obj] - Object + * @returns {string|void} + */ + + + exports.getMochaID = function (obj) { + return obj && _typeof(obj) === 'object' ? obj[MOCHA_ID_PROP_NAME] : undefined; + }; + }); - exports.inherits = util.inherits; - /** - * Escape special characters in the given string of html. - * - * @private - * @param {string} html - * @return {string} - */ + var _nodeResolve_empty = {}; - exports.escape = function (html) { - return he.encode(String(html), { - useNamedReferences: false - }); - }; - /** - * Test if the given obj is type of string. - * - * @private - * @param {Object} obj - * @return {boolean} - */ + var _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': _nodeResolve_empty + }); + var browser$1 = { + info: 'ℹ️', + success: '✅', + warning: '⚠️', + error: '❌️' + }; - exports.isString = function (obj) { - return typeof obj === 'string'; - }; - /** - * Compute a slug from the given `str`. - * - * @private - * @param {string} str - * @return {string} - */ + // `Map` constructor + // https://tc39.es/ecma262/#sec-map-objects + collection('Map', function (init) { + return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; + }, collectionStrong); + /** + @module Pending + */ - exports.slug = function (str) { - return str.toLowerCase().replace(/\s+/g, '-').replace(/[^-\w]/g, '').replace(/-{2,}/g, '-'); - }; - /** - * Strip the function definition from `str`, and re-indent for pre whitespace. - * - * @param {string} str - * @return {string} - */ + var pending = Pending; + /** + * Initialize a new `Pending` error with the given message. + * + * @param {string} message + */ + function Pending(message) { + this.message = message; + } - exports.clean = function (str) { - str = str.replace(/\r\n?|[\n\u2028\u2029]/g, '\n').replace(/^\uFEFF/, '') // (traditional)-> space/name parameters body (lambda)-> parameters body multi-statement/single keep body content - .replace(/^function(?:\s*|\s+[^(]*)\([^)]*\)\s*\{((?:.|\n)*?)\s*\}$|^\([^)]*\)\s*=>\s*(?:\{((?:.|\n)*?)\s*\}|((?:.|\n)*))$/, '$1$2$3'); - var spaces = str.match(/^\n?( *)/)[1].length; - var tabs = str.match(/^\n?(\t*)/)[1].length; - var re = new RegExp('^\n?' + (tabs ? '\t' : ' ') + '{' + (tabs || spaces) + '}', 'gm'); - str = str.replace(re, ''); - return str.trim(); - }; - /** - * If a value could have properties, and has none, this function is called, - * which returns a string representation of the empty value. - * - * Functions w/ no properties return `'[Function]'` - * Arrays w/ length === 0 return `'[]'` - * Objects w/ no properties return `'{}'` - * All else: return result of `value.toString()` - * - * @private - * @param {*} value The value to inspect. - * @param {string} typeHint The type of the value - * @returns {string} - */ + /** + * Helpers. + */ + var s = 1000; + var m = s * 60; + var h = m * 60; + var d = h * 24; + var w = d * 7; + var y = d * 365.25; + /** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + var ms = function ms(val, options) { + options = options || {}; - function emptyRepresentation(value, typeHint) { - switch (typeHint) { - case 'function': - return '[Function]'; + var type = _typeof(val); - case 'object': - return '{}'; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options["long"] ? fmtLong(val) : fmtShort(val); + } - case 'array': - return '[]'; + throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val)); + }; + /** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ - default: - return value.toString(); - } - } - /** - * Takes some variable and asks `Object.prototype.toString()` what it thinks it - * is. - * - * @private - * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toString - * @param {*} value The value to test. - * @returns {string} Computed type - * @example - * canonicalType({}) // 'object' - * canonicalType([]) // 'array' - * canonicalType(1) // 'number' - * canonicalType(false) // 'boolean' - * canonicalType(Infinity) // 'number' - * canonicalType(null) // 'null' - * canonicalType(new Date()) // 'date' - * canonicalType(/foo/) // 'regexp' - * canonicalType('type') // 'string' - * canonicalType(global) // 'global' - * canonicalType(new String('foo') // 'object' - * canonicalType(async function() {}) // 'asyncfunction' - * canonicalType(await import(name)) // 'module' - */ + function parse(str) { + str = String(str); + + if (str.length > 100) { + return; + } + + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str); + + if (!match) { + return; + } + + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + + case 'weeks': + case 'week': + case 'w': + return n * w; + + case 'days': + case 'day': + case 'd': + return n * d; + + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + + default: + return undefined; + } + } + /** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ - var canonicalType = exports.canonicalType = function canonicalType(value) { - if (value === undefined) { - return 'undefined'; - } else if (value === null) { - return 'null'; - } else if (isBuffer$2(value)) { - return 'buffer'; - } - return Object.prototype.toString.call(value).replace(/^\[.+\s(.+?)]$/, '$1').toLowerCase(); - }; - /** - * - * Returns a general type or data structure of a variable - * @private - * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures - * @param {*} value The value to test. - * @returns {string} One of undefined, boolean, number, string, bigint, symbol, object - * @example - * type({}) // 'object' - * type([]) // 'array' - * type(1) // 'number' - * type(false) // 'boolean' - * type(Infinity) // 'number' - * type(null) // 'null' - * type(new Date()) // 'object' - * type(/foo/) // 'object' - * type('type') // 'string' - * type(global) // 'object' - * type(new String('foo') // 'string' - */ + function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } - exports.type = function type(value) { - // Null is special - if (value === null) return 'null'; - var primitives = new Set(['undefined', 'boolean', 'number', 'string', 'bigint', 'symbol']); + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } - var _type = _typeof(value); + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } - if (_type === 'function') return _type; - if (primitives.has(_type)) return _type; - if (value instanceof String) return 'string'; - if (value instanceof Error) return 'error'; - if (Array.isArray(value)) return 'array'; - return _type; - }; - /** - * Stringify `value`. Different behavior depending on type of value: - * - * - If `value` is undefined or null, return `'[undefined]'` or `'[null]'`, respectively. - * - If `value` is not an object, function or array, return result of `value.toString()` wrapped in double-quotes. - * - If `value` is an *empty* object, function, or array, return result of function - * {@link emptyRepresentation}. - * - If `value` has properties, call {@link exports.canonicalize} on it, then return result of - * JSON.stringify(). - * - * @private - * @see exports.type - * @param {*} value - * @return {string} - */ - - - exports.stringify = function (value) { - var typeHint = canonicalType(value); - - if (!~['object', 'array', 'function'].indexOf(typeHint)) { - if (typeHint === 'buffer') { - var json = Buffer$1.prototype.toJSON.call(value); // Based on the toJSON result - - return jsonStringify(json.data && json.type ? json.data : json, 2).replace(/,(\n|$)/g, '$1'); - } // IE7/IE8 has a bizarre String constructor; needs to be coerced - // into an array and back to obj. - - - if (typeHint === 'string' && _typeof(value) === 'object') { - value = value.split('').reduce(function (acc, _char, idx) { - acc[idx] = _char; - return acc; - }, {}); - typeHint = 'object'; - } else { - return jsonStringify(value); - } - } - - for (var prop in value) { - if (Object.prototype.hasOwnProperty.call(value, prop)) { - return jsonStringify(exports.canonicalize(value, null, typeHint), 2).replace(/,(\n|$)/g, '$1'); - } - } - - return emptyRepresentation(value, typeHint); - }; - /** - * like JSON.stringify but more sense. - * - * @private - * @param {Object} object - * @param {number=} spaces - * @param {number=} depth - * @returns {*} - */ - - - function jsonStringify(object, spaces, depth) { - if (typeof spaces === 'undefined') { - // primitive types - return _stringify(object); - } - - depth = depth || 1; - var space = spaces * depth; - var str = Array.isArray(object) ? '[' : '{'; - var end = Array.isArray(object) ? ']' : '}'; - var length = typeof object.length === 'number' ? object.length : Object.keys(object).length; // `.repeat()` polyfill - - function repeat(s, n) { - return new Array(n).join(s); - } - - function _stringify(val) { - switch (canonicalType(val)) { - case 'null': - case 'undefined': - val = '[' + val + ']'; - break; - - case 'array': - case 'object': - val = jsonStringify(val, spaces, depth + 1); - break; - - case 'boolean': - case 'regexp': - case 'symbol': - case 'number': - val = val === 0 && 1 / val === -Infinity // `-0` - ? '-0' : val.toString(); - break; - - case 'bigint': - val = val.toString() + 'n'; - break; - - case 'date': - var sDate = isNaN(val.getTime()) ? val.toString() : val.toISOString(); - val = '[Date: ' + sDate + ']'; - break; - - case 'buffer': - var json = val.toJSON(); // Based on the toJSON result - - json = json.data && json.type ? json.data : json; - val = '[Buffer: ' + jsonStringify(json, 2, depth + 1) + ']'; - break; - - default: - val = val === '[Function]' || val === '[Circular]' ? val : JSON.stringify(val); - // string - } - - return val; - } - - for (var i in object) { - if (!Object.prototype.hasOwnProperty.call(object, i)) { - continue; // not my business - } - - --length; - str += '\n ' + repeat(' ', space) + (Array.isArray(object) ? '' : '"' + i + '": ') + // key - _stringify(object[i]) + ( // value - length ? ',' : ''); // comma - } - - return str + ( // [], {} - str.length !== 1 ? '\n' + repeat(' ', --space) + end : end); - } - /** - * Return a new Thing that has the keys in sorted order. Recursive. - * - * If the Thing... - * - has already been seen, return string `'[Circular]'` - * - is `undefined`, return string `'[undefined]'` - * - is `null`, return value `null` - * - is some other primitive, return the value - * - is not a primitive or an `Array`, `Object`, or `Function`, return the value of the Thing's `toString()` method - * - is a non-empty `Array`, `Object`, or `Function`, return the result of calling this function again. - * - is an empty `Array`, `Object`, or `Function`, return the result of calling `emptyRepresentation()` - * - * @private - * @see {@link exports.stringify} - * @param {*} value Thing to inspect. May or may not have properties. - * @param {Array} [stack=[]] Stack of seen values - * @param {string} [typeHint] Type hint - * @return {(Object|Array|Function|string|undefined)} - */ - - - exports.canonicalize = function canonicalize(value, stack, typeHint) { - var canonicalizedObj; - /* eslint-disable no-unused-vars */ - - var prop; - /* eslint-enable no-unused-vars */ - - typeHint = typeHint || canonicalType(value); - - function withStack(value, fn) { - stack.push(value); - fn(); - stack.pop(); - } - - stack = stack || []; - - if (stack.indexOf(value) !== -1) { - return '[Circular]'; - } - - switch (typeHint) { - case 'undefined': - case 'buffer': - case 'null': - canonicalizedObj = value; - break; - - case 'array': - withStack(value, function () { - canonicalizedObj = value.map(function (item) { - return exports.canonicalize(item, stack); - }); - }); - break; - - case 'function': - /* eslint-disable-next-line no-unused-vars */ - for (prop in value) { - canonicalizedObj = {}; - break; - } - /* eslint-enable guard-for-in */ - - - if (!canonicalizedObj) { - canonicalizedObj = emptyRepresentation(value, typeHint); - break; - } - - /* falls through */ - - case 'object': - canonicalizedObj = canonicalizedObj || {}; - withStack(value, function () { - Object.keys(value).sort().forEach(function (key) { - canonicalizedObj[key] = exports.canonicalize(value[key], stack); - }); - }); - break; - - case 'date': - case 'number': - case 'regexp': - case 'boolean': - case 'symbol': - canonicalizedObj = value; - break; - - default: - canonicalizedObj = value + ''; - } - - return canonicalizedObj; - }; - /** - * @summary - * This Filter based on `mocha-clean` module.(see: `github.com/rstacruz/mocha-clean`) - * @description - * When invoking this function you get a filter function that get the Error.stack as an input, - * and return a prettify output. - * (i.e: strip Mocha and internal node functions from stack trace). - * @returns {Function} - */ - - - exports.stackTraceFilter = function () { - // TODO: Replace with `process.browser` - var is = typeof document === 'undefined' ? { - node: true - } : { - browser: true - }; - var slash = path.sep; - var cwd; - - if (is.node) { - cwd = exports.cwd() + slash; - } else { - cwd = (typeof location === 'undefined' ? window.location : location).href.replace(/\/[^/]*$/, '/'); - slash = '/'; - } - - function isMochaInternal(line) { - return ~line.indexOf('node_modules' + slash + 'mocha' + slash) || ~line.indexOf(slash + 'mocha.js') || ~line.indexOf(slash + 'mocha.min.js'); - } - - function isNodeInternal(line) { - return ~line.indexOf('(timers.js:') || ~line.indexOf('(events.js:') || ~line.indexOf('(node.js:') || ~line.indexOf('(module.js:') || ~line.indexOf('GeneratorFunctionPrototype.next (native)') || false; - } - - return function (stack) { - stack = stack.split('\n'); - stack = stack.reduce(function (list, line) { - if (isMochaInternal(line)) { - return list; - } - - if (is.node && isNodeInternal(line)) { - return list; - } // Clean up cwd(absolute) - - - if (/:\d+:\d+\)?$/.test(line)) { - line = line.replace('(' + cwd, '('); - } - - list.push(line); - return list; - }, []); - return stack.join('\n'); - }; - }; - /** - * Crude, but effective. - * @public - * @param {*} value - * @returns {boolean} Whether or not `value` is a Promise - */ - - - exports.isPromise = function isPromise(value) { - return _typeof(value) === 'object' && value !== null && typeof value.then === 'function'; - }; - /** - * Clamps a numeric value to an inclusive range. - * - * @param {number} value - Value to be clamped. - * @param {number[]} range - Two element array specifying [min, max] range. - * @returns {number} clamped value - */ - - - exports.clamp = function clamp(value, range) { - return Math.min(Math.max(value, range[0]), range[1]); - }; - /** - * It's a noop. - * @public - */ - - - exports.noop = function () {}; - /** - * Creates a map-like object. - * - * @description - * A "map" is an object with no prototype, for our purposes. In some cases - * this would be more appropriate than a `Map`, especially if your environment - * doesn't support it. Recommended for use in Mocha's public APIs. - * - * @public - * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#Custom_and_Null_objects|MDN:Map} - * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create#Custom_and_Null_objects|MDN:Object.create - Custom objects} - * @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Custom_and_Null_objects|MDN:Object.assign} - * @param {...*} [obj] - Arguments to `Object.assign()`. - * @returns {Object} An object with no prototype, having `...obj` properties - */ - - - exports.createMap = function (obj) { - return Object.assign.apply(null, [Object.create(null)].concat(Array.prototype.slice.call(arguments))); - }; - /** - * Creates a read-only map-like object. - * - * @description - * This differs from {@link module:utils.createMap createMap} only in that - * the argument must be non-empty, because the result is frozen. - * - * @see {@link module:utils.createMap createMap} - * @param {...*} [obj] - Arguments to `Object.assign()`. - * @returns {Object} A frozen object with no prototype, having `...obj` properties - * @throws {TypeError} if argument is not a non-empty object. - */ - - - exports.defineConstants = function (obj) { - if (canonicalType(obj) !== 'object' || !Object.keys(obj).length) { - throw new TypeError('Invalid argument; expected a non-empty object'); - } - - return Object.freeze(exports.createMap(obj)); - }; - /** - * Whether current version of Node support ES modules - * - * @description - * Versions prior to 10 did not support ES Modules, and version 10 has an old incompatible version of ESM. - * This function returns whether Node.JS has ES Module supports that is compatible with Mocha's needs, - * which is version >=12.11. - * - * @param {partialSupport} whether the full Node.js ESM support is available (>= 12) or just something that supports the runtime (>= 10) - * - * @returns {Boolean} whether the current version of Node.JS supports ES Modules in a way that is compatible with Mocha - */ - - - exports.supportsEsModules = function (partialSupport) { - if (!exports.isBrowser() && process$3.versions && process$3.versions.node) { - var versionFields = process$3.versions.node.split('.'); - var major = +versionFields[0]; - var minor = +versionFields[1]; - - if (!partialSupport) { - return major >= 13 || major === 12 && minor >= 11; - } else { - return major >= 10; - } - } - }; - /** - * Returns current working directory - * - * Wrapper around `process.cwd()` for isolation - * @private - */ - - - exports.cwd = function cwd() { - return process$3.cwd(); - }; - /** - * Returns `true` if Mocha is running in a browser. - * Checks for `process.browser`. - * @returns {boolean} - * @private - */ - - - exports.isBrowser = function isBrowser() { - return Boolean(browser$2); - }; - /* - * Casts `value` to an array; useful for optionally accepting array parameters - * - * It follows these rules, depending on `value`. If `value` is... - * 1. `undefined`: return an empty Array - * 2. `null`: return an array with a single `null` element - * 3. Any other object: return the value of `Array.from()` _if_ the object is iterable - * 4. otherwise: return an array with a single element, `value` - * @param {*} value - Something to cast to an Array - * @returns {Array<*>} - */ - - - exports.castArray = function castArray(value) { - if (value === undefined) { - return []; - } - - if (value === null) { - return [null]; - } - - if (_typeof(value) === 'object' && (typeof value[Symbol.iterator] === 'function' || value.length !== undefined)) { - return Array.from(value); - } - - return [value]; - }; - - exports.constants = exports.defineConstants({ - MOCHA_ID_PROP_NAME: MOCHA_ID_PROP_NAME - }); - /** - * Creates a new unique identifier - * @returns {string} Unique identifier - */ - - exports.uniqueID = function () { - return nanoid(); - }; - - exports.assignNewMochaID = function (obj) { - var id = exports.uniqueID(); - Object.defineProperty(obj, MOCHA_ID_PROP_NAME, { - get: function get() { - return id; - } - }); - return obj; - }; - /** - * Retrieves a Mocha ID from an object, if present. - * @param {*} [obj] - Object - * @returns {string|void} - */ - - - exports.getMochaID = function (obj) { - return obj && _typeof(obj) === 'object' ? obj[MOCHA_ID_PROP_NAME] : undefined; - }; - }); - - var _nodeResolve_empty = {}; - - var _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': _nodeResolve_empty - }); - - var browser$1 = { - info: 'ℹ️', - success: '✅', - warning: '⚠️', - error: '❌️' - }; - - // `Map` constructor - // https://tc39.es/ecma262/#sec-map-objects - collection('Map', function (init) { - return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; - }, collectionStrong); - - /** - @module Pending - */ - - var pending = Pending; - /** - * Initialize a new `Pending` error with the given message. - * - * @param {string} message - */ - - function Pending(message) { - this.message = message; - } - - /** - * Helpers. - */ - var s = 1000; - var m = s * 60; - var h = m * 60; - var d = h * 24; - var w = d * 7; - var y = d * 365.25; - /** - * Parse or format the given `val`. - * - * Options: - * - * - `long` verbose formatting [false] - * - * @param {String|Number} val - * @param {Object} [options] - * @throws {Error} throw an error if val is not a non-empty string or a number - * @return {String|Number} - * @api public - */ - - var ms = function ms(val, options) { - options = options || {}; - - var type = _typeof(val); - - if (type === 'string' && val.length > 0) { - return parse(val); - } else if (type === 'number' && isFinite(val)) { - return options["long"] ? fmtLong(val) : fmtShort(val); - } - - throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val)); - }; - /** - * Parse the given `str` and return milliseconds. - * - * @param {String} str - * @return {Number} - * @api private - */ - - - function parse(str) { - str = String(str); - - if (str.length > 100) { - return; - } - - var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str); - - if (!match) { - return; - } - - var n = parseFloat(match[1]); - var type = (match[2] || 'ms').toLowerCase(); - - switch (type) { - case 'years': - case 'year': - case 'yrs': - case 'yr': - case 'y': - return n * y; - - case 'weeks': - case 'week': - case 'w': - return n * w; - - case 'days': - case 'day': - case 'd': - return n * d; - - case 'hours': - case 'hour': - case 'hrs': - case 'hr': - case 'h': - return n * h; - - case 'minutes': - case 'minute': - case 'mins': - case 'min': - case 'm': - return n * m; - - case 'seconds': - case 'second': - case 'secs': - case 'sec': - case 's': - return n * s; - - case 'milliseconds': - case 'millisecond': - case 'msecs': - case 'msec': - case 'ms': - return n; - - default: - return undefined; - } - } - /** - * Short format for `ms`. - * - * @param {Number} ms - * @return {String} - * @api private - */ - - - function fmtShort(ms) { - var msAbs = Math.abs(ms); - - if (msAbs >= d) { - return Math.round(ms / d) + 'd'; - } - - if (msAbs >= h) { - return Math.round(ms / h) + 'h'; - } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } - if (msAbs >= m) { - return Math.round(ms / m) + 'm'; - } - - if (msAbs >= s) { - return Math.round(ms / s) + 's'; - } - - return ms + 'ms'; + return ms + 'ms'; } /** * Long format for `ms`. @@ -20894,25 +21009,25 @@ function fmtLong(ms) { - var msAbs = Math.abs(ms); + var msAbs = Math.abs(ms); - if (msAbs >= d) { - return plural(ms, msAbs, d, 'day'); - } + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } - if (msAbs >= h) { - return plural(ms, msAbs, h, 'hour'); - } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } - if (msAbs >= m) { - return plural(ms, msAbs, m, 'minute'); - } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } - if (msAbs >= s) { - return plural(ms, msAbs, s, 'second'); - } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } - return ms + ' ms'; + return ms + ' ms'; } /** * Pluralization helper. @@ -20920,8 +21035,8 @@ function plural(ms, msAbs, n, name) { - var isPlural = msAbs >= n * 1.5; - return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); } /** @@ -20930,476 +21045,476 @@ */ function setup(env) { - createDebug.debug = createDebug; - createDebug["default"] = createDebug; - createDebug.coerce = coerce; - createDebug.disable = disable; - createDebug.enable = enable; - createDebug.enabled = enabled; - createDebug.humanize = ms; - createDebug.destroy = destroy; - Object.keys(env).forEach(function (key) { - createDebug[key] = env[key]; - }); - /** - * The currently active debug mode names, and names to skip. - */ - - createDebug.names = []; - createDebug.skips = []; - /** - * Map of special "%n" handling functions, for the debug "format" argument. - * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". - */ - - createDebug.formatters = {}; - /** - * Selects a color for a debug namespace - * @param {String} namespace The namespace string for the for the debug instance to be colored - * @return {Number|String} An ANSI color code for the given namespace - * @api private - */ - - function selectColor(namespace) { - var hash = 0; - - for (var i = 0; i < namespace.length; i++) { - hash = (hash << 5) - hash + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer - } - - return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; - } - - createDebug.selectColor = selectColor; - /** - * Create a debugger with the given `namespace`. - * - * @param {String} namespace - * @return {Function} - * @api public - */ - - function createDebug(namespace) { - var prevTime; - var enableOverride = null; - - function debug() { - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - // Disabled? - if (!debug.enabled) { - return; - } - - var self = debug; // Set `diff` timestamp - - var curr = Number(new Date()); - var ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; - args[0] = createDebug.coerce(args[0]); - - if (typeof args[0] !== 'string') { - // Anything else let's inspect with %O - args.unshift('%O'); - } // Apply any `formatters` transformations - - - var index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) { - // If we encounter an escaped % then don't increase the array index - if (match === '%%') { - return '%'; - } - - index++; - var formatter = createDebug.formatters[format]; - - if (typeof formatter === 'function') { - var val = args[index]; - match = formatter.call(self, val); // Now we need to remove `args[index]` since it's inlined in the `format` - - args.splice(index, 1); - index--; - } - - return match; - }); // Apply env-specific formatting (colors, etc.) - - createDebug.formatArgs.call(self, args); - var logFn = self.log || createDebug.log; - logFn.apply(self, args); - } - - debug.namespace = namespace; - debug.useColors = createDebug.useColors(); - debug.color = createDebug.selectColor(namespace); - debug.extend = extend; - debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. - - Object.defineProperty(debug, 'enabled', { - enumerable: true, - configurable: false, - get: function get() { - return enableOverride === null ? createDebug.enabled(namespace) : enableOverride; - }, - set: function set(v) { - enableOverride = v; - } - }); // Env-specific initialization logic for debug instances - - if (typeof createDebug.init === 'function') { - createDebug.init(debug); - } - - return debug; - } - - function extend(namespace, delimiter) { - var newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); - newDebug.log = this.log; - return newDebug; - } - /** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. - * - * @param {String} namespaces - * @api public - */ - - - function enable(namespaces) { - createDebug.save(namespaces); - createDebug.names = []; - createDebug.skips = []; - var i; - var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); - var len = split.length; - - for (i = 0; i < len; i++) { - if (!split[i]) { - // ignore empty strings - continue; - } - - namespaces = split[i].replace(/\*/g, '.*?'); - - if (namespaces[0] === '-') { - createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); - } else { - createDebug.names.push(new RegExp('^' + namespaces + '$')); - } - } - } - /** - * Disable debug output. - * - * @return {String} namespaces - * @api public - */ - - - function disable() { - var namespaces = [].concat(_toConsumableArray(createDebug.names.map(toNamespace)), _toConsumableArray(createDebug.skips.map(toNamespace).map(function (namespace) { - return '-' + namespace; - }))).join(','); - createDebug.enable(''); - return namespaces; - } - /** - * Returns true if the given mode name is enabled, false otherwise. - * - * @param {String} name - * @return {Boolean} - * @api public - */ - - - function enabled(name) { - if (name[name.length - 1] === '*') { - return true; - } - - var i; - var len; - - for (i = 0, len = createDebug.skips.length; i < len; i++) { - if (createDebug.skips[i].test(name)) { - return false; - } - } - - for (i = 0, len = createDebug.names.length; i < len; i++) { - if (createDebug.names[i].test(name)) { - return true; - } - } - - return false; - } - /** - * Convert regexp to namespace - * - * @param {RegExp} regxep - * @return {String} namespace - * @api private - */ - - - function toNamespace(regexp) { - return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, '*'); - } - /** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ - - - function coerce(val) { - if (val instanceof Error) { - return val.stack || val.message; - } - - return val; - } - /** - * XXX DO NOT USE. This is a temporary stub function. - * XXX It WILL be removed in the next major release. - */ - - - function destroy() { - console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); - } - - createDebug.enable(createDebug.load()); - return createDebug; + createDebug.debug = createDebug; + createDebug["default"] = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = ms; + createDebug.destroy = destroy; + Object.keys(env).forEach(function (key) { + createDebug[key] = env[key]; + }); + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + + createDebug.formatters = {}; + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + + function selectColor(namespace) { + var hash = 0; + + for (var i = 0; i < namespace.length; i++) { + hash = (hash << 5) - hash + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + + createDebug.selectColor = selectColor; + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + + function createDebug(namespace) { + var prevTime; + var enableOverride = null; + + function debug() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + // Disabled? + if (!debug.enabled) { + return; + } + + var self = debug; // Set `diff` timestamp + + var curr = Number(new Date()); + var ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } // Apply any `formatters` transformations + + + var index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return '%'; + } + + index++; + var formatter = createDebug.formatters[format]; + + if (typeof formatter === 'function') { + var val = args[index]; + match = formatter.call(self, val); // Now we need to remove `args[index]` since it's inlined in the `format` + + args.splice(index, 1); + index--; + } + + return match; + }); // Apply env-specific formatting (colors, etc.) + + createDebug.formatArgs.call(self, args); + var logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.useColors = createDebug.useColors(); + debug.color = createDebug.selectColor(namespace); + debug.extend = extend; + debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. + + Object.defineProperty(debug, 'enabled', { + enumerable: true, + configurable: false, + get: function get() { + return enableOverride === null ? createDebug.enabled(namespace) : enableOverride; + }, + set: function set(v) { + enableOverride = v; + } + }); // Env-specific initialization logic for debug instances + + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + return debug; + } + + function extend(namespace, delimiter) { + var newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + + + function enable(namespaces) { + createDebug.save(namespaces); + createDebug.names = []; + createDebug.skips = []; + var i; + var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + var len = split.length; + + for (i = 0; i < len; i++) { + if (!split[i]) { + // ignore empty strings + continue; + } + + namespaces = split[i].replace(/\*/g, '.*?'); + + if (namespaces[0] === '-') { + createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); + } else { + createDebug.names.push(new RegExp('^' + namespaces + '$')); + } + } + } + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + + + function disable() { + var namespaces = [].concat(_toConsumableArray(createDebug.names.map(toNamespace)), _toConsumableArray(createDebug.skips.map(toNamespace).map(function (namespace) { + return '-' + namespace; + }))).join(','); + createDebug.enable(''); + return namespaces; + } + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + + + function enabled(name) { + if (name[name.length - 1] === '*') { + return true; + } + + var i; + var len; + + for (i = 0, len = createDebug.skips.length; i < len; i++) { + if (createDebug.skips[i].test(name)) { + return false; + } + } + + for (i = 0, len = createDebug.names.length; i < len; i++) { + if (createDebug.names[i].test(name)) { + return true; + } + } + + return false; + } + /** + * Convert regexp to namespace + * + * @param {RegExp} regxep + * @return {String} namespace + * @api private + */ + + + function toNamespace(regexp) { + return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, '*'); + } + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + + + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + + return val; + } + /** + * XXX DO NOT USE. This is a temporary stub function. + * XXX It WILL be removed in the next major release. + */ + + + function destroy() { + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + + createDebug.enable(createDebug.load()); + return createDebug; } var common$1 = setup; var browser = createCommonjsModule(function (module, exports) { - /* eslint-env browser */ - - /** - * This is the web browser implementation of `debug()`. - */ - exports.formatArgs = formatArgs; - exports.save = save; - exports.load = load; - exports.useColors = useColors; - exports.storage = localstorage(); - - exports.destroy = function () { - var warned = false; - return function () { - if (!warned) { - warned = true; - console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); - } - }; - }(); - /** - * Colors. - */ - - - exports.colors = ['#0000CC', '#0000FF', '#0033CC', '#0033FF', '#0066CC', '#0066FF', '#0099CC', '#0099FF', '#00CC00', '#00CC33', '#00CC66', '#00CC99', '#00CCCC', '#00CCFF', '#3300CC', '#3300FF', '#3333CC', '#3333FF', '#3366CC', '#3366FF', '#3399CC', '#3399FF', '#33CC00', '#33CC33', '#33CC66', '#33CC99', '#33CCCC', '#33CCFF', '#6600CC', '#6600FF', '#6633CC', '#6633FF', '#66CC00', '#66CC33', '#9900CC', '#9900FF', '#9933CC', '#9933FF', '#99CC00', '#99CC33', '#CC0000', '#CC0033', '#CC0066', '#CC0099', '#CC00CC', '#CC00FF', '#CC3300', '#CC3333', '#CC3366', '#CC3399', '#CC33CC', '#CC33FF', '#CC6600', '#CC6633', '#CC9900', '#CC9933', '#CCCC00', '#CCCC33', '#FF0000', '#FF0033', '#FF0066', '#FF0099', '#FF00CC', '#FF00FF', '#FF3300', '#FF3333', '#FF3366', '#FF3399', '#FF33CC', '#FF33FF', '#FF6600', '#FF6633', '#FF9900', '#FF9933', '#FFCC00', '#FFCC33']; - /** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. - * - * TODO: add a `localStorage` variable to explicitly enable/disable colors - */ - // eslint-disable-next-line complexity - - function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { - return true; - } // Internet Explorer and Edge do not support colors. - - - if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { - return false; - } // Is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - - - return typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773 - typeof window !== 'undefined' && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker - typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/); - } - /** - * Colorize log arguments if enabled. - * - * @api public - */ - - - function formatArgs(args) { - args[0] = (this.useColors ? '%c' : '') + this.namespace + (this.useColors ? ' %c' : ' ') + args[0] + (this.useColors ? '%c ' : ' ') + '+' + module.exports.humanize(this.diff); - - if (!this.useColors) { - return; - } - - var c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit'); // The final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - - var index = 0; - var lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, function (match) { - if (match === '%%') { - return; - } - - index++; - - if (match === '%c') { - // We only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; - } - }); - args.splice(lastC, 0, c); - } - /** - * Invokes `console.debug()` when available. - * No-op when `console.debug` is not a "function". - * If `console.debug` is not available, falls back - * to `console.log`. - * - * @api public - */ - - - exports.log = console.debug || console.log || function () {}; - /** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ - - - function save(namespaces) { - try { - if (namespaces) { - exports.storage.setItem('debug', namespaces); - } else { - exports.storage.removeItem('debug'); - } - } catch (error) {// Swallow - // XXX (@Qix-) should we be logging these? - } - } - /** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ - - - function load() { - var r; - - try { - r = exports.storage.getItem('debug'); - } catch (error) {// Swallow - // XXX (@Qix-) should we be logging these? - } // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - - - if (!r && typeof process$3 !== 'undefined' && 'env' in process$3) { - r = process$3.env.DEBUG; - } - - return r; - } - /** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. - * - * @return {LocalStorage} - * @api private - */ - - - function localstorage() { - try { - // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context - // The Browser also has localStorage in the global context. - return localStorage; - } catch (error) {// Swallow - // XXX (@Qix-) should we be logging these? - } - } - - module.exports = common$1(exports); - var formatters = module.exports.formatters; - /** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. - */ - - formatters.j = function (v) { - try { - return JSON.stringify(v); - } catch (error) { - return '[UnexpectedJSONParseError]: ' + error.message; - } - }; + /* eslint-env browser */ + + /** + * This is the web browser implementation of `debug()`. + */ + exports.formatArgs = formatArgs; + exports.save = save; + exports.load = load; + exports.useColors = useColors; + exports.storage = localstorage(); + + exports.destroy = function () { + var warned = false; + return function () { + if (!warned) { + warned = true; + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + }; + }(); + /** + * Colors. + */ + + + exports.colors = ['#0000CC', '#0000FF', '#0033CC', '#0033FF', '#0066CC', '#0066FF', '#0099CC', '#0099FF', '#00CC00', '#00CC33', '#00CC66', '#00CC99', '#00CCCC', '#00CCFF', '#3300CC', '#3300FF', '#3333CC', '#3333FF', '#3366CC', '#3366FF', '#3399CC', '#3399FF', '#33CC00', '#33CC33', '#33CC66', '#33CC99', '#33CCCC', '#33CCFF', '#6600CC', '#6600FF', '#6633CC', '#6633FF', '#66CC00', '#66CC33', '#9900CC', '#9900FF', '#9933CC', '#9933FF', '#99CC00', '#99CC33', '#CC0000', '#CC0033', '#CC0066', '#CC0099', '#CC00CC', '#CC00FF', '#CC3300', '#CC3333', '#CC3366', '#CC3399', '#CC33CC', '#CC33FF', '#CC6600', '#CC6633', '#CC9900', '#CC9933', '#CCCC00', '#CCCC33', '#FF0000', '#FF0033', '#FF0066', '#FF0099', '#FF00CC', '#FF00FF', '#FF3300', '#FF3333', '#FF3366', '#FF3399', '#FF33CC', '#FF33FF', '#FF6600', '#FF6633', '#FF9900', '#FF9933', '#FFCC00', '#FFCC33']; + /** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + // eslint-disable-next-line complexity + + function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } // Internet Explorer and Edge do not support colors. + + + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + + + return typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773 + typeof window !== 'undefined' && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker + typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/); + } + /** + * Colorize log arguments if enabled. + * + * @api public + */ + + + function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + this.namespace + (this.useColors ? ' %c' : ' ') + args[0] + (this.useColors ? '%c ' : ' ') + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + var c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + + var index = 0; + var lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, function (match) { + if (match === '%%') { + return; + } + + index++; + + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + args.splice(lastC, 0, c); + } + /** + * Invokes `console.debug()` when available. + * No-op when `console.debug` is not a "function". + * If `console.debug` is not available, falls back + * to `console.log`. + * + * @api public + */ + + + exports.log = console.debug || console.log || function () {}; + /** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ + + + function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } + } + /** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + + + function load() { + var r; + + try { + r = exports.storage.getItem('debug'); + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + + + if (!r && typeof process$3 !== 'undefined' && 'env' in process$3) { + r = process$3.env.DEBUG; + } + + return r; + } + /** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + + + function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } + } + + module.exports = common$1(exports); + var formatters = module.exports.formatters; + /** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + + formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } + }; }); var propertyIsEnumerable = objectPropertyIsEnumerable.f; // `Object.{ entries, values }` methods implementation var createMethod = function (TO_ENTRIES) { - return function (it) { - var O = toIndexedObject(it); - var keys = objectKeys(O); - var length = keys.length; - var i = 0; - var result = []; - var key; - while (length > i) { - key = keys[i++]; - if (!descriptors || propertyIsEnumerable.call(O, key)) { - result.push(TO_ENTRIES ? [key, O[key]] : O[key]); - } - } - return result; - }; + return function (it) { + var O = toIndexedObject(it); + var keys = objectKeys(O); + var length = keys.length; + var i = 0; + var result = []; + var key; + while (length > i) { + key = keys[i++]; + if (!descriptors || propertyIsEnumerable.call(O, key)) { + result.push(TO_ENTRIES ? [key, O[key]] : O[key]); + } + } + return result; + }; }; var objectToArray = { - // `Object.entries` method - // https://tc39.es/ecma262/#sec-object.entries - entries: createMethod(true), - // `Object.values` method - // https://tc39.es/ecma262/#sec-object.values - values: createMethod(false) + // `Object.entries` method + // https://tc39.es/ecma262/#sec-object.entries + entries: createMethod(true), + // `Object.values` method + // https://tc39.es/ecma262/#sec-object.values + values: createMethod(false) }; var $values = objectToArray.values; @@ -21407,9 +21522,9 @@ // `Object.values` method // https://tc39.es/ecma262/#sec-object.values _export({ target: 'Object', stat: true }, { - values: function values(O) { - return $values(O); - } + values: function values(O) { + return $values(O); + } }); var format = util.format; @@ -21426,14 +21541,14 @@ */ var emitWarning = function emitWarning(msg, type) { - if (process$3.emitWarning) { - process$3.emitWarning(msg, type); - } else { - /* istanbul ignore next */ - nextTick$1(function () { - console.warn(type + ': ' + msg); - }); - } + if (process$3.emitWarning) { + process$3.emitWarning(msg, type); + } else { + /* istanbul ignore next */ + nextTick$1(function () { + console.warn(type + ': ' + msg); + }); + } }; /** * Show a deprecation warning. Each distinct message is only displayed once. @@ -21445,12 +21560,12 @@ var deprecate = function deprecate(msg) { - msg = String(msg); + msg = String(msg); - if (msg && !deprecate.cache[msg]) { - deprecate.cache[msg] = true; - emitWarning(msg, 'DeprecationWarning'); - } + if (msg && !deprecate.cache[msg]) { + deprecate.cache[msg] = true; + emitWarning(msg, 'DeprecationWarning'); + } }; deprecate.cache = {}; @@ -21463,9 +21578,9 @@ */ var warn = function warn(msg) { - if (msg) { - emitWarning(msg); - } + if (msg) { + emitWarning(msg); + } }; /** * When Mocha throws exceptions (or rejects `Promise`s), it attempts to assign a `code` property to the `Error` object, for easier handling. These are the potential values of `code`. @@ -21476,117 +21591,117 @@ var constants$4 = { - /** - * An unrecoverable error. - * @constant - * @default - */ - FATAL: 'ERR_MOCHA_FATAL', - - /** - * The type of an argument to a function call is invalid - * @constant - * @default - */ - INVALID_ARG_TYPE: 'ERR_MOCHA_INVALID_ARG_TYPE', - - /** - * The value of an argument to a function call is invalid - * @constant - * @default - */ - INVALID_ARG_VALUE: 'ERR_MOCHA_INVALID_ARG_VALUE', - - /** - * Something was thrown, but it wasn't an `Error` - * @constant - * @default - */ - INVALID_EXCEPTION: 'ERR_MOCHA_INVALID_EXCEPTION', - - /** - * An interface (e.g., `Mocha.interfaces`) is unknown or invalid - * @constant - * @default - */ - INVALID_INTERFACE: 'ERR_MOCHA_INVALID_INTERFACE', - - /** - * A reporter (.e.g, `Mocha.reporters`) is unknown or invalid - * @constant - * @default - */ - INVALID_REPORTER: 'ERR_MOCHA_INVALID_REPORTER', - - /** - * `done()` was called twice in a `Test` or `Hook` callback - * @constant - * @default - */ - MULTIPLE_DONE: 'ERR_MOCHA_MULTIPLE_DONE', - - /** - * No files matched the pattern provided by the user - * @constant - * @default - */ - NO_FILES_MATCH_PATTERN: 'ERR_MOCHA_NO_FILES_MATCH_PATTERN', - - /** - * Known, but unsupported behavior of some kind - * @constant - * @default - */ - UNSUPPORTED: 'ERR_MOCHA_UNSUPPORTED', - - /** - * Invalid state transition occurring in `Mocha` instance - * @constant - * @default - */ - INSTANCE_ALREADY_RUNNING: 'ERR_MOCHA_INSTANCE_ALREADY_RUNNING', - - /** - * Invalid state transition occurring in `Mocha` instance - * @constant - * @default - */ - INSTANCE_ALREADY_DISPOSED: 'ERR_MOCHA_INSTANCE_ALREADY_DISPOSED', - - /** - * Use of `only()` w/ `--forbid-only` results in this error. - * @constant - * @default - */ - FORBIDDEN_EXCLUSIVITY: 'ERR_MOCHA_FORBIDDEN_EXCLUSIVITY', - - /** - * To be thrown when a user-defined plugin implementation (e.g., `mochaHooks`) is invalid - * @constant - * @default - */ - INVALID_PLUGIN_IMPLEMENTATION: 'ERR_MOCHA_INVALID_PLUGIN_IMPLEMENTATION', - - /** - * To be thrown when a builtin or third-party plugin definition (the _definition_ of `mochaHooks`) is invalid - * @constant - * @default - */ - INVALID_PLUGIN_DEFINITION: 'ERR_MOCHA_INVALID_PLUGIN_DEFINITION', - - /** - * When a runnable exceeds its allowed run time. - * @constant - * @default - */ - TIMEOUT: 'ERR_MOCHA_TIMEOUT', - - /** - * Input file is not able to be parsed - * @constant - * @default - */ - UNPARSABLE_FILE: 'ERR_MOCHA_UNPARSABLE_FILE' + /** + * An unrecoverable error. + * @constant + * @default + */ + FATAL: 'ERR_MOCHA_FATAL', + + /** + * The type of an argument to a function call is invalid + * @constant + * @default + */ + INVALID_ARG_TYPE: 'ERR_MOCHA_INVALID_ARG_TYPE', + + /** + * The value of an argument to a function call is invalid + * @constant + * @default + */ + INVALID_ARG_VALUE: 'ERR_MOCHA_INVALID_ARG_VALUE', + + /** + * Something was thrown, but it wasn't an `Error` + * @constant + * @default + */ + INVALID_EXCEPTION: 'ERR_MOCHA_INVALID_EXCEPTION', + + /** + * An interface (e.g., `Mocha.interfaces`) is unknown or invalid + * @constant + * @default + */ + INVALID_INTERFACE: 'ERR_MOCHA_INVALID_INTERFACE', + + /** + * A reporter (.e.g, `Mocha.reporters`) is unknown or invalid + * @constant + * @default + */ + INVALID_REPORTER: 'ERR_MOCHA_INVALID_REPORTER', + + /** + * `done()` was called twice in a `Test` or `Hook` callback + * @constant + * @default + */ + MULTIPLE_DONE: 'ERR_MOCHA_MULTIPLE_DONE', + + /** + * No files matched the pattern provided by the user + * @constant + * @default + */ + NO_FILES_MATCH_PATTERN: 'ERR_MOCHA_NO_FILES_MATCH_PATTERN', + + /** + * Known, but unsupported behavior of some kind + * @constant + * @default + */ + UNSUPPORTED: 'ERR_MOCHA_UNSUPPORTED', + + /** + * Invalid state transition occurring in `Mocha` instance + * @constant + * @default + */ + INSTANCE_ALREADY_RUNNING: 'ERR_MOCHA_INSTANCE_ALREADY_RUNNING', + + /** + * Invalid state transition occurring in `Mocha` instance + * @constant + * @default + */ + INSTANCE_ALREADY_DISPOSED: 'ERR_MOCHA_INSTANCE_ALREADY_DISPOSED', + + /** + * Use of `only()` w/ `--forbid-only` results in this error. + * @constant + * @default + */ + FORBIDDEN_EXCLUSIVITY: 'ERR_MOCHA_FORBIDDEN_EXCLUSIVITY', + + /** + * To be thrown when a user-defined plugin implementation (e.g., `mochaHooks`) is invalid + * @constant + * @default + */ + INVALID_PLUGIN_IMPLEMENTATION: 'ERR_MOCHA_INVALID_PLUGIN_IMPLEMENTATION', + + /** + * To be thrown when a builtin or third-party plugin definition (the _definition_ of `mochaHooks`) is invalid + * @constant + * @default + */ + INVALID_PLUGIN_DEFINITION: 'ERR_MOCHA_INVALID_PLUGIN_DEFINITION', + + /** + * When a runnable exceeds its allowed run time. + * @constant + * @default + */ + TIMEOUT: 'ERR_MOCHA_TIMEOUT', + + /** + * Input file is not able to be parsed + * @constant + * @default + */ + UNPARSABLE_FILE: 'ERR_MOCHA_UNPARSABLE_FILE' }; /** * A set containing all string values of all Mocha error constants, for use by {@link isMochaError}. @@ -21605,10 +21720,10 @@ */ function createNoFilesMatchPatternError(message, pattern) { - var err = new Error(message); - err.code = constants$4.NO_FILES_MATCH_PATTERN; - err.pattern = pattern; - return err; + var err = new Error(message); + err.code = constants$4.NO_FILES_MATCH_PATTERN; + err.pattern = pattern; + return err; } /** * Creates an error object to be thrown when the reporter specified in the options was not found. @@ -21621,10 +21736,10 @@ function createInvalidReporterError(message, reporter) { - var err = new TypeError(message); - err.code = constants$4.INVALID_REPORTER; - err.reporter = reporter; - return err; + var err = new TypeError(message); + err.code = constants$4.INVALID_REPORTER; + err.reporter = reporter; + return err; } /** * Creates an error object to be thrown when the interface specified in the options was not found. @@ -21638,10 +21753,10 @@ function createInvalidInterfaceError(message, ui) { - var err = new Error(message); - err.code = constants$4.INVALID_INTERFACE; - err["interface"] = ui; - return err; + var err = new Error(message); + err.code = constants$4.INVALID_INTERFACE; + err["interface"] = ui; + return err; } /** * Creates an error object to be thrown when a behavior, option, or parameter is unsupported. @@ -21654,9 +21769,9 @@ function createUnsupportedError$2(message) { - var err = new Error(message); - err.code = constants$4.UNSUPPORTED; - return err; + var err = new Error(message); + err.code = constants$4.UNSUPPORTED; + return err; } /** * Creates an error object to be thrown when an argument is missing. @@ -21671,7 +21786,7 @@ function createMissingArgumentError$1(message, argument, expected) { - return createInvalidArgumentTypeError$1(message, argument, expected); + return createInvalidArgumentTypeError$1(message, argument, expected); } /** * Creates an error object to be thrown when an argument did not use the supported type @@ -21686,12 +21801,12 @@ function createInvalidArgumentTypeError$1(message, argument, expected) { - var err = new TypeError(message); - err.code = constants$4.INVALID_ARG_TYPE; - err.argument = argument; - err.expected = expected; - err.actual = _typeof(argument); - return err; + var err = new TypeError(message); + err.code = constants$4.INVALID_ARG_TYPE; + err.argument = argument; + err.expected = expected; + err.actual = _typeof(argument); + return err; } /** * Creates an error object to be thrown when an argument did not use the supported value @@ -21707,12 +21822,12 @@ function createInvalidArgumentValueError(message, argument, value, reason) { - var err = new TypeError(message); - err.code = constants$4.INVALID_ARG_VALUE; - err.argument = argument; - err.value = value; - err.reason = typeof reason !== 'undefined' ? reason : 'is invalid'; - return err; + var err = new TypeError(message); + err.code = constants$4.INVALID_ARG_VALUE; + err.argument = argument; + err.value = value; + err.reason = typeof reason !== 'undefined' ? reason : 'is invalid'; + return err; } /** * Creates an error object to be thrown when an exception was caught, but the `Error` is falsy or undefined. @@ -21725,11 +21840,11 @@ function createInvalidExceptionError$2(message, value) { - var err = new Error(message); - err.code = constants$4.INVALID_EXCEPTION; - err.valueType = _typeof(value); - err.value = value; - return err; + var err = new Error(message); + err.code = constants$4.INVALID_EXCEPTION; + err.valueType = _typeof(value); + err.value = value; + return err; } /** * Creates an error object to be thrown when an unrecoverable error occurs. @@ -21742,11 +21857,11 @@ function createFatalError$1(message, value) { - var err = new Error(message); - err.code = constants$4.FATAL; - err.valueType = _typeof(value); - err.value = value; - return err; + var err = new Error(message); + err.code = constants$4.FATAL; + err.valueType = _typeof(value); + err.value = value; + return err; } /** * Dynamically creates a plugin-type-specific error based on plugin type @@ -21761,16 +21876,16 @@ function createInvalidLegacyPluginError(message, pluginType, pluginId) { - switch (pluginType) { - case 'reporter': - return createInvalidReporterError(message, pluginId); + switch (pluginType) { + case 'reporter': + return createInvalidReporterError(message, pluginId); - case 'interface': - return createInvalidInterfaceError(message, pluginId); + case 'interface': + return createInvalidInterfaceError(message, pluginId); - default: - throw new Error('unknown pluginType "' + pluginType + '"'); - } + default: + throw new Error('unknown pluginType "' + pluginType + '"'); + } } /** * **DEPRECATED**. Use {@link createInvalidLegacyPluginError} instead Dynamically creates a plugin-type-specific error based on plugin type @@ -21786,8 +21901,8 @@ function createInvalidPluginError() { - deprecate('Use createInvalidLegacyPluginError() instead'); - return createInvalidLegacyPluginError.apply(void 0, arguments); + deprecate('Use createInvalidLegacyPluginError() instead'); + return createInvalidLegacyPluginError.apply(void 0, arguments); } /** * Creates an error object to be thrown when a mocha object's `run` method is executed while it is already disposed. @@ -21799,11 +21914,11 @@ function createMochaInstanceAlreadyDisposedError(message, cleanReferencesAfterRun, instance) { - var err = new Error(message); - err.code = constants$4.INSTANCE_ALREADY_DISPOSED; - err.cleanReferencesAfterRun = cleanReferencesAfterRun; - err.instance = instance; - return err; + var err = new Error(message); + err.code = constants$4.INSTANCE_ALREADY_DISPOSED; + err.cleanReferencesAfterRun = cleanReferencesAfterRun; + err.instance = instance; + return err; } /** * Creates an error object to be thrown when a mocha object's `run` method is called while a test run is in progress. @@ -21814,10 +21929,10 @@ function createMochaInstanceAlreadyRunningError(message, instance) { - var err = new Error(message); - err.code = constants$4.INSTANCE_ALREADY_RUNNING; - err.instance = instance; - return err; + var err = new Error(message); + err.code = constants$4.INSTANCE_ALREADY_RUNNING; + err.instance = instance; + return err; } /** * Creates an error object to be thrown when done() is called multiple times in a test @@ -21831,33 +21946,33 @@ function createMultipleDoneError$1(runnable, originalErr) { - var title; + var title; - try { - title = format('<%s>', runnable.fullTitle()); + try { + title = format('<%s>', runnable.fullTitle()); - if (runnable.parent.root) { - title += ' (of root suite)'; - } - } catch (ignored) { - title = format('<%s> (of unknown suite)', runnable.title); - } + if (runnable.parent.root) { + title += ' (of root suite)'; + } + } catch (ignored) { + title = format('<%s> (of unknown suite)', runnable.title); + } - var message = format('done() called multiple times in %s %s', runnable.type ? runnable.type : 'unknown runnable', title); + var message = format('done() called multiple times in %s %s', runnable.type ? runnable.type : 'unknown runnable', title); - if (runnable.file) { - message += format(' of file %s', runnable.file); - } + if (runnable.file) { + message += format(' of file %s', runnable.file); + } - if (originalErr) { - message += format('; in addition, done() received error: %s', originalErr); - } + if (originalErr) { + message += format('; in addition, done() received error: %s', originalErr); + } - var err = new Error(message); - err.code = constants$4.MULTIPLE_DONE; - err.valueType = _typeof(originalErr); - err.value = originalErr; - return err; + var err = new Error(message); + err.code = constants$4.MULTIPLE_DONE; + err.valueType = _typeof(originalErr); + err.value = originalErr; + return err; } /** * Creates an error object to be thrown when `.only()` is used with @@ -21870,9 +21985,9 @@ function createForbiddenExclusivityError$1(mocha) { - var err = new Error(mocha.isWorker ? '`.only` is not supported in parallel mode' : '`.only` forbidden by --forbid-only'); - err.code = constants$4.FORBIDDEN_EXCLUSIVITY; - return err; + var err = new Error(mocha.isWorker ? '`.only` is not supported in parallel mode' : '`.only` forbidden by --forbid-only'); + err.code = constants$4.FORBIDDEN_EXCLUSIVITY; + return err; } /** * Creates an error object to be thrown when a plugin definition is invalid @@ -21885,10 +22000,10 @@ function createInvalidPluginDefinitionError(msg, pluginDef) { - var err = new Error(msg); - err.code = constants$4.INVALID_PLUGIN_DEFINITION; - err.pluginDef = pluginDef; - return err; + var err = new Error(msg); + err.code = constants$4.INVALID_PLUGIN_DEFINITION; + err.pluginDef = pluginDef; + return err; } /** * Creates an error object to be thrown when a plugin implementation (user code) is invalid @@ -21903,15 +22018,15 @@ function createInvalidPluginImplementationError(msg) { - var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, - pluginDef = _ref.pluginDef, - pluginImpl = _ref.pluginImpl; + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + pluginDef = _ref.pluginDef, + pluginImpl = _ref.pluginImpl; - var err = new Error(msg); - err.code = constants$4.INVALID_PLUGIN_IMPLEMENTATION; - err.pluginDef = pluginDef; - err.pluginImpl = pluginImpl; - return err; + var err = new Error(msg); + err.code = constants$4.INVALID_PLUGIN_IMPLEMENTATION; + err.pluginDef = pluginDef; + err.pluginImpl = pluginImpl; + return err; } /** * Creates an error object to be thrown when a runnable exceeds its allowed run time. @@ -21924,11 +22039,11 @@ function createTimeoutError$1(msg, timeout, file) { - var err = new Error(msg); - err.code = constants$4.TIMEOUT; - err.timeout = timeout; - err.file = file; - return err; + var err = new Error(msg); + err.code = constants$4.TIMEOUT; + err.timeout = timeout; + err.file = file; + return err; } /** * Creates an error object to be thrown when file is unparsable @@ -21941,9 +22056,9 @@ function createUnparsableFileError(message, filename) { - var err = new Error(message); - err.code = constants$4.UNPARSABLE_FILE; - return err; + var err = new Error(message); + err.code = constants$4.UNPARSABLE_FILE; + return err; } /** * Returns `true` if an error came out of Mocha. @@ -21956,40 +22071,40 @@ var isMochaError$1 = function isMochaError(err) { - return Boolean(err && _typeof(err) === 'object' && MOCHA_ERRORS.has(err.code)); + return Boolean(err && _typeof(err) === 'object' && MOCHA_ERRORS.has(err.code)); }; var errors = { - constants: constants$4, - createFatalError: createFatalError$1, - createForbiddenExclusivityError: createForbiddenExclusivityError$1, - createInvalidArgumentTypeError: createInvalidArgumentTypeError$1, - createInvalidArgumentValueError: createInvalidArgumentValueError, - createInvalidExceptionError: createInvalidExceptionError$2, - createInvalidInterfaceError: createInvalidInterfaceError, - createInvalidLegacyPluginError: createInvalidLegacyPluginError, - createInvalidPluginDefinitionError: createInvalidPluginDefinitionError, - createInvalidPluginError: createInvalidPluginError, - createInvalidPluginImplementationError: createInvalidPluginImplementationError, - createInvalidReporterError: createInvalidReporterError, - createMissingArgumentError: createMissingArgumentError$1, - createMochaInstanceAlreadyDisposedError: createMochaInstanceAlreadyDisposedError, - createMochaInstanceAlreadyRunningError: createMochaInstanceAlreadyRunningError, - createMultipleDoneError: createMultipleDoneError$1, - createNoFilesMatchPatternError: createNoFilesMatchPatternError, - createTimeoutError: createTimeoutError$1, - createUnparsableFileError: createUnparsableFileError, - createUnsupportedError: createUnsupportedError$2, - deprecate: deprecate, - isMochaError: isMochaError$1, - warn: warn + constants: constants$4, + createFatalError: createFatalError$1, + createForbiddenExclusivityError: createForbiddenExclusivityError$1, + createInvalidArgumentTypeError: createInvalidArgumentTypeError$1, + createInvalidArgumentValueError: createInvalidArgumentValueError, + createInvalidExceptionError: createInvalidExceptionError$2, + createInvalidInterfaceError: createInvalidInterfaceError, + createInvalidLegacyPluginError: createInvalidLegacyPluginError, + createInvalidPluginDefinitionError: createInvalidPluginDefinitionError, + createInvalidPluginError: createInvalidPluginError, + createInvalidPluginImplementationError: createInvalidPluginImplementationError, + createInvalidReporterError: createInvalidReporterError, + createMissingArgumentError: createMissingArgumentError$1, + createMochaInstanceAlreadyDisposedError: createMochaInstanceAlreadyDisposedError, + createMochaInstanceAlreadyRunningError: createMochaInstanceAlreadyRunningError, + createMultipleDoneError: createMultipleDoneError$1, + createNoFilesMatchPatternError: createNoFilesMatchPatternError, + createTimeoutError: createTimeoutError$1, + createUnparsableFileError: createUnparsableFileError, + createUnsupportedError: createUnsupportedError$2, + deprecate: deprecate, + isMochaError: isMochaError$1, + warn: warn }; var EventEmitter$1 = EventEmitter$2.EventEmitter; var debug$1 = browser('mocha:runnable'); var createInvalidExceptionError$1 = errors.createInvalidExceptionError, - createMultipleDoneError = errors.createMultipleDoneError, - createTimeoutError = errors.createTimeoutError; + createMultipleDoneError = errors.createMultipleDoneError, + createTimeoutError = errors.createTimeoutError; /** * Save timer references to avoid Sinon interfering (see GH-237). * @private @@ -22011,21 +22126,21 @@ */ function Runnable(title, fn) { - this.title = title; - this.fn = fn; - this.body = (fn || '').toString(); - this.async = fn && fn.length; - this.sync = !this.async; - this._timeout = 2000; - this._slow = 75; - this._retries = -1; - utils.assignNewMochaID(this); - Object.defineProperty(this, 'id', { - get: function get() { - return utils.getMochaID(this); - } - }); - this.reset(); + this.title = title; + this.fn = fn; + this.body = (fn || '').toString(); + this.async = fn && fn.length; + this.sync = !this.async; + this._timeout = 2000; + this._slow = 75; + this._retries = -1; + utils.assignNewMochaID(this); + Object.defineProperty(this, 'id', { + get: function get() { + return utils.getMochaID(this); + } + }); + this.reset(); } /** * Inherit from `EventEmitter.prototype`. @@ -22038,11 +22153,11 @@ */ Runnable.prototype.reset = function () { - this.timedOut = false; - this._currentRetry = 0; - this.pending = false; - delete this.state; - delete this.err; + this.timedOut = false; + this._currentRetry = 0; + this.pending = false; + delete this.state; + delete this.err; }; /** * Get current timeout value in msecs. @@ -22069,32 +22184,32 @@ Runnable.prototype.timeout = function (ms) { - if (!arguments.length) { - return this._timeout; - } + if (!arguments.length) { + return this._timeout; + } - if (typeof ms === 'string') { - ms = ms$1(ms); - } // Clamp to range + if (typeof ms === 'string') { + ms = ms$1(ms); + } // Clamp to range - var INT_MAX = Math.pow(2, 31) - 1; - var range = [0, INT_MAX]; - ms = utils.clamp(ms, range); // see #1652 for reasoning + var INT_MAX = Math.pow(2, 31) - 1; + var range = [0, INT_MAX]; + ms = utils.clamp(ms, range); // see #1652 for reasoning - if (ms === range[0] || ms === range[1]) { - this._timeout = 0; - } else { - this._timeout = ms; - } + if (ms === range[0] || ms === range[1]) { + this._timeout = 0; + } else { + this._timeout = ms; + } - debug$1('timeout %d', this._timeout); + debug$1('timeout %d', this._timeout); - if (this.timer) { - this.resetTimeout(); - } + if (this.timer) { + this.resetTimeout(); + } - return this; + return this; }; /** * Set or get slow `ms`. @@ -22106,17 +22221,17 @@ Runnable.prototype.slow = function (ms) { - if (!arguments.length || typeof ms === 'undefined') { - return this._slow; - } + if (!arguments.length || typeof ms === 'undefined') { + return this._slow; + } - if (typeof ms === 'string') { - ms = ms$1(ms); - } + if (typeof ms === 'string') { + ms = ms$1(ms); + } - debug$1('slow %d', ms); - this._slow = ms; - return this; + debug$1('slow %d', ms); + this._slow = ms; + return this; }; /** * Halt and mark as pending. @@ -22127,8 +22242,8 @@ Runnable.prototype.skip = function () { - this.pending = true; - throw new pending('sync skip; aborting execution'); + this.pending = true; + throw new pending('sync skip; aborting execution'); }; /** * Check if this runnable or its parent suite is marked as pending. @@ -22138,7 +22253,7 @@ Runnable.prototype.isPending = function () { - return this.pending || this.parent && this.parent.isPending(); + return this.pending || this.parent && this.parent.isPending(); }; /** * Return `true` if this Runnable has failed. @@ -22148,7 +22263,7 @@ Runnable.prototype.isFailed = function () { - return !this.isPending() && this.state === constants$3.STATE_FAILED; + return !this.isPending() && this.state === constants$3.STATE_FAILED; }; /** * Return `true` if this Runnable has passed. @@ -22158,7 +22273,7 @@ Runnable.prototype.isPassed = function () { - return !this.isPending() && this.state === constants$3.STATE_PASSED; + return !this.isPending() && this.state === constants$3.STATE_PASSED; }; /** * Set or get number of retries. @@ -22168,11 +22283,11 @@ Runnable.prototype.retries = function (n) { - if (!arguments.length) { - return this._retries; - } + if (!arguments.length) { + return this._retries; + } - this._retries = n; + this._retries = n; }; /** * Set or get current retry @@ -22182,11 +22297,11 @@ Runnable.prototype.currentRetry = function (n) { - if (!arguments.length) { - return this._currentRetry; - } + if (!arguments.length) { + return this._currentRetry; + } - this._currentRetry = n; + this._currentRetry = n; }; /** * Return the full title generated by recursively concatenating the parent's @@ -22199,7 +22314,7 @@ Runnable.prototype.fullTitle = function () { - return this.titlePath().join(' '); + return this.titlePath().join(' '); }; /** * Return the title path generated by concatenating the parent's title path with the title. @@ -22211,7 +22326,7 @@ Runnable.prototype.titlePath = function () { - return this.parent.titlePath().concat([this.title]); + return this.parent.titlePath().concat([this.title]); }; /** * Clear the timeout. @@ -22221,7 +22336,7 @@ Runnable.prototype.clearTimeout = function () { - clearTimeout$1(this.timer); + clearTimeout$1(this.timer); }; /** * Reset the timeout. @@ -22231,22 +22346,22 @@ Runnable.prototype.resetTimeout = function () { - var self = this; - var ms = this.timeout(); + var self = this; + var ms = this.timeout(); - if (ms === 0) { - return; - } + if (ms === 0) { + return; + } - this.clearTimeout(); - this.timer = setTimeout$3(function () { - if (self.timeout() === 0) { - return; - } + this.clearTimeout(); + this.timer = setTimeout$3(function () { + if (self.timeout() === 0) { + return; + } - self.callback(self._timeoutError(ms)); - self.timedOut = true; - }, ms); + self.callback(self._timeoutError(ms)); + self.timedOut = true; + }, ms); }; /** * Set or get a list of whitelisted globals for this test run. @@ -22257,11 +22372,11 @@ Runnable.prototype.globals = function (globals) { - if (!arguments.length) { - return this._allowedGlobals; - } + if (!arguments.length) { + return this._allowedGlobals; + } - this._allowedGlobals = globals; + this._allowedGlobals = globals; }; /** * Run the test and invoke `fn(err)`. @@ -22272,145 +22387,145 @@ Runnable.prototype.run = function (fn) { - var self = this; - var start = new Date$4(); - var ctx = this.ctx; - var finished; - var errorWasHandled = false; - if (this.isPending()) return fn(); // Sometimes the ctx exists, but it is not runnable + var self = this; + var start = new Date$4(); + var ctx = this.ctx; + var finished; + var errorWasHandled = false; + if (this.isPending()) return fn(); // Sometimes the ctx exists, but it is not runnable - if (ctx && ctx.runnable) { - ctx.runnable(this); - } // called multiple times + if (ctx && ctx.runnable) { + ctx.runnable(this); + } // called multiple times - function multiple(err) { - if (errorWasHandled) { - return; - } + function multiple(err) { + if (errorWasHandled) { + return; + } - errorWasHandled = true; - self.emit('error', createMultipleDoneError(self, err)); - } // finished + errorWasHandled = true; + self.emit('error', createMultipleDoneError(self, err)); + } // finished - function done(err) { - var ms = self.timeout(); + function done(err) { + var ms = self.timeout(); - if (self.timedOut) { - return; - } + if (self.timedOut) { + return; + } - if (finished) { - return multiple(err); - } + if (finished) { + return multiple(err); + } - self.clearTimeout(); - self.duration = new Date$4() - start; - finished = true; + self.clearTimeout(); + self.duration = new Date$4() - start; + finished = true; - if (!err && self.duration > ms && ms > 0) { - err = self._timeoutError(ms); - } + if (!err && self.duration > ms && ms > 0) { + err = self._timeoutError(ms); + } - fn(err); - } // for .resetTimeout() and Runner#uncaught() + fn(err); + } // for .resetTimeout() and Runner#uncaught() - this.callback = done; + this.callback = done; - if (this.fn && typeof this.fn.call !== 'function') { - done(new TypeError('A runnable must be passed a function as its second argument.')); - return; - } // explicit async with `done` argument + if (this.fn && typeof this.fn.call !== 'function') { + done(new TypeError('A runnable must be passed a function as its second argument.')); + return; + } // explicit async with `done` argument - if (this.async) { - this.resetTimeout(); // allows skip() to be used in an explicit async context + if (this.async) { + this.resetTimeout(); // allows skip() to be used in an explicit async context - this.skip = function asyncSkip() { - this.pending = true; - done(); // halt execution, the uncaught handler will ignore the failure. + this.skip = function asyncSkip() { + this.pending = true; + done(); // halt execution, the uncaught handler will ignore the failure. - throw new pending('async skip; aborting execution'); - }; + throw new pending('async skip; aborting execution'); + }; - try { - callFnAsync(this.fn); - } catch (err) { - // handles async runnables which actually run synchronously - errorWasHandled = true; + try { + callFnAsync(this.fn); + } catch (err) { + // handles async runnables which actually run synchronously + errorWasHandled = true; - if (err instanceof pending) { - return; // done() is already called in this.skip() - } else if (this.allowUncaught) { - throw err; - } + if (err instanceof pending) { + return; // done() is already called in this.skip() + } else if (this.allowUncaught) { + throw err; + } - done(Runnable.toValueOrError(err)); - } + done(Runnable.toValueOrError(err)); + } - return; - } // sync or promise-returning + return; + } // sync or promise-returning - try { - callFn(this.fn); - } catch (err) { - errorWasHandled = true; + try { + callFn(this.fn); + } catch (err) { + errorWasHandled = true; - if (err instanceof pending) { - return done(); - } else if (this.allowUncaught) { - throw err; - } + if (err instanceof pending) { + return done(); + } else if (this.allowUncaught) { + throw err; + } - done(Runnable.toValueOrError(err)); - } + done(Runnable.toValueOrError(err)); + } - function callFn(fn) { - var result = fn.call(ctx); + function callFn(fn) { + var result = fn.call(ctx); - if (result && typeof result.then === 'function') { - self.resetTimeout(); - result.then(function () { - done(); // Return null so libraries like bluebird do not warn about - // subsequently constructed Promises. + if (result && typeof result.then === 'function') { + self.resetTimeout(); + result.then(function () { + done(); // Return null so libraries like bluebird do not warn about + // subsequently constructed Promises. - return null; - }, function (reason) { - done(reason || new Error('Promise rejected with no or falsy reason')); - }); - } else { - if (self.asyncOnly) { - return done(new Error('--async-only option in use without declaring `done()` or returning a promise')); - } + return null; + }, function (reason) { + done(reason || new Error('Promise rejected with no or falsy reason')); + }); + } else { + if (self.asyncOnly) { + return done(new Error('--async-only option in use without declaring `done()` or returning a promise')); + } - done(); - } - } + done(); + } + } - function callFnAsync(fn) { - var result = fn.call(ctx, function (err) { - if (err instanceof Error || toString.call(err) === '[object Error]') { - return done(err); - } + function callFnAsync(fn) { + var result = fn.call(ctx, function (err) { + if (err instanceof Error || toString.call(err) === '[object Error]') { + return done(err); + } - if (err) { - if (Object.prototype.toString.call(err) === '[object Object]') { - return done(new Error('done() invoked with non-Error: ' + JSON.stringify(err))); - } + if (err) { + if (Object.prototype.toString.call(err) === '[object Object]') { + return done(new Error('done() invoked with non-Error: ' + JSON.stringify(err))); + } - return done(new Error('done() invoked with non-Error: ' + err)); - } + return done(new Error('done() invoked with non-Error: ' + err)); + } - if (result && utils.isPromise(result)) { - return done(new Error('Resolution method is overspecified. Specify a callback *or* return a Promise; not both.')); - } + if (result && utils.isPromise(result)) { + return done(new Error('Resolution method is overspecified. Specify a callback *or* return a Promise; not both.')); + } - done(); - }); - } + done(); + }); + } }; /** * Instantiates a "timeout" error @@ -22422,41 +22537,41 @@ Runnable.prototype._timeoutError = function (ms) { - var msg = "Timeout of ".concat(ms, "ms exceeded. For async tests and hooks, ensure \"done()\" is called; if returning a Promise, ensure it resolves."); + var msg = "Timeout of ".concat(ms, "ms exceeded. For async tests and hooks, ensure \"done()\" is called; if returning a Promise, ensure it resolves."); - if (this.file) { - msg += ' (' + this.file + ')'; - } + if (this.file) { + msg += ' (' + this.file + ')'; + } - return createTimeoutError(msg, ms, this.file); + return createTimeoutError(msg, ms, this.file); }; var constants$3 = utils.defineConstants( - /** - * {@link Runnable}-related constants. - * @public - * @memberof Runnable - * @readonly - * @static - * @alias constants - * @enum {string} - */ - { - /** - * Value of `state` prop when a `Runnable` has failed - */ - STATE_FAILED: 'failed', - - /** - * Value of `state` prop when a `Runnable` has passed - */ - STATE_PASSED: 'passed', - - /** - * Value of `state` prop when a `Runnable` has been skipped by user - */ - STATE_PENDING: 'pending' - }); + /** + * {@link Runnable}-related constants. + * @public + * @memberof Runnable + * @readonly + * @static + * @alias constants + * @enum {string} + */ + { + /** + * Value of `state` prop when a `Runnable` has failed + */ + STATE_FAILED: 'failed', + + /** + * Value of `state` prop when a `Runnable` has passed + */ + STATE_PASSED: 'passed', + + /** + * Value of `state` prop when a `Runnable` has been skipped by user + */ + STATE_PENDING: 'pending' + }); /** * Given `value`, return identity if truthy, otherwise create an "invalid exception" error and return that. * @param {*} [value] - Value to return, if present @@ -22465,13 +22580,13 @@ */ Runnable.toValueOrError = function (value) { - return value || createInvalidExceptionError$1('Runnable failed with falsy or undefined exception. Please throw an Error instead.', value); + return value || createInvalidExceptionError$1('Runnable failed with falsy or undefined exception. Please throw an Error instead.', value); }; Runnable.constants = constants$3; var inherits = utils.inherits, - constants$2 = utils.constants; + constants$2 = utils.constants; var MOCHA_ID_PROP_NAME$1 = constants$2.MOCHA_ID_PROP_NAME; /** * Expose `Hook`. @@ -22488,8 +22603,8 @@ */ function Hook(title, fn) { - runnable.call(this, title, fn); - this.type = 'hook'; + runnable.call(this, title, fn); + this.type = 'hook'; } /** * Inherit from `Runnable.prototype`. @@ -22502,8 +22617,8 @@ */ Hook.prototype.reset = function () { - runnable.prototype.reset.call(this); - delete this._error; + runnable.prototype.reset.call(this); + delete this._error; }; /** * Get or set the test `err`. @@ -22516,13 +22631,13 @@ Hook.prototype.error = function (err) { - if (!arguments.length) { - err = this._error; - this._error = null; - return err; - } + if (!arguments.length) { + err = this._error; + this._error = null; + return err; + } - this._error = err; + this._error = err; }; /** * Returns an object suitable for IPC. @@ -22533,765 +22648,765 @@ Hook.prototype.serialize = function serialize() { - return _defineProperty({ - $$isPending: this.isPending(), - $$titlePath: this.titlePath(), - ctx: this.ctx && this.ctx.currentTest ? { - currentTest: _defineProperty({ - title: this.ctx.currentTest.title - }, MOCHA_ID_PROP_NAME$1, this.ctx.currentTest.id) - } : {}, - parent: _defineProperty({}, MOCHA_ID_PROP_NAME$1, this.parent.id), - title: this.title, - type: this.type - }, MOCHA_ID_PROP_NAME$1, this.id); + return _defineProperty({ + $$isPending: this.isPending(), + $$titlePath: this.titlePath(), + ctx: this.ctx && this.ctx.currentTest ? { + currentTest: _defineProperty({ + title: this.ctx.currentTest.title + }, MOCHA_ID_PROP_NAME$1, this.ctx.currentTest.id) + } : {}, + parent: _defineProperty({}, MOCHA_ID_PROP_NAME$1, this.parent.id), + title: this.title, + type: this.type + }, MOCHA_ID_PROP_NAME$1, this.id); }; var suite = createCommonjsModule(function (module, exports) { - /** - * Module dependencies. - * @private - */ - - var EventEmitter = EventEmitter$2.EventEmitter; - var assignNewMochaID = utils.assignNewMochaID, - clamp = utils.clamp, - utilsConstants = utils.constants, - createMap = utils.createMap, - defineConstants = utils.defineConstants, - getMochaID = utils.getMochaID, - inherits = utils.inherits, - isString = utils.isString; - var debug = browser('mocha:suite'); - var MOCHA_ID_PROP_NAME = utilsConstants.MOCHA_ID_PROP_NAME; - /** - * Expose `Suite`. - */ - - module.exports = Suite; - /** - * Create a new `Suite` with the given `title` and parent `Suite`. - * - * @public - * @param {Suite} parent - Parent suite (required!) - * @param {string} title - Title - * @return {Suite} - */ - - Suite.create = function (parent, title) { - var suite = new Suite(title, parent.ctx); - suite.parent = parent; - title = suite.fullTitle(); - parent.addSuite(suite); - return suite; - }; - /** - * Constructs a new `Suite` instance with the given `title`, `ctx`, and `isRoot`. - * - * @public - * @class - * @extends EventEmitter - * @see {@link https://nodejs.org/api/events.html#events_class_eventemitter|EventEmitter} - * @param {string} title - Suite title. - * @param {Context} parentContext - Parent context instance. - * @param {boolean} [isRoot=false] - Whether this is the root suite. - */ - - - function Suite(title, parentContext, isRoot) { - if (!isString(title)) { - throw errors.createInvalidArgumentTypeError('Suite argument "title" must be a string. Received type "' + _typeof(title) + '"', 'title', 'string'); - } - - this.title = title; - - function Context() {} - - Context.prototype = parentContext; - this.ctx = new Context(); - this.suites = []; - this.tests = []; - this.root = isRoot === true; - this.pending = false; - this._retries = -1; - this._beforeEach = []; - this._beforeAll = []; - this._afterEach = []; - this._afterAll = []; - this._timeout = 2000; - this._slow = 75; - this._bail = false; - this._onlyTests = []; - this._onlySuites = []; - assignNewMochaID(this); - Object.defineProperty(this, 'id', { - get: function get() { - return getMochaID(this); - } - }); - this.reset(); - this.on('newListener', function (event) { - if (deprecatedEvents[event]) { - errors.deprecate('Event "' + event + '" is deprecated. Please let the Mocha team know about your use case: https://git.io/v6Lwm'); - } - }); - } - /** - * Inherit from `EventEmitter.prototype`. - */ + /** + * Module dependencies. + * @private + */ + + var EventEmitter = EventEmitter$2.EventEmitter; + var assignNewMochaID = utils.assignNewMochaID, + clamp = utils.clamp, + utilsConstants = utils.constants, + createMap = utils.createMap, + defineConstants = utils.defineConstants, + getMochaID = utils.getMochaID, + inherits = utils.inherits, + isString = utils.isString; + var debug = browser('mocha:suite'); + var MOCHA_ID_PROP_NAME = utilsConstants.MOCHA_ID_PROP_NAME; + /** + * Expose `Suite`. + */ + + module.exports = Suite; + /** + * Create a new `Suite` with the given `title` and parent `Suite`. + * + * @public + * @param {Suite} parent - Parent suite (required!) + * @param {string} title - Title + * @return {Suite} + */ + + Suite.create = function (parent, title) { + var suite = new Suite(title, parent.ctx); + suite.parent = parent; + title = suite.fullTitle(); + parent.addSuite(suite); + return suite; + }; + /** + * Constructs a new `Suite` instance with the given `title`, `ctx`, and `isRoot`. + * + * @public + * @class + * @extends EventEmitter + * @see {@link https://nodejs.org/api/events.html#events_class_eventemitter|EventEmitter} + * @param {string} title - Suite title. + * @param {Context} parentContext - Parent context instance. + * @param {boolean} [isRoot=false] - Whether this is the root suite. + */ + + + function Suite(title, parentContext, isRoot) { + if (!isString(title)) { + throw errors.createInvalidArgumentTypeError('Suite argument "title" must be a string. Received type "' + _typeof(title) + '"', 'title', 'string'); + } + + this.title = title; + + function Context() {} + + Context.prototype = parentContext; + this.ctx = new Context(); + this.suites = []; + this.tests = []; + this.root = isRoot === true; + this.pending = false; + this._retries = -1; + this._beforeEach = []; + this._beforeAll = []; + this._afterEach = []; + this._afterAll = []; + this._timeout = 2000; + this._slow = 75; + this._bail = false; + this._onlyTests = []; + this._onlySuites = []; + assignNewMochaID(this); + Object.defineProperty(this, 'id', { + get: function get() { + return getMochaID(this); + } + }); + this.reset(); + this.on('newListener', function (event) { + if (deprecatedEvents[event]) { + errors.deprecate('Event "' + event + '" is deprecated. Please let the Mocha team know about your use case: https://git.io/v6Lwm'); + } + }); + } + /** + * Inherit from `EventEmitter.prototype`. + */ + + + inherits(Suite, EventEmitter); + /** + * Resets the state initially or for a next run. + */ + + Suite.prototype.reset = function () { + this.delayed = false; + + function doReset(thingToReset) { + thingToReset.reset(); + } + + this.suites.forEach(doReset); + this.tests.forEach(doReset); + + this._beforeEach.forEach(doReset); + + this._afterEach.forEach(doReset); + + this._beforeAll.forEach(doReset); + + this._afterAll.forEach(doReset); + }; + /** + * Return a clone of this `Suite`. + * + * @private + * @return {Suite} + */ + + + Suite.prototype.clone = function () { + var suite = new Suite(this.title); + debug('clone'); + suite.ctx = this.ctx; + suite.root = this.root; + suite.timeout(this.timeout()); + suite.retries(this.retries()); + suite.slow(this.slow()); + suite.bail(this.bail()); + return suite; + }; + /** + * Set or get timeout `ms` or short-hand such as "2s". + * + * @private + * @todo Do not attempt to set value if `ms` is undefined + * @param {number|string} ms + * @return {Suite|number} for chaining + */ + + + Suite.prototype.timeout = function (ms) { + if (!arguments.length) { + return this._timeout; + } + + if (typeof ms === 'string') { + ms = ms$1(ms); + } // Clamp to range + + + var INT_MAX = Math.pow(2, 31) - 1; + var range = [0, INT_MAX]; + ms = clamp(ms, range); + debug('timeout %d', ms); + this._timeout = parseInt(ms, 10); + return this; + }; + /** + * Set or get number of times to retry a failed test. + * + * @private + * @param {number|string} n + * @return {Suite|number} for chaining + */ + + + Suite.prototype.retries = function (n) { + if (!arguments.length) { + return this._retries; + } + + debug('retries %d', n); + this._retries = parseInt(n, 10) || 0; + return this; + }; + /** + * Set or get slow `ms` or short-hand such as "2s". + * + * @private + * @param {number|string} ms + * @return {Suite|number} for chaining + */ + + + Suite.prototype.slow = function (ms) { + if (!arguments.length) { + return this._slow; + } + + if (typeof ms === 'string') { + ms = ms$1(ms); + } + + debug('slow %d', ms); + this._slow = ms; + return this; + }; + /** + * Set or get whether to bail after first error. + * + * @private + * @param {boolean} bail + * @return {Suite|number} for chaining + */ + + + Suite.prototype.bail = function (bail) { + if (!arguments.length) { + return this._bail; + } + + debug('bail %s', bail); + this._bail = bail; + return this; + }; + /** + * Check if this suite or its parent suite is marked as pending. + * + * @private + */ + + + Suite.prototype.isPending = function () { + return this.pending || this.parent && this.parent.isPending(); + }; + /** + * Generic hook-creator. + * @private + * @param {string} title - Title of hook + * @param {Function} fn - Hook callback + * @returns {Hook} A new hook + */ + + + Suite.prototype._createHook = function (title, fn) { + var hook$1 = new hook(title, fn); + hook$1.parent = this; + hook$1.timeout(this.timeout()); + hook$1.retries(this.retries()); + hook$1.slow(this.slow()); + hook$1.ctx = this.ctx; + hook$1.file = this.file; + return hook$1; + }; + /** + * Run `fn(test[, done])` before running tests. + * + * @private + * @param {string} title + * @param {Function} fn + * @return {Suite} for chaining + */ + + + Suite.prototype.beforeAll = function (title, fn) { + if (this.isPending()) { + return this; + } + + if (typeof title === 'function') { + fn = title; + title = fn.name; + } + + title = '"before all" hook' + (title ? ': ' + title : ''); + + var hook = this._createHook(title, fn); + + this._beforeAll.push(hook); + + this.emit(constants.EVENT_SUITE_ADD_HOOK_BEFORE_ALL, hook); + return this; + }; + /** + * Run `fn(test[, done])` after running tests. + * + * @private + * @param {string} title + * @param {Function} fn + * @return {Suite} for chaining + */ + + + Suite.prototype.afterAll = function (title, fn) { + if (this.isPending()) { + return this; + } + + if (typeof title === 'function') { + fn = title; + title = fn.name; + } + + title = '"after all" hook' + (title ? ': ' + title : ''); + + var hook = this._createHook(title, fn); + + this._afterAll.push(hook); + + this.emit(constants.EVENT_SUITE_ADD_HOOK_AFTER_ALL, hook); + return this; + }; + /** + * Run `fn(test[, done])` before each test case. + * + * @private + * @param {string} title + * @param {Function} fn + * @return {Suite} for chaining + */ + + + Suite.prototype.beforeEach = function (title, fn) { + if (this.isPending()) { + return this; + } + + if (typeof title === 'function') { + fn = title; + title = fn.name; + } + + title = '"before each" hook' + (title ? ': ' + title : ''); + + var hook = this._createHook(title, fn); + + this._beforeEach.push(hook); + + this.emit(constants.EVENT_SUITE_ADD_HOOK_BEFORE_EACH, hook); + return this; + }; + /** + * Run `fn(test[, done])` after each test case. + * + * @private + * @param {string} title + * @param {Function} fn + * @return {Suite} for chaining + */ + + + Suite.prototype.afterEach = function (title, fn) { + if (this.isPending()) { + return this; + } + + if (typeof title === 'function') { + fn = title; + title = fn.name; + } + + title = '"after each" hook' + (title ? ': ' + title : ''); + + var hook = this._createHook(title, fn); + + this._afterEach.push(hook); + + this.emit(constants.EVENT_SUITE_ADD_HOOK_AFTER_EACH, hook); + return this; + }; + /** + * Add a test `suite`. + * + * @private + * @param {Suite} suite + * @return {Suite} for chaining + */ + + + Suite.prototype.addSuite = function (suite) { + suite.parent = this; + suite.root = false; + suite.timeout(this.timeout()); + suite.retries(this.retries()); + suite.slow(this.slow()); + suite.bail(this.bail()); + this.suites.push(suite); + this.emit(constants.EVENT_SUITE_ADD_SUITE, suite); + return this; + }; + /** + * Add a `test` to this suite. + * + * @private + * @param {Test} test + * @return {Suite} for chaining + */ + + + Suite.prototype.addTest = function (test) { + test.parent = this; + test.timeout(this.timeout()); + test.retries(this.retries()); + test.slow(this.slow()); + test.ctx = this.ctx; + this.tests.push(test); + this.emit(constants.EVENT_SUITE_ADD_TEST, test); + return this; + }; + /** + * Return the full title generated by recursively concatenating the parent's + * full title. + * + * @memberof Suite + * @public + * @return {string} + */ + + + Suite.prototype.fullTitle = function () { + return this.titlePath().join(' '); + }; + /** + * Return the title path generated by recursively concatenating the parent's + * title path. + * + * @memberof Suite + * @public + * @return {string} + */ + + + Suite.prototype.titlePath = function () { + var result = []; + + if (this.parent) { + result = result.concat(this.parent.titlePath()); + } + + if (!this.root) { + result.push(this.title); + } + + return result; + }; + /** + * Return the total number of tests. + * + * @memberof Suite + * @public + * @return {number} + */ + + + Suite.prototype.total = function () { + return this.suites.reduce(function (sum, suite) { + return sum + suite.total(); + }, 0) + this.tests.length; + }; + /** + * Iterates through each suite recursively to find all tests. Applies a + * function in the format `fn(test)`. + * + * @private + * @param {Function} fn + * @return {Suite} + */ + + + Suite.prototype.eachTest = function (fn) { + this.tests.forEach(fn); + this.suites.forEach(function (suite) { + suite.eachTest(fn); + }); + return this; + }; + /** + * This will run the root suite if we happen to be running in delayed mode. + * @private + */ + + + Suite.prototype.run = function run() { + if (this.root) { + this.emit(constants.EVENT_ROOT_SUITE_RUN); + } + }; + /** + * Determines whether a suite has an `only` test or suite as a descendant. + * + * @private + * @returns {Boolean} + */ + + + Suite.prototype.hasOnly = function hasOnly() { + return this._onlyTests.length > 0 || this._onlySuites.length > 0 || this.suites.some(function (suite) { + return suite.hasOnly(); + }); + }; + /** + * Filter suites based on `isOnly` logic. + * + * @private + * @returns {Boolean} + */ + + + Suite.prototype.filterOnly = function filterOnly() { + if (this._onlyTests.length) { + // If the suite contains `only` tests, run those and ignore any nested suites. + this.tests = this._onlyTests; + this.suites = []; + } else { + // Otherwise, do not run any of the tests in this suite. + this.tests = []; + + this._onlySuites.forEach(function (onlySuite) { + // If there are other `only` tests/suites nested in the current `only` suite, then filter that `only` suite. + // Otherwise, all of the tests on this `only` suite should be run, so don't filter it. + if (onlySuite.hasOnly()) { + onlySuite.filterOnly(); + } + }); // Run the `only` suites, as well as any other suites that have `only` tests/suites as descendants. + + + var onlySuites = this._onlySuites; + this.suites = this.suites.filter(function (childSuite) { + return onlySuites.indexOf(childSuite) !== -1 || childSuite.filterOnly(); + }); + } // Keep the suite only if there is something to run + + + return this.tests.length > 0 || this.suites.length > 0; + }; + /** + * Adds a suite to the list of subsuites marked `only`. + * + * @private + * @param {Suite} suite + */ + + + Suite.prototype.appendOnlySuite = function (suite) { + this._onlySuites.push(suite); + }; + /** + * Marks a suite to be `only`. + * + * @private + */ + + + Suite.prototype.markOnly = function () { + this.parent && this.parent.appendOnlySuite(this); + }; + /** + * Adds a test to the list of tests marked `only`. + * + * @private + * @param {Test} test + */ + + + Suite.prototype.appendOnlyTest = function (test) { + this._onlyTests.push(test); + }; + /** + * Returns the array of hooks by hook name; see `HOOK_TYPE_*` constants. + * @private + */ + + + Suite.prototype.getHooks = function getHooks(name) { + return this['_' + name]; + }; + /** + * cleans all references from this suite and all child suites. + */ + + + Suite.prototype.dispose = function () { + this.suites.forEach(function (suite) { + suite.dispose(); + }); + this.cleanReferences(); + }; + /** + * Cleans up the references to all the deferred functions + * (before/after/beforeEach/afterEach) and tests of a Suite. + * These must be deleted otherwise a memory leak can happen, + * as those functions may reference variables from closures, + * thus those variables can never be garbage collected as long + * as the deferred functions exist. + * + * @private + */ + + + Suite.prototype.cleanReferences = function cleanReferences() { + function cleanArrReferences(arr) { + for (var i = 0; i < arr.length; i++) { + delete arr[i].fn; + } + } + + if (Array.isArray(this._beforeAll)) { + cleanArrReferences(this._beforeAll); + } + + if (Array.isArray(this._beforeEach)) { + cleanArrReferences(this._beforeEach); + } + + if (Array.isArray(this._afterAll)) { + cleanArrReferences(this._afterAll); + } + + if (Array.isArray(this._afterEach)) { + cleanArrReferences(this._afterEach); + } + + for (var i = 0; i < this.tests.length; i++) { + delete this.tests[i].fn; + } + }; + /** + * Returns an object suitable for IPC. + * Functions are represented by keys beginning with `$$`. + * @private + * @returns {Object} + */ + + + Suite.prototype.serialize = function serialize() { + return { + _bail: this._bail, + $$fullTitle: this.fullTitle(), + $$isPending: this.isPending(), + root: this.root, + title: this.title, + id: this.id, + parent: this.parent ? _defineProperty({}, MOCHA_ID_PROP_NAME, this.parent.id) : null + }; + }; + + var constants = defineConstants( + /** + * {@link Suite}-related constants. + * @public + * @memberof Suite + * @alias constants + * @readonly + * @static + * @enum {string} + */ + { + /** + * Event emitted after a test file has been loaded Not emitted in browser. + */ + EVENT_FILE_POST_REQUIRE: 'post-require', + + /** + * Event emitted before a test file has been loaded. In browser, this is emitted once an interface has been selected. + */ + EVENT_FILE_PRE_REQUIRE: 'pre-require', + + /** + * Event emitted immediately after a test file has been loaded. Not emitted in browser. + */ + EVENT_FILE_REQUIRE: 'require', + + /** + * Event emitted when `global.run()` is called (use with `delay` option) + */ + EVENT_ROOT_SUITE_RUN: 'run', + + /** + * Namespace for collection of a `Suite`'s "after all" hooks + */ + HOOK_TYPE_AFTER_ALL: 'afterAll', + + /** + * Namespace for collection of a `Suite`'s "after each" hooks + */ + HOOK_TYPE_AFTER_EACH: 'afterEach', + + /** + * Namespace for collection of a `Suite`'s "before all" hooks + */ + HOOK_TYPE_BEFORE_ALL: 'beforeAll', + + /** + * Namespace for collection of a `Suite`'s "before all" hooks + */ + HOOK_TYPE_BEFORE_EACH: 'beforeEach', + // the following events are all deprecated + + /** + * Emitted after an "after all" `Hook` has been added to a `Suite`. Deprecated + */ + EVENT_SUITE_ADD_HOOK_AFTER_ALL: 'afterAll', + + /** + * Emitted after an "after each" `Hook` has been added to a `Suite` Deprecated + */ + EVENT_SUITE_ADD_HOOK_AFTER_EACH: 'afterEach', + + /** + * Emitted after an "before all" `Hook` has been added to a `Suite` Deprecated + */ + EVENT_SUITE_ADD_HOOK_BEFORE_ALL: 'beforeAll', + + /** + * Emitted after an "before each" `Hook` has been added to a `Suite` Deprecated + */ + EVENT_SUITE_ADD_HOOK_BEFORE_EACH: 'beforeEach', + + /** + * Emitted after a child `Suite` has been added to a `Suite`. Deprecated + */ + EVENT_SUITE_ADD_SUITE: 'suite', + + /** + * Emitted after a `Test` has been added to a `Suite`. Deprecated + */ + EVENT_SUITE_ADD_TEST: 'test' + }); + /** + * @summary There are no known use cases for these events. + * @desc This is a `Set`-like object having all keys being the constant's string value and the value being `true`. + * @todo Remove eventually + * @type {Object<string,boolean>} + * @ignore + */ + + var deprecatedEvents = Object.keys(constants).filter(function (constant) { + return constant.substring(0, 15) === 'EVENT_SUITE_ADD'; + }).reduce(function (acc, constant) { + acc[constants[constant]] = true; + return acc; + }, createMap()); + Suite.constants = constants; + }); - - inherits(Suite, EventEmitter); - /** - * Resets the state initially or for a next run. - */ - - Suite.prototype.reset = function () { - this.delayed = false; - - function doReset(thingToReset) { - thingToReset.reset(); - } - - this.suites.forEach(doReset); - this.tests.forEach(doReset); - - this._beforeEach.forEach(doReset); - - this._afterEach.forEach(doReset); - - this._beforeAll.forEach(doReset); - - this._afterAll.forEach(doReset); - }; - /** - * Return a clone of this `Suite`. - * - * @private - * @return {Suite} - */ - - - Suite.prototype.clone = function () { - var suite = new Suite(this.title); - debug('clone'); - suite.ctx = this.ctx; - suite.root = this.root; - suite.timeout(this.timeout()); - suite.retries(this.retries()); - suite.slow(this.slow()); - suite.bail(this.bail()); - return suite; - }; - /** - * Set or get timeout `ms` or short-hand such as "2s". - * - * @private - * @todo Do not attempt to set value if `ms` is undefined - * @param {number|string} ms - * @return {Suite|number} for chaining - */ - - - Suite.prototype.timeout = function (ms) { - if (!arguments.length) { - return this._timeout; - } - - if (typeof ms === 'string') { - ms = ms$1(ms); - } // Clamp to range - - - var INT_MAX = Math.pow(2, 31) - 1; - var range = [0, INT_MAX]; - ms = clamp(ms, range); - debug('timeout %d', ms); - this._timeout = parseInt(ms, 10); - return this; - }; - /** - * Set or get number of times to retry a failed test. - * - * @private - * @param {number|string} n - * @return {Suite|number} for chaining - */ - - - Suite.prototype.retries = function (n) { - if (!arguments.length) { - return this._retries; - } - - debug('retries %d', n); - this._retries = parseInt(n, 10) || 0; - return this; - }; - /** - * Set or get slow `ms` or short-hand such as "2s". - * - * @private - * @param {number|string} ms - * @return {Suite|number} for chaining - */ - - - Suite.prototype.slow = function (ms) { - if (!arguments.length) { - return this._slow; - } - - if (typeof ms === 'string') { - ms = ms$1(ms); - } - - debug('slow %d', ms); - this._slow = ms; - return this; - }; - /** - * Set or get whether to bail after first error. - * - * @private - * @param {boolean} bail - * @return {Suite|number} for chaining - */ - - - Suite.prototype.bail = function (bail) { - if (!arguments.length) { - return this._bail; - } - - debug('bail %s', bail); - this._bail = bail; - return this; - }; - /** - * Check if this suite or its parent suite is marked as pending. - * - * @private - */ - - - Suite.prototype.isPending = function () { - return this.pending || this.parent && this.parent.isPending(); - }; - /** - * Generic hook-creator. - * @private - * @param {string} title - Title of hook - * @param {Function} fn - Hook callback - * @returns {Hook} A new hook - */ - - - Suite.prototype._createHook = function (title, fn) { - var hook$1 = new hook(title, fn); - hook$1.parent = this; - hook$1.timeout(this.timeout()); - hook$1.retries(this.retries()); - hook$1.slow(this.slow()); - hook$1.ctx = this.ctx; - hook$1.file = this.file; - return hook$1; - }; - /** - * Run `fn(test[, done])` before running tests. - * - * @private - * @param {string} title - * @param {Function} fn - * @return {Suite} for chaining - */ - - - Suite.prototype.beforeAll = function (title, fn) { - if (this.isPending()) { - return this; - } - - if (typeof title === 'function') { - fn = title; - title = fn.name; - } - - title = '"before all" hook' + (title ? ': ' + title : ''); - - var hook = this._createHook(title, fn); - - this._beforeAll.push(hook); - - this.emit(constants.EVENT_SUITE_ADD_HOOK_BEFORE_ALL, hook); - return this; - }; - /** - * Run `fn(test[, done])` after running tests. - * - * @private - * @param {string} title - * @param {Function} fn - * @return {Suite} for chaining - */ - - - Suite.prototype.afterAll = function (title, fn) { - if (this.isPending()) { - return this; - } - - if (typeof title === 'function') { - fn = title; - title = fn.name; - } - - title = '"after all" hook' + (title ? ': ' + title : ''); - - var hook = this._createHook(title, fn); - - this._afterAll.push(hook); - - this.emit(constants.EVENT_SUITE_ADD_HOOK_AFTER_ALL, hook); - return this; - }; - /** - * Run `fn(test[, done])` before each test case. - * - * @private - * @param {string} title - * @param {Function} fn - * @return {Suite} for chaining - */ - - - Suite.prototype.beforeEach = function (title, fn) { - if (this.isPending()) { - return this; - } - - if (typeof title === 'function') { - fn = title; - title = fn.name; - } - - title = '"before each" hook' + (title ? ': ' + title : ''); - - var hook = this._createHook(title, fn); - - this._beforeEach.push(hook); - - this.emit(constants.EVENT_SUITE_ADD_HOOK_BEFORE_EACH, hook); - return this; - }; - /** - * Run `fn(test[, done])` after each test case. - * - * @private - * @param {string} title - * @param {Function} fn - * @return {Suite} for chaining - */ - - - Suite.prototype.afterEach = function (title, fn) { - if (this.isPending()) { - return this; - } - - if (typeof title === 'function') { - fn = title; - title = fn.name; - } - - title = '"after each" hook' + (title ? ': ' + title : ''); - - var hook = this._createHook(title, fn); - - this._afterEach.push(hook); - - this.emit(constants.EVENT_SUITE_ADD_HOOK_AFTER_EACH, hook); - return this; - }; - /** - * Add a test `suite`. - * - * @private - * @param {Suite} suite - * @return {Suite} for chaining - */ - - - Suite.prototype.addSuite = function (suite) { - suite.parent = this; - suite.root = false; - suite.timeout(this.timeout()); - suite.retries(this.retries()); - suite.slow(this.slow()); - suite.bail(this.bail()); - this.suites.push(suite); - this.emit(constants.EVENT_SUITE_ADD_SUITE, suite); - return this; - }; - /** - * Add a `test` to this suite. - * - * @private - * @param {Test} test - * @return {Suite} for chaining - */ - - - Suite.prototype.addTest = function (test) { - test.parent = this; - test.timeout(this.timeout()); - test.retries(this.retries()); - test.slow(this.slow()); - test.ctx = this.ctx; - this.tests.push(test); - this.emit(constants.EVENT_SUITE_ADD_TEST, test); - return this; - }; - /** - * Return the full title generated by recursively concatenating the parent's - * full title. - * - * @memberof Suite - * @public - * @return {string} - */ - - - Suite.prototype.fullTitle = function () { - return this.titlePath().join(' '); - }; - /** - * Return the title path generated by recursively concatenating the parent's - * title path. - * - * @memberof Suite - * @public - * @return {string} - */ - - - Suite.prototype.titlePath = function () { - var result = []; - - if (this.parent) { - result = result.concat(this.parent.titlePath()); - } - - if (!this.root) { - result.push(this.title); - } - - return result; - }; - /** - * Return the total number of tests. - * - * @memberof Suite - * @public - * @return {number} - */ - - - Suite.prototype.total = function () { - return this.suites.reduce(function (sum, suite) { - return sum + suite.total(); - }, 0) + this.tests.length; - }; - /** - * Iterates through each suite recursively to find all tests. Applies a - * function in the format `fn(test)`. - * - * @private - * @param {Function} fn - * @return {Suite} - */ - - - Suite.prototype.eachTest = function (fn) { - this.tests.forEach(fn); - this.suites.forEach(function (suite) { - suite.eachTest(fn); - }); - return this; - }; - /** - * This will run the root suite if we happen to be running in delayed mode. - * @private - */ - - - Suite.prototype.run = function run() { - if (this.root) { - this.emit(constants.EVENT_ROOT_SUITE_RUN); - } - }; - /** - * Determines whether a suite has an `only` test or suite as a descendant. - * - * @private - * @returns {Boolean} - */ - - - Suite.prototype.hasOnly = function hasOnly() { - return this._onlyTests.length > 0 || this._onlySuites.length > 0 || this.suites.some(function (suite) { - return suite.hasOnly(); - }); - }; - /** - * Filter suites based on `isOnly` logic. - * - * @private - * @returns {Boolean} - */ - - - Suite.prototype.filterOnly = function filterOnly() { - if (this._onlyTests.length) { - // If the suite contains `only` tests, run those and ignore any nested suites. - this.tests = this._onlyTests; - this.suites = []; - } else { - // Otherwise, do not run any of the tests in this suite. - this.tests = []; - - this._onlySuites.forEach(function (onlySuite) { - // If there are other `only` tests/suites nested in the current `only` suite, then filter that `only` suite. - // Otherwise, all of the tests on this `only` suite should be run, so don't filter it. - if (onlySuite.hasOnly()) { - onlySuite.filterOnly(); - } - }); // Run the `only` suites, as well as any other suites that have `only` tests/suites as descendants. - - - var onlySuites = this._onlySuites; - this.suites = this.suites.filter(function (childSuite) { - return onlySuites.indexOf(childSuite) !== -1 || childSuite.filterOnly(); - }); - } // Keep the suite only if there is something to run - - - return this.tests.length > 0 || this.suites.length > 0; - }; - /** - * Adds a suite to the list of subsuites marked `only`. - * - * @private - * @param {Suite} suite - */ - - - Suite.prototype.appendOnlySuite = function (suite) { - this._onlySuites.push(suite); - }; - /** - * Marks a suite to be `only`. - * - * @private - */ - - - Suite.prototype.markOnly = function () { - this.parent && this.parent.appendOnlySuite(this); - }; - /** - * Adds a test to the list of tests marked `only`. - * - * @private - * @param {Test} test - */ - - - Suite.prototype.appendOnlyTest = function (test) { - this._onlyTests.push(test); - }; - /** - * Returns the array of hooks by hook name; see `HOOK_TYPE_*` constants. - * @private - */ - - - Suite.prototype.getHooks = function getHooks(name) { - return this['_' + name]; - }; - /** - * cleans all references from this suite and all child suites. - */ - - - Suite.prototype.dispose = function () { - this.suites.forEach(function (suite) { - suite.dispose(); - }); - this.cleanReferences(); - }; - /** - * Cleans up the references to all the deferred functions - * (before/after/beforeEach/afterEach) and tests of a Suite. - * These must be deleted otherwise a memory leak can happen, - * as those functions may reference variables from closures, - * thus those variables can never be garbage collected as long - * as the deferred functions exist. - * - * @private - */ - - - Suite.prototype.cleanReferences = function cleanReferences() { - function cleanArrReferences(arr) { - for (var i = 0; i < arr.length; i++) { - delete arr[i].fn; - } - } - - if (Array.isArray(this._beforeAll)) { - cleanArrReferences(this._beforeAll); - } - - if (Array.isArray(this._beforeEach)) { - cleanArrReferences(this._beforeEach); - } - - if (Array.isArray(this._afterAll)) { - cleanArrReferences(this._afterAll); - } - - if (Array.isArray(this._afterEach)) { - cleanArrReferences(this._afterEach); - } - - for (var i = 0; i < this.tests.length; i++) { - delete this.tests[i].fn; - } - }; - /** - * Returns an object suitable for IPC. - * Functions are represented by keys beginning with `$$`. - * @private - * @returns {Object} - */ - - - Suite.prototype.serialize = function serialize() { - return { - _bail: this._bail, - $$fullTitle: this.fullTitle(), - $$isPending: this.isPending(), - root: this.root, - title: this.title, - id: this.id, - parent: this.parent ? _defineProperty({}, MOCHA_ID_PROP_NAME, this.parent.id) : null - }; - }; - - var constants = defineConstants( - /** - * {@link Suite}-related constants. - * @public - * @memberof Suite - * @alias constants - * @readonly - * @static - * @enum {string} - */ - { - /** - * Event emitted after a test file has been loaded Not emitted in browser. - */ - EVENT_FILE_POST_REQUIRE: 'post-require', - - /** - * Event emitted before a test file has been loaded. In browser, this is emitted once an interface has been selected. - */ - EVENT_FILE_PRE_REQUIRE: 'pre-require', - - /** - * Event emitted immediately after a test file has been loaded. Not emitted in browser. - */ - EVENT_FILE_REQUIRE: 'require', - - /** - * Event emitted when `global.run()` is called (use with `delay` option) - */ - EVENT_ROOT_SUITE_RUN: 'run', - - /** - * Namespace for collection of a `Suite`'s "after all" hooks - */ - HOOK_TYPE_AFTER_ALL: 'afterAll', - - /** - * Namespace for collection of a `Suite`'s "after each" hooks - */ - HOOK_TYPE_AFTER_EACH: 'afterEach', - - /** - * Namespace for collection of a `Suite`'s "before all" hooks - */ - HOOK_TYPE_BEFORE_ALL: 'beforeAll', - - /** - * Namespace for collection of a `Suite`'s "before all" hooks - */ - HOOK_TYPE_BEFORE_EACH: 'beforeEach', - // the following events are all deprecated - - /** - * Emitted after an "after all" `Hook` has been added to a `Suite`. Deprecated - */ - EVENT_SUITE_ADD_HOOK_AFTER_ALL: 'afterAll', - - /** - * Emitted after an "after each" `Hook` has been added to a `Suite` Deprecated - */ - EVENT_SUITE_ADD_HOOK_AFTER_EACH: 'afterEach', - - /** - * Emitted after an "before all" `Hook` has been added to a `Suite` Deprecated - */ - EVENT_SUITE_ADD_HOOK_BEFORE_ALL: 'beforeAll', - - /** - * Emitted after an "before each" `Hook` has been added to a `Suite` Deprecated - */ - EVENT_SUITE_ADD_HOOK_BEFORE_EACH: 'beforeEach', - - /** - * Emitted after a child `Suite` has been added to a `Suite`. Deprecated - */ - EVENT_SUITE_ADD_SUITE: 'suite', - - /** - * Emitted after a `Test` has been added to a `Suite`. Deprecated - */ - EVENT_SUITE_ADD_TEST: 'test' - }); - /** - * @summary There are no known use cases for these events. - * @desc This is a `Set`-like object having all keys being the constant's string value and the value being `true`. - * @todo Remove eventually - * @type {Object<string,boolean>} - * @ignore - */ - - var deprecatedEvents = Object.keys(constants).filter(function (constant) { - return constant.substring(0, 15) === 'EVENT_SUITE_ADD'; - }).reduce(function (acc, constant) { - acc[constants[constant]] = true; - return acc; - }, createMap()); - Suite.constants = constants; - }); - - /** - * Module dependencies. - * @private - */ + /** + * Module dependencies. + * @private + */ var EventEmitter = EventEmitter$2.EventEmitter; @@ -23307,10 +23422,10 @@ var stackFilter = utils.stackTraceFilter(); var stringify = utils.stringify; var createInvalidExceptionError = errors.createInvalidExceptionError, - createUnsupportedError$1 = errors.createUnsupportedError, - createFatalError = errors.createFatalError, - isMochaError = errors.isMochaError, - errorConstants = errors.constants; + createUnsupportedError$1 = errors.createUnsupportedError, + createFatalError = errors.createFatalError, + isMochaError = errors.isMochaError, + errorConstants = errors.constants; /** * Non-enumerable globals. * @private @@ -23319,197 +23434,197 @@ var globals = ['setTimeout', 'clearTimeout', 'setInterval', 'clearInterval', 'XMLHttpRequest', 'Date', 'setImmediate', 'clearImmediate']; var constants$1 = utils.defineConstants( - /** - * {@link Runner}-related constants. - * @public - * @memberof Runner - * @readonly - * @alias constants - * @static - * @enum {string} - */ - { - /** - * Emitted when {@link Hook} execution begins - */ - EVENT_HOOK_BEGIN: 'hook', - - /** - * Emitted when {@link Hook} execution ends - */ - EVENT_HOOK_END: 'hook end', - - /** - * Emitted when Root {@link Suite} execution begins (all files have been parsed and hooks/tests are ready for execution) - */ - EVENT_RUN_BEGIN: 'start', - - /** - * Emitted when Root {@link Suite} execution has been delayed via `delay` option - */ - EVENT_DELAY_BEGIN: 'waiting', - - /** - * Emitted when delayed Root {@link Suite} execution is triggered by user via `global.run()` - */ - EVENT_DELAY_END: 'ready', - - /** - * Emitted when Root {@link Suite} execution ends - */ - EVENT_RUN_END: 'end', - - /** - * Emitted when {@link Suite} execution begins - */ - EVENT_SUITE_BEGIN: 'suite', - - /** - * Emitted when {@link Suite} execution ends - */ - EVENT_SUITE_END: 'suite end', - - /** - * Emitted when {@link Test} execution begins - */ - EVENT_TEST_BEGIN: 'test', - - /** - * Emitted when {@link Test} execution ends - */ - EVENT_TEST_END: 'test end', - - /** - * Emitted when {@link Test} execution fails - */ - EVENT_TEST_FAIL: 'fail', - - /** - * Emitted when {@link Test} execution succeeds - */ - EVENT_TEST_PASS: 'pass', - - /** - * Emitted when {@link Test} becomes pending - */ - EVENT_TEST_PENDING: 'pending', - - /** - * Emitted when {@link Test} execution has failed, but will retry - */ - EVENT_TEST_RETRY: 'retry', - - /** - * Initial state of Runner - */ - STATE_IDLE: 'idle', - - /** - * State set to this value when the Runner has started running - */ - STATE_RUNNING: 'running', - - /** - * State set to this value when the Runner has stopped - */ - STATE_STOPPED: 'stopped' - }); + /** + * {@link Runner}-related constants. + * @public + * @memberof Runner + * @readonly + * @alias constants + * @static + * @enum {string} + */ + { + /** + * Emitted when {@link Hook} execution begins + */ + EVENT_HOOK_BEGIN: 'hook', + + /** + * Emitted when {@link Hook} execution ends + */ + EVENT_HOOK_END: 'hook end', + + /** + * Emitted when Root {@link Suite} execution begins (all files have been parsed and hooks/tests are ready for execution) + */ + EVENT_RUN_BEGIN: 'start', + + /** + * Emitted when Root {@link Suite} execution has been delayed via `delay` option + */ + EVENT_DELAY_BEGIN: 'waiting', + + /** + * Emitted when delayed Root {@link Suite} execution is triggered by user via `global.run()` + */ + EVENT_DELAY_END: 'ready', + + /** + * Emitted when Root {@link Suite} execution ends + */ + EVENT_RUN_END: 'end', + + /** + * Emitted when {@link Suite} execution begins + */ + EVENT_SUITE_BEGIN: 'suite', + + /** + * Emitted when {@link Suite} execution ends + */ + EVENT_SUITE_END: 'suite end', + + /** + * Emitted when {@link Test} execution begins + */ + EVENT_TEST_BEGIN: 'test', + + /** + * Emitted when {@link Test} execution ends + */ + EVENT_TEST_END: 'test end', + + /** + * Emitted when {@link Test} execution fails + */ + EVENT_TEST_FAIL: 'fail', + + /** + * Emitted when {@link Test} execution succeeds + */ + EVENT_TEST_PASS: 'pass', + + /** + * Emitted when {@link Test} becomes pending + */ + EVENT_TEST_PENDING: 'pending', + + /** + * Emitted when {@link Test} execution has failed, but will retry + */ + EVENT_TEST_RETRY: 'retry', + + /** + * Initial state of Runner + */ + STATE_IDLE: 'idle', + + /** + * State set to this value when the Runner has started running + */ + STATE_RUNNING: 'running', + + /** + * State set to this value when the Runner has stopped + */ + STATE_STOPPED: 'stopped' + }); var Runner = /*#__PURE__*/function (_EventEmitter) { - _inherits(Runner, _EventEmitter); - - var _super = _createSuper(Runner); - - /** - * Initialize a `Runner` at the Root {@link Suite}, which represents a hierarchy of {@link Suite|Suites} and {@link Test|Tests}. - * - * @extends external:EventEmitter - * @public - * @class - * @param {Suite} suite - Root suite - * @param {Object|boolean} [opts] - Options. If `boolean` (deprecated), whether or not to delay execution of root suite until ready. - * @param {boolean} [opts.delay] - Whether to delay execution of root suite until ready. - * @param {boolean} [opts.dryRun] - Whether to report tests without running them. - * @param {boolean} [opts.cleanReferencesAfterRun] - Whether to clean references to test fns and hooks when a suite is done. - */ - function Runner(suite, opts) { - var _this; - - _classCallCheck(this, Runner); - - _this = _super.call(this); - - if (opts === undefined) { - opts = {}; - } - - if (typeof opts === 'boolean') { - // TODO: remove this - errors.deprecate('"Runner(suite: Suite, delay: boolean)" is deprecated. Use "Runner(suite: Suite, {delay: boolean})" instead.'); - _this._delay = opts; - opts = {}; - } else { - _this._delay = opts.delay; - } - - var self = _assertThisInitialized(_this); - - _this._globals = []; - _this._abort = false; - _this.suite = suite; - _this._opts = opts; - _this.state = constants$1.STATE_IDLE; - _this.total = suite.total(); - _this.failures = 0; - /** - * @type {Map<EventEmitter,Map<string,Set<EventListener>>>} - */ - - _this._eventListeners = new Map(); - - _this.on(constants$1.EVENT_TEST_END, function (test) { - if (test.type === 'test' && test.retriedTest() && test.parent) { - var idx = test.parent.tests && test.parent.tests.indexOf(test.retriedTest()); - if (idx > -1) test.parent.tests[idx] = test; - } - - self.checkGlobals(test); - }); - - _this.on(constants$1.EVENT_HOOK_END, function (hook) { - self.checkGlobals(hook); - }); - - _this._defaultGrep = /.*/; - - _this.grep(_this._defaultGrep); - - _this.globals(_this.globalProps()); - - _this.uncaught = _this._uncaught.bind(_assertThisInitialized(_this)); - - _this.unhandled = function (reason, promise) { - if (isMochaError(reason)) { - debug('trapped unhandled rejection coming out of Mocha; forwarding to uncaught handler:', reason); - - _this.uncaught(reason); - } else { - debug('trapped unhandled rejection from (probably) user code; re-emitting on process'); - - _this._removeEventListener(process$3, 'unhandledRejection', _this.unhandled); - - try { - process$3.emit('unhandledRejection', reason, promise); - } finally { - _this._addEventListener(process$3, 'unhandledRejection', _this.unhandled); - } - } - }; - - return _this; - } - - return Runner; + _inherits(Runner, _EventEmitter); + + var _super = _createSuper(Runner); + + /** + * Initialize a `Runner` at the Root {@link Suite}, which represents a hierarchy of {@link Suite|Suites} and {@link Test|Tests}. + * + * @extends external:EventEmitter + * @public + * @class + * @param {Suite} suite - Root suite + * @param {Object|boolean} [opts] - Options. If `boolean` (deprecated), whether or not to delay execution of root suite until ready. + * @param {boolean} [opts.delay] - Whether to delay execution of root suite until ready. + * @param {boolean} [opts.dryRun] - Whether to report tests without running them. + * @param {boolean} [opts.cleanReferencesAfterRun] - Whether to clean references to test fns and hooks when a suite is done. + */ + function Runner(suite, opts) { + var _this; + + _classCallCheck(this, Runner); + + _this = _super.call(this); + + if (opts === undefined) { + opts = {}; + } + + if (typeof opts === 'boolean') { + // TODO: remove this + errors.deprecate('"Runner(suite: Suite, delay: boolean)" is deprecated. Use "Runner(suite: Suite, {delay: boolean})" instead.'); + _this._delay = opts; + opts = {}; + } else { + _this._delay = opts.delay; + } + + var self = _assertThisInitialized(_this); + + _this._globals = []; + _this._abort = false; + _this.suite = suite; + _this._opts = opts; + _this.state = constants$1.STATE_IDLE; + _this.total = suite.total(); + _this.failures = 0; + /** + * @type {Map<EventEmitter,Map<string,Set<EventListener>>>} + */ + + _this._eventListeners = new Map(); + + _this.on(constants$1.EVENT_TEST_END, function (test) { + if (test.type === 'test' && test.retriedTest() && test.parent) { + var idx = test.parent.tests && test.parent.tests.indexOf(test.retriedTest()); + if (idx > -1) test.parent.tests[idx] = test; + } + + self.checkGlobals(test); + }); + + _this.on(constants$1.EVENT_HOOK_END, function (hook) { + self.checkGlobals(hook); + }); + + _this._defaultGrep = /.*/; + + _this.grep(_this._defaultGrep); + + _this.globals(_this.globalProps()); + + _this.uncaught = _this._uncaught.bind(_assertThisInitialized(_this)); + + _this.unhandled = function (reason, promise) { + if (isMochaError(reason)) { + debug('trapped unhandled rejection coming out of Mocha; forwarding to uncaught handler:', reason); + + _this.uncaught(reason); + } else { + debug('trapped unhandled rejection from (probably) user code; re-emitting on process'); + + _this._removeEventListener(process$3, 'unhandledRejection', _this.unhandled); + + try { + process$3.emit('unhandledRejection', reason, promise); + } finally { + _this._addEventListener(process$3, 'unhandledRejection', _this.unhandled); + } + } + }; + + return _this; + } + + return Runner; }(EventEmitter); /** * Wrapper for setImmediate, process.nextTick, or browser polyfill. @@ -23529,21 +23644,21 @@ */ Runner.prototype._addEventListener = function (target, eventName, listener) { - debug('_addEventListener(): adding for event %s; %d current listeners', eventName, target.listenerCount(eventName)); - /* istanbul ignore next */ + debug('_addEventListener(): adding for event %s; %d current listeners', eventName, target.listenerCount(eventName)); + /* istanbul ignore next */ - if (this._eventListeners.has(target) && this._eventListeners.get(target).has(eventName) && this._eventListeners.get(target).get(eventName).has(listener)) { - debug('warning: tried to attach duplicate event listener for %s', eventName); - return; - } + if (this._eventListeners.has(target) && this._eventListeners.get(target).has(eventName) && this._eventListeners.get(target).get(eventName).has(listener)) { + debug('warning: tried to attach duplicate event listener for %s', eventName); + return; + } - target.on(eventName, listener); - var targetListeners = this._eventListeners.has(target) ? this._eventListeners.get(target) : new Map(); - var targetEventListeners = targetListeners.has(eventName) ? targetListeners.get(eventName) : new Set(); - targetEventListeners.add(listener); - targetListeners.set(eventName, targetEventListeners); + target.on(eventName, listener); + var targetListeners = this._eventListeners.has(target) ? this._eventListeners.get(target) : new Map(); + var targetEventListeners = targetListeners.has(eventName) ? targetListeners.get(eventName) : new Set(); + targetEventListeners.add(listener); + targetListeners.set(eventName, targetEventListeners); - this._eventListeners.set(target, targetListeners); + this._eventListeners.set(target, targetListeners); }; /** * Replacement for `target.removeListener(eventName, listener)` that also updates the bookkeeping. @@ -23555,26 +23670,26 @@ Runner.prototype._removeEventListener = function (target, eventName, listener) { - target.removeListener(eventName, listener); + target.removeListener(eventName, listener); - if (this._eventListeners.has(target)) { - var targetListeners = this._eventListeners.get(target); + if (this._eventListeners.has(target)) { + var targetListeners = this._eventListeners.get(target); - if (targetListeners.has(eventName)) { - var targetEventListeners = targetListeners.get(eventName); - targetEventListeners["delete"](listener); + if (targetListeners.has(eventName)) { + var targetEventListeners = targetListeners.get(eventName); + targetEventListeners["delete"](listener); - if (!targetEventListeners.size) { - targetListeners["delete"](eventName); - } - } + if (!targetEventListeners.size) { + targetListeners["delete"](eventName); + } + } - if (!targetListeners.size) { - this._eventListeners["delete"](target); - } - } else { - debug('trying to remove listener for untracked object %s', target); - } + if (!targetListeners.size) { + this._eventListeners["delete"](target); + } + } else { + debug('trying to remove listener for untracked object %s', target); + } }; /** * Removes all event handlers set during a run on this instance. @@ -23583,17 +23698,17 @@ Runner.prototype.dispose = function () { - this.removeAllListeners(); + this.removeAllListeners(); - this._eventListeners.forEach(function (targetListeners, target) { - targetListeners.forEach(function (targetEventListeners, eventName) { - targetEventListeners.forEach(function (listener) { - target.removeListener(eventName, listener); - }); - }); - }); + this._eventListeners.forEach(function (targetListeners, target) { + targetListeners.forEach(function (targetEventListeners, eventName) { + targetEventListeners.forEach(function (listener) { + target.removeListener(eventName, listener); + }); + }); + }); - this._eventListeners.clear(); + this._eventListeners.clear(); }; /** * Run tests with full titles matching `re`. Updates runner.total @@ -23608,11 +23723,11 @@ Runner.prototype.grep = function (re, invert) { - debug('grep(): setting to %s', re); - this._grep = re; - this._invert = invert; - this.total = this.grepTotal(this.suite); - return this; + debug('grep(): setting to %s', re); + this._grep = re; + this._invert = invert; + this.total = this.grepTotal(this.suite); + return this; }; /** * Returns the number of tests matching the grep search for the @@ -23626,20 +23741,20 @@ Runner.prototype.grepTotal = function (suite) { - var self = this; - var total = 0; - suite.eachTest(function (test) { - var match = self._grep.test(test.fullTitle()); + var self = this; + var total = 0; + suite.eachTest(function (test) { + var match = self._grep.test(test.fullTitle()); - if (self._invert) { - match = !match; - } + if (self._invert) { + match = !match; + } - if (match) { - total++; - } - }); - return total; + if (match) { + total++; + } + }); + return total; }; /** * Return a list of global properties. @@ -23650,17 +23765,17 @@ Runner.prototype.globalProps = function () { - var props = Object.keys(commonjsGlobal); // non-enumerables + var props = Object.keys(commonjsGlobal); // non-enumerables - for (var i = 0; i < globals.length; ++i) { - if (~props.indexOf(globals[i])) { - continue; - } + for (var i = 0; i < globals.length; ++i) { + if (~props.indexOf(globals[i])) { + continue; + } - props.push(globals[i]); - } + props.push(globals[i]); + } - return props; + return props; }; /** * Allow the given `arr` of globals. @@ -23673,13 +23788,13 @@ Runner.prototype.globals = function (arr) { - if (!arguments.length) { - return this._globals; - } + if (!arguments.length) { + return this._globals; + } - debug('globals(): setting to %O', arr); - this._globals = this._globals.concat(arr); - return this; + debug('globals(): setting to %O', arr); + this._globals = this._globals.concat(arr); + return this; }; /** * Check for global variable leaks. @@ -23689,32 +23804,32 @@ Runner.prototype.checkGlobals = function (test) { - if (!this.checkLeaks) { - return; - } + if (!this.checkLeaks) { + return; + } - var ok = this._globals; - var globals = this.globalProps(); - var leaks; + var ok = this._globals; + var globals = this.globalProps(); + var leaks; - if (test) { - ok = ok.concat(test._allowedGlobals || []); - } + if (test) { + ok = ok.concat(test._allowedGlobals || []); + } - if (this.prevGlobalsLength === globals.length) { - return; - } + if (this.prevGlobalsLength === globals.length) { + return; + } - this.prevGlobalsLength = globals.length; - leaks = filterLeaks(ok, globals); - this._globals = this._globals.concat(leaks); + this.prevGlobalsLength = globals.length; + leaks = filterLeaks(ok, globals); + this._globals = this._globals.concat(leaks); - if (leaks.length) { - var msg = "global leak(s) detected: ".concat(leaks.map(function (e) { - return "'".concat(e, "'"); - }).join(', ')); - this.fail(test, new Error(msg)); - } + if (leaks.length) { + var msg = "global leak(s) detected: ".concat(leaks.map(function (e) { + return "'".concat(e, "'"); + }).join(', ')); + this.fail(test, new Error(msg)); + } }; /** * Fail the given `test`. @@ -23740,34 +23855,34 @@ Runner.prototype.fail = function (test, err, force) { - force = force === true; + force = force === true; - if (test.isPending() && !force) { - return; - } + if (test.isPending() && !force) { + return; + } - if (this.state === constants$1.STATE_STOPPED) { - if (err.code === errorConstants.MULTIPLE_DONE) { - throw err; - } + if (this.state === constants$1.STATE_STOPPED) { + if (err.code === errorConstants.MULTIPLE_DONE) { + throw err; + } - throw createFatalError('Test failed after root suite execution completed!', err); - } + throw createFatalError('Test failed after root suite execution completed!', err); + } - ++this.failures; - debug('total number of failures: %d', this.failures); - test.state = STATE_FAILED; + ++this.failures; + debug('total number of failures: %d', this.failures); + test.state = STATE_FAILED; - if (!isError(err)) { - err = thrown2Error(err); - } + if (!isError(err)) { + err = thrown2Error(err); + } - try { - err.stack = this.fullStackTrace || !err.stack ? err.stack : stackFilter(err.stack); - } catch (ignore) {// some environments do not take kindly to monkeying with the stack - } + try { + err.stack = this.fullStackTrace || !err.stack ? err.stack : stackFilter(err.stack); + } catch (ignore) {// some environments do not take kindly to monkeying with the stack + } - this.emit(constants$1.EVENT_TEST_FAIL, test, err); + this.emit(constants$1.EVENT_TEST_FAIL, test, err); }; /** * Run hook `name` callbacks and then invoke `fn()`. @@ -23779,109 +23894,109 @@ Runner.prototype.hook = function (name, fn) { - if (this._opts.dryRun) return fn(); - var suite = this.suite; - var hooks = suite.getHooks(name); - var self = this; - - function next(i) { - var hook = hooks[i]; - - if (!hook) { - return fn(); - } - - self.currentRunnable = hook; - - if (name === HOOK_TYPE_BEFORE_ALL) { - hook.ctx.currentTest = hook.parent.tests[0]; - } else if (name === HOOK_TYPE_AFTER_ALL) { - hook.ctx.currentTest = hook.parent.tests[hook.parent.tests.length - 1]; - } else { - hook.ctx.currentTest = self.test; - } - - setHookTitle(hook); - hook.allowUncaught = self.allowUncaught; - self.emit(constants$1.EVENT_HOOK_BEGIN, hook); - - if (!hook.listeners('error').length) { - self._addEventListener(hook, 'error', function (err) { - self.fail(hook, err); - }); - } - - hook.run(function cbHookRun(err) { - var testError = hook.error(); - - if (testError) { - self.fail(self.test, testError); - } // conditional skip - - - if (hook.pending) { - if (name === HOOK_TYPE_AFTER_EACH) { - // TODO define and implement use case - if (self.test) { - self.test.pending = true; - } - } else if (name === HOOK_TYPE_BEFORE_EACH) { - if (self.test) { - self.test.pending = true; - } - - self.emit(constants$1.EVENT_HOOK_END, hook); - hook.pending = false; // activates hook for next test - - return fn(new Error('abort hookDown')); - } else if (name === HOOK_TYPE_BEFORE_ALL) { - suite.tests.forEach(function (test) { - test.pending = true; - }); - suite.suites.forEach(function (suite) { - suite.pending = true; - }); - hooks = []; - } else { - hook.pending = false; - var errForbid = createUnsupportedError$1('`this.skip` forbidden'); - self.fail(hook, errForbid); - return fn(errForbid); - } - } else if (err) { - self.fail(hook, err); // stop executing hooks, notify callee of hook err - - return fn(err); - } - - self.emit(constants$1.EVENT_HOOK_END, hook); - delete hook.ctx.currentTest; - setHookTitle(hook); - next(++i); - }); - - function setHookTitle(hook) { - hook.originalTitle = hook.originalTitle || hook.title; - - if (hook.ctx && hook.ctx.currentTest) { - hook.title = "".concat(hook.originalTitle, " for \"").concat(hook.ctx.currentTest.title, "\""); - } else { - var parentTitle; - - if (hook.parent.title) { - parentTitle = hook.parent.title; - } else { - parentTitle = hook.parent.root ? '{root}' : ''; - } - - hook.title = "".concat(hook.originalTitle, " in \"").concat(parentTitle, "\""); - } - } - } - - Runner.immediately(function () { - next(0); - }); + if (this._opts.dryRun) return fn(); + var suite = this.suite; + var hooks = suite.getHooks(name); + var self = this; + + function next(i) { + var hook = hooks[i]; + + if (!hook) { + return fn(); + } + + self.currentRunnable = hook; + + if (name === HOOK_TYPE_BEFORE_ALL) { + hook.ctx.currentTest = hook.parent.tests[0]; + } else if (name === HOOK_TYPE_AFTER_ALL) { + hook.ctx.currentTest = hook.parent.tests[hook.parent.tests.length - 1]; + } else { + hook.ctx.currentTest = self.test; + } + + setHookTitle(hook); + hook.allowUncaught = self.allowUncaught; + self.emit(constants$1.EVENT_HOOK_BEGIN, hook); + + if (!hook.listeners('error').length) { + self._addEventListener(hook, 'error', function (err) { + self.fail(hook, err); + }); + } + + hook.run(function cbHookRun(err) { + var testError = hook.error(); + + if (testError) { + self.fail(self.test, testError); + } // conditional skip + + + if (hook.pending) { + if (name === HOOK_TYPE_AFTER_EACH) { + // TODO define and implement use case + if (self.test) { + self.test.pending = true; + } + } else if (name === HOOK_TYPE_BEFORE_EACH) { + if (self.test) { + self.test.pending = true; + } + + self.emit(constants$1.EVENT_HOOK_END, hook); + hook.pending = false; // activates hook for next test + + return fn(new Error('abort hookDown')); + } else if (name === HOOK_TYPE_BEFORE_ALL) { + suite.tests.forEach(function (test) { + test.pending = true; + }); + suite.suites.forEach(function (suite) { + suite.pending = true; + }); + hooks = []; + } else { + hook.pending = false; + var errForbid = createUnsupportedError$1('`this.skip` forbidden'); + self.fail(hook, errForbid); + return fn(errForbid); + } + } else if (err) { + self.fail(hook, err); // stop executing hooks, notify callee of hook err + + return fn(err); + } + + self.emit(constants$1.EVENT_HOOK_END, hook); + delete hook.ctx.currentTest; + setHookTitle(hook); + next(++i); + }); + + function setHookTitle(hook) { + hook.originalTitle = hook.originalTitle || hook.title; + + if (hook.ctx && hook.ctx.currentTest) { + hook.title = "".concat(hook.originalTitle, " for \"").concat(hook.ctx.currentTest.title, "\""); + } else { + var parentTitle; + + if (hook.parent.title) { + parentTitle = hook.parent.title; + } else { + parentTitle = hook.parent.root ? '{root}' : ''; + } + + hook.title = "".concat(hook.originalTitle, " in \"").concat(parentTitle, "\""); + } + } + } + + Runner.immediately(function () { + next(0); + }); }; /** * Run hook `name` for the given array of `suites` @@ -23895,29 +24010,29 @@ Runner.prototype.hooks = function (name, suites, fn) { - var self = this; - var orig = this.suite; + var self = this; + var orig = this.suite; - function next(suite) { - self.suite = suite; + function next(suite) { + self.suite = suite; - if (!suite) { - self.suite = orig; - return fn(); - } + if (!suite) { + self.suite = orig; + return fn(); + } - self.hook(name, function (err) { - if (err) { - var errSuite = self.suite; - self.suite = orig; - return fn(err, errSuite); - } + self.hook(name, function (err) { + if (err) { + var errSuite = self.suite; + self.suite = orig; + return fn(err, errSuite); + } - next(suites.pop()); - }); - } + next(suites.pop()); + }); + } - next(suites.pop()); + next(suites.pop()); }; /** * Run 'afterEach' hooks from bottom up. @@ -23929,8 +24044,8 @@ Runner.prototype.hookUp = function (name, fn) { - var suites = [this.suite].concat(this.parents()).reverse(); - this.hooks(name, suites, fn); + var suites = [this.suite].concat(this.parents()).reverse(); + this.hooks(name, suites, fn); }; /** * Run 'beforeEach' hooks from top level down. @@ -23942,8 +24057,8 @@ Runner.prototype.hookDown = function (name, fn) { - var suites = [this.suite].concat(this.parents()); - this.hooks(name, suites, fn); + var suites = [this.suite].concat(this.parents()); + this.hooks(name, suites, fn); }; /** * Return an array of parent Suites from @@ -23955,15 +24070,15 @@ Runner.prototype.parents = function () { - var suite = this.suite; - var suites = []; + var suite = this.suite; + var suites = []; - while (suite.parent) { - suite = suite.parent; - suites.push(suite); - } + while (suite.parent) { + suite = suite.parent; + suites.push(suite); + } - return suites; + return suites; }; /** * Run the current test and callback `fn(err)`. @@ -23974,32 +24089,32 @@ Runner.prototype.runTest = function (fn) { - if (this._opts.dryRun) return fn(); - var self = this; - var test = this.test; + if (this._opts.dryRun) return fn(); + var self = this; + var test = this.test; - if (!test) { - return; - } + if (!test) { + return; + } - if (this.asyncOnly) { - test.asyncOnly = true; - } + if (this.asyncOnly) { + test.asyncOnly = true; + } - this._addEventListener(test, 'error', function (err) { - self.fail(test, err); - }); + this._addEventListener(test, 'error', function (err) { + self.fail(test, err); + }); - if (this.allowUncaught) { - test.allowUncaught = true; - return test.run(fn); - } + if (this.allowUncaught) { + test.allowUncaught = true; + return test.run(fn); + } - try { - test.run(fn); - } catch (err) { - fn(err); - } + try { + test.run(fn); + } catch (err) { + fn(err); + } }; /** * Run tests in the given `suite` and invoke the callback `fn()` when complete. @@ -24011,164 +24126,164 @@ Runner.prototype.runTests = function (suite, fn) { - var self = this; - var tests = suite.tests.slice(); - var test; - - function hookErr(_, errSuite, after) { - // before/after Each hook for errSuite failed: - var orig = self.suite; // for failed 'after each' hook start from errSuite parent, - // otherwise start from errSuite itself - - self.suite = after ? errSuite.parent : errSuite; - - if (self.suite) { - self.hookUp(HOOK_TYPE_AFTER_EACH, function (err2, errSuite2) { - self.suite = orig; // some hooks may fail even now - - if (err2) { - return hookErr(err2, errSuite2, true); - } // report error suite - - - fn(errSuite); - }); - } else { - // there is no need calling other 'after each' hooks - self.suite = orig; - fn(errSuite); - } - } - - function next(err, errSuite) { - // if we bail after first err - if (self.failures && suite._bail) { - tests = []; - } - - if (self._abort) { - return fn(); - } - - if (err) { - return hookErr(err, errSuite, true); - } // next test - - - test = tests.shift(); // all done - - if (!test) { - return fn(); - } // grep - - - var match = self._grep.test(test.fullTitle()); - - if (self._invert) { - match = !match; - } - - if (!match) { - // Run immediately only if we have defined a grep. When we - // define a grep — It can cause maximum callstack error if - // the grep is doing a large recursive loop by neglecting - // all tests. The run immediately function also comes with - // a performance cost. So we don't want to run immediately - // if we run the whole test suite, because running the whole - // test suite don't do any immediate recursive loops. Thus, - // allowing a JS runtime to breathe. - if (self._grep !== self._defaultGrep) { - Runner.immediately(next); - } else { - next(); - } - - return; - } // static skip, no hooks are executed - - - if (test.isPending()) { - if (self.forbidPending) { - self.fail(test, new Error('Pending test forbidden'), true); - } else { - test.state = STATE_PENDING; - self.emit(constants$1.EVENT_TEST_PENDING, test); - } - - self.emit(constants$1.EVENT_TEST_END, test); - return next(); - } // execute test and hook(s) - - - self.emit(constants$1.EVENT_TEST_BEGIN, self.test = test); - self.hookDown(HOOK_TYPE_BEFORE_EACH, function (err, errSuite) { - // conditional skip within beforeEach - if (test.isPending()) { - if (self.forbidPending) { - self.fail(test, new Error('Pending test forbidden'), true); - } else { - test.state = STATE_PENDING; - self.emit(constants$1.EVENT_TEST_PENDING, test); - } - - self.emit(constants$1.EVENT_TEST_END, test); // skip inner afterEach hooks below errSuite level - - var origSuite = self.suite; - self.suite = errSuite || self.suite; - return self.hookUp(HOOK_TYPE_AFTER_EACH, function (e, eSuite) { - self.suite = origSuite; - next(e, eSuite); - }); - } - - if (err) { - return hookErr(err, errSuite, false); - } - - self.currentRunnable = self.test; - self.runTest(function (err) { - test = self.test; // conditional skip within it - - if (test.pending) { - if (self.forbidPending) { - self.fail(test, new Error('Pending test forbidden'), true); - } else { - test.state = STATE_PENDING; - self.emit(constants$1.EVENT_TEST_PENDING, test); - } - - self.emit(constants$1.EVENT_TEST_END, test); - return self.hookUp(HOOK_TYPE_AFTER_EACH, next); - } else if (err) { - var retry = test.currentRetry(); - - if (retry < test.retries()) { - var clonedTest = test.clone(); - clonedTest.currentRetry(retry + 1); - tests.unshift(clonedTest); - self.emit(constants$1.EVENT_TEST_RETRY, test, err); // Early return + hook trigger so that it doesn't - // increment the count wrong - - return self.hookUp(HOOK_TYPE_AFTER_EACH, next); - } else { - self.fail(test, err); - } - - self.emit(constants$1.EVENT_TEST_END, test); - return self.hookUp(HOOK_TYPE_AFTER_EACH, next); - } - - test.state = STATE_PASSED; - self.emit(constants$1.EVENT_TEST_PASS, test); - self.emit(constants$1.EVENT_TEST_END, test); - self.hookUp(HOOK_TYPE_AFTER_EACH, next); - }); - }); - } - - this.next = next; - this.hookErr = hookErr; - next(); + var self = this; + var tests = suite.tests.slice(); + var test; + + function hookErr(_, errSuite, after) { + // before/after Each hook for errSuite failed: + var orig = self.suite; // for failed 'after each' hook start from errSuite parent, + // otherwise start from errSuite itself + + self.suite = after ? errSuite.parent : errSuite; + + if (self.suite) { + self.hookUp(HOOK_TYPE_AFTER_EACH, function (err2, errSuite2) { + self.suite = orig; // some hooks may fail even now + + if (err2) { + return hookErr(err2, errSuite2, true); + } // report error suite + + + fn(errSuite); + }); + } else { + // there is no need calling other 'after each' hooks + self.suite = orig; + fn(errSuite); + } + } + + function next(err, errSuite) { + // if we bail after first err + if (self.failures && suite._bail) { + tests = []; + } + + if (self._abort) { + return fn(); + } + + if (err) { + return hookErr(err, errSuite, true); + } // next test + + + test = tests.shift(); // all done + + if (!test) { + return fn(); + } // grep + + + var match = self._grep.test(test.fullTitle()); + + if (self._invert) { + match = !match; + } + + if (!match) { + // Run immediately only if we have defined a grep. When we + // define a grep — It can cause maximum callstack error if + // the grep is doing a large recursive loop by neglecting + // all tests. The run immediately function also comes with + // a performance cost. So we don't want to run immediately + // if we run the whole test suite, because running the whole + // test suite don't do any immediate recursive loops. Thus, + // allowing a JS runtime to breathe. + if (self._grep !== self._defaultGrep) { + Runner.immediately(next); + } else { + next(); + } + + return; + } // static skip, no hooks are executed + + + if (test.isPending()) { + if (self.forbidPending) { + self.fail(test, new Error('Pending test forbidden'), true); + } else { + test.state = STATE_PENDING; + self.emit(constants$1.EVENT_TEST_PENDING, test); + } + + self.emit(constants$1.EVENT_TEST_END, test); + return next(); + } // execute test and hook(s) + + + self.emit(constants$1.EVENT_TEST_BEGIN, self.test = test); + self.hookDown(HOOK_TYPE_BEFORE_EACH, function (err, errSuite) { + // conditional skip within beforeEach + if (test.isPending()) { + if (self.forbidPending) { + self.fail(test, new Error('Pending test forbidden'), true); + } else { + test.state = STATE_PENDING; + self.emit(constants$1.EVENT_TEST_PENDING, test); + } + + self.emit(constants$1.EVENT_TEST_END, test); // skip inner afterEach hooks below errSuite level + + var origSuite = self.suite; + self.suite = errSuite || self.suite; + return self.hookUp(HOOK_TYPE_AFTER_EACH, function (e, eSuite) { + self.suite = origSuite; + next(e, eSuite); + }); + } + + if (err) { + return hookErr(err, errSuite, false); + } + + self.currentRunnable = self.test; + self.runTest(function (err) { + test = self.test; // conditional skip within it + + if (test.pending) { + if (self.forbidPending) { + self.fail(test, new Error('Pending test forbidden'), true); + } else { + test.state = STATE_PENDING; + self.emit(constants$1.EVENT_TEST_PENDING, test); + } + + self.emit(constants$1.EVENT_TEST_END, test); + return self.hookUp(HOOK_TYPE_AFTER_EACH, next); + } else if (err) { + var retry = test.currentRetry(); + + if (retry < test.retries()) { + var clonedTest = test.clone(); + clonedTest.currentRetry(retry + 1); + tests.unshift(clonedTest); + self.emit(constants$1.EVENT_TEST_RETRY, test, err); // Early return + hook trigger so that it doesn't + // increment the count wrong + + return self.hookUp(HOOK_TYPE_AFTER_EACH, next); + } else { + self.fail(test, err); + } + + self.emit(constants$1.EVENT_TEST_END, test); + return self.hookUp(HOOK_TYPE_AFTER_EACH, next); + } + + test.state = STATE_PASSED; + self.emit(constants$1.EVENT_TEST_PASS, test); + self.emit(constants$1.EVENT_TEST_END, test); + self.hookUp(HOOK_TYPE_AFTER_EACH, next); + }); + }); + } + + this.next = next; + this.hookErr = hookErr; + next(); }; /** * Run the given `suite` and invoke the callback `fn()` when complete. @@ -24180,73 +24295,73 @@ Runner.prototype.runSuite = function (suite, fn) { - var i = 0; - var self = this; - var total = this.grepTotal(suite); - debug('runSuite(): running %s', suite.fullTitle()); - - if (!total || self.failures && suite._bail) { - debug('runSuite(): bailing'); - return fn(); - } - - this.emit(constants$1.EVENT_SUITE_BEGIN, this.suite = suite); - - function next(errSuite) { - if (errSuite) { - // current suite failed on a hook from errSuite - if (errSuite === suite) { - // if errSuite is current suite - // continue to the next sibling suite - return done(); - } // errSuite is among the parents of current suite - // stop execution of errSuite and all sub-suites - - - return done(errSuite); - } - - if (self._abort) { - return done(); - } - - var curr = suite.suites[i++]; - - if (!curr) { - return done(); - } // Avoid grep neglecting large number of tests causing a - // huge recursive loop and thus a maximum call stack error. - // See comment in `this.runTests()` for more information. - - - if (self._grep !== self._defaultGrep) { - Runner.immediately(function () { - self.runSuite(curr, next); - }); - } else { - self.runSuite(curr, next); - } - } - - function done(errSuite) { - self.suite = suite; - self.nextSuite = next; // remove reference to test - - delete self.test; - self.hook(HOOK_TYPE_AFTER_ALL, function () { - self.emit(constants$1.EVENT_SUITE_END, suite); - fn(errSuite); - }); - } - - this.nextSuite = next; - this.hook(HOOK_TYPE_BEFORE_ALL, function (err) { - if (err) { - return done(); - } - - self.runTests(suite, next); - }); + var i = 0; + var self = this; + var total = this.grepTotal(suite); + debug('runSuite(): running %s', suite.fullTitle()); + + if (!total || self.failures && suite._bail) { + debug('runSuite(): bailing'); + return fn(); + } + + this.emit(constants$1.EVENT_SUITE_BEGIN, this.suite = suite); + + function next(errSuite) { + if (errSuite) { + // current suite failed on a hook from errSuite + if (errSuite === suite) { + // if errSuite is current suite + // continue to the next sibling suite + return done(); + } // errSuite is among the parents of current suite + // stop execution of errSuite and all sub-suites + + + return done(errSuite); + } + + if (self._abort) { + return done(); + } + + var curr = suite.suites[i++]; + + if (!curr) { + return done(); + } // Avoid grep neglecting large number of tests causing a + // huge recursive loop and thus a maximum call stack error. + // See comment in `this.runTests()` for more information. + + + if (self._grep !== self._defaultGrep) { + Runner.immediately(function () { + self.runSuite(curr, next); + }); + } else { + self.runSuite(curr, next); + } + } + + function done(errSuite) { + self.suite = suite; + self.nextSuite = next; // remove reference to test + + delete self.test; + self.hook(HOOK_TYPE_AFTER_ALL, function () { + self.emit(constants$1.EVENT_SUITE_END, suite); + fn(errSuite); + }); + } + + this.nextSuite = next; + this.hook(HOOK_TYPE_BEFORE_ALL, function (err) { + if (err) { + return done(); + } + + self.runTests(suite, next); + }); }; /** * Handle uncaught exceptions within runner. @@ -24267,87 +24382,87 @@ Runner.prototype._uncaught = function (err) { - // this is defensive to prevent future developers from mis-calling this function. - // it's more likely that it'd be called with the incorrect context--say, the global - // `process` object--than it would to be called with a context that is not a "subclass" - // of `Runner`. - if (!(this instanceof Runner)) { - throw createFatalError('Runner#uncaught() called with invalid context', this); - } - - if (err instanceof pending) { - debug('uncaught(): caught a Pending'); - return; - } // browser does not exit script when throwing in global.onerror() - - - if (this.allowUncaught && !utils.isBrowser()) { - debug('uncaught(): bubbling exception due to --allow-uncaught'); - throw err; - } - - if (this.state === constants$1.STATE_STOPPED) { - debug('uncaught(): throwing after run has completed!'); - throw err; - } - - if (err) { - debug('uncaught(): got truthy exception %O', err); - } else { - debug('uncaught(): undefined/falsy exception'); - err = createInvalidExceptionError('Caught falsy/undefined exception which would otherwise be uncaught. No stack trace found; try a debugger', err); - } - - if (!isError(err)) { - err = thrown2Error(err); - debug('uncaught(): converted "error" %o to Error', err); - } - - err.uncaught = true; - var runnable$1 = this.currentRunnable; - - if (!runnable$1) { - runnable$1 = new runnable('Uncaught error outside test suite'); - debug('uncaught(): no current Runnable; created a phony one'); - runnable$1.parent = this.suite; - - if (this.state === constants$1.STATE_RUNNING) { - debug('uncaught(): failing gracefully'); - this.fail(runnable$1, err); - } else { - // Can't recover from this failure - debug('uncaught(): test run has not yet started; unrecoverable'); - this.emit(constants$1.EVENT_RUN_BEGIN); - this.fail(runnable$1, err); - this.emit(constants$1.EVENT_RUN_END); - } - - return; - } - - runnable$1.clearTimeout(); - - if (runnable$1.isFailed()) { - debug('uncaught(): Runnable has already failed'); // Ignore error if already failed - - return; - } else if (runnable$1.isPending()) { - debug('uncaught(): pending Runnable wound up failing!'); // report 'pending test' retrospectively as failed - - this.fail(runnable$1, err, true); - return; - } // we cannot recover gracefully if a Runnable has already passed - // then fails asynchronously - - - if (runnable$1.isPassed()) { - debug('uncaught(): Runnable has already passed; bailing gracefully'); - this.fail(runnable$1, err); - this.abort(); - } else { - debug('uncaught(): forcing Runnable to complete with Error'); - return runnable$1.callback(err); - } + // this is defensive to prevent future developers from mis-calling this function. + // it's more likely that it'd be called with the incorrect context--say, the global + // `process` object--than it would to be called with a context that is not a "subclass" + // of `Runner`. + if (!(this instanceof Runner)) { + throw createFatalError('Runner#uncaught() called with invalid context', this); + } + + if (err instanceof pending) { + debug('uncaught(): caught a Pending'); + return; + } // browser does not exit script when throwing in global.onerror() + + + if (this.allowUncaught && !utils.isBrowser()) { + debug('uncaught(): bubbling exception due to --allow-uncaught'); + throw err; + } + + if (this.state === constants$1.STATE_STOPPED) { + debug('uncaught(): throwing after run has completed!'); + throw err; + } + + if (err) { + debug('uncaught(): got truthy exception %O', err); + } else { + debug('uncaught(): undefined/falsy exception'); + err = createInvalidExceptionError('Caught falsy/undefined exception which would otherwise be uncaught. No stack trace found; try a debugger', err); + } + + if (!isError(err)) { + err = thrown2Error(err); + debug('uncaught(): converted "error" %o to Error', err); + } + + err.uncaught = true; + var runnable$1 = this.currentRunnable; + + if (!runnable$1) { + runnable$1 = new runnable('Uncaught error outside test suite'); + debug('uncaught(): no current Runnable; created a phony one'); + runnable$1.parent = this.suite; + + if (this.state === constants$1.STATE_RUNNING) { + debug('uncaught(): failing gracefully'); + this.fail(runnable$1, err); + } else { + // Can't recover from this failure + debug('uncaught(): test run has not yet started; unrecoverable'); + this.emit(constants$1.EVENT_RUN_BEGIN); + this.fail(runnable$1, err); + this.emit(constants$1.EVENT_RUN_END); + } + + return; + } + + runnable$1.clearTimeout(); + + if (runnable$1.isFailed()) { + debug('uncaught(): Runnable has already failed'); // Ignore error if already failed + + return; + } else if (runnable$1.isPending()) { + debug('uncaught(): pending Runnable wound up failing!'); // report 'pending test' retrospectively as failed + + this.fail(runnable$1, err, true); + return; + } // we cannot recover gracefully if a Runnable has already passed + // then fails asynchronously + + + if (runnable$1.isPassed()) { + debug('uncaught(): Runnable has already passed; bailing gracefully'); + this.fail(runnable$1, err); + this.abort(); + } else { + debug('uncaught(): forcing Runnable to complete with Error'); + return runnable$1.callback(err); + } }; /** * Run the root suite and invoke `fn(failures)` @@ -24362,83 +24477,83 @@ Runner.prototype.run = function (fn) { - var _this2 = this; + var _this2 = this; - var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var rootSuite = this.suite; - var options = opts.options || {}; - debug('run(): got options: %O', options); + var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var rootSuite = this.suite; + var options = opts.options || {}; + debug('run(): got options: %O', options); - fn = fn || function () {}; + fn = fn || function () {}; - var end = function end() { - debug('run(): root suite completed; emitting %s', constants$1.EVENT_RUN_END); + var end = function end() { + debug('run(): root suite completed; emitting %s', constants$1.EVENT_RUN_END); - _this2.emit(constants$1.EVENT_RUN_END); - }; + _this2.emit(constants$1.EVENT_RUN_END); + }; - var begin = function begin() { - debug('run(): emitting %s', constants$1.EVENT_RUN_BEGIN); + var begin = function begin() { + debug('run(): emitting %s', constants$1.EVENT_RUN_BEGIN); - _this2.emit(constants$1.EVENT_RUN_BEGIN); + _this2.emit(constants$1.EVENT_RUN_BEGIN); - debug('run(): emitted %s', constants$1.EVENT_RUN_BEGIN); + debug('run(): emitted %s', constants$1.EVENT_RUN_BEGIN); - _this2.runSuite(rootSuite, end); - }; + _this2.runSuite(rootSuite, end); + }; - var prepare = function prepare() { - debug('run(): starting'); // If there is an `only` filter + var prepare = function prepare() { + debug('run(): starting'); // If there is an `only` filter - if (rootSuite.hasOnly()) { - rootSuite.filterOnly(); - debug('run(): filtered exclusive Runnables'); - } + if (rootSuite.hasOnly()) { + rootSuite.filterOnly(); + debug('run(): filtered exclusive Runnables'); + } - _this2.state = constants$1.STATE_RUNNING; + _this2.state = constants$1.STATE_RUNNING; - if (_this2._delay) { - _this2.emit(constants$1.EVENT_DELAY_END); + if (_this2._delay) { + _this2.emit(constants$1.EVENT_DELAY_END); - debug('run(): "delay" ended'); - } + debug('run(): "delay" ended'); + } - return begin(); - }; // references cleanup to avoid memory leaks + return begin(); + }; // references cleanup to avoid memory leaks - if (this._opts.cleanReferencesAfterRun) { - this.on(constants$1.EVENT_SUITE_END, function (suite) { - suite.cleanReferences(); - }); - } // callback + if (this._opts.cleanReferencesAfterRun) { + this.on(constants$1.EVENT_SUITE_END, function (suite) { + suite.cleanReferences(); + }); + } // callback - this.on(constants$1.EVENT_RUN_END, function () { - this.state = constants$1.STATE_STOPPED; - debug('run(): emitted %s', constants$1.EVENT_RUN_END); - fn(this.failures); - }); + this.on(constants$1.EVENT_RUN_END, function () { + this.state = constants$1.STATE_STOPPED; + debug('run(): emitted %s', constants$1.EVENT_RUN_END); + fn(this.failures); + }); - this._removeEventListener(process$3, 'uncaughtException', this.uncaught); + this._removeEventListener(process$3, 'uncaughtException', this.uncaught); - this._removeEventListener(process$3, 'unhandledRejection', this.unhandled); + this._removeEventListener(process$3, 'unhandledRejection', this.unhandled); - this._addEventListener(process$3, 'uncaughtException', this.uncaught); + this._addEventListener(process$3, 'uncaughtException', this.uncaught); - this._addEventListener(process$3, 'unhandledRejection', this.unhandled); + this._addEventListener(process$3, 'unhandledRejection', this.unhandled); - if (this._delay) { - // for reporters, I guess. - // might be nice to debounce some dots while we wait. - this.emit(constants$1.EVENT_DELAY_BEGIN, rootSuite); - rootSuite.once(EVENT_ROOT_SUITE_RUN, prepare); - debug('run(): waiting for green light due to --delay'); - } else { - Runner.immediately(prepare); - } + if (this._delay) { + // for reporters, I guess. + // might be nice to debounce some dots while we wait. + this.emit(constants$1.EVENT_DELAY_BEGIN, rootSuite); + rootSuite.once(EVENT_ROOT_SUITE_RUN, prepare); + debug('run(): waiting for green light due to --delay'); + } else { + Runner.immediately(prepare); + } - return this; + return this; }; /** * Toggle partial object linking behavior; used for building object references from @@ -24466,7 +24581,7 @@ Runner.prototype.linkPartialObjects = function (value) { - return this; + return this; }; /* * Like {@link Runner#run}, but does not accept a callback and returns a `Promise` instead of a `Runner`. @@ -24479,33 +24594,33 @@ Runner.prototype.runAsync = /*#__PURE__*/function () { - var _runAsync = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { - var _this3 = this; - - var opts, - _args = arguments; - return regeneratorRuntime.wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - opts = _args.length > 0 && _args[0] !== undefined ? _args[0] : {}; - return _context.abrupt("return", new Promise(function (resolve) { - _this3.run(resolve, opts); - })); - - case 2: - case "end": - return _context.stop(); - } - } - }, _callee); - })); - - function runAsync() { - return _runAsync.apply(this, arguments); - } - - return runAsync; + var _runAsync = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { + var _this3 = this; + + var opts, + _args = arguments; + return regeneratorRuntime.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + opts = _args.length > 0 && _args[0] !== undefined ? _args[0] : {}; + return _context.abrupt("return", new Promise(function (resolve) { + _this3.run(resolve, opts); + })); + + case 2: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + function runAsync() { + return _runAsync.apply(this, arguments); + } + + return runAsync; }(); /** * Cleanly abort execution. @@ -24517,9 +24632,9 @@ Runner.prototype.abort = function () { - debug('abort(): aborting'); - this._abort = true; - return this; + debug('abort(): aborting'); + this._abort = true; + return this; }; /** * Returns `true` if Mocha is running in parallel mode. For reporters. @@ -24531,7 +24646,7 @@ Runner.prototype.isParallelMode = function isParallelMode() { - return false; + return false; }; /** * Configures an alternate reporter for worker processes to use. Subclasses @@ -24546,7 +24661,7 @@ Runner.prototype.workerReporter = function () { - throw createUnsupportedError$1('workerReporter() not supported in serial mode'); + throw createUnsupportedError$1('workerReporter() not supported in serial mode'); }; /** * Filter leaks with the given globals flagged as `ok`. @@ -24559,39 +24674,39 @@ function filterLeaks(ok, globals) { - return globals.filter(function (key) { - // Firefox and Chrome exposes iframes as index inside the window object - if (/^\d+/.test(key)) { - return false; - } // in firefox - // if runner runs in an iframe, this iframe's window.getInterface method - // not init at first it is assigned in some seconds + return globals.filter(function (key) { + // Firefox and Chrome exposes iframes as index inside the window object + if (/^\d+/.test(key)) { + return false; + } // in firefox + // if runner runs in an iframe, this iframe's window.getInterface method + // not init at first it is assigned in some seconds - if (commonjsGlobal.navigator && /^getInterface/.test(key)) { - return false; - } // an iframe could be approached by window[iframeIndex] - // in ie6,7,8 and opera, iframeIndex is enumerable, this could cause leak + if (commonjsGlobal.navigator && /^getInterface/.test(key)) { + return false; + } // an iframe could be approached by window[iframeIndex] + // in ie6,7,8 and opera, iframeIndex is enumerable, this could cause leak - if (commonjsGlobal.navigator && /^\d+/.test(key)) { - return false; - } // Opera and IE expose global variables for HTML element IDs (issue #243) + if (commonjsGlobal.navigator && /^\d+/.test(key)) { + return false; + } // Opera and IE expose global variables for HTML element IDs (issue #243) - if (/^mocha-/.test(key)) { - return false; - } + if (/^mocha-/.test(key)) { + return false; + } - var matched = ok.filter(function (ok) { - if (~ok.indexOf('*')) { - return key.indexOf(ok.split('*')[0]) === 0; - } + var matched = ok.filter(function (ok) { + if (~ok.indexOf('*')) { + return key.indexOf(ok.split('*')[0]) === 0; + } - return key === ok; - }); - return !matched.length && (!commonjsGlobal.navigator || key !== 'onerror'); - }); + return key === ok; + }); + return !matched.length && (!commonjsGlobal.navigator || key !== 'onerror'); + }); } /** * Check if argument is an instance of Error object or a duck-typed equivalent. @@ -24604,7 +24719,7 @@ function isError(err) { - return err instanceof Error || err && typeof err.message === 'string'; + return err instanceof Error || err && typeof err.message === 'string'; } /** * @@ -24617,7 +24732,7 @@ function thrown2Error(err) { - return new Error("the ".concat(utils.canonicalType(err), " ").concat(stringify(err), " was thrown, throw an Error :)")); + return new Error("the ".concat(utils.canonicalType(err), " ").concat(stringify(err), " was thrown, throw an Error :)")); } Runner.constants = constants$1; @@ -24632,1239 +24747,1239 @@ var require$$11 = getCjsExportFromNamespace(_nodeResolve_empty$1); var base = createCommonjsModule(function (module, exports) { - /** - * @module Base - */ - - /** - * Module dependencies. - */ + /** + * @module Base + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var isBrowser = utils.isBrowser(); + + function getBrowserWindowSize() { + if ('innerHeight' in commonjsGlobal) { + return [commonjsGlobal.innerHeight, commonjsGlobal.innerWidth]; + } // In a Web Worker, the DOM Window is not available. + + + return [640, 480]; + } + /** + * Expose `Base`. + */ + + + exports = module.exports = Base; + /** + * Check if both stdio streams are associated with a tty. + */ + + var isatty = isBrowser || process$3.stdout.isTTY && process$3.stderr.isTTY; + /** + * Save log references to avoid tests interfering (see GH-3604). + */ + + var consoleLog = console.log; + /** + * Enable coloring by default, except in the browser interface. + */ + + exports.useColors = !isBrowser && (require$$11.stdout || process$3.env.MOCHA_COLORS !== undefined); + /** + * Inline diffs instead of +/- + */ + + exports.inlineDiffs = false; + /** + * Default color map. + */ + + exports.colors = { + pass: 90, + fail: 31, + 'bright pass': 92, + 'bright fail': 91, + 'bright yellow': 93, + pending: 36, + suite: 0, + 'error title': 0, + 'error message': 31, + 'error stack': 90, + checkmark: 32, + fast: 90, + medium: 33, + slow: 31, + green: 32, + light: 90, + 'diff gutter': 90, + 'diff added': 32, + 'diff removed': 31, + 'diff added inline': '30;42', + 'diff removed inline': '30;41' + }; + /** + * Default symbol map. + */ + + exports.symbols = { + ok: browser$1.success, + err: browser$1.err, + dot: '.', + comma: ',', + bang: '!' + }; + /** + * Color `str` with the given `type`, + * allowing colors to be disabled, + * as well as user-defined color + * schemes. + * + * @private + * @param {string} type + * @param {string} str + * @return {string} + */ + + var color = exports.color = function (type, str) { + if (!exports.useColors) { + return String(str); + } + + return "\x1B[" + exports.colors[type] + 'm' + str + "\x1B[0m"; + }; + /** + * Expose term window size, with some defaults for when stderr is not a tty. + */ + + + exports.window = { + width: 75 + }; + + if (isatty) { + if (isBrowser) { + exports.window.width = getBrowserWindowSize()[1]; + } else { + exports.window.width = process$3.stdout.getWindowSize(1)[0]; + } + } + /** + * Expose some basic cursor interactions that are common among reporters. + */ + + + exports.cursor = { + hide: function hide() { + isatty && process$3.stdout.write("\x1B[?25l"); + }, + show: function show() { + isatty && process$3.stdout.write("\x1B[?25h"); + }, + deleteLine: function deleteLine() { + isatty && process$3.stdout.write("\x1B[2K"); + }, + beginningOfLine: function beginningOfLine() { + isatty && process$3.stdout.write("\x1B[0G"); + }, + CR: function CR() { + if (isatty) { + exports.cursor.deleteLine(); + exports.cursor.beginningOfLine(); + } else { + process$3.stdout.write('\r'); + } + } + }; + + var showDiff = exports.showDiff = function (err) { + return err && err.showDiff !== false && sameType(err.actual, err.expected) && err.expected !== undefined; + }; + + function stringifyDiffObjs(err) { + if (!utils.isString(err.actual) || !utils.isString(err.expected)) { + err.actual = utils.stringify(err.actual); + err.expected = utils.stringify(err.expected); + } + } + /** + * Returns a diff between 2 strings with coloured ANSI output. + * + * @description + * The diff will be either inline or unified dependent on the value + * of `Base.inlineDiff`. + * + * @param {string} actual + * @param {string} expected + * @return {string} Diff + */ + + + var generateDiff = exports.generateDiff = function (actual, expected) { + try { + var diffSize = 2048; + + if (actual.length > diffSize) { + actual = actual.substring(0, diffSize) + ' ... Lines skipped'; + } + + if (expected.length > diffSize) { + expected = expected.substring(0, diffSize) + ' ... Lines skipped'; + } + + return exports.inlineDiffs ? inlineDiff(actual, expected) : unifiedDiff(actual, expected); + } catch (err) { + var msg = '\n ' + color('diff added', '+ expected') + ' ' + color('diff removed', '- actual: failed to generate Mocha diff') + '\n'; + return msg; + } + }; + /** + * Outputs the given `failures` as a list. + * + * @public + * @memberof Mocha.reporters.Base + * @variation 1 + * @param {Object[]} failures - Each is Test instance with corresponding + * Error property + */ + + + exports.list = function (failures) { + var multipleErr, multipleTest; + Base.consoleLog(); + failures.forEach(function (test, i) { + // format + var fmt = color('error title', ' %s) %s:\n') + color('error message', ' %s') + color('error stack', '\n%s\n'); // msg + + var msg; + var err; + + if (test.err && test.err.multiple) { + if (multipleTest !== test) { + multipleTest = test; + multipleErr = [test.err].concat(test.err.multiple); + } + + err = multipleErr.shift(); + } else { + err = test.err; + } + + var message; + + if (typeof err.inspect === 'function') { + message = err.inspect() + ''; + } else if (err.message && typeof err.message.toString === 'function') { + message = err.message + ''; + } else { + message = ''; + } + + var stack = err.stack || message; + var index = message ? stack.indexOf(message) : -1; + + if (index === -1) { + msg = message; + } else { + index += message.length; + msg = stack.slice(0, index); // remove msg from stack + + stack = stack.slice(index + 1); + } // uncaught + + + if (err.uncaught) { + msg = 'Uncaught ' + msg; + } // explicitly show diff + + + if (!exports.hideDiff && showDiff(err)) { + stringifyDiffObjs(err); + fmt = color('error title', ' %s) %s:\n%s') + color('error stack', '\n%s\n'); + var match = message.match(/^([^:]+): expected/); + msg = '\n ' + color('error message', match ? match[1] : msg); + msg += generateDiff(err.actual, err.expected); + } // indent stack trace + + + stack = stack.replace(/^/gm, ' '); // indented test title + + var testTitle = ''; + test.titlePath().forEach(function (str, index) { + if (index !== 0) { + testTitle += '\n '; + } + + for (var i = 0; i < index; i++) { + testTitle += ' '; + } + + testTitle += str; + }); + Base.consoleLog(fmt, i + 1, testTitle, msg, stack); + }); + }; + /** + * Constructs a new `Base` reporter instance. + * + * @description + * All other reporters generally inherit from this reporter. + * + * @public + * @class + * @memberof Mocha.reporters + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + + function Base(runner, options) { + var failures = this.failures = []; + + if (!runner) { + throw new TypeError('Missing runner argument'); + } + + this.options = options || {}; + this.runner = runner; + this.stats = runner.stats; // assigned so Reporters keep a closer reference + + runner.on(EVENT_TEST_PASS, function (test) { + if (test.duration > test.slow()) { + test.speed = 'slow'; + } else if (test.duration > test.slow() / 2) { + test.speed = 'medium'; + } else { + test.speed = 'fast'; + } + }); + runner.on(EVENT_TEST_FAIL, function (test, err) { + if (showDiff(err)) { + stringifyDiffObjs(err); + } // more than one error per test + + + if (test.err && err instanceof Error) { + test.err.multiple = (test.err.multiple || []).concat(err); + } else { + test.err = err; + } + + failures.push(test); + }); + } + /** + * Outputs common epilogue used by many of the bundled reporters. + * + * @public + * @memberof Mocha.reporters + */ + + + Base.prototype.epilogue = function () { + var stats = this.stats; + var fmt; + Base.consoleLog(); // passes + + fmt = color('bright pass', ' ') + color('green', ' %d passing') + color('light', ' (%s)'); + Base.consoleLog(fmt, stats.passes || 0, ms$1(stats.duration)); // pending + + if (stats.pending) { + fmt = color('pending', ' ') + color('pending', ' %d pending'); + Base.consoleLog(fmt, stats.pending); + } // failures + + + if (stats.failures) { + fmt = color('fail', ' %d failing'); + Base.consoleLog(fmt, stats.failures); + Base.list(this.failures); + Base.consoleLog(); + } + + Base.consoleLog(); + }; + /** + * Pads the given `str` to `len`. + * + * @private + * @param {string} str + * @param {string} len + * @return {string} + */ + + + function pad(str, len) { + str = String(str); + return Array(len - str.length + 1).join(' ') + str; + } + /** + * Returns inline diff between 2 strings with coloured ANSI output. + * + * @private + * @param {String} actual + * @param {String} expected + * @return {string} Diff + */ + + + function inlineDiff(actual, expected) { + var msg = errorDiff(actual, expected); // linenos + + var lines = msg.split('\n'); + + if (lines.length > 4) { + var width = String(lines.length).length; + msg = lines.map(function (str, i) { + return pad(++i, width) + ' |' + ' ' + str; + }).join('\n'); + } // legend + + + msg = '\n' + color('diff removed inline', 'actual') + ' ' + color('diff added inline', 'expected') + '\n\n' + msg + '\n'; // indent + + msg = msg.replace(/^/gm, ' '); + return msg; + } + /** + * Returns unified diff between two strings with coloured ANSI output. + * + * @private + * @param {String} actual + * @param {String} expected + * @return {string} The diff. + */ + + + function unifiedDiff(actual, expected) { + var indent = ' '; + + function cleanUp(line) { + if (line[0] === '+') { + return indent + colorLines('diff added', line); + } + + if (line[0] === '-') { + return indent + colorLines('diff removed', line); + } + + if (line.match(/@@/)) { + return '--'; + } + + if (line.match(/\\ No newline/)) { + return null; + } + + return indent + line; + } + + function notBlank(line) { + return typeof line !== 'undefined' && line !== null; + } + + var msg = diff$1.createPatch('string', actual, expected); + var lines = msg.split('\n').splice(5); + return '\n ' + colorLines('diff added', '+ expected') + ' ' + colorLines('diff removed', '- actual') + '\n\n' + lines.map(cleanUp).filter(notBlank).join('\n'); + } + /** + * Returns character diff for `err`. + * + * @private + * @param {String} actual + * @param {String} expected + * @return {string} the diff + */ + + + function errorDiff(actual, expected) { + return diff$1.diffWordsWithSpace(actual, expected).map(function (str) { + if (str.added) { + return colorLines('diff added inline', str.value); + } + + if (str.removed) { + return colorLines('diff removed inline', str.value); + } + + return str.value; + }).join(''); + } + /** + * Colors lines for `str`, using the color `name`. + * + * @private + * @param {string} name + * @param {string} str + * @return {string} + */ + + + function colorLines(name, str) { + return str.split('\n').map(function (str) { + return color(name, str); + }).join('\n'); + } + /** + * Object#toString reference. + */ + + + var objToString = Object.prototype.toString; + /** + * Checks that a / b have the same type. + * + * @private + * @param {Object} a + * @param {Object} b + * @return {boolean} + */ + + function sameType(a, b) { + return objToString.call(a) === objToString.call(b); + } + + Base.consoleLog = consoleLog; + Base["abstract"] = true; + }); - var constants = runner.constants; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var isBrowser = utils.isBrowser(); + var dot = createCommonjsModule(function (module, exports) { + /** + * @module Dot + */ + + /** + * Module dependencies. + */ + + var inherits = utils.inherits; + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var EVENT_RUN_END = constants.EVENT_RUN_END; + /** + * Expose `Dot`. + */ + + module.exports = Dot; + /** + * Constructs a new `Dot` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Dot(runner, options) { + base.call(this, runner, options); + var self = this; + var width = base.window.width * 0.75 | 0; + var n = -1; + runner.on(EVENT_RUN_BEGIN, function () { + process$3.stdout.write('\n'); + }); + runner.on(EVENT_TEST_PENDING, function () { + if (++n % width === 0) { + process$3.stdout.write('\n '); + } + + process$3.stdout.write(base.color('pending', base.symbols.comma)); + }); + runner.on(EVENT_TEST_PASS, function (test) { + if (++n % width === 0) { + process$3.stdout.write('\n '); + } + + if (test.speed === 'slow') { + process$3.stdout.write(base.color('bright yellow', base.symbols.dot)); + } else { + process$3.stdout.write(base.color(test.speed, base.symbols.dot)); + } + }); + runner.on(EVENT_TEST_FAIL, function () { + if (++n % width === 0) { + process$3.stdout.write('\n '); + } + + process$3.stdout.write(base.color('fail', base.symbols.bang)); + }); + runner.once(EVENT_RUN_END, function () { + process$3.stdout.write('\n'); + self.epilogue(); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Dot, base); + Dot.description = 'dot matrix representation'; + }); - function getBrowserWindowSize() { - if ('innerHeight' in commonjsGlobal) { - return [commonjsGlobal.innerHeight, commonjsGlobal.innerWidth]; - } // In a Web Worker, the DOM Window is not available. + var doc = createCommonjsModule(function (module, exports) { + /** + * @module Doc + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; + var EVENT_SUITE_END = constants.EVENT_SUITE_END; + /** + * Expose `Doc`. + */ + + module.exports = Doc; + /** + * Constructs a new `Doc` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Doc(runner, options) { + base.call(this, runner, options); + var indents = 2; + + function indent() { + return Array(indents).join(' '); + } + + runner.on(EVENT_SUITE_BEGIN, function (suite) { + if (suite.root) { + return; + } + + ++indents; + base.consoleLog('%s<section class="suite">', indent()); + ++indents; + base.consoleLog('%s<h1>%s</h1>', indent(), utils.escape(suite.title)); + base.consoleLog('%s<dl>', indent()); + }); + runner.on(EVENT_SUITE_END, function (suite) { + if (suite.root) { + return; + } + + base.consoleLog('%s</dl>', indent()); + --indents; + base.consoleLog('%s</section>', indent()); + --indents; + }); + runner.on(EVENT_TEST_PASS, function (test) { + base.consoleLog('%s <dt>%s</dt>', indent(), utils.escape(test.title)); + base.consoleLog('%s <dt>%s</dt>', indent(), utils.escape(test.file)); + var code = utils.escape(utils.clean(test.body)); + base.consoleLog('%s <dd><pre><code>%s</code></pre></dd>', indent(), code); + }); + runner.on(EVENT_TEST_FAIL, function (test, err) { + base.consoleLog('%s <dt class="error">%s</dt>', indent(), utils.escape(test.title)); + base.consoleLog('%s <dt class="error">%s</dt>', indent(), utils.escape(test.file)); + var code = utils.escape(utils.clean(test.body)); + base.consoleLog('%s <dd class="error"><pre><code>%s</code></pre></dd>', indent(), code); + base.consoleLog('%s <dd class="error">%s</dd>', indent(), utils.escape(err)); + }); + } + + Doc.description = 'HTML documentation'; + }); + var tap = createCommonjsModule(function (module, exports) { + /** + * @module TAP + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var EVENT_TEST_END = constants.EVENT_TEST_END; + var inherits = utils.inherits; + var sprintf = util.format; + /** + * Expose `TAP`. + */ + + module.exports = TAP; + /** + * Constructs a new `TAP` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function TAP(runner, options) { + base.call(this, runner, options); + var self = this; + var n = 1; + var tapVersion = '12'; + + if (options && options.reporterOptions) { + if (options.reporterOptions.tapVersion) { + tapVersion = options.reporterOptions.tapVersion.toString(); + } + } + + this._producer = createProducer(tapVersion); + runner.once(EVENT_RUN_BEGIN, function () { + self._producer.writeVersion(); + }); + runner.on(EVENT_TEST_END, function () { + ++n; + }); + runner.on(EVENT_TEST_PENDING, function (test) { + self._producer.writePending(n, test); + }); + runner.on(EVENT_TEST_PASS, function (test) { + self._producer.writePass(n, test); + }); + runner.on(EVENT_TEST_FAIL, function (test, err) { + self._producer.writeFail(n, test, err); + }); + runner.once(EVENT_RUN_END, function () { + self._producer.writeEpilogue(runner.stats); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(TAP, base); + /** + * Returns a TAP-safe title of `test`. + * + * @private + * @param {Test} test - Test instance. + * @return {String} title with any hash character removed + */ + + function title(test) { + return test.fullTitle().replace(/#/g, ''); + } + /** + * Writes newline-terminated formatted string to reporter output stream. + * + * @private + * @param {string} format - `printf`-like format string + * @param {...*} [varArgs] - Format string arguments + */ + + + function println(format, varArgs) { + var vargs = Array.from(arguments); + vargs[0] += '\n'; + process$3.stdout.write(sprintf.apply(null, vargs)); + } + /** + * Returns a `tapVersion`-appropriate TAP producer instance, if possible. + * + * @private + * @param {string} tapVersion - Version of TAP specification to produce. + * @returns {TAPProducer} specification-appropriate instance + * @throws {Error} if specification version has no associated producer. + */ + + + function createProducer(tapVersion) { + var producers = { + '12': new TAP12Producer(), + '13': new TAP13Producer() + }; + var producer = producers[tapVersion]; + + if (!producer) { + throw new Error('invalid or unsupported TAP version: ' + JSON.stringify(tapVersion)); + } + + return producer; + } + /** + * @summary + * Constructs a new TAPProducer. + * + * @description + * <em>Only</em> to be used as an abstract base class. + * + * @private + * @constructor + */ + + + function TAPProducer() {} + /** + * Writes the TAP version to reporter output stream. + * + * @abstract + */ + + + TAPProducer.prototype.writeVersion = function () {}; + /** + * Writes the plan to reporter output stream. + * + * @abstract + * @param {number} ntests - Number of tests that are planned to run. + */ + + + TAPProducer.prototype.writePlan = function (ntests) { + println('%d..%d', 1, ntests); + }; + /** + * Writes that test passed to reporter output stream. + * + * @abstract + * @param {number} n - Index of test that passed. + * @param {Test} test - Instance containing test information. + */ + + + TAPProducer.prototype.writePass = function (n, test) { + println('ok %d %s', n, title(test)); + }; + /** + * Writes that test was skipped to reporter output stream. + * + * @abstract + * @param {number} n - Index of test that was skipped. + * @param {Test} test - Instance containing test information. + */ + + + TAPProducer.prototype.writePending = function (n, test) { + println('ok %d %s # SKIP -', n, title(test)); + }; + /** + * Writes that test failed to reporter output stream. + * + * @abstract + * @param {number} n - Index of test that failed. + * @param {Test} test - Instance containing test information. + * @param {Error} err - Reason the test failed. + */ + + + TAPProducer.prototype.writeFail = function (n, test, err) { + println('not ok %d %s', n, title(test)); + }; + /** + * Writes the summary epilogue to reporter output stream. + * + * @abstract + * @param {Object} stats - Object containing run statistics. + */ + + + TAPProducer.prototype.writeEpilogue = function (stats) { + // :TBD: Why is this not counting pending tests? + println('# tests ' + (stats.passes + stats.failures)); + println('# pass ' + stats.passes); // :TBD: Why are we not showing pending results? + + println('# fail ' + stats.failures); + this.writePlan(stats.passes + stats.failures + stats.pending); + }; + /** + * @summary + * Constructs a new TAP12Producer. + * + * @description + * Produces output conforming to the TAP12 specification. + * + * @private + * @constructor + * @extends TAPProducer + * @see {@link https://testanything.org/tap-specification.html|Specification} + */ + + + function TAP12Producer() { + /** + * Writes that test failed to reporter output stream, with error formatting. + * @override + */ + this.writeFail = function (n, test, err) { + TAPProducer.prototype.writeFail.call(this, n, test, err); + + if (err.message) { + println(err.message.replace(/^/gm, ' ')); + } + + if (err.stack) { + println(err.stack.replace(/^/gm, ' ')); + } + }; + } + /** + * Inherit from `TAPProducer.prototype`. + */ + + + inherits(TAP12Producer, TAPProducer); + /** + * @summary + * Constructs a new TAP13Producer. + * + * @description + * Produces output conforming to the TAP13 specification. + * + * @private + * @constructor + * @extends TAPProducer + * @see {@link https://testanything.org/tap-version-13-specification.html|Specification} + */ + + function TAP13Producer() { + /** + * Writes the TAP version to reporter output stream. + * @override + */ + this.writeVersion = function () { + println('TAP version 13'); + }; + /** + * Writes that test failed to reporter output stream, with error formatting. + * @override + */ + + + this.writeFail = function (n, test, err) { + TAPProducer.prototype.writeFail.call(this, n, test, err); + var emitYamlBlock = err.message != null || err.stack != null; + + if (emitYamlBlock) { + println(indent(1) + '---'); + + if (err.message) { + println(indent(2) + 'message: |-'); + println(err.message.replace(/^/gm, indent(3))); + } + + if (err.stack) { + println(indent(2) + 'stack: |-'); + println(err.stack.replace(/^/gm, indent(3))); + } + + println(indent(1) + '...'); + } + }; + + function indent(level) { + return Array(level + 1).join(' '); + } + } + /** + * Inherit from `TAPProducer.prototype`. + */ + + + inherits(TAP13Producer, TAPProducer); + TAP.description = 'TAP-compatible output'; + }); - return [640, 480]; - } - /** - * Expose `Base`. - */ + var json = createCommonjsModule(function (module, exports) { + /** + * @module JSON + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_TEST_END = constants.EVENT_TEST_END; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + /** + * Expose `JSON`. + */ + + module.exports = JSONReporter; + /** + * Constructs a new `JSON` reporter instance. + * + * @public + * @class JSON + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function JSONReporter(runner, options) { + base.call(this, runner, options); + var self = this; + var tests = []; + var pending = []; + var failures = []; + var passes = []; + runner.on(EVENT_TEST_END, function (test) { + tests.push(test); + }); + runner.on(EVENT_TEST_PASS, function (test) { + passes.push(test); + }); + runner.on(EVENT_TEST_FAIL, function (test) { + failures.push(test); + }); + runner.on(EVENT_TEST_PENDING, function (test) { + pending.push(test); + }); + runner.once(EVENT_RUN_END, function () { + var obj = { + stats: self.stats, + tests: tests.map(clean), + pending: pending.map(clean), + failures: failures.map(clean), + passes: passes.map(clean) + }; + runner.testResults = obj; + process$3.stdout.write(JSON.stringify(obj, null, 2)); + }); + } + /** + * Return a plain-object representation of `test` + * free of cyclic properties etc. + * + * @private + * @param {Object} test + * @return {Object} + */ + + + function clean(test) { + var err = test.err || {}; + + if (err instanceof Error) { + err = errorJSON(err); + } + + return { + title: test.title, + fullTitle: test.fullTitle(), + file: test.file, + duration: test.duration, + currentRetry: test.currentRetry(), + speed: test.speed, + err: cleanCycles(err) + }; + } + /** + * Replaces any circular references inside `obj` with '[object Object]' + * + * @private + * @param {Object} obj + * @return {Object} + */ + + + function cleanCycles(obj) { + var cache = []; + return JSON.parse(JSON.stringify(obj, function (key, value) { + if (_typeof(value) === 'object' && value !== null) { + if (cache.indexOf(value) !== -1) { + // Instead of going in a circle, we'll print [object Object] + return '' + value; + } + + cache.push(value); + } + + return value; + })); + } + /** + * Transform an Error object into a JSON object. + * + * @private + * @param {Error} err + * @return {Object} + */ + + + function errorJSON(err) { + var res = {}; + Object.getOwnPropertyNames(err).forEach(function (key) { + res[key] = err[key]; + }, err); + return res; + } + + JSONReporter.description = 'single JSON object'; + }); + // `thisNumberValue` abstract operation + // https://tc39.es/ecma262/#sec-thisnumbervalue + var thisNumberValue = function (value) { + if (typeof value != 'number' && classofRaw(value) != 'Number') { + throw TypeError('Incorrect invocation'); + } + return +value; + }; - exports = module.exports = Base; - /** - * Check if both stdio streams are associated with a tty. - */ + // `String.prototype.repeat` method implementation + // https://tc39.es/ecma262/#sec-string.prototype.repeat + var stringRepeat = function repeat(count) { + var str = String(requireObjectCoercible(this)); + var result = ''; + var n = toInteger(count); + if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions'); + for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; + return result; + }; - var isatty = isBrowser || process$3.stdout.isTTY && process$3.stderr.isTTY; - /** - * Save log references to avoid tests interfering (see GH-3604). - */ + var nativeToFixed = 1.0.toFixed; + var floor = Math.floor; - var consoleLog = console.log; - /** - * Enable coloring by default, except in the browser interface. - */ + var pow = function (x, n, acc) { + return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); + }; - exports.useColors = !isBrowser && (require$$11.stdout || process$3.env.MOCHA_COLORS !== undefined); - /** - * Inline diffs instead of +/- - */ + var log = function (x) { + var n = 0; + var x2 = x; + while (x2 >= 4096) { + n += 12; + x2 /= 4096; + } + while (x2 >= 2) { + n += 1; + x2 /= 2; + } return n; + }; - exports.inlineDiffs = false; - /** - * Default color map. - */ + var multiply = function (data, n, c) { + var index = -1; + var c2 = c; + while (++index < 6) { + c2 += n * data[index]; + data[index] = c2 % 1e7; + c2 = floor(c2 / 1e7); + } + }; - exports.colors = { - pass: 90, - fail: 31, - 'bright pass': 92, - 'bright fail': 91, - 'bright yellow': 93, - pending: 36, - suite: 0, - 'error title': 0, - 'error message': 31, - 'error stack': 90, - checkmark: 32, - fast: 90, - medium: 33, - slow: 31, - green: 32, - light: 90, - 'diff gutter': 90, - 'diff added': 32, - 'diff removed': 31, - 'diff added inline': '30;42', - 'diff removed inline': '30;41' - }; - /** - * Default symbol map. - */ - - exports.symbols = { - ok: browser$1.success, - err: browser$1.err, - dot: '.', - comma: ',', - bang: '!' - }; - /** - * Color `str` with the given `type`, - * allowing colors to be disabled, - * as well as user-defined color - * schemes. - * - * @private - * @param {string} type - * @param {string} str - * @return {string} - */ - - var color = exports.color = function (type, str) { - if (!exports.useColors) { - return String(str); - } - - return "\x1B[" + exports.colors[type] + 'm' + str + "\x1B[0m"; - }; - /** - * Expose term window size, with some defaults for when stderr is not a tty. - */ - - - exports.window = { - width: 75 - }; - - if (isatty) { - if (isBrowser) { - exports.window.width = getBrowserWindowSize()[1]; - } else { - exports.window.width = process$3.stdout.getWindowSize(1)[0]; - } - } - /** - * Expose some basic cursor interactions that are common among reporters. - */ - - - exports.cursor = { - hide: function hide() { - isatty && process$3.stdout.write("\x1B[?25l"); - }, - show: function show() { - isatty && process$3.stdout.write("\x1B[?25h"); - }, - deleteLine: function deleteLine() { - isatty && process$3.stdout.write("\x1B[2K"); - }, - beginningOfLine: function beginningOfLine() { - isatty && process$3.stdout.write("\x1B[0G"); - }, - CR: function CR() { - if (isatty) { - exports.cursor.deleteLine(); - exports.cursor.beginningOfLine(); - } else { - process$3.stdout.write('\r'); - } - } - }; - - var showDiff = exports.showDiff = function (err) { - return err && err.showDiff !== false && sameType(err.actual, err.expected) && err.expected !== undefined; - }; - - function stringifyDiffObjs(err) { - if (!utils.isString(err.actual) || !utils.isString(err.expected)) { - err.actual = utils.stringify(err.actual); - err.expected = utils.stringify(err.expected); - } - } - /** - * Returns a diff between 2 strings with coloured ANSI output. - * - * @description - * The diff will be either inline or unified dependent on the value - * of `Base.inlineDiff`. - * - * @param {string} actual - * @param {string} expected - * @return {string} Diff - */ - - - var generateDiff = exports.generateDiff = function (actual, expected) { - try { - var diffSize = 2048; - - if (actual.length > diffSize) { - actual = actual.substring(0, diffSize) + ' ... Lines skipped'; - } - - if (expected.length > diffSize) { - expected = expected.substring(0, diffSize) + ' ... Lines skipped'; - } - - return exports.inlineDiffs ? inlineDiff(actual, expected) : unifiedDiff(actual, expected); - } catch (err) { - var msg = '\n ' + color('diff added', '+ expected') + ' ' + color('diff removed', '- actual: failed to generate Mocha diff') + '\n'; - return msg; - } - }; - /** - * Outputs the given `failures` as a list. - * - * @public - * @memberof Mocha.reporters.Base - * @variation 1 - * @param {Object[]} failures - Each is Test instance with corresponding - * Error property - */ - - - exports.list = function (failures) { - var multipleErr, multipleTest; - Base.consoleLog(); - failures.forEach(function (test, i) { - // format - var fmt = color('error title', ' %s) %s:\n') + color('error message', ' %s') + color('error stack', '\n%s\n'); // msg - - var msg; - var err; - - if (test.err && test.err.multiple) { - if (multipleTest !== test) { - multipleTest = test; - multipleErr = [test.err].concat(test.err.multiple); - } - - err = multipleErr.shift(); - } else { - err = test.err; - } - - var message; - - if (typeof err.inspect === 'function') { - message = err.inspect() + ''; - } else if (err.message && typeof err.message.toString === 'function') { - message = err.message + ''; - } else { - message = ''; - } - - var stack = err.stack || message; - var index = message ? stack.indexOf(message) : -1; - - if (index === -1) { - msg = message; - } else { - index += message.length; - msg = stack.slice(0, index); // remove msg from stack - - stack = stack.slice(index + 1); - } // uncaught - - - if (err.uncaught) { - msg = 'Uncaught ' + msg; - } // explicitly show diff - - - if (!exports.hideDiff && showDiff(err)) { - stringifyDiffObjs(err); - fmt = color('error title', ' %s) %s:\n%s') + color('error stack', '\n%s\n'); - var match = message.match(/^([^:]+): expected/); - msg = '\n ' + color('error message', match ? match[1] : msg); - msg += generateDiff(err.actual, err.expected); - } // indent stack trace - - - stack = stack.replace(/^/gm, ' '); // indented test title - - var testTitle = ''; - test.titlePath().forEach(function (str, index) { - if (index !== 0) { - testTitle += '\n '; - } - - for (var i = 0; i < index; i++) { - testTitle += ' '; - } - - testTitle += str; - }); - Base.consoleLog(fmt, i + 1, testTitle, msg, stack); - }); - }; - /** - * Constructs a new `Base` reporter instance. - * - * @description - * All other reporters generally inherit from this reporter. - * - * @public - * @class - * @memberof Mocha.reporters - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - - function Base(runner, options) { - var failures = this.failures = []; - - if (!runner) { - throw new TypeError('Missing runner argument'); - } - - this.options = options || {}; - this.runner = runner; - this.stats = runner.stats; // assigned so Reporters keep a closer reference - - runner.on(EVENT_TEST_PASS, function (test) { - if (test.duration > test.slow()) { - test.speed = 'slow'; - } else if (test.duration > test.slow() / 2) { - test.speed = 'medium'; - } else { - test.speed = 'fast'; - } - }); - runner.on(EVENT_TEST_FAIL, function (test, err) { - if (showDiff(err)) { - stringifyDiffObjs(err); - } // more than one error per test - - - if (test.err && err instanceof Error) { - test.err.multiple = (test.err.multiple || []).concat(err); - } else { - test.err = err; - } - - failures.push(test); - }); - } - /** - * Outputs common epilogue used by many of the bundled reporters. - * - * @public - * @memberof Mocha.reporters - */ - - - Base.prototype.epilogue = function () { - var stats = this.stats; - var fmt; - Base.consoleLog(); // passes - - fmt = color('bright pass', ' ') + color('green', ' %d passing') + color('light', ' (%s)'); - Base.consoleLog(fmt, stats.passes || 0, ms$1(stats.duration)); // pending - - if (stats.pending) { - fmt = color('pending', ' ') + color('pending', ' %d pending'); - Base.consoleLog(fmt, stats.pending); - } // failures - - - if (stats.failures) { - fmt = color('fail', ' %d failing'); - Base.consoleLog(fmt, stats.failures); - Base.list(this.failures); - Base.consoleLog(); - } - - Base.consoleLog(); - }; - /** - * Pads the given `str` to `len`. - * - * @private - * @param {string} str - * @param {string} len - * @return {string} - */ - - - function pad(str, len) { - str = String(str); - return Array(len - str.length + 1).join(' ') + str; - } - /** - * Returns inline diff between 2 strings with coloured ANSI output. - * - * @private - * @param {String} actual - * @param {String} expected - * @return {string} Diff - */ - - - function inlineDiff(actual, expected) { - var msg = errorDiff(actual, expected); // linenos - - var lines = msg.split('\n'); - - if (lines.length > 4) { - var width = String(lines.length).length; - msg = lines.map(function (str, i) { - return pad(++i, width) + ' |' + ' ' + str; - }).join('\n'); - } // legend - - - msg = '\n' + color('diff removed inline', 'actual') + ' ' + color('diff added inline', 'expected') + '\n\n' + msg + '\n'; // indent - - msg = msg.replace(/^/gm, ' '); - return msg; - } - /** - * Returns unified diff between two strings with coloured ANSI output. - * - * @private - * @param {String} actual - * @param {String} expected - * @return {string} The diff. - */ - - - function unifiedDiff(actual, expected) { - var indent = ' '; - - function cleanUp(line) { - if (line[0] === '+') { - return indent + colorLines('diff added', line); - } - - if (line[0] === '-') { - return indent + colorLines('diff removed', line); - } - - if (line.match(/@@/)) { - return '--'; - } - - if (line.match(/\\ No newline/)) { - return null; - } - - return indent + line; - } - - function notBlank(line) { - return typeof line !== 'undefined' && line !== null; - } - - var msg = diff$1.createPatch('string', actual, expected); - var lines = msg.split('\n').splice(5); - return '\n ' + colorLines('diff added', '+ expected') + ' ' + colorLines('diff removed', '- actual') + '\n\n' + lines.map(cleanUp).filter(notBlank).join('\n'); - } - /** - * Returns character diff for `err`. - * - * @private - * @param {String} actual - * @param {String} expected - * @return {string} the diff - */ - - - function errorDiff(actual, expected) { - return diff$1.diffWordsWithSpace(actual, expected).map(function (str) { - if (str.added) { - return colorLines('diff added inline', str.value); - } - - if (str.removed) { - return colorLines('diff removed inline', str.value); - } - - return str.value; - }).join(''); - } - /** - * Colors lines for `str`, using the color `name`. - * - * @private - * @param {string} name - * @param {string} str - * @return {string} - */ - - - function colorLines(name, str) { - return str.split('\n').map(function (str) { - return color(name, str); - }).join('\n'); - } - /** - * Object#toString reference. - */ - - - var objToString = Object.prototype.toString; - /** - * Checks that a / b have the same type. - * - * @private - * @param {Object} a - * @param {Object} b - * @return {boolean} - */ - - function sameType(a, b) { - return objToString.call(a) === objToString.call(b); - } - - Base.consoleLog = consoleLog; - Base["abstract"] = true; - }); - - var dot = createCommonjsModule(function (module, exports) { - /** - * @module Dot - */ - - /** - * Module dependencies. - */ - - var inherits = utils.inherits; - var constants = runner.constants; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; - var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; - var EVENT_RUN_END = constants.EVENT_RUN_END; - /** - * Expose `Dot`. - */ - - module.exports = Dot; - /** - * Constructs a new `Dot` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function Dot(runner, options) { - base.call(this, runner, options); - var self = this; - var width = base.window.width * 0.75 | 0; - var n = -1; - runner.on(EVENT_RUN_BEGIN, function () { - process$3.stdout.write('\n'); - }); - runner.on(EVENT_TEST_PENDING, function () { - if (++n % width === 0) { - process$3.stdout.write('\n '); - } - - process$3.stdout.write(base.color('pending', base.symbols.comma)); - }); - runner.on(EVENT_TEST_PASS, function (test) { - if (++n % width === 0) { - process$3.stdout.write('\n '); - } - - if (test.speed === 'slow') { - process$3.stdout.write(base.color('bright yellow', base.symbols.dot)); - } else { - process$3.stdout.write(base.color(test.speed, base.symbols.dot)); - } - }); - runner.on(EVENT_TEST_FAIL, function () { - if (++n % width === 0) { - process$3.stdout.write('\n '); - } - - process$3.stdout.write(base.color('fail', base.symbols.bang)); - }); - runner.once(EVENT_RUN_END, function () { - process$3.stdout.write('\n'); - self.epilogue(); - }); - } - /** - * Inherit from `Base.prototype`. - */ - - - inherits(Dot, base); - Dot.description = 'dot matrix representation'; - }); - - var doc = createCommonjsModule(function (module, exports) { - /** - * @module Doc - */ - - /** - * Module dependencies. - */ - - var constants = runner.constants; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; - var EVENT_SUITE_END = constants.EVENT_SUITE_END; - /** - * Expose `Doc`. - */ - - module.exports = Doc; - /** - * Constructs a new `Doc` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function Doc(runner, options) { - base.call(this, runner, options); - var indents = 2; - - function indent() { - return Array(indents).join(' '); - } - - runner.on(EVENT_SUITE_BEGIN, function (suite) { - if (suite.root) { - return; - } - - ++indents; - base.consoleLog('%s<section class="suite">', indent()); - ++indents; - base.consoleLog('%s<h1>%s</h1>', indent(), utils.escape(suite.title)); - base.consoleLog('%s<dl>', indent()); - }); - runner.on(EVENT_SUITE_END, function (suite) { - if (suite.root) { - return; - } - - base.consoleLog('%s</dl>', indent()); - --indents; - base.consoleLog('%s</section>', indent()); - --indents; - }); - runner.on(EVENT_TEST_PASS, function (test) { - base.consoleLog('%s <dt>%s</dt>', indent(), utils.escape(test.title)); - base.consoleLog('%s <dt>%s</dt>', indent(), utils.escape(test.file)); - var code = utils.escape(utils.clean(test.body)); - base.consoleLog('%s <dd><pre><code>%s</code></pre></dd>', indent(), code); - }); - runner.on(EVENT_TEST_FAIL, function (test, err) { - base.consoleLog('%s <dt class="error">%s</dt>', indent(), utils.escape(test.title)); - base.consoleLog('%s <dt class="error">%s</dt>', indent(), utils.escape(test.file)); - var code = utils.escape(utils.clean(test.body)); - base.consoleLog('%s <dd class="error"><pre><code>%s</code></pre></dd>', indent(), code); - base.consoleLog('%s <dd class="error">%s</dd>', indent(), utils.escape(err)); - }); - } - - Doc.description = 'HTML documentation'; - }); - - var tap = createCommonjsModule(function (module, exports) { - /** - * @module TAP - */ - - /** - * Module dependencies. - */ - - var constants = runner.constants; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; - var EVENT_TEST_END = constants.EVENT_TEST_END; - var inherits = utils.inherits; - var sprintf = util.format; - /** - * Expose `TAP`. - */ - - module.exports = TAP; - /** - * Constructs a new `TAP` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function TAP(runner, options) { - base.call(this, runner, options); - var self = this; - var n = 1; - var tapVersion = '12'; - - if (options && options.reporterOptions) { - if (options.reporterOptions.tapVersion) { - tapVersion = options.reporterOptions.tapVersion.toString(); - } - } - - this._producer = createProducer(tapVersion); - runner.once(EVENT_RUN_BEGIN, function () { - self._producer.writeVersion(); - }); - runner.on(EVENT_TEST_END, function () { - ++n; - }); - runner.on(EVENT_TEST_PENDING, function (test) { - self._producer.writePending(n, test); - }); - runner.on(EVENT_TEST_PASS, function (test) { - self._producer.writePass(n, test); - }); - runner.on(EVENT_TEST_FAIL, function (test, err) { - self._producer.writeFail(n, test, err); - }); - runner.once(EVENT_RUN_END, function () { - self._producer.writeEpilogue(runner.stats); - }); - } - /** - * Inherit from `Base.prototype`. - */ - - - inherits(TAP, base); - /** - * Returns a TAP-safe title of `test`. - * - * @private - * @param {Test} test - Test instance. - * @return {String} title with any hash character removed - */ - - function title(test) { - return test.fullTitle().replace(/#/g, ''); - } - /** - * Writes newline-terminated formatted string to reporter output stream. - * - * @private - * @param {string} format - `printf`-like format string - * @param {...*} [varArgs] - Format string arguments - */ - - - function println(format, varArgs) { - var vargs = Array.from(arguments); - vargs[0] += '\n'; - process$3.stdout.write(sprintf.apply(null, vargs)); - } - /** - * Returns a `tapVersion`-appropriate TAP producer instance, if possible. - * - * @private - * @param {string} tapVersion - Version of TAP specification to produce. - * @returns {TAPProducer} specification-appropriate instance - * @throws {Error} if specification version has no associated producer. - */ - - - function createProducer(tapVersion) { - var producers = { - '12': new TAP12Producer(), - '13': new TAP13Producer() - }; - var producer = producers[tapVersion]; - - if (!producer) { - throw new Error('invalid or unsupported TAP version: ' + JSON.stringify(tapVersion)); - } - - return producer; - } - /** - * @summary - * Constructs a new TAPProducer. - * - * @description - * <em>Only</em> to be used as an abstract base class. - * - * @private - * @constructor - */ - - - function TAPProducer() {} - /** - * Writes the TAP version to reporter output stream. - * - * @abstract - */ - - - TAPProducer.prototype.writeVersion = function () {}; - /** - * Writes the plan to reporter output stream. - * - * @abstract - * @param {number} ntests - Number of tests that are planned to run. - */ - - - TAPProducer.prototype.writePlan = function (ntests) { - println('%d..%d', 1, ntests); - }; - /** - * Writes that test passed to reporter output stream. - * - * @abstract - * @param {number} n - Index of test that passed. - * @param {Test} test - Instance containing test information. - */ - - - TAPProducer.prototype.writePass = function (n, test) { - println('ok %d %s', n, title(test)); - }; - /** - * Writes that test was skipped to reporter output stream. - * - * @abstract - * @param {number} n - Index of test that was skipped. - * @param {Test} test - Instance containing test information. - */ - - - TAPProducer.prototype.writePending = function (n, test) { - println('ok %d %s # SKIP -', n, title(test)); - }; - /** - * Writes that test failed to reporter output stream. - * - * @abstract - * @param {number} n - Index of test that failed. - * @param {Test} test - Instance containing test information. - * @param {Error} err - Reason the test failed. - */ - - - TAPProducer.prototype.writeFail = function (n, test, err) { - println('not ok %d %s', n, title(test)); - }; - /** - * Writes the summary epilogue to reporter output stream. - * - * @abstract - * @param {Object} stats - Object containing run statistics. - */ - - - TAPProducer.prototype.writeEpilogue = function (stats) { - // :TBD: Why is this not counting pending tests? - println('# tests ' + (stats.passes + stats.failures)); - println('# pass ' + stats.passes); // :TBD: Why are we not showing pending results? - - println('# fail ' + stats.failures); - this.writePlan(stats.passes + stats.failures + stats.pending); - }; - /** - * @summary - * Constructs a new TAP12Producer. - * - * @description - * Produces output conforming to the TAP12 specification. - * - * @private - * @constructor - * @extends TAPProducer - * @see {@link https://testanything.org/tap-specification.html|Specification} - */ - - - function TAP12Producer() { - /** - * Writes that test failed to reporter output stream, with error formatting. - * @override - */ - this.writeFail = function (n, test, err) { - TAPProducer.prototype.writeFail.call(this, n, test, err); - - if (err.message) { - println(err.message.replace(/^/gm, ' ')); - } - - if (err.stack) { - println(err.stack.replace(/^/gm, ' ')); - } - }; - } - /** - * Inherit from `TAPProducer.prototype`. - */ - - - inherits(TAP12Producer, TAPProducer); - /** - * @summary - * Constructs a new TAP13Producer. - * - * @description - * Produces output conforming to the TAP13 specification. - * - * @private - * @constructor - * @extends TAPProducer - * @see {@link https://testanything.org/tap-version-13-specification.html|Specification} - */ - - function TAP13Producer() { - /** - * Writes the TAP version to reporter output stream. - * @override - */ - this.writeVersion = function () { - println('TAP version 13'); - }; - /** - * Writes that test failed to reporter output stream, with error formatting. - * @override - */ - - - this.writeFail = function (n, test, err) { - TAPProducer.prototype.writeFail.call(this, n, test, err); - var emitYamlBlock = err.message != null || err.stack != null; - - if (emitYamlBlock) { - println(indent(1) + '---'); - - if (err.message) { - println(indent(2) + 'message: |-'); - println(err.message.replace(/^/gm, indent(3))); - } - - if (err.stack) { - println(indent(2) + 'stack: |-'); - println(err.stack.replace(/^/gm, indent(3))); - } - - println(indent(1) + '...'); - } - }; - - function indent(level) { - return Array(level + 1).join(' '); - } - } - /** - * Inherit from `TAPProducer.prototype`. - */ - - - inherits(TAP13Producer, TAPProducer); - TAP.description = 'TAP-compatible output'; - }); - - var json = createCommonjsModule(function (module, exports) { - /** - * @module JSON - */ - - /** - * Module dependencies. - */ - - var constants = runner.constants; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var EVENT_TEST_END = constants.EVENT_TEST_END; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; - /** - * Expose `JSON`. - */ - - module.exports = JSONReporter; - /** - * Constructs a new `JSON` reporter instance. - * - * @public - * @class JSON - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function JSONReporter(runner, options) { - base.call(this, runner, options); - var self = this; - var tests = []; - var pending = []; - var failures = []; - var passes = []; - runner.on(EVENT_TEST_END, function (test) { - tests.push(test); - }); - runner.on(EVENT_TEST_PASS, function (test) { - passes.push(test); - }); - runner.on(EVENT_TEST_FAIL, function (test) { - failures.push(test); - }); - runner.on(EVENT_TEST_PENDING, function (test) { - pending.push(test); - }); - runner.once(EVENT_RUN_END, function () { - var obj = { - stats: self.stats, - tests: tests.map(clean), - pending: pending.map(clean), - failures: failures.map(clean), - passes: passes.map(clean) - }; - runner.testResults = obj; - process$3.stdout.write(JSON.stringify(obj, null, 2)); - }); - } - /** - * Return a plain-object representation of `test` - * free of cyclic properties etc. - * - * @private - * @param {Object} test - * @return {Object} - */ - - - function clean(test) { - var err = test.err || {}; - - if (err instanceof Error) { - err = errorJSON(err); - } - - return { - title: test.title, - fullTitle: test.fullTitle(), - file: test.file, - duration: test.duration, - currentRetry: test.currentRetry(), - speed: test.speed, - err: cleanCycles(err) - }; - } - /** - * Replaces any circular references inside `obj` with '[object Object]' - * - * @private - * @param {Object} obj - * @return {Object} - */ - - - function cleanCycles(obj) { - var cache = []; - return JSON.parse(JSON.stringify(obj, function (key, value) { - if (_typeof(value) === 'object' && value !== null) { - if (cache.indexOf(value) !== -1) { - // Instead of going in a circle, we'll print [object Object] - return '' + value; - } - - cache.push(value); - } - - return value; - })); - } - /** - * Transform an Error object into a JSON object. - * - * @private - * @param {Error} err - * @return {Object} - */ - - - function errorJSON(err) { - var res = {}; - Object.getOwnPropertyNames(err).forEach(function (key) { - res[key] = err[key]; - }, err); - return res; - } - - JSONReporter.description = 'single JSON object'; - }); - - // `thisNumberValue` abstract operation - // https://tc39.es/ecma262/#sec-thisnumbervalue - var thisNumberValue = function (value) { - if (typeof value != 'number' && classofRaw(value) != 'Number') { - throw TypeError('Incorrect invocation'); - } - return +value; - }; - - // `String.prototype.repeat` method implementation - // https://tc39.es/ecma262/#sec-string.prototype.repeat - var stringRepeat = function repeat(count) { - var str = String(requireObjectCoercible(this)); - var result = ''; - var n = toInteger(count); - if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions'); - for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; - return result; - }; - - var nativeToFixed = 1.0.toFixed; - var floor = Math.floor; - - var pow = function (x, n, acc) { - return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); - }; - - var log = function (x) { - var n = 0; - var x2 = x; - while (x2 >= 4096) { - n += 12; - x2 /= 4096; - } - while (x2 >= 2) { - n += 1; - x2 /= 2; - } return n; - }; - - var multiply = function (data, n, c) { - var index = -1; - var c2 = c; - while (++index < 6) { - c2 += n * data[index]; - data[index] = c2 % 1e7; - c2 = floor(c2 / 1e7); - } - }; - - var divide = function (data, n) { - var index = 6; - var c = 0; - while (--index >= 0) { - c += data[index]; - data[index] = floor(c / n); - c = (c % n) * 1e7; - } - }; + var divide = function (data, n) { + var index = 6; + var c = 0; + while (--index >= 0) { + c += data[index]; + data[index] = floor(c / n); + c = (c % n) * 1e7; + } + }; var dataToString = function (data) { - var index = 6; - var s = ''; - while (--index >= 0) { - if (s !== '' || index === 0 || data[index] !== 0) { - var t = String(data[index]); - s = s === '' ? t : s + stringRepeat.call('0', 7 - t.length) + t; - } - } return s; + var index = 6; + var s = ''; + while (--index >= 0) { + if (s !== '' || index === 0 || data[index] !== 0) { + var t = String(data[index]); + s = s === '' ? t : s + stringRepeat.call('0', 7 - t.length) + t; + } + } return s; }; var FORCED = nativeToFixed && ( - 0.00008.toFixed(3) !== '0.000' || - 0.9.toFixed(0) !== '1' || - 1.255.toFixed(2) !== '1.25' || - 1000000000000000128.0.toFixed(0) !== '1000000000000000128' + 0.00008.toFixed(3) !== '0.000' || + 0.9.toFixed(0) !== '1' || + 1.255.toFixed(2) !== '1.25' || + 1000000000000000128.0.toFixed(0) !== '1000000000000000128' ) || !fails(function () { - // V8 ~ Android 4.3- - nativeToFixed.call({}); + // V8 ~ Android 4.3- + nativeToFixed.call({}); }); // `Number.prototype.toFixed` method // https://tc39.es/ecma262/#sec-number.prototype.tofixed _export({ target: 'Number', proto: true, forced: FORCED }, { - toFixed: function toFixed(fractionDigits) { - var number = thisNumberValue(this); - var fractDigits = toInteger(fractionDigits); - var data = [0, 0, 0, 0, 0, 0]; - var sign = ''; - var result = '0'; - var e, z, j, k; - - if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits'); - // eslint-disable-next-line no-self-compare -- NaN check - if (number != number) return 'NaN'; - if (number <= -1e21 || number >= 1e21) return String(number); - if (number < 0) { - sign = '-'; - number = -number; - } - if (number > 1e-21) { - e = log(number * pow(2, 69, 1)) - 69; - z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1); - z *= 0x10000000000000; - e = 52 - e; - if (e > 0) { - multiply(data, 0, z); - j = fractDigits; - while (j >= 7) { - multiply(data, 1e7, 0); - j -= 7; - } - multiply(data, pow(10, j, 1), 0); - j = e - 1; - while (j >= 23) { - divide(data, 1 << 23); - j -= 23; - } - divide(data, 1 << j); - multiply(data, 1, 1); - divide(data, 2); - result = dataToString(data); - } else { - multiply(data, 0, z); - multiply(data, 1 << -e, 0); - result = dataToString(data) + stringRepeat.call('0', fractDigits); - } - } - if (fractDigits > 0) { - k = result.length; - result = sign + (k <= fractDigits - ? '0.' + stringRepeat.call('0', fractDigits - k) + result - : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits)); - } else { - result = sign + result; - } return result; - } + toFixed: function toFixed(fractionDigits) { + var number = thisNumberValue(this); + var fractDigits = toInteger(fractionDigits); + var data = [0, 0, 0, 0, 0, 0]; + var sign = ''; + var result = '0'; + var e, z, j, k; + + if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits'); + // eslint-disable-next-line no-self-compare -- NaN check + if (number != number) return 'NaN'; + if (number <= -1e21 || number >= 1e21) return String(number); + if (number < 0) { + sign = '-'; + number = -number; + } + if (number > 1e-21) { + e = log(number * pow(2, 69, 1)) - 69; + z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1); + z *= 0x10000000000000; + e = 52 - e; + if (e > 0) { + multiply(data, 0, z); + j = fractDigits; + while (j >= 7) { + multiply(data, 1e7, 0); + j -= 7; + } + multiply(data, pow(10, j, 1), 0); + j = e - 1; + while (j >= 23) { + divide(data, 1 << 23); + j -= 23; + } + divide(data, 1 << j); + multiply(data, 1, 1); + divide(data, 2); + result = dataToString(data); + } else { + multiply(data, 0, z); + multiply(data, 1 << -e, 0); + result = dataToString(data) + stringRepeat.call('0', fractDigits); + } + } + if (fractDigits > 0) { + k = result.length; + result = sign + (k <= fractDigits + ? '0.' + stringRepeat.call('0', fractDigits - k) + result + : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits)); + } else { + result = sign + result; + } return result; + } }); /** @module browser/Progress - */ + */ /** * Expose `Progress`. @@ -25876,10 +25991,10 @@ */ function Progress() { - this.percent = 0; - this.size(0); - this.fontSize(11); - this.font('helvetica, arial, sans-serif'); + this.percent = 0; + this.size(0); + this.fontSize(11); + this.font('helvetica, arial, sans-serif'); } /** * Set progress size to `size`. @@ -25891,8 +26006,8 @@ Progress.prototype.size = function (size) { - this._size = size; - return this; + this._size = size; + return this; }; /** * Set text to `text`. @@ -25904,8 +26019,8 @@ Progress.prototype.text = function (text) { - this._text = text; - return this; + this._text = text; + return this; }; /** * Set font size to `size`. @@ -25917,8 +26032,8 @@ Progress.prototype.fontSize = function (size) { - this._fontSize = size; - return this; + this._fontSize = size; + return this; }; /** * Set font to `family`. @@ -25929,8 +26044,8 @@ Progress.prototype.font = function (family) { - this._font = family; - return this; + this._font = family; + return this; }; /** * Update percentage to `n`. @@ -25941,8 +26056,8 @@ Progress.prototype.update = function (n) { - this.percent = n; - return this; + this.percent = n; + return this; }; /** * Draw on `ctx`. @@ -25953,1483 +26068,1483 @@ Progress.prototype.draw = function (ctx) { - try { - var percent = Math.min(this.percent, 100); - var size = this._size; - var half = size / 2; - var x = half; - var y = half; - var rad = half - 1; - var fontSize = this._fontSize; - ctx.font = fontSize + 'px ' + this._font; - var angle = Math.PI * 2 * (percent / 100); - ctx.clearRect(0, 0, size, size); // outer circle - - ctx.strokeStyle = '#9f9f9f'; - ctx.beginPath(); - ctx.arc(x, y, rad, 0, angle, false); - ctx.stroke(); // inner circle - - ctx.strokeStyle = '#eee'; - ctx.beginPath(); - ctx.arc(x, y, rad - 1, 0, angle, true); - ctx.stroke(); // text - - var text = this._text || (percent | 0) + '%'; - var w = ctx.measureText(text).width; - ctx.fillText(text, x - w / 2 + 1, y + fontSize / 2 - 1); - } catch (ignore) {// don't fail if we can't render progress - } - - return this; + try { + var percent = Math.min(this.percent, 100); + var size = this._size; + var half = size / 2; + var x = half; + var y = half; + var rad = half - 1; + var fontSize = this._fontSize; + ctx.font = fontSize + 'px ' + this._font; + var angle = Math.PI * 2 * (percent / 100); + ctx.clearRect(0, 0, size, size); // outer circle + + ctx.strokeStyle = '#9f9f9f'; + ctx.beginPath(); + ctx.arc(x, y, rad, 0, angle, false); + ctx.stroke(); // inner circle + + ctx.strokeStyle = '#eee'; + ctx.beginPath(); + ctx.arc(x, y, rad - 1, 0, angle, true); + ctx.stroke(); // text + + var text = this._text || (percent | 0) + '%'; + var w = ctx.measureText(text).width; + ctx.fillText(text, x - w / 2 + 1, y + fontSize / 2 - 1); + } catch (ignore) {// don't fail if we can't render progress + } + + return this; }; var html = createCommonjsModule(function (module, exports) { - /* eslint-env browser */ - - /** - * @module HTML - */ - - /** - * Module dependencies. - */ - - var constants = runner.constants; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; - var EVENT_SUITE_END = constants.EVENT_SUITE_END; - var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; - var escape = utils.escape; - /** - * Save timer references to avoid Sinon interfering (see GH-237). - */ - - var Date = commonjsGlobal.Date; - /** - * Expose `HTML`. - */ - - module.exports = HTML; - /** - * Stats template. - */ - - var statsTemplate = '<ul id="mocha-stats">' + '<li class="progress"><canvas width="40" height="40"></canvas></li>' + '<li class="passes"><a href="javascript:void(0);">passes:</a> <em>0</em></li>' + '<li class="failures"><a href="javascript:void(0);">failures:</a> <em>0</em></li>' + '<li class="duration">duration: <em>0</em>s</li>' + '</ul>'; - var playIcon = '‣'; - /** - * Constructs a new `HTML` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function HTML(runner, options) { - base.call(this, runner, options); - var self = this; - var stats = this.stats; - var stat = fragment(statsTemplate); - var items = stat.getElementsByTagName('li'); - var passes = items[1].getElementsByTagName('em')[0]; - var passesLink = items[1].getElementsByTagName('a')[0]; - var failures = items[2].getElementsByTagName('em')[0]; - var failuresLink = items[2].getElementsByTagName('a')[0]; - var duration = items[3].getElementsByTagName('em')[0]; - var canvas = stat.getElementsByTagName('canvas')[0]; - var report = fragment('<ul id="mocha-report"></ul>'); - var stack = [report]; - var progress; - var ctx; - var root = document.getElementById('mocha'); - - if (canvas.getContext) { - var ratio = window.devicePixelRatio || 1; - canvas.style.width = canvas.width; - canvas.style.height = canvas.height; - canvas.width *= ratio; - canvas.height *= ratio; - ctx = canvas.getContext('2d'); - ctx.scale(ratio, ratio); - progress = new progress$1(); - } - - if (!root) { - return error('#mocha div missing, add it to your document'); - } // pass toggle - - - on(passesLink, 'click', function (evt) { - evt.preventDefault(); - unhide(); - var name = /pass/.test(report.className) ? '' : ' pass'; - report.className = report.className.replace(/fail|pass/g, '') + name; - - if (report.className.trim()) { - hideSuitesWithout('test pass'); - } - }); // failure toggle - - on(failuresLink, 'click', function (evt) { - evt.preventDefault(); - unhide(); - var name = /fail/.test(report.className) ? '' : ' fail'; - report.className = report.className.replace(/fail|pass/g, '') + name; - - if (report.className.trim()) { - hideSuitesWithout('test fail'); - } - }); - root.appendChild(stat); - root.appendChild(report); - - if (progress) { - progress.size(40); - } - - runner.on(EVENT_SUITE_BEGIN, function (suite) { - if (suite.root) { - return; - } // suite - - - var url = self.suiteURL(suite); - var el = fragment('<li class="suite"><h1><a href="%s">%s</a></h1></li>', url, escape(suite.title)); // container - - stack[0].appendChild(el); - stack.unshift(document.createElement('ul')); - el.appendChild(stack[0]); - }); - runner.on(EVENT_SUITE_END, function (suite) { - if (suite.root) { - updateStats(); - return; - } - - stack.shift(); - }); - runner.on(EVENT_TEST_PASS, function (test) { - var url = self.testURL(test); - var markup = '<li class="test pass %e"><h2>%e<span class="duration">%ems</span> ' + '<a href="%s" class="replay">' + playIcon + '</a></h2></li>'; - var el = fragment(markup, test.speed, test.title, test.duration, url); - self.addCodeToggle(el, test.body); - appendToStack(el); - updateStats(); - }); - runner.on(EVENT_TEST_FAIL, function (test) { - var el = fragment('<li class="test fail"><h2>%e <a href="%e" class="replay">' + playIcon + '</a></h2></li>', test.title, self.testURL(test)); - var stackString; // Note: Includes leading newline - - var message = test.err.toString(); // <=IE7 stringifies to [Object Error]. Since it can be overloaded, we - // check for the result of the stringifying. - - if (message === '[object Error]') { - message = test.err.message; - } - - if (test.err.stack) { - var indexOfMessage = test.err.stack.indexOf(test.err.message); - - if (indexOfMessage === -1) { - stackString = test.err.stack; - } else { - stackString = test.err.stack.substr(test.err.message.length + indexOfMessage); - } - } else if (test.err.sourceURL && test.err.line !== undefined) { - // Safari doesn't give you a stack. Let's at least provide a source line. - stackString = '\n(' + test.err.sourceURL + ':' + test.err.line + ')'; - } - - stackString = stackString || ''; - - if (test.err.htmlMessage && stackString) { - el.appendChild(fragment('<div class="html-error">%s\n<pre class="error">%e</pre></div>', test.err.htmlMessage, stackString)); - } else if (test.err.htmlMessage) { - el.appendChild(fragment('<div class="html-error">%s</div>', test.err.htmlMessage)); - } else { - el.appendChild(fragment('<pre class="error">%e%e</pre>', message, stackString)); - } - - self.addCodeToggle(el, test.body); - appendToStack(el); - updateStats(); - }); - runner.on(EVENT_TEST_PENDING, function (test) { - var el = fragment('<li class="test pass pending"><h2>%e</h2></li>', test.title); - appendToStack(el); - updateStats(); - }); - - function appendToStack(el) { - // Don't call .appendChild if #mocha-report was already .shift()'ed off the stack. - if (stack[0]) { - stack[0].appendChild(el); - } - } - - function updateStats() { - // TODO: add to stats - var percent = stats.tests / runner.total * 100 | 0; - - if (progress) { - progress.update(percent).draw(ctx); - } // update stats - - - var ms = new Date() - stats.start; - text(passes, stats.passes); - text(failures, stats.failures); - text(duration, (ms / 1000).toFixed(2)); - } - } - /** - * Makes a URL, preserving querystring ("search") parameters. - * - * @param {string} s - * @return {string} A new URL. - */ - - - function makeUrl(s) { - var search = window.location.search; // Remove previous grep query parameter if present - - if (search) { - search = search.replace(/[?&]grep=[^&\s]*/g, '').replace(/^&/, '?'); - } - - return window.location.pathname + (search ? search + '&' : '?') + 'grep=' + encodeURIComponent(escapeStringRegexp(s)); - } - /** - * Provide suite URL. - * - * @param {Object} [suite] - */ - - - HTML.prototype.suiteURL = function (suite) { - return makeUrl(suite.fullTitle()); - }; - /** - * Provide test URL. - * - * @param {Object} [test] - */ - - - HTML.prototype.testURL = function (test) { - return makeUrl(test.fullTitle()); - }; - /** - * Adds code toggle functionality for the provided test's list element. - * - * @param {HTMLLIElement} el - * @param {string} contents - */ - - - HTML.prototype.addCodeToggle = function (el, contents) { - var h2 = el.getElementsByTagName('h2')[0]; - on(h2, 'click', function () { - pre.style.display = pre.style.display === 'none' ? 'block' : 'none'; - }); - var pre = fragment('<pre><code>%e</code></pre>', utils.clean(contents)); - el.appendChild(pre); - pre.style.display = 'none'; - }; - /** - * Display error `msg`. - * - * @param {string} msg - */ - - - function error(msg) { - document.body.appendChild(fragment('<div id="mocha-error">%s</div>', msg)); - } - /** - * Return a DOM fragment from `html`. - * - * @param {string} html - */ - - - function fragment(html) { - var args = arguments; - var div = document.createElement('div'); - var i = 1; - div.innerHTML = html.replace(/%([se])/g, function (_, type) { - switch (type) { - case 's': - return String(args[i++]); - - case 'e': - return escape(args[i++]); - // no default - } - }); - return div.firstChild; - } - /** - * Check for suites that do not have elements - * with `classname`, and hide them. - * - * @param {text} classname - */ - - - function hideSuitesWithout(classname) { - var suites = document.getElementsByClassName('suite'); - - for (var i = 0; i < suites.length; i++) { - var els = suites[i].getElementsByClassName(classname); - - if (!els.length) { - suites[i].className += ' hidden'; - } - } - } - /** - * Unhide .hidden suites. - */ - - - function unhide() { - var els = document.getElementsByClassName('suite hidden'); - - while (els.length > 0) { - els[0].className = els[0].className.replace('suite hidden', 'suite'); - } - } - /** - * Set an element's text contents. - * - * @param {HTMLElement} el - * @param {string} contents - */ - - - function text(el, contents) { - if (el.textContent) { - el.textContent = contents; - } else { - el.innerText = contents; - } - } - /** - * Listen on `event` with callback `fn`. - */ - - - function on(el, event, fn) { - if (el.addEventListener) { - el.addEventListener(event, fn, false); - } else { - el.attachEvent('on' + event, fn); - } - } - - HTML.browserOnly = true; + /* eslint-env browser */ + + /** + * @module HTML + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; + var EVENT_SUITE_END = constants.EVENT_SUITE_END; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var escape = utils.escape; + /** + * Save timer references to avoid Sinon interfering (see GH-237). + */ + + var Date = commonjsGlobal.Date; + /** + * Expose `HTML`. + */ + + module.exports = HTML; + /** + * Stats template. + */ + + var statsTemplate = '<ul id="mocha-stats">' + '<li class="progress"><canvas width="40" height="40"></canvas></li>' + '<li class="passes"><a href="javascript:void(0);">passes:</a> <em>0</em></li>' + '<li class="failures"><a href="javascript:void(0);">failures:</a> <em>0</em></li>' + '<li class="duration">duration: <em>0</em>s</li>' + '</ul>'; + var playIcon = '‣'; + /** + * Constructs a new `HTML` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function HTML(runner, options) { + base.call(this, runner, options); + var self = this; + var stats = this.stats; + var stat = fragment(statsTemplate); + var items = stat.getElementsByTagName('li'); + var passes = items[1].getElementsByTagName('em')[0]; + var passesLink = items[1].getElementsByTagName('a')[0]; + var failures = items[2].getElementsByTagName('em')[0]; + var failuresLink = items[2].getElementsByTagName('a')[0]; + var duration = items[3].getElementsByTagName('em')[0]; + var canvas = stat.getElementsByTagName('canvas')[0]; + var report = fragment('<ul id="mocha-report"></ul>'); + var stack = [report]; + var progress; + var ctx; + var root = document.getElementById('mocha'); + + if (canvas.getContext) { + var ratio = window.devicePixelRatio || 1; + canvas.style.width = canvas.width; + canvas.style.height = canvas.height; + canvas.width *= ratio; + canvas.height *= ratio; + ctx = canvas.getContext('2d'); + ctx.scale(ratio, ratio); + progress = new progress$1(); + } + + if (!root) { + return error('#mocha div missing, add it to your document'); + } // pass toggle + + + on(passesLink, 'click', function (evt) { + evt.preventDefault(); + unhide(); + var name = /pass/.test(report.className) ? '' : ' pass'; + report.className = report.className.replace(/fail|pass/g, '') + name; + + if (report.className.trim()) { + hideSuitesWithout('test pass'); + } + }); // failure toggle + + on(failuresLink, 'click', function (evt) { + evt.preventDefault(); + unhide(); + var name = /fail/.test(report.className) ? '' : ' fail'; + report.className = report.className.replace(/fail|pass/g, '') + name; + + if (report.className.trim()) { + hideSuitesWithout('test fail'); + } + }); + root.appendChild(stat); + root.appendChild(report); + + if (progress) { + progress.size(40); + } + + runner.on(EVENT_SUITE_BEGIN, function (suite) { + if (suite.root) { + return; + } // suite + + + var url = self.suiteURL(suite); + var el = fragment('<li class="suite"><h1><a href="%s">%s</a></h1></li>', url, escape(suite.title)); // container + + stack[0].appendChild(el); + stack.unshift(document.createElement('ul')); + el.appendChild(stack[0]); + }); + runner.on(EVENT_SUITE_END, function (suite) { + if (suite.root) { + updateStats(); + return; + } + + stack.shift(); + }); + runner.on(EVENT_TEST_PASS, function (test) { + var url = self.testURL(test); + var markup = '<li class="test pass %e"><h2>%e<span class="duration">%ems</span> ' + '<a href="%s" class="replay">' + playIcon + '</a></h2></li>'; + var el = fragment(markup, test.speed, test.title, test.duration, url); + self.addCodeToggle(el, test.body); + appendToStack(el); + updateStats(); + }); + runner.on(EVENT_TEST_FAIL, function (test) { + var el = fragment('<li class="test fail"><h2>%e <a href="%e" class="replay">' + playIcon + '</a></h2></li>', test.title, self.testURL(test)); + var stackString; // Note: Includes leading newline + + var message = test.err.toString(); // <=IE7 stringifies to [Object Error]. Since it can be overloaded, we + // check for the result of the stringifying. + + if (message === '[object Error]') { + message = test.err.message; + } + + if (test.err.stack) { + var indexOfMessage = test.err.stack.indexOf(test.err.message); + + if (indexOfMessage === -1) { + stackString = test.err.stack; + } else { + stackString = test.err.stack.substr(test.err.message.length + indexOfMessage); + } + } else if (test.err.sourceURL && test.err.line !== undefined) { + // Safari doesn't give you a stack. Let's at least provide a source line. + stackString = '\n(' + test.err.sourceURL + ':' + test.err.line + ')'; + } + + stackString = stackString || ''; + + if (test.err.htmlMessage && stackString) { + el.appendChild(fragment('<div class="html-error">%s\n<pre class="error">%e</pre></div>', test.err.htmlMessage, stackString)); + } else if (test.err.htmlMessage) { + el.appendChild(fragment('<div class="html-error">%s</div>', test.err.htmlMessage)); + } else { + el.appendChild(fragment('<pre class="error">%e%e</pre>', message, stackString)); + } + + self.addCodeToggle(el, test.body); + appendToStack(el); + updateStats(); + }); + runner.on(EVENT_TEST_PENDING, function (test) { + var el = fragment('<li class="test pass pending"><h2>%e</h2></li>', test.title); + appendToStack(el); + updateStats(); + }); + + function appendToStack(el) { + // Don't call .appendChild if #mocha-report was already .shift()'ed off the stack. + if (stack[0]) { + stack[0].appendChild(el); + } + } + + function updateStats() { + // TODO: add to stats + var percent = stats.tests / runner.total * 100 | 0; + + if (progress) { + progress.update(percent).draw(ctx); + } // update stats + + + var ms = new Date() - stats.start; + text(passes, stats.passes); + text(failures, stats.failures); + text(duration, (ms / 1000).toFixed(2)); + } + } + /** + * Makes a URL, preserving querystring ("search") parameters. + * + * @param {string} s + * @return {string} A new URL. + */ + + + function makeUrl(s) { + var search = window.location.search; // Remove previous grep query parameter if present + + if (search) { + search = search.replace(/[?&]grep=[^&\s]*/g, '').replace(/^&/, '?'); + } + + return window.location.pathname + (search ? search + '&' : '?') + 'grep=' + encodeURIComponent(escapeStringRegexp(s)); + } + /** + * Provide suite URL. + * + * @param {Object} [suite] + */ + + + HTML.prototype.suiteURL = function (suite) { + return makeUrl(suite.fullTitle()); + }; + /** + * Provide test URL. + * + * @param {Object} [test] + */ + + + HTML.prototype.testURL = function (test) { + return makeUrl(test.fullTitle()); + }; + /** + * Adds code toggle functionality for the provided test's list element. + * + * @param {HTMLLIElement} el + * @param {string} contents + */ + + + HTML.prototype.addCodeToggle = function (el, contents) { + var h2 = el.getElementsByTagName('h2')[0]; + on(h2, 'click', function () { + pre.style.display = pre.style.display === 'none' ? 'block' : 'none'; + }); + var pre = fragment('<pre><code>%e</code></pre>', utils.clean(contents)); + el.appendChild(pre); + pre.style.display = 'none'; + }; + /** + * Display error `msg`. + * + * @param {string} msg + */ + + + function error(msg) { + document.body.appendChild(fragment('<div id="mocha-error">%s</div>', msg)); + } + /** + * Return a DOM fragment from `html`. + * + * @param {string} html + */ + + + function fragment(html) { + var args = arguments; + var div = document.createElement('div'); + var i = 1; + div.innerHTML = html.replace(/%([se])/g, function (_, type) { + switch (type) { + case 's': + return String(args[i++]); + + case 'e': + return escape(args[i++]); + // no default + } + }); + return div.firstChild; + } + /** + * Check for suites that do not have elements + * with `classname`, and hide them. + * + * @param {text} classname + */ + + + function hideSuitesWithout(classname) { + var suites = document.getElementsByClassName('suite'); + + for (var i = 0; i < suites.length; i++) { + var els = suites[i].getElementsByClassName(classname); + + if (!els.length) { + suites[i].className += ' hidden'; + } + } + } + /** + * Unhide .hidden suites. + */ + + + function unhide() { + var els = document.getElementsByClassName('suite hidden'); + + while (els.length > 0) { + els[0].className = els[0].className.replace('suite hidden', 'suite'); + } + } + /** + * Set an element's text contents. + * + * @param {HTMLElement} el + * @param {string} contents + */ + + + function text(el, contents) { + if (el.textContent) { + el.textContent = contents; + } else { + el.innerText = contents; + } + } + /** + * Listen on `event` with callback `fn`. + */ + + + function on(el, event, fn) { + if (el.addEventListener) { + el.addEventListener(event, fn, false); + } else { + el.attachEvent('on' + event, fn); + } + } + + HTML.browserOnly = true; }); var list = createCommonjsModule(function (module, exports) { - /** - * @module List - */ - - /** - * Module dependencies. - */ - - var inherits = utils.inherits; - var constants = runner.constants; - var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var EVENT_TEST_BEGIN = constants.EVENT_TEST_BEGIN; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; - var color = base.color; - var cursor = base.cursor; - /** - * Expose `List`. - */ - - module.exports = List; - /** - * Constructs a new `List` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function List(runner, options) { - base.call(this, runner, options); - var self = this; - var n = 0; - runner.on(EVENT_RUN_BEGIN, function () { - base.consoleLog(); - }); - runner.on(EVENT_TEST_BEGIN, function (test) { - process$3.stdout.write(color('pass', ' ' + test.fullTitle() + ': ')); - }); - runner.on(EVENT_TEST_PENDING, function (test) { - var fmt = color('checkmark', ' -') + color('pending', ' %s'); - base.consoleLog(fmt, test.fullTitle()); - }); - runner.on(EVENT_TEST_PASS, function (test) { - var fmt = color('checkmark', ' ' + base.symbols.ok) + color('pass', ' %s: ') + color(test.speed, '%dms'); - cursor.CR(); - base.consoleLog(fmt, test.fullTitle(), test.duration); - }); - runner.on(EVENT_TEST_FAIL, function (test) { - cursor.CR(); - base.consoleLog(color('fail', ' %d) %s'), ++n, test.fullTitle()); - }); - runner.once(EVENT_RUN_END, self.epilogue.bind(self)); - } - /** - * Inherit from `Base.prototype`. - */ - - - inherits(List, base); - List.description = 'like "spec" reporter but flat'; + /** + * @module List + */ + + /** + * Module dependencies. + */ + + var inherits = utils.inherits; + var constants = runner.constants; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_BEGIN = constants.EVENT_TEST_BEGIN; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var color = base.color; + var cursor = base.cursor; + /** + * Expose `List`. + */ + + module.exports = List; + /** + * Constructs a new `List` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function List(runner, options) { + base.call(this, runner, options); + var self = this; + var n = 0; + runner.on(EVENT_RUN_BEGIN, function () { + base.consoleLog(); + }); + runner.on(EVENT_TEST_BEGIN, function (test) { + process$3.stdout.write(color('pass', ' ' + test.fullTitle() + ': ')); + }); + runner.on(EVENT_TEST_PENDING, function (test) { + var fmt = color('checkmark', ' -') + color('pending', ' %s'); + base.consoleLog(fmt, test.fullTitle()); + }); + runner.on(EVENT_TEST_PASS, function (test) { + var fmt = color('checkmark', ' ' + base.symbols.ok) + color('pass', ' %s: ') + color(test.speed, '%dms'); + cursor.CR(); + base.consoleLog(fmt, test.fullTitle(), test.duration); + }); + runner.on(EVENT_TEST_FAIL, function (test) { + cursor.CR(); + base.consoleLog(color('fail', ' %d) %s'), ++n, test.fullTitle()); + }); + runner.once(EVENT_RUN_END, self.epilogue.bind(self)); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(List, base); + List.description = 'like "spec" reporter but flat'; }); var min = createCommonjsModule(function (module, exports) { - /** - * @module Min - */ - - /** - * Module dependencies. - */ - - var inherits = utils.inherits; - var constants = runner.constants; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; - /** - * Expose `Min`. - */ - - module.exports = Min; - /** - * Constructs a new `Min` reporter instance. - * - * @description - * This minimal test reporter is best used with '--watch'. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function Min(runner, options) { - base.call(this, runner, options); - runner.on(EVENT_RUN_BEGIN, function () { - // clear screen - process$3.stdout.write("\x1B[2J"); // set cursor position - - process$3.stdout.write("\x1B[1;3H"); - }); - runner.once(EVENT_RUN_END, this.epilogue.bind(this)); - } - /** - * Inherit from `Base.prototype`. - */ - - - inherits(Min, base); - Min.description = 'essentially just a summary'; + /** + * @module Min + */ + + /** + * Module dependencies. + */ + + var inherits = utils.inherits; + var constants = runner.constants; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + /** + * Expose `Min`. + */ + + module.exports = Min; + /** + * Constructs a new `Min` reporter instance. + * + * @description + * This minimal test reporter is best used with '--watch'. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Min(runner, options) { + base.call(this, runner, options); + runner.on(EVENT_RUN_BEGIN, function () { + // clear screen + process$3.stdout.write("\x1B[2J"); // set cursor position + + process$3.stdout.write("\x1B[1;3H"); + }); + runner.once(EVENT_RUN_END, this.epilogue.bind(this)); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Min, base); + Min.description = 'essentially just a summary'; }); var spec = createCommonjsModule(function (module, exports) { - /** - * @module Spec - */ - - /** - * Module dependencies. - */ - - var constants = runner.constants; - var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; - var EVENT_SUITE_END = constants.EVENT_SUITE_END; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; - var inherits = utils.inherits; - var color = base.color; - /** - * Expose `Spec`. - */ - - module.exports = Spec; - /** - * Constructs a new `Spec` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function Spec(runner, options) { - base.call(this, runner, options); - var self = this; - var indents = 0; - var n = 0; - - function indent() { - return Array(indents).join(' '); - } - - runner.on(EVENT_RUN_BEGIN, function () { - base.consoleLog(); - }); - runner.on(EVENT_SUITE_BEGIN, function (suite) { - ++indents; - base.consoleLog(color('suite', '%s%s'), indent(), suite.title); - }); - runner.on(EVENT_SUITE_END, function () { - --indents; - - if (indents === 1) { - base.consoleLog(); - } - }); - runner.on(EVENT_TEST_PENDING, function (test) { - var fmt = indent() + color('pending', ' - %s'); - base.consoleLog(fmt, test.title); - }); - runner.on(EVENT_TEST_PASS, function (test) { - var fmt; - - if (test.speed === 'fast') { - fmt = indent() + color('checkmark', ' ' + base.symbols.ok) + color('pass', ' %s'); - base.consoleLog(fmt, test.title); - } else { - fmt = indent() + color('checkmark', ' ' + base.symbols.ok) + color('pass', ' %s') + color(test.speed, ' (%dms)'); - base.consoleLog(fmt, test.title, test.duration); - } - }); - runner.on(EVENT_TEST_FAIL, function (test) { - base.consoleLog(indent() + color('fail', ' %d) %s'), ++n, test.title); - }); - runner.once(EVENT_RUN_END, self.epilogue.bind(self)); - } - /** - * Inherit from `Base.prototype`. - */ - - - inherits(Spec, base); - Spec.description = 'hierarchical & verbose [default]'; + /** + * @module Spec + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; + var EVENT_SUITE_END = constants.EVENT_SUITE_END; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var inherits = utils.inherits; + var color = base.color; + /** + * Expose `Spec`. + */ + + module.exports = Spec; + /** + * Constructs a new `Spec` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Spec(runner, options) { + base.call(this, runner, options); + var self = this; + var indents = 0; + var n = 0; + + function indent() { + return Array(indents).join(' '); + } + + runner.on(EVENT_RUN_BEGIN, function () { + base.consoleLog(); + }); + runner.on(EVENT_SUITE_BEGIN, function (suite) { + ++indents; + base.consoleLog(color('suite', '%s%s'), indent(), suite.title); + }); + runner.on(EVENT_SUITE_END, function () { + --indents; + + if (indents === 1) { + base.consoleLog(); + } + }); + runner.on(EVENT_TEST_PENDING, function (test) { + var fmt = indent() + color('pending', ' - %s'); + base.consoleLog(fmt, test.title); + }); + runner.on(EVENT_TEST_PASS, function (test) { + var fmt; + + if (test.speed === 'fast') { + fmt = indent() + color('checkmark', ' ' + base.symbols.ok) + color('pass', ' %s'); + base.consoleLog(fmt, test.title); + } else { + fmt = indent() + color('checkmark', ' ' + base.symbols.ok) + color('pass', ' %s') + color(test.speed, ' (%dms)'); + base.consoleLog(fmt, test.title, test.duration); + } + }); + runner.on(EVENT_TEST_FAIL, function (test) { + base.consoleLog(indent() + color('fail', ' %d) %s'), ++n, test.title); + }); + runner.once(EVENT_RUN_END, self.epilogue.bind(self)); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Spec, base); + Spec.description = 'hierarchical & verbose [default]'; }); var nyan = createCommonjsModule(function (module, exports) { - /** - * @module Nyan - */ - - /** - * Module dependencies. - */ - - var constants = runner.constants; - var inherits = utils.inherits; - var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; - var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - /** - * Expose `Dot`. - */ - - module.exports = NyanCat; - /** - * Constructs a new `Nyan` reporter instance. - * - * @public - * @class Nyan - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function NyanCat(runner, options) { - base.call(this, runner, options); - var self = this; - var width = base.window.width * 0.75 | 0; - var nyanCatWidth = this.nyanCatWidth = 11; - this.colorIndex = 0; - this.numberOfLines = 4; - this.rainbowColors = self.generateColors(); - this.scoreboardWidth = 5; - this.tick = 0; - this.trajectories = [[], [], [], []]; - this.trajectoryWidthMax = width - nyanCatWidth; - runner.on(EVENT_RUN_BEGIN, function () { - base.cursor.hide(); - self.draw(); - }); - runner.on(EVENT_TEST_PENDING, function () { - self.draw(); - }); - runner.on(EVENT_TEST_PASS, function () { - self.draw(); - }); - runner.on(EVENT_TEST_FAIL, function () { - self.draw(); - }); - runner.once(EVENT_RUN_END, function () { - base.cursor.show(); - - for (var i = 0; i < self.numberOfLines; i++) { - write('\n'); - } - - self.epilogue(); - }); - } - /** - * Inherit from `Base.prototype`. - */ - - - inherits(NyanCat, base); - /** - * Draw the nyan cat - * - * @private - */ - - NyanCat.prototype.draw = function () { - this.appendRainbow(); - this.drawScoreboard(); - this.drawRainbow(); - this.drawNyanCat(); - this.tick = !this.tick; - }; - /** - * Draw the "scoreboard" showing the number - * of passes, failures and pending tests. - * - * @private - */ - - - NyanCat.prototype.drawScoreboard = function () { - var stats = this.stats; - - function draw(type, n) { - write(' '); - write(base.color(type, n)); - write('\n'); - } - - draw('green', stats.passes); - draw('fail', stats.failures); - draw('pending', stats.pending); - write('\n'); - this.cursorUp(this.numberOfLines); - }; - /** - * Append the rainbow. - * - * @private - */ - - - NyanCat.prototype.appendRainbow = function () { - var segment = this.tick ? '_' : '-'; - var rainbowified = this.rainbowify(segment); - - for (var index = 0; index < this.numberOfLines; index++) { - var trajectory = this.trajectories[index]; - - if (trajectory.length >= this.trajectoryWidthMax) { - trajectory.shift(); - } - - trajectory.push(rainbowified); - } - }; - /** - * Draw the rainbow. - * - * @private - */ - - - NyanCat.prototype.drawRainbow = function () { - var self = this; - this.trajectories.forEach(function (line) { - write("\x1B[" + self.scoreboardWidth + 'C'); - write(line.join('')); - write('\n'); - }); - this.cursorUp(this.numberOfLines); - }; - /** - * Draw the nyan cat - * - * @private - */ - - - NyanCat.prototype.drawNyanCat = function () { - var self = this; - var startWidth = this.scoreboardWidth + this.trajectories[0].length; - var dist = "\x1B[" + startWidth + 'C'; - var padding = ''; - write(dist); - write('_,------,'); - write('\n'); - write(dist); - padding = self.tick ? ' ' : ' '; - write('_|' + padding + '/\\_/\\ '); - write('\n'); - write(dist); - padding = self.tick ? '_' : '__'; - var tail = self.tick ? '~' : '^'; - write(tail + '|' + padding + this.face() + ' '); - write('\n'); - write(dist); - padding = self.tick ? ' ' : ' '; - write(padding + '"" "" '); - write('\n'); - this.cursorUp(this.numberOfLines); - }; - /** - * Draw nyan cat face. - * - * @private - * @return {string} - */ - - - NyanCat.prototype.face = function () { - var stats = this.stats; - - if (stats.failures) { - return '( x .x)'; - } else if (stats.pending) { - return '( o .o)'; - } else if (stats.passes) { - return '( ^ .^)'; - } - - return '( - .-)'; - }; - /** - * Move cursor up `n`. - * - * @private - * @param {number} n - */ - - - NyanCat.prototype.cursorUp = function (n) { - write("\x1B[" + n + 'A'); - }; - /** - * Move cursor down `n`. - * - * @private - * @param {number} n - */ - - - NyanCat.prototype.cursorDown = function (n) { - write("\x1B[" + n + 'B'); - }; - /** - * Generate rainbow colors. - * - * @private - * @return {Array} - */ - - - NyanCat.prototype.generateColors = function () { - var colors = []; - - for (var i = 0; i < 6 * 7; i++) { - var pi3 = Math.floor(Math.PI / 3); - var n = i * (1.0 / 6); - var r = Math.floor(3 * Math.sin(n) + 3); - var g = Math.floor(3 * Math.sin(n + 2 * pi3) + 3); - var b = Math.floor(3 * Math.sin(n + 4 * pi3) + 3); - colors.push(36 * r + 6 * g + b + 16); - } - - return colors; - }; - /** - * Apply rainbow to the given `str`. - * - * @private - * @param {string} str - * @return {string} - */ - - - NyanCat.prototype.rainbowify = function (str) { - if (!base.useColors) { - return str; - } - - var color = this.rainbowColors[this.colorIndex % this.rainbowColors.length]; - this.colorIndex += 1; - return "\x1B[38;5;" + color + 'm' + str + "\x1B[0m"; - }; - /** - * Stdout helper. - * - * @param {string} string A message to write to stdout. - */ - - - function write(string) { - process$3.stdout.write(string); - } - - NyanCat.description = '"nyan cat"'; + /** + * @module Nyan + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var inherits = utils.inherits; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + /** + * Expose `Dot`. + */ + + module.exports = NyanCat; + /** + * Constructs a new `Nyan` reporter instance. + * + * @public + * @class Nyan + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function NyanCat(runner, options) { + base.call(this, runner, options); + var self = this; + var width = base.window.width * 0.75 | 0; + var nyanCatWidth = this.nyanCatWidth = 11; + this.colorIndex = 0; + this.numberOfLines = 4; + this.rainbowColors = self.generateColors(); + this.scoreboardWidth = 5; + this.tick = 0; + this.trajectories = [[], [], [], []]; + this.trajectoryWidthMax = width - nyanCatWidth; + runner.on(EVENT_RUN_BEGIN, function () { + base.cursor.hide(); + self.draw(); + }); + runner.on(EVENT_TEST_PENDING, function () { + self.draw(); + }); + runner.on(EVENT_TEST_PASS, function () { + self.draw(); + }); + runner.on(EVENT_TEST_FAIL, function () { + self.draw(); + }); + runner.once(EVENT_RUN_END, function () { + base.cursor.show(); + + for (var i = 0; i < self.numberOfLines; i++) { + write('\n'); + } + + self.epilogue(); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(NyanCat, base); + /** + * Draw the nyan cat + * + * @private + */ + + NyanCat.prototype.draw = function () { + this.appendRainbow(); + this.drawScoreboard(); + this.drawRainbow(); + this.drawNyanCat(); + this.tick = !this.tick; + }; + /** + * Draw the "scoreboard" showing the number + * of passes, failures and pending tests. + * + * @private + */ + + + NyanCat.prototype.drawScoreboard = function () { + var stats = this.stats; + + function draw(type, n) { + write(' '); + write(base.color(type, n)); + write('\n'); + } + + draw('green', stats.passes); + draw('fail', stats.failures); + draw('pending', stats.pending); + write('\n'); + this.cursorUp(this.numberOfLines); + }; + /** + * Append the rainbow. + * + * @private + */ + + + NyanCat.prototype.appendRainbow = function () { + var segment = this.tick ? '_' : '-'; + var rainbowified = this.rainbowify(segment); + + for (var index = 0; index < this.numberOfLines; index++) { + var trajectory = this.trajectories[index]; + + if (trajectory.length >= this.trajectoryWidthMax) { + trajectory.shift(); + } + + trajectory.push(rainbowified); + } + }; + /** + * Draw the rainbow. + * + * @private + */ + + + NyanCat.prototype.drawRainbow = function () { + var self = this; + this.trajectories.forEach(function (line) { + write("\x1B[" + self.scoreboardWidth + 'C'); + write(line.join('')); + write('\n'); + }); + this.cursorUp(this.numberOfLines); + }; + /** + * Draw the nyan cat + * + * @private + */ + + + NyanCat.prototype.drawNyanCat = function () { + var self = this; + var startWidth = this.scoreboardWidth + this.trajectories[0].length; + var dist = "\x1B[" + startWidth + 'C'; + var padding = ''; + write(dist); + write('_,------,'); + write('\n'); + write(dist); + padding = self.tick ? ' ' : ' '; + write('_|' + padding + '/\\_/\\ '); + write('\n'); + write(dist); + padding = self.tick ? '_' : '__'; + var tail = self.tick ? '~' : '^'; + write(tail + '|' + padding + this.face() + ' '); + write('\n'); + write(dist); + padding = self.tick ? ' ' : ' '; + write(padding + '"" "" '); + write('\n'); + this.cursorUp(this.numberOfLines); + }; + /** + * Draw nyan cat face. + * + * @private + * @return {string} + */ + + + NyanCat.prototype.face = function () { + var stats = this.stats; + + if (stats.failures) { + return '( x .x)'; + } else if (stats.pending) { + return '( o .o)'; + } else if (stats.passes) { + return '( ^ .^)'; + } + + return '( - .-)'; + }; + /** + * Move cursor up `n`. + * + * @private + * @param {number} n + */ + + + NyanCat.prototype.cursorUp = function (n) { + write("\x1B[" + n + 'A'); + }; + /** + * Move cursor down `n`. + * + * @private + * @param {number} n + */ + + + NyanCat.prototype.cursorDown = function (n) { + write("\x1B[" + n + 'B'); + }; + /** + * Generate rainbow colors. + * + * @private + * @return {Array} + */ + + + NyanCat.prototype.generateColors = function () { + var colors = []; + + for (var i = 0; i < 6 * 7; i++) { + var pi3 = Math.floor(Math.PI / 3); + var n = i * (1.0 / 6); + var r = Math.floor(3 * Math.sin(n) + 3); + var g = Math.floor(3 * Math.sin(n + 2 * pi3) + 3); + var b = Math.floor(3 * Math.sin(n + 4 * pi3) + 3); + colors.push(36 * r + 6 * g + b + 16); + } + + return colors; + }; + /** + * Apply rainbow to the given `str`. + * + * @private + * @param {string} str + * @return {string} + */ + + + NyanCat.prototype.rainbowify = function (str) { + if (!base.useColors) { + return str; + } + + var color = this.rainbowColors[this.colorIndex % this.rainbowColors.length]; + this.colorIndex += 1; + return "\x1B[38;5;" + color + 'm' + str + "\x1B[0m"; + }; + /** + * Stdout helper. + * + * @param {string} string A message to write to stdout. + */ + + + function write(string) { + process$3.stdout.write(string); + } + + NyanCat.description = '"nyan cat"'; }); var xunit = createCommonjsModule(function (module, exports) { - /** - * @module XUnit - */ - - /** - * Module dependencies. - */ - - var createUnsupportedError = errors.createUnsupportedError; - var constants = runner.constants; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; - var STATE_FAILED = runnable.constants.STATE_FAILED; - var inherits = utils.inherits; - var escape = utils.escape; - /** - * Save timer references to avoid Sinon interfering (see GH-237). - */ - - var Date = commonjsGlobal.Date; - /** - * Expose `XUnit`. - */ - - module.exports = XUnit; - /** - * Constructs a new `XUnit` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function XUnit(runner, options) { - base.call(this, runner, options); - var stats = this.stats; - var tests = []; - var self = this; // the name of the test suite, as it will appear in the resulting XML file - - var suiteName; // the default name of the test suite if none is provided - - var DEFAULT_SUITE_NAME = 'Mocha Tests'; - - if (options && options.reporterOptions) { - if (options.reporterOptions.output) { - { - throw createUnsupportedError('file output not supported in browser'); - } - } // get the suite name from the reporter options (if provided) - - - suiteName = options.reporterOptions.suiteName; - } // fall back to the default suite name - - - suiteName = suiteName || DEFAULT_SUITE_NAME; - runner.on(EVENT_TEST_PENDING, function (test) { - tests.push(test); - }); - runner.on(EVENT_TEST_PASS, function (test) { - tests.push(test); - }); - runner.on(EVENT_TEST_FAIL, function (test) { - tests.push(test); - }); - runner.once(EVENT_RUN_END, function () { - self.write(tag('testsuite', { - name: suiteName, - tests: stats.tests, - failures: 0, - errors: stats.failures, - skipped: stats.tests - stats.failures - stats.passes, - timestamp: new Date().toUTCString(), - time: stats.duration / 1000 || 0 - }, false)); - tests.forEach(function (t) { - self.test(t); - }); - self.write('</testsuite>'); - }); - } - /** - * Inherit from `Base.prototype`. - */ - - - inherits(XUnit, base); - /** - * Override done to close the stream (if it's a file). - * - * @param failures - * @param {Function} fn - */ - - XUnit.prototype.done = function (failures, fn) { - if (this.fileStream) { - this.fileStream.end(function () { - fn(failures); - }); - } else { - fn(failures); - } - }; - /** - * Write out the given line. - * - * @param {string} line - */ - - - XUnit.prototype.write = function (line) { - if (this.fileStream) { - this.fileStream.write(line + '\n'); - } else if (_typeof(process$3) === 'object' && process$3.stdout) { - process$3.stdout.write(line + '\n'); - } else { - base.consoleLog(line); - } - }; - /** - * Output tag for the given `test.` - * - * @param {Test} test - */ - - - XUnit.prototype.test = function (test) { - base.useColors = false; - var attrs = { - classname: test.parent.fullTitle(), - name: test.title, - time: test.duration / 1000 || 0 - }; - - if (test.state === STATE_FAILED) { - var err = test.err; - var diff = !base.hideDiff && base.showDiff(err) ? '\n' + base.generateDiff(err.actual, err.expected) : ''; - this.write(tag('testcase', attrs, false, tag('failure', {}, false, escape(err.message) + escape(diff) + '\n' + escape(err.stack)))); - } else if (test.isPending()) { - this.write(tag('testcase', attrs, false, tag('skipped', {}, true))); - } else { - this.write(tag('testcase', attrs, true)); - } - }; - /** - * HTML tag helper. - * - * @param name - * @param attrs - * @param close - * @param content - * @return {string} - */ - - - function tag(name, attrs, close, content) { - var end = close ? '/>' : '>'; - var pairs = []; - var tag; - - for (var key in attrs) { - if (Object.prototype.hasOwnProperty.call(attrs, key)) { - pairs.push(key + '="' + escape(attrs[key]) + '"'); - } - } - - tag = '<' + name + (pairs.length ? ' ' + pairs.join(' ') : '') + end; - - if (content) { - tag += content + '</' + name + end; - } - - return tag; - } - - XUnit.description = 'XUnit-compatible XML output'; + /** + * @module XUnit + */ + + /** + * Module dependencies. + */ + + var createUnsupportedError = errors.createUnsupportedError; + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_PENDING = constants.EVENT_TEST_PENDING; + var STATE_FAILED = runnable.constants.STATE_FAILED; + var inherits = utils.inherits; + var escape = utils.escape; + /** + * Save timer references to avoid Sinon interfering (see GH-237). + */ + + var Date = commonjsGlobal.Date; + /** + * Expose `XUnit`. + */ + + module.exports = XUnit; + /** + * Constructs a new `XUnit` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function XUnit(runner, options) { + base.call(this, runner, options); + var stats = this.stats; + var tests = []; + var self = this; // the name of the test suite, as it will appear in the resulting XML file + + var suiteName; // the default name of the test suite if none is provided + + var DEFAULT_SUITE_NAME = 'Mocha Tests'; + + if (options && options.reporterOptions) { + if (options.reporterOptions.output) { + { + throw createUnsupportedError('file output not supported in browser'); + } + } // get the suite name from the reporter options (if provided) + + + suiteName = options.reporterOptions.suiteName; + } // fall back to the default suite name + + + suiteName = suiteName || DEFAULT_SUITE_NAME; + runner.on(EVENT_TEST_PENDING, function (test) { + tests.push(test); + }); + runner.on(EVENT_TEST_PASS, function (test) { + tests.push(test); + }); + runner.on(EVENT_TEST_FAIL, function (test) { + tests.push(test); + }); + runner.once(EVENT_RUN_END, function () { + self.write(tag('testsuite', { + name: suiteName, + tests: stats.tests, + failures: 0, + errors: stats.failures, + skipped: stats.tests - stats.failures - stats.passes, + timestamp: new Date().toUTCString(), + time: stats.duration / 1000 || 0 + }, false)); + tests.forEach(function (t) { + self.test(t); + }); + self.write('</testsuite>'); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(XUnit, base); + /** + * Override done to close the stream (if it's a file). + * + * @param failures + * @param {Function} fn + */ + + XUnit.prototype.done = function (failures, fn) { + if (this.fileStream) { + this.fileStream.end(function () { + fn(failures); + }); + } else { + fn(failures); + } + }; + /** + * Write out the given line. + * + * @param {string} line + */ + + + XUnit.prototype.write = function (line) { + if (this.fileStream) { + this.fileStream.write(line + '\n'); + } else if (_typeof(process$3) === 'object' && process$3.stdout) { + process$3.stdout.write(line + '\n'); + } else { + base.consoleLog(line); + } + }; + /** + * Output tag for the given `test.` + * + * @param {Test} test + */ + + + XUnit.prototype.test = function (test) { + base.useColors = false; + var attrs = { + classname: test.parent.fullTitle(), + name: test.title, + time: test.duration / 1000 || 0 + }; + + if (test.state === STATE_FAILED) { + var err = test.err; + var diff = !base.hideDiff && base.showDiff(err) ? '\n' + base.generateDiff(err.actual, err.expected) : ''; + this.write(tag('testcase', attrs, false, tag('failure', {}, false, escape(err.message) + escape(diff) + '\n' + escape(err.stack)))); + } else if (test.isPending()) { + this.write(tag('testcase', attrs, false, tag('skipped', {}, true))); + } else { + this.write(tag('testcase', attrs, true)); + } + }; + /** + * HTML tag helper. + * + * @param name + * @param attrs + * @param close + * @param content + * @return {string} + */ + + + function tag(name, attrs, close, content) { + var end = close ? '/>' : '>'; + var pairs = []; + var tag; + + for (var key in attrs) { + if (Object.prototype.hasOwnProperty.call(attrs, key)) { + pairs.push(key + '="' + escape(attrs[key]) + '"'); + } + } + + tag = '<' + name + (pairs.length ? ' ' + pairs.join(' ') : '') + end; + + if (content) { + tag += content + '</' + name + end; + } + + return tag; + } + + XUnit.description = 'XUnit-compatible XML output'; }); var markdown = createCommonjsModule(function (module, exports) { - /** - * @module Markdown - */ - - /** - * Module dependencies. - */ - - var constants = runner.constants; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; - var EVENT_SUITE_END = constants.EVENT_SUITE_END; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - /** - * Constants - */ - - var SUITE_PREFIX = '$'; - /** - * Expose `Markdown`. - */ - - module.exports = Markdown; - /** - * Constructs a new `Markdown` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function Markdown(runner, options) { - base.call(this, runner, options); - var level = 0; - var buf = ''; - - function title(str) { - return Array(level).join('#') + ' ' + str; - } - - function mapTOC(suite, obj) { - var ret = obj; - var key = SUITE_PREFIX + suite.title; - obj = obj[key] = obj[key] || { - suite: suite - }; - suite.suites.forEach(function (suite) { - mapTOC(suite, obj); - }); - return ret; - } - - function stringifyTOC(obj, level) { - ++level; - var buf = ''; - var link; - - for (var key in obj) { - if (key === 'suite') { - continue; - } - - if (key !== SUITE_PREFIX) { - link = ' - [' + key.substring(1) + ']'; - link += '(#' + utils.slug(obj[key].suite.fullTitle()) + ')\n'; - buf += Array(level).join(' ') + link; - } - - buf += stringifyTOC(obj[key], level); - } - - return buf; - } - - function generateTOC(suite) { - var obj = mapTOC(suite, {}); - return stringifyTOC(obj, 0); - } - - generateTOC(runner.suite); - runner.on(EVENT_SUITE_BEGIN, function (suite) { - ++level; - var slug = utils.slug(suite.fullTitle()); - buf += '<a name="' + slug + '"></a>' + '\n'; - buf += title(suite.title) + '\n'; - }); - runner.on(EVENT_SUITE_END, function () { - --level; - }); - runner.on(EVENT_TEST_PASS, function (test) { - var code = utils.clean(test.body); - buf += test.title + '.\n'; - buf += '\n```js\n'; - buf += code + '\n'; - buf += '```\n\n'; - }); - runner.once(EVENT_RUN_END, function () { - process$3.stdout.write('# TOC\n'); - process$3.stdout.write(generateTOC(runner.suite)); - process$3.stdout.write(buf); - }); - } - - Markdown.description = 'GitHub Flavored Markdown'; + /** + * @module Markdown + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_SUITE_BEGIN = constants.EVENT_SUITE_BEGIN; + var EVENT_SUITE_END = constants.EVENT_SUITE_END; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + /** + * Constants + */ + + var SUITE_PREFIX = '$'; + /** + * Expose `Markdown`. + */ + + module.exports = Markdown; + /** + * Constructs a new `Markdown` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Markdown(runner, options) { + base.call(this, runner, options); + var level = 0; + var buf = ''; + + function title(str) { + return Array(level).join('#') + ' ' + str; + } + + function mapTOC(suite, obj) { + var ret = obj; + var key = SUITE_PREFIX + suite.title; + obj = obj[key] = obj[key] || { + suite: suite + }; + suite.suites.forEach(function (suite) { + mapTOC(suite, obj); + }); + return ret; + } + + function stringifyTOC(obj, level) { + ++level; + var buf = ''; + var link; + + for (var key in obj) { + if (key === 'suite') { + continue; + } + + if (key !== SUITE_PREFIX) { + link = ' - [' + key.substring(1) + ']'; + link += '(#' + utils.slug(obj[key].suite.fullTitle()) + ')\n'; + buf += Array(level).join(' ') + link; + } + + buf += stringifyTOC(obj[key], level); + } + + return buf; + } + + function generateTOC(suite) { + var obj = mapTOC(suite, {}); + return stringifyTOC(obj, 0); + } + + generateTOC(runner.suite); + runner.on(EVENT_SUITE_BEGIN, function (suite) { + ++level; + var slug = utils.slug(suite.fullTitle()); + buf += '<a name="' + slug + '"></a>' + '\n'; + buf += title(suite.title) + '\n'; + }); + runner.on(EVENT_SUITE_END, function () { + --level; + }); + runner.on(EVENT_TEST_PASS, function (test) { + var code = utils.clean(test.body); + buf += test.title + '.\n'; + buf += '\n```js\n'; + buf += code + '\n'; + buf += '```\n\n'; + }); + runner.once(EVENT_RUN_END, function () { + process$3.stdout.write('# TOC\n'); + process$3.stdout.write(generateTOC(runner.suite)); + process$3.stdout.write(buf); + }); + } + + Markdown.description = 'GitHub Flavored Markdown'; }); var progress = createCommonjsModule(function (module, exports) { - /** - * @module Progress - */ - - /** - * Module dependencies. - */ - - var constants = runner.constants; - var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; - var EVENT_TEST_END = constants.EVENT_TEST_END; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var inherits = utils.inherits; - var color = base.color; - var cursor = base.cursor; - /** - * Expose `Progress`. - */ - - module.exports = Progress; - /** - * General progress bar color. - */ - - base.colors.progress = 90; - /** - * Constructs a new `Progress` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function Progress(runner, options) { - base.call(this, runner, options); - var self = this; - var width = base.window.width * 0.5 | 0; - var total = runner.total; - var complete = 0; - var lastN = -1; // default chars - - options = options || {}; - var reporterOptions = options.reporterOptions || {}; - options.open = reporterOptions.open || '['; - options.complete = reporterOptions.complete || '▬'; - options.incomplete = reporterOptions.incomplete || base.symbols.dot; - options.close = reporterOptions.close || ']'; - options.verbose = reporterOptions.verbose || false; // tests started - - runner.on(EVENT_RUN_BEGIN, function () { - process$3.stdout.write('\n'); - cursor.hide(); - }); // tests complete - - runner.on(EVENT_TEST_END, function () { - complete++; - var percent = complete / total; - var n = width * percent | 0; - var i = width - n; - - if (n === lastN && !options.verbose) { - // Don't re-render the line if it hasn't changed - return; - } - - lastN = n; - cursor.CR(); - process$3.stdout.write("\x1B[J"); - process$3.stdout.write(color('progress', ' ' + options.open)); - process$3.stdout.write(Array(n).join(options.complete)); - process$3.stdout.write(Array(i).join(options.incomplete)); - process$3.stdout.write(color('progress', options.close)); - - if (options.verbose) { - process$3.stdout.write(color('progress', ' ' + complete + ' of ' + total)); - } - }); // tests are complete, output some stats - // and the failures if any - - runner.once(EVENT_RUN_END, function () { - cursor.show(); - process$3.stdout.write('\n'); - self.epilogue(); - }); - } - /** - * Inherit from `Base.prototype`. - */ - - - inherits(Progress, base); - Progress.description = 'a progress bar'; + /** + * @module Progress + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_TEST_END = constants.EVENT_TEST_END; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var inherits = utils.inherits; + var color = base.color; + var cursor = base.cursor; + /** + * Expose `Progress`. + */ + + module.exports = Progress; + /** + * General progress bar color. + */ + + base.colors.progress = 90; + /** + * Constructs a new `Progress` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Progress(runner, options) { + base.call(this, runner, options); + var self = this; + var width = base.window.width * 0.5 | 0; + var total = runner.total; + var complete = 0; + var lastN = -1; // default chars + + options = options || {}; + var reporterOptions = options.reporterOptions || {}; + options.open = reporterOptions.open || '['; + options.complete = reporterOptions.complete || '▬'; + options.incomplete = reporterOptions.incomplete || base.symbols.dot; + options.close = reporterOptions.close || ']'; + options.verbose = reporterOptions.verbose || false; // tests started + + runner.on(EVENT_RUN_BEGIN, function () { + process$3.stdout.write('\n'); + cursor.hide(); + }); // tests complete + + runner.on(EVENT_TEST_END, function () { + complete++; + var percent = complete / total; + var n = width * percent | 0; + var i = width - n; + + if (n === lastN && !options.verbose) { + // Don't re-render the line if it hasn't changed + return; + } + + lastN = n; + cursor.CR(); + process$3.stdout.write("\x1B[J"); + process$3.stdout.write(color('progress', ' ' + options.open)); + process$3.stdout.write(Array(n).join(options.complete)); + process$3.stdout.write(Array(i).join(options.incomplete)); + process$3.stdout.write(color('progress', options.close)); + + if (options.verbose) { + process$3.stdout.write(color('progress', ' ' + complete + ' of ' + total)); + } + }); // tests are complete, output some stats + // and the failures if any + + runner.once(EVENT_RUN_END, function () { + cursor.show(); + process$3.stdout.write('\n'); + self.epilogue(); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Progress, base); + Progress.description = 'a progress bar'; }); var landing = createCommonjsModule(function (module, exports) { - /** - * @module Landing - */ - - /** - * Module dependencies. - */ - - var inherits = utils.inherits; - var constants = runner.constants; - var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; - var EVENT_RUN_END = constants.EVENT_RUN_END; - var EVENT_TEST_END = constants.EVENT_TEST_END; - var STATE_FAILED = runnable.constants.STATE_FAILED; - var cursor = base.cursor; - var color = base.color; - /** - * Expose `Landing`. - */ - - module.exports = Landing; - /** - * Airplane color. - */ - - base.colors.plane = 0; - /** - * Airplane crash color. - */ - - base.colors['plane crash'] = 31; - /** - * Runway color. - */ - - base.colors.runway = 90; - /** - * Constructs a new `Landing` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function Landing(runner, options) { - base.call(this, runner, options); - var self = this; - var width = base.window.width * 0.75 | 0; - var stream = process$3.stdout; - var plane = color('plane', '✈'); - var crashed = -1; - var n = 0; - var total = 0; - - function runway() { - var buf = Array(width).join('-'); - return ' ' + color('runway', buf); - } - - runner.on(EVENT_RUN_BEGIN, function () { - stream.write('\n\n\n '); - cursor.hide(); - }); - runner.on(EVENT_TEST_END, function (test) { - // check if the plane crashed - var col = crashed === -1 ? width * ++n / ++total | 0 : crashed; // show the crash - - if (test.state === STATE_FAILED) { - plane = color('plane crash', '✈'); - crashed = col; - } // render landing strip - - - stream.write("\x1B[" + (width + 1) + "D\x1B[2A"); - stream.write(runway()); - stream.write('\n '); - stream.write(color('runway', Array(col).join('⋅'))); - stream.write(plane); - stream.write(color('runway', Array(width - col).join('⋅') + '\n')); - stream.write(runway()); - stream.write("\x1B[0m"); - }); - runner.once(EVENT_RUN_END, function () { - cursor.show(); - process$3.stdout.write('\n'); - self.epilogue(); - }); // if cursor is hidden when we ctrl-C, then it will remain hidden unless... - - process$3.once('SIGINT', function () { - cursor.show(); - nextTick$1(function () { - process$3.kill(process$3.pid, 'SIGINT'); - }); - }); - } - /** - * Inherit from `Base.prototype`. - */ - - - inherits(Landing, base); - Landing.description = 'Unicode landing strip'; + /** + * @module Landing + */ + + /** + * Module dependencies. + */ + + var inherits = utils.inherits; + var constants = runner.constants; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + var EVENT_TEST_END = constants.EVENT_TEST_END; + var STATE_FAILED = runnable.constants.STATE_FAILED; + var cursor = base.cursor; + var color = base.color; + /** + * Expose `Landing`. + */ + + module.exports = Landing; + /** + * Airplane color. + */ + + base.colors.plane = 0; + /** + * Airplane crash color. + */ + + base.colors['plane crash'] = 31; + /** + * Runway color. + */ + + base.colors.runway = 90; + /** + * Constructs a new `Landing` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function Landing(runner, options) { + base.call(this, runner, options); + var self = this; + var width = base.window.width * 0.75 | 0; + var stream = process$3.stdout; + var plane = color('plane', '✈'); + var crashed = -1; + var n = 0; + var total = 0; + + function runway() { + var buf = Array(width).join('-'); + return ' ' + color('runway', buf); + } + + runner.on(EVENT_RUN_BEGIN, function () { + stream.write('\n\n\n '); + cursor.hide(); + }); + runner.on(EVENT_TEST_END, function (test) { + // check if the plane crashed + var col = crashed === -1 ? width * ++n / ++total | 0 : crashed; // show the crash + + if (test.state === STATE_FAILED) { + plane = color('plane crash', '✈'); + crashed = col; + } // render landing strip + + + stream.write("\x1B[" + (width + 1) + "D\x1B[2A"); + stream.write(runway()); + stream.write('\n '); + stream.write(color('runway', Array(col).join('⋅'))); + stream.write(plane); + stream.write(color('runway', Array(width - col).join('⋅') + '\n')); + stream.write(runway()); + stream.write("\x1B[0m"); + }); + runner.once(EVENT_RUN_END, function () { + cursor.show(); + process$3.stdout.write('\n'); + self.epilogue(); + }); // if cursor is hidden when we ctrl-C, then it will remain hidden unless... + + process$3.once('SIGINT', function () { + cursor.show(); + nextTick$1(function () { + process$3.kill(process$3.pid, 'SIGINT'); + }); + }); + } + /** + * Inherit from `Base.prototype`. + */ + + + inherits(Landing, base); + Landing.description = 'Unicode landing strip'; }); var jsonStream = createCommonjsModule(function (module, exports) { - /** - * @module JSONStream - */ - - /** - * Module dependencies. - */ - - var constants = runner.constants; - var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; - var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; - var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; - var EVENT_RUN_END = constants.EVENT_RUN_END; - /** - * Expose `JSONStream`. - */ - - module.exports = JSONStream; - /** - * Constructs a new `JSONStream` reporter instance. - * - * @public - * @class - * @memberof Mocha.reporters - * @extends Mocha.reporters.Base - * @param {Runner} runner - Instance triggers reporter actions. - * @param {Object} [options] - runner options - */ - - function JSONStream(runner, options) { - base.call(this, runner, options); - var self = this; - var total = runner.total; - runner.once(EVENT_RUN_BEGIN, function () { - writeEvent(['start', { - total: total - }]); - }); - runner.on(EVENT_TEST_PASS, function (test) { - writeEvent(['pass', clean(test)]); - }); - runner.on(EVENT_TEST_FAIL, function (test, err) { - test = clean(test); - test.err = err.message; - test.stack = err.stack || null; - writeEvent(['fail', test]); - }); - runner.once(EVENT_RUN_END, function () { - writeEvent(['end', self.stats]); - }); - } - /** - * Mocha event to be written to the output stream. - * @typedef {Array} JSONStream~MochaEvent - */ - - /** - * Writes Mocha event to reporter output stream. - * - * @private - * @param {JSONStream~MochaEvent} event - Mocha event to be output. - */ - - - function writeEvent(event) { - process$3.stdout.write(JSON.stringify(event) + '\n'); - } - /** - * Returns an object literal representation of `test` - * free of cyclic properties, etc. - * - * @private - * @param {Test} test - Instance used as data source. - * @return {Object} object containing pared-down test instance data - */ - - - function clean(test) { - return { - title: test.title, - fullTitle: test.fullTitle(), - file: test.file, - duration: test.duration, - currentRetry: test.currentRetry(), - speed: test.speed - }; - } - - JSONStream.description = 'newline delimited JSON events'; + /** + * @module JSONStream + */ + + /** + * Module dependencies. + */ + + var constants = runner.constants; + var EVENT_TEST_PASS = constants.EVENT_TEST_PASS; + var EVENT_TEST_FAIL = constants.EVENT_TEST_FAIL; + var EVENT_RUN_BEGIN = constants.EVENT_RUN_BEGIN; + var EVENT_RUN_END = constants.EVENT_RUN_END; + /** + * Expose `JSONStream`. + */ + + module.exports = JSONStream; + /** + * Constructs a new `JSONStream` reporter instance. + * + * @public + * @class + * @memberof Mocha.reporters + * @extends Mocha.reporters.Base + * @param {Runner} runner - Instance triggers reporter actions. + * @param {Object} [options] - runner options + */ + + function JSONStream(runner, options) { + base.call(this, runner, options); + var self = this; + var total = runner.total; + runner.once(EVENT_RUN_BEGIN, function () { + writeEvent(['start', { + total: total + }]); + }); + runner.on(EVENT_TEST_PASS, function (test) { + writeEvent(['pass', clean(test)]); + }); + runner.on(EVENT_TEST_FAIL, function (test, err) { + test = clean(test); + test.err = err.message; + test.stack = err.stack || null; + writeEvent(['fail', test]); + }); + runner.once(EVENT_RUN_END, function () { + writeEvent(['end', self.stats]); + }); + } + /** + * Mocha event to be written to the output stream. + * @typedef {Array} JSONStream~MochaEvent + */ + + /** + * Writes Mocha event to reporter output stream. + * + * @private + * @param {JSONStream~MochaEvent} event - Mocha event to be output. + */ + + + function writeEvent(event) { + process$3.stdout.write(JSON.stringify(event) + '\n'); + } + /** + * Returns an object literal representation of `test` + * free of cyclic properties, etc. + * + * @private + * @param {Test} test - Instance used as data source. + * @return {Object} object containing pared-down test instance data + */ + + + function clean(test) { + return { + title: test.title, + fullTitle: test.fullTitle(), + file: test.file, + duration: test.duration, + currentRetry: test.currentRetry(), + speed: test.speed + }; + } + + JSONStream.description = 'newline delimited JSON events'; }); var reporters = createCommonjsModule(function (module, exports) { - // for dynamic (try/catch) requires, which Browserify doesn't handle. - - exports.Base = exports.base = base; - exports.Dot = exports.dot = dot; - exports.Doc = exports.doc = doc; - exports.TAP = exports.tap = tap; - exports.JSON = exports.json = json; - exports.HTML = exports.html = html; - exports.List = exports.list = list; - exports.Min = exports.min = min; - exports.Spec = exports.spec = spec; - exports.Nyan = exports.nyan = nyan; - exports.XUnit = exports.xunit = xunit; - exports.Markdown = exports.markdown = markdown; - exports.Progress = exports.progress = progress; - exports.Landing = exports.landing = landing; - exports.JSONStream = exports['json-stream'] = jsonStream; + // for dynamic (try/catch) requires, which Browserify doesn't handle. + + exports.Base = exports.base = base; + exports.Dot = exports.dot = dot; + exports.Doc = exports.doc = doc; + exports.TAP = exports.tap = tap; + exports.JSON = exports.json = json; + exports.HTML = exports.html = html; + exports.List = exports.list = list; + exports.Min = exports.min = min; + exports.Spec = exports.spec = spec; + exports.Nyan = exports.nyan = nyan; + exports.XUnit = exports.xunit = xunit; + exports.Markdown = exports.markdown = markdown; + exports.Progress = exports.progress = progress; + exports.Landing = exports.landing = landing; + exports.JSONStream = exports['json-stream'] = jsonStream; }); var name = "mocha"; - var version = "9.0.1"; + var version = "9.0.2"; var homepage = "https://mochajs.org/"; var notifyLogo = "https://ibin.co/4QuRuGjXvl36.png"; var _package = { @@ -27476,9 +27591,9 @@ */ var isCapable = function isCapable() { - var hasNotificationSupport = ('Notification' in window); - var hasPromiseSupport = typeof Promise === 'function'; - return isBrowser() && hasNotificationSupport && hasPromiseSupport; + var hasNotificationSupport = ('Notification' in window); + var hasPromiseSupport = typeof Promise === 'function'; + return isBrowser() && hasNotificationSupport && hasPromiseSupport; }; /** * Implements browser notifications as a pseudo-reporter. @@ -27493,19 +27608,19 @@ var notify = function notify(runner) { - var promise = isPermitted(); - /** - * Attempt notification. - */ + var promise = isPermitted(); + /** + * Attempt notification. + */ - var sendNotification = function sendNotification() { - // If user hasn't responded yet... "No notification for you!" (Seinfeld) - Promise.race([promise, Promise.resolve(undefined)]).then(canNotify).then(function () { - display(runner); - })["catch"](notPermitted); - }; + var sendNotification = function sendNotification() { + // If user hasn't responded yet... "No notification for you!" (Seinfeld) + Promise.race([promise, Promise.resolve(undefined)]).then(canNotify).then(function () { + display(runner); + })["catch"](notPermitted); + }; - runner.once(EVENT_RUN_END$1, sendNotification); + runner.once(EVENT_RUN_END$1, sendNotification); }; /** * Checks if browser notification is permitted by user. @@ -27520,20 +27635,20 @@ function isPermitted() { - var permitted = { - granted: function allow() { - return Promise.resolve(true); - }, - denied: function deny() { - return Promise.resolve(false); - }, - "default": function ask() { - return Notification.requestPermission().then(function (permission) { - return permission === 'granted'; - }); - } - }; - return permitted[Notification.permission](); + var permitted = { + granted: function allow() { + return Promise.resolve(true); + }, + denied: function deny() { + return Promise.resolve(false); + }, + "default": function ask() { + return Notification.requestPermission().then(function (permission) { + return permission === 'granted'; + }); + } + }; + return permitted[Notification.permission](); } /** * @summary @@ -27556,13 +27671,13 @@ function canNotify(value) { - if (!value) { - var why = value === false ? 'blocked' : 'unacknowledged'; - var reason = 'not permitted by user (' + why + ')'; - return Promise.reject(new Error(reason)); - } + if (!value) { + var why = value === false ? 'blocked' : 'unacknowledged'; + var reason = 'not permitted by user (' + why + ')'; + return Promise.reject(new Error(reason)); + } - return Promise.resolve(); + return Promise.resolve(); } /** * Displays the notification. @@ -27573,43 +27688,43 @@ function display(runner) { - var stats = runner.stats; - var symbol = { - cross: "\u274C", - tick: "\u2705" - }; - var logo = require$$10.notifyLogo; - - var _message; - - var message; - var title; - - if (stats.failures) { - _message = stats.failures + ' of ' + stats.tests + ' tests failed'; - message = symbol.cross + ' ' + _message; - title = 'Failed'; - } else { - _message = stats.passes + ' tests passed in ' + stats.duration + 'ms'; - message = symbol.tick + ' ' + _message; - title = 'Passed'; - } // Send notification - - - var options = { - badge: logo, - body: message, - dir: 'ltr', - icon: logo, - lang: 'en-US', - name: 'mocha', - requireInteraction: false, - timestamp: Date$3.now() - }; - var notification = new Notification(title, options); // Autoclose after brief delay (makes various browsers act same) - - var FORCE_DURATION = 4000; - setTimeout$2(notification.close.bind(notification), FORCE_DURATION); + var stats = runner.stats; + var symbol = { + cross: "\u274C", + tick: "\u2705" + }; + var logo = require$$10.notifyLogo; + + var _message; + + var message; + var title; + + if (stats.failures) { + _message = stats.failures + ' of ' + stats.tests + ' tests failed'; + message = symbol.cross + ' ' + _message; + title = 'Failed'; + } else { + _message = stats.passes + ' tests passed in ' + stats.duration + 'ms'; + message = symbol.tick + ' ' + _message; + title = 'Passed'; + } // Send notification + + + var options = { + badge: logo, + body: message, + dir: 'ltr', + icon: logo, + lang: 'en-US', + name: 'mocha', + requireInteraction: false, + timestamp: Date$3.now() + }; + var notification = new Notification(title, options); // Autoclose after brief delay (makes various browsers act same) + + var FORCE_DURATION = 4000; + setTimeout$2(notification.close.bind(notification), FORCE_DURATION); } /** * As notifications are tangential to our purpose, just log the error. @@ -27620,12 +27735,12 @@ function notPermitted(err) { - console.error('notification error:', err.message); + console.error('notification error:', err.message); } var growl = { - isCapable: isCapable, - notify: notify + isCapable: isCapable, + notify: notify }; var diff = true; @@ -27647,9 +27762,9 @@ timeout: timeout, ui: ui, "watch-ignore": [ - "node_modules", - ".git" - ] + "node_modules", + ".git" + ] }; var mocharc$2 = /*#__PURE__*/Object.freeze({ @@ -27702,44 +27817,44 @@ */ function createStatsCollector(runner) { - /** - * @type StatsCollector - */ - var stats = { - suites: 0, - tests: 0, - passes: 0, - pending: 0, - failures: 0 - }; - - if (!runner) { - throw new TypeError('Missing runner argument'); - } - - runner.stats = stats; - runner.once(EVENT_RUN_BEGIN, function () { - stats.start = new Date$2(); - }); - runner.on(EVENT_SUITE_BEGIN, function (suite) { - suite.root || stats.suites++; - }); - runner.on(EVENT_TEST_PASS, function () { - stats.passes++; - }); - runner.on(EVENT_TEST_FAIL, function () { - stats.failures++; - }); - runner.on(EVENT_TEST_PENDING, function () { - stats.pending++; - }); - runner.on(EVENT_TEST_END, function () { - stats.tests++; - }); - runner.once(EVENT_RUN_END, function () { - stats.end = new Date$2(); - stats.duration = stats.end - stats.start; - }); + /** + * @type StatsCollector + */ + var stats = { + suites: 0, + tests: 0, + passes: 0, + pending: 0, + failures: 0 + }; + + if (!runner) { + throw new TypeError('Missing runner argument'); + } + + runner.stats = stats; + runner.once(EVENT_RUN_BEGIN, function () { + stats.start = new Date$2(); + }); + runner.on(EVENT_SUITE_BEGIN, function (suite) { + suite.root || stats.suites++; + }); + runner.on(EVENT_TEST_PASS, function () { + stats.passes++; + }); + runner.on(EVENT_TEST_FAIL, function () { + stats.failures++; + }); + runner.on(EVENT_TEST_PENDING, function () { + stats.pending++; + }); + runner.on(EVENT_TEST_END, function () { + stats.tests++; + }); + runner.once(EVENT_RUN_END, function () { + stats.end = new Date$2(); + stats.duration = stats.end - stats.start; + }); } var statsCollector = createStatsCollector; @@ -27759,13 +27874,13 @@ */ function Test(title, fn) { - if (!isString(title)) { - throw createInvalidArgumentTypeError('Test argument "title" should be a string. Received type "' + _typeof(title) + '"', 'title', 'string'); - } + if (!isString(title)) { + throw createInvalidArgumentTypeError('Test argument "title" should be a string. Received type "' + _typeof(title) + '"', 'title', 'string'); + } - this.type = 'test'; - runnable.call(this, title, fn); - this.reset(); + this.type = 'test'; + runnable.call(this, title, fn); + this.reset(); } /** * Inherit from `Runnable.prototype`. @@ -27778,9 +27893,9 @@ */ Test.prototype.reset = function () { - runnable.prototype.reset.call(this); - this.pending = !this.fn; - delete this.state; + runnable.prototype.reset.call(this); + this.pending = !this.fn; + delete this.state; }; /** * Set or get retried test @@ -27790,11 +27905,11 @@ Test.prototype.retriedTest = function (n) { - if (!arguments.length) { - return this._retriedTest; - } + if (!arguments.length) { + return this._retriedTest; + } - this._retriedTest = n; + this._retriedTest = n; }; /** * Add test to the list of tests marked `only`. @@ -27804,21 +27919,21 @@ Test.prototype.markOnly = function () { - this.parent.appendOnlyTest(this); + this.parent.appendOnlyTest(this); }; Test.prototype.clone = function () { - var test = new Test(this.title, this.fn); - test.timeout(this.timeout()); - test.slow(this.slow()); - test.retries(this.retries()); - test.currentRetry(this.currentRetry()); - test.retriedTest(this.retriedTest() || this); - test.globals(this.globals()); - test.parent = this.parent; - test.file = this.file; - test.ctx = this.ctx; - return test; + var test = new Test(this.title, this.fn); + test.timeout(this.timeout()); + test.slow(this.slow()); + test.retries(this.retries()); + test.currentRetry(this.currentRetry()); + test.retriedTest(this.retriedTest() || this); + test.globals(this.globals()); + test.parent = this.parent; + test.file = this.file; + test.ctx = this.ctx; + return test; }; /** * Returns an minimal object suitable for transmission over IPC. @@ -27829,30 +27944,30 @@ Test.prototype.serialize = function serialize() { - return _defineProperty({ - $$currentRetry: this._currentRetry, - $$fullTitle: this.fullTitle(), - $$isPending: this.pending, - $$retriedTest: this._retriedTest || null, - $$slow: this._slow, - $$titlePath: this.titlePath(), - body: this.body, - duration: this.duration, - err: this.err, - parent: _defineProperty({ - $$fullTitle: this.parent.fullTitle() - }, MOCHA_ID_PROP_NAME, this.parent.id), - speed: this.speed, - state: this.state, - title: this.title, - type: this.type, - file: this.file - }, MOCHA_ID_PROP_NAME, this.id); + return _defineProperty({ + $$currentRetry: this._currentRetry, + $$fullTitle: this.fullTitle(), + $$isPending: this.pending, + $$retriedTest: this._retriedTest || null, + $$slow: this._slow, + $$titlePath: this.titlePath(), + body: this.body, + duration: this.duration, + err: this.err, + parent: _defineProperty({ + $$fullTitle: this.parent.fullTitle() + }, MOCHA_ID_PROP_NAME, this.parent.id), + speed: this.speed, + state: this.state, + title: this.title, + type: this.type, + file: this.file + }, MOCHA_ID_PROP_NAME, this.id); }; /** @module interfaces/common - */ + */ var createMissingArgumentError = errors.createMissingArgumentError; @@ -27869,163 +27984,163 @@ */ var common = function common(suites, context, mocha) { - /** - * Check if the suite should be tested. - * - * @private - * @param {Suite} suite - suite to check - * @returns {boolean} - */ - function shouldBeTested(suite) { - return !mocha.options.grep || mocha.options.grep && mocha.options.grep.test(suite.fullTitle()) && !mocha.options.invert; - } - - return { - /** - * This is only present if flag --delay is passed into Mocha. It triggers - * root suite execution. - * - * @param {Suite} suite The root suite. - * @return {Function} A function which runs the root suite - */ - runWithSuite: function runWithSuite(suite) { - return function run() { - suite.run(); - }; - }, - - /** - * Execute before running tests. - * - * @param {string} name - * @param {Function} fn - */ - before: function before(name, fn) { - suites[0].beforeAll(name, fn); - }, - - /** - * Execute after running tests. - * - * @param {string} name - * @param {Function} fn - */ - after: function after(name, fn) { - suites[0].afterAll(name, fn); - }, - - /** - * Execute before each test case. - * - * @param {string} name - * @param {Function} fn - */ - beforeEach: function beforeEach(name, fn) { - suites[0].beforeEach(name, fn); - }, - - /** - * Execute after each test case. - * - * @param {string} name - * @param {Function} fn - */ - afterEach: function afterEach(name, fn) { - suites[0].afterEach(name, fn); - }, - suite: { - /** - * Create an exclusive Suite; convenience function - * See docstring for create() below. - * - * @param {Object} opts - * @returns {Suite} - */ - only: function only(opts) { - if (mocha.options.forbidOnly) { - throw createForbiddenExclusivityError(mocha); - } - - opts.isOnly = true; - return this.create(opts); - }, - - /** - * Create a Suite, but skip it; convenience function - * See docstring for create() below. - * - * @param {Object} opts - * @returns {Suite} - */ - skip: function skip(opts) { - opts.pending = true; - return this.create(opts); - }, - - /** - * Creates a suite. - * - * @param {Object} opts Options - * @param {string} opts.title Title of Suite - * @param {Function} [opts.fn] Suite Function (not always applicable) - * @param {boolean} [opts.pending] Is Suite pending? - * @param {string} [opts.file] Filepath where this Suite resides - * @param {boolean} [opts.isOnly] Is Suite exclusive? - * @returns {Suite} - */ - create: function create(opts) { - var suite$1 = suite.create(suites[0], opts.title); - suite$1.pending = Boolean(opts.pending); - suite$1.file = opts.file; - suites.unshift(suite$1); - - if (opts.isOnly) { - suite$1.markOnly(); - } - - if (suite$1.pending && mocha.options.forbidPending && shouldBeTested(suite$1)) { - throw createUnsupportedError('Pending test forbidden'); - } - - if (typeof opts.fn === 'function') { - opts.fn.call(suite$1); - suites.shift(); - } else if (typeof opts.fn === 'undefined' && !suite$1.pending) { - throw createMissingArgumentError('Suite "' + suite$1.fullTitle() + '" was defined but no callback was supplied. ' + 'Supply a callback or explicitly skip the suite.', 'callback', 'function'); - } else if (!opts.fn && suite$1.pending) { - suites.shift(); - } - - return suite$1; - } - }, - test: { - /** - * Exclusive test-case. - * - * @param {Object} mocha - * @param {Function} test - * @returns {*} - */ - only: function only(mocha, test) { - if (mocha.options.forbidOnly) { - throw createForbiddenExclusivityError(mocha); - } - - test.markOnly(); - return test; - }, - - /** - * Pending test case. - * - * @param {string} title - */ - skip: function skip(title) { - context.test(title); - } - } - }; + /** + * Check if the suite should be tested. + * + * @private + * @param {Suite} suite - suite to check + * @returns {boolean} + */ + function shouldBeTested(suite) { + return !mocha.options.grep || mocha.options.grep && mocha.options.grep.test(suite.fullTitle()) && !mocha.options.invert; + } + + return { + /** + * This is only present if flag --delay is passed into Mocha. It triggers + * root suite execution. + * + * @param {Suite} suite The root suite. + * @return {Function} A function which runs the root suite + */ + runWithSuite: function runWithSuite(suite) { + return function run() { + suite.run(); + }; + }, + + /** + * Execute before running tests. + * + * @param {string} name + * @param {Function} fn + */ + before: function before(name, fn) { + suites[0].beforeAll(name, fn); + }, + + /** + * Execute after running tests. + * + * @param {string} name + * @param {Function} fn + */ + after: function after(name, fn) { + suites[0].afterAll(name, fn); + }, + + /** + * Execute before each test case. + * + * @param {string} name + * @param {Function} fn + */ + beforeEach: function beforeEach(name, fn) { + suites[0].beforeEach(name, fn); + }, + + /** + * Execute after each test case. + * + * @param {string} name + * @param {Function} fn + */ + afterEach: function afterEach(name, fn) { + suites[0].afterEach(name, fn); + }, + suite: { + /** + * Create an exclusive Suite; convenience function + * See docstring for create() below. + * + * @param {Object} opts + * @returns {Suite} + */ + only: function only(opts) { + if (mocha.options.forbidOnly) { + throw createForbiddenExclusivityError(mocha); + } + + opts.isOnly = true; + return this.create(opts); + }, + + /** + * Create a Suite, but skip it; convenience function + * See docstring for create() below. + * + * @param {Object} opts + * @returns {Suite} + */ + skip: function skip(opts) { + opts.pending = true; + return this.create(opts); + }, + + /** + * Creates a suite. + * + * @param {Object} opts Options + * @param {string} opts.title Title of Suite + * @param {Function} [opts.fn] Suite Function (not always applicable) + * @param {boolean} [opts.pending] Is Suite pending? + * @param {string} [opts.file] Filepath where this Suite resides + * @param {boolean} [opts.isOnly] Is Suite exclusive? + * @returns {Suite} + */ + create: function create(opts) { + var suite$1 = suite.create(suites[0], opts.title); + suite$1.pending = Boolean(opts.pending); + suite$1.file = opts.file; + suites.unshift(suite$1); + + if (opts.isOnly) { + suite$1.markOnly(); + } + + if (suite$1.pending && mocha.options.forbidPending && shouldBeTested(suite$1)) { + throw createUnsupportedError('Pending test forbidden'); + } + + if (typeof opts.fn === 'function') { + opts.fn.call(suite$1); + suites.shift(); + } else if (typeof opts.fn === 'undefined' && !suite$1.pending) { + throw createMissingArgumentError('Suite "' + suite$1.fullTitle() + '" was defined but no callback was supplied. ' + 'Supply a callback or explicitly skip the suite.', 'callback', 'function'); + } else if (!opts.fn && suite$1.pending) { + suites.shift(); + } + + return suite$1; + } + }, + test: { + /** + * Exclusive test-case. + * + * @param {Object} mocha + * @param {Function} test + * @returns {*} + */ + only: function only(mocha, test) { + if (mocha.options.forbidOnly) { + throw createForbiddenExclusivityError(mocha); + } + + test.markOnly(); + return test; + }, + + /** + * Pending test case. + * + * @param {string} title + */ + skip: function skip(title) { + context.test(title); + } + } + }; }; var EVENT_FILE_PRE_REQUIRE$2 = suite.constants.EVENT_FILE_PRE_REQUIRE; @@ -28048,87 +28163,87 @@ */ var bdd$1 = function bddInterface(suite) { - var suites = [suite]; - suite.on(EVENT_FILE_PRE_REQUIRE$2, function (context, file, mocha) { - var common$1 = common(suites, context, mocha); - context.before = common$1.before; - context.after = common$1.after; - context.beforeEach = common$1.beforeEach; - context.afterEach = common$1.afterEach; - context.run = mocha.options.delay && common$1.runWithSuite(suite); - /** - * Describe a "suite" with the given `title` - * and callback `fn` containing nested suites - * and/or tests. - */ - - context.describe = context.context = function (title, fn) { - return common$1.suite.create({ - title: title, - file: file, - fn: fn - }); - }; - /** - * Pending describe. - */ - - - context.xdescribe = context.xcontext = context.describe.skip = function (title, fn) { - return common$1.suite.skip({ - title: title, - file: file, - fn: fn - }); - }; - /** - * Exclusive suite. - */ - - - context.describe.only = function (title, fn) { - return common$1.suite.only({ - title: title, - file: file, - fn: fn - }); - }; - /** - * Describe a specification or test-case - * with the given `title` and callback `fn` - * acting as a thunk. - */ - - - context.it = context.specify = function (title, fn) { - var suite = suites[0]; - - if (suite.isPending()) { - fn = null; - } - - var test$1 = new test(title, fn); - test$1.file = file; - suite.addTest(test$1); - return test$1; - }; - /** - * Exclusive test-case. - */ - - - context.it.only = function (title, fn) { - return common$1.test.only(mocha, context.it(title, fn)); - }; - /** - * Pending test case. - */ - - - context.xit = context.xspecify = context.it.skip = function (title) { - return context.it(title); - }; - }); + var suites = [suite]; + suite.on(EVENT_FILE_PRE_REQUIRE$2, function (context, file, mocha) { + var common$1 = common(suites, context, mocha); + context.before = common$1.before; + context.after = common$1.after; + context.beforeEach = common$1.beforeEach; + context.afterEach = common$1.afterEach; + context.run = mocha.options.delay && common$1.runWithSuite(suite); + /** + * Describe a "suite" with the given `title` + * and callback `fn` containing nested suites + * and/or tests. + */ + + context.describe = context.context = function (title, fn) { + return common$1.suite.create({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Pending describe. + */ + + + context.xdescribe = context.xcontext = context.describe.skip = function (title, fn) { + return common$1.suite.skip({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Exclusive suite. + */ + + + context.describe.only = function (title, fn) { + return common$1.suite.only({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Describe a specification or test-case + * with the given `title` and callback `fn` + * acting as a thunk. + */ + + + context.it = context.specify = function (title, fn) { + var suite = suites[0]; + + if (suite.isPending()) { + fn = null; + } + + var test$1 = new test(title, fn); + test$1.file = file; + suite.addTest(test$1); + return test$1; + }; + /** + * Exclusive test-case. + */ + + + context.it.only = function (title, fn) { + return common$1.test.only(mocha, context.it(title, fn)); + }; + /** + * Pending test case. + */ + + + context.xit = context.xspecify = context.it.skip = function (title) { + return context.it(title); + }; + }); }; var description$3 = 'BDD or RSpec style [default]'; @@ -28162,79 +28277,79 @@ */ var tdd$1 = function tdd(suite) { - var suites = [suite]; - suite.on(EVENT_FILE_PRE_REQUIRE$1, function (context, file, mocha) { - var common$1 = common(suites, context, mocha); - context.setup = common$1.beforeEach; - context.teardown = common$1.afterEach; - context.suiteSetup = common$1.before; - context.suiteTeardown = common$1.after; - context.run = mocha.options.delay && common$1.runWithSuite(suite); - /** - * Describe a "suite" with the given `title` and callback `fn` containing - * nested suites and/or tests. - */ - - context.suite = function (title, fn) { - return common$1.suite.create({ - title: title, - file: file, - fn: fn - }); - }; - /** - * Pending suite. - */ - - - context.suite.skip = function (title, fn) { - return common$1.suite.skip({ - title: title, - file: file, - fn: fn - }); - }; - /** - * Exclusive test-case. - */ - - - context.suite.only = function (title, fn) { - return common$1.suite.only({ - title: title, - file: file, - fn: fn - }); - }; - /** - * Describe a specification or test-case with the given `title` and - * callback `fn` acting as a thunk. - */ - - - context.test = function (title, fn) { - var suite = suites[0]; - - if (suite.isPending()) { - fn = null; - } - - var test$1 = new test(title, fn); - test$1.file = file; - suite.addTest(test$1); - return test$1; - }; - /** - * Exclusive test-case. - */ - - - context.test.only = function (title, fn) { - return common$1.test.only(mocha, context.test(title, fn)); - }; - - context.test.skip = common$1.test.skip; - }); + var suites = [suite]; + suite.on(EVENT_FILE_PRE_REQUIRE$1, function (context, file, mocha) { + var common$1 = common(suites, context, mocha); + context.setup = common$1.beforeEach; + context.teardown = common$1.afterEach; + context.suiteSetup = common$1.before; + context.suiteTeardown = common$1.after; + context.run = mocha.options.delay && common$1.runWithSuite(suite); + /** + * Describe a "suite" with the given `title` and callback `fn` containing + * nested suites and/or tests. + */ + + context.suite = function (title, fn) { + return common$1.suite.create({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Pending suite. + */ + + + context.suite.skip = function (title, fn) { + return common$1.suite.skip({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Exclusive test-case. + */ + + + context.suite.only = function (title, fn) { + return common$1.suite.only({ + title: title, + file: file, + fn: fn + }); + }; + /** + * Describe a specification or test-case with the given `title` and + * callback `fn` acting as a thunk. + */ + + + context.test = function (title, fn) { + var suite = suites[0]; + + if (suite.isPending()) { + fn = null; + } + + var test$1 = new test(title, fn); + test$1.file = file; + suite.addTest(test$1); + return test$1; + }; + /** + * Exclusive test-case. + */ + + + context.test.only = function (title, fn) { + return common$1.test.only(mocha, context.test(title, fn)); + }; + + context.test.skip = common$1.test.skip; + }); }; var description$2 = 'traditional "suite"/"test" instead of BDD\'s "describe"/"it"'; @@ -28268,69 +28383,69 @@ */ var qunit$1 = function qUnitInterface(suite) { - var suites = [suite]; - suite.on(EVENT_FILE_PRE_REQUIRE, function (context, file, mocha) { - var common$1 = common(suites, context, mocha); - context.before = common$1.before; - context.after = common$1.after; - context.beforeEach = common$1.beforeEach; - context.afterEach = common$1.afterEach; - context.run = mocha.options.delay && common$1.runWithSuite(suite); - /** - * Describe a "suite" with the given `title`. - */ - - context.suite = function (title) { - if (suites.length > 1) { - suites.shift(); - } - - return common$1.suite.create({ - title: title, - file: file, - fn: false - }); - }; - /** - * Exclusive Suite. - */ - - - context.suite.only = function (title) { - if (suites.length > 1) { - suites.shift(); - } - - return common$1.suite.only({ - title: title, - file: file, - fn: false - }); - }; - /** - * Describe a specification or test-case - * with the given `title` and callback `fn` - * acting as a thunk. - */ - - - context.test = function (title, fn) { - var test$1 = new test(title, fn); - test$1.file = file; - suites[0].addTest(test$1); - return test$1; - }; - /** - * Exclusive test-case. - */ - - - context.test.only = function (title, fn) { - return common$1.test.only(mocha, context.test(title, fn)); - }; - - context.test.skip = common$1.test.skip; - }); + var suites = [suite]; + suite.on(EVENT_FILE_PRE_REQUIRE, function (context, file, mocha) { + var common$1 = common(suites, context, mocha); + context.before = common$1.before; + context.after = common$1.after; + context.beforeEach = common$1.beforeEach; + context.afterEach = common$1.afterEach; + context.run = mocha.options.delay && common$1.runWithSuite(suite); + /** + * Describe a "suite" with the given `title`. + */ + + context.suite = function (title) { + if (suites.length > 1) { + suites.shift(); + } + + return common$1.suite.create({ + title: title, + file: file, + fn: false + }); + }; + /** + * Exclusive Suite. + */ + + + context.suite.only = function (title) { + if (suites.length > 1) { + suites.shift(); + } + + return common$1.suite.only({ + title: title, + file: file, + fn: false + }); + }; + /** + * Describe a specification or test-case + * with the given `title` and callback `fn` + * acting as a thunk. + */ + + + context.test = function (title, fn) { + var test$1 = new test(title, fn); + test$1.file = file; + suites[0].addTest(test$1); + return test$1; + }; + /** + * Exclusive test-case. + */ + + + context.test.only = function (title, fn) { + return common$1.test.only(mocha, context.test(title, fn)); + }; + + context.test.skip = common$1.test.skip; + }); }; var description$1 = 'QUnit style'; @@ -28356,46 +28471,46 @@ var exports$2 = function exports(suite$1) { - var suites = [suite$1]; - suite$1.on(suite.constants.EVENT_FILE_REQUIRE, visit); - - function visit(obj, file) { - var suite$1; - - for (var key in obj) { - if (typeof obj[key] === 'function') { - var fn = obj[key]; - - switch (key) { - case 'before': - suites[0].beforeAll(fn); - break; - - case 'after': - suites[0].afterAll(fn); - break; - - case 'beforeEach': - suites[0].beforeEach(fn); - break; - - case 'afterEach': - suites[0].afterEach(fn); - break; - - default: - var test$1 = new test(key, fn); - test$1.file = file; - suites[0].addTest(test$1); - } - } else { - suite$1 = suite.create(suites[0], key); - suites.unshift(suite$1); - visit(obj[key], file); - suites.shift(); - } - } - } + var suites = [suite$1]; + suite$1.on(suite.constants.EVENT_FILE_REQUIRE, visit); + + function visit(obj, file) { + var suite$1; + + for (var key in obj) { + if (typeof obj[key] === 'function') { + var fn = obj[key]; + + switch (key) { + case 'before': + suites[0].beforeAll(fn); + break; + + case 'after': + suites[0].afterAll(fn); + break; + + case 'beforeEach': + suites[0].beforeEach(fn); + break; + + case 'afterEach': + suites[0].afterEach(fn); + break; + + default: + var test$1 = new test(key, fn); + test$1.file = file; + suites[0].addTest(test$1); + } + } else { + suite$1 = suite.create(suites[0], key); + suites.unshift(suite$1); + visit(obj[key], file); + suites.shift(); + } + } + } }; var description = 'Node.js module ("exports") style'; @@ -28406,10 +28521,10 @@ var qunit = qunit$1; var exports$1 = exports$2; var interfaces = { - bdd: bdd, - tdd: tdd, - qunit: qunit, - exports: exports$1 + bdd: bdd, + tdd: tdd, + qunit: qunit, + exports: exports$1 }; /** @@ -28438,12 +28553,12 @@ Context.prototype.runnable = function (runnable) { - if (!arguments.length) { - return this._runnable; - } + if (!arguments.length) { + return this._runnable; + } - this.test = this._runnable = runnable; - return this; + this.test = this._runnable = runnable; + return this; }; /** * Set or get test timeout `ms`. @@ -28455,12 +28570,12 @@ Context.prototype.timeout = function (ms) { - if (!arguments.length) { - return this.runnable().timeout(); - } + if (!arguments.length) { + return this.runnable().timeout(); + } - this.runnable().timeout(ms); - return this; + this.runnable().timeout(ms); + return this; }; /** * Set or get test slowness threshold `ms`. @@ -28472,12 +28587,12 @@ Context.prototype.slow = function (ms) { - if (!arguments.length) { - return this.runnable().slow(); - } + if (!arguments.length) { + return this.runnable().slow(); + } - this.runnable().slow(ms); - return this; + this.runnable().slow(ms); + return this; }; /** * Mark a test as skipped. @@ -28488,7 +28603,7 @@ Context.prototype.skip = function () { - this.runnable().skip(); + this.runnable().skip(); }; /** * Set or get a number of allowed retries on failed tests @@ -28500,1623 +28615,1623 @@ Context.prototype.retries = function (n) { - if (!arguments.length) { - return this.runnable().retries(); - } + if (!arguments.length) { + return this.runnable().retries(); + } - this.runnable().retries(n); - return this; + this.runnable().retries(n); + return this; }; var mocharc = getCjsExportFromNamespace(mocharc$2); var mocha$1 = createCommonjsModule(function (module, exports) { - /*! + /*! * mocha * Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ - var esmUtils = utils.supportsEsModules(true) ? require$$11 : undefined; - var warn = errors.warn, - createInvalidReporterError = errors.createInvalidReporterError, - createInvalidInterfaceError = errors.createInvalidInterfaceError, - createMochaInstanceAlreadyDisposedError = errors.createMochaInstanceAlreadyDisposedError, - createMochaInstanceAlreadyRunningError = errors.createMochaInstanceAlreadyRunningError, - createUnsupportedError = errors.createUnsupportedError; - var _Suite$constants = suite.constants, - EVENT_FILE_PRE_REQUIRE = _Suite$constants.EVENT_FILE_PRE_REQUIRE, - EVENT_FILE_POST_REQUIRE = _Suite$constants.EVENT_FILE_POST_REQUIRE, - EVENT_FILE_REQUIRE = _Suite$constants.EVENT_FILE_REQUIRE; - var debug = browser('mocha:mocha'); - exports = module.exports = Mocha; - /** - * A Mocha instance is a finite state machine. - * These are the states it can be in. - * @private - */ - - var mochaStates = utils.defineConstants({ - /** - * Initial state of the mocha instance - * @private - */ - INIT: 'init', - - /** - * Mocha instance is running tests - * @private - */ - RUNNING: 'running', - - /** - * Mocha instance is done running tests and references to test functions and hooks are cleaned. - * You can reset this state by unloading the test files. - * @private - */ - REFERENCES_CLEANED: 'referencesCleaned', - - /** - * Mocha instance is disposed and can no longer be used. - * @private - */ - DISPOSED: 'disposed' - }); - /** - * To require local UIs and reporters when running in node. - */ - - if (!utils.isBrowser() && typeof module.paths !== 'undefined') { - var cwd = utils.cwd(); - module.paths.push(cwd, path.join(cwd, 'node_modules')); - } - /** - * Expose internals. - * @private - */ - - - exports.utils = utils; - exports.interfaces = interfaces; - /** - * @public - * @memberof Mocha - */ - - exports.reporters = reporters; - exports.Runnable = runnable; - exports.Context = context; - /** - * - * @memberof Mocha - */ - - exports.Runner = runner; - exports.Suite = suite; - exports.Hook = hook; - exports.Test = test; - var currentContext; - - exports.afterEach = function () { - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - return (currentContext.afterEach || currentContext.teardown).apply(this, args); - }; - - exports.after = function () { - for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { - args[_key2] = arguments[_key2]; - } - - return (currentContext.after || currentContext.suiteTeardown).apply(this, args); - }; - - exports.beforeEach = function () { - for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { - args[_key3] = arguments[_key3]; - } - - return (currentContext.beforeEach || currentContext.setup).apply(this, args); - }; - - exports.before = function () { - for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { - args[_key4] = arguments[_key4]; - } - - return (currentContext.before || currentContext.suiteSetup).apply(this, args); - }; - - exports.describe = function () { - for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) { - args[_key5] = arguments[_key5]; - } - - return (currentContext.describe || currentContext.suite).apply(this, args); - }; - - exports.describe.only = function () { - for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) { - args[_key6] = arguments[_key6]; - } - - return (currentContext.describe || currentContext.suite).only.apply(this, args); - }; - - exports.describe.skip = function () { - for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) { - args[_key7] = arguments[_key7]; - } - - return (currentContext.describe || currentContext.suite).skip.apply(this, args); - }; - - exports.it = function () { - for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) { - args[_key8] = arguments[_key8]; - } - - return (currentContext.it || currentContext.test).apply(this, args); - }; - - exports.it.only = function () { - for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) { - args[_key9] = arguments[_key9]; - } - - return (currentContext.it || currentContext.test).only.apply(this, args); - }; - - exports.it.skip = function () { - for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) { - args[_key10] = arguments[_key10]; - } - - return (currentContext.it || currentContext.test).skip.apply(this, args); - }; - - exports.xdescribe = exports.describe.skip; - exports.xit = exports.it.skip; - exports.setup = exports.beforeEach; - exports.suiteSetup = exports.before; - exports.suiteTeardown = exports.after; - exports.suite = exports.describe; - exports.teardown = exports.afterEach; - exports.test = exports.it; - - exports.run = function () { - for (var _len11 = arguments.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) { - args[_key11] = arguments[_key11]; - } - - return currentContext.run.apply(this, args); - }; - /** - * Constructs a new Mocha instance with `options`. - * - * @public - * @class Mocha - * @param {Object} [options] - Settings object. - * @param {boolean} [options.allowUncaught] - Propagate uncaught errors? - * @param {boolean} [options.asyncOnly] - Force `done` callback or promise? - * @param {boolean} [options.bail] - Bail after first test failure? - * @param {boolean} [options.checkLeaks] - Check for global variable leaks? - * @param {boolean} [options.color] - Color TTY output from reporter? - * @param {boolean} [options.delay] - Delay root suite execution? - * @param {boolean} [options.diff] - Show diff on failure? - * @param {boolean} [options.dryRun] - Report tests without running them? - * @param {string} [options.fgrep] - Test filter given string. - * @param {boolean} [options.forbidOnly] - Tests marked `only` fail the suite? - * @param {boolean} [options.forbidPending] - Pending tests fail the suite? - * @param {boolean} [options.fullTrace] - Full stacktrace upon failure? - * @param {string[]} [options.global] - Variables expected in global scope. - * @param {RegExp|string} [options.grep] - Test filter given regular expression. - * @param {boolean} [options.growl] - Enable desktop notifications? - * @param {boolean} [options.inlineDiffs] - Display inline diffs? - * @param {boolean} [options.invert] - Invert test filter matches? - * @param {boolean} [options.noHighlighting] - Disable syntax highlighting? - * @param {string|constructor} [options.reporter] - Reporter name or constructor. - * @param {Object} [options.reporterOption] - Reporter settings object. - * @param {number} [options.retries] - Number of times to retry failed tests. - * @param {number} [options.slow] - Slow threshold value. - * @param {number|string} [options.timeout] - Timeout threshold value. - * @param {string} [options.ui] - Interface name. - * @param {boolean} [options.parallel] - Run jobs in parallel. - * @param {number} [options.jobs] - Max number of worker processes for parallel runs. - * @param {MochaRootHookObject} [options.rootHooks] - Hooks to bootstrap the root suite with. - * @param {string[]} [options.require] - Pathname of `rootHooks` plugin for parallel runs. - * @param {boolean} [options.isWorker] - Should be `true` if `Mocha` process is running in a worker process. - */ - - - function Mocha() { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - options = _objectSpread2(_objectSpread2({}, mocharc), options); - this.files = []; - this.options = options; // root suite - - this.suite = new exports.Suite('', new exports.Context(), true); - this._cleanReferencesAfterRun = true; - this._state = mochaStates.INIT; - this.grep(options.grep).fgrep(options.fgrep).ui(options.ui).reporter(options.reporter, options.reporterOption || options.reporterOptions // for backwards compability - ).slow(options.slow).global(options.global); // this guard exists because Suite#timeout does not consider `undefined` to be valid input - - if (typeof options.timeout !== 'undefined') { - this.timeout(options.timeout === false ? 0 : options.timeout); - } - - if ('retries' in options) { - this.retries(options.retries); - } - - ['allowUncaught', 'asyncOnly', 'bail', 'checkLeaks', 'color', 'delay', 'diff', 'dryRun', 'forbidOnly', 'forbidPending', 'fullTrace', 'growl', 'inlineDiffs', 'invert'].forEach(function (opt) { - if (options[opt]) { - this[opt](); - } - }, this); - - if (options.rootHooks) { - this.rootHooks(options.rootHooks); - } - /** - * The class which we'll instantiate in {@link Mocha#run}. Defaults to - * {@link Runner} in serial mode; changes in parallel mode. - * @memberof Mocha - * @private - */ - - - this._runnerClass = exports.Runner; - /** - * Whether or not to call {@link Mocha#loadFiles} implicitly when calling - * {@link Mocha#run}. If this is `true`, then it's up to the consumer to call - * {@link Mocha#loadFiles} _or_ {@link Mocha#loadFilesAsync}. - * @private - * @memberof Mocha - */ - - this._lazyLoadFiles = false; - /** - * It's useful for a Mocha instance to know if it's running in a worker process. - * We could derive this via other means, but it's helpful to have a flag to refer to. - * @memberof Mocha - * @private - */ - - this.isWorker = Boolean(options.isWorker); - this.globalSetup(options.globalSetup).globalTeardown(options.globalTeardown).enableGlobalSetup(options.enableGlobalSetup).enableGlobalTeardown(options.enableGlobalTeardown); - - if (options.parallel && (typeof options.jobs === 'undefined' || options.jobs > 1)) { - debug('attempting to enable parallel mode'); - this.parallelMode(true); - } - } - /** - * Enables or disables bailing on the first failure. - * - * @public - * @see [CLI option](../#-bail-b) - * @param {boolean} [bail=true] - Whether to bail on first error. - * @returns {Mocha} this - * @chainable - */ - - - Mocha.prototype.bail = function (bail) { - this.suite.bail(bail !== false); - return this; - }; - /** - * @summary - * Adds `file` to be loaded for execution. - * - * @description - * Useful for generic setup code that must be included within test suite. - * - * @public - * @see [CLI option](../#-file-filedirectoryglob) - * @param {string} file - Pathname of file to be loaded. - * @returns {Mocha} this - * @chainable - */ - - - Mocha.prototype.addFile = function (file) { - this.files.push(file); - return this; - }; - /** - * Sets reporter to `reporter`, defaults to "spec". - * - * @public - * @see [CLI option](../#-reporter-name-r-name) - * @see [Reporters](../#reporters) - * @param {String|Function} reporterName - Reporter name or constructor. - * @param {Object} [reporterOptions] - Options used to configure the reporter. - * @returns {Mocha} this - * @chainable - * @throws {Error} if requested reporter cannot be loaded - * @example - * - * // Use XUnit reporter and direct its output to file - * mocha.reporter('xunit', { output: '/path/to/testspec.xunit.xml' }); - */ - - - Mocha.prototype.reporter = function (reporterName, reporterOptions) { - if (typeof reporterName === 'function') { - this._reporter = reporterName; - } else { - reporterName = reporterName || 'spec'; - var reporter; // Try to load a built-in reporter. - - if (reporters[reporterName]) { - reporter = reporters[reporterName]; - } // Try to load reporters from process.cwd() and node_modules - - - if (!reporter) { - try { - reporter = commonjsRequire(reporterName); - } catch (err) { - if (err.code === 'MODULE_NOT_FOUND') { - // Try to load reporters from a path (absolute or relative) - try { - reporter = commonjsRequire(path.resolve(utils.cwd(), reporterName)); - } catch (_err) { - _err.code === 'MODULE_NOT_FOUND' ? warn("'".concat(reporterName, "' reporter not found")) : warn("'".concat(reporterName, "' reporter blew up with error:\n ").concat(err.stack)); - } - } else { - warn("'".concat(reporterName, "' reporter blew up with error:\n ").concat(err.stack)); - } - } - } - - if (!reporter) { - throw createInvalidReporterError("invalid reporter '".concat(reporterName, "'"), reporterName); - } - - this._reporter = reporter; - } - - this.options.reporterOption = reporterOptions; // alias option name is used in public reporters xunit/tap/progress - - this.options.reporterOptions = reporterOptions; - return this; - }; - /** - * Sets test UI `name`, defaults to "bdd". - * - * @public - * @see [CLI option](../#-ui-name-u-name) - * @see [Interface DSLs](../#interfaces) - * @param {string|Function} [ui=bdd] - Interface name or class. - * @returns {Mocha} this - * @chainable - * @throws {Error} if requested interface cannot be loaded - */ - - - Mocha.prototype.ui = function (ui) { - var bindInterface; - - if (typeof ui === 'function') { - bindInterface = ui; - } else { - ui = ui || 'bdd'; - bindInterface = exports.interfaces[ui]; - - if (!bindInterface) { - try { - bindInterface = commonjsRequire(ui); - } catch (err) { - throw createInvalidInterfaceError("invalid interface '".concat(ui, "'"), ui); - } - } - } - - bindInterface(this.suite); - this.suite.on(EVENT_FILE_PRE_REQUIRE, function (context) { - currentContext = context; - }); - return this; - }; - /** - * Loads `files` prior to execution. Does not support ES Modules. - * - * @description - * The implementation relies on Node's `require` to execute - * the test interface functions and will be subject to its cache. - * Supports only CommonJS modules. To load ES modules, use Mocha#loadFilesAsync. - * - * @private - * @see {@link Mocha#addFile} - * @see {@link Mocha#run} - * @see {@link Mocha#unloadFiles} - * @see {@link Mocha#loadFilesAsync} - * @param {Function} [fn] - Callback invoked upon completion. - */ - - - Mocha.prototype.loadFiles = function (fn) { - var self = this; - var suite = this.suite; - this.files.forEach(function (file) { - file = path.resolve(file); - suite.emit(EVENT_FILE_PRE_REQUIRE, commonjsGlobal, file, self); - suite.emit(EVENT_FILE_REQUIRE, commonjsRequire(), file, self); - suite.emit(EVENT_FILE_POST_REQUIRE, commonjsGlobal, file, self); - }); - fn && fn(); - }; - /** - * Loads `files` prior to execution. Supports Node ES Modules. - * - * @description - * The implementation relies on Node's `require` and `import` to execute - * the test interface functions and will be subject to its cache. - * Supports both CJS and ESM modules. - * - * @public - * @see {@link Mocha#addFile} - * @see {@link Mocha#run} - * @see {@link Mocha#unloadFiles} - * @returns {Promise} - * @example - * - * // loads ESM (and CJS) test files asynchronously, then runs root suite - * mocha.loadFilesAsync() - * .then(() => mocha.run(failures => process.exitCode = failures ? 1 : 0)) - * .catch(() => process.exitCode = 1); - */ - - - Mocha.prototype.loadFilesAsync = function () { - var self = this; - var suite = this.suite; - this.lazyLoadFiles(true); - - if (!esmUtils) { - return new Promise(function (resolve) { - self.loadFiles(resolve); - }); - } - - return esmUtils.loadFilesAsync(this.files, function (file) { - suite.emit(EVENT_FILE_PRE_REQUIRE, commonjsGlobal, file, self); - }, function (file, resultModule) { - suite.emit(EVENT_FILE_REQUIRE, resultModule, file, self); - suite.emit(EVENT_FILE_POST_REQUIRE, commonjsGlobal, file, self); - }); - }; - /** - * Removes a previously loaded file from Node's `require` cache. - * - * @private - * @static - * @see {@link Mocha#unloadFiles} - * @param {string} file - Pathname of file to be unloaded. - */ - - - Mocha.unloadFile = function (file) { - if (utils.isBrowser()) { - throw createUnsupportedError('unloadFile() is only suported in a Node.js environment'); - } - - return require$$11.unloadFile(file); - }; - /** - * Unloads `files` from Node's `require` cache. - * - * @description - * This allows required files to be "freshly" reloaded, providing the ability - * to reuse a Mocha instance programmatically. - * Note: does not clear ESM module files from the cache - * - * <strong>Intended for consumers — not used internally</strong> - * - * @public - * @see {@link Mocha#run} - * @returns {Mocha} this - * @chainable - */ - - - Mocha.prototype.unloadFiles = function () { - if (this._state === mochaStates.DISPOSED) { - throw createMochaInstanceAlreadyDisposedError('Mocha instance is already disposed, it cannot be used again.', this._cleanReferencesAfterRun, this); - } - - this.files.forEach(function (file) { - Mocha.unloadFile(file); - }); - this._state = mochaStates.INIT; - return this; - }; - /** - * Sets `grep` filter after escaping RegExp special characters. - * - * @public - * @see {@link Mocha#grep} - * @param {string} str - Value to be converted to a regexp. - * @returns {Mocha} this - * @chainable - * @example - * - * // Select tests whose full title begins with `"foo"` followed by a period - * mocha.fgrep('foo.'); - */ - - - Mocha.prototype.fgrep = function (str) { - if (!str) { - return this; - } - - return this.grep(new RegExp(escapeStringRegexp(str))); - }; - /** - * @summary - * Sets `grep` filter used to select specific tests for execution. - * - * @description - * If `re` is a regexp-like string, it will be converted to regexp. - * The regexp is tested against the full title of each test (i.e., the - * name of the test preceded by titles of each its ancestral suites). - * As such, using an <em>exact-match</em> fixed pattern against the - * test name itself will not yield any matches. - * <br> - * <strong>Previous filter value will be overwritten on each call!</strong> - * - * @public - * @see [CLI option](../#-grep-regexp-g-regexp) - * @see {@link Mocha#fgrep} - * @see {@link Mocha#invert} - * @param {RegExp|String} re - Regular expression used to select tests. - * @return {Mocha} this - * @chainable - * @example - * - * // Select tests whose full title contains `"match"`, ignoring case - * mocha.grep(/match/i); - * @example - * - * // Same as above but with regexp-like string argument - * mocha.grep('/match/i'); - * @example - * - * // ## Anti-example - * // Given embedded test `it('only-this-test')`... - * mocha.grep('/^only-this-test$/'); // NO! Use `.only()` to do this! - */ - - - Mocha.prototype.grep = function (re) { - if (utils.isString(re)) { - // extract args if it's regex-like, i.e: [string, pattern, flag] - var arg = re.match(/^\/(.*)\/(g|i|)$|.*/); - this.options.grep = new RegExp(arg[1] || arg[0], arg[2]); - } else { - this.options.grep = re; - } - - return this; - }; - /** - * Inverts `grep` matches. - * - * @public - * @see {@link Mocha#grep} - * @return {Mocha} this - * @chainable - * @example - * - * // Select tests whose full title does *not* contain `"match"`, ignoring case - * mocha.grep(/match/i).invert(); - */ - - - Mocha.prototype.invert = function () { - this.options.invert = true; - return this; - }; - /** - * Enables or disables checking for global variables leaked while running tests. - * - * @public - * @see [CLI option](../#-check-leaks) - * @param {boolean} [checkLeaks=true] - Whether to check for global variable leaks. - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.checkLeaks = function (checkLeaks) { - this.options.checkLeaks = checkLeaks !== false; - return this; - }; - /** - * Enables or disables whether or not to dispose after each test run. - * Disable this to ensure you can run the test suite multiple times. - * If disabled, be sure to dispose mocha when you're done to prevent memory leaks. - * @public - * @see {@link Mocha#dispose} - * @param {boolean} cleanReferencesAfterRun - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.cleanReferencesAfterRun = function (cleanReferencesAfterRun) { - this._cleanReferencesAfterRun = cleanReferencesAfterRun !== false; - return this; - }; - /** - * Manually dispose this mocha instance. Mark this instance as `disposed` and unable to run more tests. - * It also removes function references to tests functions and hooks, so variables trapped in closures can be cleaned by the garbage collector. - * @public - */ - - - Mocha.prototype.dispose = function () { - if (this._state === mochaStates.RUNNING) { - throw createMochaInstanceAlreadyRunningError('Cannot dispose while the mocha instance is still running tests.'); - } - - this.unloadFiles(); - this._previousRunner && this._previousRunner.dispose(); - this.suite.dispose(); - this._state = mochaStates.DISPOSED; - }; - /** - * Displays full stack trace upon test failure. - * - * @public - * @see [CLI option](../#-full-trace) - * @param {boolean} [fullTrace=true] - Whether to print full stacktrace upon failure. - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.fullTrace = function (fullTrace) { - this.options.fullTrace = fullTrace !== false; - return this; - }; - /** - * Enables desktop notification support if prerequisite software installed. - * - * @public - * @see [CLI option](../#-growl-g) - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.growl = function () { - this.options.growl = this.isGrowlCapable(); - - if (!this.options.growl) { - var detail = utils.isBrowser() ? 'notification support not available in this browser...' : 'notification support prerequisites not installed...'; - console.error(detail + ' cannot enable!'); - } - - return this; - }; - /** - * @summary - * Determines if Growl support seems likely. - * - * @description - * <strong>Not available when run in browser.</strong> - * - * @private - * @see {@link Growl#isCapable} - * @see {@link Mocha#growl} - * @return {boolean} whether Growl support can be expected - */ - - - Mocha.prototype.isGrowlCapable = growl.isCapable; - /** - * Implements desktop notifications using a pseudo-reporter. - * - * @private - * @see {@link Mocha#growl} - * @see {@link Growl#notify} - * @param {Runner} runner - Runner instance. - */ - - Mocha.prototype._growl = growl.notify; - /** - * Specifies whitelist of variable names to be expected in global scope. - * - * @public - * @see [CLI option](../#-global-variable-name) - * @see {@link Mocha#checkLeaks} - * @param {String[]|String} global - Accepted global variable name(s). - * @return {Mocha} this - * @chainable - * @example - * - * // Specify variables to be expected in global scope - * mocha.global(['jQuery', 'MyLib']); - */ - - Mocha.prototype.global = function (global) { - this.options.global = (this.options.global || []).concat(global).filter(Boolean).filter(function (elt, idx, arr) { - return arr.indexOf(elt) === idx; - }); - return this; - }; // for backwards compability, 'globals' is an alias of 'global' - - - Mocha.prototype.globals = Mocha.prototype.global; - /** - * Enables or disables TTY color output by screen-oriented reporters. - * - * @public - * @see [CLI option](../#-color-c-colors) - * @param {boolean} [color=true] - Whether to enable color output. - * @return {Mocha} this - * @chainable - */ - - Mocha.prototype.color = function (color) { - this.options.color = color !== false; - return this; - }; - /** - * Enables or disables reporter to use inline diffs (rather than +/-) - * in test failure output. - * - * @public - * @see [CLI option](../#-inline-diffs) - * @param {boolean} [inlineDiffs=true] - Whether to use inline diffs. - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.inlineDiffs = function (inlineDiffs) { - this.options.inlineDiffs = inlineDiffs !== false; - return this; - }; - /** - * Enables or disables reporter to include diff in test failure output. - * - * @public - * @see [CLI option](../#-diff) - * @param {boolean} [diff=true] - Whether to show diff on failure. - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.diff = function (diff) { - this.options.diff = diff !== false; - return this; - }; - /** - * Enables or disables running tests in dry-run mode. - * - * @public - * @see [CLI option](../#-dry-run) - * @param {boolean} [dryRun=true] - Whether to activate dry-run mode. - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.dryRun = function (dryRun) { - this.options.dryRun = dryRun !== false; - return this; - }; - /** - * @summary - * Sets timeout threshold value. - * - * @description - * A string argument can use shorthand (such as "2s") and will be converted. - * If the value is `0`, timeouts will be disabled. - * - * @public - * @see [CLI option](../#-timeout-ms-t-ms) - * @see [Timeouts](../#timeouts) - * @param {number|string} msecs - Timeout threshold value. - * @return {Mocha} this - * @chainable - * @example - * - * // Sets timeout to one second - * mocha.timeout(1000); - * @example - * - * // Same as above but using string argument - * mocha.timeout('1s'); - */ - - - Mocha.prototype.timeout = function (msecs) { - this.suite.timeout(msecs); - return this; - }; - /** - * Sets the number of times to retry failed tests. - * - * @public - * @see [CLI option](../#-retries-n) - * @see [Retry Tests](../#retry-tests) - * @param {number} retry - Number of times to retry failed tests. - * @return {Mocha} this - * @chainable - * @example - * - * // Allow any failed test to retry one more time - * mocha.retries(1); - */ - - - Mocha.prototype.retries = function (retry) { - this.suite.retries(retry); - return this; - }; - /** - * Sets slowness threshold value. - * - * @public - * @see [CLI option](../#-slow-ms-s-ms) - * @param {number} msecs - Slowness threshold value. - * @return {Mocha} this - * @chainable - * @example - * - * // Sets "slow" threshold to half a second - * mocha.slow(500); - * @example - * - * // Same as above but using string argument - * mocha.slow('0.5s'); - */ - - - Mocha.prototype.slow = function (msecs) { - this.suite.slow(msecs); - return this; - }; - /** - * Forces all tests to either accept a `done` callback or return a promise. - * - * @public - * @see [CLI option](../#-async-only-a) - * @param {boolean} [asyncOnly=true] - Whether to force `done` callback or promise. - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.asyncOnly = function (asyncOnly) { - this.options.asyncOnly = asyncOnly !== false; - return this; - }; - /** - * Disables syntax highlighting (in browser). - * - * @public - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.noHighlighting = function () { - this.options.noHighlighting = true; - return this; - }; - /** - * Enables or disables uncaught errors to propagate. - * - * @public - * @see [CLI option](../#-allow-uncaught) - * @param {boolean} [allowUncaught=true] - Whether to propagate uncaught errors. - * @return {Mocha} this - * @chainable - */ - - - Mocha.prototype.allowUncaught = function (allowUncaught) { - this.options.allowUncaught = allowUncaught !== false; - return this; - }; - /** - * @summary - * Delays root suite execution. - * - * @description - * Used to perform async operations before any suites are run. - * - * @public - * @see [delayed root suite](../#delayed-root-suite) - * @returns {Mocha} this - * @chainable - */ - - - Mocha.prototype.delay = function delay() { - this.options.delay = true; - return this; - }; - /** - * Causes tests marked `only` to fail the suite. - * - * @public - * @see [CLI option](../#-forbid-only) - * @param {boolean} [forbidOnly=true] - Whether tests marked `only` fail the suite. - * @returns {Mocha} this - * @chainable - */ - - - Mocha.prototype.forbidOnly = function (forbidOnly) { - this.options.forbidOnly = forbidOnly !== false; - return this; - }; - /** - * Causes pending tests and tests marked `skip` to fail the suite. - * - * @public - * @see [CLI option](../#-forbid-pending) - * @param {boolean} [forbidPending=true] - Whether pending tests fail the suite. - * @returns {Mocha} this - * @chainable - */ - - - Mocha.prototype.forbidPending = function (forbidPending) { - this.options.forbidPending = forbidPending !== false; - return this; - }; - /** - * Throws an error if mocha is in the wrong state to be able to transition to a "running" state. - * @private - */ - - - Mocha.prototype._guardRunningStateTransition = function () { - if (this._state === mochaStates.RUNNING) { - throw createMochaInstanceAlreadyRunningError('Mocha instance is currently running tests, cannot start a next test run until this one is done', this); - } - - if (this._state === mochaStates.DISPOSED || this._state === mochaStates.REFERENCES_CLEANED) { - throw createMochaInstanceAlreadyDisposedError('Mocha instance is already disposed, cannot start a new test run. Please create a new mocha instance. Be sure to set disable `cleanReferencesAfterRun` when you want to reuse the same mocha instance for multiple test runs.', this._cleanReferencesAfterRun, this); - } - }; - /** - * Mocha version as specified by "package.json". - * - * @name Mocha#version - * @type string - * @readonly - */ - - - Object.defineProperty(Mocha.prototype, 'version', { - value: require$$10.version, - configurable: false, - enumerable: true, - writable: false - }); - /** - * Callback to be invoked when test execution is complete. - * - * @private - * @callback DoneCB - * @param {number} failures - Number of failures that occurred. - */ - - /** - * Runs root suite and invokes `fn()` when complete. - * - * @description - * To run tests multiple times (or to run tests in files that are - * already in the `require` cache), make sure to clear them from - * the cache first! - * - * @public - * @see {@link Mocha#unloadFiles} - * @see {@link Runner#run} - * @param {DoneCB} [fn] - Callback invoked when test execution completed. - * @returns {Runner} runner instance - * @example - * - * // exit with non-zero status if there were test failures - * mocha.run(failures => process.exitCode = failures ? 1 : 0); - */ - - Mocha.prototype.run = function (fn) { - var _this = this; - - this._guardRunningStateTransition(); - - this._state = mochaStates.RUNNING; - - if (this._previousRunner) { - this._previousRunner.dispose(); - - this.suite.reset(); - } - - if (this.files.length && !this._lazyLoadFiles) { - this.loadFiles(); - } - - var suite = this.suite; - var options = this.options; - options.files = this.files; - var runner = new this._runnerClass(suite, { - delay: options.delay, - dryRun: options.dryRun, - cleanReferencesAfterRun: this._cleanReferencesAfterRun - }); - statsCollector(runner); - var reporter = new this._reporter(runner, options); - runner.checkLeaks = options.checkLeaks === true; - runner.fullStackTrace = options.fullTrace; - runner.asyncOnly = options.asyncOnly; - runner.allowUncaught = options.allowUncaught; - runner.forbidOnly = options.forbidOnly; - runner.forbidPending = options.forbidPending; - - if (options.grep) { - runner.grep(options.grep, options.invert); - } - - if (options.global) { - runner.globals(options.global); - } - - if (options.growl) { - this._growl(runner); - } - - if (options.color !== undefined) { - exports.reporters.Base.useColors = options.color; - } - - exports.reporters.Base.inlineDiffs = options.inlineDiffs; - exports.reporters.Base.hideDiff = !options.diff; - - var done = function done(failures) { - _this._previousRunner = runner; - _this._state = _this._cleanReferencesAfterRun ? mochaStates.REFERENCES_CLEANED : mochaStates.INIT; - fn = fn || utils.noop; - - if (typeof reporter.done === 'function') { - reporter.done(failures, fn); - } else { - fn(failures); - } - }; - - var runAsync = /*#__PURE__*/function () { - var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(runner) { - var context, failureCount; - return regeneratorRuntime.wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - if (!(_this.options.enableGlobalSetup && _this.hasGlobalSetupFixtures())) { - _context.next = 6; - break; - } - - _context.next = 3; - return _this.runGlobalSetup(runner); - - case 3: - _context.t0 = _context.sent; - _context.next = 7; - break; - - case 6: - _context.t0 = {}; - - case 7: - context = _context.t0; - _context.next = 10; - return runner.runAsync({ - files: _this.files, - options: options - }); - - case 10: - failureCount = _context.sent; - - if (!(_this.options.enableGlobalTeardown && _this.hasGlobalTeardownFixtures())) { - _context.next = 14; - break; - } - - _context.next = 14; - return _this.runGlobalTeardown(runner, { - context: context - }); - - case 14: - return _context.abrupt("return", failureCount); - - case 15: - case "end": - return _context.stop(); - } - } - }, _callee); - })); - - return function runAsync(_x) { - return _ref.apply(this, arguments); - }; - }(); // no "catch" here is intentional. errors coming out of - // Runner#run are considered uncaught/unhandled and caught - // by the `process` event listeners. - // also: returning anything other than `runner` would be a breaking - // change - - - runAsync(runner).then(done); - return runner; - }; - /** - * Assigns hooks to the root suite - * @param {MochaRootHookObject} [hooks] - Hooks to assign to root suite - * @chainable - */ - - - Mocha.prototype.rootHooks = function rootHooks() { - var _this2 = this; - - var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref2$beforeAll = _ref2.beforeAll, - beforeAll = _ref2$beforeAll === void 0 ? [] : _ref2$beforeAll, - _ref2$beforeEach = _ref2.beforeEach, - beforeEach = _ref2$beforeEach === void 0 ? [] : _ref2$beforeEach, - _ref2$afterAll = _ref2.afterAll, - afterAll = _ref2$afterAll === void 0 ? [] : _ref2$afterAll, - _ref2$afterEach = _ref2.afterEach, - afterEach = _ref2$afterEach === void 0 ? [] : _ref2$afterEach; - - beforeAll = utils.castArray(beforeAll); - beforeEach = utils.castArray(beforeEach); - afterAll = utils.castArray(afterAll); - afterEach = utils.castArray(afterEach); - beforeAll.forEach(function (hook) { - _this2.suite.beforeAll(hook); - }); - beforeEach.forEach(function (hook) { - _this2.suite.beforeEach(hook); - }); - afterAll.forEach(function (hook) { - _this2.suite.afterAll(hook); - }); - afterEach.forEach(function (hook) { - _this2.suite.afterEach(hook); - }); - return this; - }; - /** - * Toggles parallel mode. - * - * Must be run before calling {@link Mocha#run}. Changes the `Runner` class to - * use; also enables lazy file loading if not already done so. - * - * Warning: when passed `false` and lazy loading has been enabled _via any means_ (including calling `parallelMode(true)`), this method will _not_ disable lazy loading. Lazy loading is a prerequisite for parallel - * mode, but parallel mode is _not_ a prerequisite for lazy loading! - * @param {boolean} [enable] - If `true`, enable; otherwise disable. - * @throws If run in browser - * @throws If Mocha not in `INIT` state - * @returns {Mocha} - * @chainable - * @public - */ - - - Mocha.prototype.parallelMode = function parallelMode() { - var enable = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - - if (utils.isBrowser()) { - throw createUnsupportedError('parallel mode is only supported in Node.js'); - } - - var parallel = Boolean(enable); - - if (parallel === this.options.parallel && this._lazyLoadFiles && this._runnerClass !== exports.Runner) { - return this; - } - - if (this._state !== mochaStates.INIT) { - throw createUnsupportedError('cannot change parallel mode after having called run()'); - } - - this.options.parallel = parallel; // swap Runner class - - this._runnerClass = parallel ? require$$11 : exports.Runner; // lazyLoadFiles may have been set `true` otherwise (for ESM loading), - // so keep `true` if so. - - return this.lazyLoadFiles(this._lazyLoadFiles || parallel); - }; - /** - * Disables implicit call to {@link Mocha#loadFiles} in {@link Mocha#run}. This - * setting is used by watch mode, parallel mode, and for loading ESM files. - * @todo This should throw if we've already loaded files; such behavior - * necessitates adding a new state. - * @param {boolean} [enable] - If `true`, disable eager loading of files in - * {@link Mocha#run} - * @chainable - * @public - */ - - - Mocha.prototype.lazyLoadFiles = function lazyLoadFiles(enable) { - this._lazyLoadFiles = enable === true; - debug('set lazy load to %s', enable); - return this; - }; - /** - * Configures one or more global setup fixtures. - * - * If given no parameters, _unsets_ any previously-set fixtures. - * @chainable - * @public - * @param {MochaGlobalFixture|MochaGlobalFixture[]} [setupFns] - Global setup fixture(s) - * @returns {Mocha} - */ - - - Mocha.prototype.globalSetup = function globalSetup() { - var setupFns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - setupFns = utils.castArray(setupFns); - this.options.globalSetup = setupFns; - debug('configured %d global setup functions', setupFns.length); - return this; - }; - /** - * Configures one or more global teardown fixtures. - * - * If given no parameters, _unsets_ any previously-set fixtures. - * @chainable - * @public - * @param {MochaGlobalFixture|MochaGlobalFixture[]} [teardownFns] - Global teardown fixture(s) - * @returns {Mocha} - */ - - - Mocha.prototype.globalTeardown = function globalTeardown() { - var teardownFns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - teardownFns = utils.castArray(teardownFns); - this.options.globalTeardown = teardownFns; - debug('configured %d global teardown functions', teardownFns.length); - return this; - }; - /** - * Run any global setup fixtures sequentially, if any. - * - * This is _automatically called_ by {@link Mocha#run} _unless_ the `runGlobalSetup` option is `false`; see {@link Mocha#enableGlobalSetup}. - * - * The context object this function resolves with should be consumed by {@link Mocha#runGlobalTeardown}. - * @param {object} [context] - Context object if already have one - * @public - * @returns {Promise<object>} Context object - */ - - - Mocha.prototype.runGlobalSetup = /*#__PURE__*/function () { - var _runGlobalSetup = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { - var context, - globalSetup, - _args2 = arguments; - return regeneratorRuntime.wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - context = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}; - globalSetup = this.options.globalSetup; - - if (!(globalSetup && globalSetup.length)) { - _context2.next = 7; - break; - } - - debug('run(): global setup starting'); - _context2.next = 6; - return this._runGlobalFixtures(globalSetup, context); - - case 6: - debug('run(): global setup complete'); - - case 7: - return _context2.abrupt("return", context); - - case 8: - case "end": - return _context2.stop(); - } - } - }, _callee2, this); - })); - - function runGlobalSetup() { - return _runGlobalSetup.apply(this, arguments); - } - - return runGlobalSetup; - }(); - /** - * Run any global teardown fixtures sequentially, if any. - * - * This is _automatically called_ by {@link Mocha#run} _unless_ the `runGlobalTeardown` option is `false`; see {@link Mocha#enableGlobalTeardown}. - * - * Should be called with context object returned by {@link Mocha#runGlobalSetup}, if applicable. - * @param {object} [context] - Context object if already have one - * @public - * @returns {Promise<object>} Context object - */ - - - Mocha.prototype.runGlobalTeardown = /*#__PURE__*/function () { - var _runGlobalTeardown = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { - var context, - globalTeardown, - _args3 = arguments; - return regeneratorRuntime.wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - context = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {}; - globalTeardown = this.options.globalTeardown; - - if (!(globalTeardown && globalTeardown.length)) { - _context3.next = 6; - break; - } - - debug('run(): global teardown starting'); - _context3.next = 6; - return this._runGlobalFixtures(globalTeardown, context); - - case 6: - debug('run(): global teardown complete'); - return _context3.abrupt("return", context); - - case 8: - case "end": - return _context3.stop(); - } - } - }, _callee3, this); - })); - - function runGlobalTeardown() { - return _runGlobalTeardown.apply(this, arguments); - } - - return runGlobalTeardown; - }(); - /** - * Run global fixtures sequentially with context `context` - * @private - * @param {MochaGlobalFixture[]} [fixtureFns] - Fixtures to run - * @param {object} [context] - context object - * @returns {Promise<object>} context object - */ - - - Mocha.prototype._runGlobalFixtures = /*#__PURE__*/function () { - var _runGlobalFixtures2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() { - var fixtureFns, - context, - _iteratorNormalCompletion, - _didIteratorError, - _iteratorError, - _iterator, - _step, - _value, - fixtureFn, - _args4 = arguments; - - return regeneratorRuntime.wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - fixtureFns = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : []; - context = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {}; - _iteratorNormalCompletion = true; - _didIteratorError = false; - _context4.prev = 4; - _iterator = _asyncIterator(fixtureFns); - - case 6: - _context4.next = 8; - return _iterator.next(); - - case 8: - _step = _context4.sent; - _iteratorNormalCompletion = _step.done; - _context4.next = 12; - return _step.value; - - case 12: - _value = _context4.sent; - - if (_iteratorNormalCompletion) { - _context4.next = 20; - break; - } - - fixtureFn = _value; - _context4.next = 17; - return fixtureFn.call(context); - - case 17: - _iteratorNormalCompletion = true; - _context4.next = 6; - break; - - case 20: - _context4.next = 26; - break; - - case 22: - _context4.prev = 22; - _context4.t0 = _context4["catch"](4); - _didIteratorError = true; - _iteratorError = _context4.t0; - - case 26: - _context4.prev = 26; - _context4.prev = 27; - - if (!(!_iteratorNormalCompletion && _iterator["return"] != null)) { - _context4.next = 31; - break; - } - - _context4.next = 31; - return _iterator["return"](); - - case 31: - _context4.prev = 31; - - if (!_didIteratorError) { - _context4.next = 34; - break; - } - - throw _iteratorError; - - case 34: - return _context4.finish(31); - - case 35: - return _context4.finish(26); - - case 36: - return _context4.abrupt("return", context); - - case 37: - case "end": - return _context4.stop(); - } - } - }, _callee4, null, [[4, 22, 26, 36], [27,, 31, 35]]); - })); - - function _runGlobalFixtures() { - return _runGlobalFixtures2.apply(this, arguments); - } - - return _runGlobalFixtures; - }(); - /** - * Toggle execution of any global setup fixture(s) - * - * @chainable - * @public - * @param {boolean } [enabled=true] - If `false`, do not run global setup fixture - * @returns {Mocha} - */ - - - Mocha.prototype.enableGlobalSetup = function enableGlobalSetup() { - var enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - this.options.enableGlobalSetup = Boolean(enabled); - return this; - }; - /** - * Toggle execution of any global teardown fixture(s) - * - * @chainable - * @public - * @param {boolean } [enabled=true] - If `false`, do not run global teardown fixture - * @returns {Mocha} - */ - - - Mocha.prototype.enableGlobalTeardown = function enableGlobalTeardown() { - var enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; - this.options.enableGlobalTeardown = Boolean(enabled); - return this; - }; - /** - * Returns `true` if one or more global setup fixtures have been supplied. - * @public - * @returns {boolean} - */ - - - Mocha.prototype.hasGlobalSetupFixtures = function hasGlobalSetupFixtures() { - return Boolean(this.options.globalSetup.length); - }; - /** - * Returns `true` if one or more global teardown fixtures have been supplied. - * @public - * @returns {boolean} - */ - - - Mocha.prototype.hasGlobalTeardownFixtures = function hasGlobalTeardownFixtures() { - return Boolean(this.options.globalTeardown.length); - }; - /** - * An alternative way to define root hooks that works with parallel runs. - * @typedef {Object} MochaRootHookObject - * @property {Function|Function[]} [beforeAll] - "Before all" hook(s) - * @property {Function|Function[]} [beforeEach] - "Before each" hook(s) - * @property {Function|Function[]} [afterAll] - "After all" hook(s) - * @property {Function|Function[]} [afterEach] - "After each" hook(s) - */ - - /** - * An function that returns a {@link MochaRootHookObject}, either sync or async. - @callback MochaRootHookFunction - * @returns {MochaRootHookObject|Promise<MochaRootHookObject>} - */ - - /** - * A function that's invoked _once_ which is either sync or async. - * Can be a "teardown" or "setup". These will all share the same context. - * @callback MochaGlobalFixture - * @returns {void|Promise<void>} - */ - - /** - * An object making up all necessary parts of a plugin loader and aggregator - * @typedef {Object} PluginDefinition - * @property {string} exportName - Named export to use - * @property {string} [optionName] - Option name for Mocha constructor (use `exportName` if omitted) - * @property {PluginValidator} [validate] - Validator function - * @property {PluginFinalizer} [finalize] - Finalizer/aggregator function - */ - - /** - * A (sync) function to assert a user-supplied plugin implementation is valid. - * - * Defined in a {@link PluginDefinition}. - - * @callback PluginValidator - * @param {*} value - Value to check - * @this {PluginDefinition} - * @returns {void} - */ - - /** - * A function to finalize plugins impls of a particular ilk - * @callback PluginFinalizer - * @param {Array<*>} impls - User-supplied implementations - * @returns {Promise<*>|*} - */ + var esmUtils = utils.supportsEsModules(true) ? require$$11 : undefined; + var warn = errors.warn, + createInvalidReporterError = errors.createInvalidReporterError, + createInvalidInterfaceError = errors.createInvalidInterfaceError, + createMochaInstanceAlreadyDisposedError = errors.createMochaInstanceAlreadyDisposedError, + createMochaInstanceAlreadyRunningError = errors.createMochaInstanceAlreadyRunningError, + createUnsupportedError = errors.createUnsupportedError; + var _Suite$constants = suite.constants, + EVENT_FILE_PRE_REQUIRE = _Suite$constants.EVENT_FILE_PRE_REQUIRE, + EVENT_FILE_POST_REQUIRE = _Suite$constants.EVENT_FILE_POST_REQUIRE, + EVENT_FILE_REQUIRE = _Suite$constants.EVENT_FILE_REQUIRE; + var debug = browser('mocha:mocha'); + exports = module.exports = Mocha; + /** + * A Mocha instance is a finite state machine. + * These are the states it can be in. + * @private + */ + + var mochaStates = utils.defineConstants({ + /** + * Initial state of the mocha instance + * @private + */ + INIT: 'init', + + /** + * Mocha instance is running tests + * @private + */ + RUNNING: 'running', + + /** + * Mocha instance is done running tests and references to test functions and hooks are cleaned. + * You can reset this state by unloading the test files. + * @private + */ + REFERENCES_CLEANED: 'referencesCleaned', + + /** + * Mocha instance is disposed and can no longer be used. + * @private + */ + DISPOSED: 'disposed' + }); + /** + * To require local UIs and reporters when running in node. + */ + + if (!utils.isBrowser() && typeof module.paths !== 'undefined') { + var cwd = utils.cwd(); + module.paths.push(cwd, path.join(cwd, 'node_modules')); + } + /** + * Expose internals. + * @private + */ + + + exports.utils = utils; + exports.interfaces = interfaces; + /** + * @public + * @memberof Mocha + */ + + exports.reporters = reporters; + exports.Runnable = runnable; + exports.Context = context; + /** + * + * @memberof Mocha + */ + + exports.Runner = runner; + exports.Suite = suite; + exports.Hook = hook; + exports.Test = test; + var currentContext; + + exports.afterEach = function () { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return (currentContext.afterEach || currentContext.teardown).apply(this, args); + }; + + exports.after = function () { + for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + args[_key2] = arguments[_key2]; + } + + return (currentContext.after || currentContext.suiteTeardown).apply(this, args); + }; + + exports.beforeEach = function () { + for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { + args[_key3] = arguments[_key3]; + } + + return (currentContext.beforeEach || currentContext.setup).apply(this, args); + }; + + exports.before = function () { + for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { + args[_key4] = arguments[_key4]; + } + + return (currentContext.before || currentContext.suiteSetup).apply(this, args); + }; + + exports.describe = function () { + for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) { + args[_key5] = arguments[_key5]; + } + + return (currentContext.describe || currentContext.suite).apply(this, args); + }; + + exports.describe.only = function () { + for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) { + args[_key6] = arguments[_key6]; + } + + return (currentContext.describe || currentContext.suite).only.apply(this, args); + }; + + exports.describe.skip = function () { + for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) { + args[_key7] = arguments[_key7]; + } + + return (currentContext.describe || currentContext.suite).skip.apply(this, args); + }; + + exports.it = function () { + for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) { + args[_key8] = arguments[_key8]; + } + + return (currentContext.it || currentContext.test).apply(this, args); + }; + + exports.it.only = function () { + for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) { + args[_key9] = arguments[_key9]; + } + + return (currentContext.it || currentContext.test).only.apply(this, args); + }; + + exports.it.skip = function () { + for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) { + args[_key10] = arguments[_key10]; + } + + return (currentContext.it || currentContext.test).skip.apply(this, args); + }; + + exports.xdescribe = exports.describe.skip; + exports.xit = exports.it.skip; + exports.setup = exports.beforeEach; + exports.suiteSetup = exports.before; + exports.suiteTeardown = exports.after; + exports.suite = exports.describe; + exports.teardown = exports.afterEach; + exports.test = exports.it; + + exports.run = function () { + for (var _len11 = arguments.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) { + args[_key11] = arguments[_key11]; + } + + return currentContext.run.apply(this, args); + }; + /** + * Constructs a new Mocha instance with `options`. + * + * @public + * @class Mocha + * @param {Object} [options] - Settings object. + * @param {boolean} [options.allowUncaught] - Propagate uncaught errors? + * @param {boolean} [options.asyncOnly] - Force `done` callback or promise? + * @param {boolean} [options.bail] - Bail after first test failure? + * @param {boolean} [options.checkLeaks] - Check for global variable leaks? + * @param {boolean} [options.color] - Color TTY output from reporter? + * @param {boolean} [options.delay] - Delay root suite execution? + * @param {boolean} [options.diff] - Show diff on failure? + * @param {boolean} [options.dryRun] - Report tests without running them? + * @param {string} [options.fgrep] - Test filter given string. + * @param {boolean} [options.forbidOnly] - Tests marked `only` fail the suite? + * @param {boolean} [options.forbidPending] - Pending tests fail the suite? + * @param {boolean} [options.fullTrace] - Full stacktrace upon failure? + * @param {string[]} [options.global] - Variables expected in global scope. + * @param {RegExp|string} [options.grep] - Test filter given regular expression. + * @param {boolean} [options.growl] - Enable desktop notifications? + * @param {boolean} [options.inlineDiffs] - Display inline diffs? + * @param {boolean} [options.invert] - Invert test filter matches? + * @param {boolean} [options.noHighlighting] - Disable syntax highlighting? + * @param {string|constructor} [options.reporter] - Reporter name or constructor. + * @param {Object} [options.reporterOption] - Reporter settings object. + * @param {number} [options.retries] - Number of times to retry failed tests. + * @param {number} [options.slow] - Slow threshold value. + * @param {number|string} [options.timeout] - Timeout threshold value. + * @param {string} [options.ui] - Interface name. + * @param {boolean} [options.parallel] - Run jobs in parallel. + * @param {number} [options.jobs] - Max number of worker processes for parallel runs. + * @param {MochaRootHookObject} [options.rootHooks] - Hooks to bootstrap the root suite with. + * @param {string[]} [options.require] - Pathname of `rootHooks` plugin for parallel runs. + * @param {boolean} [options.isWorker] - Should be `true` if `Mocha` process is running in a worker process. + */ + + + function Mocha() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + options = _objectSpread2(_objectSpread2({}, mocharc), options); + this.files = []; + this.options = options; // root suite + + this.suite = new exports.Suite('', new exports.Context(), true); + this._cleanReferencesAfterRun = true; + this._state = mochaStates.INIT; + this.grep(options.grep).fgrep(options.fgrep).ui(options.ui).reporter(options.reporter, options.reporterOption || options.reporterOptions // for backwards compability + ).slow(options.slow).global(options.global); // this guard exists because Suite#timeout does not consider `undefined` to be valid input + + if (typeof options.timeout !== 'undefined') { + this.timeout(options.timeout === false ? 0 : options.timeout); + } + + if ('retries' in options) { + this.retries(options.retries); + } + + ['allowUncaught', 'asyncOnly', 'bail', 'checkLeaks', 'color', 'delay', 'diff', 'dryRun', 'forbidOnly', 'forbidPending', 'fullTrace', 'growl', 'inlineDiffs', 'invert'].forEach(function (opt) { + if (options[opt]) { + this[opt](); + } + }, this); + + if (options.rootHooks) { + this.rootHooks(options.rootHooks); + } + /** + * The class which we'll instantiate in {@link Mocha#run}. Defaults to + * {@link Runner} in serial mode; changes in parallel mode. + * @memberof Mocha + * @private + */ + + + this._runnerClass = exports.Runner; + /** + * Whether or not to call {@link Mocha#loadFiles} implicitly when calling + * {@link Mocha#run}. If this is `true`, then it's up to the consumer to call + * {@link Mocha#loadFiles} _or_ {@link Mocha#loadFilesAsync}. + * @private + * @memberof Mocha + */ + + this._lazyLoadFiles = false; + /** + * It's useful for a Mocha instance to know if it's running in a worker process. + * We could derive this via other means, but it's helpful to have a flag to refer to. + * @memberof Mocha + * @private + */ + + this.isWorker = Boolean(options.isWorker); + this.globalSetup(options.globalSetup).globalTeardown(options.globalTeardown).enableGlobalSetup(options.enableGlobalSetup).enableGlobalTeardown(options.enableGlobalTeardown); + + if (options.parallel && (typeof options.jobs === 'undefined' || options.jobs > 1)) { + debug('attempting to enable parallel mode'); + this.parallelMode(true); + } + } + /** + * Enables or disables bailing on the first failure. + * + * @public + * @see [CLI option](../#-bail-b) + * @param {boolean} [bail=true] - Whether to bail on first error. + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.bail = function (bail) { + this.suite.bail(bail !== false); + return this; + }; + /** + * @summary + * Adds `file` to be loaded for execution. + * + * @description + * Useful for generic setup code that must be included within test suite. + * + * @public + * @see [CLI option](../#-file-filedirectoryglob) + * @param {string} file - Pathname of file to be loaded. + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.addFile = function (file) { + this.files.push(file); + return this; + }; + /** + * Sets reporter to `reporter`, defaults to "spec". + * + * @public + * @see [CLI option](../#-reporter-name-r-name) + * @see [Reporters](../#reporters) + * @param {String|Function} reporterName - Reporter name or constructor. + * @param {Object} [reporterOptions] - Options used to configure the reporter. + * @returns {Mocha} this + * @chainable + * @throws {Error} if requested reporter cannot be loaded + * @example + * + * // Use XUnit reporter and direct its output to file + * mocha.reporter('xunit', { output: '/path/to/testspec.xunit.xml' }); + */ + + + Mocha.prototype.reporter = function (reporterName, reporterOptions) { + if (typeof reporterName === 'function') { + this._reporter = reporterName; + } else { + reporterName = reporterName || 'spec'; + var reporter; // Try to load a built-in reporter. + + if (reporters[reporterName]) { + reporter = reporters[reporterName]; + } // Try to load reporters from process.cwd() and node_modules + + + if (!reporter) { + try { + reporter = commonjsRequire(reporterName); + } catch (err) { + if (err.code === 'MODULE_NOT_FOUND') { + // Try to load reporters from a path (absolute or relative) + try { + reporter = commonjsRequire(path.resolve(utils.cwd(), reporterName)); + } catch (_err) { + _err.code === 'MODULE_NOT_FOUND' ? warn("'".concat(reporterName, "' reporter not found")) : warn("'".concat(reporterName, "' reporter blew up with error:\n ").concat(err.stack)); + } + } else { + warn("'".concat(reporterName, "' reporter blew up with error:\n ").concat(err.stack)); + } + } + } + + if (!reporter) { + throw createInvalidReporterError("invalid reporter '".concat(reporterName, "'"), reporterName); + } + + this._reporter = reporter; + } + + this.options.reporterOption = reporterOptions; // alias option name is used in public reporters xunit/tap/progress + + this.options.reporterOptions = reporterOptions; + return this; + }; + /** + * Sets test UI `name`, defaults to "bdd". + * + * @public + * @see [CLI option](../#-ui-name-u-name) + * @see [Interface DSLs](../#interfaces) + * @param {string|Function} [ui=bdd] - Interface name or class. + * @returns {Mocha} this + * @chainable + * @throws {Error} if requested interface cannot be loaded + */ + + + Mocha.prototype.ui = function (ui) { + var bindInterface; + + if (typeof ui === 'function') { + bindInterface = ui; + } else { + ui = ui || 'bdd'; + bindInterface = exports.interfaces[ui]; + + if (!bindInterface) { + try { + bindInterface = commonjsRequire(ui); + } catch (err) { + throw createInvalidInterfaceError("invalid interface '".concat(ui, "'"), ui); + } + } + } + + bindInterface(this.suite); + this.suite.on(EVENT_FILE_PRE_REQUIRE, function (context) { + currentContext = context; + }); + return this; + }; + /** + * Loads `files` prior to execution. Does not support ES Modules. + * + * @description + * The implementation relies on Node's `require` to execute + * the test interface functions and will be subject to its cache. + * Supports only CommonJS modules. To load ES modules, use Mocha#loadFilesAsync. + * + * @private + * @see {@link Mocha#addFile} + * @see {@link Mocha#run} + * @see {@link Mocha#unloadFiles} + * @see {@link Mocha#loadFilesAsync} + * @param {Function} [fn] - Callback invoked upon completion. + */ + + + Mocha.prototype.loadFiles = function (fn) { + var self = this; + var suite = this.suite; + this.files.forEach(function (file) { + file = path.resolve(file); + suite.emit(EVENT_FILE_PRE_REQUIRE, commonjsGlobal, file, self); + suite.emit(EVENT_FILE_REQUIRE, commonjsRequire(), file, self); + suite.emit(EVENT_FILE_POST_REQUIRE, commonjsGlobal, file, self); + }); + fn && fn(); + }; + /** + * Loads `files` prior to execution. Supports Node ES Modules. + * + * @description + * The implementation relies on Node's `require` and `import` to execute + * the test interface functions and will be subject to its cache. + * Supports both CJS and ESM modules. + * + * @public + * @see {@link Mocha#addFile} + * @see {@link Mocha#run} + * @see {@link Mocha#unloadFiles} + * @returns {Promise} + * @example + * + * // loads ESM (and CJS) test files asynchronously, then runs root suite + * mocha.loadFilesAsync() + * .then(() => mocha.run(failures => process.exitCode = failures ? 1 : 0)) + * .catch(() => process.exitCode = 1); + */ + + + Mocha.prototype.loadFilesAsync = function () { + var self = this; + var suite = this.suite; + this.lazyLoadFiles(true); + + if (!esmUtils) { + return new Promise(function (resolve) { + self.loadFiles(resolve); + }); + } + + return esmUtils.loadFilesAsync(this.files, function (file) { + suite.emit(EVENT_FILE_PRE_REQUIRE, commonjsGlobal, file, self); + }, function (file, resultModule) { + suite.emit(EVENT_FILE_REQUIRE, resultModule, file, self); + suite.emit(EVENT_FILE_POST_REQUIRE, commonjsGlobal, file, self); + }); + }; + /** + * Removes a previously loaded file from Node's `require` cache. + * + * @private + * @static + * @see {@link Mocha#unloadFiles} + * @param {string} file - Pathname of file to be unloaded. + */ + + + Mocha.unloadFile = function (file) { + if (utils.isBrowser()) { + throw createUnsupportedError('unloadFile() is only suported in a Node.js environment'); + } + + return require$$11.unloadFile(file); + }; + /** + * Unloads `files` from Node's `require` cache. + * + * @description + * This allows required files to be "freshly" reloaded, providing the ability + * to reuse a Mocha instance programmatically. + * Note: does not clear ESM module files from the cache + * + * <strong>Intended for consumers — not used internally</strong> + * + * @public + * @see {@link Mocha#run} + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.unloadFiles = function () { + if (this._state === mochaStates.DISPOSED) { + throw createMochaInstanceAlreadyDisposedError('Mocha instance is already disposed, it cannot be used again.', this._cleanReferencesAfterRun, this); + } + + this.files.forEach(function (file) { + Mocha.unloadFile(file); + }); + this._state = mochaStates.INIT; + return this; + }; + /** + * Sets `grep` filter after escaping RegExp special characters. + * + * @public + * @see {@link Mocha#grep} + * @param {string} str - Value to be converted to a regexp. + * @returns {Mocha} this + * @chainable + * @example + * + * // Select tests whose full title begins with `"foo"` followed by a period + * mocha.fgrep('foo.'); + */ + + + Mocha.prototype.fgrep = function (str) { + if (!str) { + return this; + } + + return this.grep(new RegExp(escapeStringRegexp(str))); + }; + /** + * @summary + * Sets `grep` filter used to select specific tests for execution. + * + * @description + * If `re` is a regexp-like string, it will be converted to regexp. + * The regexp is tested against the full title of each test (i.e., the + * name of the test preceded by titles of each its ancestral suites). + * As such, using an <em>exact-match</em> fixed pattern against the + * test name itself will not yield any matches. + * <br> + * <strong>Previous filter value will be overwritten on each call!</strong> + * + * @public + * @see [CLI option](../#-grep-regexp-g-regexp) + * @see {@link Mocha#fgrep} + * @see {@link Mocha#invert} + * @param {RegExp|String} re - Regular expression used to select tests. + * @return {Mocha} this + * @chainable + * @example + * + * // Select tests whose full title contains `"match"`, ignoring case + * mocha.grep(/match/i); + * @example + * + * // Same as above but with regexp-like string argument + * mocha.grep('/match/i'); + * @example + * + * // ## Anti-example + * // Given embedded test `it('only-this-test')`... + * mocha.grep('/^only-this-test$/'); // NO! Use `.only()` to do this! + */ + + + Mocha.prototype.grep = function (re) { + if (utils.isString(re)) { + // extract args if it's regex-like, i.e: [string, pattern, flag] + var arg = re.match(/^\/(.*)\/(g|i|)$|.*/); + this.options.grep = new RegExp(arg[1] || arg[0], arg[2]); + } else { + this.options.grep = re; + } + + return this; + }; + /** + * Inverts `grep` matches. + * + * @public + * @see {@link Mocha#grep} + * @return {Mocha} this + * @chainable + * @example + * + * // Select tests whose full title does *not* contain `"match"`, ignoring case + * mocha.grep(/match/i).invert(); + */ + + + Mocha.prototype.invert = function () { + this.options.invert = true; + return this; + }; + /** + * Enables or disables checking for global variables leaked while running tests. + * + * @public + * @see [CLI option](../#-check-leaks) + * @param {boolean} [checkLeaks=true] - Whether to check for global variable leaks. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.checkLeaks = function (checkLeaks) { + this.options.checkLeaks = checkLeaks !== false; + return this; + }; + /** + * Enables or disables whether or not to dispose after each test run. + * Disable this to ensure you can run the test suite multiple times. + * If disabled, be sure to dispose mocha when you're done to prevent memory leaks. + * @public + * @see {@link Mocha#dispose} + * @param {boolean} cleanReferencesAfterRun + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.cleanReferencesAfterRun = function (cleanReferencesAfterRun) { + this._cleanReferencesAfterRun = cleanReferencesAfterRun !== false; + return this; + }; + /** + * Manually dispose this mocha instance. Mark this instance as `disposed` and unable to run more tests. + * It also removes function references to tests functions and hooks, so variables trapped in closures can be cleaned by the garbage collector. + * @public + */ + + + Mocha.prototype.dispose = function () { + if (this._state === mochaStates.RUNNING) { + throw createMochaInstanceAlreadyRunningError('Cannot dispose while the mocha instance is still running tests.'); + } + + this.unloadFiles(); + this._previousRunner && this._previousRunner.dispose(); + this.suite.dispose(); + this._state = mochaStates.DISPOSED; + }; + /** + * Displays full stack trace upon test failure. + * + * @public + * @see [CLI option](../#-full-trace) + * @param {boolean} [fullTrace=true] - Whether to print full stacktrace upon failure. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.fullTrace = function (fullTrace) { + this.options.fullTrace = fullTrace !== false; + return this; + }; + /** + * Enables desktop notification support if prerequisite software installed. + * + * @public + * @see [CLI option](../#-growl-g) + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.growl = function () { + this.options.growl = this.isGrowlCapable(); + + if (!this.options.growl) { + var detail = utils.isBrowser() ? 'notification support not available in this browser...' : 'notification support prerequisites not installed...'; + console.error(detail + ' cannot enable!'); + } + + return this; + }; + /** + * @summary + * Determines if Growl support seems likely. + * + * @description + * <strong>Not available when run in browser.</strong> + * + * @private + * @see {@link Growl#isCapable} + * @see {@link Mocha#growl} + * @return {boolean} whether Growl support can be expected + */ + + + Mocha.prototype.isGrowlCapable = growl.isCapable; + /** + * Implements desktop notifications using a pseudo-reporter. + * + * @private + * @see {@link Mocha#growl} + * @see {@link Growl#notify} + * @param {Runner} runner - Runner instance. + */ + + Mocha.prototype._growl = growl.notify; + /** + * Specifies whitelist of variable names to be expected in global scope. + * + * @public + * @see [CLI option](../#-global-variable-name) + * @see {@link Mocha#checkLeaks} + * @param {String[]|String} global - Accepted global variable name(s). + * @return {Mocha} this + * @chainable + * @example + * + * // Specify variables to be expected in global scope + * mocha.global(['jQuery', 'MyLib']); + */ + + Mocha.prototype.global = function (global) { + this.options.global = (this.options.global || []).concat(global).filter(Boolean).filter(function (elt, idx, arr) { + return arr.indexOf(elt) === idx; + }); + return this; + }; // for backwards compability, 'globals' is an alias of 'global' + + + Mocha.prototype.globals = Mocha.prototype.global; + /** + * Enables or disables TTY color output by screen-oriented reporters. + * + * @public + * @see [CLI option](../#-color-c-colors) + * @param {boolean} [color=true] - Whether to enable color output. + * @return {Mocha} this + * @chainable + */ + + Mocha.prototype.color = function (color) { + this.options.color = color !== false; + return this; + }; + /** + * Enables or disables reporter to use inline diffs (rather than +/-) + * in test failure output. + * + * @public + * @see [CLI option](../#-inline-diffs) + * @param {boolean} [inlineDiffs=true] - Whether to use inline diffs. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.inlineDiffs = function (inlineDiffs) { + this.options.inlineDiffs = inlineDiffs !== false; + return this; + }; + /** + * Enables or disables reporter to include diff in test failure output. + * + * @public + * @see [CLI option](../#-diff) + * @param {boolean} [diff=true] - Whether to show diff on failure. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.diff = function (diff) { + this.options.diff = diff !== false; + return this; + }; + /** + * Enables or disables running tests in dry-run mode. + * + * @public + * @see [CLI option](../#-dry-run) + * @param {boolean} [dryRun=true] - Whether to activate dry-run mode. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.dryRun = function (dryRun) { + this.options.dryRun = dryRun !== false; + return this; + }; + /** + * @summary + * Sets timeout threshold value. + * + * @description + * A string argument can use shorthand (such as "2s") and will be converted. + * If the value is `0`, timeouts will be disabled. + * + * @public + * @see [CLI option](../#-timeout-ms-t-ms) + * @see [Timeouts](../#timeouts) + * @param {number|string} msecs - Timeout threshold value. + * @return {Mocha} this + * @chainable + * @example + * + * // Sets timeout to one second + * mocha.timeout(1000); + * @example + * + * // Same as above but using string argument + * mocha.timeout('1s'); + */ + + + Mocha.prototype.timeout = function (msecs) { + this.suite.timeout(msecs); + return this; + }; + /** + * Sets the number of times to retry failed tests. + * + * @public + * @see [CLI option](../#-retries-n) + * @see [Retry Tests](../#retry-tests) + * @param {number} retry - Number of times to retry failed tests. + * @return {Mocha} this + * @chainable + * @example + * + * // Allow any failed test to retry one more time + * mocha.retries(1); + */ + + + Mocha.prototype.retries = function (retry) { + this.suite.retries(retry); + return this; + }; + /** + * Sets slowness threshold value. + * + * @public + * @see [CLI option](../#-slow-ms-s-ms) + * @param {number} msecs - Slowness threshold value. + * @return {Mocha} this + * @chainable + * @example + * + * // Sets "slow" threshold to half a second + * mocha.slow(500); + * @example + * + * // Same as above but using string argument + * mocha.slow('0.5s'); + */ + + + Mocha.prototype.slow = function (msecs) { + this.suite.slow(msecs); + return this; + }; + /** + * Forces all tests to either accept a `done` callback or return a promise. + * + * @public + * @see [CLI option](../#-async-only-a) + * @param {boolean} [asyncOnly=true] - Whether to force `done` callback or promise. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.asyncOnly = function (asyncOnly) { + this.options.asyncOnly = asyncOnly !== false; + return this; + }; + /** + * Disables syntax highlighting (in browser). + * + * @public + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.noHighlighting = function () { + this.options.noHighlighting = true; + return this; + }; + /** + * Enables or disables uncaught errors to propagate. + * + * @public + * @see [CLI option](../#-allow-uncaught) + * @param {boolean} [allowUncaught=true] - Whether to propagate uncaught errors. + * @return {Mocha} this + * @chainable + */ + + + Mocha.prototype.allowUncaught = function (allowUncaught) { + this.options.allowUncaught = allowUncaught !== false; + return this; + }; + /** + * @summary + * Delays root suite execution. + * + * @description + * Used to perform async operations before any suites are run. + * + * @public + * @see [delayed root suite](../#delayed-root-suite) + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.delay = function delay() { + this.options.delay = true; + return this; + }; + /** + * Causes tests marked `only` to fail the suite. + * + * @public + * @see [CLI option](../#-forbid-only) + * @param {boolean} [forbidOnly=true] - Whether tests marked `only` fail the suite. + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.forbidOnly = function (forbidOnly) { + this.options.forbidOnly = forbidOnly !== false; + return this; + }; + /** + * Causes pending tests and tests marked `skip` to fail the suite. + * + * @public + * @see [CLI option](../#-forbid-pending) + * @param {boolean} [forbidPending=true] - Whether pending tests fail the suite. + * @returns {Mocha} this + * @chainable + */ + + + Mocha.prototype.forbidPending = function (forbidPending) { + this.options.forbidPending = forbidPending !== false; + return this; + }; + /** + * Throws an error if mocha is in the wrong state to be able to transition to a "running" state. + * @private + */ + + + Mocha.prototype._guardRunningStateTransition = function () { + if (this._state === mochaStates.RUNNING) { + throw createMochaInstanceAlreadyRunningError('Mocha instance is currently running tests, cannot start a next test run until this one is done', this); + } + + if (this._state === mochaStates.DISPOSED || this._state === mochaStates.REFERENCES_CLEANED) { + throw createMochaInstanceAlreadyDisposedError('Mocha instance is already disposed, cannot start a new test run. Please create a new mocha instance. Be sure to set disable `cleanReferencesAfterRun` when you want to reuse the same mocha instance for multiple test runs.', this._cleanReferencesAfterRun, this); + } + }; + /** + * Mocha version as specified by "package.json". + * + * @name Mocha#version + * @type string + * @readonly + */ + + + Object.defineProperty(Mocha.prototype, 'version', { + value: require$$10.version, + configurable: false, + enumerable: true, + writable: false + }); + /** + * Callback to be invoked when test execution is complete. + * + * @private + * @callback DoneCB + * @param {number} failures - Number of failures that occurred. + */ + + /** + * Runs root suite and invokes `fn()` when complete. + * + * @description + * To run tests multiple times (or to run tests in files that are + * already in the `require` cache), make sure to clear them from + * the cache first! + * + * @public + * @see {@link Mocha#unloadFiles} + * @see {@link Runner#run} + * @param {DoneCB} [fn] - Callback invoked when test execution completed. + * @returns {Runner} runner instance + * @example + * + * // exit with non-zero status if there were test failures + * mocha.run(failures => process.exitCode = failures ? 1 : 0); + */ + + Mocha.prototype.run = function (fn) { + var _this = this; + + this._guardRunningStateTransition(); + + this._state = mochaStates.RUNNING; + + if (this._previousRunner) { + this._previousRunner.dispose(); + + this.suite.reset(); + } + + if (this.files.length && !this._lazyLoadFiles) { + this.loadFiles(); + } + + var suite = this.suite; + var options = this.options; + options.files = this.files; + var runner = new this._runnerClass(suite, { + delay: options.delay, + dryRun: options.dryRun, + cleanReferencesAfterRun: this._cleanReferencesAfterRun + }); + statsCollector(runner); + var reporter = new this._reporter(runner, options); + runner.checkLeaks = options.checkLeaks === true; + runner.fullStackTrace = options.fullTrace; + runner.asyncOnly = options.asyncOnly; + runner.allowUncaught = options.allowUncaught; + runner.forbidOnly = options.forbidOnly; + runner.forbidPending = options.forbidPending; + + if (options.grep) { + runner.grep(options.grep, options.invert); + } + + if (options.global) { + runner.globals(options.global); + } + + if (options.growl) { + this._growl(runner); + } + + if (options.color !== undefined) { + exports.reporters.Base.useColors = options.color; + } + + exports.reporters.Base.inlineDiffs = options.inlineDiffs; + exports.reporters.Base.hideDiff = !options.diff; + + var done = function done(failures) { + _this._previousRunner = runner; + _this._state = _this._cleanReferencesAfterRun ? mochaStates.REFERENCES_CLEANED : mochaStates.INIT; + fn = fn || utils.noop; + + if (typeof reporter.done === 'function') { + reporter.done(failures, fn); + } else { + fn(failures); + } + }; + + var runAsync = /*#__PURE__*/function () { + var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(runner) { + var context, failureCount; + return regeneratorRuntime.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + if (!(_this.options.enableGlobalSetup && _this.hasGlobalSetupFixtures())) { + _context.next = 6; + break; + } + + _context.next = 3; + return _this.runGlobalSetup(runner); + + case 3: + _context.t0 = _context.sent; + _context.next = 7; + break; + + case 6: + _context.t0 = {}; + + case 7: + context = _context.t0; + _context.next = 10; + return runner.runAsync({ + files: _this.files, + options: options + }); + + case 10: + failureCount = _context.sent; + + if (!(_this.options.enableGlobalTeardown && _this.hasGlobalTeardownFixtures())) { + _context.next = 14; + break; + } + + _context.next = 14; + return _this.runGlobalTeardown(runner, { + context: context + }); + + case 14: + return _context.abrupt("return", failureCount); + + case 15: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function runAsync(_x) { + return _ref.apply(this, arguments); + }; + }(); // no "catch" here is intentional. errors coming out of + // Runner#run are considered uncaught/unhandled and caught + // by the `process` event listeners. + // also: returning anything other than `runner` would be a breaking + // change + + + runAsync(runner).then(done); + return runner; + }; + /** + * Assigns hooks to the root suite + * @param {MochaRootHookObject} [hooks] - Hooks to assign to root suite + * @chainable + */ + + + Mocha.prototype.rootHooks = function rootHooks() { + var _this2 = this; + + var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref2$beforeAll = _ref2.beforeAll, + beforeAll = _ref2$beforeAll === void 0 ? [] : _ref2$beforeAll, + _ref2$beforeEach = _ref2.beforeEach, + beforeEach = _ref2$beforeEach === void 0 ? [] : _ref2$beforeEach, + _ref2$afterAll = _ref2.afterAll, + afterAll = _ref2$afterAll === void 0 ? [] : _ref2$afterAll, + _ref2$afterEach = _ref2.afterEach, + afterEach = _ref2$afterEach === void 0 ? [] : _ref2$afterEach; + + beforeAll = utils.castArray(beforeAll); + beforeEach = utils.castArray(beforeEach); + afterAll = utils.castArray(afterAll); + afterEach = utils.castArray(afterEach); + beforeAll.forEach(function (hook) { + _this2.suite.beforeAll(hook); + }); + beforeEach.forEach(function (hook) { + _this2.suite.beforeEach(hook); + }); + afterAll.forEach(function (hook) { + _this2.suite.afterAll(hook); + }); + afterEach.forEach(function (hook) { + _this2.suite.afterEach(hook); + }); + return this; + }; + /** + * Toggles parallel mode. + * + * Must be run before calling {@link Mocha#run}. Changes the `Runner` class to + * use; also enables lazy file loading if not already done so. + * + * Warning: when passed `false` and lazy loading has been enabled _via any means_ (including calling `parallelMode(true)`), this method will _not_ disable lazy loading. Lazy loading is a prerequisite for parallel + * mode, but parallel mode is _not_ a prerequisite for lazy loading! + * @param {boolean} [enable] - If `true`, enable; otherwise disable. + * @throws If run in browser + * @throws If Mocha not in `INIT` state + * @returns {Mocha} + * @chainable + * @public + */ + + + Mocha.prototype.parallelMode = function parallelMode() { + var enable = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + + if (utils.isBrowser()) { + throw createUnsupportedError('parallel mode is only supported in Node.js'); + } + + var parallel = Boolean(enable); + + if (parallel === this.options.parallel && this._lazyLoadFiles && this._runnerClass !== exports.Runner) { + return this; + } + + if (this._state !== mochaStates.INIT) { + throw createUnsupportedError('cannot change parallel mode after having called run()'); + } + + this.options.parallel = parallel; // swap Runner class + + this._runnerClass = parallel ? require$$11 : exports.Runner; // lazyLoadFiles may have been set `true` otherwise (for ESM loading), + // so keep `true` if so. + + return this.lazyLoadFiles(this._lazyLoadFiles || parallel); + }; + /** + * Disables implicit call to {@link Mocha#loadFiles} in {@link Mocha#run}. This + * setting is used by watch mode, parallel mode, and for loading ESM files. + * @todo This should throw if we've already loaded files; such behavior + * necessitates adding a new state. + * @param {boolean} [enable] - If `true`, disable eager loading of files in + * {@link Mocha#run} + * @chainable + * @public + */ + + + Mocha.prototype.lazyLoadFiles = function lazyLoadFiles(enable) { + this._lazyLoadFiles = enable === true; + debug('set lazy load to %s', enable); + return this; + }; + /** + * Configures one or more global setup fixtures. + * + * If given no parameters, _unsets_ any previously-set fixtures. + * @chainable + * @public + * @param {MochaGlobalFixture|MochaGlobalFixture[]} [setupFns] - Global setup fixture(s) + * @returns {Mocha} + */ + + + Mocha.prototype.globalSetup = function globalSetup() { + var setupFns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + setupFns = utils.castArray(setupFns); + this.options.globalSetup = setupFns; + debug('configured %d global setup functions', setupFns.length); + return this; + }; + /** + * Configures one or more global teardown fixtures. + * + * If given no parameters, _unsets_ any previously-set fixtures. + * @chainable + * @public + * @param {MochaGlobalFixture|MochaGlobalFixture[]} [teardownFns] - Global teardown fixture(s) + * @returns {Mocha} + */ + + + Mocha.prototype.globalTeardown = function globalTeardown() { + var teardownFns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + teardownFns = utils.castArray(teardownFns); + this.options.globalTeardown = teardownFns; + debug('configured %d global teardown functions', teardownFns.length); + return this; + }; + /** + * Run any global setup fixtures sequentially, if any. + * + * This is _automatically called_ by {@link Mocha#run} _unless_ the `runGlobalSetup` option is `false`; see {@link Mocha#enableGlobalSetup}. + * + * The context object this function resolves with should be consumed by {@link Mocha#runGlobalTeardown}. + * @param {object} [context] - Context object if already have one + * @public + * @returns {Promise<object>} Context object + */ + + + Mocha.prototype.runGlobalSetup = /*#__PURE__*/function () { + var _runGlobalSetup = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { + var context, + globalSetup, + _args2 = arguments; + return regeneratorRuntime.wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + context = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}; + globalSetup = this.options.globalSetup; + + if (!(globalSetup && globalSetup.length)) { + _context2.next = 7; + break; + } + + debug('run(): global setup starting'); + _context2.next = 6; + return this._runGlobalFixtures(globalSetup, context); + + case 6: + debug('run(): global setup complete'); + + case 7: + return _context2.abrupt("return", context); + + case 8: + case "end": + return _context2.stop(); + } + } + }, _callee2, this); + })); + + function runGlobalSetup() { + return _runGlobalSetup.apply(this, arguments); + } + + return runGlobalSetup; + }(); + /** + * Run any global teardown fixtures sequentially, if any. + * + * This is _automatically called_ by {@link Mocha#run} _unless_ the `runGlobalTeardown` option is `false`; see {@link Mocha#enableGlobalTeardown}. + * + * Should be called with context object returned by {@link Mocha#runGlobalSetup}, if applicable. + * @param {object} [context] - Context object if already have one + * @public + * @returns {Promise<object>} Context object + */ + + + Mocha.prototype.runGlobalTeardown = /*#__PURE__*/function () { + var _runGlobalTeardown = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() { + var context, + globalTeardown, + _args3 = arguments; + return regeneratorRuntime.wrap(function _callee3$(_context3) { + while (1) { + switch (_context3.prev = _context3.next) { + case 0: + context = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {}; + globalTeardown = this.options.globalTeardown; + + if (!(globalTeardown && globalTeardown.length)) { + _context3.next = 6; + break; + } + + debug('run(): global teardown starting'); + _context3.next = 6; + return this._runGlobalFixtures(globalTeardown, context); + + case 6: + debug('run(): global teardown complete'); + return _context3.abrupt("return", context); + + case 8: + case "end": + return _context3.stop(); + } + } + }, _callee3, this); + })); + + function runGlobalTeardown() { + return _runGlobalTeardown.apply(this, arguments); + } + + return runGlobalTeardown; + }(); + /** + * Run global fixtures sequentially with context `context` + * @private + * @param {MochaGlobalFixture[]} [fixtureFns] - Fixtures to run + * @param {object} [context] - context object + * @returns {Promise<object>} context object + */ + + + Mocha.prototype._runGlobalFixtures = /*#__PURE__*/function () { + var _runGlobalFixtures2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() { + var fixtureFns, + context, + _iteratorNormalCompletion, + _didIteratorError, + _iteratorError, + _iterator, + _step, + _value, + fixtureFn, + _args4 = arguments; + + return regeneratorRuntime.wrap(function _callee4$(_context4) { + while (1) { + switch (_context4.prev = _context4.next) { + case 0: + fixtureFns = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : []; + context = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {}; + _iteratorNormalCompletion = true; + _didIteratorError = false; + _context4.prev = 4; + _iterator = _asyncIterator(fixtureFns); + + case 6: + _context4.next = 8; + return _iterator.next(); + + case 8: + _step = _context4.sent; + _iteratorNormalCompletion = _step.done; + _context4.next = 12; + return _step.value; + + case 12: + _value = _context4.sent; + + if (_iteratorNormalCompletion) { + _context4.next = 20; + break; + } + + fixtureFn = _value; + _context4.next = 17; + return fixtureFn.call(context); + + case 17: + _iteratorNormalCompletion = true; + _context4.next = 6; + break; + + case 20: + _context4.next = 26; + break; + + case 22: + _context4.prev = 22; + _context4.t0 = _context4["catch"](4); + _didIteratorError = true; + _iteratorError = _context4.t0; + + case 26: + _context4.prev = 26; + _context4.prev = 27; + + if (!(!_iteratorNormalCompletion && _iterator["return"] != null)) { + _context4.next = 31; + break; + } + + _context4.next = 31; + return _iterator["return"](); + + case 31: + _context4.prev = 31; + + if (!_didIteratorError) { + _context4.next = 34; + break; + } + + throw _iteratorError; + + case 34: + return _context4.finish(31); + + case 35: + return _context4.finish(26); + + case 36: + return _context4.abrupt("return", context); + + case 37: + case "end": + return _context4.stop(); + } + } + }, _callee4, null, [[4, 22, 26, 36], [27,, 31, 35]]); + })); + + function _runGlobalFixtures() { + return _runGlobalFixtures2.apply(this, arguments); + } + + return _runGlobalFixtures; + }(); + /** + * Toggle execution of any global setup fixture(s) + * + * @chainable + * @public + * @param {boolean } [enabled=true] - If `false`, do not run global setup fixture + * @returns {Mocha} + */ + + + Mocha.prototype.enableGlobalSetup = function enableGlobalSetup() { + var enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + this.options.enableGlobalSetup = Boolean(enabled); + return this; + }; + /** + * Toggle execution of any global teardown fixture(s) + * + * @chainable + * @public + * @param {boolean } [enabled=true] - If `false`, do not run global teardown fixture + * @returns {Mocha} + */ + + + Mocha.prototype.enableGlobalTeardown = function enableGlobalTeardown() { + var enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + this.options.enableGlobalTeardown = Boolean(enabled); + return this; + }; + /** + * Returns `true` if one or more global setup fixtures have been supplied. + * @public + * @returns {boolean} + */ + + + Mocha.prototype.hasGlobalSetupFixtures = function hasGlobalSetupFixtures() { + return Boolean(this.options.globalSetup.length); + }; + /** + * Returns `true` if one or more global teardown fixtures have been supplied. + * @public + * @returns {boolean} + */ + + + Mocha.prototype.hasGlobalTeardownFixtures = function hasGlobalTeardownFixtures() { + return Boolean(this.options.globalTeardown.length); + }; + /** + * An alternative way to define root hooks that works with parallel runs. + * @typedef {Object} MochaRootHookObject + * @property {Function|Function[]} [beforeAll] - "Before all" hook(s) + * @property {Function|Function[]} [beforeEach] - "Before each" hook(s) + * @property {Function|Function[]} [afterAll] - "After all" hook(s) + * @property {Function|Function[]} [afterEach] - "After each" hook(s) + */ + + /** + * An function that returns a {@link MochaRootHookObject}, either sync or async. + @callback MochaRootHookFunction + * @returns {MochaRootHookObject|Promise<MochaRootHookObject>} + */ + + /** + * A function that's invoked _once_ which is either sync or async. + * Can be a "teardown" or "setup". These will all share the same context. + * @callback MochaGlobalFixture + * @returns {void|Promise<void>} + */ + + /** + * An object making up all necessary parts of a plugin loader and aggregator + * @typedef {Object} PluginDefinition + * @property {string} exportName - Named export to use + * @property {string} [optionName] - Option name for Mocha constructor (use `exportName` if omitted) + * @property {PluginValidator} [validate] - Validator function + * @property {PluginFinalizer} [finalize] - Finalizer/aggregator function + */ + + /** + * A (sync) function to assert a user-supplied plugin implementation is valid. + * + * Defined in a {@link PluginDefinition}. + + * @callback PluginValidator + * @param {*} value - Value to check + * @this {PluginDefinition} + * @returns {void} + */ + + /** + * A function to finalize plugins impls of a particular ilk + * @callback PluginFinalizer + * @param {Array<*>} impls - User-supplied implementations + * @returns {Promise<*>|*} + */ }); @@ -30130,7 +30245,7 @@ process$3.stdout = browserStdout({ - label: false + label: false }); /** * Create a Mocha instance. @@ -30139,7 +30254,7 @@ */ var mocha = new mocha$1({ - reporter: 'html' + reporter: 'html' }); /** * Save timer references to avoid Sinon interfering (see GH-237). @@ -30158,19 +30273,19 @@ */ process$3.removeListener = function (e, fn) { - if (e === 'uncaughtException') { - if (originalOnerrorHandler) { - commonjsGlobal.onerror = originalOnerrorHandler; - } else { - commonjsGlobal.onerror = function () {}; - } + if (e === 'uncaughtException') { + if (originalOnerrorHandler) { + commonjsGlobal.onerror = originalOnerrorHandler; + } else { + commonjsGlobal.onerror = function () {}; + } - var i = uncaughtExceptionHandlers.indexOf(fn); + var i = uncaughtExceptionHandlers.indexOf(fn); - if (i !== -1) { - uncaughtExceptionHandlers.splice(i, 1); - } - } + if (i !== -1) { + uncaughtExceptionHandlers.splice(i, 1); + } + } }; /** * Implements listenerCount for 'uncaughtException'. @@ -30178,11 +30293,11 @@ process$3.listenerCount = function (name) { - if (name === 'uncaughtException') { - return uncaughtExceptionHandlers.length; - } + if (name === 'uncaughtException') { + return uncaughtExceptionHandlers.length; + } - return 0; + return 0; }; /** * Implements uncaughtException listener. @@ -30190,22 +30305,22 @@ process$3.on = function (e, fn) { - if (e === 'uncaughtException') { - commonjsGlobal.onerror = function (err, url, line) { - fn(new Error(err + ' (' + url + ':' + line + ')')); - return !mocha.options.allowUncaught; - }; + if (e === 'uncaughtException') { + commonjsGlobal.onerror = function (err, url, line) { + fn(new Error(err + ' (' + url + ':' + line + ')')); + return !mocha.options.allowUncaught; + }; - uncaughtExceptionHandlers.push(fn); - } + uncaughtExceptionHandlers.push(fn); + } }; process$3.listeners = function (e) { - if (e === 'uncaughtException') { - return uncaughtExceptionHandlers; - } + if (e === 'uncaughtException') { + return uncaughtExceptionHandlers; + } - return []; + return []; }; // The BDD UI is registered by default, but no UI will be functional in the // browser without an explicit call to the overridden `mocha.ui` (see below). // Ensure that this default UI does not expose its methods to the global scope. @@ -30216,17 +30331,17 @@ var immediateTimeout; function timeslice() { - var immediateStart = new Date$1().getTime(); + var immediateStart = new Date$1().getTime(); - while (immediateQueue.length && new Date$1().getTime() - immediateStart < 100) { - immediateQueue.shift()(); - } + while (immediateQueue.length && new Date$1().getTime() - immediateStart < 100) { + immediateQueue.shift()(); + } - if (immediateQueue.length) { - immediateTimeout = setTimeout$1(timeslice, 0); - } else { - immediateTimeout = null; - } + if (immediateQueue.length) { + immediateTimeout = setTimeout$1(timeslice, 0); + } else { + immediateTimeout = null; + } } /** * High-performance override of Runner.immediately. @@ -30234,11 +30349,11 @@ mocha$1.Runner.immediately = function (callback) { - immediateQueue.push(callback); + immediateQueue.push(callback); - if (!immediateTimeout) { - immediateTimeout = setTimeout$1(timeslice, 0); - } + if (!immediateTimeout) { + immediateTimeout = setTimeout$1(timeslice, 0); + } }; /** * Function to allow assertion libraries to throw errors directly into mocha. @@ -30248,10 +30363,10 @@ mocha.throwError = function (err) { - uncaughtExceptionHandlers.forEach(function (fn) { - fn(err); - }); - throw err; + uncaughtExceptionHandlers.forEach(function (fn) { + fn(err); + }); + throw err; }; /** * Override ui to ensure that the ui functions are initialized. @@ -30260,9 +30375,9 @@ mocha.ui = function (ui) { - mocha$1.prototype.ui.call(this, ui); - this.suite.emit('pre-require', commonjsGlobal, null, this); - return this; + mocha$1.prototype.ui.call(this, ui); + this.suite.emit('pre-require', commonjsGlobal, null, this); + return this; }; /** * Setup mocha with the given setting options. @@ -30270,25 +30385,25 @@ mocha.setup = function (opts) { - if (typeof opts === 'string') { - opts = { - ui: opts - }; - } - - if (opts.delay === true) { - this.delay(); - } - - var self = this; - Object.keys(opts).filter(function (opt) { - return opt !== 'delay'; - }).forEach(function (opt) { - if (Object.prototype.hasOwnProperty.call(opts, opt)) { - self[opt](opts[opt]); - } - }); - return this; + if (typeof opts === 'string') { + opts = { + ui: opts + }; + } + + if (opts.delay === true) { + this.delay(); + } + + var self = this; + Object.keys(opts).filter(function (opt) { + return opt !== 'delay'; + }).forEach(function (opt) { + if (Object.prototype.hasOwnProperty.call(opts, opt)) { + self[opt](opts[opt]); + } + }); + return this; }; /** * Run mocha, returning the Runner. @@ -30296,34 +30411,34 @@ mocha.run = function (fn) { - var options = mocha.options; - mocha.globals('location'); - var query = parseQuery(commonjsGlobal.location.search || ''); + var options = mocha.options; + mocha.globals('location'); + var query = parseQuery(commonjsGlobal.location.search || ''); - if (query.grep) { - mocha.grep(query.grep); - } + if (query.grep) { + mocha.grep(query.grep); + } - if (query.fgrep) { - mocha.fgrep(query.fgrep); - } + if (query.fgrep) { + mocha.fgrep(query.fgrep); + } - if (query.invert) { - mocha.invert(); - } + if (query.invert) { + mocha.invert(); + } - return mocha$1.prototype.run.call(mocha, function (err) { - // The DOM Document is not available in Web Workers. - var document = commonjsGlobal.document; + return mocha$1.prototype.run.call(mocha, function (err) { + // The DOM Document is not available in Web Workers. + var document = commonjsGlobal.document; - if (document && document.getElementById('mocha') && options.noHighlighting !== true) { - highlightTags('code'); - } + if (document && document.getElementById('mocha') && options.noHighlighting !== true) { + highlightTags('code'); + } - if (fn) { - fn(err); - } - }); + if (fn) { + fn(err); + } + }); }; /** * Expose the process shim. @@ -30346,4 +30461,4 @@ return browserEntry; }))); -//# sourceMappingURL=mocha.js.map +//# sourceMappingURL=mocha.js.map \ No newline at end of file diff --git a/packages/monster/test/web/tests.js b/packages/monster/test/web/tests.js index c1c271f6a7c4b88fe0490c02b70e6e433a88772b..43c7023313069d8f7e079568171fc645d6cbbc11 100644 --- a/packages/monster/test/web/tests.js +++ b/packages/monster/test/web/tests.js @@ -1,4 +1,1135 @@ (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){ +function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + + return arr2; +} + +module.exports = _arrayLikeToArray; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],2:[function(require,module,exports){ +var arrayLikeToArray = require("./arrayLikeToArray.js"); + +function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return arrayLikeToArray(arr); +} + +module.exports = _arrayWithoutHoles; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{"./arrayLikeToArray.js":1}],3:[function(require,module,exports){ +function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; +} + +module.exports = _assertThisInitialized; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],4:[function(require,module,exports){ +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { + try { + var info = gen[key](arg); + var value = info.value; + } catch (error) { + reject(error); + return; + } + + if (info.done) { + resolve(value); + } else { + Promise.resolve(value).then(_next, _throw); + } +} + +function _asyncToGenerator(fn) { + return function () { + var self = this, + args = arguments; + return new Promise(function (resolve, reject) { + var gen = fn.apply(self, args); + + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } + + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } + + _next(undefined); + }); + }; +} + +module.exports = _asyncToGenerator; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],5:[function(require,module,exports){ +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +module.exports = _classCallCheck; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],6:[function(require,module,exports){ +var setPrototypeOf = require("./setPrototypeOf.js"); + +var isNativeReflectConstruct = require("./isNativeReflectConstruct.js"); + +function _construct(Parent, args, Class) { + if (isNativeReflectConstruct()) { + module.exports = _construct = Reflect.construct; + module.exports["default"] = module.exports, module.exports.__esModule = true; + } else { + module.exports = _construct = function _construct(Parent, args, Class) { + var a = [null]; + a.push.apply(a, args); + var Constructor = Function.bind.apply(Parent, a); + var instance = new Constructor(); + if (Class) setPrototypeOf(instance, Class.prototype); + return instance; + }; + + module.exports["default"] = module.exports, module.exports.__esModule = true; + } + + return _construct.apply(null, arguments); +} + +module.exports = _construct; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{"./isNativeReflectConstruct.js":13,"./setPrototypeOf.js":17}],7:[function(require,module,exports){ +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; +} + +module.exports = _createClass; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],8:[function(require,module,exports){ +var superPropBase = require("./superPropBase.js"); + +function _get(target, property, receiver) { + if (typeof Reflect !== "undefined" && Reflect.get) { + module.exports = _get = Reflect.get; + module.exports["default"] = module.exports, module.exports.__esModule = true; + } else { + module.exports = _get = function _get(target, property, receiver) { + var base = superPropBase(target, property); + if (!base) return; + var desc = Object.getOwnPropertyDescriptor(base, property); + + if (desc.get) { + return desc.get.call(receiver); + } + + return desc.value; + }; + + module.exports["default"] = module.exports, module.exports.__esModule = true; + } + + return _get(target, property, receiver || target); +} + +module.exports = _get; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{"./superPropBase.js":18}],9:[function(require,module,exports){ +function _getPrototypeOf(o) { + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + module.exports["default"] = module.exports, module.exports.__esModule = true; + return _getPrototypeOf(o); +} + +module.exports = _getPrototypeOf; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],10:[function(require,module,exports){ +var setPrototypeOf = require("./setPrototypeOf.js"); + +function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) setPrototypeOf(subClass, superClass); +} + +module.exports = _inherits; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{"./setPrototypeOf.js":17}],11:[function(require,module,exports){ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { + "default": obj + }; +} + +module.exports = _interopRequireDefault; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],12:[function(require,module,exports){ +function _isNativeFunction(fn) { + return Function.toString.call(fn).indexOf("[native code]") !== -1; +} + +module.exports = _isNativeFunction; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],13:[function(require,module,exports){ +function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } +} + +module.exports = _isNativeReflectConstruct; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],14:[function(require,module,exports){ +function _iterableToArray(iter) { + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); +} + +module.exports = _iterableToArray; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],15:[function(require,module,exports){ +function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} + +module.exports = _nonIterableSpread; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],16:[function(require,module,exports){ +var _typeof = require("@babel/runtime/helpers/typeof")["default"]; + +var assertThisInitialized = require("./assertThisInitialized.js"); + +function _possibleConstructorReturn(self, call) { + if (call && (_typeof(call) === "object" || typeof call === "function")) { + return call; + } + + return assertThisInitialized(self); +} + +module.exports = _possibleConstructorReturn; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{"./assertThisInitialized.js":3,"@babel/runtime/helpers/typeof":20}],17:[function(require,module,exports){ +function _setPrototypeOf(o, p) { + module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + module.exports["default"] = module.exports, module.exports.__esModule = true; + return _setPrototypeOf(o, p); +} + +module.exports = _setPrototypeOf; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],18:[function(require,module,exports){ +var getPrototypeOf = require("./getPrototypeOf.js"); + +function _superPropBase(object, property) { + while (!Object.prototype.hasOwnProperty.call(object, property)) { + object = getPrototypeOf(object); + if (object === null) break; + } + + return object; +} + +module.exports = _superPropBase; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{"./getPrototypeOf.js":9}],19:[function(require,module,exports){ +var arrayWithoutHoles = require("./arrayWithoutHoles.js"); + +var iterableToArray = require("./iterableToArray.js"); + +var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); + +var nonIterableSpread = require("./nonIterableSpread.js"); + +function _toConsumableArray(arr) { + return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); +} + +module.exports = _toConsumableArray; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{"./arrayWithoutHoles.js":2,"./iterableToArray.js":14,"./nonIterableSpread.js":15,"./unsupportedIterableToArray.js":21}],20:[function(require,module,exports){ +function _typeof(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + module.exports = _typeof = function _typeof(obj) { + return typeof obj; + }; + + module.exports["default"] = module.exports, module.exports.__esModule = true; + } else { + module.exports = _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + + module.exports["default"] = module.exports, module.exports.__esModule = true; + } + + return _typeof(obj); +} + +module.exports = _typeof; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{}],21:[function(require,module,exports){ +var arrayLikeToArray = require("./arrayLikeToArray.js"); + +function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); +} + +module.exports = _unsupportedIterableToArray; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{"./arrayLikeToArray.js":1}],22:[function(require,module,exports){ +var getPrototypeOf = require("./getPrototypeOf.js"); + +var setPrototypeOf = require("./setPrototypeOf.js"); + +var isNativeFunction = require("./isNativeFunction.js"); + +var construct = require("./construct.js"); + +function _wrapNativeSuper(Class) { + var _cache = typeof Map === "function" ? new Map() : undefined; + + module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { + if (Class === null || !isNativeFunction(Class)) return Class; + + if (typeof Class !== "function") { + throw new TypeError("Super expression must either be null or a function"); + } + + if (typeof _cache !== "undefined") { + if (_cache.has(Class)) return _cache.get(Class); + + _cache.set(Class, Wrapper); + } + + function Wrapper() { + return construct(Class, arguments, getPrototypeOf(this).constructor); + } + + Wrapper.prototype = Object.create(Class.prototype, { + constructor: { + value: Wrapper, + enumerable: false, + writable: true, + configurable: true + } + }); + return setPrototypeOf(Wrapper, Class); + }; + + module.exports["default"] = module.exports, module.exports.__esModule = true; + return _wrapNativeSuper(Class); +} + +module.exports = _wrapNativeSuper; +module.exports["default"] = module.exports, module.exports.__esModule = true; +},{"./construct.js":6,"./getPrototypeOf.js":9,"./isNativeFunction.js":12,"./setPrototypeOf.js":17}],23:[function(require,module,exports){ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +var runtime = (function (exports) { + "use strict"; + + var Op = Object.prototype; + var hasOwn = Op.hasOwnProperty; + var undefined; // More compressible than void 0. + var $Symbol = typeof Symbol === "function" ? Symbol : {}; + var iteratorSymbol = $Symbol.iterator || "@@iterator"; + var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; + var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + + function define(obj, key, value) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + return obj[key]; + } + try { + // IE 8 has a broken Object.defineProperty that only works on DOM objects. + define({}, ""); + } catch (err) { + define = function(obj, key, value) { + return obj[key] = value; + }; + } + + function wrap(innerFn, outerFn, self, tryLocsList) { + // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; + var generator = Object.create(protoGenerator.prototype); + var context = new Context(tryLocsList || []); + + // The ._invoke method unifies the implementations of the .next, + // .throw, and .return methods. + generator._invoke = makeInvokeMethod(innerFn, self, context); + + return generator; + } + exports.wrap = wrap; + + // Try/catch helper to minimize deoptimizations. Returns a completion + // record like context.tryEntries[i].completion. This interface could + // have been (and was previously) designed to take a closure to be + // invoked without arguments, but in all the cases we care about we + // already have an existing method we want to call, so there's no need + // to create a new function object. We can even get away with assuming + // the method takes exactly one argument, since that happens to be true + // in every case, so we don't have to touch the arguments object. The + // only additional allocation required is the completion record, which + // has a stable shape and so hopefully should be cheap to allocate. + function tryCatch(fn, obj, arg) { + try { + return { type: "normal", arg: fn.call(obj, arg) }; + } catch (err) { + return { type: "throw", arg: err }; + } + } + + var GenStateSuspendedStart = "suspendedStart"; + var GenStateSuspendedYield = "suspendedYield"; + var GenStateExecuting = "executing"; + var GenStateCompleted = "completed"; + + // Returning this object from the innerFn has the same effect as + // breaking out of the dispatch switch statement. + var ContinueSentinel = {}; + + // Dummy constructor functions that we use as the .constructor and + // .constructor.prototype properties for functions that return Generator + // objects. For full spec compliance, you may wish to configure your + // minifier not to mangle the names of these two functions. + function Generator() {} + function GeneratorFunction() {} + function GeneratorFunctionPrototype() {} + + // This is a polyfill for %IteratorPrototype% for environments that + // don't natively support it. + var IteratorPrototype = {}; + define(IteratorPrototype, iteratorSymbol, function () { + return this; + }); + + var getProto = Object.getPrototypeOf; + var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + if (NativeIteratorPrototype && + NativeIteratorPrototype !== Op && + hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { + // This environment has a native %IteratorPrototype%; use it instead + // of the polyfill. + IteratorPrototype = NativeIteratorPrototype; + } + + var Gp = GeneratorFunctionPrototype.prototype = + Generator.prototype = Object.create(IteratorPrototype); + GeneratorFunction.prototype = GeneratorFunctionPrototype; + define(Gp, "constructor", GeneratorFunctionPrototype); + define(GeneratorFunctionPrototype, "constructor", GeneratorFunction); + GeneratorFunction.displayName = define( + GeneratorFunctionPrototype, + toStringTagSymbol, + "GeneratorFunction" + ); + + // Helper for defining the .next, .throw, and .return methods of the + // Iterator interface in terms of a single ._invoke method. + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function(method) { + define(prototype, method, function(arg) { + return this._invoke(method, arg); + }); + }); + } + + exports.isGeneratorFunction = function(genFun) { + var ctor = typeof genFun === "function" && genFun.constructor; + return ctor + ? ctor === GeneratorFunction || + // For the native GeneratorFunction constructor, the best we can + // do is to check its .name property. + (ctor.displayName || ctor.name) === "GeneratorFunction" + : false; + }; + + exports.mark = function(genFun) { + if (Object.setPrototypeOf) { + Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); + } else { + genFun.__proto__ = GeneratorFunctionPrototype; + define(genFun, toStringTagSymbol, "GeneratorFunction"); + } + genFun.prototype = Object.create(Gp); + return genFun; + }; + + // Within the body of any async function, `await x` is transformed to + // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test + // `hasOwn.call(value, "__await")` to determine if the yielded value is + // meant to be awaited. + exports.awrap = function(arg) { + return { __await: arg }; + }; + + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + if (record.type === "throw") { + reject(record.arg); + } else { + var result = record.arg; + var value = result.value; + if (value && + typeof value === "object" && + hasOwn.call(value, "__await")) { + return PromiseImpl.resolve(value.__await).then(function(value) { + invoke("next", value, resolve, reject); + }, function(err) { + invoke("throw", err, resolve, reject); + }); + } + + return PromiseImpl.resolve(value).then(function(unwrapped) { + // When a yielded Promise is resolved, its final value becomes + // the .value of the Promise<{value,done}> result for the + // current iteration. + result.value = unwrapped; + resolve(result); + }, function(error) { + // If a rejected Promise was yielded, throw the rejection back + // into the async generator function so it can be handled there. + return invoke("throw", error, resolve, reject); + }); + } + } + + var previousPromise; + + function enqueue(method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function(resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } + + return previousPromise = + // If enqueue has been called before, then we want to wait until + // all previous Promises have been resolved before calling invoke, + // so that results are always delivered in the correct order. If + // enqueue has not been called before, then it is important to + // call invoke immediately, without waiting on a callback to fire, + // so that the async generator function has the opportunity to do + // any necessary setup in a predictable way. This predictability + // is why the Promise constructor synchronously invokes its + // executor callback, and why async functions synchronously + // execute code before the first await. Since we implement simple + // async functions in terms of async generators, it is especially + // important to get this right, even though it requires care. + previousPromise ? previousPromise.then( + callInvokeWithMethodAndArg, + // Avoid propagating failures to Promises returned by later + // invocations of the iterator. + callInvokeWithMethodAndArg + ) : callInvokeWithMethodAndArg(); + } + + // Define the unified helper method that is used to implement .next, + // .throw, and .return (see defineIteratorMethods). + this._invoke = enqueue; + } + + defineIteratorMethods(AsyncIterator.prototype); + define(AsyncIterator.prototype, asyncIteratorSymbol, function () { + return this; + }); + exports.AsyncIterator = AsyncIterator; + + // Note that simple async functions are implemented on top of + // AsyncIterator objects; they just return a Promise for the value of + // the final result produced by the iterator. + exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { + if (PromiseImpl === void 0) PromiseImpl = Promise; + + var iter = new AsyncIterator( + wrap(innerFn, outerFn, self, tryLocsList), + PromiseImpl + ); + + return exports.isGeneratorFunction(outerFn) + ? iter // If outerFn is a generator, return the full iterator. + : iter.next().then(function(result) { + return result.done ? result.value : iter.next(); + }); + }; + + function makeInvokeMethod(innerFn, self, context) { + var state = GenStateSuspendedStart; + + return function invoke(method, arg) { + if (state === GenStateExecuting) { + throw new Error("Generator is already running"); + } + + if (state === GenStateCompleted) { + if (method === "throw") { + throw arg; + } + + // Be forgiving, per 25.3.3.3.3 of the spec: + // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume + return doneResult(); + } + + context.method = method; + context.arg = arg; + + while (true) { + var delegate = context.delegate; + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } + + if (context.method === "next") { + // Setting context._sent for legacy support of Babel's + // function.sent implementation. + context.sent = context._sent = context.arg; + + } else if (context.method === "throw") { + if (state === GenStateSuspendedStart) { + state = GenStateCompleted; + throw context.arg; + } + + context.dispatchException(context.arg); + + } else if (context.method === "return") { + context.abrupt("return", context.arg); + } + + state = GenStateExecuting; + + var record = tryCatch(innerFn, self, context); + if (record.type === "normal") { + // If an exception is thrown from innerFn, we leave state === + // GenStateExecuting and loop back for another invocation. + state = context.done + ? GenStateCompleted + : GenStateSuspendedYield; + + if (record.arg === ContinueSentinel) { + continue; + } + + return { + value: record.arg, + done: context.done + }; + + } else if (record.type === "throw") { + state = GenStateCompleted; + // Dispatch the exception by looping back around to the + // context.dispatchException(context.arg) call above. + context.method = "throw"; + context.arg = record.arg; + } + } + }; + } + + // Call delegate.iterator[context.method](context.arg) and handle the + // result, either by returning a { value, done } result from the + // delegate iterator, or by modifying context.method and context.arg, + // setting context.delegate to null, and returning the ContinueSentinel. + function maybeInvokeDelegate(delegate, context) { + var method = delegate.iterator[context.method]; + if (method === undefined) { + // A .throw or .return when the delegate iterator has no .throw + // method always terminates the yield* loop. + context.delegate = null; + + if (context.method === "throw") { + // Note: ["return"] must be used for ES3 parsing compatibility. + if (delegate.iterator["return"]) { + // If the delegate iterator has a return method, give it a + // chance to clean up. + context.method = "return"; + context.arg = undefined; + maybeInvokeDelegate(delegate, context); + + if (context.method === "throw") { + // If maybeInvokeDelegate(context) changed context.method from + // "return" to "throw", let that override the TypeError below. + return ContinueSentinel; + } + } + + context.method = "throw"; + context.arg = new TypeError( + "The iterator does not provide a 'throw' method"); + } + + return ContinueSentinel; + } + + var record = tryCatch(method, delegate.iterator, context.arg); + + if (record.type === "throw") { + context.method = "throw"; + context.arg = record.arg; + context.delegate = null; + return ContinueSentinel; + } + + var info = record.arg; + + if (! info) { + context.method = "throw"; + context.arg = new TypeError("iterator result is not an object"); + context.delegate = null; + return ContinueSentinel; + } + + if (info.done) { + // Assign the result of the finished delegate to the temporary + // variable specified by delegate.resultName (see delegateYield). + context[delegate.resultName] = info.value; + + // Resume execution at the desired location (see delegateYield). + context.next = delegate.nextLoc; + + // If context.method was "throw" but the delegate handled the + // exception, let the outer generator proceed normally. If + // context.method was "next", forget context.arg since it has been + // "consumed" by the delegate iterator. If context.method was + // "return", allow the original .return call to continue in the + // outer generator. + if (context.method !== "return") { + context.method = "next"; + context.arg = undefined; + } + + } else { + // Re-yield the result returned by the delegate method. + return info; + } + + // The delegate iterator is finished, so forget it and continue with + // the outer generator. + context.delegate = null; + return ContinueSentinel; + } + + // Define Generator.prototype.{next,throw,return} in terms of the + // unified ._invoke helper method. + defineIteratorMethods(Gp); + + define(Gp, toStringTagSymbol, "Generator"); + + // A Generator should always return itself as the iterator object when the + // @@iterator function is called on it. Some browsers' implementations of the + // iterator prototype chain incorrectly implement this, causing the Generator + // object to not be returned from this call. This ensures that doesn't happen. + // See https://github.com/facebook/regenerator/issues/274 for more details. + define(Gp, iteratorSymbol, function() { + return this; + }); + + define(Gp, "toString", function() { + return "[object Generator]"; + }); + + function pushTryEntry(locs) { + var entry = { tryLoc: locs[0] }; + + if (1 in locs) { + entry.catchLoc = locs[1]; + } + + if (2 in locs) { + entry.finallyLoc = locs[2]; + entry.afterLoc = locs[3]; + } + + this.tryEntries.push(entry); + } + + function resetTryEntry(entry) { + var record = entry.completion || {}; + record.type = "normal"; + delete record.arg; + entry.completion = record; + } + + function Context(tryLocsList) { + // The root entry object (effectively a try statement without a catch + // or a finally block) gives us a place to store values thrown from + // locations where there is no enclosing try statement. + this.tryEntries = [{ tryLoc: "root" }]; + tryLocsList.forEach(pushTryEntry, this); + this.reset(true); + } + + exports.keys = function(object) { + var keys = []; + for (var key in object) { + keys.push(key); + } + keys.reverse(); + + // Rather than returning an object with a next method, we keep + // things simple and return the next function itself. + return function next() { + while (keys.length) { + var key = keys.pop(); + if (key in object) { + next.value = key; + next.done = false; + return next; + } + } + + // To avoid creating an additional object, we just hang the .value + // and .done properties off the next function object itself. This + // also ensures that the minifier will not anonymize the function. + next.done = true; + return next; + }; + }; + + function values(iterable) { + if (iterable) { + var iteratorMethod = iterable[iteratorSymbol]; + if (iteratorMethod) { + return iteratorMethod.call(iterable); + } + + if (typeof iterable.next === "function") { + return iterable; + } + + if (!isNaN(iterable.length)) { + var i = -1, next = function next() { + while (++i < iterable.length) { + if (hasOwn.call(iterable, i)) { + next.value = iterable[i]; + next.done = false; + return next; + } + } + + next.value = undefined; + next.done = true; + + return next; + }; + + return next.next = next; + } + } + + // Return an iterator with no values. + return { next: doneResult }; + } + exports.values = values; + + function doneResult() { + return { value: undefined, done: true }; + } + + Context.prototype = { + constructor: Context, + + reset: function(skipTempReset) { + this.prev = 0; + this.next = 0; + // Resetting context._sent for legacy support of Babel's + // function.sent implementation. + this.sent = this._sent = undefined; + this.done = false; + this.delegate = null; + + this.method = "next"; + this.arg = undefined; + + this.tryEntries.forEach(resetTryEntry); + + if (!skipTempReset) { + for (var name in this) { + // Not sure about the optimal order of these conditions: + if (name.charAt(0) === "t" && + hasOwn.call(this, name) && + !isNaN(+name.slice(1))) { + this[name] = undefined; + } + } + } + }, + + stop: function() { + this.done = true; + + var rootEntry = this.tryEntries[0]; + var rootRecord = rootEntry.completion; + if (rootRecord.type === "throw") { + throw rootRecord.arg; + } + + return this.rval; + }, + + dispatchException: function(exception) { + if (this.done) { + throw exception; + } + + var context = this; + function handle(loc, caught) { + record.type = "throw"; + record.arg = exception; + context.next = loc; + + if (caught) { + // If the dispatched exception was caught by a catch block, + // then let that catch block handle the exception normally. + context.method = "next"; + context.arg = undefined; + } + + return !! caught; + } + + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + var record = entry.completion; + + if (entry.tryLoc === "root") { + // Exception thrown outside of any try block that could handle + // it, so set the completion value of the entire function to + // throw the exception. + return handle("end"); + } + + if (entry.tryLoc <= this.prev) { + var hasCatch = hasOwn.call(entry, "catchLoc"); + var hasFinally = hasOwn.call(entry, "finallyLoc"); + + if (hasCatch && hasFinally) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } else if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + + } else if (hasCatch) { + if (this.prev < entry.catchLoc) { + return handle(entry.catchLoc, true); + } + + } else if (hasFinally) { + if (this.prev < entry.finallyLoc) { + return handle(entry.finallyLoc); + } + + } else { + throw new Error("try statement without catch or finally"); + } + } + } + }, + + abrupt: function(type, arg) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.tryLoc <= this.prev && + hasOwn.call(entry, "finallyLoc") && + this.prev < entry.finallyLoc) { + var finallyEntry = entry; + break; + } + } + + if (finallyEntry && + (type === "break" || + type === "continue") && + finallyEntry.tryLoc <= arg && + arg <= finallyEntry.finallyLoc) { + // Ignore the finally entry if control is not jumping to a + // location outside the try/catch block. + finallyEntry = null; + } + + var record = finallyEntry ? finallyEntry.completion : {}; + record.type = type; + record.arg = arg; + + if (finallyEntry) { + this.method = "next"; + this.next = finallyEntry.finallyLoc; + return ContinueSentinel; + } + + return this.complete(record); + }, + + complete: function(record, afterLoc) { + if (record.type === "throw") { + throw record.arg; + } + + if (record.type === "break" || + record.type === "continue") { + this.next = record.arg; + } else if (record.type === "return") { + this.rval = this.arg = record.arg; + this.method = "return"; + this.next = "end"; + } else if (record.type === "normal" && afterLoc) { + this.next = afterLoc; + } + + return ContinueSentinel; + }, + + finish: function(finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.finallyLoc === finallyLoc) { + this.complete(entry.completion, entry.afterLoc); + resetTryEntry(entry); + return ContinueSentinel; + } + } + }, + + "catch": function(tryLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.tryLoc === tryLoc) { + var record = entry.completion; + if (record.type === "throw") { + var thrown = record.arg; + resetTryEntry(entry); + } + return thrown; + } + } + + // The context.catch method must only be called with a location + // argument that corresponds to a known catch block. + throw new Error("illegal catch attempt"); + }, + + delegateYield: function(iterable, resultName, nextLoc) { + this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }; + + if (this.method === "next") { + // Deliberately forget the last sent value so that we don't + // accidentally pass it on to the delegate. + this.arg = undefined; + } + + return ContinueSentinel; + } + }; + + // Regardless of whether this script is executing as a CommonJS module + // or not, return the runtime object so that we can declare the variable + // regeneratorRuntime in the outer scope, which allows this module to be + // injected easily by `bin/regenerator --include-runtime script.js`. + return exports; + +}( + // If this script is executing as a CommonJS module, use module.exports + // as the regeneratorRuntime namespace. Otherwise create a new empty + // object. Either way, the resulting object will be used to initialize + // the regeneratorRuntime variable at the top of this file. + typeof module === "object" ? module.exports : {} +)); + +try { + regeneratorRuntime = runtime; +} catch (accidentalStrictMode) { + // This module should not be running in strict mode, so the above + // assignment should always work unless something is misconfigured. Just + // in case runtime.js accidentally runs in strict mode, in modern engines + // we can explicitly access globalThis. In older engines we can escape + // strict mode using a global Function call. This could conceivably fail + // if a Content Security Policy forbids using Function, but in that case + // the proper solution is to fix the accidental strict mode problem. If + // you've misconfigured your bundler to force strict mode and applied a + // CSP to forbid Function, and you're not willing to fix either of those + // problems, please detail your unique predicament in a GitHub issue. + if (typeof globalThis === "object") { + globalThis.regeneratorRuntime = runtime; + } else { + Function("r", "regeneratorRuntime = r")(runtime); + } +} + +},{}],24:[function(require,module,exports){ +module.exports = require("regenerator-runtime"); + +},{"regenerator-runtime":23}],25:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AsnConvert = void 0; @@ -26,7 +1157,7 @@ class AsnConvert { } exports.AsnConvert = AsnConvert; -},{"./parser":10,"./serializer":12,"asn1js":43,"pvtsutils":961}],2:[function(require,module,exports){ +},{"./parser":34,"./serializer":36,"asn1js":67,"pvtsutils":985}],26:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultConverter = exports.AsnNullConverter = exports.AsnGeneralizedTimeConverter = exports.AsnUTCTimeConverter = exports.AsnCharacterStringConverter = exports.AsnGeneralStringConverter = exports.AsnVisibleStringConverter = exports.AsnGraphicStringConverter = exports.AsnIA5StringConverter = exports.AsnVideotexStringConverter = exports.AsnTeletexStringConverter = exports.AsnPrintableStringConverter = exports.AsnNumericStringConverter = exports.AsnUniversalStringConverter = exports.AsnBmpStringConverter = exports.AsnUtf8StringConverter = exports.AsnOctetStringConverter = exports.AsnBooleanConverter = exports.AsnObjectIdentifierConverter = exports.AsnBitStringConverter = exports.AsnIntegerArrayBufferConverter = exports.AsnEnumeratedConverter = exports.AsnIntegerConverter = exports.AsnAnyConverter = void 0; @@ -159,7 +1290,7 @@ function defaultConverter(type) { } exports.defaultConverter = defaultConverter; -},{"./enums":4,"asn1js":43}],3:[function(require,module,exports){ +},{"./enums":28,"asn1js":67}],27:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AsnProp = exports.AsnType = void 0; @@ -198,7 +1329,7 @@ const AsnProp = (options) => (target, propertyKey) => { }; exports.AsnProp = AsnProp; -},{"./converters":2,"./storage":13}],4:[function(require,module,exports){ +},{"./converters":26,"./storage":37}],28:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AsnPropTypes = exports.AsnTypeTypes = void 0; @@ -239,13 +1370,13 @@ var AsnPropTypes; AsnPropTypes[AsnPropTypes["Null"] = 27] = "Null"; })(AsnPropTypes = exports.AsnPropTypes || (exports.AsnPropTypes = {})); -},{}],5:[function(require,module,exports){ +},{}],29:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); tslib_1.__exportStar(require("./schema_validation"), exports); -},{"./schema_validation":6,"tslib":1031}],6:[function(require,module,exports){ +},{"./schema_validation":30,"tslib":1055}],30:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AsnSchemaValidationError = void 0; @@ -257,7 +1388,7 @@ class AsnSchemaValidationError extends Error { } exports.AsnSchemaValidationError = AsnSchemaValidationError; -},{}],7:[function(require,module,exports){ +},{}],31:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isArrayEqual = exports.isTypeOfArray = exports.isConvertible = void 0; @@ -305,7 +1436,7 @@ function isArrayEqual(bytes1, bytes2) { } exports.isArrayEqual = isArrayEqual; -},{}],8:[function(require,module,exports){ +},{}],32:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AsnSerializer = exports.AsnParser = exports.AsnPropTypes = exports.AsnTypeTypes = exports.AsnType = exports.AsnProp = void 0; @@ -326,7 +1457,7 @@ tslib_1.__exportStar(require("./errors"), exports); tslib_1.__exportStar(require("./objects"), exports); tslib_1.__exportStar(require("./convert"), exports); -},{"./convert":1,"./converters":2,"./decorators":3,"./enums":4,"./errors":5,"./objects":9,"./parser":10,"./serializer":12,"./types/index":15,"tslib":1031}],9:[function(require,module,exports){ +},{"./convert":25,"./converters":26,"./decorators":27,"./enums":28,"./errors":29,"./objects":33,"./parser":34,"./serializer":36,"./types/index":39,"tslib":1055}],33:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AsnArray = void 0; @@ -345,7 +1476,7 @@ class AsnArray extends Array { } exports.AsnArray = AsnArray; -},{}],10:[function(require,module,exports){ +},{}],34:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -486,7 +1617,7 @@ class AsnParser { exports.AsnParser = AsnParser; }).call(this)}).call(this,require("buffer").Buffer) -},{"./converters":2,"./enums":4,"./errors":5,"./helper":7,"./storage":13,"asn1js":43,"buffer":100}],11:[function(require,module,exports){ +},{"./converters":26,"./enums":28,"./errors":29,"./helper":31,"./storage":37,"asn1js":67,"buffer":124}],35:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AsnSchemaStorage = void 0; @@ -649,7 +1780,7 @@ class AsnSchemaStorage { } exports.AsnSchemaStorage = AsnSchemaStorage; -},{"./enums":4,"./helper":7,"asn1js":43}],12:[function(require,module,exports){ +},{"./enums":28,"./helper":31,"asn1js":67}],36:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AsnSerializer = void 0; @@ -793,14 +1924,14 @@ class AsnSerializer { } exports.AsnSerializer = AsnSerializer; -},{"./converters":2,"./enums":4,"./helper":7,"./storage":13,"asn1js":43}],13:[function(require,module,exports){ +},{"./converters":26,"./enums":28,"./helper":31,"./storage":37,"asn1js":67}],37:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.schemaStorage = void 0; const schema_1 = require("./schema"); exports.schemaStorage = new schema_1.AsnSchemaStorage(); -},{"./schema":11}],14:[function(require,module,exports){ +},{"./schema":35}],38:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BitString = void 0; @@ -865,14 +1996,14 @@ class BitString { } exports.BitString = BitString; -},{"asn1js":43,"pvtsutils":961}],15:[function(require,module,exports){ +},{"asn1js":67,"pvtsutils":985}],39:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); tslib_1.__exportStar(require("./bit_string"), exports); tslib_1.__exportStar(require("./octet_string"), exports); -},{"./bit_string":14,"./octet_string":16,"tslib":1031}],16:[function(require,module,exports){ +},{"./bit_string":38,"./octet_string":40,"tslib":1055}],40:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OctetString = void 0; @@ -917,7 +2048,7 @@ class OctetString { } exports.OctetString = OctetString; -},{"asn1js":43,"pvtsutils":961}],17:[function(require,module,exports){ +},{"asn1js":67,"pvtsutils":985}],41:[function(require,module,exports){ /** * Copyright (c) 2020, Peculiar Ventures, All rights reserved. */ @@ -1414,7 +2545,7 @@ exports.SerializerError = SerializerError; exports.TransformError = TransformError; exports.ValidationError = ValidationError; -},{}],18:[function(require,module,exports){ +},{}],42:[function(require,module,exports){ (function (Buffer){(function (){ /** * Copyright (c) 2020 Peculiar Ventures, LLC @@ -3609,7 +4740,7 @@ Object.defineProperty(exports, 'CryptoKey', { exports.Crypto = Crypto; }).call(this)}).call(this,require("buffer").Buffer) -},{"@peculiar/asn1-schema":8,"@peculiar/json-schema":17,"buffer":100,"crypto":145,"process":1155,"pvtsutils":961,"tslib":1031,"webcrypto-core":1050}],19:[function(require,module,exports){ +},{"@peculiar/asn1-schema":32,"@peculiar/json-schema":41,"buffer":124,"crypto":169,"process":1196,"pvtsutils":985,"tslib":1055,"webcrypto-core":1074}],43:[function(require,module,exports){ "use strict"; function noop() { } function once(emitter, name) { @@ -3649,7 +4780,7 @@ function once(emitter, name) { })(once || (once = {})); module.exports = once; -},{}],20:[function(require,module,exports){ +},{}],44:[function(require,module,exports){ "use strict"; const atob = require("./lib/atob"); @@ -3660,7 +4791,7 @@ module.exports = { btoa }; -},{"./lib/atob":21,"./lib/btoa":22}],21:[function(require,module,exports){ +},{"./lib/atob":45,"./lib/btoa":46}],45:[function(require,module,exports){ "use strict"; /** @@ -3759,7 +4890,7 @@ function atobLookup(chr) { module.exports = atob; -},{}],22:[function(require,module,exports){ +},{}],46:[function(require,module,exports){ "use strict"; /** @@ -3819,7 +4950,7 @@ function btoaLookup(index) { module.exports = btoa; -},{}],23:[function(require,module,exports){ +},{}],47:[function(require,module,exports){ 'use strict'; var acorn = require('acorn'); @@ -4000,7 +5131,7 @@ function findGlobals(source, options) { }); } -},{"acorn":25,"acorn-walk":24}],24:[function(require,module,exports){ +},{"acorn":49,"acorn-walk":48}],48:[function(require,module,exports){ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : @@ -4465,7 +5596,7 @@ function findGlobals(source, options) { }))); -},{}],25:[function(require,module,exports){ +},{}],49:[function(require,module,exports){ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : @@ -9653,7 +10784,7 @@ function findGlobals(source, options) { }))); -},{}],26:[function(require,module,exports){ +},{}],50:[function(require,module,exports){ "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -9857,7 +10988,7 @@ function createAgent(callback, opts) { })(createAgent || (createAgent = {})); module.exports = createAgent; -},{"./promisify":27,"debug":199,"events":256}],27:[function(require,module,exports){ +},{"./promisify":51,"debug":223,"events":280}],51:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function promisify(fn) { @@ -9876,7 +11007,7 @@ function promisify(fn) { } exports.default = promisify; -},{}],28:[function(require,module,exports){ +},{}],52:[function(require,module,exports){ 'use strict'; const asn1 = exports; @@ -9889,7 +11020,7 @@ asn1.constants = require('./asn1/constants'); asn1.decoders = require('./asn1/decoders'); asn1.encoders = require('./asn1/encoders'); -},{"./asn1/api":29,"./asn1/base":31,"./asn1/constants":35,"./asn1/decoders":37,"./asn1/encoders":40,"bn.js":42}],29:[function(require,module,exports){ +},{"./asn1/api":53,"./asn1/base":55,"./asn1/constants":59,"./asn1/decoders":61,"./asn1/encoders":64,"bn.js":66}],53:[function(require,module,exports){ 'use strict'; const encoders = require('./encoders'); @@ -9948,7 +11079,7 @@ Entity.prototype.encode = function encode(data, enc, /* internal */ reporter) { return this._getEncoder(enc).encode(data, reporter); }; -},{"./decoders":37,"./encoders":40,"inherits":304}],30:[function(require,module,exports){ +},{"./decoders":61,"./encoders":64,"inherits":328}],54:[function(require,module,exports){ 'use strict'; const inherits = require('inherits'); @@ -10103,7 +11234,7 @@ EncoderBuffer.prototype.join = function join(out, offset) { return out; }; -},{"../base/reporter":33,"inherits":304,"safer-buffer":970}],31:[function(require,module,exports){ +},{"../base/reporter":57,"inherits":328,"safer-buffer":994}],55:[function(require,module,exports){ 'use strict'; const base = exports; @@ -10113,7 +11244,7 @@ base.DecoderBuffer = require('./buffer').DecoderBuffer; base.EncoderBuffer = require('./buffer').EncoderBuffer; base.Node = require('./node'); -},{"./buffer":30,"./node":32,"./reporter":33}],32:[function(require,module,exports){ +},{"./buffer":54,"./node":56,"./reporter":57}],56:[function(require,module,exports){ 'use strict'; const Reporter = require('../base/reporter').Reporter; @@ -10753,7 +11884,7 @@ Node.prototype._isPrintstr = function isPrintstr(str) { return /^[A-Za-z0-9 '()+,-./:=?]*$/.test(str); }; -},{"../base/buffer":30,"../base/reporter":33,"minimalistic-assert":896}],33:[function(require,module,exports){ +},{"../base/buffer":54,"../base/reporter":57,"minimalistic-assert":920}],57:[function(require,module,exports){ 'use strict'; const inherits = require('inherits'); @@ -10878,7 +12009,7 @@ ReporterError.prototype.rethrow = function rethrow(msg) { return this; }; -},{"inherits":304}],34:[function(require,module,exports){ +},{"inherits":328}],58:[function(require,module,exports){ 'use strict'; // Helper @@ -10938,7 +12069,7 @@ exports.tag = { }; exports.tagByName = reverse(exports.tag); -},{}],35:[function(require,module,exports){ +},{}],59:[function(require,module,exports){ 'use strict'; const constants = exports; @@ -10961,7 +12092,7 @@ constants._reverse = function reverse(map) { constants.der = require('./der'); -},{"./der":34}],36:[function(require,module,exports){ +},{"./der":58}],60:[function(require,module,exports){ 'use strict'; const inherits = require('inherits'); @@ -11298,7 +12429,7 @@ function derDecodeLen(buf, primitive, fail) { return len; } -},{"../base/buffer":30,"../base/node":32,"../constants/der":34,"bn.js":42,"inherits":304}],37:[function(require,module,exports){ +},{"../base/buffer":54,"../base/node":56,"../constants/der":58,"bn.js":66,"inherits":328}],61:[function(require,module,exports){ 'use strict'; const decoders = exports; @@ -11306,7 +12437,7 @@ const decoders = exports; decoders.der = require('./der'); decoders.pem = require('./pem'); -},{"./der":36,"./pem":38}],38:[function(require,module,exports){ +},{"./der":60,"./pem":62}],62:[function(require,module,exports){ 'use strict'; const inherits = require('inherits'); @@ -11359,7 +12490,7 @@ PEMDecoder.prototype.decode = function decode(data, options) { return DERDecoder.prototype.decode.call(this, input, options); }; -},{"./der":36,"inherits":304,"safer-buffer":970}],39:[function(require,module,exports){ +},{"./der":60,"inherits":328,"safer-buffer":994}],63:[function(require,module,exports){ 'use strict'; const inherits = require('inherits'); @@ -11656,7 +12787,7 @@ function encodeTag(tag, primitive, cls, reporter) { return res; } -},{"../base/node":32,"../constants/der":34,"inherits":304,"safer-buffer":970}],40:[function(require,module,exports){ +},{"../base/node":56,"../constants/der":58,"inherits":328,"safer-buffer":994}],64:[function(require,module,exports){ 'use strict'; const encoders = exports; @@ -11664,7 +12795,7 @@ const encoders = exports; encoders.der = require('./der'); encoders.pem = require('./pem'); -},{"./der":39,"./pem":41}],41:[function(require,module,exports){ +},{"./der":63,"./pem":65}],65:[function(require,module,exports){ 'use strict'; const inherits = require('inherits'); @@ -11689,7 +12820,7 @@ PEMEncoder.prototype.encode = function encode(data, options) { return out.join('\n'); }; -},{"./der":39,"inherits":304}],42:[function(require,module,exports){ +},{"./der":63,"inherits":328}],66:[function(require,module,exports){ (function (module, exports) { 'use strict'; @@ -15137,7 +16268,7 @@ PEMEncoder.prototype.encode = function encode(data, options) { }; })(typeof module === 'undefined' || module, this); -},{"buffer":53}],43:[function(require,module,exports){ +},{"buffer":77}],67:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -21051,7 +22182,7 @@ function fromJSON(json) {// TODO Implement //endregion //************************************************************************************** -},{"pvutils":962}],44:[function(require,module,exports){ +},{"pvutils":986}],68:[function(require,module,exports){ (function (global){(function (){ 'use strict'; @@ -21561,7 +22692,7 @@ var objectKeys = Object.keys || function (obj) { }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"object-assign":900,"util/":47}],45:[function(require,module,exports){ +},{"object-assign":924,"util/":71}],69:[function(require,module,exports){ if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { @@ -21586,14 +22717,14 @@ if (typeof Object.create === 'function') { } } -},{}],46:[function(require,module,exports){ +},{}],70:[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'; } -},{}],47:[function(require,module,exports){ +},{}],71:[function(require,module,exports){ (function (process,global){(function (){ // Copyright Joyent, Inc. and other Node contributors. // @@ -22183,7 +23314,7 @@ function hasOwnProperty(obj, prop) { } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./support/isBuffer":46,"_process":950,"inherits":45}],48:[function(require,module,exports){ +},{"./support/isBuffer":70,"_process":974,"inherits":69}],72:[function(require,module,exports){ /*! * assertion-error * Copyright(c) 2013 Jake Luer <jake@qualiancy.com> @@ -22301,7 +23432,7 @@ AssertionError.prototype.toJSON = function (stack) { return props; }; -},{}],49:[function(require,module,exports){ +},{}],73:[function(require,module,exports){ (function (global){(function (){ 'use strict'; @@ -22330,7 +23461,7 @@ module.exports = function availableTypedArrays() { }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],50:[function(require,module,exports){ +},{}],74:[function(require,module,exports){ 'use strict' exports.byteLength = byteLength @@ -22482,7 +23613,7 @@ function fromByteArray (uint8) { return parts.join('') } -},{}],51:[function(require,module,exports){ +},{}],75:[function(require,module,exports){ (function (module, exports) { 'use strict'; @@ -26031,7 +27162,7 @@ function fromByteArray (uint8) { }; })(typeof module === 'undefined' || module, this); -},{"buffer":53}],52:[function(require,module,exports){ +},{"buffer":77}],76:[function(require,module,exports){ var r; module.exports = function rand(len) { @@ -26098,9 +27229,9 @@ if (typeof self === 'object') { } } -},{"crypto":53}],53:[function(require,module,exports){ +},{"crypto":77}],77:[function(require,module,exports){ -},{}],54:[function(require,module,exports){ +},{}],78:[function(require,module,exports){ // based on the aes implimentation in triple sec // https://github.com/keybase/triplesec // which is in turn based on the one from crypto-js @@ -26330,7 +27461,7 @@ AES.prototype.scrub = function () { module.exports.AES = AES -},{"safe-buffer":969}],55:[function(require,module,exports){ +},{"safe-buffer":993}],79:[function(require,module,exports){ var aes = require('./aes') var Buffer = require('safe-buffer').Buffer var Transform = require('cipher-base') @@ -26449,7 +27580,7 @@ StreamCipher.prototype.setAAD = function setAAD (buf) { module.exports = StreamCipher -},{"./aes":54,"./ghash":59,"./incr32":60,"buffer-xor":99,"cipher-base":138,"inherits":304,"safe-buffer":969}],56:[function(require,module,exports){ +},{"./aes":78,"./ghash":83,"./incr32":84,"buffer-xor":123,"cipher-base":162,"inherits":328,"safe-buffer":993}],80:[function(require,module,exports){ var ciphers = require('./encrypter') var deciphers = require('./decrypter') var modes = require('./modes/list.json') @@ -26464,7 +27595,7 @@ exports.createDecipher = exports.Decipher = deciphers.createDecipher exports.createDecipheriv = exports.Decipheriv = deciphers.createDecipheriv exports.listCiphers = exports.getCiphers = getCiphers -},{"./decrypter":57,"./encrypter":58,"./modes/list.json":68}],57:[function(require,module,exports){ +},{"./decrypter":81,"./encrypter":82,"./modes/list.json":92}],81:[function(require,module,exports){ var AuthCipher = require('./authCipher') var Buffer = require('safe-buffer').Buffer var MODES = require('./modes') @@ -26590,7 +27721,7 @@ function createDecipher (suite, password) { exports.createDecipher = createDecipher exports.createDecipheriv = createDecipheriv -},{"./aes":54,"./authCipher":55,"./modes":67,"./streamCipher":70,"cipher-base":138,"evp_bytestokey":257,"inherits":304,"safe-buffer":969}],58:[function(require,module,exports){ +},{"./aes":78,"./authCipher":79,"./modes":91,"./streamCipher":94,"cipher-base":162,"evp_bytestokey":281,"inherits":328,"safe-buffer":993}],82:[function(require,module,exports){ var MODES = require('./modes') var AuthCipher = require('./authCipher') var Buffer = require('safe-buffer').Buffer @@ -26706,7 +27837,7 @@ function createCipher (suite, password) { exports.createCipheriv = createCipheriv exports.createCipher = createCipher -},{"./aes":54,"./authCipher":55,"./modes":67,"./streamCipher":70,"cipher-base":138,"evp_bytestokey":257,"inherits":304,"safe-buffer":969}],59:[function(require,module,exports){ +},{"./aes":78,"./authCipher":79,"./modes":91,"./streamCipher":94,"cipher-base":162,"evp_bytestokey":281,"inherits":328,"safe-buffer":993}],83:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer var ZEROES = Buffer.alloc(16, 0) @@ -26797,7 +27928,7 @@ GHASH.prototype.final = function (abl, bl) { module.exports = GHASH -},{"safe-buffer":969}],60:[function(require,module,exports){ +},{"safe-buffer":993}],84:[function(require,module,exports){ function incr32 (iv) { var len = iv.length var item @@ -26814,7 +27945,7 @@ function incr32 (iv) { } module.exports = incr32 -},{}],61:[function(require,module,exports){ +},{}],85:[function(require,module,exports){ var xor = require('buffer-xor') exports.encrypt = function (self, block) { @@ -26833,7 +27964,7 @@ exports.decrypt = function (self, block) { return xor(out, pad) } -},{"buffer-xor":99}],62:[function(require,module,exports){ +},{"buffer-xor":123}],86:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer var xor = require('buffer-xor') @@ -26868,7 +27999,7 @@ exports.encrypt = function (self, data, decrypt) { return out } -},{"buffer-xor":99,"safe-buffer":969}],63:[function(require,module,exports){ +},{"buffer-xor":123,"safe-buffer":993}],87:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer function encryptByte (self, byteParam, decrypt) { @@ -26912,7 +28043,7 @@ exports.encrypt = function (self, chunk, decrypt) { return out } -},{"safe-buffer":969}],64:[function(require,module,exports){ +},{"safe-buffer":993}],88:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer function encryptByte (self, byteParam, decrypt) { @@ -26939,7 +28070,7 @@ exports.encrypt = function (self, chunk, decrypt) { return out } -},{"safe-buffer":969}],65:[function(require,module,exports){ +},{"safe-buffer":993}],89:[function(require,module,exports){ var xor = require('buffer-xor') var Buffer = require('safe-buffer').Buffer var incr32 = require('../incr32') @@ -26971,7 +28102,7 @@ exports.encrypt = function (self, chunk) { return xor(chunk, pad) } -},{"../incr32":60,"buffer-xor":99,"safe-buffer":969}],66:[function(require,module,exports){ +},{"../incr32":84,"buffer-xor":123,"safe-buffer":993}],90:[function(require,module,exports){ exports.encrypt = function (self, block) { return self._cipher.encryptBlock(block) } @@ -26980,7 +28111,7 @@ exports.decrypt = function (self, block) { return self._cipher.decryptBlock(block) } -},{}],67:[function(require,module,exports){ +},{}],91:[function(require,module,exports){ var modeModules = { ECB: require('./ecb'), CBC: require('./cbc'), @@ -27000,7 +28131,7 @@ for (var key in modes) { module.exports = modes -},{"./cbc":61,"./cfb":62,"./cfb1":63,"./cfb8":64,"./ctr":65,"./ecb":66,"./list.json":68,"./ofb":69}],68:[function(require,module,exports){ +},{"./cbc":85,"./cfb":86,"./cfb1":87,"./cfb8":88,"./ctr":89,"./ecb":90,"./list.json":92,"./ofb":93}],92:[function(require,module,exports){ module.exports={ "aes-128-ecb": { "cipher": "AES", @@ -27193,7 +28324,7 @@ module.exports={ } } -},{}],69:[function(require,module,exports){ +},{}],93:[function(require,module,exports){ (function (Buffer){(function (){ var xor = require('buffer-xor') @@ -27213,7 +28344,7 @@ exports.encrypt = function (self, chunk) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"buffer":100,"buffer-xor":99}],70:[function(require,module,exports){ +},{"buffer":124,"buffer-xor":123}],94:[function(require,module,exports){ var aes = require('./aes') var Buffer = require('safe-buffer').Buffer var Transform = require('cipher-base') @@ -27242,7 +28373,7 @@ StreamCipher.prototype._final = function () { module.exports = StreamCipher -},{"./aes":54,"cipher-base":138,"inherits":304,"safe-buffer":969}],71:[function(require,module,exports){ +},{"./aes":78,"cipher-base":162,"inherits":328,"safe-buffer":993}],95:[function(require,module,exports){ var DES = require('browserify-des') var aes = require('browserify-aes/browser') var aesModes = require('browserify-aes/modes') @@ -27311,7 +28442,7 @@ exports.createDecipher = exports.Decipher = createDecipher exports.createDecipheriv = exports.Decipheriv = createDecipheriv exports.listCiphers = exports.getCiphers = getCiphers -},{"browserify-aes/browser":56,"browserify-aes/modes":67,"browserify-des":72,"browserify-des/modes":73,"evp_bytestokey":257}],72:[function(require,module,exports){ +},{"browserify-aes/browser":80,"browserify-aes/modes":91,"browserify-des":96,"browserify-des/modes":97,"evp_bytestokey":281}],96:[function(require,module,exports){ var CipherBase = require('cipher-base') var des = require('des.js') var inherits = require('inherits') @@ -27363,7 +28494,7 @@ DES.prototype._final = function () { return Buffer.from(this._des.final()) } -},{"cipher-base":138,"des.js":203,"inherits":304,"safe-buffer":969}],73:[function(require,module,exports){ +},{"cipher-base":162,"des.js":227,"inherits":328,"safe-buffer":993}],97:[function(require,module,exports){ exports['des-ecb'] = { key: 8, iv: 0 @@ -27389,7 +28520,7 @@ exports['des-ede'] = { iv: 0 } -},{}],74:[function(require,module,exports){ +},{}],98:[function(require,module,exports){ (function (Buffer){(function (){ var BN = require('bn.js') var randomBytes = require('randombytes') @@ -27428,10 +28559,10 @@ crt.getr = getr module.exports = crt }).call(this)}).call(this,require("buffer").Buffer) -},{"bn.js":51,"buffer":100,"randombytes":966}],75:[function(require,module,exports){ +},{"bn.js":75,"buffer":124,"randombytes":990}],99:[function(require,module,exports){ module.exports = require('./browser/algorithms.json') -},{"./browser/algorithms.json":76}],76:[function(require,module,exports){ +},{"./browser/algorithms.json":100}],100:[function(require,module,exports){ module.exports={ "sha224WithRSAEncryption": { "sign": "rsa", @@ -27585,7 +28716,7 @@ module.exports={ } } -},{}],77:[function(require,module,exports){ +},{}],101:[function(require,module,exports){ module.exports={ "1.3.132.0.10": "secp256k1", "1.3.132.0.33": "p224", @@ -27595,7 +28726,7 @@ module.exports={ "1.3.132.0.35": "p521" } -},{}],78:[function(require,module,exports){ +},{}],102:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer var createHash = require('create-hash') var stream = require('readable-stream') @@ -27689,7 +28820,7 @@ module.exports = { createVerify: createVerify } -},{"./algorithms.json":76,"./sign":79,"./verify":80,"create-hash":141,"inherits":304,"readable-stream":95,"safe-buffer":969}],79:[function(require,module,exports){ +},{"./algorithms.json":100,"./sign":103,"./verify":104,"create-hash":165,"inherits":328,"readable-stream":119,"safe-buffer":993}],103:[function(require,module,exports){ // much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js var Buffer = require('safe-buffer').Buffer var createHmac = require('create-hmac') @@ -27834,7 +28965,7 @@ module.exports = sign module.exports.getKey = getKey module.exports.makeKey = makeKey -},{"./curves.json":77,"bn.js":51,"browserify-rsa":74,"create-hmac":143,"elliptic":220,"parse-asn1":917,"safe-buffer":969}],80:[function(require,module,exports){ +},{"./curves.json":101,"bn.js":75,"browserify-rsa":98,"create-hmac":167,"elliptic":244,"parse-asn1":941,"safe-buffer":993}],104:[function(require,module,exports){ // much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js var Buffer = require('safe-buffer').Buffer var BN = require('bn.js') @@ -27920,7 +29051,7 @@ function checkValue (b, q) { module.exports = verify -},{"./curves.json":77,"bn.js":51,"elliptic":220,"parse-asn1":917,"safe-buffer":969}],81:[function(require,module,exports){ +},{"./curves.json":101,"bn.js":75,"elliptic":244,"parse-asn1":941,"safe-buffer":993}],105:[function(require,module,exports){ 'use strict'; function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } @@ -28049,7 +29180,7 @@ createErrorType('ERR_UNKNOWN_ENCODING', function (arg) { createErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event'); module.exports.codes = codes; -},{}],82:[function(require,module,exports){ +},{}],106:[function(require,module,exports){ (function (process){(function (){ // Copyright Joyent, Inc. and other Node contributors. // @@ -28191,7 +29322,7 @@ Object.defineProperty(Duplex.prototype, 'destroyed', { } }); }).call(this)}).call(this,require('_process')) -},{"./_stream_readable":84,"./_stream_writable":86,"_process":950,"inherits":304}],83:[function(require,module,exports){ +},{"./_stream_readable":108,"./_stream_writable":110,"_process":974,"inherits":328}],107:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -28231,7 +29362,7 @@ function PassThrough(options) { PassThrough.prototype._transform = function (chunk, encoding, cb) { cb(null, chunk); }; -},{"./_stream_transform":85,"inherits":304}],84:[function(require,module,exports){ +},{"./_stream_transform":109,"inherits":328}],108:[function(require,module,exports){ (function (process,global){(function (){ // Copyright Joyent, Inc. and other Node contributors. // @@ -29358,7 +30489,7 @@ function indexOf(xs, x) { return -1; } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../errors":81,"./_stream_duplex":82,"./internal/streams/async_iterator":87,"./internal/streams/buffer_list":88,"./internal/streams/destroy":89,"./internal/streams/from":91,"./internal/streams/state":93,"./internal/streams/stream":94,"_process":950,"buffer":100,"events":256,"inherits":304,"string_decoder/":1014,"util":53}],85:[function(require,module,exports){ +},{"../errors":105,"./_stream_duplex":106,"./internal/streams/async_iterator":111,"./internal/streams/buffer_list":112,"./internal/streams/destroy":113,"./internal/streams/from":115,"./internal/streams/state":117,"./internal/streams/stream":118,"_process":974,"buffer":124,"events":280,"inherits":328,"string_decoder/":1038,"util":77}],109:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -29560,7 +30691,7 @@ function done(stream, er, data) { if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING(); return stream.push(null); } -},{"../errors":81,"./_stream_duplex":82,"inherits":304}],86:[function(require,module,exports){ +},{"../errors":105,"./_stream_duplex":106,"inherits":328}],110:[function(require,module,exports){ (function (process,global){(function (){ // Copyright Joyent, Inc. and other Node contributors. // @@ -30260,7 +31391,7 @@ Writable.prototype._destroy = function (err, cb) { cb(err); }; }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../errors":81,"./_stream_duplex":82,"./internal/streams/destroy":89,"./internal/streams/state":93,"./internal/streams/stream":94,"_process":950,"buffer":100,"inherits":304,"util-deprecate":1036}],87:[function(require,module,exports){ +},{"../errors":105,"./_stream_duplex":106,"./internal/streams/destroy":113,"./internal/streams/state":117,"./internal/streams/stream":118,"_process":974,"buffer":124,"inherits":328,"util-deprecate":1060}],111:[function(require,module,exports){ (function (process){(function (){ 'use strict'; @@ -30470,7 +31601,7 @@ var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterat module.exports = createReadableStreamAsyncIterator; }).call(this)}).call(this,require('_process')) -},{"./end-of-stream":90,"_process":950}],88:[function(require,module,exports){ +},{"./end-of-stream":114,"_process":974}],112:[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; } @@ -30681,7 +31812,7 @@ function () { return BufferList; }(); -},{"buffer":100,"util":53}],89:[function(require,module,exports){ +},{"buffer":124,"util":77}],113:[function(require,module,exports){ (function (process){(function (){ 'use strict'; // undocumented cb() API, needed for core, not for public API @@ -30789,7 +31920,7 @@ module.exports = { errorOrDestroy: errorOrDestroy }; }).call(this)}).call(this,require('_process')) -},{"_process":950}],90:[function(require,module,exports){ +},{"_process":974}],114:[function(require,module,exports){ // Ported from https://github.com/mafintosh/end-of-stream with // permission from the author, Mathias Buus (@mafintosh). 'use strict'; @@ -30894,12 +32025,12 @@ function eos(stream, opts, callback) { } module.exports = eos; -},{"../../../errors":81}],91:[function(require,module,exports){ +},{"../../../errors":105}],115:[function(require,module,exports){ module.exports = function () { throw new Error('Readable.from is not available in the browser') }; -},{}],92:[function(require,module,exports){ +},{}],116:[function(require,module,exports){ // Ported from https://github.com/mafintosh/pump with // permission from the author, Mathias Buus (@mafintosh). 'use strict'; @@ -30997,7 +32128,7 @@ function pipeline() { } module.exports = pipeline; -},{"../../../errors":81,"./end-of-stream":90}],93:[function(require,module,exports){ +},{"../../../errors":105,"./end-of-stream":114}],117:[function(require,module,exports){ 'use strict'; var ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE; @@ -31025,10 +32156,10 @@ function getHighWaterMark(state, options, duplexKey, isDuplex) { module.exports = { getHighWaterMark: getHighWaterMark }; -},{"../../../errors":81}],94:[function(require,module,exports){ +},{"../../../errors":105}],118:[function(require,module,exports){ module.exports = require('events').EventEmitter; -},{"events":256}],95:[function(require,module,exports){ +},{"events":280}],119:[function(require,module,exports){ exports = module.exports = require('./lib/_stream_readable.js'); exports.Stream = exports; exports.Readable = exports; @@ -31039,7 +32170,7 @@ 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":82,"./lib/_stream_passthrough.js":83,"./lib/_stream_readable.js":84,"./lib/_stream_transform.js":85,"./lib/_stream_writable.js":86,"./lib/internal/streams/end-of-stream.js":90,"./lib/internal/streams/pipeline.js":92}],96:[function(require,module,exports){ +},{"./lib/_stream_duplex.js":106,"./lib/_stream_passthrough.js":107,"./lib/_stream_readable.js":108,"./lib/_stream_transform.js":109,"./lib/_stream_writable.js":110,"./lib/internal/streams/end-of-stream.js":114,"./lib/internal/streams/pipeline.js":116}],120:[function(require,module,exports){ (function (process,Buffer){(function (){ 'use strict'; /* eslint camelcase: "off" */ @@ -31451,7 +32582,7 @@ Zlib.prototype._reset = function () { exports.Zlib = Zlib; }).call(this)}).call(this,require('_process'),require("buffer").Buffer) -},{"_process":950,"assert":44,"buffer":100,"pako/lib/zlib/constants":904,"pako/lib/zlib/deflate.js":906,"pako/lib/zlib/inflate.js":908,"pako/lib/zlib/zstream":912}],97:[function(require,module,exports){ +},{"_process":974,"assert":68,"buffer":124,"pako/lib/zlib/constants":928,"pako/lib/zlib/deflate.js":930,"pako/lib/zlib/inflate.js":932,"pako/lib/zlib/zstream":936}],121:[function(require,module,exports){ (function (process){(function (){ 'use strict'; @@ -32063,9 +33194,9 @@ util.inherits(DeflateRaw, Zlib); util.inherits(InflateRaw, Zlib); util.inherits(Unzip, Zlib); }).call(this)}).call(this,require('_process')) -},{"./binding":96,"_process":950,"assert":44,"buffer":100,"stream":980,"util":1039}],98:[function(require,module,exports){ -arguments[4][53][0].apply(exports,arguments) -},{"dup":53}],99:[function(require,module,exports){ +},{"./binding":120,"_process":974,"assert":68,"buffer":124,"stream":1004,"util":1063}],122:[function(require,module,exports){ +arguments[4][77][0].apply(exports,arguments) +},{"dup":77}],123:[function(require,module,exports){ (function (Buffer){(function (){ module.exports = function xor (a, b) { var length = Math.min(a.length, b.length) @@ -32079,7 +33210,7 @@ module.exports = function xor (a, b) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"buffer":100}],100:[function(require,module,exports){ +},{"buffer":124}],124:[function(require,module,exports){ (function (Buffer){(function (){ /*! * The buffer module from node.js, for the browser. @@ -33860,7 +34991,7 @@ function numberIsNaN (obj) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"base64-js":50,"buffer":100,"ieee754":303}],101:[function(require,module,exports){ +},{"base64-js":74,"buffer":124,"ieee754":327}],125:[function(require,module,exports){ module.exports = { "100": "Continue", "101": "Switching Protocols", @@ -33926,7 +35057,7 @@ module.exports = { "511": "Network Authentication Required" } -},{}],102:[function(require,module,exports){ +},{}],126:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); @@ -33943,7 +35074,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) { return intrinsic; }; -},{"./":103,"get-intrinsic":263}],103:[function(require,module,exports){ +},{"./":127,"get-intrinsic":287}],127:[function(require,module,exports){ 'use strict'; var bind = require('function-bind'); @@ -33992,10 +35123,10 @@ if ($defineProperty) { module.exports.apply = applyBind; } -},{"function-bind":261,"get-intrinsic":263}],104:[function(require,module,exports){ +},{"function-bind":285,"get-intrinsic":287}],128:[function(require,module,exports){ module.exports = require('./lib/chai'); -},{"./lib/chai":105}],105:[function(require,module,exports){ +},{"./lib/chai":129}],129:[function(require,module,exports){ /*! * chai * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> @@ -34089,7 +35220,7 @@ exports.use(should); var assert = require('./chai/interface/assert'); exports.use(assert); -},{"./chai/assertion":106,"./chai/config":107,"./chai/core/assertions":108,"./chai/interface/assert":109,"./chai/interface/expect":110,"./chai/interface/should":111,"./chai/utils":126,"assertion-error":48}],106:[function(require,module,exports){ +},{"./chai/assertion":130,"./chai/config":131,"./chai/core/assertions":132,"./chai/interface/assert":133,"./chai/interface/expect":134,"./chai/interface/should":135,"./chai/utils":150,"assertion-error":72}],130:[function(require,module,exports){ /*! * chai * http://chaijs.com @@ -34266,7 +35397,7 @@ module.exports = function (_chai, util) { }); }; -},{"./config":107}],107:[function(require,module,exports){ +},{"./config":131}],131:[function(require,module,exports){ module.exports = { /** @@ -34362,7 +35493,7 @@ module.exports = { proxyExcludedKeys: ['then', 'catch', 'inspect', 'toJSON'] }; -},{}],108:[function(require,module,exports){ +},{}],132:[function(require,module,exports){ /*! * chai * http://chaijs.com @@ -38217,7 +39348,7 @@ module.exports = function (chai, _) { }); }; -},{}],109:[function(require,module,exports){ +},{}],133:[function(require,module,exports){ /*! * chai * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> @@ -41332,7 +42463,7 @@ module.exports = function (chai, util) { ('isNotEmpty', 'notEmpty'); }; -},{}],110:[function(require,module,exports){ +},{}],134:[function(require,module,exports){ /*! * chai * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> @@ -41381,7 +42512,7 @@ module.exports = function (chai, util) { }; }; -},{}],111:[function(require,module,exports){ +},{}],135:[function(require,module,exports){ /*! * chai * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com> @@ -41602,7 +42733,7 @@ module.exports = function (chai, util) { chai.Should = loadShould; }; -},{}],112:[function(require,module,exports){ +},{}],136:[function(require,module,exports){ /*! * Chai - addChainingMethod utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -41756,7 +42887,7 @@ module.exports = function addChainableMethod(ctx, name, method, chainingBehavior }); }; -},{"../../chai":105,"./addLengthGuard":113,"./flag":118,"./proxify":134,"./transferFlags":136}],113:[function(require,module,exports){ +},{"../../chai":129,"./addLengthGuard":137,"./flag":142,"./proxify":158,"./transferFlags":160}],137:[function(require,module,exports){ var fnLengthDesc = Object.getOwnPropertyDescriptor(function () {}, 'length'); /*! @@ -41818,7 +42949,7 @@ module.exports = function addLengthGuard (fn, assertionName, isChainable) { return fn; }; -},{}],114:[function(require,module,exports){ +},{}],138:[function(require,module,exports){ /*! * Chai - addMethod utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -41888,7 +43019,7 @@ module.exports = function addMethod(ctx, name, method) { ctx[name] = proxify(methodWrapper, name); }; -},{"../../chai":105,"./addLengthGuard":113,"./flag":118,"./proxify":134,"./transferFlags":136}],115:[function(require,module,exports){ +},{"../../chai":129,"./addLengthGuard":137,"./flag":142,"./proxify":158,"./transferFlags":160}],139:[function(require,module,exports){ /*! * Chai - addProperty utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -41962,7 +43093,7 @@ module.exports = function addProperty(ctx, name, getter) { }); }; -},{"../../chai":105,"./flag":118,"./isProxyEnabled":129,"./transferFlags":136}],116:[function(require,module,exports){ +},{"../../chai":129,"./flag":142,"./isProxyEnabled":153,"./transferFlags":160}],140:[function(require,module,exports){ /*! * Chai - compareByInspect utility * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com> @@ -41995,7 +43126,7 @@ module.exports = function compareByInspect(a, b) { return inspect(a) < inspect(b) ? -1 : 1; }; -},{"./inspect":127}],117:[function(require,module,exports){ +},{"./inspect":151}],141:[function(require,module,exports){ /*! * Chai - expectTypes utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -42048,7 +43179,7 @@ module.exports = function expectTypes(obj, types) { } }; -},{"./flag":118,"assertion-error":48,"type-detect":1032}],118:[function(require,module,exports){ +},{"./flag":142,"assertion-error":72,"type-detect":1056}],142:[function(require,module,exports){ /*! * Chai - flag utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -42083,7 +43214,7 @@ module.exports = function flag(obj, key, value) { } }; -},{}],119:[function(require,module,exports){ +},{}],143:[function(require,module,exports){ /*! * Chai - getActual utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -42105,7 +43236,7 @@ module.exports = function getActual(obj, args) { return args.length > 4 ? args[4] : obj._obj; }; -},{}],120:[function(require,module,exports){ +},{}],144:[function(require,module,exports){ /*! * Chai - getEnumerableProperties utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -42133,7 +43264,7 @@ module.exports = function getEnumerableProperties(object) { return result; }; -},{}],121:[function(require,module,exports){ +},{}],145:[function(require,module,exports){ /*! * Chai - message composition utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -42185,7 +43316,7 @@ module.exports = function getMessage(obj, args) { return flagMsg ? flagMsg + ': ' + msg : msg; }; -},{"./flag":118,"./getActual":119,"./objDisplay":130}],122:[function(require,module,exports){ +},{"./flag":142,"./getActual":143,"./objDisplay":154}],146:[function(require,module,exports){ var type = require('type-detect'); var flag = require('./flag'); @@ -42242,7 +43373,7 @@ module.exports = function getOperator(obj, args) { return isObject ? 'deepStrictEqual' : 'strictEqual'; }; -},{"./flag":118,"type-detect":1032}],123:[function(require,module,exports){ +},{"./flag":142,"type-detect":1056}],147:[function(require,module,exports){ /*! * Chai - getOwnEnumerableProperties utility * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com> @@ -42273,7 +43404,7 @@ module.exports = function getOwnEnumerableProperties(obj) { return Object.keys(obj).concat(getOwnEnumerablePropertySymbols(obj)); }; -},{"./getOwnEnumerablePropertySymbols":124}],124:[function(require,module,exports){ +},{"./getOwnEnumerablePropertySymbols":148}],148:[function(require,module,exports){ /*! * Chai - getOwnEnumerablePropertySymbols utility * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com> @@ -42302,7 +43433,7 @@ module.exports = function getOwnEnumerablePropertySymbols(obj) { }); }; -},{}],125:[function(require,module,exports){ +},{}],149:[function(require,module,exports){ /*! * Chai - getProperties utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -42340,7 +43471,7 @@ module.exports = function getProperties(object) { return result; }; -},{}],126:[function(require,module,exports){ +},{}],150:[function(require,module,exports){ /*! * chai * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com> @@ -42519,7 +43650,7 @@ exports.isNaN = require('./isNaN'); */ exports.getOperator = require('./getOperator'); -},{"./addChainableMethod":112,"./addLengthGuard":113,"./addMethod":114,"./addProperty":115,"./compareByInspect":116,"./expectTypes":117,"./flag":118,"./getActual":119,"./getMessage":121,"./getOperator":122,"./getOwnEnumerableProperties":123,"./getOwnEnumerablePropertySymbols":124,"./inspect":127,"./isNaN":128,"./isProxyEnabled":129,"./objDisplay":130,"./overwriteChainableMethod":131,"./overwriteMethod":132,"./overwriteProperty":133,"./proxify":134,"./test":135,"./transferFlags":136,"check-error":137,"deep-eql":202,"get-func-name":262,"pathval":943,"type-detect":1032}],127:[function(require,module,exports){ +},{"./addChainableMethod":136,"./addLengthGuard":137,"./addMethod":138,"./addProperty":139,"./compareByInspect":140,"./expectTypes":141,"./flag":142,"./getActual":143,"./getMessage":145,"./getOperator":146,"./getOwnEnumerableProperties":147,"./getOwnEnumerablePropertySymbols":148,"./inspect":151,"./isNaN":152,"./isProxyEnabled":153,"./objDisplay":154,"./overwriteChainableMethod":155,"./overwriteMethod":156,"./overwriteProperty":157,"./proxify":158,"./test":159,"./transferFlags":160,"check-error":161,"deep-eql":226,"get-func-name":286,"pathval":967,"type-detect":1056}],151:[function(require,module,exports){ // This is (almost) directly from Node.js utils // https://github.com/joyent/node/blob/f8c335d0caf47f16d31413f89aa28eda3878e3aa/lib/util.js @@ -42900,7 +44031,7 @@ function objectToString(o) { return Object.prototype.toString.call(o); } -},{"../config":107,"./getEnumerableProperties":120,"./getProperties":125,"get-func-name":262}],128:[function(require,module,exports){ +},{"../config":131,"./getEnumerableProperties":144,"./getProperties":149,"get-func-name":286}],152:[function(require,module,exports){ /*! * Chai - isNaN utility * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com> @@ -42928,7 +44059,7 @@ function isNaN(value) { // If ECMAScript 6's Number.isNaN is present, prefer that. module.exports = Number.isNaN || isNaN; -},{}],129:[function(require,module,exports){ +},{}],153:[function(require,module,exports){ var config = require('../config'); /*! @@ -42954,7 +44085,7 @@ module.exports = function isProxyEnabled() { typeof Reflect !== 'undefined'; }; -},{"../config":107}],130:[function(require,module,exports){ +},{"../config":131}],154:[function(require,module,exports){ /*! * Chai - flag utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -43006,7 +44137,7 @@ module.exports = function objDisplay(obj) { } }; -},{"../config":107,"./inspect":127}],131:[function(require,module,exports){ +},{"../config":131,"./inspect":151}],155:[function(require,module,exports){ /*! * Chai - overwriteChainableMethod utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -43077,7 +44208,7 @@ module.exports = function overwriteChainableMethod(ctx, name, method, chainingBe }; }; -},{"../../chai":105,"./transferFlags":136}],132:[function(require,module,exports){ +},{"../../chai":129,"./transferFlags":160}],156:[function(require,module,exports){ /*! * Chai - overwriteMethod utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -43171,7 +44302,7 @@ module.exports = function overwriteMethod(ctx, name, method) { ctx[name] = proxify(overwritingMethodWrapper, name); }; -},{"../../chai":105,"./addLengthGuard":113,"./flag":118,"./proxify":134,"./transferFlags":136}],133:[function(require,module,exports){ +},{"../../chai":129,"./addLengthGuard":137,"./flag":142,"./proxify":158,"./transferFlags":160}],157:[function(require,module,exports){ /*! * Chai - overwriteProperty utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -43265,7 +44396,7 @@ module.exports = function overwriteProperty(ctx, name, getter) { }); }; -},{"../../chai":105,"./flag":118,"./isProxyEnabled":129,"./transferFlags":136}],134:[function(require,module,exports){ +},{"../../chai":129,"./flag":142,"./isProxyEnabled":153,"./transferFlags":160}],158:[function(require,module,exports){ var config = require('../config'); var flag = require('./flag'); var getProperties = require('./getProperties'); @@ -43414,7 +44545,7 @@ function stringDistanceCapped(strA, strB, cap) { return memo[strA.length][strB.length]; } -},{"../config":107,"./flag":118,"./getProperties":125,"./isProxyEnabled":129}],135:[function(require,module,exports){ +},{"../config":131,"./flag":142,"./getProperties":149,"./isProxyEnabled":153}],159:[function(require,module,exports){ /*! * Chai - test utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -43444,7 +44575,7 @@ module.exports = function test(obj, args) { return negate ? !expr : expr; }; -},{"./flag":118}],136:[function(require,module,exports){ +},{"./flag":142}],160:[function(require,module,exports){ /*! * Chai - transferFlags utility * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com> @@ -43491,7 +44622,7 @@ module.exports = function transferFlags(assertion, object, includeAll) { } }; -},{}],137:[function(require,module,exports){ +},{}],161:[function(require,module,exports){ 'use strict'; /* ! @@ -43665,7 +44796,7 @@ module.exports = { getConstructorName: getConstructorName, }; -},{}],138:[function(require,module,exports){ +},{}],162:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer var Transform = require('stream').Transform var StringDecoder = require('string_decoder').StringDecoder @@ -43766,7 +44897,7 @@ CipherBase.prototype._toString = function (value, enc, fin) { module.exports = CipherBase -},{"inherits":304,"safe-buffer":969,"stream":980,"string_decoder":1014}],139:[function(require,module,exports){ +},{"inherits":328,"safe-buffer":993,"stream":1004,"string_decoder":1038}],163:[function(require,module,exports){ (function (Buffer){(function (){ var elliptic = require('elliptic') var BN = require('bn.js') @@ -43894,9 +45025,9 @@ function formatReturnValue (bn, enc, len) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"bn.js":140,"buffer":100,"elliptic":220}],140:[function(require,module,exports){ -arguments[4][42][0].apply(exports,arguments) -},{"buffer":53,"dup":42}],141:[function(require,module,exports){ +},{"bn.js":164,"buffer":124,"elliptic":244}],164:[function(require,module,exports){ +arguments[4][66][0].apply(exports,arguments) +},{"buffer":77,"dup":66}],165:[function(require,module,exports){ 'use strict' var inherits = require('inherits') var MD5 = require('md5.js') @@ -43928,14 +45059,14 @@ module.exports = function createHash (alg) { return new Hash(sha(alg)) } -},{"cipher-base":138,"inherits":304,"md5.js":893,"ripemd160":968,"sha.js":973}],142:[function(require,module,exports){ +},{"cipher-base":162,"inherits":328,"md5.js":917,"ripemd160":992,"sha.js":997}],166:[function(require,module,exports){ var MD5 = require('md5.js') module.exports = function (buffer) { return new MD5().update(buffer).digest() } -},{"md5.js":893}],143:[function(require,module,exports){ +},{"md5.js":917}],167:[function(require,module,exports){ 'use strict' var inherits = require('inherits') var Legacy = require('./legacy') @@ -43999,7 +45130,7 @@ module.exports = function createHmac (alg, key) { return new Hmac(alg, key) } -},{"./legacy":144,"cipher-base":138,"create-hash/md5":142,"inherits":304,"ripemd160":968,"safe-buffer":969,"sha.js":973}],144:[function(require,module,exports){ +},{"./legacy":168,"cipher-base":162,"create-hash/md5":166,"inherits":328,"ripemd160":992,"safe-buffer":993,"sha.js":997}],168:[function(require,module,exports){ 'use strict' var inherits = require('inherits') var Buffer = require('safe-buffer').Buffer @@ -44047,7 +45178,7 @@ Hmac.prototype._final = function () { } module.exports = Hmac -},{"cipher-base":138,"inherits":304,"safe-buffer":969}],145:[function(require,module,exports){ +},{"cipher-base":162,"inherits":328,"safe-buffer":993}],169:[function(require,module,exports){ 'use strict' exports.randomBytes = exports.rng = exports.pseudoRandomBytes = exports.prng = require('randombytes') @@ -44146,7 +45277,7 @@ exports.constants = { 'POINT_CONVERSION_HYBRID': 6 } -},{"browserify-cipher":71,"browserify-sign":78,"browserify-sign/algos":75,"create-ecdh":139,"create-hash":141,"create-hmac":143,"diffie-hellman":209,"pbkdf2":944,"public-encrypt":953,"randombytes":966,"randomfill":967}],146:[function(require,module,exports){ +},{"browserify-cipher":95,"browserify-sign":102,"browserify-sign/algos":99,"create-ecdh":163,"create-hash":165,"create-hmac":167,"diffie-hellman":233,"pbkdf2":968,"public-encrypt":977,"randombytes":990,"randomfill":991}],170:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSRule: require("./CSSRule").CSSRule, @@ -44187,7 +45318,7 @@ Object.defineProperty(CSSOM.CSSDocumentRule.prototype, "cssText", { exports.CSSDocumentRule = CSSOM.CSSDocumentRule; ///CommonJS -},{"./CSSRule":153,"./MatcherList":160}],147:[function(require,module,exports){ +},{"./CSSRule":177,"./MatcherList":184}],171:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSStyleDeclaration: require("./CSSStyleDeclaration").CSSStyleDeclaration, @@ -44225,7 +45356,7 @@ Object.defineProperty(CSSOM.CSSFontFaceRule.prototype, "cssText", { exports.CSSFontFaceRule = CSSOM.CSSFontFaceRule; ///CommonJS -},{"./CSSRule":153,"./CSSStyleDeclaration":154}],148:[function(require,module,exports){ +},{"./CSSRule":177,"./CSSStyleDeclaration":178}],172:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSRule: require("./CSSRule").CSSRule @@ -44264,7 +45395,7 @@ Object.defineProperty(CSSOM.CSSHostRule.prototype, "cssText", { exports.CSSHostRule = CSSOM.CSSHostRule; ///CommonJS -},{"./CSSRule":153}],149:[function(require,module,exports){ +},{"./CSSRule":177}],173:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSRule: require("./CSSRule").CSSRule, @@ -44398,7 +45529,7 @@ Object.defineProperty(CSSOM.CSSImportRule.prototype, "cssText", { exports.CSSImportRule = CSSOM.CSSImportRule; ///CommonJS -},{"./CSSRule":153,"./CSSStyleSheet":156,"./MediaList":161}],150:[function(require,module,exports){ +},{"./CSSRule":177,"./CSSStyleSheet":180,"./MediaList":185}],174:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSRule: require("./CSSRule").CSSRule, @@ -44437,7 +45568,7 @@ Object.defineProperty(CSSOM.CSSKeyframeRule.prototype, "cssText", { exports.CSSKeyframeRule = CSSOM.CSSKeyframeRule; ///CommonJS -},{"./CSSRule":153,"./CSSStyleDeclaration":154}],151:[function(require,module,exports){ +},{"./CSSRule":177,"./CSSStyleDeclaration":178}],175:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSRule: require("./CSSRule").CSSRule @@ -44478,7 +45609,7 @@ Object.defineProperty(CSSOM.CSSKeyframesRule.prototype, "cssText", { exports.CSSKeyframesRule = CSSOM.CSSKeyframesRule; ///CommonJS -},{"./CSSRule":153}],152:[function(require,module,exports){ +},{"./CSSRule":177}],176:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSRule: require("./CSSRule").CSSRule, @@ -44521,7 +45652,7 @@ Object.defineProperty(CSSOM.CSSMediaRule.prototype, "cssText", { exports.CSSMediaRule = CSSOM.CSSMediaRule; ///CommonJS -},{"./CSSRule":153,"./MediaList":161}],153:[function(require,module,exports){ +},{"./CSSRule":177,"./MediaList":185}],177:[function(require,module,exports){ //.CommonJS var CSSOM = {}; ///CommonJS @@ -44566,7 +45697,7 @@ CSSOM.CSSRule.prototype = { exports.CSSRule = CSSOM.CSSRule; ///CommonJS -},{}],154:[function(require,module,exports){ +},{}],178:[function(require,module,exports){ //.CommonJS var CSSOM = {}; ///CommonJS @@ -44716,7 +45847,7 @@ exports.CSSStyleDeclaration = CSSOM.CSSStyleDeclaration; CSSOM.parse = require('./parse').parse; // Cannot be included sooner due to the mutual dependency between parse.js and CSSStyleDeclaration.js ///CommonJS -},{"./parse":165}],155:[function(require,module,exports){ +},{"./parse":189}],179:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSStyleDeclaration: require("./CSSStyleDeclaration").CSSStyleDeclaration, @@ -44908,7 +46039,7 @@ CSSOM.CSSStyleRule.parse = function(ruleText) { exports.CSSStyleRule = CSSOM.CSSStyleRule; ///CommonJS -},{"./CSSRule":153,"./CSSStyleDeclaration":154}],156:[function(require,module,exports){ +},{"./CSSRule":177,"./CSSStyleDeclaration":178}],180:[function(require,module,exports){ //.CommonJS var CSSOM = { StyleSheet: require("./StyleSheet").StyleSheet, @@ -44998,7 +46129,7 @@ exports.CSSStyleSheet = CSSOM.CSSStyleSheet; CSSOM.parse = require('./parse').parse; // Cannot be included sooner due to the mutual dependency between parse.js and CSSStyleSheet.js ///CommonJS -},{"./CSSStyleRule":155,"./StyleSheet":162,"./parse":165}],157:[function(require,module,exports){ +},{"./CSSStyleRule":179,"./StyleSheet":186,"./parse":189}],181:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSRule: require("./CSSRule").CSSRule, @@ -45036,7 +46167,7 @@ Object.defineProperty(CSSOM.CSSSupportsRule.prototype, "cssText", { exports.CSSSupportsRule = CSSOM.CSSSupportsRule; ///CommonJS -},{"./CSSRule":153}],158:[function(require,module,exports){ +},{"./CSSRule":177}],182:[function(require,module,exports){ //.CommonJS var CSSOM = {}; ///CommonJS @@ -45081,7 +46212,7 @@ CSSOM.CSSValue.prototype = { exports.CSSValue = CSSOM.CSSValue; ///CommonJS -},{}],159:[function(require,module,exports){ +},{}],183:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSValue: require('./CSSValue').CSSValue @@ -45427,7 +46558,7 @@ CSSOM.CSSValueExpression.prototype._findMatchedIdx = function(token, idx, sep) { exports.CSSValueExpression = CSSOM.CSSValueExpression; ///CommonJS -},{"./CSSValue":158}],160:[function(require,module,exports){ +},{"./CSSValue":182}],184:[function(require,module,exports){ //.CommonJS var CSSOM = {}; ///CommonJS @@ -45491,7 +46622,7 @@ CSSOM.MatcherList.prototype = { exports.MatcherList = CSSOM.MatcherList; ///CommonJS -},{}],161:[function(require,module,exports){ +},{}],185:[function(require,module,exports){ //.CommonJS var CSSOM = {}; ///CommonJS @@ -45554,7 +46685,7 @@ CSSOM.MediaList.prototype = { exports.MediaList = CSSOM.MediaList; ///CommonJS -},{}],162:[function(require,module,exports){ +},{}],186:[function(require,module,exports){ //.CommonJS var CSSOM = {}; ///CommonJS @@ -45573,7 +46704,7 @@ CSSOM.StyleSheet = function StyleSheet() { exports.StyleSheet = CSSOM.StyleSheet; ///CommonJS -},{}],163:[function(require,module,exports){ +},{}],187:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSStyleSheet: require("./CSSStyleSheet").CSSStyleSheet, @@ -45646,7 +46777,7 @@ CSSOM.clone = function clone(stylesheet) { exports.clone = CSSOM.clone; ///CommonJS -},{"./CSSKeyframeRule":150,"./CSSKeyframesRule":151,"./CSSMediaRule":152,"./CSSStyleDeclaration":154,"./CSSStyleRule":155,"./CSSStyleSheet":156,"./CSSSupportsRule":157}],164:[function(require,module,exports){ +},{"./CSSKeyframeRule":174,"./CSSKeyframesRule":175,"./CSSMediaRule":176,"./CSSStyleDeclaration":178,"./CSSStyleRule":179,"./CSSStyleSheet":180,"./CSSSupportsRule":181}],188:[function(require,module,exports){ 'use strict'; exports.CSSStyleDeclaration = require('./CSSStyleDeclaration').CSSStyleDeclaration; @@ -45669,7 +46800,7 @@ exports.CSSValueExpression = require('./CSSValueExpression').CSSValueExpression; exports.parse = require('./parse').parse; exports.clone = require('./clone').clone; -},{"./CSSDocumentRule":146,"./CSSFontFaceRule":147,"./CSSHostRule":148,"./CSSImportRule":149,"./CSSKeyframeRule":150,"./CSSKeyframesRule":151,"./CSSMediaRule":152,"./CSSRule":153,"./CSSStyleDeclaration":154,"./CSSStyleRule":155,"./CSSStyleSheet":156,"./CSSSupportsRule":157,"./CSSValue":158,"./CSSValueExpression":159,"./MatcherList":160,"./MediaList":161,"./StyleSheet":162,"./clone":163,"./parse":165}],165:[function(require,module,exports){ +},{"./CSSDocumentRule":170,"./CSSFontFaceRule":171,"./CSSHostRule":172,"./CSSImportRule":173,"./CSSKeyframeRule":174,"./CSSKeyframesRule":175,"./CSSMediaRule":176,"./CSSRule":177,"./CSSStyleDeclaration":178,"./CSSStyleRule":179,"./CSSStyleSheet":180,"./CSSSupportsRule":181,"./CSSValue":182,"./CSSValueExpression":183,"./MatcherList":184,"./MediaList":185,"./StyleSheet":186,"./clone":187,"./parse":189}],189:[function(require,module,exports){ //.CommonJS var CSSOM = {}; ///CommonJS @@ -46134,7 +47265,7 @@ CSSOM.CSSValueExpression = require('./CSSValueExpression').CSSValueExpression; CSSOM.CSSDocumentRule = require('./CSSDocumentRule').CSSDocumentRule; ///CommonJS -},{"./CSSDocumentRule":146,"./CSSFontFaceRule":147,"./CSSHostRule":148,"./CSSImportRule":149,"./CSSKeyframeRule":150,"./CSSKeyframesRule":151,"./CSSMediaRule":152,"./CSSStyleDeclaration":154,"./CSSStyleRule":155,"./CSSStyleSheet":156,"./CSSSupportsRule":157,"./CSSValueExpression":159}],166:[function(require,module,exports){ +},{"./CSSDocumentRule":170,"./CSSFontFaceRule":171,"./CSSHostRule":172,"./CSSImportRule":173,"./CSSKeyframeRule":174,"./CSSKeyframesRule":175,"./CSSMediaRule":176,"./CSSStyleDeclaration":178,"./CSSStyleRule":179,"./CSSStyleSheet":180,"./CSSSupportsRule":181,"./CSSValueExpression":183}],190:[function(require,module,exports){ /********************************************************************* * This is a fork from the CSS Style Declaration part of * https://github.com/NV/CSSOM @@ -46396,7 +47527,7 @@ allExtraProperties.forEach(function(property) { exports.CSSStyleDeclaration = CSSStyleDeclaration; -},{"./allExtraProperties":167,"./allProperties":168,"./implementedProperties":171,"./parsers":173,"./properties":174,"./utils/getBasicPropertyDescriptor":176,"cssom":195}],167:[function(require,module,exports){ +},{"./allExtraProperties":191,"./allProperties":192,"./implementedProperties":195,"./parsers":197,"./properties":198,"./utils/getBasicPropertyDescriptor":200,"cssom":219}],191:[function(require,module,exports){ 'use strict'; /** @@ -46465,7 +47596,7 @@ module.exports = new Set( ].concat(allWebkitProperties) ); -},{"./allWebkitProperties":169}],168:[function(require,module,exports){ +},{"./allWebkitProperties":193}],192:[function(require,module,exports){ 'use strict'; // autogenerated - 4/29/2020 @@ -46929,7 +48060,7 @@ module.exports = new Set([ 'z-index', ]); -},{}],169:[function(require,module,exports){ +},{}],193:[function(require,module,exports){ 'use strict'; /** @@ -47125,7 +48256,7 @@ module.exports = [ 'zoom', ].map(prop => 'webkit-' + prop); -},{}],170:[function(require,module,exports){ +},{}],194:[function(require,module,exports){ 'use strict'; module.exports.POSITION_AT_SHORTHAND = { @@ -47133,7 +48264,7 @@ module.exports.POSITION_AT_SHORTHAND = { second: 1, }; -},{}],171:[function(require,module,exports){ +},{}],195:[function(require,module,exports){ 'use strict'; // autogenerated - 4/29/2020 @@ -47225,7 +48356,7 @@ implementedProperties.add("webkit-text-stroke-color"); implementedProperties.add("width"); module.exports = implementedProperties; -},{}],172:[function(require,module,exports){ +},{}],196:[function(require,module,exports){ module.exports=[ "aliceblue", "antiquewhite", @@ -47379,7 +48510,7 @@ module.exports=[ "currentcolor" ] -},{}],173:[function(require,module,exports){ +},{}],197:[function(require,module,exports){ /********************************************************************* * These are commonly used parsers for CSS Values they take a string * * to parse and return a string after it's been converted, if needed * @@ -48103,7 +49234,7 @@ exports.camelToDashed = function(camel_case) { return dashed; }; -},{"./named_colors.json":172,"./utils/colorSpace":175}],174:[function(require,module,exports){ +},{"./named_colors.json":196,"./utils/colorSpace":199}],198:[function(require,module,exports){ 'use strict'; // autogenerated - 4/29/2020 @@ -49938,7 +51069,7 @@ module.exports = function (prototype) { }); }; -},{"./constants.js":170,"./parsers.js":173}],175:[function(require,module,exports){ +},{"./constants.js":194,"./parsers.js":197}],199:[function(require,module,exports){ 'use strict'; const hueToRgb = (t1, t2, hue) => { @@ -49961,7 +51092,7 @@ exports.hslToRgb = (hue, sat, light) => { return [Math.round(r * 255), Math.round(g * 255), Math.round(b * 255)]; }; -},{}],176:[function(require,module,exports){ +},{}],200:[function(require,module,exports){ 'use strict'; module.exports = function getBasicPropertyDescriptor(name) { @@ -49977,15 +51108,15 @@ module.exports = function getBasicPropertyDescriptor(name) { }; }; -},{}],177:[function(require,module,exports){ -arguments[4][146][0].apply(exports,arguments) -},{"./CSSRule":184,"./MatcherList":191,"dup":146}],178:[function(require,module,exports){ -arguments[4][147][0].apply(exports,arguments) -},{"./CSSRule":184,"./CSSStyleDeclaration":185,"dup":147}],179:[function(require,module,exports){ -arguments[4][148][0].apply(exports,arguments) -},{"./CSSRule":184,"dup":148}],180:[function(require,module,exports){ -arguments[4][149][0].apply(exports,arguments) -},{"./CSSRule":184,"./CSSStyleSheet":187,"./MediaList":192,"dup":149}],181:[function(require,module,exports){ +},{}],201:[function(require,module,exports){ +arguments[4][170][0].apply(exports,arguments) +},{"./CSSRule":208,"./MatcherList":215,"dup":170}],202:[function(require,module,exports){ +arguments[4][171][0].apply(exports,arguments) +},{"./CSSRule":208,"./CSSStyleDeclaration":209,"dup":171}],203:[function(require,module,exports){ +arguments[4][172][0].apply(exports,arguments) +},{"./CSSRule":208,"dup":172}],204:[function(require,module,exports){ +arguments[4][173][0].apply(exports,arguments) +},{"./CSSRule":208,"./CSSStyleSheet":211,"./MediaList":216,"dup":173}],205:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSRule: require("./CSSRule").CSSRule, @@ -50024,7 +51155,7 @@ Object.defineProperty(CSSOM.CSSKeyframeRule.prototype, "cssText", { exports.CSSKeyframeRule = CSSOM.CSSKeyframeRule; ///CommonJS -},{"./CSSRule":184,"./CSSStyleDeclaration":185}],182:[function(require,module,exports){ +},{"./CSSRule":208,"./CSSStyleDeclaration":209}],206:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSRule: require("./CSSRule").CSSRule @@ -50065,29 +51196,29 @@ Object.defineProperty(CSSOM.CSSKeyframesRule.prototype, "cssText", { exports.CSSKeyframesRule = CSSOM.CSSKeyframesRule; ///CommonJS -},{"./CSSRule":184}],183:[function(require,module,exports){ -arguments[4][152][0].apply(exports,arguments) -},{"./CSSRule":184,"./MediaList":192,"dup":152}],184:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],185:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"./parse":196,"dup":154}],186:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"./CSSRule":184,"./CSSStyleDeclaration":185,"dup":155}],187:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"./CSSStyleRule":186,"./StyleSheet":193,"./parse":196,"dup":156}],188:[function(require,module,exports){ -arguments[4][157][0].apply(exports,arguments) -},{"./CSSRule":184,"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) -},{"./CSSValue":189,"dup":159}],191:[function(require,module,exports){ -arguments[4][160][0].apply(exports,arguments) -},{"dup":160}],192:[function(require,module,exports){ -arguments[4][161][0].apply(exports,arguments) -},{"dup":161}],193:[function(require,module,exports){ -arguments[4][162][0].apply(exports,arguments) -},{"dup":162}],194:[function(require,module,exports){ +},{"./CSSRule":208}],207:[function(require,module,exports){ +arguments[4][176][0].apply(exports,arguments) +},{"./CSSRule":208,"./MediaList":216,"dup":176}],208:[function(require,module,exports){ +arguments[4][177][0].apply(exports,arguments) +},{"dup":177}],209:[function(require,module,exports){ +arguments[4][178][0].apply(exports,arguments) +},{"./parse":220,"dup":178}],210:[function(require,module,exports){ +arguments[4][179][0].apply(exports,arguments) +},{"./CSSRule":208,"./CSSStyleDeclaration":209,"dup":179}],211:[function(require,module,exports){ +arguments[4][180][0].apply(exports,arguments) +},{"./CSSStyleRule":210,"./StyleSheet":217,"./parse":220,"dup":180}],212:[function(require,module,exports){ +arguments[4][181][0].apply(exports,arguments) +},{"./CSSRule":208,"dup":181}],213:[function(require,module,exports){ +arguments[4][182][0].apply(exports,arguments) +},{"dup":182}],214:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"./CSSValue":213,"dup":183}],215:[function(require,module,exports){ +arguments[4][184][0].apply(exports,arguments) +},{"dup":184}],216:[function(require,module,exports){ +arguments[4][185][0].apply(exports,arguments) +},{"dup":185}],217:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"dup":186}],218:[function(require,module,exports){ //.CommonJS var CSSOM = { CSSStyleSheet: require("./CSSStyleSheet").CSSStyleSheet, @@ -50171,9 +51302,9 @@ CSSOM.clone = function clone(stylesheet) { exports.clone = CSSOM.clone; ///CommonJS -},{"./CSSKeyframeRule":181,"./CSSKeyframesRule":182,"./CSSMediaRule":183,"./CSSStyleDeclaration":185,"./CSSStyleRule":186,"./CSSStyleSheet":187,"./CSSSupportsRule":188}],195:[function(require,module,exports){ -arguments[4][164][0].apply(exports,arguments) -},{"./CSSDocumentRule":177,"./CSSFontFaceRule":178,"./CSSHostRule":179,"./CSSImportRule":180,"./CSSKeyframeRule":181,"./CSSKeyframesRule":182,"./CSSMediaRule":183,"./CSSRule":184,"./CSSStyleDeclaration":185,"./CSSStyleRule":186,"./CSSStyleSheet":187,"./CSSSupportsRule":188,"./CSSValue":189,"./CSSValueExpression":190,"./MatcherList":191,"./MediaList":192,"./StyleSheet":193,"./clone":194,"./parse":196,"dup":164}],196:[function(require,module,exports){ +},{"./CSSKeyframeRule":205,"./CSSKeyframesRule":206,"./CSSMediaRule":207,"./CSSStyleDeclaration":209,"./CSSStyleRule":210,"./CSSStyleSheet":211,"./CSSSupportsRule":212}],219:[function(require,module,exports){ +arguments[4][188][0].apply(exports,arguments) +},{"./CSSDocumentRule":201,"./CSSFontFaceRule":202,"./CSSHostRule":203,"./CSSImportRule":204,"./CSSKeyframeRule":205,"./CSSKeyframesRule":206,"./CSSMediaRule":207,"./CSSRule":208,"./CSSStyleDeclaration":209,"./CSSStyleRule":210,"./CSSStyleSheet":211,"./CSSSupportsRule":212,"./CSSValue":213,"./CSSValueExpression":214,"./MatcherList":215,"./MediaList":216,"./StyleSheet":217,"./clone":218,"./parse":220,"dup":188}],220:[function(require,module,exports){ //.CommonJS var CSSOM = {}; ///CommonJS @@ -50639,7 +51770,7 @@ CSSOM.CSSValueExpression = require('./CSSValueExpression').CSSValueExpression; CSSOM.CSSDocumentRule = require('./CSSDocumentRule').CSSDocumentRule; ///CommonJS -},{"./CSSDocumentRule":177,"./CSSFontFaceRule":178,"./CSSHostRule":179,"./CSSImportRule":180,"./CSSKeyframeRule":181,"./CSSKeyframesRule":182,"./CSSMediaRule":183,"./CSSStyleDeclaration":185,"./CSSStyleRule":186,"./CSSStyleSheet":187,"./CSSSupportsRule":188,"./CSSValueExpression":190}],197:[function(require,module,exports){ +},{"./CSSDocumentRule":201,"./CSSFontFaceRule":202,"./CSSHostRule":203,"./CSSImportRule":204,"./CSSKeyframeRule":205,"./CSSKeyframesRule":206,"./CSSMediaRule":207,"./CSSStyleDeclaration":209,"./CSSStyleRule":210,"./CSSStyleSheet":211,"./CSSSupportsRule":212,"./CSSValueExpression":214}],221:[function(require,module,exports){ "use strict"; const MIMEType = require("whatwg-mimetype"); const { parseURL, serializeURL } = require("whatwg-url"); @@ -50715,7 +51846,7 @@ module.exports.fromURLRecord = urlRecord => { }; }; -},{"./utils.js":198,"whatwg-mimetype":1074,"whatwg-url":1089}],198:[function(require,module,exports){ +},{"./utils.js":222,"whatwg-mimetype":1098,"whatwg-url":1113}],222:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; const { percentDecode } = require("whatwg-url"); @@ -50742,7 +51873,7 @@ exports.forgivingBase64Decode = data => { }; }).call(this)}).call(this,require("buffer").Buffer) -},{"abab":20,"buffer":100,"whatwg-url":1089}],199:[function(require,module,exports){ +},{"abab":44,"buffer":124,"whatwg-url":1113}],223:[function(require,module,exports){ (function (process){(function (){ /* eslint-env browser */ @@ -51015,7 +52146,7 @@ formatters.j = function (v) { }; }).call(this)}).call(this,require('_process')) -},{"./common":200,"_process":950}],200:[function(require,module,exports){ +},{"./common":224,"_process":974}],224:[function(require,module,exports){ /** * This is the common logic for both the Node.js and web browser @@ -51291,7 +52422,7 @@ function setup(env) { module.exports = setup; -},{"ms":898}],201:[function(require,module,exports){ +},{"ms":922}],225:[function(require,module,exports){ ;(function (globalScope) { 'use strict'; @@ -56227,7 +57358,7 @@ module.exports = setup; } })(this); -},{}],202:[function(require,module,exports){ +},{}],226:[function(require,module,exports){ 'use strict'; /* globals Symbol: false, Uint8Array: false, WeakMap: false */ /*! @@ -56684,7 +57815,7 @@ function isPrimitive(value) { return value === null || typeof value !== 'object'; } -},{"type-detect":1032}],203:[function(require,module,exports){ +},{"type-detect":1056}],227:[function(require,module,exports){ 'use strict'; exports.utils = require('./des/utils'); @@ -56693,7 +57824,7 @@ exports.DES = require('./des/des'); exports.CBC = require('./des/cbc'); exports.EDE = require('./des/ede'); -},{"./des/cbc":204,"./des/cipher":205,"./des/des":206,"./des/ede":207,"./des/utils":208}],204:[function(require,module,exports){ +},{"./des/cbc":228,"./des/cipher":229,"./des/des":230,"./des/ede":231,"./des/utils":232}],228:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -56760,7 +57891,7 @@ proto._update = function _update(inp, inOff, out, outOff) { } }; -},{"inherits":304,"minimalistic-assert":896}],205:[function(require,module,exports){ +},{"inherits":328,"minimalistic-assert":920}],229:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -56903,7 +58034,7 @@ Cipher.prototype._finalDecrypt = function _finalDecrypt() { return this._unpad(out); }; -},{"minimalistic-assert":896}],206:[function(require,module,exports){ +},{"minimalistic-assert":920}],230:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -57047,7 +58178,7 @@ DES.prototype._decrypt = function _decrypt(state, lStart, rStart, out, off) { utils.rip(l, r, out, off); }; -},{"./cipher":205,"./utils":208,"inherits":304,"minimalistic-assert":896}],207:[function(require,module,exports){ +},{"./cipher":229,"./utils":232,"inherits":328,"minimalistic-assert":920}],231:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -57103,7 +58234,7 @@ EDE.prototype._update = function _update(inp, inOff, out, outOff) { EDE.prototype._pad = DES.prototype._pad; EDE.prototype._unpad = DES.prototype._unpad; -},{"./cipher":205,"./des":206,"inherits":304,"minimalistic-assert":896}],208:[function(require,module,exports){ +},{"./cipher":229,"./des":230,"inherits":328,"minimalistic-assert":920}],232:[function(require,module,exports){ 'use strict'; exports.readUInt32BE = function readUInt32BE(bytes, off) { @@ -57361,7 +58492,7 @@ exports.padSplit = function padSplit(num, size, group) { return out.join(' '); }; -},{}],209:[function(require,module,exports){ +},{}],233:[function(require,module,exports){ (function (Buffer){(function (){ var generatePrime = require('./lib/generatePrime') var primes = require('./lib/primes.json') @@ -57407,7 +58538,7 @@ exports.DiffieHellmanGroup = exports.createDiffieHellmanGroup = exports.getDiffi exports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman }).call(this)}).call(this,require("buffer").Buffer) -},{"./lib/dh":210,"./lib/generatePrime":211,"./lib/primes.json":212,"buffer":100}],210:[function(require,module,exports){ +},{"./lib/dh":234,"./lib/generatePrime":235,"./lib/primes.json":236,"buffer":124}],234:[function(require,module,exports){ (function (Buffer){(function (){ var BN = require('bn.js'); var MillerRabin = require('miller-rabin'); @@ -57575,7 +58706,7 @@ function formatReturnValue(bn, enc) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"./generatePrime":211,"bn.js":213,"buffer":100,"miller-rabin":894,"randombytes":966}],211:[function(require,module,exports){ +},{"./generatePrime":235,"bn.js":237,"buffer":124,"miller-rabin":918,"randombytes":990}],235:[function(require,module,exports){ var randomBytes = require('randombytes'); module.exports = findPrime; findPrime.simpleSieve = simpleSieve; @@ -57682,7 +58813,7 @@ function findPrime(bits, gen) { } -},{"bn.js":213,"miller-rabin":894,"randombytes":966}],212:[function(require,module,exports){ +},{"bn.js":237,"miller-rabin":918,"randombytes":990}],236:[function(require,module,exports){ module.exports={ "modp1": { "gen": "02", @@ -57717,9 +58848,9 @@ module.exports={ "prime": "ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff" } } -},{}],213:[function(require,module,exports){ -arguments[4][42][0].apply(exports,arguments) -},{"buffer":53,"dup":42}],214:[function(require,module,exports){ +},{}],237:[function(require,module,exports){ +arguments[4][66][0].apply(exports,arguments) +},{"buffer":77,"dup":66}],238:[function(require,module,exports){ "use strict"; const legacyErrorCodes = require("./legacy-error-codes.json"); const idlUtils = require("./utils.js"); @@ -57743,7 +58874,7 @@ exports.init = impl => { } }; -},{"./legacy-error-codes.json":216,"./utils.js":217}],215:[function(require,module,exports){ +},{"./legacy-error-codes.json":240,"./utils.js":241}],239:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -57950,7 +59081,7 @@ module.exports = iface; const Impl = require("./DOMException-impl.js"); -},{"./DOMException-impl.js":214,"./utils.js":217,"webidl-conversions":218}],216:[function(require,module,exports){ +},{"./DOMException-impl.js":238,"./utils.js":241,"webidl-conversions":242}],240:[function(require,module,exports){ module.exports={ "IndexSizeError": 1, "DOMStringSizeError": 2, @@ -57979,7 +59110,7 @@ module.exports={ "DataCloneError": 25 } -},{}],217:[function(require,module,exports){ +},{}],241:[function(require,module,exports){ "use strict"; // Returns "Type(value) is Object" in ES terminology. @@ -58096,7 +59227,7 @@ module.exports = exports = { namedDelete }; -},{}],218:[function(require,module,exports){ +},{}],242:[function(require,module,exports){ "use strict"; function _(message, opts) { @@ -58459,7 +59590,7 @@ exports.Function = convertCallbackFunction; exports.VoidFunction = convertCallbackFunction; -},{}],219:[function(require,module,exports){ +},{}],243:[function(require,module,exports){ "use strict"; const DOMException = require("./lib/DOMException.js"); @@ -58476,7 +59607,7 @@ function installOverride(globalObject) { module.exports = {...DOMException, install: installOverride }; -},{"./lib/DOMException.js":215}],220:[function(require,module,exports){ +},{"./lib/DOMException.js":239}],244:[function(require,module,exports){ 'use strict'; var elliptic = exports; @@ -58491,7 +59622,7 @@ elliptic.curves = require('./elliptic/curves'); elliptic.ec = require('./elliptic/ec'); elliptic.eddsa = require('./elliptic/eddsa'); -},{"../package.json":236,"./elliptic/curve":223,"./elliptic/curves":226,"./elliptic/ec":227,"./elliptic/eddsa":230,"./elliptic/utils":234,"brorand":52}],221:[function(require,module,exports){ +},{"../package.json":260,"./elliptic/curve":247,"./elliptic/curves":250,"./elliptic/ec":251,"./elliptic/eddsa":254,"./elliptic/utils":258,"brorand":76}],245:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -58874,7 +60005,7 @@ BasePoint.prototype.dblp = function dblp(k) { return r; }; -},{"../utils":234,"bn.js":235}],222:[function(require,module,exports){ +},{"../utils":258,"bn.js":259}],246:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -59311,7 +60442,7 @@ Point.prototype.eqXToP = function eqXToP(x) { Point.prototype.toP = Point.prototype.normalize; Point.prototype.mixedAdd = Point.prototype.add; -},{"../utils":234,"./base":221,"bn.js":235,"inherits":304}],223:[function(require,module,exports){ +},{"../utils":258,"./base":245,"bn.js":259,"inherits":328}],247:[function(require,module,exports){ 'use strict'; var curve = exports; @@ -59321,7 +60452,7 @@ curve.short = require('./short'); curve.mont = require('./mont'); curve.edwards = require('./edwards'); -},{"./base":221,"./edwards":222,"./mont":224,"./short":225}],224:[function(require,module,exports){ +},{"./base":245,"./edwards":246,"./mont":248,"./short":249}],248:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -59501,7 +60632,7 @@ Point.prototype.getX = function getX() { return this.x.fromRed(); }; -},{"../utils":234,"./base":221,"bn.js":235,"inherits":304}],225:[function(require,module,exports){ +},{"../utils":258,"./base":245,"bn.js":259,"inherits":328}],249:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -60441,7 +61572,7 @@ JPoint.prototype.isInfinity = function isInfinity() { return this.z.cmpn(0) === 0; }; -},{"../utils":234,"./base":221,"bn.js":235,"inherits":304}],226:[function(require,module,exports){ +},{"../utils":258,"./base":245,"bn.js":259,"inherits":328}],250:[function(require,module,exports){ 'use strict'; var curves = exports; @@ -60649,7 +61780,7 @@ defineCurve('secp256k1', { ], }); -},{"./curve":223,"./precomputed/secp256k1":233,"./utils":234,"hash.js":283}],227:[function(require,module,exports){ +},{"./curve":247,"./precomputed/secp256k1":257,"./utils":258,"hash.js":307}],251:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -60894,7 +62025,7 @@ EC.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) { throw new Error('Unable to find valid recovery factor'); }; -},{"../curves":226,"../utils":234,"./key":228,"./signature":229,"bn.js":235,"brorand":52,"hmac-drbg":295}],228:[function(require,module,exports){ +},{"../curves":250,"../utils":258,"./key":252,"./signature":253,"bn.js":259,"brorand":76,"hmac-drbg":319}],252:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -61017,7 +62148,7 @@ KeyPair.prototype.inspect = function inspect() { ' pub: ' + (this.pub && this.pub.inspect()) + ' >'; }; -},{"../utils":234,"bn.js":235}],229:[function(require,module,exports){ +},{"../utils":258,"bn.js":259}],253:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -61185,7 +62316,7 @@ Signature.prototype.toDER = function toDER(enc) { return utils.encode(res, enc); }; -},{"../utils":234,"bn.js":235}],230:[function(require,module,exports){ +},{"../utils":258,"bn.js":259}],254:[function(require,module,exports){ 'use strict'; var hash = require('hash.js'); @@ -61305,7 +62436,7 @@ EDDSA.prototype.isPoint = function isPoint(val) { return val instanceof this.pointClass; }; -},{"../curves":226,"../utils":234,"./key":231,"./signature":232,"hash.js":283}],231:[function(require,module,exports){ +},{"../curves":250,"../utils":258,"./key":255,"./signature":256,"hash.js":307}],255:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -61402,7 +62533,7 @@ KeyPair.prototype.getPublic = function getPublic(enc) { module.exports = KeyPair; -},{"../utils":234}],232:[function(require,module,exports){ +},{"../utils":258}],256:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -61469,7 +62600,7 @@ Signature.prototype.toHex = function toHex() { module.exports = Signature; -},{"../utils":234,"bn.js":235}],233:[function(require,module,exports){ +},{"../utils":258,"bn.js":259}],257:[function(require,module,exports){ module.exports = { doubles: { step: 4, @@ -62251,7 +63382,7 @@ module.exports = { }, }; -},{}],234:[function(require,module,exports){ +},{}],258:[function(require,module,exports){ 'use strict'; var utils = exports; @@ -62372,9 +63503,9 @@ function intFromLE(bytes) { utils.intFromLE = intFromLE; -},{"bn.js":235,"minimalistic-assert":896,"minimalistic-crypto-utils":897}],235:[function(require,module,exports){ -arguments[4][42][0].apply(exports,arguments) -},{"buffer":53,"dup":42}],236:[function(require,module,exports){ +},{"bn.js":259,"minimalistic-assert":920,"minimalistic-crypto-utils":921}],259:[function(require,module,exports){ +arguments[4][66][0].apply(exports,arguments) +},{"buffer":77,"dup":66}],260:[function(require,module,exports){ module.exports={ "name": "elliptic", "version": "6.5.4", @@ -62432,7 +63563,7 @@ module.exports={ } } -},{}],237:[function(require,module,exports){ +},{}],261:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); @@ -62449,7 +63580,7 @@ if ($gOPD) { module.exports = $gOPD; -},{"get-intrinsic":263}],238:[function(require,module,exports){ +},{"get-intrinsic":287}],262:[function(require,module,exports){ (function (global){(function (){ /* Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com> @@ -65100,7 +66231,7 @@ module.exports = $gOPD; /* vim: set sw=4 ts=4 et tw=80 : */ }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./package.json":251,"estraverse":239,"esutils":255,"source-map":250}],239:[function(require,module,exports){ +},{"./package.json":275,"estraverse":263,"esutils":279,"source-map":274}],263:[function(require,module,exports){ /* Copyright (C) 2012-2013 Yusuke Suzuki <utatane.tea@gmail.com> Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com> @@ -65903,7 +67034,7 @@ module.exports = $gOPD; }(exports)); /* vim: set sw=4 ts=4 et tw=80 : */ -},{}],240:[function(require,module,exports){ +},{}],264:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors @@ -66026,7 +67157,7 @@ ArraySet.prototype.toArray = function ArraySet_toArray() { exports.ArraySet = ArraySet; -},{"./util":249}],241:[function(require,module,exports){ +},{"./util":273}],265:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors @@ -66168,7 +67299,7 @@ exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { aOutParam.rest = aIndex; }; -},{"./base64":242}],242:[function(require,module,exports){ +},{"./base64":266}],266:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors @@ -66237,7 +67368,7 @@ exports.decode = function (charCode) { return -1; }; -},{}],243:[function(require,module,exports){ +},{}],267:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors @@ -66350,7 +67481,7 @@ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { return index; }; -},{}],244:[function(require,module,exports){ +},{}],268:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2014 Mozilla Foundation and contributors @@ -66431,7 +67562,7 @@ MappingList.prototype.toArray = function MappingList_toArray() { exports.MappingList = MappingList; -},{"./util":249}],245:[function(require,module,exports){ +},{"./util":273}],269:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors @@ -66547,7 +67678,7 @@ exports.quickSort = function (ary, comparator) { doQuickSort(ary, comparator, 0, ary.length - 1); }; -},{}],246:[function(require,module,exports){ +},{}],270:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors @@ -67694,7 +68825,7 @@ IndexedSourceMapConsumer.prototype._parseMappings = exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; -},{"./array-set":240,"./base64-vlq":241,"./binary-search":243,"./quick-sort":245,"./util":249}],247:[function(require,module,exports){ +},{"./array-set":264,"./base64-vlq":265,"./binary-search":267,"./quick-sort":269,"./util":273}],271:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors @@ -68121,7 +69252,7 @@ SourceMapGenerator.prototype.toString = exports.SourceMapGenerator = SourceMapGenerator; -},{"./array-set":240,"./base64-vlq":241,"./mapping-list":244,"./util":249}],248:[function(require,module,exports){ +},{"./array-set":264,"./base64-vlq":265,"./mapping-list":268,"./util":273}],272:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors @@ -68536,7 +69667,7 @@ SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSou exports.SourceNode = SourceNode; -},{"./source-map-generator":247,"./util":249}],249:[function(require,module,exports){ +},{"./source-map-generator":271,"./util":273}],273:[function(require,module,exports){ /* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors @@ -69026,7 +70157,7 @@ function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) { } exports.computeSourceURL = computeSourceURL; -},{}],250:[function(require,module,exports){ +},{}],274:[function(require,module,exports){ /* * Copyright 2009-2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE.txt or: @@ -69036,7 +70167,7 @@ exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGene exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer; exports.SourceNode = require('./lib/source-node').SourceNode; -},{"./lib/source-map-consumer":246,"./lib/source-map-generator":247,"./lib/source-node":248}],251:[function(require,module,exports){ +},{"./lib/source-map-consumer":270,"./lib/source-map-generator":271,"./lib/source-node":272}],275:[function(require,module,exports){ module.exports={ "name": "escodegen", "description": "ECMAScript code generator", @@ -69100,7 +70231,7 @@ module.exports={ } } -},{}],252:[function(require,module,exports){ +},{}],276:[function(require,module,exports){ /* Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com> @@ -69246,7 +70377,7 @@ module.exports={ }()); /* vim: set sw=4 ts=4 et tw=80 : */ -},{}],253:[function(require,module,exports){ +},{}],277:[function(require,module,exports){ /* Copyright (C) 2013-2014 Yusuke Suzuki <utatane.tea@gmail.com> Copyright (C) 2014 Ivan Nikulin <ifaaan@gmail.com> @@ -69383,7 +70514,7 @@ module.exports={ }()); /* vim: set sw=4 ts=4 et tw=80 : */ -},{}],254:[function(require,module,exports){ +},{}],278:[function(require,module,exports){ /* Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com> @@ -69550,7 +70681,7 @@ module.exports={ }()); /* vim: set sw=4 ts=4 et tw=80 : */ -},{"./code":253}],255:[function(require,module,exports){ +},{"./code":277}],279:[function(require,module,exports){ /* Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com> @@ -69585,7 +70716,7 @@ module.exports={ }()); /* vim: set sw=4 ts=4 et tw=80 : */ -},{"./ast":252,"./code":253,"./keyword":254}],256:[function(require,module,exports){ +},{"./ast":276,"./code":277,"./keyword":278}],280:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -70084,7 +71215,7 @@ function eventTargetAgnosticAddListener(emitter, name, listener, flags) { } } -},{}],257:[function(require,module,exports){ +},{}],281:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer var MD5 = require('md5.js') @@ -70131,7 +71262,7 @@ function EVP_BytesToKey (password, salt, keyBits, ivLen) { module.exports = EVP_BytesToKey -},{"md5.js":893,"safe-buffer":969}],258:[function(require,module,exports){ +},{"md5.js":917,"safe-buffer":993}],282:[function(require,module,exports){ var hasOwn = Object.prototype.hasOwnProperty; var toString = Object.prototype.toString; @@ -70155,11 +71286,11 @@ module.exports = function forEach (obj, fn, ctx) { }; -},{}],259:[function(require,module,exports){ +},{}],283:[function(require,module,exports){ /* eslint-env browser */ module.exports = typeof self == 'object' ? self.FormData : window.FormData; -},{}],260:[function(require,module,exports){ +},{}],284:[function(require,module,exports){ 'use strict'; /* eslint no-invalid-this: 1 */ @@ -70213,14 +71344,14 @@ module.exports = function bind(that) { return bound; }; -},{}],261:[function(require,module,exports){ +},{}],285:[function(require,module,exports){ 'use strict'; var implementation = require('./implementation'); module.exports = Function.prototype.bind || implementation; -},{"./implementation":260}],262:[function(require,module,exports){ +},{"./implementation":284}],286:[function(require,module,exports){ 'use strict'; /* ! @@ -70266,7 +71397,7 @@ function getFuncName(aFunc) { module.exports = getFuncName; -},{}],263:[function(require,module,exports){ +},{}],287:[function(require,module,exports){ 'use strict'; var undefined; @@ -70598,7 +71729,7 @@ module.exports = function GetIntrinsic(name, allowMissing) { return value; }; -},{"function-bind":261,"has":266,"has-symbols":264}],264:[function(require,module,exports){ +},{"function-bind":285,"has":290,"has-symbols":288}],288:[function(require,module,exports){ 'use strict'; var origSymbol = typeof Symbol !== 'undefined' && Symbol; @@ -70613,7 +71744,7 @@ module.exports = function hasNativeSymbols() { return hasSymbolSham(); }; -},{"./shams":265}],265:[function(require,module,exports){ +},{"./shams":289}],289:[function(require,module,exports){ 'use strict'; /* eslint complexity: [2, 18], max-statements: [2, 33] */ @@ -70657,14 +71788,14 @@ module.exports = function hasSymbols() { return true; }; -},{}],266:[function(require,module,exports){ +},{}],290:[function(require,module,exports){ 'use strict'; var bind = require('function-bind'); module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); -},{"function-bind":261}],267:[function(require,module,exports){ +},{"function-bind":285}],291:[function(require,module,exports){ 'use strict' var Buffer = require('safe-buffer').Buffer var Transform = require('readable-stream').Transform @@ -70761,37 +71892,37 @@ HashBase.prototype._digest = function () { module.exports = HashBase -},{"inherits":304,"readable-stream":282,"safe-buffer":969}],268:[function(require,module,exports){ -arguments[4][81][0].apply(exports,arguments) -},{"dup":81}],269:[function(require,module,exports){ -arguments[4][82][0].apply(exports,arguments) -},{"./_stream_readable":271,"./_stream_writable":273,"_process":950,"dup":82,"inherits":304}],270:[function(require,module,exports){ -arguments[4][83][0].apply(exports,arguments) -},{"./_stream_transform":272,"dup":83,"inherits":304}],271:[function(require,module,exports){ -arguments[4][84][0].apply(exports,arguments) -},{"../errors":268,"./_stream_duplex":269,"./internal/streams/async_iterator":274,"./internal/streams/buffer_list":275,"./internal/streams/destroy":276,"./internal/streams/from":278,"./internal/streams/state":280,"./internal/streams/stream":281,"_process":950,"buffer":100,"dup":84,"events":256,"inherits":304,"string_decoder/":1014,"util":53}],272:[function(require,module,exports){ -arguments[4][85][0].apply(exports,arguments) -},{"../errors":268,"./_stream_duplex":269,"dup":85,"inherits":304}],273:[function(require,module,exports){ -arguments[4][86][0].apply(exports,arguments) -},{"../errors":268,"./_stream_duplex":269,"./internal/streams/destroy":276,"./internal/streams/state":280,"./internal/streams/stream":281,"_process":950,"buffer":100,"dup":86,"inherits":304,"util-deprecate":1036}],274:[function(require,module,exports){ -arguments[4][87][0].apply(exports,arguments) -},{"./end-of-stream":277,"_process":950,"dup":87}],275:[function(require,module,exports){ -arguments[4][88][0].apply(exports,arguments) -},{"buffer":100,"dup":88,"util":53}],276:[function(require,module,exports){ -arguments[4][89][0].apply(exports,arguments) -},{"_process":950,"dup":89}],277:[function(require,module,exports){ -arguments[4][90][0].apply(exports,arguments) -},{"../../../errors":268,"dup":90}],278:[function(require,module,exports){ -arguments[4][91][0].apply(exports,arguments) -},{"dup":91}],279:[function(require,module,exports){ -arguments[4][92][0].apply(exports,arguments) -},{"../../../errors":268,"./end-of-stream":277,"dup":92}],280:[function(require,module,exports){ -arguments[4][93][0].apply(exports,arguments) -},{"../../../errors":268,"dup":93}],281:[function(require,module,exports){ -arguments[4][94][0].apply(exports,arguments) -},{"dup":94,"events":256}],282:[function(require,module,exports){ -arguments[4][95][0].apply(exports,arguments) -},{"./lib/_stream_duplex.js":269,"./lib/_stream_passthrough.js":270,"./lib/_stream_readable.js":271,"./lib/_stream_transform.js":272,"./lib/_stream_writable.js":273,"./lib/internal/streams/end-of-stream.js":277,"./lib/internal/streams/pipeline.js":279,"dup":95}],283:[function(require,module,exports){ +},{"inherits":328,"readable-stream":306,"safe-buffer":993}],292:[function(require,module,exports){ +arguments[4][105][0].apply(exports,arguments) +},{"dup":105}],293:[function(require,module,exports){ +arguments[4][106][0].apply(exports,arguments) +},{"./_stream_readable":295,"./_stream_writable":297,"_process":974,"dup":106,"inherits":328}],294:[function(require,module,exports){ +arguments[4][107][0].apply(exports,arguments) +},{"./_stream_transform":296,"dup":107,"inherits":328}],295:[function(require,module,exports){ +arguments[4][108][0].apply(exports,arguments) +},{"../errors":292,"./_stream_duplex":293,"./internal/streams/async_iterator":298,"./internal/streams/buffer_list":299,"./internal/streams/destroy":300,"./internal/streams/from":302,"./internal/streams/state":304,"./internal/streams/stream":305,"_process":974,"buffer":124,"dup":108,"events":280,"inherits":328,"string_decoder/":1038,"util":77}],296:[function(require,module,exports){ +arguments[4][109][0].apply(exports,arguments) +},{"../errors":292,"./_stream_duplex":293,"dup":109,"inherits":328}],297:[function(require,module,exports){ +arguments[4][110][0].apply(exports,arguments) +},{"../errors":292,"./_stream_duplex":293,"./internal/streams/destroy":300,"./internal/streams/state":304,"./internal/streams/stream":305,"_process":974,"buffer":124,"dup":110,"inherits":328,"util-deprecate":1060}],298:[function(require,module,exports){ +arguments[4][111][0].apply(exports,arguments) +},{"./end-of-stream":301,"_process":974,"dup":111}],299:[function(require,module,exports){ +arguments[4][112][0].apply(exports,arguments) +},{"buffer":124,"dup":112,"util":77}],300:[function(require,module,exports){ +arguments[4][113][0].apply(exports,arguments) +},{"_process":974,"dup":113}],301:[function(require,module,exports){ +arguments[4][114][0].apply(exports,arguments) +},{"../../../errors":292,"dup":114}],302:[function(require,module,exports){ +arguments[4][115][0].apply(exports,arguments) +},{"dup":115}],303:[function(require,module,exports){ +arguments[4][116][0].apply(exports,arguments) +},{"../../../errors":292,"./end-of-stream":301,"dup":116}],304:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"../../../errors":292,"dup":117}],305:[function(require,module,exports){ +arguments[4][118][0].apply(exports,arguments) +},{"dup":118,"events":280}],306:[function(require,module,exports){ +arguments[4][119][0].apply(exports,arguments) +},{"./lib/_stream_duplex.js":293,"./lib/_stream_passthrough.js":294,"./lib/_stream_readable.js":295,"./lib/_stream_transform.js":296,"./lib/_stream_writable.js":297,"./lib/internal/streams/end-of-stream.js":301,"./lib/internal/streams/pipeline.js":303,"dup":119}],307:[function(require,module,exports){ var hash = exports; hash.utils = require('./hash/utils'); @@ -70808,7 +71939,7 @@ hash.sha384 = hash.sha.sha384; hash.sha512 = hash.sha.sha512; hash.ripemd160 = hash.ripemd.ripemd160; -},{"./hash/common":284,"./hash/hmac":285,"./hash/ripemd":286,"./hash/sha":287,"./hash/utils":294}],284:[function(require,module,exports){ +},{"./hash/common":308,"./hash/hmac":309,"./hash/ripemd":310,"./hash/sha":311,"./hash/utils":318}],308:[function(require,module,exports){ 'use strict'; var utils = require('./utils'); @@ -70902,7 +72033,7 @@ BlockHash.prototype._pad = function pad() { return res; }; -},{"./utils":294,"minimalistic-assert":896}],285:[function(require,module,exports){ +},{"./utils":318,"minimalistic-assert":920}],309:[function(require,module,exports){ 'use strict'; var utils = require('./utils'); @@ -70951,7 +72082,7 @@ Hmac.prototype.digest = function digest(enc) { return this.outer.digest(enc); }; -},{"./utils":294,"minimalistic-assert":896}],286:[function(require,module,exports){ +},{"./utils":318,"minimalistic-assert":920}],310:[function(require,module,exports){ 'use strict'; var utils = require('./utils'); @@ -71099,7 +72230,7 @@ var sh = [ 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 ]; -},{"./common":284,"./utils":294}],287:[function(require,module,exports){ +},{"./common":308,"./utils":318}],311:[function(require,module,exports){ 'use strict'; exports.sha1 = require('./sha/1'); @@ -71108,7 +72239,7 @@ exports.sha256 = require('./sha/256'); exports.sha384 = require('./sha/384'); exports.sha512 = require('./sha/512'); -},{"./sha/1":288,"./sha/224":289,"./sha/256":290,"./sha/384":291,"./sha/512":292}],288:[function(require,module,exports){ +},{"./sha/1":312,"./sha/224":313,"./sha/256":314,"./sha/384":315,"./sha/512":316}],312:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -71184,7 +72315,7 @@ SHA1.prototype._digest = function digest(enc) { return utils.split32(this.h, 'big'); }; -},{"../common":284,"../utils":294,"./common":293}],289:[function(require,module,exports){ +},{"../common":308,"../utils":318,"./common":317}],313:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -71216,7 +72347,7 @@ SHA224.prototype._digest = function digest(enc) { }; -},{"../utils":294,"./256":290}],290:[function(require,module,exports){ +},{"../utils":318,"./256":314}],314:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -71323,7 +72454,7 @@ SHA256.prototype._digest = function digest(enc) { return utils.split32(this.h, 'big'); }; -},{"../common":284,"../utils":294,"./common":293,"minimalistic-assert":896}],291:[function(require,module,exports){ +},{"../common":308,"../utils":318,"./common":317,"minimalistic-assert":920}],315:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -71360,7 +72491,7 @@ SHA384.prototype._digest = function digest(enc) { return utils.split32(this.h.slice(0, 12), 'big'); }; -},{"../utils":294,"./512":292}],292:[function(require,module,exports){ +},{"../utils":318,"./512":316}],316:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -71692,7 +72823,7 @@ function g1_512_lo(xh, xl) { return r; } -},{"../common":284,"../utils":294,"minimalistic-assert":896}],293:[function(require,module,exports){ +},{"../common":308,"../utils":318,"minimalistic-assert":920}],317:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -71743,7 +72874,7 @@ function g1_256(x) { } exports.g1_256 = g1_256; -},{"../utils":294}],294:[function(require,module,exports){ +},{"../utils":318}],318:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -72023,7 +73154,7 @@ function shr64_lo(ah, al, num) { } exports.shr64_lo = shr64_lo; -},{"inherits":304,"minimalistic-assert":896}],295:[function(require,module,exports){ +},{"inherits":328,"minimalistic-assert":920}],319:[function(require,module,exports){ 'use strict'; var hash = require('hash.js'); @@ -72138,7 +73269,7 @@ HmacDRBG.prototype.generate = function generate(len, enc, add, addEnc) { return utils.encode(res, enc); }; -},{"hash.js":283,"minimalistic-assert":896,"minimalistic-crypto-utils":897}],296:[function(require,module,exports){ +},{"hash.js":307,"minimalistic-assert":920,"minimalistic-crypto-utils":921}],320:[function(require,module,exports){ "use strict"; const whatwgEncoding = require("whatwg-encoding"); @@ -72435,7 +73566,7 @@ function isSpaceCharacter(c) { return c === 0x09 || c === 0x0A || c === 0x0C || c === 0x0D || c === 0x20; } -},{"whatwg-encoding":1054}],297:[function(require,module,exports){ +},{"whatwg-encoding":1078}],321:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { @@ -72583,7 +73714,7 @@ class HttpProxyAgent extends agent_base_1.Agent { exports.default = HttpProxyAgent; }).call(this)}).call(this,require("buffer").Buffer) -},{"@tootallnate/once":19,"agent-base":26,"buffer":100,"debug":199,"net":98,"tls":98,"url":1034}],298:[function(require,module,exports){ +},{"@tootallnate/once":43,"agent-base":50,"buffer":124,"debug":223,"net":122,"tls":122,"url":1058}],322:[function(require,module,exports){ "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -72598,7 +73729,7 @@ function createHttpProxyAgent(opts) { })(createHttpProxyAgent || (createHttpProxyAgent = {})); module.exports = createHttpProxyAgent; -},{"./agent":297}],299:[function(require,module,exports){ +},{"./agent":321}],323:[function(require,module,exports){ var http = require('http') var url = require('url') @@ -72631,7 +73762,7 @@ function validateParams (params) { return params } -},{"http":995,"url":1034}],300:[function(require,module,exports){ +},{"http":1019,"url":1058}],324:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { @@ -72814,7 +73945,7 @@ function omit(obj, ...keys) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"./parse-proxy-response":302,"agent-base":26,"assert":44,"buffer":100,"debug":199,"net":98,"tls":98,"url":1034}],301:[function(require,module,exports){ +},{"./parse-proxy-response":326,"agent-base":50,"assert":68,"buffer":124,"debug":223,"net":122,"tls":122,"url":1058}],325:[function(require,module,exports){ "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -72829,7 +73960,7 @@ function createHttpsProxyAgent(opts) { })(createHttpsProxyAgent || (createHttpsProxyAgent = {})); module.exports = createHttpsProxyAgent; -},{"./agent":300}],302:[function(require,module,exports){ +},{"./agent":324}],326:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { @@ -72898,7 +74029,7 @@ function parseProxyResponse(socket) { exports.default = parseProxyResponse; }).call(this)}).call(this,require("buffer").Buffer) -},{"buffer":100,"debug":199}],303:[function(require,module,exports){ +},{"buffer":124,"debug":223}],327:[function(require,module,exports){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ exports.read = function (buffer, offset, isLE, mLen, nBytes) { var e, m @@ -72985,7 +74116,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { buffer[offset + i - d] |= s * 128 } -},{}],304:[function(require,module,exports){ +},{}],328:[function(require,module,exports){ if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { @@ -73014,7 +74145,7 @@ if (typeof Object.create === 'function') { } } -},{}],305:[function(require,module,exports){ +},{}],329:[function(require,module,exports){ 'use strict'; var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; @@ -73049,7 +74180,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments; -},{"call-bind/callBound":102}],306:[function(require,module,exports){ +},{"call-bind/callBound":126}],330:[function(require,module,exports){ 'use strict'; var toStr = Object.prototype.toString; @@ -73089,7 +74220,7 @@ module.exports = function isGeneratorFunction(fn) { return getProto(fn) === GeneratorFunction; }; -},{}],307:[function(require,module,exports){ +},{}],331:[function(require,module,exports){ // Generated using `npm run build`. Do not edit. 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])*-(?:[\x2D\.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])*$/; @@ -73100,7 +74231,7 @@ var isPotentialCustomElementName = function(string) { module.exports = isPotentialCustomElementName; -},{}],308:[function(require,module,exports){ +},{}],332:[function(require,module,exports){ (function (global){(function (){ 'use strict'; @@ -73165,7 +74296,7 @@ module.exports = function isTypedArray(value) { }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"available-typed-arrays":49,"call-bind/callBound":102,"es-abstract/helpers/getOwnPropertyDescriptor":237,"foreach":258,"has-symbols":264}],309:[function(require,module,exports){ +},{"available-typed-arrays":73,"call-bind/callBound":126,"es-abstract/helpers/getOwnPropertyDescriptor":261,"foreach":282,"has-symbols":288}],333:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; const path = require("path"); @@ -73502,7 +74633,7 @@ exports.ResourceLoader = ResourceLoader; exports.toughCookie = toughCookie; }).call(this)}).call(this,require("buffer").Buffer) -},{"./jsdom/browser/Window.js":310,"./jsdom/browser/parser":315,"./jsdom/browser/resources/no-op-resource-loader.js":318,"./jsdom/browser/resources/resource-loader.js":321,"./jsdom/living/domparsing/serialization.js":339,"./jsdom/living/generated/utils.js":567,"./jsdom/virtual-console.js":753,"buffer":100,"fs":98,"html-encoding-sniffer":296,"path":942,"tough-cookie":1020,"vm":754,"whatwg-encoding":1054,"whatwg-mimetype":1074,"whatwg-url":1089}],310:[function(require,module,exports){ +},{"./jsdom/browser/Window.js":334,"./jsdom/browser/parser":339,"./jsdom/browser/resources/no-op-resource-loader.js":342,"./jsdom/browser/resources/resource-loader.js":345,"./jsdom/living/domparsing/serialization.js":363,"./jsdom/living/generated/utils.js":591,"./jsdom/virtual-console.js":777,"buffer":124,"fs":122,"html-encoding-sniffer":320,"path":966,"tough-cookie":1044,"vm":778,"whatwg-encoding":1078,"whatwg-mimetype":1098,"whatwg-url":1113}],334:[function(require,module,exports){ (function (process,global){(function (){ "use strict"; const vm = require("vm"); @@ -74439,7 +75570,7 @@ function contextifyWindow(window) { } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../living/documents.js":334,"../living/generated/BarProp":373,"../living/generated/CustomElementRegistry":386,"../living/generated/Element":396,"../living/generated/EventHandlerNonNull":403,"../living/generated/EventTarget":408,"../living/generated/External":409,"../living/generated/Navigator":512,"../living/generated/OnBeforeUnloadEventHandlerNonNull":517,"../living/generated/OnErrorEventHandlerNonNull":518,"../living/generated/PageTransitionEvent":519,"../living/generated/Performance":521,"../living/generated/Screen":537,"../living/generated/Selection":538,"../living/generated/Storage":545,"../living/generated/utils":567,"../living/helpers/create-event-accessor.js":571,"../living/helpers/events":576,"../living/helpers/runtime-script-errors":589,"../living/helpers/style-rules.js":593,"../living/interfaces":601,"../living/named-properties-window":604,"../living/nodes/GlobalEventHandlers-impl":632,"../living/nodes/WindowEventHandlers-impl":722,"../living/post-message":724,"../living/websockets/WebSocket-impl":737,"../living/window/SessionHistory":744,"../utils":752,"./js-globals.json":312,"./not-implemented":313,"_process":950,"abab":20,"cssstyle":166,"domexception/webidl2js-wrapper":219,"vm":754,"w3c-hr-time":1040,"webidl-conversions":1051}],311:[function(require,module,exports){ +},{"../living/documents.js":358,"../living/generated/BarProp":397,"../living/generated/CustomElementRegistry":410,"../living/generated/Element":420,"../living/generated/EventHandlerNonNull":427,"../living/generated/EventTarget":432,"../living/generated/External":433,"../living/generated/Navigator":536,"../living/generated/OnBeforeUnloadEventHandlerNonNull":541,"../living/generated/OnErrorEventHandlerNonNull":542,"../living/generated/PageTransitionEvent":543,"../living/generated/Performance":545,"../living/generated/Screen":561,"../living/generated/Selection":562,"../living/generated/Storage":569,"../living/generated/utils":591,"../living/helpers/create-event-accessor.js":595,"../living/helpers/events":600,"../living/helpers/runtime-script-errors":613,"../living/helpers/style-rules.js":617,"../living/interfaces":625,"../living/named-properties-window":628,"../living/nodes/GlobalEventHandlers-impl":656,"../living/nodes/WindowEventHandlers-impl":746,"../living/post-message":748,"../living/websockets/WebSocket-impl":761,"../living/window/SessionHistory":768,"../utils":776,"./js-globals.json":336,"./not-implemented":337,"_process":974,"abab":44,"cssstyle":190,"domexception/webidl2js-wrapper":243,"vm":778,"w3c-hr-time":1064,"webidl-conversions":1075}],335:[function(require,module,exports){ // Ideally, we would use // https://html.spec.whatwg.org/multipage/rendering.html#the-css-user-agent-style-sheet-and-presentational-hints // but for now, just use the version from blink. This file is copied from @@ -75230,7 +76361,7 @@ dialog { `; -},{}],312:[function(require,module,exports){ +},{}],336:[function(require,module,exports){ module.exports={ "Object": { "writable": true, @@ -75539,7 +76670,7 @@ module.exports={ } } -},{}],313:[function(require,module,exports){ +},{}],337:[function(require,module,exports){ "use strict"; module.exports = function (nameForErrorMessage, window) { @@ -75554,7 +76685,7 @@ module.exports = function (nameForErrorMessage, window) { window._virtualConsole.emit("jsdomError", error); }; -},{}],314:[function(require,module,exports){ +},{}],338:[function(require,module,exports){ "use strict"; const parse5 = require("parse5"); @@ -75779,7 +76910,7 @@ module.exports = { parseIntoDocument }; -},{"../../living/attributes":327,"../../living/domparsing/parse5-adapter-serialization":338,"../../living/generated/Comment":382,"../../living/generated/DocumentFragment":394,"../../living/generated/DocumentType":395,"../../living/generated/Text":550,"../../living/helpers/create-element":570,"../../living/helpers/custom-elements":572,"../../living/helpers/namespaces":585,"../../living/node-type":617,"parse5":931,"parse5/lib/parser/open-element-stack":934}],315:[function(require,module,exports){ +},{"../../living/attributes":351,"../../living/domparsing/parse5-adapter-serialization":362,"../../living/generated/Comment":406,"../../living/generated/DocumentFragment":418,"../../living/generated/DocumentType":419,"../../living/generated/Text":574,"../../living/helpers/create-element":594,"../../living/helpers/custom-elements":596,"../../living/helpers/namespaces":609,"../../living/node-type":641,"parse5":955,"parse5/lib/parser/open-element-stack":958}],339:[function(require,module,exports){ "use strict"; const xmlParser = require("./xml"); @@ -75818,7 +76949,7 @@ module.exports = { parseIntoDocument }; -},{"./html":314,"./xml":316}],316:[function(require,module,exports){ +},{"./html":338,"./xml":340}],340:[function(require,module,exports){ "use strict"; const { SaxesParser } = require("saxes"); @@ -76022,7 +77153,7 @@ module.exports = { parseIntoDocument }; -},{"../../living/attributes":327,"../../living/generated/CDATASection":378,"../../living/generated/Comment":382,"../../living/generated/DocumentFragment":394,"../../living/generated/DocumentType":395,"../../living/generated/ProcessingInstruction":526,"../../living/generated/Text":550,"../../living/helpers/create-element":570,"../../living/helpers/namespaces":585,"domexception/webidl2js-wrapper":219,"saxes":971}],317:[function(require,module,exports){ +},{"../../living/attributes":351,"../../living/generated/CDATASection":402,"../../living/generated/Comment":406,"../../living/generated/DocumentFragment":418,"../../living/generated/DocumentType":419,"../../living/generated/ProcessingInstruction":550,"../../living/generated/Text":574,"../../living/helpers/create-element":594,"../../living/helpers/namespaces":609,"domexception/webidl2js-wrapper":243,"saxes":995}],341:[function(require,module,exports){ "use strict"; class QueueItem { @@ -76138,7 +77269,7 @@ module.exports = class AsyncResourceQueue { } }; -},{}],318:[function(require,module,exports){ +},{}],342:[function(require,module,exports){ "use strict"; const ResourceLoader = require("./resource-loader.js"); @@ -76148,7 +77279,7 @@ module.exports = class NoOpResourceLoader extends ResourceLoader { } }; -},{"./resource-loader.js":321}],319:[function(require,module,exports){ +},{"./resource-loader.js":345}],343:[function(require,module,exports){ "use strict"; const idlUtils = require("../../living/generated/utils"); const { fireAnEvent } = require("../../living/helpers/events"); @@ -76245,7 +77376,7 @@ module.exports = class PerDocumentResourceLoader { } }; -},{"../../living/generated/utils":567,"../../living/helpers/events":576}],320:[function(require,module,exports){ +},{"../../living/generated/utils":591,"../../living/helpers/events":600}],344:[function(require,module,exports){ "use strict"; /** @@ -76280,7 +77411,7 @@ module.exports = class RequestManager { } }; -},{}],321:[function(require,module,exports){ +},{}],345:[function(require,module,exports){ (function (process,Buffer){(function (){ "use strict"; const fs = require("fs"); @@ -76426,7 +77557,7 @@ module.exports = class ResourceLoader { }; }).call(this)}).call(this,require('_process'),require("buffer").Buffer) -},{"../../../../package.json":756,"../../living/helpers/agent-factory":568,"../../living/helpers/http-request":580,"_process":950,"buffer":100,"data-urls":197,"fs":98,"url":1034,"whatwg-url":1089}],322:[function(require,module,exports){ +},{"../../../../package.json":780,"../../living/helpers/agent-factory":592,"../../living/helpers/http-request":604,"_process":974,"buffer":124,"data-urls":221,"fs":122,"url":1058,"whatwg-url":1113}],346:[function(require,module,exports){ "use strict"; /** @@ -76570,7 +77701,7 @@ module.exports = class ResourceQueue { } }; -},{}],323:[function(require,module,exports){ +},{}],347:[function(require,module,exports){ "use strict"; const cssom = require("cssom"); const cssstyle = require("cssstyle"); @@ -76629,7 +77760,7 @@ exports.addToCore = core => { // Counter }; -},{"cssom":164,"cssstyle":166}],324:[function(require,module,exports){ +},{"cssom":188,"cssstyle":190}],348:[function(require,module,exports){ /** Here is yet another implementation of XPath 1.0 in Javascript. * * My goal was to make it relatively compact, but as I fixed all the axis bugs @@ -78505,7 +79636,7 @@ module.exports = core => { return xpath; // for tests }; -},{}],325:[function(require,module,exports){ +},{}],349:[function(require,module,exports){ "use strict"; const AbortSignal = require("../generated/AbortSignal"); @@ -78524,7 +79655,7 @@ module.exports = { implementation: AbortControllerImpl }; -},{"../generated/AbortSignal":368}],326:[function(require,module,exports){ +},{"../generated/AbortSignal":392}],350:[function(require,module,exports){ "use strict"; const { setupForSimpleEventAccessors } = require("../helpers/create-event-accessor"); @@ -78574,7 +79705,7 @@ module.exports = { implementation: AbortSignalImpl }; -},{"../events/EventTarget-impl":346,"../helpers/create-event-accessor":571,"../helpers/events":576}],327:[function(require,module,exports){ +},{"../events/EventTarget-impl":370,"../helpers/create-event-accessor":595,"../helpers/events":600}],351:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -78888,7 +80019,7 @@ exports.hasAttributes = function (element) { return element._attributeList.length > 0; }; -},{"./helpers/custom-elements":572,"./helpers/mutation-observers":584,"./helpers/namespaces":585,"./helpers/strings":592,"domexception/webidl2js-wrapper":219}],328:[function(require,module,exports){ +},{"./helpers/custom-elements":596,"./helpers/mutation-observers":608,"./helpers/namespaces":609,"./helpers/strings":616,"domexception/webidl2js-wrapper":243}],352:[function(require,module,exports){ "use strict"; const { setAnExistingAttributeValue } = require("../attributes.js"); @@ -78950,7 +80081,7 @@ exports.implementation = class AttrImpl extends NodeImpl { } }; -},{"../attributes.js":327,"../node-type.js":617,"../nodes/Node-impl.js":708}],329:[function(require,module,exports){ +},{"../attributes.js":351,"../node-type.js":641,"../nodes/Node-impl.js":732}],353:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -79030,7 +80161,7 @@ exports.implementation = class NamedNodeMapImpl { } }; -},{"../attributes.js":327,"../generated/utils.js":567,"../helpers/namespaces":585,"domexception/webidl2js-wrapper":219}],330:[function(require,module,exports){ +},{"../attributes.js":351,"../generated/utils.js":591,"../helpers/namespaces":609,"domexception/webidl2js-wrapper":243}],354:[function(require,module,exports){ "use strict"; const ValidityState = require("../generated/ValidityState"); @@ -79107,7 +80238,7 @@ exports.implementation = class DefaultConstraintValidationImpl { } }; -},{"../generated/ValidityState":557,"../helpers/events":576,"../helpers/form-controls":578,"../helpers/traversal":598}],331:[function(require,module,exports){ +},{"../generated/ValidityState":581,"../helpers/events":600,"../helpers/form-controls":602,"../helpers/traversal":622}],355:[function(require,module,exports){ "use strict"; exports.implementation = class ValidityStateImpl { @@ -79175,7 +80306,7 @@ exports.implementation = class ValidityStateImpl { } }; -},{}],332:[function(require,module,exports){ +},{}],356:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils.js"); @@ -79215,7 +80346,7 @@ exports.implementation = class StyleSheetList { } }; -},{"../generated/utils.js":567}],333:[function(require,module,exports){ +},{"../generated/utils.js":591}],357:[function(require,module,exports){ "use strict"; const webIDLConversions = require("webidl-conversions"); @@ -79482,7 +80613,7 @@ module.exports = { implementation: CustomElementRegistryImpl }; -},{"../generated/Function.js":417,"../generated/HTMLUnknownElement":490,"../generated/utils":567,"../helpers/create-element":570,"../helpers/custom-elements":572,"../helpers/namespaces":585,"../helpers/shadow-dom":591,"../node-type":617,"domexception/webidl2js-wrapper":219,"webidl-conversions":1051}],334:[function(require,module,exports){ +},{"../generated/Function.js":441,"../generated/HTMLUnknownElement":514,"../generated/utils":591,"../helpers/create-element":594,"../helpers/custom-elements":596,"../helpers/namespaces":609,"../helpers/shadow-dom":615,"../node-type":641,"domexception/webidl2js-wrapper":243,"webidl-conversions":1075}],358:[function(require,module,exports){ "use strict"; const XMLDocument = require("../living/generated/XMLDocument.js"); const Document = require("../living/generated/Document.js"); @@ -79499,7 +80630,7 @@ exports.createWrapper = (...args) => { return wrapperForImpl(exports.createImpl(...args)); }; -},{"../living/generated/Document.js":393,"../living/generated/XMLDocument.js":561,"./generated/utils.js":567}],335:[function(require,module,exports){ +},{"../living/generated/Document.js":417,"../living/generated/XMLDocument.js":585,"./generated/utils.js":591}],359:[function(require,module,exports){ "use strict"; const { parseIntoDocument } = require("../../browser/parser"); @@ -79559,7 +80690,7 @@ exports.implementation = class DOMParserImpl { } }; -},{"../../browser/parser":315,"../generated/Document":393}],336:[function(require,module,exports){ +},{"../../browser/parser":339,"../generated/Document":417}],360:[function(require,module,exports){ "use strict"; const { parseFragment } = require("../../browser/parser"); @@ -79590,7 +80721,7 @@ exports.implementation = class InnerHTMLImpl { } }; -},{"../../browser/parser":315,"../helpers/namespaces.js":585,"../helpers/shadow-dom.js":591,"../node-type.js":617,"./serialization.js":339}],337:[function(require,module,exports){ +},{"../../browser/parser":339,"../helpers/namespaces.js":609,"../helpers/shadow-dom.js":615,"../node-type.js":641,"./serialization.js":363}],361:[function(require,module,exports){ "use strict"; const serialize = require("w3c-xmlserializer"); const DOMException = require("domexception/webidl2js-wrapper"); @@ -79610,7 +80741,7 @@ exports.implementation = class XMLSerializerImpl { } }; -},{"../generated/utils":567,"domexception/webidl2js-wrapper":219,"w3c-xmlserializer":1049}],338:[function(require,module,exports){ +},{"../generated/utils":591,"domexception/webidl2js-wrapper":243,"w3c-xmlserializer":1073}],362:[function(require,module,exports){ "use strict"; const nodeTypes = require("../node-type"); const { domSymbolTree } = require("../helpers/internal-constants"); @@ -79675,7 +80806,7 @@ exports.updateNodeSourceCodeLocation = (node, endLocation) => { Object.assign(node.sourceCodeLocation, endLocation); }; -},{"../helpers/internal-constants":581,"../node-type":617}],339:[function(require,module,exports){ +},{"../helpers/internal-constants":605,"../node-type":641}],363:[function(require,module,exports){ "use strict"; const produceXMLSerialization = require("w3c-xmlserializer"); @@ -79722,7 +80853,7 @@ module.exports.fragmentSerialization = (node, { requireWellFormed, globalObject } }; -},{"../generated/utils":567,"../helpers/namespaces":585,"../node-type":617,"./parse5-adapter-serialization":338,"domexception/webidl2js-wrapper":219,"parse5":931,"w3c-xmlserializer":1049}],340:[function(require,module,exports){ +},{"../generated/utils":591,"../helpers/namespaces":609,"../node-type":641,"./parse5-adapter-serialization":362,"domexception/webidl2js-wrapper":243,"parse5":955,"w3c-xmlserializer":1073}],364:[function(require,module,exports){ "use strict"; const EventImpl = require("./Event-impl").implementation; @@ -79734,7 +80865,7 @@ CloseEventImpl.defaultInit = CloseEventInit.convert(undefined); exports.implementation = CloseEventImpl; -},{"../generated/CloseEventInit":381,"./Event-impl":344}],341:[function(require,module,exports){ +},{"../generated/CloseEventInit":405,"./Event-impl":368}],365:[function(require,module,exports){ "use strict"; const UIEventImpl = require("./UIEvent-impl").implementation; @@ -79756,7 +80887,7 @@ module.exports = { implementation: CompositionEventImpl }; -},{"../generated/CompositionEventInit":384,"./UIEvent-impl":358}],342:[function(require,module,exports){ +},{"../generated/CompositionEventInit":408,"./UIEvent-impl":382}],366:[function(require,module,exports){ "use strict"; const EventImpl = require("./Event-impl").implementation; @@ -79779,7 +80910,7 @@ module.exports = { implementation: CustomEventImpl }; -},{"../generated/CustomEventInit":388,"./Event-impl":344}],343:[function(require,module,exports){ +},{"../generated/CustomEventInit":412,"./Event-impl":368}],367:[function(require,module,exports){ "use strict"; const EventImpl = require("./Event-impl").implementation; @@ -79795,7 +80926,7 @@ module.exports = { implementation: ErrorEventImpl }; -},{"../generated/ErrorEventInit":401,"./Event-impl":344}],344:[function(require,module,exports){ +},{"../generated/ErrorEventInit":425,"./Event-impl":368}],368:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils"); @@ -79994,7 +81125,7 @@ module.exports = { implementation: EventImpl }; -},{"../generated/EventInit":404,"../generated/utils":567}],345:[function(require,module,exports){ +},{"../generated/EventInit":428,"../generated/utils":591}],369:[function(require,module,exports){ "use strict"; // This mixin doesn't have an IDL equivalent, but since MouseEvent and KeyboardEvent implement getModifierState() the @@ -80014,7 +81145,7 @@ class EventModifierMixinImpl { exports.implementation = EventModifierMixinImpl; -},{}],346:[function(require,module,exports){ +},{}],370:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -80419,7 +81550,7 @@ function appendToEventPath(eventImpl, target, targetOverride, relatedTarget, tou }); } -},{"../generated/MouseEvent":505,"../generated/utils":567,"../helpers/node":586,"../helpers/runtime-script-errors":589,"../helpers/shadow-dom":591,"domexception/webidl2js-wrapper":219}],347:[function(require,module,exports){ +},{"../generated/MouseEvent":529,"../generated/utils":591,"../helpers/node":610,"../helpers/runtime-script-errors":613,"../helpers/shadow-dom":615,"domexception/webidl2js-wrapper":243}],371:[function(require,module,exports){ "use strict"; const UIEventImpl = require("./UIEvent-impl").implementation; @@ -80430,7 +81561,7 @@ FocusEventImpl.defaultInit = FocusEventInit.convert(undefined); exports.implementation = FocusEventImpl; -},{"../generated/FocusEventInit":415,"./UIEvent-impl":358}],348:[function(require,module,exports){ +},{"../generated/FocusEventInit":439,"./UIEvent-impl":382}],372:[function(require,module,exports){ "use strict"; const EventImpl = require("./Event-impl").implementation; @@ -80446,7 +81577,7 @@ module.exports = { implementation: HashChangeEventImpl }; -},{"../generated/HashChangeEventInit":493,"./Event-impl":344}],349:[function(require,module,exports){ +},{"../generated/HashChangeEventInit":517,"./Event-impl":368}],373:[function(require,module,exports){ "use strict"; const UIEventImpl = require("./UIEvent-impl").implementation; const InputEventInit = require("../generated/InputEventInit"); @@ -80459,7 +81590,7 @@ module.exports = { implementation: InputEventImpl }; -},{"../generated/InputEventInit":497,"./UIEvent-impl":358}],350:[function(require,module,exports){ +},{"../generated/InputEventInit":521,"./UIEvent-impl":382}],374:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); @@ -80490,7 +81621,7 @@ module.exports = { implementation: KeyboardEventImpl }; -},{"../../utils":752,"../generated/KeyboardEventInit":499,"./EventModifierMixin-impl":345,"./UIEvent-impl":358}],351:[function(require,module,exports){ +},{"../../utils":776,"../generated/KeyboardEventInit":523,"./EventModifierMixin-impl":369,"./UIEvent-impl":382}],375:[function(require,module,exports){ "use strict"; const EventImpl = require("./Event-impl").implementation; @@ -80517,7 +81648,7 @@ module.exports = { implementation: MessageEventImpl }; -},{"../generated/MessageEventInit":502,"./Event-impl":344}],352:[function(require,module,exports){ +},{"../generated/MessageEventInit":526,"./Event-impl":368}],376:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); @@ -80568,7 +81699,7 @@ module.exports = { implementation: MouseEventImpl }; -},{"../../utils":752,"../generated/MouseEventInit":506,"./EventModifierMixin-impl":345,"./UIEvent-impl":358}],353:[function(require,module,exports){ +},{"../../utils":776,"../generated/MouseEventInit":530,"./EventModifierMixin-impl":369,"./UIEvent-impl":382}],377:[function(require,module,exports){ "use strict"; const EventImpl = require("./Event-impl").implementation; @@ -80590,7 +81721,7 @@ PageTransitionEventImpl.defaultInit = PageTransitionEventInit.convert(undefined) exports.implementation = PageTransitionEventImpl; -},{"../generated/PageTransitionEventInit":520,"./Event-impl":344}],354:[function(require,module,exports){ +},{"../generated/PageTransitionEventInit":544,"./Event-impl":368}],378:[function(require,module,exports){ "use strict"; const EventImpl = require("./Event-impl.js").implementation; @@ -80601,7 +81732,7 @@ PopStateEventImpl.defaultInit = PopStateEventInit.convert(undefined); exports.implementation = PopStateEventImpl; -},{"../generated/PopStateEventInit":525,"./Event-impl.js":344}],355:[function(require,module,exports){ +},{"../generated/PopStateEventInit":549,"./Event-impl.js":368}],379:[function(require,module,exports){ "use strict"; const EventImpl = require("./Event-impl").implementation; @@ -80617,7 +81748,7 @@ module.exports = { implementation: ProgressEventImpl }; -},{"../generated/ProgressEventInit":528,"./Event-impl":344}],356:[function(require,module,exports){ +},{"../generated/ProgressEventInit":552,"./Event-impl":368}],380:[function(require,module,exports){ "use strict"; const EventImpl = require("./Event-impl").implementation; @@ -80645,7 +81776,7 @@ module.exports = { implementation: StorageEventImpl }; -},{"../generated/StorageEventInit":547,"./Event-impl":344}],357:[function(require,module,exports){ +},{"../generated/StorageEventInit":571,"./Event-impl":368}],381:[function(require,module,exports){ "use strict"; const UIEventImpl = require("./UIEvent-impl").implementation; @@ -80661,7 +81792,7 @@ module.exports = { implementation: TouchEventImpl }; -},{"../generated/TouchEventInit":553,"./UIEvent-impl":358}],358:[function(require,module,exports){ +},{"../generated/TouchEventInit":577,"./UIEvent-impl":382}],382:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils"); @@ -80722,7 +81853,7 @@ module.exports = { implementation: UIEventImpl }; -},{"../generated/UIEventInit":556,"../generated/utils":567,"./Event-impl":344}],359:[function(require,module,exports){ +},{"../generated/UIEventInit":580,"../generated/utils":591,"./Event-impl":368}],383:[function(require,module,exports){ "use strict"; const MouseEventImpl = require("./MouseEvent-impl").implementation; @@ -80736,7 +81867,7 @@ module.exports = { implementation: WheelEventImpl }; -},{"../generated/WheelEventInit":560,"./MouseEvent-impl":352}],360:[function(require,module,exports){ +},{"../generated/WheelEventInit":584,"./MouseEvent-impl":376}],384:[function(require,module,exports){ "use strict"; const { @@ -80903,7 +82034,7 @@ class HeadersImpl { exports.implementation = HeadersImpl; -},{"./header-list":361,"./header-types":362}],361:[function(require,module,exports){ +},{"./header-list":385,"./header-types":386}],385:[function(require,module,exports){ "use strict"; /** @@ -80959,7 +82090,7 @@ class HeaderList { module.exports = HeaderList; -},{}],362:[function(require,module,exports){ +},{}],386:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; @@ -81066,7 +82197,7 @@ module.exports = { }; }).call(this)}).call(this,require("buffer").Buffer) -},{"buffer":100,"whatwg-mimetype":1074}],363:[function(require,module,exports){ +},{"buffer":124,"whatwg-mimetype":1098}],387:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; const Blob = require("../generated/Blob"); @@ -81163,7 +82294,7 @@ exports.implementation = class BlobImpl { }; }).call(this)}).call(this,require("buffer").Buffer) -},{"../generated/Blob":375,"../generated/utils":567,"buffer":100}],364:[function(require,module,exports){ +},{"../generated/Blob":399,"../generated/utils":591,"buffer":124}],388:[function(require,module,exports){ "use strict"; const BlobImpl = require("./Blob-impl").implementation; @@ -81177,7 +82308,7 @@ exports.implementation = class FileImpl extends BlobImpl { } }; -},{"./Blob-impl":363}],365:[function(require,module,exports){ +},{"./Blob-impl":387}],389:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils.js"); @@ -81194,7 +82325,7 @@ exports.implementation = class FileListImpl extends Array { } }; -},{"../generated/utils.js":567}],366:[function(require,module,exports){ +},{"../generated/utils.js":591}],390:[function(require,module,exports){ (function (Buffer,setImmediate){(function (){ "use strict"; @@ -81328,7 +82459,7 @@ setupForSimpleEventAccessors(FileReaderImpl.prototype, events); exports.implementation = FileReaderImpl; }).call(this)}).call(this,require("buffer").Buffer,require("timers").setImmediate) -},{"../events/EventTarget-impl":346,"../generated/ProgressEvent":527,"../helpers/binary-data":569,"../helpers/create-event-accessor":571,"../helpers/events":576,"buffer":100,"domexception/webidl2js-wrapper":219,"timers":1019,"whatwg-encoding":1054,"whatwg-mimetype":1074}],367:[function(require,module,exports){ +},{"../events/EventTarget-impl":370,"../generated/ProgressEvent":551,"../helpers/binary-data":593,"../helpers/create-event-accessor":595,"../helpers/events":600,"buffer":124,"domexception/webidl2js-wrapper":243,"timers":1043,"whatwg-encoding":1078,"whatwg-mimetype":1098}],391:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -81460,7 +82591,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../aborting/AbortController-impl.js"); -},{"../aborting/AbortController-impl.js":325,"./utils.js":567,"webidl-conversions":1051}],368:[function(require,module,exports){ +},{"../aborting/AbortController-impl.js":349,"./utils.js":591,"webidl-conversions":1075}],392:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -81616,7 +82747,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../aborting/AbortSignal-impl.js"); -},{"../aborting/AbortSignal-impl.js":326,"./EventHandlerNonNull.js":403,"./EventTarget.js":408,"./utils.js":567,"webidl-conversions":1051}],369:[function(require,module,exports){ +},{"../aborting/AbortSignal-impl.js":350,"./EventHandlerNonNull.js":427,"./EventTarget.js":432,"./utils.js":591,"webidl-conversions":1075}],393:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -81780,7 +82911,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../range/AbstractRange-impl.js"); -},{"../range/AbstractRange-impl.js":725,"./utils.js":567,"webidl-conversions":1051}],370:[function(require,module,exports){ +},{"../range/AbstractRange-impl.js":749,"./utils.js":591,"webidl-conversions":1075}],394:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -81826,7 +82957,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventListenerOptions.js":406,"./utils.js":567,"webidl-conversions":1051}],371:[function(require,module,exports){ +},{"./EventListenerOptions.js":430,"./utils.js":591,"webidl-conversions":1075}],395:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -81856,7 +82987,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./utils.js":567,"webidl-conversions":1051}],372:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],396:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -82073,7 +83204,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../attributes/Attr-impl.js"); -},{"../attributes/Attr-impl.js":328,"../helpers/custom-elements.js":572,"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],373:[function(require,module,exports){ +},{"../attributes/Attr-impl.js":352,"../helpers/custom-elements.js":596,"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],397:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -82193,7 +83324,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../window/BarProp-impl.js"); -},{"../window/BarProp-impl.js":739,"./utils.js":567,"webidl-conversions":1051}],374:[function(require,module,exports){ +},{"../window/BarProp-impl.js":763,"./utils.js":591,"webidl-conversions":1075}],398:[function(require,module,exports){ "use strict"; const enumerationValues = new Set(["blob", "arraybuffer"]); @@ -82207,7 +83338,7 @@ exports.convert = function convert(value, { context = "The provided value" } = { return string; }; -},{}],375:[function(require,module,exports){ +},{}],399:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -82407,7 +83538,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../file-api/Blob-impl.js"); -},{"../file-api/Blob-impl.js":363,"./BlobPropertyBag.js":377,"./utils.js":567,"webidl-conversions":1051}],376:[function(require,module,exports){ +},{"../file-api/Blob-impl.js":387,"./BlobPropertyBag.js":401,"./utils.js":591,"webidl-conversions":1075}],400:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -82443,7 +83574,7 @@ exports.convert = (value, { context = "The provided value" } = {}) => { return invokeTheCallbackFunction; }; -},{"./utils.js":567,"webidl-conversions":1051}],377:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],401:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -82487,7 +83618,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EndingType.js":399,"./utils.js":567,"webidl-conversions":1051}],378:[function(require,module,exports){ +},{"./EndingType.js":423,"./utils.js":591,"webidl-conversions":1075}],402:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -82603,7 +83734,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/CDATASection-impl.js"); -},{"../nodes/CDATASection-impl.js":619,"./Text.js":550,"./utils.js":567,"webidl-conversions":1051}],379:[function(require,module,exports){ +},{"../nodes/CDATASection-impl.js":643,"./Text.js":574,"./utils.js":591,"webidl-conversions":1075}],403:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -83041,7 +84172,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/CharacterData-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/CharacterData-impl.js":620,"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],380:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/CharacterData-impl.js":644,"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],404:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -83207,7 +84338,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/CloseEvent-impl.js"); -},{"../events/CloseEvent-impl.js":340,"./CloseEventInit.js":381,"./Event.js":402,"./utils.js":567,"webidl-conversions":1051}],381:[function(require,module,exports){ +},{"../events/CloseEvent-impl.js":364,"./CloseEventInit.js":405,"./Event.js":426,"./utils.js":591,"webidl-conversions":1075}],405:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -83265,7 +84396,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],382:[function(require,module,exports){ +},{"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],406:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -83389,7 +84520,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/Comment-impl.js"); -},{"../nodes/Comment-impl.js":622,"./CharacterData.js":379,"./utils.js":567,"webidl-conversions":1051}],383:[function(require,module,exports){ +},{"../nodes/Comment-impl.js":646,"./CharacterData.js":403,"./utils.js":591,"webidl-conversions":1075}],407:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -83608,7 +84739,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/CompositionEvent-impl.js"); -},{"../events/CompositionEvent-impl.js":341,"./CompositionEventInit.js":384,"./UIEvent.js":555,"./utils.js":567,"webidl-conversions":1051}],384:[function(require,module,exports){ +},{"../events/CompositionEvent-impl.js":365,"./CompositionEventInit.js":408,"./UIEvent.js":579,"./utils.js":591,"webidl-conversions":1075}],408:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -83642,7 +84773,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./UIEventInit.js":556,"./utils.js":567,"webidl-conversions":1051}],385:[function(require,module,exports){ +},{"./UIEventInit.js":580,"./utils.js":591,"webidl-conversions":1075}],409:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -83682,7 +84813,7 @@ exports.convert = (value, { context = "The provided value" } = {}) => { return invokeTheCallbackFunction; }; -},{"./utils.js":567,"webidl-conversions":1051}],386:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],410:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -83926,7 +85057,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../custom-elements/CustomElementRegistry-impl.js"); -},{"../custom-elements/CustomElementRegistry-impl.js":333,"../helpers/custom-elements.js":572,"./CustomElementConstructor.js":385,"./ElementDefinitionOptions.js":398,"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],387:[function(require,module,exports){ +},{"../custom-elements/CustomElementRegistry-impl.js":357,"../helpers/custom-elements.js":596,"./CustomElementConstructor.js":409,"./ElementDefinitionOptions.js":422,"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],411:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -84128,7 +85259,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/CustomEvent-impl.js"); -},{"../events/CustomEvent-impl.js":342,"./CustomEventInit.js":388,"./Event.js":402,"./utils.js":567,"webidl-conversions":1051}],388:[function(require,module,exports){ +},{"../events/CustomEvent-impl.js":366,"./CustomEventInit.js":412,"./Event.js":426,"./utils.js":591,"webidl-conversions":1075}],412:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -84162,7 +85293,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],389:[function(require,module,exports){ +},{"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],413:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -84396,7 +85527,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/DOMImplementation-impl.js"); -},{"../nodes/DOMImplementation-impl.js":623,"./DocumentType.js":395,"./utils.js":567,"webidl-conversions":1051}],390:[function(require,module,exports){ +},{"../nodes/DOMImplementation-impl.js":647,"./DocumentType.js":419,"./utils.js":591,"webidl-conversions":1075}],414:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -84538,7 +85669,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../domparsing/DOMParser-impl.js"); -},{"../domparsing/DOMParser-impl.js":335,"./SupportedType.js":549,"./utils.js":567,"webidl-conversions":1051}],391:[function(require,module,exports){ +},{"../domparsing/DOMParser-impl.js":359,"./SupportedType.js":573,"./utils.js":591,"webidl-conversions":1075}],415:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -84862,7 +85993,7 @@ class ProxyHandler { const Impl = require("../nodes/DOMStringMap-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/DOMStringMap-impl.js":624,"./utils.js":567,"webidl-conversions":1051}],392:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/DOMStringMap-impl.js":648,"./utils.js":591,"webidl-conversions":1075}],416:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -85395,7 +86526,7 @@ const proxyHandler = { const Impl = require("../nodes/DOMTokenList-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/DOMTokenList-impl.js":625,"./utils.js":567,"webidl-conversions":1051}],393:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/DOMTokenList-impl.js":649,"./utils.js":591,"webidl-conversions":1075}],417:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -88719,7 +89850,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/Document-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/Document-impl.js":626,"./ElementCreationOptions.js":397,"./EventHandlerNonNull.js":403,"./HTMLElement.js":435,"./Node.js":513,"./NodeFilter.js":514,"./OnErrorEventHandlerNonNull.js":518,"./utils.js":567,"webidl-conversions":1051}],394:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/Document-impl.js":650,"./ElementCreationOptions.js":421,"./EventHandlerNonNull.js":427,"./HTMLElement.js":459,"./Node.js":537,"./NodeFilter.js":538,"./OnErrorEventHandlerNonNull.js":542,"./utils.js":591,"webidl-conversions":1075}],418:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -89046,7 +90177,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/DocumentFragment-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/DocumentFragment-impl.js":627,"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],395:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/DocumentFragment-impl.js":651,"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],419:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -89294,7 +90425,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/DocumentType-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/DocumentType-impl.js":629,"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],396:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/DocumentType-impl.js":653,"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],420:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -90905,7 +92036,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/Element-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/Element-impl.js":630,"./Attr.js":372,"./Node.js":513,"./ShadowRootInit.js":541,"./utils.js":567,"webidl-conversions":1051}],397:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/Element-impl.js":654,"./Attr.js":396,"./Node.js":537,"./ShadowRootInit.js":565,"./utils.js":591,"webidl-conversions":1075}],421:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -90933,7 +92064,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./utils.js":567,"webidl-conversions":1051}],398:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],422:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -90961,7 +92092,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./utils.js":567,"webidl-conversions":1051}],399:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],423:[function(require,module,exports){ "use strict"; const enumerationValues = new Set(["transparent", "native"]); @@ -90975,7 +92106,7 @@ exports.convert = function convert(value, { context = "The provided value" } = { return string; }; -},{}],400:[function(require,module,exports){ +},{}],424:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -91163,7 +92294,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/ErrorEvent-impl.js"); -},{"../events/ErrorEvent-impl.js":343,"./ErrorEventInit.js":401,"./Event.js":402,"./utils.js":567,"webidl-conversions":1051}],401:[function(require,module,exports){ +},{"../events/ErrorEvent-impl.js":367,"./ErrorEventInit.js":425,"./Event.js":426,"./utils.js":591,"webidl-conversions":1075}],425:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -91245,7 +92376,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],402:[function(require,module,exports){ +},{"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],426:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -91637,7 +92768,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/Event-impl.js"); -},{"../events/Event-impl.js":344,"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],403:[function(require,module,exports){ +},{"../events/Event-impl.js":368,"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],427:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -91679,7 +92810,7 @@ exports.convert = (value, { context = "The provided value" } = {}) => { return invokeTheCallbackFunction; }; -},{"./utils.js":567,"webidl-conversions":1051}],404:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],428:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -91733,7 +92864,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./utils.js":567,"webidl-conversions":1051}],405:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],429:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -91770,7 +92901,7 @@ exports.convert = function convert(value, { context = "The provided value" } = { exports.install = (globalObject, globalNames) => {}; -},{"./utils.js":567,"webidl-conversions":1051}],406:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],430:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -91800,7 +92931,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./utils.js":567,"webidl-conversions":1051}],407:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],431:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -91990,7 +93121,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./UIEventInit.js":556,"./utils.js":567,"webidl-conversions":1051}],408:[function(require,module,exports){ +},{"./UIEventInit.js":580,"./utils.js":591,"webidl-conversions":1075}],432:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -92244,7 +93375,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/EventTarget-impl.js"); -},{"../events/EventTarget-impl.js":346,"./AddEventListenerOptions.js":370,"./Event.js":402,"./EventListener.js":405,"./EventListenerOptions.js":406,"./utils.js":567,"webidl-conversions":1051}],409:[function(require,module,exports){ +},{"../events/EventTarget-impl.js":370,"./AddEventListenerOptions.js":394,"./Event.js":426,"./EventListener.js":429,"./EventListenerOptions.js":430,"./utils.js":591,"webidl-conversions":1075}],433:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -92375,7 +93506,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../window/External-impl.js"); -},{"../window/External-impl.js":740,"./utils.js":567,"webidl-conversions":1051}],410:[function(require,module,exports){ +},{"../window/External-impl.js":764,"./utils.js":591,"webidl-conversions":1075}],434:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -92553,7 +93684,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../file-api/File-impl.js"); -},{"../file-api/File-impl.js":364,"./Blob.js":375,"./FilePropertyBag.js":412,"./utils.js":567,"webidl-conversions":1051}],411:[function(require,module,exports){ +},{"../file-api/File-impl.js":388,"./Blob.js":399,"./FilePropertyBag.js":436,"./utils.js":591,"webidl-conversions":1075}],435:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -92860,7 +93991,7 @@ const proxyHandler = { const Impl = require("../file-api/FileList-impl.js"); -},{"../file-api/FileList-impl.js":365,"./utils.js":567,"webidl-conversions":1051}],412:[function(require,module,exports){ +},{"../file-api/FileList-impl.js":389,"./utils.js":591,"webidl-conversions":1075}],436:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -92892,7 +94023,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./BlobPropertyBag.js":377,"./utils.js":567,"webidl-conversions":1051}],413:[function(require,module,exports){ +},{"./BlobPropertyBag.js":401,"./utils.js":591,"webidl-conversions":1075}],437:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -93334,7 +94465,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../file-api/FileReader-impl.js"); -},{"../file-api/FileReader-impl.js":366,"./Blob.js":375,"./EventHandlerNonNull.js":403,"./EventTarget.js":408,"./utils.js":567,"webidl-conversions":1051}],414:[function(require,module,exports){ +},{"../file-api/FileReader-impl.js":390,"./Blob.js":399,"./EventHandlerNonNull.js":427,"./EventTarget.js":432,"./utils.js":591,"webidl-conversions":1075}],438:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -93478,7 +94609,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/FocusEvent-impl.js"); -},{"../events/FocusEvent-impl.js":347,"./FocusEventInit.js":415,"./UIEvent.js":555,"./utils.js":567,"webidl-conversions":1051}],415:[function(require,module,exports){ +},{"../events/FocusEvent-impl.js":371,"./FocusEventInit.js":439,"./UIEvent.js":579,"./utils.js":591,"webidl-conversions":1075}],439:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -93516,7 +94647,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventTarget.js":408,"./UIEventInit.js":556,"./utils.js":567,"webidl-conversions":1051}],416:[function(require,module,exports){ +},{"./EventTarget.js":432,"./UIEventInit.js":580,"./utils.js":591,"webidl-conversions":1075}],440:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -93939,7 +95070,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../xhr/FormData-impl.js"); -},{"../xhr/FormData-impl.js":746,"./Blob.js":375,"./Function.js":417,"./HTMLFormElement.js":439,"./utils.js":567,"webidl-conversions":1051}],417:[function(require,module,exports){ +},{"../xhr/FormData-impl.js":770,"./Blob.js":399,"./Function.js":441,"./HTMLFormElement.js":463,"./utils.js":591,"webidl-conversions":1075}],441:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -93987,7 +95118,7 @@ exports.convert = (value, { context = "The provided value" } = {}) => { return invokeTheCallbackFunction; }; -},{"./utils.js":567,"webidl-conversions":1051}],418:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],442:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -94017,7 +95148,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./utils.js":567,"webidl-conversions":1051}],419:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],443:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -94934,7 +96065,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLAnchorElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLAnchorElement-impl.js":633,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],420:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLAnchorElement-impl.js":657,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],444:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -95675,7 +96806,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLAreaElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLAreaElement-impl.js":634,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],421:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLAreaElement-impl.js":658,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],445:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -95792,7 +96923,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLAudioElement-impl.js"); -},{"../helpers/html-constructor.js":579,"../nodes/HTMLAudioElement-impl.js":635,"./HTMLMediaElement.js":455,"./utils.js":567,"webidl-conversions":1051}],422:[function(require,module,exports){ +},{"../helpers/html-constructor.js":603,"../nodes/HTMLAudioElement-impl.js":659,"./HTMLMediaElement.js":479,"./utils.js":591,"webidl-conversions":1075}],446:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -95947,7 +97078,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLBRElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLBRElement-impl.js":636,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],423:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLBRElement-impl.js":660,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],447:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -96137,7 +97268,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLBaseElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLBaseElement-impl.js":637,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],424:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLBaseElement-impl.js":661,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],448:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -96947,7 +98078,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLBodyElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLBodyElement-impl.js":638,"./EventHandlerNonNull.js":403,"./HTMLElement.js":435,"./OnBeforeUnloadEventHandlerNonNull.js":517,"./utils.js":567,"webidl-conversions":1051}],425:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLBodyElement-impl.js":662,"./EventHandlerNonNull.js":427,"./HTMLElement.js":459,"./OnBeforeUnloadEventHandlerNonNull.js":541,"./utils.js":591,"webidl-conversions":1075}],449:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -97436,7 +98567,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLButtonElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLButtonElement-impl.js":639,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],426:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLButtonElement-impl.js":663,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],450:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -97729,7 +98860,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLCanvasElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLCanvasElement-impl.js":640,"./BlobCallback.js":376,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],427:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLCanvasElement-impl.js":664,"./BlobCallback.js":400,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],451:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -98089,7 +99220,7 @@ const proxyHandler = { const Impl = require("../nodes/HTMLCollection-impl.js"); -},{"../nodes/HTMLCollection-impl.js":641,"./utils.js":567,"webidl-conversions":1051}],428:[function(require,module,exports){ +},{"../nodes/HTMLCollection-impl.js":665,"./utils.js":591,"webidl-conversions":1075}],452:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -98247,7 +99378,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLDListElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLDListElement-impl.js":642,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],429:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLDListElement-impl.js":666,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],453:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -98402,7 +99533,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLDataElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLDataElement-impl.js":643,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],430:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLDataElement-impl.js":667,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],454:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -98532,7 +99663,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLDataListElement-impl.js"); -},{"../helpers/html-constructor.js":579,"../nodes/HTMLDataListElement-impl.js":644,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],431:[function(require,module,exports){ +},{"../helpers/html-constructor.js":603,"../nodes/HTMLDataListElement-impl.js":668,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],455:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -98690,7 +99821,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLDetailsElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLDetailsElement-impl.js":645,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],432:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLDetailsElement-impl.js":669,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],456:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -98848,7 +99979,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLDialogElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLDialogElement-impl.js":646,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],433:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLDialogElement-impl.js":670,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],457:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -99006,7 +100137,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLDirectoryElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLDirectoryElement-impl.js":647,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],434:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLDirectoryElement-impl.js":671,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],458:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -99161,7 +100292,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLDivElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLDivElement-impl.js":648,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],435:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLDivElement-impl.js":672,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],459:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -101432,7 +102563,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLElement-impl.js":649,"./Element.js":396,"./EventHandlerNonNull.js":403,"./OnErrorEventHandlerNonNull.js":518,"./utils.js":567,"webidl-conversions":1051}],436:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLElement-impl.js":673,"./Element.js":420,"./EventHandlerNonNull.js":427,"./OnErrorEventHandlerNonNull.js":542,"./utils.js":591,"webidl-conversions":1075}],460:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -101780,7 +102911,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLEmbedElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLEmbedElement-impl.js":650,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],437:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLEmbedElement-impl.js":674,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],461:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -102097,7 +103228,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLFieldSetElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLFieldSetElement-impl.js":651,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],438:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLFieldSetElement-impl.js":675,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],462:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -102325,7 +103456,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLFontElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLFontElement-impl.js":652,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],439:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLFontElement-impl.js":676,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],463:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -102784,7 +103915,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLFormElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLFormElement-impl.js":653,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],440:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLFormElement-impl.js":677,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],464:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -103245,7 +104376,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLFrameElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLFrameElement-impl.js":654,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],441:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLFrameElement-impl.js":678,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],465:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -103930,7 +105061,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLFrameSetElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLFrameSetElement-impl.js":655,"./EventHandlerNonNull.js":403,"./HTMLElement.js":435,"./OnBeforeUnloadEventHandlerNonNull.js":517,"./utils.js":567,"webidl-conversions":1051}],442:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLFrameSetElement-impl.js":679,"./EventHandlerNonNull.js":427,"./HTMLElement.js":459,"./OnBeforeUnloadEventHandlerNonNull.js":541,"./utils.js":591,"webidl-conversions":1075}],466:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -104232,7 +105363,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLHRElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLHRElement-impl.js":656,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],443:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLHRElement-impl.js":680,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],467:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -104349,7 +105480,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLHeadElement-impl.js"); -},{"../helpers/html-constructor.js":579,"../nodes/HTMLHeadElement-impl.js":657,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],444:[function(require,module,exports){ +},{"../helpers/html-constructor.js":603,"../nodes/HTMLHeadElement-impl.js":681,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],468:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -104504,7 +105635,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLHeadingElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLHeadingElement-impl.js":658,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],445:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLHeadingElement-impl.js":682,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],469:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -104659,7 +105790,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLHtmlElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLHtmlElement-impl.js":659,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],446:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLHtmlElement-impl.js":683,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],470:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -105282,7 +106413,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLIFrameElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLIFrameElement-impl.js":661,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],447:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLIFrameElement-impl.js":685,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],471:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -106073,7 +107204,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLImageElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../helpers/strings.js":592,"../nodes/HTMLImageElement-impl.js":662,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],448:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../helpers/strings.js":616,"../nodes/HTMLImageElement-impl.js":686,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],472:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -107771,7 +108902,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLInputElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLInputElement-impl.js":663,"./FileList.js":411,"./HTMLElement.js":435,"./SelectionMode.js":539,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],449:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLInputElement-impl.js":687,"./FileList.js":435,"./HTMLElement.js":459,"./SelectionMode.js":563,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],473:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -107967,7 +109098,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLLIElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../helpers/strings.js":592,"../nodes/HTMLLIElement-impl.js":664,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],450:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../helpers/strings.js":616,"../nodes/HTMLLIElement-impl.js":688,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],474:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -108144,7 +109275,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLLabelElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLLabelElement-impl.js":665,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],451:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLLabelElement-impl.js":689,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],475:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -108310,7 +109441,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLLegendElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLLegendElement-impl.js":666,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],452:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLLegendElement-impl.js":690,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],476:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -108808,7 +109939,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLLinkElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLLinkElement-impl.js":667,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],453:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLLinkElement-impl.js":691,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],477:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -108976,7 +110107,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLMapElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLMapElement-impl.js":668,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],454:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLMapElement-impl.js":692,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],478:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -109487,7 +110618,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLMarqueeElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../helpers/strings.js":592,"../nodes/HTMLMarqueeElement-impl.js":669,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],455:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../helpers/strings.js":616,"../nodes/HTMLMarqueeElement-impl.js":693,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],479:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -110291,7 +111422,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLMediaElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../nodes/HTMLMediaElement-impl.js":670,"./HTMLElement.js":435,"./TextTrackKind.js":551,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],456:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../nodes/HTMLMediaElement-impl.js":694,"./HTMLElement.js":459,"./TextTrackKind.js":575,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],480:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -110449,7 +111580,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLMenuElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLMenuElement-impl.js":671,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],457:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLMenuElement-impl.js":695,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],481:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -110712,7 +111843,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLMetaElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLMetaElement-impl.js":672,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],458:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLMetaElement-impl.js":696,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],482:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -111052,7 +112183,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLMeterElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLMeterElement-impl.js":673,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],459:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLMeterElement-impl.js":697,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],483:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -111256,7 +112387,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLModElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLModElement-impl.js":674,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],460:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLModElement-impl.js":698,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],484:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -111524,7 +112655,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLOListElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLOListElement-impl.js":675,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],461:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLOListElement-impl.js":699,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],485:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -112365,7 +113496,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLObjectElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../helpers/strings.js":592,"../nodes/HTMLObjectElement-impl.js":676,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],462:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../helpers/strings.js":616,"../nodes/HTMLObjectElement-impl.js":700,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],486:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -112559,7 +113690,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLOptGroupElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLOptGroupElement-impl.js":677,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],463:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLOptGroupElement-impl.js":701,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],487:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -112912,7 +114043,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLOptionElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLOptionElement-impl.js":678,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],464:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLOptionElement-impl.js":702,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],488:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -113447,7 +114578,7 @@ class ProxyHandler { const Impl = require("../nodes/HTMLOptionsCollection-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/HTMLOptionsCollection-impl.js":679,"./HTMLCollection.js":427,"./HTMLElement.js":435,"./HTMLOptGroupElement.js":462,"./HTMLOptionElement.js":463,"./utils.js":567,"webidl-conversions":1051}],465:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/HTMLOptionsCollection-impl.js":703,"./HTMLCollection.js":451,"./HTMLElement.js":459,"./HTMLOptGroupElement.js":486,"./HTMLOptionElement.js":487,"./utils.js":591,"webidl-conversions":1075}],489:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -113820,7 +114951,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLOutputElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLOutputElement-impl.js":681,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],466:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLOutputElement-impl.js":705,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],490:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -113975,7 +115106,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLParagraphElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLParagraphElement-impl.js":682,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],467:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLParagraphElement-impl.js":706,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],491:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -114238,7 +115369,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLParamElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLParamElement-impl.js":683,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],468:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLParamElement-impl.js":707,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],492:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -114355,7 +115486,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLPictureElement-impl.js"); -},{"../helpers/html-constructor.js":579,"../nodes/HTMLPictureElement-impl.js":684,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],469:[function(require,module,exports){ +},{"../helpers/html-constructor.js":603,"../nodes/HTMLPictureElement-impl.js":708,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],493:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -114515,7 +115646,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLPreElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../helpers/strings.js":592,"../nodes/HTMLPreElement-impl.js":685,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],470:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../helpers/strings.js":616,"../nodes/HTMLPreElement-impl.js":709,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],494:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -114726,7 +115857,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLProgressElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLProgressElement-impl.js":686,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],471:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLProgressElement-impl.js":710,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],495:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -114894,7 +116025,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLQuoteElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLQuoteElement-impl.js":687,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],472:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLQuoteElement-impl.js":711,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],496:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -115320,7 +116451,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLScriptElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLScriptElement-impl.js":688,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],473:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLScriptElement-impl.js":712,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],497:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -116279,7 +117410,7 @@ class ProxyHandler { const Impl = require("../nodes/HTMLSelectElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../helpers/strings.js":592,"../nodes/HTMLSelectElement-impl.js":689,"./HTMLElement.js":435,"./HTMLOptGroupElement.js":462,"./HTMLOptionElement.js":463,"./utils.js":567,"webidl-conversions":1051}],474:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../helpers/strings.js":616,"../nodes/HTMLSelectElement-impl.js":713,"./HTMLElement.js":459,"./HTMLOptGroupElement.js":486,"./HTMLOptionElement.js":487,"./utils.js":591,"webidl-conversions":1075}],498:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -116469,7 +117600,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLSlotElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLSlotElement-impl.js":690,"./AssignedNodesOptions.js":371,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],475:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLSlotElement-impl.js":714,"./AssignedNodesOptions.js":395,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],499:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -116781,7 +117912,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLSourceElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLSourceElement-impl.js":691,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],476:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLSourceElement-impl.js":715,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],500:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -116898,7 +118029,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLSpanElement-impl.js"); -},{"../helpers/html-constructor.js":579,"../nodes/HTMLSpanElement-impl.js":692,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],477:[function(require,module,exports){ +},{"../helpers/html-constructor.js":603,"../nodes/HTMLSpanElement-impl.js":716,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],501:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -117100,7 +118231,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLStyleElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLStyleElement-impl.js":693,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],478:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLStyleElement-impl.js":717,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],502:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -117255,7 +118386,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTableCaptionElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLTableCaptionElement-impl.js":694,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],479:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLTableCaptionElement-impl.js":718,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],503:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -117892,7 +119023,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTableCellElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLTableCellElement-impl.js":695,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],480:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLTableCellElement-impl.js":719,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],504:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -118233,7 +119364,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTableColElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../helpers/strings.js":592,"../nodes/HTMLTableColElement-impl.js":696,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],481:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../helpers/strings.js":616,"../nodes/HTMLTableColElement-impl.js":720,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],505:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -118960,7 +120091,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTableElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLTableElement-impl.js":697,"./HTMLElement.js":435,"./HTMLTableCaptionElement.js":478,"./HTMLTableSectionElement.js":483,"./utils.js":567,"webidl-conversions":1051}],482:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLTableElement-impl.js":721,"./HTMLElement.js":459,"./HTMLTableCaptionElement.js":502,"./HTMLTableSectionElement.js":507,"./utils.js":591,"webidl-conversions":1075}],506:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -119348,7 +120479,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTableRowElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLTableRowElement-impl.js":698,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],483:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLTableRowElement-impl.js":722,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],507:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -119679,7 +120810,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTableSectionElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLTableSectionElement-impl.js":699,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],484:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLTableSectionElement-impl.js":723,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],508:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -119807,7 +120938,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTemplateElement-impl.js"); -},{"../helpers/html-constructor.js":579,"../nodes/HTMLTemplateElement-impl.js":700,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],485:[function(require,module,exports){ +},{"../helpers/html-constructor.js":603,"../nodes/HTMLTemplateElement-impl.js":724,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],509:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -120897,7 +122028,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTextAreaElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../helpers/strings.js":592,"../nodes/HTMLTextAreaElement-impl.js":701,"./HTMLElement.js":435,"./SelectionMode.js":539,"./utils.js":567,"webidl-conversions":1051}],486:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../helpers/strings.js":616,"../nodes/HTMLTextAreaElement-impl.js":725,"./HTMLElement.js":459,"./SelectionMode.js":563,"./utils.js":591,"webidl-conversions":1075}],510:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -121052,7 +122183,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTimeElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLTimeElement-impl.js":702,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],487:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLTimeElement-impl.js":726,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],511:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -121206,7 +122337,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTitleElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLTitleElement-impl.js":703,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],488:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLTitleElement-impl.js":727,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],512:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -121542,7 +122673,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLTrackElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../nodes/HTMLTrackElement-impl.js":704,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],489:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../nodes/HTMLTrackElement-impl.js":728,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],513:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -121736,7 +122867,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLUListElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/html-constructor.js":579,"../nodes/HTMLUListElement-impl.js":705,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],490:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/html-constructor.js":603,"../nodes/HTMLUListElement-impl.js":729,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],514:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -121852,7 +122983,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLUnknownElement-impl.js"); -},{"../nodes/HTMLUnknownElement-impl.js":706,"./HTMLElement.js":435,"./utils.js":567,"webidl-conversions":1051}],491:[function(require,module,exports){ +},{"../nodes/HTMLUnknownElement-impl.js":730,"./HTMLElement.js":459,"./utils.js":591,"webidl-conversions":1075}],515:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -122164,7 +123295,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/HTMLVideoElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../helpers/document-base-url.js":575,"../helpers/html-constructor.js":579,"../helpers/strings.js":592,"../nodes/HTMLVideoElement-impl.js":707,"./HTMLMediaElement.js":455,"./utils.js":567,"webidl-conversions":1051,"whatwg-url":1089}],492:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../helpers/document-base-url.js":599,"../helpers/html-constructor.js":603,"../helpers/strings.js":616,"../nodes/HTMLVideoElement-impl.js":731,"./HTMLMediaElement.js":479,"./utils.js":591,"webidl-conversions":1075,"whatwg-url":1113}],516:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -122319,7 +123450,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/HashChangeEvent-impl.js"); -},{"../events/HashChangeEvent-impl.js":348,"./Event.js":402,"./HashChangeEventInit.js":493,"./utils.js":567,"webidl-conversions":1051}],493:[function(require,module,exports){ +},{"../events/HashChangeEvent-impl.js":372,"./Event.js":426,"./HashChangeEventInit.js":517,"./utils.js":591,"webidl-conversions":1075}],517:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -122365,7 +123496,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],494:[function(require,module,exports){ +},{"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],518:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -122746,7 +123877,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../fetch/Headers-impl.js"); -},{"../fetch/Headers-impl.js":360,"./Function.js":417,"./utils.js":567,"webidl-conversions":1051}],495:[function(require,module,exports){ +},{"../fetch/Headers-impl.js":384,"./Function.js":441,"./utils.js":591,"webidl-conversions":1075}],519:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -123004,7 +124135,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../window/History-impl.js"); -},{"../window/History-impl.js":741,"./utils.js":567,"webidl-conversions":1051}],496:[function(require,module,exports){ +},{"../window/History-impl.js":765,"./utils.js":591,"webidl-conversions":1075}],520:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -123170,7 +124301,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/InputEvent-impl.js"); -},{"../events/InputEvent-impl.js":349,"./InputEventInit.js":497,"./UIEvent.js":555,"./utils.js":567,"webidl-conversions":1051}],497:[function(require,module,exports){ +},{"../events/InputEvent-impl.js":373,"./InputEventInit.js":521,"./UIEvent.js":579,"./utils.js":591,"webidl-conversions":1075}],521:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -123231,7 +124362,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./UIEventInit.js":556,"./utils.js":567,"webidl-conversions":1051}],498:[function(require,module,exports){ +},{"./UIEventInit.js":580,"./utils.js":591,"webidl-conversions":1075}],522:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -123646,7 +124777,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/KeyboardEvent-impl.js"); -},{"../events/KeyboardEvent-impl.js":350,"./KeyboardEventInit.js":499,"./UIEvent.js":555,"./utils.js":567,"webidl-conversions":1051}],499:[function(require,module,exports){ +},{"../events/KeyboardEvent-impl.js":374,"./KeyboardEventInit.js":523,"./UIEvent.js":579,"./utils.js":591,"webidl-conversions":1075}],523:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -123752,7 +124883,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventModifierInit.js":407,"./utils.js":567,"webidl-conversions":1051}],500:[function(require,module,exports){ +},{"./EventModifierInit.js":431,"./utils.js":591,"webidl-conversions":1075}],524:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -124124,7 +125255,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../window/Location-impl.js"); -},{"../window/Location-impl.js":742,"./utils.js":567,"webidl-conversions":1051}],501:[function(require,module,exports){ +},{"../window/Location-impl.js":766,"./utils.js":591,"webidl-conversions":1075}],525:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -124427,7 +125558,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/MessageEvent-impl.js"); -},{"../events/MessageEvent-impl.js":351,"./Event.js":402,"./MessageEventInit.js":502,"./utils.js":567,"webidl-conversions":1051}],502:[function(require,module,exports){ +},{"../events/MessageEvent-impl.js":375,"./Event.js":426,"./MessageEventInit.js":526,"./utils.js":591,"webidl-conversions":1075}],526:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -124523,7 +125654,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],503:[function(require,module,exports){ +},{"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],527:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -124676,7 +125807,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../navigator/MimeType-impl.js"); -},{"../navigator/MimeType-impl.js":605,"./utils.js":567,"webidl-conversions":1051}],504:[function(require,module,exports){ +},{"../navigator/MimeType-impl.js":629,"./utils.js":591,"webidl-conversions":1075}],528:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -125008,7 +126139,7 @@ const proxyHandler = { const Impl = require("../navigator/MimeTypeArray-impl.js"); -},{"../navigator/MimeTypeArray-impl.js":606,"./utils.js":567,"webidl-conversions":1051}],505:[function(require,module,exports){ +},{"../navigator/MimeTypeArray-impl.js":630,"./utils.js":591,"webidl-conversions":1075}],529:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -125473,7 +126604,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/MouseEvent-impl.js"); -},{"../events/MouseEvent-impl.js":352,"./EventTarget.js":408,"./MouseEventInit.js":506,"./UIEvent.js":555,"./utils.js":567,"webidl-conversions":1051}],506:[function(require,module,exports){ +},{"../events/MouseEvent-impl.js":376,"./EventTarget.js":432,"./MouseEventInit.js":530,"./UIEvent.js":579,"./utils.js":591,"webidl-conversions":1075}],530:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -125583,7 +126714,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventModifierInit.js":407,"./EventTarget.js":408,"./utils.js":567,"webidl-conversions":1051}],507:[function(require,module,exports){ +},{"./EventModifierInit.js":431,"./EventTarget.js":432,"./utils.js":591,"webidl-conversions":1075}],531:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -125623,7 +126754,7 @@ exports.convert = (value, { context = "The provided value" } = {}) => { return invokeTheCallbackFunction; }; -},{"./utils.js":567,"webidl-conversions":1051}],508:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],532:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -125796,7 +126927,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../mutation-observer/MutationObserver-impl.js"); -},{"../mutation-observer/MutationObserver-impl.js":602,"./MutationCallback.js":507,"./MutationObserverInit.js":509,"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],509:[function(require,module,exports){ +},{"../mutation-observer/MutationObserver-impl.js":626,"./MutationCallback.js":531,"./MutationObserverInit.js":533,"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],533:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -125901,7 +127032,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./utils.js":567,"webidl-conversions":1051}],510:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],534:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -126119,7 +127250,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../mutation-observer/MutationRecord-impl.js"); -},{"../mutation-observer/MutationRecord-impl.js":603,"./utils.js":567,"webidl-conversions":1051}],511:[function(require,module,exports){ +},{"../mutation-observer/MutationRecord-impl.js":627,"./utils.js":591,"webidl-conversions":1075}],535:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -126643,7 +127774,7 @@ const proxyHandler = { const Impl = require("../attributes/NamedNodeMap-impl.js"); -},{"../attributes/NamedNodeMap-impl.js":329,"../helpers/custom-elements.js":572,"./Attr.js":372,"./utils.js":567,"webidl-conversions":1051}],512:[function(require,module,exports){ +},{"../attributes/NamedNodeMap-impl.js":353,"../helpers/custom-elements.js":596,"./Attr.js":396,"./utils.js":591,"webidl-conversions":1075}],536:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -126942,7 +128073,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../navigator/Navigator-impl.js"); -},{"../navigator/Navigator-impl.js":607,"./utils.js":567,"webidl-conversions":1051}],513:[function(require,module,exports){ +},{"../navigator/Navigator-impl.js":631,"./utils.js":591,"webidl-conversions":1075}],537:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -127680,7 +128811,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/Node-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/Node-impl.js":708,"./EventTarget.js":408,"./GetRootNodeOptions.js":418,"./utils.js":567,"webidl-conversions":1051}],514:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/Node-impl.js":732,"./EventTarget.js":432,"./GetRootNodeOptions.js":442,"./utils.js":591,"webidl-conversions":1075}],538:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -127756,7 +128887,7 @@ exports.install = (globalObject, globalNames) => { }); }; -},{"./utils.js":567,"webidl-conversions":1051}],515:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],539:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -127954,7 +129085,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../traversal/NodeIterator-impl.js"); -},{"../traversal/NodeIterator-impl.js":734,"./utils.js":567,"webidl-conversions":1051}],516:[function(require,module,exports){ +},{"../traversal/NodeIterator-impl.js":758,"./utils.js":591,"webidl-conversions":1075}],540:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -128265,7 +129396,7 @@ const proxyHandler = { const Impl = require("../nodes/NodeList-impl.js"); -},{"../nodes/NodeList-impl.js":709,"./utils.js":567,"webidl-conversions":1051}],517:[function(require,module,exports){ +},{"../nodes/NodeList-impl.js":733,"./utils.js":591,"webidl-conversions":1075}],541:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -128313,7 +129444,7 @@ exports.convert = (value, { context = "The provided value" } = {}) => { return invokeTheCallbackFunction; }; -},{"./utils.js":567,"webidl-conversions":1051}],518:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],542:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -128375,7 +129506,7 @@ exports.convert = (value, { context = "The provided value" } = {}) => { return invokeTheCallbackFunction; }; -},{"./utils.js":567,"webidl-conversions":1051}],519:[function(require,module,exports){ +},{"./utils.js":591,"webidl-conversions":1075}],543:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -128523,7 +129654,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/PageTransitionEvent-impl.js"); -},{"../events/PageTransitionEvent-impl.js":353,"./Event.js":402,"./PageTransitionEventInit.js":520,"./utils.js":567,"webidl-conversions":1051}],520:[function(require,module,exports){ +},{"../events/PageTransitionEvent-impl.js":377,"./Event.js":426,"./PageTransitionEventInit.js":544,"./utils.js":591,"webidl-conversions":1075}],544:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -128557,7 +129688,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],521:[function(require,module,exports){ +},{"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],545:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -128704,7 +129835,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../hr-time/Performance-impl.js"); -},{"../hr-time/Performance-impl.js":600,"./EventTarget.js":408,"./utils.js":567,"webidl-conversions":1051}],522:[function(require,module,exports){ +},{"../hr-time/Performance-impl.js":624,"./EventTarget.js":432,"./utils.js":591,"webidl-conversions":1075}],546:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -129067,7 +130198,7 @@ const proxyHandler = { const Impl = require("../navigator/Plugin-impl.js"); -},{"../navigator/Plugin-impl.js":614,"./utils.js":567,"webidl-conversions":1051}],523:[function(require,module,exports){ +},{"../navigator/Plugin-impl.js":638,"./utils.js":591,"webidl-conversions":1075}],547:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -129409,7 +130540,7 @@ const proxyHandler = { const Impl = require("../navigator/PluginArray-impl.js"); -},{"../navigator/PluginArray-impl.js":615,"./utils.js":567,"webidl-conversions":1051}],524:[function(require,module,exports){ +},{"../navigator/PluginArray-impl.js":639,"./utils.js":591,"webidl-conversions":1075}],548:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -129553,7 +130684,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/PopStateEvent-impl.js"); -},{"../events/PopStateEvent-impl.js":354,"./Event.js":402,"./PopStateEventInit.js":525,"./utils.js":567,"webidl-conversions":1051}],525:[function(require,module,exports){ +},{"../events/PopStateEvent-impl.js":378,"./Event.js":426,"./PopStateEventInit.js":549,"./utils.js":591,"webidl-conversions":1075}],549:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -129587,7 +130718,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],526:[function(require,module,exports){ +},{"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],550:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -129714,7 +130845,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/ProcessingInstruction-impl.js"); -},{"../nodes/ProcessingInstruction-impl.js":713,"./CharacterData.js":379,"./utils.js":567,"webidl-conversions":1051}],527:[function(require,module,exports){ +},{"../nodes/ProcessingInstruction-impl.js":737,"./CharacterData.js":403,"./utils.js":591,"webidl-conversions":1075}],551:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -129882,7 +131013,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/ProgressEvent-impl.js"); -},{"../events/ProgressEvent-impl.js":355,"./Event.js":402,"./ProgressEventInit.js":528,"./utils.js":567,"webidl-conversions":1051}],528:[function(require,module,exports){ +},{"../events/ProgressEvent-impl.js":379,"./Event.js":426,"./ProgressEventInit.js":552,"./utils.js":591,"webidl-conversions":1075}],552:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -129940,7 +131071,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],529:[function(require,module,exports){ +},{"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],553:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -130561,7 +131692,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../range/Range-impl.js"); -},{"../helpers/custom-elements.js":572,"../range/Range-impl.js":726,"./AbstractRange.js":369,"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],530:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../range/Range-impl.js":750,"./AbstractRange.js":393,"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],554:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -130706,7 +131837,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../svg/SVGAnimatedString-impl.js"); -},{"../svg/SVGAnimatedString-impl.js":730,"./utils.js":567,"webidl-conversions":1051}],531:[function(require,module,exports){ +},{"../svg/SVGAnimatedString-impl.js":754,"./utils.js":591,"webidl-conversions":1075}],555:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -132694,7 +133825,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/SVGElement-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/SVGElement-impl.js":714,"./Element.js":396,"./EventHandlerNonNull.js":403,"./OnErrorEventHandlerNonNull.js":518,"./utils.js":567,"webidl-conversions":1051}],532:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/SVGElement-impl.js":738,"./Element.js":420,"./EventHandlerNonNull.js":427,"./OnErrorEventHandlerNonNull.js":542,"./utils.js":591,"webidl-conversions":1075}],556:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -132840,7 +133971,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/SVGGraphicsElement-impl.js"); -},{"../nodes/SVGGraphicsElement-impl.js":715,"./SVGElement.js":531,"./utils.js":567,"webidl-conversions":1051}],533:[function(require,module,exports){ +},{"../nodes/SVGGraphicsElement-impl.js":739,"./SVGElement.js":555,"./utils.js":591,"webidl-conversions":1075}],557:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -132972,7 +134103,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../svg/SVGNumber-impl.js"); -},{"../svg/SVGNumber-impl.js":732,"./utils.js":567,"webidl-conversions":1051}],534:[function(require,module,exports){ +},{"../svg/SVGNumber-impl.js":756,"./utils.js":591,"webidl-conversions":1075}],558:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -133655,7 +134786,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/SVGSVGElement-impl.js"); -},{"../nodes/SVGSVGElement-impl.js":716,"./EventHandlerNonNull.js":403,"./OnBeforeUnloadEventHandlerNonNull.js":517,"./SVGGraphicsElement.js":532,"./utils.js":567,"webidl-conversions":1051}],535:[function(require,module,exports){ +},{"../nodes/SVGSVGElement-impl.js":740,"./EventHandlerNonNull.js":427,"./OnBeforeUnloadEventHandlerNonNull.js":541,"./SVGGraphicsElement.js":556,"./utils.js":591,"webidl-conversions":1075}],559:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -134161,7 +135292,7 @@ const proxyHandler = { const Impl = require("../svg/SVGStringList-impl.js"); -},{"../svg/SVGStringList-impl.js":733,"./utils.js":567,"webidl-conversions":1051}],536:[function(require,module,exports){ +},{"../svg/SVGStringList-impl.js":757,"./utils.js":591,"webidl-conversions":1075}],560:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -134277,7 +135408,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/SVGTitleElement-impl.js"); -},{"../nodes/SVGTitleElement-impl.js":718,"./SVGElement.js":531,"./utils.js":567,"webidl-conversions":1051}],537:[function(require,module,exports){ +},{"../nodes/SVGTitleElement-impl.js":742,"./SVGElement.js":555,"./utils.js":591,"webidl-conversions":1075}],561:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -134452,7 +135583,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../window/Screen-impl.js"); -},{"../window/Screen-impl.js":743,"./utils.js":567,"webidl-conversions":1051}],538:[function(require,module,exports){ +},{"../window/Screen-impl.js":767,"./utils.js":591,"webidl-conversions":1075}],562:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -134981,7 +136112,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../selection/Selection-impl.js"); -},{"../helpers/custom-elements.js":572,"../selection/Selection-impl.js":729,"./Node.js":513,"./Range.js":529,"./utils.js":567,"webidl-conversions":1051}],539:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../selection/Selection-impl.js":753,"./Node.js":537,"./Range.js":553,"./utils.js":591,"webidl-conversions":1075}],563:[function(require,module,exports){ "use strict"; const enumerationValues = new Set(["select", "start", "end", "preserve"]); @@ -134995,7 +136126,7 @@ exports.convert = function convert(value, { context = "The provided value" } = { return string; }; -},{}],540:[function(require,module,exports){ +},{}],564:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -135182,7 +136313,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/ShadowRoot-impl.js"); -},{"../helpers/custom-elements.js":572,"../nodes/ShadowRoot-impl.js":719,"./DocumentFragment.js":394,"./utils.js":567,"webidl-conversions":1051}],541:[function(require,module,exports){ +},{"../helpers/custom-elements.js":596,"../nodes/ShadowRoot-impl.js":743,"./DocumentFragment.js":418,"./utils.js":591,"webidl-conversions":1075}],565:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -135214,7 +136345,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./ShadowRootMode.js":542,"./utils.js":567,"webidl-conversions":1051}],542:[function(require,module,exports){ +},{"./ShadowRootMode.js":566,"./utils.js":591,"webidl-conversions":1075}],566:[function(require,module,exports){ "use strict"; const enumerationValues = new Set(["open", "closed"]); @@ -135228,7 +136359,7 @@ exports.convert = function convert(value, { context = "The provided value" } = { return string; }; -},{}],543:[function(require,module,exports){ +},{}],567:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -135356,7 +136487,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../range/StaticRange-impl.js"); -},{"../range/StaticRange-impl.js":727,"./AbstractRange.js":369,"./StaticRangeInit.js":544,"./utils.js":567,"webidl-conversions":1051}],544:[function(require,module,exports){ +},{"../range/StaticRange-impl.js":751,"./AbstractRange.js":393,"./StaticRangeInit.js":568,"./utils.js":591,"webidl-conversions":1075}],568:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -135424,7 +136555,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],545:[function(require,module,exports){ +},{"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],569:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -135815,7 +136946,7 @@ const proxyHandler = { const Impl = require("../webstorage/Storage-impl.js"); -},{"../webstorage/Storage-impl.js":738,"./utils.js":567,"webidl-conversions":1051}],546:[function(require,module,exports){ +},{"../webstorage/Storage-impl.js":762,"./utils.js":591,"webidl-conversions":1075}],570:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -136122,7 +137253,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/StorageEvent-impl.js"); -},{"../events/StorageEvent-impl.js":356,"./Event.js":402,"./Storage.js":545,"./StorageEventInit.js":547,"./utils.js":567,"webidl-conversions":1051}],547:[function(require,module,exports){ +},{"../events/StorageEvent-impl.js":380,"./Event.js":426,"./Storage.js":569,"./StorageEventInit.js":571,"./utils.js":591,"webidl-conversions":1075}],571:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -136217,7 +137348,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./Storage.js":545,"./utils.js":567,"webidl-conversions":1051}],548:[function(require,module,exports){ +},{"./EventInit.js":428,"./Storage.js":569,"./utils.js":591,"webidl-conversions":1075}],572:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -136526,7 +137657,7 @@ const proxyHandler = { const Impl = require("../cssom/StyleSheetList-impl.js"); -},{"../cssom/StyleSheetList-impl.js":332,"./utils.js":567,"webidl-conversions":1051}],549:[function(require,module,exports){ +},{"../cssom/StyleSheetList-impl.js":356,"./utils.js":591,"webidl-conversions":1075}],573:[function(require,module,exports){ "use strict"; const enumerationValues = new Set([ @@ -136546,7 +137677,7 @@ exports.convert = function convert(value, { context = "The provided value" } = { return string; }; -},{}],550:[function(require,module,exports){ +},{}],574:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -136717,7 +137848,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/Text-impl.js"); -},{"../nodes/Text-impl.js":721,"./CharacterData.js":379,"./utils.js":567,"webidl-conversions":1051}],551:[function(require,module,exports){ +},{"../nodes/Text-impl.js":745,"./CharacterData.js":403,"./utils.js":591,"webidl-conversions":1075}],575:[function(require,module,exports){ "use strict"; const enumerationValues = new Set(["subtitles", "captions", "descriptions", "chapters", "metadata"]); @@ -136731,7 +137862,7 @@ exports.convert = function convert(value, { context = "The provided value" } = { return string; }; -},{}],552:[function(require,module,exports){ +},{}],576:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -136941,7 +138072,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/TouchEvent-impl.js"); -},{"../events/TouchEvent-impl.js":357,"./TouchEventInit.js":553,"./UIEvent.js":555,"./utils.js":567,"webidl-conversions":1051}],553:[function(require,module,exports){ +},{"../events/TouchEvent-impl.js":381,"./TouchEventInit.js":577,"./UIEvent.js":579,"./utils.js":591,"webidl-conversions":1075}],577:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -137032,7 +138163,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventModifierInit.js":407,"./utils.js":567,"webidl-conversions":1051}],554:[function(require,module,exports){ +},{"./EventModifierInit.js":431,"./utils.js":591,"webidl-conversions":1075}],578:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -137270,7 +138401,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../traversal/TreeWalker-impl.js"); -},{"../traversal/TreeWalker-impl.js":735,"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],555:[function(require,module,exports){ +},{"../traversal/TreeWalker-impl.js":759,"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],579:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -137507,7 +138638,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/UIEvent-impl.js"); -},{"../events/UIEvent-impl.js":358,"./Event.js":402,"./UIEventInit.js":556,"./utils.js":567,"webidl-conversions":1051}],556:[function(require,module,exports){ +},{"../events/UIEvent-impl.js":382,"./Event.js":426,"./UIEventInit.js":580,"./utils.js":591,"webidl-conversions":1075}],580:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -137568,7 +138699,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./EventInit.js":404,"./utils.js":567,"webidl-conversions":1051}],557:[function(require,module,exports){ +},{"./EventInit.js":428,"./utils.js":591,"webidl-conversions":1075}],581:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -137798,7 +138929,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../constraint-validation/ValidityState-impl.js"); -},{"../constraint-validation/ValidityState-impl.js":331,"./utils.js":567,"webidl-conversions":1051}],558:[function(require,module,exports){ +},{"../constraint-validation/ValidityState-impl.js":355,"./utils.js":591,"webidl-conversions":1075}],582:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -138244,7 +139375,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../websockets/WebSocket-impl.js"); -},{"../websockets/WebSocket-impl.js":737,"./BinaryType.js":374,"./Blob.js":375,"./EventHandlerNonNull.js":403,"./EventTarget.js":408,"./utils.js":567,"webidl-conversions":1051}],559:[function(require,module,exports){ +},{"../websockets/WebSocket-impl.js":761,"./BinaryType.js":398,"./Blob.js":399,"./EventHandlerNonNull.js":427,"./EventTarget.js":432,"./utils.js":591,"webidl-conversions":1075}],583:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -138429,7 +139560,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../events/WheelEvent-impl.js"); -},{"../events/WheelEvent-impl.js":359,"./MouseEvent.js":505,"./WheelEventInit.js":560,"./utils.js":567,"webidl-conversions":1051}],560:[function(require,module,exports){ +},{"../events/WheelEvent-impl.js":383,"./MouseEvent.js":529,"./WheelEventInit.js":584,"./utils.js":591,"webidl-conversions":1075}],584:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -138499,7 +139630,7 @@ exports.convert = function convert(obj, { context = "The provided value" } = {}) return ret; }; -},{"./MouseEventInit.js":506,"./utils.js":567,"webidl-conversions":1051}],561:[function(require,module,exports){ +},{"./MouseEventInit.js":530,"./utils.js":591,"webidl-conversions":1075}],585:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -138615,7 +139746,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../nodes/XMLDocument-impl.js"); -},{"../nodes/XMLDocument-impl.js":723,"./Document.js":393,"./utils.js":567,"webidl-conversions":1051}],562:[function(require,module,exports){ +},{"../nodes/XMLDocument-impl.js":747,"./Document.js":417,"./utils.js":591,"webidl-conversions":1075}],586:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -139234,7 +140365,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../xhr/XMLHttpRequest-impl.js"); -},{"../xhr/XMLHttpRequest-impl.js":747,"./Blob.js":375,"./Document.js":393,"./EventHandlerNonNull.js":403,"./FormData.js":416,"./XMLHttpRequestEventTarget.js":563,"./XMLHttpRequestResponseType.js":564,"./utils.js":567,"webidl-conversions":1051}],563:[function(require,module,exports){ +},{"../xhr/XMLHttpRequest-impl.js":771,"./Blob.js":399,"./Document.js":417,"./EventHandlerNonNull.js":427,"./FormData.js":440,"./XMLHttpRequestEventTarget.js":587,"./XMLHttpRequestResponseType.js":588,"./utils.js":591,"webidl-conversions":1075}],587:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -139577,7 +140708,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../xhr/XMLHttpRequestEventTarget-impl.js"); -},{"../xhr/XMLHttpRequestEventTarget-impl.js":748,"./EventHandlerNonNull.js":403,"./EventTarget.js":408,"./utils.js":567,"webidl-conversions":1051}],564:[function(require,module,exports){ +},{"../xhr/XMLHttpRequestEventTarget-impl.js":772,"./EventHandlerNonNull.js":427,"./EventTarget.js":432,"./utils.js":591,"webidl-conversions":1075}],588:[function(require,module,exports){ "use strict"; const enumerationValues = new Set(["", "arraybuffer", "blob", "document", "json", "text"]); @@ -139591,7 +140722,7 @@ exports.convert = function convert(value, { context = "The provided value" } = { return string; }; -},{}],565:[function(require,module,exports){ +},{}],589:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -139707,7 +140838,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../xhr/XMLHttpRequestUpload-impl.js"); -},{"../xhr/XMLHttpRequestUpload-impl.js":749,"./XMLHttpRequestEventTarget.js":563,"./utils.js":567,"webidl-conversions":1051}],566:[function(require,module,exports){ +},{"../xhr/XMLHttpRequestUpload-impl.js":773,"./XMLHttpRequestEventTarget.js":587,"./utils.js":591,"webidl-conversions":1075}],590:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -139842,7 +140973,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("../domparsing/XMLSerializer-impl.js"); -},{"../domparsing/XMLSerializer-impl.js":337,"./Node.js":513,"./utils.js":567,"webidl-conversions":1051}],567:[function(require,module,exports){ +},{"../domparsing/XMLSerializer-impl.js":361,"./Node.js":537,"./utils.js":591,"webidl-conversions":1075}],591:[function(require,module,exports){ "use strict"; // Returns "Type(value) is Object" in ES terminology. @@ -139985,7 +141116,7 @@ module.exports = exports = { iteratorResult }; -},{}],568:[function(require,module,exports){ +},{}],592:[function(require,module,exports){ "use strict"; const http = require("http"); const https = require("https"); @@ -140002,7 +141133,7 @@ module.exports = function agentFactory(proxy, rejectUnauthorized) { return { http: new http.Agent(agentOpts), https: new https.Agent(agentOpts) }; }; -},{"http":995,"http-proxy-agent":298,"https":299,"https-proxy-agent":301,"url":1034}],569:[function(require,module,exports){ +},{"http":1019,"http-proxy-agent":322,"https":323,"https-proxy-agent":325,"url":1058}],593:[function(require,module,exports){ "use strict"; // See https://github.com/jsdom/jsdom/pull/2743#issuecomment-562991955 for background. @@ -140013,7 +141144,7 @@ exports.copyToArrayBufferInNewRealm = (nodejsBuffer, newRealm) => { return newAB; }; -},{}],570:[function(require,module,exports){ +},{}],594:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -140335,7 +141466,7 @@ module.exports = { getHTMLElementInterface }; -},{"../generated/utils":567,"../interfaces":601,"./custom-elements":572,"./internal-constants":581,"./namespaces":585,"./runtime-script-errors":589,"./validate-names":599,"domexception/webidl2js-wrapper":219}],571:[function(require,module,exports){ +},{"../generated/utils":591,"../interfaces":625,"./custom-elements":596,"./internal-constants":605,"./namespaces":609,"./runtime-script-errors":613,"./validate-names":623,"domexception/webidl2js-wrapper":243}],595:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils"); @@ -140525,7 +141656,7 @@ exports.createEventAccessor = (obj, event) => { }); }; -},{"../generated/ErrorEvent":400,"../generated/EventHandlerNonNull.js":403,"../generated/OnBeforeUnloadEventHandlerNonNull.js":517,"../generated/OnErrorEventHandlerNonNull.js":518,"../generated/utils":567,"./runtime-script-errors":589}],572:[function(require,module,exports){ +},{"../generated/ErrorEvent":424,"../generated/EventHandlerNonNull.js":427,"../generated/OnBeforeUnloadEventHandlerNonNull.js":541,"../generated/OnErrorEventHandlerNonNull.js":542,"../generated/utils":591,"./runtime-script-errors":613}],596:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -140797,7 +141928,7 @@ module.exports = { invokeCEReactions }; -},{"../generated/utils":567,"../node-type":617,"./namespaces":585,"./runtime-script-errors":589,"./shadow-dom":591,"domexception/webidl2js-wrapper":219,"is-potential-custom-element-name":307}],573:[function(require,module,exports){ +},{"../generated/utils":591,"../node-type":641,"./namespaces":609,"./runtime-script-errors":613,"./shadow-dom":615,"domexception/webidl2js-wrapper":243,"is-potential-custom-element-name":331}],597:[function(require,module,exports){ "use strict"; function isLeapYear(year) { @@ -141069,7 +142200,7 @@ module.exports = { serializeWeek }; -},{}],574:[function(require,module,exports){ +},{}],598:[function(require,module,exports){ "use strict"; const { firstChildWithLocalName } = require("./traversal"); const { HTML_NS } = require("./namespaces"); @@ -141086,7 +142217,7 @@ exports.isSummaryForParentDetails = summaryElement => { return firstChildWithLocalName(parent, "summary") === summaryElement; }; -},{"./namespaces":585,"./traversal":598}],575:[function(require,module,exports){ +},{"./namespaces":609,"./traversal":622}],599:[function(require,module,exports){ "use strict"; const whatwgURL = require("whatwg-url"); const { implForWrapper } = require("../generated/utils"); @@ -141142,7 +142273,7 @@ function frozenBaseURL(baseElement, fallbackBaseURL) { return result === null ? fallbackBaseURL : result; } -},{"../generated/utils":567,"whatwg-url":1089}],576:[function(require,module,exports){ +},{"../generated/utils":591,"whatwg-url":1113}],600:[function(require,module,exports){ "use strict"; const Event = require("../generated/Event"); @@ -141168,7 +142299,7 @@ module.exports = { fireAnEvent }; -},{"../generated/Event":402,"../generated/utils":567}],577:[function(require,module,exports){ +},{"../generated/Event":426,"../generated/utils":591}],601:[function(require,module,exports){ "use strict"; const FocusEvent = require("../generated/FocusEvent.js"); const idlUtils = require("../generated/utils.js"); @@ -141274,7 +142405,7 @@ exports.fireFocusEventWithTargetAdjustment = (name, target, relatedTarget, { bub target._dispatch(event); }; -},{"../generated/FocusEvent.js":414,"../generated/utils.js":567,"./events":576,"./form-controls.js":578,"./namespaces":585,"./svg/render":596,"./traversal":598}],578:[function(require,module,exports){ +},{"../generated/FocusEvent.js":438,"../generated/utils.js":591,"./events":600,"./form-controls.js":602,"./namespaces":609,"./svg/render":620,"./traversal":622}],602:[function(require,module,exports){ "use strict"; const { @@ -141589,7 +142720,7 @@ exports.formOwner = formControl => { return null; }; -},{"../generated/NodeList":516,"../node-type":617,"./dates-and-times":573,"./internal-constants":581,"./namespaces":585,"./strings":592,"./traversal":598,"whatwg-url":1089}],579:[function(require,module,exports){ +},{"../generated/NodeList":540,"../node-type":641,"./dates-and-times":597,"./internal-constants":605,"./namespaces":609,"./strings":616,"./traversal":622,"whatwg-url":1113}],603:[function(require,module,exports){ "use strict"; const { HTML_NS } = require("./namespaces"); @@ -141669,7 +142800,7 @@ module.exports = { HTMLConstructor }; -},{"../generated/utils":567,"./create-element":570,"./namespaces":585}],580:[function(require,module,exports){ +},{"../generated/utils":591,"./create-element":594,"./namespaces":609}],604:[function(require,module,exports){ (function (process){(function (){ "use strict"; const http = require("http"); @@ -141927,7 +143058,7 @@ module.exports = class Request extends Writable { }; }).call(this)}).call(this,require('_process')) -},{"_process":950,"http":995,"https":299,"stream":980,"zlib":97}],581:[function(require,module,exports){ +},{"_process":974,"http":1019,"https":323,"stream":1004,"zlib":121}],605:[function(require,module,exports){ "use strict"; const SymbolTree = require("symbol-tree"); @@ -141941,7 +143072,7 @@ exports.cloningSteps = Symbol("cloning steps"); */ exports.domSymbolTree = new SymbolTree("DOM SymbolTree"); -},{"symbol-tree":1015}],582:[function(require,module,exports){ +},{"symbol-tree":1039}],606:[function(require,module,exports){ "use strict"; // An iterable WeakSet implementation inspired by the iterable WeakMap example code in the WeakRefs specification: @@ -141991,7 +143122,7 @@ module.exports = class IterableWeakSet { } }; -},{}],583:[function(require,module,exports){ +},{}],607:[function(require,module,exports){ "use strict"; // https://infra.spec.whatwg.org/#parse-json-from-bytes @@ -142005,7 +143136,7 @@ exports.parseJSONFromBytes = bytes => { return JSON.parse(jsonText); }; -},{}],584:[function(require,module,exports){ +},{}],608:[function(require,module,exports){ "use strict"; const { domSymbolTree } = require("./internal-constants"); @@ -142205,7 +143336,7 @@ module.exports = { signalSlotList }; -},{"../generated/Event":402,"../generated/MutationRecord":510,"../generated/utils":567,"./internal-constants":581,"./runtime-script-errors":589}],585:[function(require,module,exports){ +},{"../generated/Event":426,"../generated/MutationRecord":534,"../generated/utils":591,"./internal-constants":605,"./runtime-script-errors":613}],609:[function(require,module,exports){ "use strict"; // https://infra.spec.whatwg.org/#namespaces @@ -142222,7 +143353,7 @@ exports.XML_NS = "http://www.w3.org/XML/1998/namespace"; exports.XMLNS_NS = "http://www.w3.org/2000/xmlns/"; -},{}],586:[function(require,module,exports){ +},{}],610:[function(require,module,exports){ "use strict"; const NODE_TYPE = require("../node-type"); @@ -142292,7 +143423,7 @@ module.exports = { isFollowing }; -},{"../node-type":617,"./internal-constants":581}],587:[function(require,module,exports){ +},{"../node-type":641,"./internal-constants":605}],611:[function(require,module,exports){ "use strict"; const { parseFloatingPointNumber } = require("./strings"); const { @@ -142489,7 +143620,7 @@ exports.convertNumberToStringByType = { } }; -},{"./dates-and-times":573,"./strings":592}],588:[function(require,module,exports){ +},{"./dates-and-times":597,"./strings":616}],612:[function(require,module,exports){ "use strict"; // https://infra.spec.whatwg.org/#sets @@ -142595,7 +143726,7 @@ module.exports = class OrderedSet { } }; -},{}],589:[function(require,module,exports){ +},{}],613:[function(require,module,exports){ "use strict"; const util = require("util"); const idlUtils = require("../generated/utils"); @@ -142673,7 +143804,7 @@ function shouldBeDisplayedAsError(x) { return x && x.name && x.message !== undefined && x.stack; } -},{"../generated/ErrorEvent":400,"../generated/utils":567,"../helpers/events":576,"util":1039}],590:[function(require,module,exports){ +},{"../generated/ErrorEvent":424,"../generated/utils":591,"../helpers/events":600,"util":1063}],614:[function(require,module,exports){ "use strict"; const nwsapi = require("nwsapi"); @@ -142722,7 +143853,7 @@ exports.addNwsapi = parentNode => { return document._nwsapi; }; -},{"../generated/utils":567,"nwsapi":899}],591:[function(require,module,exports){ +},{"../generated/utils":591,"nwsapi":923}],615:[function(require,module,exports){ "use strict"; const NODE_TYPE = require("../node-type"); @@ -143009,7 +144140,7 @@ module.exports = { shadowIncludingDescendantsIterator }; -},{"../node-type":617,"./internal-constants":581,"./mutation-observers":584,"./namespaces":585,"./node":586}],592:[function(require,module,exports){ +},{"../node-type":641,"./internal-constants":605,"./mutation-observers":608,"./namespaces":609,"./node":610}],616:[function(require,module,exports){ "use strict"; // https://infra.spec.whatwg.org/#ascii-whitespace @@ -143159,7 +144290,7 @@ exports.splitOnCommas = str => { return tokens; }; -},{}],593:[function(require,module,exports){ +},{}],617:[function(require,module,exports){ "use strict"; const cssom = require("cssom"); const defaultStyleSheet = require("../../browser/default-stylesheet"); @@ -143271,7 +144402,7 @@ exports.getResolvedValue = (element, property) => { exports.SHADOW_DOM_PSEUDO_REGEXP = /^::(?:part|slotted)\(/i; -},{"../../browser/default-stylesheet":311,"./selectors":590,"cssom":164}],594:[function(require,module,exports){ +},{"../../browser/default-stylesheet":335,"./selectors":614,"cssom":188}],618:[function(require,module,exports){ "use strict"; const cssom = require("cssom"); const whatwgEncoding = require("whatwg-encoding"); @@ -143386,7 +144517,7 @@ function scanForImportRules(elementImpl, cssRules, baseURL) { } } -},{"cssom":164,"whatwg-encoding":1054,"whatwg-url":1089}],595:[function(require,module,exports){ +},{"cssom":188,"whatwg-encoding":1078,"whatwg-url":1113}],619:[function(require,module,exports){ "use strict"; // https://svgwg.org/svg2-draft/types.html#TermDetach @@ -143429,7 +144560,7 @@ function reserializeCommaSeparatedTokens(elements) { } exports.reserializeCommaSeparatedTokens = reserializeCommaSeparatedTokens; -},{}],596:[function(require,module,exports){ +},{}],620:[function(require,module,exports){ "use strict"; const { SVG_NS } = require("../namespaces"); @@ -143477,7 +144608,7 @@ exports.isRenderedElement = elImpl => { return true; }; -},{"../namespaces":585}],597:[function(require,module,exports){ +},{"../namespaces":609}],621:[function(require,module,exports){ "use strict"; const { domSymbolTree } = require("./internal-constants"); const { CDATA_SECTION_NODE, TEXT_NODE } = require("../node-type"); @@ -143498,7 +144629,7 @@ exports.childTextContent = node => { return result; }; -},{"../node-type":617,"./internal-constants":581}],598:[function(require,module,exports){ +},{"../node-type":641,"./internal-constants":605}],622:[function(require,module,exports){ "use strict"; const { domSymbolTree } = require("./internal-constants"); const { HTML_NS } = require("./namespaces"); @@ -143572,7 +144703,7 @@ exports.firstDescendantWithLocalName = (parent, localName, namespace = HTML_NS) return null; }; -},{"./internal-constants":581,"./namespaces":585}],599:[function(require,module,exports){ +},{"./internal-constants":605,"./namespaces":609}],623:[function(require,module,exports){ "use strict"; const xnv = require("xml-name-validator"); const DOMException = require("domexception/webidl2js-wrapper"); @@ -143649,7 +144780,7 @@ exports.validateAndExtract = function (globalObject, namespace, qualifiedName) { return { namespace, prefix, localName }; }; -},{"../helpers/namespaces":585,"domexception/webidl2js-wrapper":219,"xml-name-validator":1093}],600:[function(require,module,exports){ +},{"../helpers/namespaces":609,"domexception/webidl2js-wrapper":243,"xml-name-validator":1117}],624:[function(require,module,exports){ "use strict"; const EventTargetImpl = require("../events/EventTarget-impl").implementation; @@ -143676,7 +144807,7 @@ class PerformanceImpl extends EventTargetImpl { exports.implementation = PerformanceImpl; -},{"../events/EventTarget-impl":346}],601:[function(require,module,exports){ +},{"../events/EventTarget-impl":370}],625:[function(require,module,exports){ /* eslint-disable global-require */ "use strict"; @@ -143895,7 +145026,7 @@ exports.getInterfaceWrapper = name => { return generatedInterfaces[name]; }; -},{"../level2/style":323,"../level3/xpath":324,"./generated/AbortController":367,"./generated/AbortSignal":368,"./generated/AbstractRange":369,"./generated/Attr":372,"./generated/BarProp":373,"./generated/Blob":375,"./generated/CDATASection":378,"./generated/CharacterData":379,"./generated/CloseEvent":380,"./generated/Comment":382,"./generated/CompositionEvent":383,"./generated/CustomElementRegistry":386,"./generated/CustomEvent":387,"./generated/DOMImplementation":389,"./generated/DOMParser":390,"./generated/DOMStringMap":391,"./generated/DOMTokenList":392,"./generated/Document":393,"./generated/DocumentFragment":394,"./generated/DocumentType":395,"./generated/Element":396,"./generated/ErrorEvent":400,"./generated/Event":402,"./generated/EventTarget":408,"./generated/External":409,"./generated/File":410,"./generated/FileList":411,"./generated/FileReader":413,"./generated/FocusEvent":414,"./generated/FormData":416,"./generated/HTMLAnchorElement.js":419,"./generated/HTMLAreaElement.js":420,"./generated/HTMLAudioElement.js":421,"./generated/HTMLBRElement.js":422,"./generated/HTMLBaseElement.js":423,"./generated/HTMLBodyElement.js":424,"./generated/HTMLButtonElement.js":425,"./generated/HTMLCanvasElement.js":426,"./generated/HTMLCollection":427,"./generated/HTMLDListElement.js":428,"./generated/HTMLDataElement.js":429,"./generated/HTMLDataListElement.js":430,"./generated/HTMLDetailsElement.js":431,"./generated/HTMLDialogElement.js":432,"./generated/HTMLDirectoryElement.js":433,"./generated/HTMLDivElement.js":434,"./generated/HTMLElement.js":435,"./generated/HTMLEmbedElement.js":436,"./generated/HTMLFieldSetElement.js":437,"./generated/HTMLFontElement.js":438,"./generated/HTMLFormElement.js":439,"./generated/HTMLFrameElement.js":440,"./generated/HTMLFrameSetElement.js":441,"./generated/HTMLHRElement.js":442,"./generated/HTMLHeadElement.js":443,"./generated/HTMLHeadingElement.js":444,"./generated/HTMLHtmlElement.js":445,"./generated/HTMLIFrameElement.js":446,"./generated/HTMLImageElement.js":447,"./generated/HTMLInputElement.js":448,"./generated/HTMLLIElement.js":449,"./generated/HTMLLabelElement.js":450,"./generated/HTMLLegendElement.js":451,"./generated/HTMLLinkElement.js":452,"./generated/HTMLMapElement.js":453,"./generated/HTMLMarqueeElement.js":454,"./generated/HTMLMediaElement.js":455,"./generated/HTMLMenuElement.js":456,"./generated/HTMLMetaElement.js":457,"./generated/HTMLMeterElement.js":458,"./generated/HTMLModElement.js":459,"./generated/HTMLOListElement.js":460,"./generated/HTMLObjectElement.js":461,"./generated/HTMLOptGroupElement.js":462,"./generated/HTMLOptionElement.js":463,"./generated/HTMLOptionsCollection":464,"./generated/HTMLOutputElement.js":465,"./generated/HTMLParagraphElement.js":466,"./generated/HTMLParamElement.js":467,"./generated/HTMLPictureElement.js":468,"./generated/HTMLPreElement.js":469,"./generated/HTMLProgressElement.js":470,"./generated/HTMLQuoteElement.js":471,"./generated/HTMLScriptElement.js":472,"./generated/HTMLSelectElement.js":473,"./generated/HTMLSlotElement.js":474,"./generated/HTMLSourceElement.js":475,"./generated/HTMLSpanElement.js":476,"./generated/HTMLStyleElement.js":477,"./generated/HTMLTableCaptionElement.js":478,"./generated/HTMLTableCellElement.js":479,"./generated/HTMLTableColElement.js":480,"./generated/HTMLTableElement.js":481,"./generated/HTMLTableRowElement.js":482,"./generated/HTMLTableSectionElement.js":483,"./generated/HTMLTemplateElement.js":484,"./generated/HTMLTextAreaElement.js":485,"./generated/HTMLTimeElement.js":486,"./generated/HTMLTitleElement.js":487,"./generated/HTMLTrackElement.js":488,"./generated/HTMLUListElement.js":489,"./generated/HTMLUnknownElement.js":490,"./generated/HTMLVideoElement.js":491,"./generated/HashChangeEvent":492,"./generated/Headers":494,"./generated/History":495,"./generated/InputEvent":496,"./generated/KeyboardEvent":498,"./generated/Location":500,"./generated/MessageEvent":501,"./generated/MimeType":503,"./generated/MimeTypeArray":504,"./generated/MouseEvent":505,"./generated/MutationObserver":508,"./generated/MutationRecord":510,"./generated/NamedNodeMap":511,"./generated/Navigator":512,"./generated/Node":513,"./generated/NodeFilter":514,"./generated/NodeIterator":515,"./generated/NodeList":516,"./generated/PageTransitionEvent":519,"./generated/Performance":521,"./generated/Plugin":522,"./generated/PluginArray":523,"./generated/PopStateEvent":524,"./generated/ProcessingInstruction":526,"./generated/ProgressEvent":527,"./generated/Range":529,"./generated/SVGAnimatedString":530,"./generated/SVGElement.js":531,"./generated/SVGGraphicsElement.js":532,"./generated/SVGNumber":533,"./generated/SVGSVGElement.js":534,"./generated/SVGStringList":535,"./generated/SVGTitleElement.js":536,"./generated/Screen":537,"./generated/Selection":538,"./generated/ShadowRoot":540,"./generated/StaticRange":543,"./generated/Storage":545,"./generated/StorageEvent":546,"./generated/StyleSheetList.js":548,"./generated/Text":550,"./generated/TouchEvent":552,"./generated/TreeWalker":554,"./generated/UIEvent":555,"./generated/ValidityState":557,"./generated/WebSocket":558,"./generated/WheelEvent":559,"./generated/XMLDocument":561,"./generated/XMLHttpRequest":562,"./generated/XMLHttpRequestEventTarget":563,"./generated/XMLHttpRequestUpload":565,"./generated/XMLSerializer":566,"domexception/webidl2js-wrapper":219,"whatwg-url/webidl2js-wrapper":1090}],602:[function(require,module,exports){ +},{"../level2/style":347,"../level3/xpath":348,"./generated/AbortController":391,"./generated/AbortSignal":392,"./generated/AbstractRange":393,"./generated/Attr":396,"./generated/BarProp":397,"./generated/Blob":399,"./generated/CDATASection":402,"./generated/CharacterData":403,"./generated/CloseEvent":404,"./generated/Comment":406,"./generated/CompositionEvent":407,"./generated/CustomElementRegistry":410,"./generated/CustomEvent":411,"./generated/DOMImplementation":413,"./generated/DOMParser":414,"./generated/DOMStringMap":415,"./generated/DOMTokenList":416,"./generated/Document":417,"./generated/DocumentFragment":418,"./generated/DocumentType":419,"./generated/Element":420,"./generated/ErrorEvent":424,"./generated/Event":426,"./generated/EventTarget":432,"./generated/External":433,"./generated/File":434,"./generated/FileList":435,"./generated/FileReader":437,"./generated/FocusEvent":438,"./generated/FormData":440,"./generated/HTMLAnchorElement.js":443,"./generated/HTMLAreaElement.js":444,"./generated/HTMLAudioElement.js":445,"./generated/HTMLBRElement.js":446,"./generated/HTMLBaseElement.js":447,"./generated/HTMLBodyElement.js":448,"./generated/HTMLButtonElement.js":449,"./generated/HTMLCanvasElement.js":450,"./generated/HTMLCollection":451,"./generated/HTMLDListElement.js":452,"./generated/HTMLDataElement.js":453,"./generated/HTMLDataListElement.js":454,"./generated/HTMLDetailsElement.js":455,"./generated/HTMLDialogElement.js":456,"./generated/HTMLDirectoryElement.js":457,"./generated/HTMLDivElement.js":458,"./generated/HTMLElement.js":459,"./generated/HTMLEmbedElement.js":460,"./generated/HTMLFieldSetElement.js":461,"./generated/HTMLFontElement.js":462,"./generated/HTMLFormElement.js":463,"./generated/HTMLFrameElement.js":464,"./generated/HTMLFrameSetElement.js":465,"./generated/HTMLHRElement.js":466,"./generated/HTMLHeadElement.js":467,"./generated/HTMLHeadingElement.js":468,"./generated/HTMLHtmlElement.js":469,"./generated/HTMLIFrameElement.js":470,"./generated/HTMLImageElement.js":471,"./generated/HTMLInputElement.js":472,"./generated/HTMLLIElement.js":473,"./generated/HTMLLabelElement.js":474,"./generated/HTMLLegendElement.js":475,"./generated/HTMLLinkElement.js":476,"./generated/HTMLMapElement.js":477,"./generated/HTMLMarqueeElement.js":478,"./generated/HTMLMediaElement.js":479,"./generated/HTMLMenuElement.js":480,"./generated/HTMLMetaElement.js":481,"./generated/HTMLMeterElement.js":482,"./generated/HTMLModElement.js":483,"./generated/HTMLOListElement.js":484,"./generated/HTMLObjectElement.js":485,"./generated/HTMLOptGroupElement.js":486,"./generated/HTMLOptionElement.js":487,"./generated/HTMLOptionsCollection":488,"./generated/HTMLOutputElement.js":489,"./generated/HTMLParagraphElement.js":490,"./generated/HTMLParamElement.js":491,"./generated/HTMLPictureElement.js":492,"./generated/HTMLPreElement.js":493,"./generated/HTMLProgressElement.js":494,"./generated/HTMLQuoteElement.js":495,"./generated/HTMLScriptElement.js":496,"./generated/HTMLSelectElement.js":497,"./generated/HTMLSlotElement.js":498,"./generated/HTMLSourceElement.js":499,"./generated/HTMLSpanElement.js":500,"./generated/HTMLStyleElement.js":501,"./generated/HTMLTableCaptionElement.js":502,"./generated/HTMLTableCellElement.js":503,"./generated/HTMLTableColElement.js":504,"./generated/HTMLTableElement.js":505,"./generated/HTMLTableRowElement.js":506,"./generated/HTMLTableSectionElement.js":507,"./generated/HTMLTemplateElement.js":508,"./generated/HTMLTextAreaElement.js":509,"./generated/HTMLTimeElement.js":510,"./generated/HTMLTitleElement.js":511,"./generated/HTMLTrackElement.js":512,"./generated/HTMLUListElement.js":513,"./generated/HTMLUnknownElement.js":514,"./generated/HTMLVideoElement.js":515,"./generated/HashChangeEvent":516,"./generated/Headers":518,"./generated/History":519,"./generated/InputEvent":520,"./generated/KeyboardEvent":522,"./generated/Location":524,"./generated/MessageEvent":525,"./generated/MimeType":527,"./generated/MimeTypeArray":528,"./generated/MouseEvent":529,"./generated/MutationObserver":532,"./generated/MutationRecord":534,"./generated/NamedNodeMap":535,"./generated/Navigator":536,"./generated/Node":537,"./generated/NodeFilter":538,"./generated/NodeIterator":539,"./generated/NodeList":540,"./generated/PageTransitionEvent":543,"./generated/Performance":545,"./generated/Plugin":546,"./generated/PluginArray":547,"./generated/PopStateEvent":548,"./generated/ProcessingInstruction":550,"./generated/ProgressEvent":551,"./generated/Range":553,"./generated/SVGAnimatedString":554,"./generated/SVGElement.js":555,"./generated/SVGGraphicsElement.js":556,"./generated/SVGNumber":557,"./generated/SVGSVGElement.js":558,"./generated/SVGStringList":559,"./generated/SVGTitleElement.js":560,"./generated/Screen":561,"./generated/Selection":562,"./generated/ShadowRoot":564,"./generated/StaticRange":567,"./generated/Storage":569,"./generated/StorageEvent":570,"./generated/StyleSheetList.js":572,"./generated/Text":574,"./generated/TouchEvent":576,"./generated/TreeWalker":578,"./generated/UIEvent":579,"./generated/ValidityState":581,"./generated/WebSocket":582,"./generated/WheelEvent":583,"./generated/XMLDocument":585,"./generated/XMLHttpRequest":586,"./generated/XMLHttpRequestEventTarget":587,"./generated/XMLHttpRequestUpload":589,"./generated/XMLSerializer":590,"domexception/webidl2js-wrapper":243,"whatwg-url/webidl2js-wrapper":1114}],626:[function(require,module,exports){ "use strict"; const { wrapperForImpl } = require("../generated/utils"); @@ -143992,7 +145123,7 @@ module.exports = { implementation: MutationObserverImpl }; -},{"../generated/utils":567}],603:[function(require,module,exports){ +},{"../generated/utils":591}],627:[function(require,module,exports){ "use strict"; const NodeList = require("../generated/NodeList"); @@ -144031,7 +145162,7 @@ module.exports = { implementation: MutationRecordImpl }; -},{"../generated/NodeList":516}],604:[function(require,module,exports){ +},{"../generated/NodeList":540}],628:[function(require,module,exports){ "use strict"; const hasOwnProp = Object.prototype.hasOwnProperty; const namedPropertiesTracker = require("../named-properties-tracker"); @@ -144174,12 +145305,12 @@ exports.nodeDetachedFromDocument = function (node) { } }; -},{"../named-properties-tracker":751,"../utils":752,"./generated/HTMLCollection":427,"./generated/utils":567,"./node-type":617}],605:[function(require,module,exports){ +},{"../named-properties-tracker":775,"../utils":776,"./generated/HTMLCollection":451,"./generated/utils":591,"./node-type":641}],629:[function(require,module,exports){ "use strict"; exports.implementation = class MimeType {}; -},{}],606:[function(require,module,exports){ +},{}],630:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils"); @@ -144202,7 +145333,7 @@ exports.implementation = class MimeTypeArray { } }; -},{"../generated/utils":567}],607:[function(require,module,exports){ +},{"../generated/utils":591}],631:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); const PluginArray = require("../generated/PluginArray"); @@ -144233,7 +145364,7 @@ mixin(NavigatorImpl.prototype, NavigatorConcurrentHardwareImpl.prototype); exports.implementation = NavigatorImpl; -},{"../../utils":752,"../generated/MimeTypeArray":504,"../generated/PluginArray":523,"./NavigatorConcurrentHardware-impl":608,"./NavigatorCookies-impl":609,"./NavigatorID-impl":610,"./NavigatorLanguage-impl":611,"./NavigatorOnLine-impl":612,"./NavigatorPlugins-impl":613}],608:[function(require,module,exports){ +},{"../../utils":776,"../generated/MimeTypeArray":528,"../generated/PluginArray":547,"./NavigatorConcurrentHardware-impl":632,"./NavigatorCookies-impl":633,"./NavigatorID-impl":634,"./NavigatorLanguage-impl":635,"./NavigatorOnLine-impl":636,"./NavigatorPlugins-impl":637}],632:[function(require,module,exports){ "use strict"; const os = require("os"); @@ -144243,7 +145374,7 @@ exports.implementation = class NavigatorConcurrentHardwareImpl { } }; -},{"os":901}],609:[function(require,module,exports){ +},{"os":925}],633:[function(require,module,exports){ "use strict"; exports.implementation = class NavigatorCookiesImpl { @@ -144252,7 +145383,7 @@ exports.implementation = class NavigatorCookiesImpl { } }; -},{}],610:[function(require,module,exports){ +},{}],634:[function(require,module,exports){ "use strict"; exports.implementation = class NavigatorIDImpl { @@ -144291,7 +145422,7 @@ exports.implementation = class NavigatorIDImpl { } }; -},{}],611:[function(require,module,exports){ +},{}],635:[function(require,module,exports){ "use strict"; exports.implementation = class NavigatorLanguageImpl { @@ -144302,7 +145433,7 @@ exports.implementation = class NavigatorLanguageImpl { // See Navigator constructor for languages }; -},{}],612:[function(require,module,exports){ +},{}],636:[function(require,module,exports){ "use strict"; exports.implementation = class NavigatorOnLineImpl { @@ -144311,7 +145442,7 @@ exports.implementation = class NavigatorOnLineImpl { } }; -},{}],613:[function(require,module,exports){ +},{}],637:[function(require,module,exports){ "use strict"; exports.implementation = class NavigatorPluginsImpl { @@ -144321,12 +145452,12 @@ exports.implementation = class NavigatorPluginsImpl { } }; -},{}],614:[function(require,module,exports){ +},{}],638:[function(require,module,exports){ "use strict"; exports.implementation = class Plugin {}; -},{}],615:[function(require,module,exports){ +},{}],639:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils"); @@ -144351,7 +145482,7 @@ exports.implementation = class PluginArray { } }; -},{"../generated/utils":567}],616:[function(require,module,exports){ +},{"../generated/utils":591}],640:[function(require,module,exports){ "use strict"; module.exports = Object.freeze({ @@ -144363,7 +145494,7 @@ module.exports = Object.freeze({ DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32 }); -},{}],617:[function(require,module,exports){ +},{}],641:[function(require,module,exports){ "use strict"; module.exports = Object.freeze({ @@ -144381,7 +145512,7 @@ module.exports = Object.freeze({ NOTATION_NODE: 12 // historical }); -},{}],618:[function(require,module,exports){ +},{}],642:[function(require,module,exports){ "use strict"; const { appendAttribute } = require("./attributes"); const NODE_TYPE = require("./node-type"); @@ -144714,7 +145845,7 @@ exports.locateNamespace = (node, prefix) => { } }; -},{"./attributes":327,"./generated/HTMLCollection":427,"./helpers/create-element":570,"./helpers/internal-constants":581,"./helpers/namespaces":585,"./helpers/ordered-set":588,"./helpers/strings":592,"./node-type":617}],619:[function(require,module,exports){ +},{"./attributes":351,"./generated/HTMLCollection":451,"./helpers/create-element":594,"./helpers/internal-constants":605,"./helpers/namespaces":609,"./helpers/ordered-set":612,"./helpers/strings":616,"./node-type":641}],643:[function(require,module,exports){ "use strict"; const TextImpl = require("./Text-impl").implementation; @@ -144732,7 +145863,7 @@ module.exports = { implementation: CDATASectionImpl }; -},{"../node-type":617,"./Text-impl":721}],620:[function(require,module,exports){ +},{"../node-type":641,"./Text-impl":745}],644:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -144852,7 +145983,7 @@ module.exports = { implementation: CharacterDataImpl }; -},{"../../utils":752,"../helpers/mutation-observers":584,"../node-type":617,"./ChildNode-impl":621,"./Node-impl":708,"./NonDocumentTypeChildNode-impl":710,"domexception/webidl2js-wrapper":219}],621:[function(require,module,exports){ +},{"../../utils":776,"../helpers/mutation-observers":608,"../node-type":641,"./ChildNode-impl":645,"./Node-impl":732,"./NonDocumentTypeChildNode-impl":734,"domexception/webidl2js-wrapper":243}],645:[function(require,module,exports){ "use strict"; const { convertNodesIntoNode } = require("../node"); @@ -144934,7 +146065,7 @@ module.exports = { implementation: ChildNodeImpl }; -},{"../node":618}],622:[function(require,module,exports){ +},{"../node":642}],646:[function(require,module,exports){ "use strict"; const CharacterDataImpl = require("./CharacterData-impl").implementation; const idlUtils = require("../generated/utils"); @@ -144956,7 +146087,7 @@ module.exports = { implementation: CommentImpl }; -},{"../generated/utils":567,"../node-type":617,"./CharacterData-impl":620}],623:[function(require,module,exports){ +},{"../generated/utils":591,"../node-type":641,"./CharacterData-impl":644}],647:[function(require,module,exports){ "use strict"; const validateNames = require("../helpers/validate-names"); @@ -145078,7 +146209,7 @@ module.exports = { implementation: DOMImplementationImpl }; -},{"../documents.js":334,"../generated/DocumentType":395,"../helpers/create-element":570,"../helpers/namespaces":585,"../helpers/validate-names":599}],624:[function(require,module,exports){ +},{"../documents.js":358,"../generated/DocumentType":419,"../helpers/create-element":594,"../helpers/namespaces":609,"../helpers/validate-names":623}],648:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils.js"); @@ -145144,7 +146275,7 @@ exports.implementation = class DOMStringMapImpl { } }; -},{"../attributes":327,"../generated/utils.js":567,"../helpers/validate-names":599,"domexception/webidl2js-wrapper":219}],625:[function(require,module,exports){ +},{"../attributes":351,"../generated/utils.js":591,"../helpers/validate-names":623,"domexception/webidl2js-wrapper":243}],649:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -145317,7 +146448,7 @@ class DOMTokenListImpl { exports.implementation = DOMTokenListImpl; -},{"../attributes.js":327,"../generated/utils.js":567,"../helpers/ordered-set.js":588,"../helpers/strings.js":592,"domexception/webidl2js-wrapper":219}],626:[function(require,module,exports){ +},{"../attributes.js":351,"../generated/utils.js":591,"../helpers/ordered-set.js":612,"../helpers/strings.js":616,"domexception/webidl2js-wrapper":243}],650:[function(require,module,exports){ "use strict"; const { CookieJar } = require("tough-cookie"); @@ -146265,7 +147396,7 @@ module.exports = { implementation: DocumentImpl }; -},{"../../browser/parser":315,"../../browser/resources/async-resource-queue":317,"../../browser/resources/per-document-resource-loader":319,"../../browser/resources/request-manager":320,"../../browser/resources/resource-queue":322,"../../utils":752,"../documents.js":334,"../generated/Attr":372,"../generated/CDATASection":378,"../generated/Comment":382,"../generated/CustomEvent":387,"../generated/DOMImplementation":389,"../generated/DocumentFragment":394,"../generated/ErrorEvent":400,"../generated/Event":402,"../generated/FocusEvent":414,"../generated/HTMLCollection":427,"../generated/HashChangeEvent":492,"../generated/History":495,"../generated/KeyboardEvent":498,"../generated/Location":500,"../generated/MessageEvent":501,"../generated/MouseEvent":505,"../generated/NodeIterator":515,"../generated/NodeList":516,"../generated/PopStateEvent":524,"../generated/ProcessingInstruction":526,"../generated/ProgressEvent":527,"../generated/Range":529,"../generated/ShadowRoot":540,"../generated/StyleSheetList.js":548,"../generated/Text":550,"../generated/TouchEvent":552,"../generated/TreeWalker":554,"../generated/UIEvent":555,"../generated/utils":567,"../helpers/create-element":570,"../helpers/create-event-accessor":571,"../helpers/custom-elements":572,"../helpers/events":576,"../helpers/internal-constants":581,"../helpers/iterable-weak-set":582,"../helpers/namespaces":585,"../helpers/shadow-dom":591,"../helpers/strings":592,"../helpers/text":597,"../helpers/traversal":598,"../helpers/validate-names":599,"../node":618,"../node-type":617,"./DocumentOrShadowRoot-impl":628,"./GlobalEventHandlers-impl":632,"./Node-impl":708,"./NonElementParentNode-impl":711,"./ParentNode-impl":712,"domexception/webidl2js-wrapper":219,"tough-cookie":1020,"whatwg-url":1089}],627:[function(require,module,exports){ +},{"../../browser/parser":339,"../../browser/resources/async-resource-queue":341,"../../browser/resources/per-document-resource-loader":343,"../../browser/resources/request-manager":344,"../../browser/resources/resource-queue":346,"../../utils":776,"../documents.js":358,"../generated/Attr":396,"../generated/CDATASection":402,"../generated/Comment":406,"../generated/CustomEvent":411,"../generated/DOMImplementation":413,"../generated/DocumentFragment":418,"../generated/ErrorEvent":424,"../generated/Event":426,"../generated/FocusEvent":438,"../generated/HTMLCollection":451,"../generated/HashChangeEvent":516,"../generated/History":519,"../generated/KeyboardEvent":522,"../generated/Location":524,"../generated/MessageEvent":525,"../generated/MouseEvent":529,"../generated/NodeIterator":539,"../generated/NodeList":540,"../generated/PopStateEvent":548,"../generated/ProcessingInstruction":550,"../generated/ProgressEvent":551,"../generated/Range":553,"../generated/ShadowRoot":564,"../generated/StyleSheetList.js":572,"../generated/Text":574,"../generated/TouchEvent":576,"../generated/TreeWalker":578,"../generated/UIEvent":579,"../generated/utils":591,"../helpers/create-element":594,"../helpers/create-event-accessor":595,"../helpers/custom-elements":596,"../helpers/events":600,"../helpers/internal-constants":605,"../helpers/iterable-weak-set":606,"../helpers/namespaces":609,"../helpers/shadow-dom":615,"../helpers/strings":616,"../helpers/text":621,"../helpers/traversal":622,"../helpers/validate-names":623,"../node":642,"../node-type":641,"./DocumentOrShadowRoot-impl":652,"./GlobalEventHandlers-impl":656,"./Node-impl":732,"./NonElementParentNode-impl":735,"./ParentNode-impl":736,"domexception/webidl2js-wrapper":243,"tough-cookie":1044,"whatwg-url":1113}],651:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); const { domSymbolTree } = require("../helpers/internal-constants"); @@ -146311,7 +147442,7 @@ module.exports = { implementation: DocumentFragmentImpl }; -},{"../../utils":752,"../generated/utils":567,"../helpers/internal-constants":581,"../node-type":617,"./Node-impl":708,"./NonElementParentNode-impl":711,"./ParentNode-impl":712}],628:[function(require,module,exports){ +},{"../../utils":776,"../generated/utils":591,"../helpers/internal-constants":605,"../node-type":641,"./Node-impl":732,"./NonElementParentNode-impl":735,"./ParentNode-impl":736}],652:[function(require,module,exports){ "use strict"; const NODE_TYPE = require("../node-type"); const { nodeRoot } = require("../helpers/node"); @@ -146341,7 +147472,7 @@ module.exports = { implementation: DocumentOrShadowRootImpl }; -},{"../helpers/node":586,"../helpers/shadow-dom":591,"../node-type":617}],629:[function(require,module,exports){ +},{"../helpers/node":610,"../helpers/shadow-dom":615,"../node-type":641}],653:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); const NodeImpl = require("./Node-impl").implementation; @@ -146367,7 +147498,7 @@ module.exports = { implementation: DocumentTypeImpl }; -},{"../../utils":752,"../node-type":617,"./ChildNode-impl":621,"./Node-impl":708}],630:[function(require,module,exports){ +},{"../../utils":776,"../node-type":641,"./ChildNode-impl":645,"./Node-impl":732}],654:[function(require,module,exports){ "use strict"; const { addNwsapi } = require("../helpers/selectors"); const { HTML_NS } = require("../helpers/namespaces"); @@ -146945,7 +148076,7 @@ module.exports = { implementation: ElementImpl }; -},{"../../browser/parser":315,"../../utils":752,"../attributes":327,"../domparsing/InnerHTML-impl":336,"../domparsing/serialization":339,"../generated/DOMTokenList":392,"../generated/NamedNodeMap":511,"../generated/ShadowRoot":540,"../generated/Text":550,"../generated/utils":567,"../helpers/custom-elements":572,"../helpers/internal-constants":581,"../helpers/namespaces":585,"../helpers/selectors":590,"../helpers/shadow-dom":591,"../helpers/strings":592,"../helpers/validate-names":599,"../named-properties-window":604,"../node":618,"../node-type":617,"./ChildNode-impl":621,"./Node-impl":708,"./NonDocumentTypeChildNode-impl":710,"./ParentNode-impl":712,"./Slotable-impl":720,"domexception/webidl2js-wrapper":219}],631:[function(require,module,exports){ +},{"../../browser/parser":339,"../../utils":776,"../attributes":351,"../domparsing/InnerHTML-impl":360,"../domparsing/serialization":363,"../generated/DOMTokenList":416,"../generated/NamedNodeMap":535,"../generated/ShadowRoot":564,"../generated/Text":574,"../generated/utils":591,"../helpers/custom-elements":596,"../helpers/internal-constants":605,"../helpers/namespaces":609,"../helpers/selectors":614,"../helpers/shadow-dom":615,"../helpers/strings":616,"../helpers/validate-names":623,"../named-properties-window":628,"../node":642,"../node-type":641,"./ChildNode-impl":645,"./Node-impl":732,"./NonDocumentTypeChildNode-impl":734,"./ParentNode-impl":736,"./Slotable-impl":744,"domexception/webidl2js-wrapper":243}],655:[function(require,module,exports){ "use strict"; const cssstyle = require("cssstyle"); @@ -146972,7 +148103,7 @@ module.exports = { implementation: ElementCSSInlineStyle }; -},{"cssstyle":166}],632:[function(require,module,exports){ +},{"cssstyle":190}],656:[function(require,module,exports){ "use strict"; const { appendHandler, createEventAccessor } = require("../helpers/create-event-accessor"); @@ -147069,7 +148200,7 @@ module.exports = { implementation: GlobalEventHandlersImpl }; -},{"../helpers/create-event-accessor":571}],633:[function(require,module,exports){ +},{"../helpers/create-event-accessor":595}],657:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); const DOMTokenList = require("../generated/DOMTokenList"); @@ -147121,7 +148252,7 @@ module.exports = { implementation: HTMLAnchorElementImpl }; -},{"../../utils":752,"../generated/DOMTokenList":392,"./HTMLElement-impl":649,"./HTMLHyperlinkElementUtils-impl":660}],634:[function(require,module,exports){ +},{"../../utils":776,"../generated/DOMTokenList":416,"./HTMLElement-impl":673,"./HTMLHyperlinkElementUtils-impl":684}],658:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); const DOMTokenList = require("../generated/DOMTokenList"); @@ -147166,7 +148297,7 @@ module.exports = { implementation: HTMLAreaElementImpl }; -},{"../../utils":752,"../generated/DOMTokenList":392,"./HTMLElement-impl":649,"./HTMLHyperlinkElementUtils-impl":660}],635:[function(require,module,exports){ +},{"../../utils":776,"../generated/DOMTokenList":416,"./HTMLElement-impl":673,"./HTMLHyperlinkElementUtils-impl":684}],659:[function(require,module,exports){ "use strict"; const HTMLMediaElementImpl = require("./HTMLMediaElement-impl").implementation; @@ -147177,7 +148308,7 @@ module.exports = { implementation: HTMLAudioElementImpl }; -},{"./HTMLMediaElement-impl":670}],636:[function(require,module,exports){ +},{"./HTMLMediaElement-impl":694}],660:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147188,7 +148319,7 @@ module.exports = { implementation: HTMLBRElementImpl }; -},{"./HTMLElement-impl":649}],637:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],661:[function(require,module,exports){ "use strict"; const whatwgURL = require("whatwg-url"); const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147217,7 +148348,7 @@ module.exports = { implementation: HTMLBaseElementImpl }; -},{"../helpers/document-base-url":575,"./HTMLElement-impl":649,"whatwg-url":1089}],638:[function(require,module,exports){ +},{"../helpers/document-base-url":599,"./HTMLElement-impl":673,"whatwg-url":1113}],662:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147236,7 +148367,7 @@ module.exports = { implementation: HTMLBodyElementImpl }; -},{"../../utils":752,"./HTMLElement-impl":649,"./WindowEventHandlers-impl":722}],639:[function(require,module,exports){ +},{"../../utils":776,"./HTMLElement-impl":673,"./WindowEventHandlers-impl":746}],663:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; const DefaultConstraintValidationImpl = @@ -147317,7 +148448,7 @@ module.exports = { implementation: HTMLButtonElementImpl }; -},{"../../utils":752,"../constraint-validation/DefaultConstraintValidation-impl":330,"../helpers/form-controls":578,"../helpers/strings":592,"./HTMLElement-impl":649}],640:[function(require,module,exports){ +},{"../../utils":776,"../constraint-validation/DefaultConstraintValidation-impl":354,"../helpers/form-controls":602,"../helpers/strings":616,"./HTMLElement-impl":673}],664:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; const notImplemented = require("../../browser/not-implemented"); @@ -147449,7 +148580,7 @@ module.exports = { implementation: HTMLCanvasElementImpl }; -},{"../../browser/not-implemented":313,"../../utils":752,"../generated/utils":567,"./HTMLElement-impl":649}],641:[function(require,module,exports){ +},{"../../browser/not-implemented":337,"../../utils":776,"../generated/utils":591,"./HTMLElement-impl":673}],665:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils.js"); @@ -147547,7 +148678,7 @@ exports.implementation = class HTMLCollectionImpl { } }; -},{"../generated/utils.js":567,"../helpers/namespaces":585}],642:[function(require,module,exports){ +},{"../generated/utils.js":591,"../helpers/namespaces":609}],666:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147558,7 +148689,7 @@ module.exports = { implementation: HTMLDListElementImpl }; -},{"./HTMLElement-impl":649}],643:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],667:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147569,7 +148700,7 @@ module.exports = { implementation: HTMLDataElementImpl }; -},{"./HTMLElement-impl":649}],644:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],668:[function(require,module,exports){ "use strict"; const HTMLCollection = require("../generated/HTMLCollection"); @@ -147591,7 +148722,7 @@ module.exports = { implementation: HTMLDataListElementImpl }; -},{"../generated/HTMLCollection":427,"../helpers/traversal":598,"./HTMLElement-impl":649}],645:[function(require,module,exports){ +},{"../generated/HTMLCollection":451,"../helpers/traversal":622,"./HTMLElement-impl":673}],669:[function(require,module,exports){ "use strict"; const { fireAnEvent } = require("../helpers/events"); @@ -147628,7 +148759,7 @@ module.exports = { implementation: HTMLDetailsElementImpl }; -},{"../helpers/events":576,"./HTMLElement-impl":649}],646:[function(require,module,exports){ +},{"../helpers/events":600,"./HTMLElement-impl":673}],670:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147639,7 +148770,7 @@ module.exports = { implementation: HTMLDialogElementImpl }; -},{"./HTMLElement-impl":649}],647:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],671:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147650,7 +148781,7 @@ module.exports = { implementation: HTMLDirectoryElementImpl }; -},{"./HTMLElement-impl":649}],648:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],672:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147661,7 +148792,7 @@ module.exports = { implementation: HTMLDivElementImpl }; -},{"./HTMLElement-impl":649}],649:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],673:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); const ElementImpl = require("./Element-impl").implementation; @@ -147823,7 +148954,7 @@ module.exports = { implementation: HTMLElementImpl }; -},{"../../utils":752,"../generated/MouseEvent":505,"../helpers/events":576,"../helpers/form-controls":578,"../helpers/strings":592,"../helpers/traversal":598,"./Element-impl":630,"./ElementCSSInlineStyle-impl":631,"./GlobalEventHandlers-impl":632,"./HTMLOrSVGElement-impl":680}],650:[function(require,module,exports){ +},{"../../utils":776,"../generated/MouseEvent":529,"../helpers/events":600,"../helpers/form-controls":602,"../helpers/strings":616,"../helpers/traversal":622,"./Element-impl":654,"./ElementCSSInlineStyle-impl":655,"./GlobalEventHandlers-impl":656,"./HTMLOrSVGElement-impl":704}],674:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147833,7 +148964,7 @@ module.exports = { implementation: HTMLEmbedElementImpl }; -},{"./HTMLElement-impl":649}],651:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],675:[function(require,module,exports){ "use strict"; const HTMLCollection = require("../generated/HTMLCollection"); const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147878,7 +149009,7 @@ module.exports = { implementation: HTMLFieldSetElementImpl }; -},{"../../utils":752,"../constraint-validation/DefaultConstraintValidation-impl":330,"../generated/HTMLCollection":427,"../helpers/form-controls":578,"../helpers/traversal":598,"./HTMLElement-impl":649}],652:[function(require,module,exports){ +},{"../../utils":776,"../constraint-validation/DefaultConstraintValidation-impl":354,"../generated/HTMLCollection":451,"../helpers/form-controls":602,"../helpers/traversal":622,"./HTMLElement-impl":673}],676:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -147889,7 +149020,7 @@ module.exports = { implementation: HTMLFontElementImpl }; -},{"./HTMLElement-impl":649}],653:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],677:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -148117,7 +149248,7 @@ module.exports = { implementation: HTMLFormElementImpl }; -},{"../../browser/not-implemented":313,"../generated/HTMLCollection":427,"../helpers/document-base-url":575,"../helpers/events":576,"../helpers/form-controls":578,"../helpers/internal-constants":581,"./HTMLElement-impl":649,"domexception/webidl2js-wrapper":219,"whatwg-url":1089}],654:[function(require,module,exports){ +},{"../../browser/not-implemented":337,"../generated/HTMLCollection":451,"../helpers/document-base-url":599,"../helpers/events":600,"../helpers/form-controls":602,"../helpers/internal-constants":605,"./HTMLElement-impl":673,"domexception/webidl2js-wrapper":243,"whatwg-url":1113}],678:[function(require,module,exports){ "use strict"; const MIMEType = require("whatwg-mimetype"); @@ -148380,7 +149511,7 @@ module.exports = { implementation: HTMLFrameElementImpl }; -},{"../../browser/Window":310,"../../browser/parser":315,"../attributes":327,"../generated/utils":567,"../helpers/document-base-url":575,"../helpers/events":576,"../window/navigation":745,"./HTMLElement-impl":649,"html-encoding-sniffer":296,"whatwg-encoding":1054,"whatwg-mimetype":1074,"whatwg-url":1089}],655:[function(require,module,exports){ +},{"../../browser/Window":334,"../../browser/parser":339,"../attributes":351,"../generated/utils":591,"../helpers/document-base-url":599,"../helpers/events":600,"../window/navigation":769,"./HTMLElement-impl":673,"html-encoding-sniffer":320,"whatwg-encoding":1078,"whatwg-mimetype":1098,"whatwg-url":1113}],679:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -148399,7 +149530,7 @@ module.exports = { implementation: HTMLFrameSetElementImpl }; -},{"../../utils":752,"./HTMLElement-impl":649,"./WindowEventHandlers-impl":722}],656:[function(require,module,exports){ +},{"../../utils":776,"./HTMLElement-impl":673,"./WindowEventHandlers-impl":746}],680:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -148410,7 +149541,7 @@ module.exports = { implementation: HTMLHRElementImpl }; -},{"./HTMLElement-impl":649}],657:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],681:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -148421,7 +149552,7 @@ module.exports = { implementation: HTMLHeadElementImpl }; -},{"./HTMLElement-impl":649}],658:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],682:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -148432,7 +149563,7 @@ module.exports = { implementation: HTMLHeadingElementImpl }; -},{"./HTMLElement-impl":649}],659:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],683:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -148443,7 +149574,7 @@ module.exports = { implementation: HTMLHtmlElementImpl }; -},{"./HTMLElement-impl":649}],660:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],684:[function(require,module,exports){ "use strict"; const whatwgURL = require("whatwg-url"); const { parseURLToResultingURLRecord } = require("../helpers/document-base-url"); @@ -148816,7 +149947,7 @@ function updateHref(hheu) { hheu.setAttributeNS(null, "href", whatwgURL.serializeURL(hheu.url)); } -},{"../helpers/document-base-url":575,"../helpers/strings":592,"../window/navigation":745,"whatwg-url":1089}],661:[function(require,module,exports){ +},{"../helpers/document-base-url":599,"../helpers/strings":616,"../window/navigation":769,"whatwg-url":1113}],685:[function(require,module,exports){ "use strict"; const HTMLFrameElementImpl = require("./HTMLFrameElement-impl").implementation; @@ -148827,7 +149958,7 @@ module.exports = { implementation: HTMLIFrameElementImpl }; -},{"./HTMLFrameElement-impl":654}],662:[function(require,module,exports){ +},{"./HTMLFrameElement-impl":678}],686:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); const { serializeURL } = require("whatwg-url"); @@ -148961,7 +150092,7 @@ module.exports = { implementation: HTMLImageElementImpl }; -},{"../../utils":752,"../helpers/document-base-url":575,"./HTMLElement-impl":649,"webidl-conversions":1051,"whatwg-url":1089}],663:[function(require,module,exports){ +},{"../../utils":776,"../helpers/document-base-url":599,"./HTMLElement-impl":673,"webidl-conversions":1075,"whatwg-url":1113}],687:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); const FileList = require("../generated/FileList"); @@ -150091,7 +151222,7 @@ module.exports = { implementation: HTMLInputElementImpl }; -},{"../../utils":752,"../constraint-validation/DefaultConstraintValidation-impl":330,"../generated/FileList":411,"../generated/ValidityState":557,"../generated/utils":567,"../helpers/dates-and-times":573,"../helpers/events":576,"../helpers/form-controls":578,"../helpers/internal-constants":581,"../helpers/number-and-date-inputs":587,"../helpers/strings":592,"./HTMLElement-impl":649,"decimal.js":201,"domexception/webidl2js-wrapper":219}],664:[function(require,module,exports){ +},{"../../utils":776,"../constraint-validation/DefaultConstraintValidation-impl":354,"../generated/FileList":435,"../generated/ValidityState":581,"../generated/utils":591,"../helpers/dates-and-times":597,"../helpers/events":600,"../helpers/form-controls":602,"../helpers/internal-constants":605,"../helpers/number-and-date-inputs":611,"../helpers/strings":616,"./HTMLElement-impl":673,"decimal.js":225,"domexception/webidl2js-wrapper":243}],688:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150102,7 +151233,7 @@ module.exports = { implementation: HTMLLIElementImpl }; -},{"./HTMLElement-impl":649}],665:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],689:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150198,7 +151329,7 @@ module.exports = { implementation: HTMLLabelElementImpl }; -},{"../generated/MouseEvent":505,"../helpers/events":576,"../helpers/form-controls":578,"../helpers/internal-constants":581,"../helpers/node":586,"../node-type":617,"./HTMLElement-impl":649}],666:[function(require,module,exports){ +},{"../generated/MouseEvent":529,"../helpers/events":600,"../helpers/form-controls":602,"../helpers/internal-constants":605,"../helpers/node":610,"../node-type":641,"./HTMLElement-impl":673}],690:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; const { formOwner } = require("../helpers/form-controls"); @@ -150218,7 +151349,7 @@ module.exports = { implementation: HTMLLegendElementImpl }; -},{"../helpers/form-controls":578,"../helpers/namespaces":585,"./HTMLElement-impl":649}],667:[function(require,module,exports){ +},{"../helpers/form-controls":602,"../helpers/namespaces":609,"./HTMLElement-impl":673}],691:[function(require,module,exports){ "use strict"; const DOMTokenList = require("../generated/DOMTokenList"); const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150321,7 +151452,7 @@ function isExternalResourceLink(el) { return el.hasAttributeNS(null, "href"); } -},{"../generated/DOMTokenList":392,"../generated/utils":567,"../helpers/document-base-url":575,"../helpers/stylesheets":594,"./HTMLElement-impl":649,"whatwg-url":1089}],668:[function(require,module,exports){ +},{"../generated/DOMTokenList":416,"../generated/utils":591,"../helpers/document-base-url":599,"../helpers/stylesheets":618,"./HTMLElement-impl":673,"whatwg-url":1113}],692:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150336,7 +151467,7 @@ module.exports = { implementation: HTMLMapElementImpl }; -},{"./HTMLElement-impl":649}],669:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],693:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150347,7 +151478,7 @@ module.exports = { implementation: HTMLMarqueeElementImpl }; -},{"./HTMLElement-impl":649}],670:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],694:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150487,7 +151618,7 @@ module.exports = { implementation: HTMLMediaElementImpl }; -},{"../../browser/not-implemented":313,"../helpers/events":576,"./HTMLElement-impl":649,"domexception/webidl2js-wrapper":219}],671:[function(require,module,exports){ +},{"../../browser/not-implemented":337,"../helpers/events":600,"./HTMLElement-impl":673,"domexception/webidl2js-wrapper":243}],695:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150498,7 +151629,7 @@ module.exports = { implementation: HTMLMenuElementImpl }; -},{"./HTMLElement-impl":649}],672:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],696:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150509,7 +151640,7 @@ module.exports = { implementation: HTMLMetaElementImpl }; -},{"./HTMLElement-impl":649}],673:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],697:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150691,7 +151822,7 @@ module.exports = { implementation: HTMLMeterElementImpl }; -},{"../helpers/form-controls":578,"../helpers/strings":592,"./HTMLElement-impl":649}],674:[function(require,module,exports){ +},{"../helpers/form-controls":602,"../helpers/strings":616,"./HTMLElement-impl":673}],698:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150702,7 +151833,7 @@ module.exports = { implementation: HTMLModElementImpl }; -},{"./HTMLElement-impl":649}],675:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],699:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150726,7 +151857,7 @@ module.exports = { implementation: HTMLOListElementImpl }; -},{"./HTMLElement-impl":649}],676:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],700:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; const DefaultConstraintValidationImpl = @@ -150754,7 +151885,7 @@ module.exports = { implementation: HTMLObjectElementImpl }; -},{"../../utils":752,"../constraint-validation/DefaultConstraintValidation-impl":330,"../helpers/form-controls":578,"./HTMLElement-impl":649}],677:[function(require,module,exports){ +},{"../../utils":776,"../constraint-validation/DefaultConstraintValidation-impl":354,"../helpers/form-controls":602,"./HTMLElement-impl":673}],701:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150765,7 +151896,7 @@ module.exports = { implementation: HTMLOptGroupElementImpl }; -},{"./HTMLElement-impl":649}],678:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],702:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -150913,7 +152044,7 @@ module.exports = { implementation: HTMLOptionElementImpl }; -},{"../helpers/form-controls":578,"../helpers/internal-constants":581,"../helpers/namespaces":585,"../helpers/strings":592,"../helpers/traversal":598,"../node-type":617,"./HTMLElement-impl":649}],679:[function(require,module,exports){ +},{"../helpers/form-controls":602,"../helpers/internal-constants":605,"../helpers/namespaces":609,"../helpers/strings":616,"../helpers/traversal":622,"../node-type":641,"./HTMLElement-impl":673}],703:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils.js"); @@ -151025,7 +152156,7 @@ exports.implementation = class HTMLOptionsCollectionImpl extends HTMLCollectionI } }; -},{"../generated/Element":396,"../generated/Node":513,"../generated/utils.js":567,"../node-document-position":616,"./HTMLCollection-impl":641,"domexception/webidl2js-wrapper":219}],680:[function(require,module,exports){ +},{"../generated/Element":420,"../generated/Node":537,"../generated/utils.js":591,"../node-document-position":640,"./HTMLCollection-impl":665,"domexception/webidl2js-wrapper":243}],704:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -151112,7 +152243,7 @@ class HTMLOrSVGElementImpl { exports.implementation = HTMLOrSVGElementImpl; -},{"../generated/DOMStringMap":391,"../helpers/details":574,"../helpers/focusing":577,"../helpers/namespaces":585,"webidl-conversions":1051}],681:[function(require,module,exports){ +},{"../generated/DOMStringMap":415,"../helpers/details":598,"../helpers/focusing":601,"../helpers/namespaces":609,"webidl-conversions":1075}],705:[function(require,module,exports){ "use strict"; const DOMTokenList = require("../generated/DOMTokenList"); @@ -151202,7 +152333,7 @@ module.exports = { implementation: HTMLOutputElementImpl }; -},{"../../utils":752,"../constraint-validation/DefaultConstraintValidation-impl":330,"../generated/DOMTokenList":392,"../helpers/form-controls":578,"./HTMLElement-impl":649}],682:[function(require,module,exports){ +},{"../../utils":776,"../constraint-validation/DefaultConstraintValidation-impl":354,"../generated/DOMTokenList":416,"../helpers/form-controls":602,"./HTMLElement-impl":673}],706:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -151213,7 +152344,7 @@ module.exports = { implementation: HTMLParagraphElementImpl }; -},{"./HTMLElement-impl":649}],683:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],707:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -151224,7 +152355,7 @@ module.exports = { implementation: HTMLParamElementImpl }; -},{"./HTMLElement-impl":649}],684:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],708:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -151235,7 +152366,7 @@ module.exports = { implementation: HTMLPictureElementImpl }; -},{"./HTMLElement-impl":649}],685:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],709:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -151246,7 +152377,7 @@ module.exports = { implementation: HTMLPreElementImpl }; -},{"./HTMLElement-impl":649}],686:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],710:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -151322,7 +152453,7 @@ module.exports = { implementation: HTMLProgressElementImpl }; -},{"../helpers/form-controls":578,"../helpers/strings":592,"./HTMLElement-impl":649}],687:[function(require,module,exports){ +},{"../helpers/form-controls":602,"../helpers/strings":616,"./HTMLElement-impl":673}],711:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -151333,7 +152464,7 @@ module.exports = { implementation: HTMLQuoteElementImpl }; -},{"./HTMLElement-impl":649}],688:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],712:[function(require,module,exports){ "use strict"; const vm = require("vm"); const whatwgEncoding = require("whatwg-encoding"); @@ -151600,7 +152731,7 @@ module.exports = { implementation: HTMLScriptElementImpl }; -},{"../helpers/document-base-url":575,"../helpers/events":576,"../helpers/internal-constants":581,"../helpers/runtime-script-errors":589,"../helpers/strings":592,"../helpers/text":597,"../node-type":617,"./HTMLElement-impl":649,"vm":754,"whatwg-encoding":1054,"whatwg-mimetype":1074,"whatwg-url":1089}],689:[function(require,module,exports){ +},{"../helpers/document-base-url":599,"../helpers/events":600,"../helpers/internal-constants":605,"../helpers/runtime-script-errors":613,"../helpers/strings":616,"../helpers/text":621,"../node-type":641,"./HTMLElement-impl":673,"vm":778,"whatwg-encoding":1078,"whatwg-mimetype":1098,"whatwg-url":1113}],713:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -151885,7 +153016,7 @@ module.exports = { implementation: HTMLSelectElementImpl }; -},{"../../utils":752,"../constraint-validation/DefaultConstraintValidation-impl":330,"../generated/HTMLCollection":427,"../generated/HTMLOptionsCollection":464,"../generated/ValidityState":557,"../generated/utils.js":567,"../helpers/form-controls":578,"../helpers/internal-constants":581,"../helpers/strings":592,"../node-type":617,"./HTMLElement-impl":649,"webidl-conversions":1051}],690:[function(require,module,exports){ +},{"../../utils":776,"../constraint-validation/DefaultConstraintValidation-impl":354,"../generated/HTMLCollection":451,"../generated/HTMLOptionsCollection":488,"../generated/ValidityState":581,"../generated/utils.js":591,"../helpers/form-controls":602,"../helpers/internal-constants":605,"../helpers/strings":616,"../node-type":641,"./HTMLElement-impl":673,"webidl-conversions":1075}],714:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils"); @@ -151946,7 +153077,7 @@ module.exports = { implementation: HTMLSlotElementImpl }; -},{"../generated/HTMLElement":435,"../generated/utils":567,"../helpers/node":586,"../helpers/shadow-dom":591,"./HTMLElement-impl":649}],691:[function(require,module,exports){ +},{"../generated/HTMLElement":459,"../generated/utils":591,"../helpers/node":610,"../helpers/shadow-dom":615,"./HTMLElement-impl":673}],715:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -151956,7 +153087,7 @@ module.exports = { implementation: HTMLSourceElementImpl }; -},{"./HTMLElement-impl":649}],692:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],716:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -151967,7 +153098,7 @@ module.exports = { implementation: HTMLSpanElementImpl }; -},{"./HTMLElement-impl":649}],693:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],717:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; const { removeStylesheet, createStylesheet } = require("../helpers/stylesheets"); @@ -152043,7 +153174,7 @@ module.exports = { implementation: HTMLStyleElementImpl }; -},{"../helpers/document-base-url":575,"../helpers/strings":592,"../helpers/stylesheets":594,"../helpers/text":597,"./HTMLElement-impl":649}],694:[function(require,module,exports){ +},{"../helpers/document-base-url":599,"../helpers/strings":616,"../helpers/stylesheets":618,"../helpers/text":621,"./HTMLElement-impl":673}],718:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152054,7 +153185,7 @@ module.exports = { implementation: HTMLTableCaptionElementImpl }; -},{"./HTMLElement-impl":649}],695:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],719:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152129,7 +153260,7 @@ module.exports = { implementation: HTMLTableCellElementImpl }; -},{"../helpers/strings":592,"../helpers/traversal":598,"./HTMLElement-impl":649}],696:[function(require,module,exports){ +},{"../helpers/strings":616,"../helpers/traversal":622,"./HTMLElement-impl":673}],720:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152140,7 +153271,7 @@ module.exports = { implementation: HTMLTableColElementImpl }; -},{"./HTMLElement-impl":649}],697:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],721:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152378,7 +153509,7 @@ module.exports = { implementation: HTMLTableElementImpl }; -},{"../generated/HTMLCollection":427,"../helpers/internal-constants":581,"../helpers/namespaces":585,"../helpers/traversal":598,"../node-type":617,"./HTMLElement-impl":649,"domexception/webidl2js-wrapper":219}],698:[function(require,module,exports){ +},{"../generated/HTMLCollection":451,"../helpers/internal-constants":605,"../helpers/namespaces":609,"../helpers/traversal":622,"../node-type":641,"./HTMLElement-impl":673,"domexception/webidl2js-wrapper":243}],722:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -152468,7 +153599,7 @@ module.exports = { implementation: HTMLTableRowElementImpl }; -},{"../generated/HTMLCollection":427,"../helpers/internal-constants":581,"../helpers/namespaces":585,"../helpers/traversal":598,"./HTMLElement-impl":649,"domexception/webidl2js-wrapper":219}],699:[function(require,module,exports){ +},{"../generated/HTMLCollection":451,"../helpers/internal-constants":605,"../helpers/namespaces":609,"../helpers/traversal":622,"./HTMLElement-impl":673,"domexception/webidl2js-wrapper":243}],723:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152531,7 +153662,7 @@ module.exports = { implementation: HTMLTableSectionElementImpl }; -},{"../generated/HTMLCollection":427,"../helpers/traversal":598,"./HTMLElement-impl":649,"domexception/webidl2js-wrapper":219}],700:[function(require,module,exports){ +},{"../generated/HTMLCollection":451,"../helpers/traversal":622,"./HTMLElement-impl":673,"domexception/webidl2js-wrapper":243}],724:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152600,7 +153731,7 @@ module.exports = { implementation: HTMLTemplateElementImpl }; -},{"../generated/Document":393,"../generated/DocumentFragment":394,"../helpers/internal-constants":581,"../node":618,"./HTMLElement-impl":649}],701:[function(require,module,exports){ +},{"../generated/Document":417,"../generated/DocumentFragment":418,"../helpers/internal-constants":605,"../node":642,"./HTMLElement-impl":673}],725:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152846,7 +153977,7 @@ module.exports = { implementation: HTMLTextAreaElementImpl }; -},{"../../utils":752,"../constraint-validation/DefaultConstraintValidation-impl":330,"../generated/ValidityState":557,"../helpers/events":576,"../helpers/form-controls":578,"../helpers/internal-constants":581,"../helpers/text":597,"./HTMLElement-impl":649,"domexception/webidl2js-wrapper":219}],702:[function(require,module,exports){ +},{"../../utils":776,"../constraint-validation/DefaultConstraintValidation-impl":354,"../generated/ValidityState":581,"../helpers/events":600,"../helpers/form-controls":602,"../helpers/internal-constants":605,"../helpers/text":621,"./HTMLElement-impl":673,"domexception/webidl2js-wrapper":243}],726:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152857,7 +153988,7 @@ module.exports = { implementation: HTMLTimeElementImpl }; -},{"./HTMLElement-impl":649}],703:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],727:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152877,7 +154008,7 @@ module.exports = { implementation: HTMLTitleElementImpl }; -},{"../helpers/text":597,"./HTMLElement-impl":649}],704:[function(require,module,exports){ +},{"../helpers/text":621,"./HTMLElement-impl":673}],728:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152892,7 +154023,7 @@ module.exports = { implementation: HTMLTrackElementImpl }; -},{"./HTMLElement-impl":649}],705:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],729:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152903,7 +154034,7 @@ module.exports = { implementation: HTMLUListElementImpl }; -},{"./HTMLElement-impl":649}],706:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],730:[function(require,module,exports){ "use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; @@ -152914,7 +154045,7 @@ module.exports = { implementation: HTMLUnknownElementImpl }; -},{"./HTMLElement-impl":649}],707:[function(require,module,exports){ +},{"./HTMLElement-impl":673}],731:[function(require,module,exports){ "use strict"; const HTMLMediaElementImpl = require("./HTMLMediaElement-impl").implementation; @@ -152933,7 +154064,7 @@ module.exports = { implementation: HTMLVideoElementImpl }; -},{"./HTMLMediaElement-impl":670}],708:[function(require,module,exports){ +},{"./HTMLMediaElement-impl":694}],732:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -154100,7 +155231,7 @@ module.exports = { implementation: NodeImpl }; -},{"../../utils":752,"../attributes":327,"../events/EventTarget-impl":346,"../generated/NodeList":516,"../helpers/custom-elements":572,"../helpers/document-base-url":575,"../helpers/internal-constants":581,"../helpers/mutation-observers":584,"../helpers/node":586,"../helpers/shadow-dom":591,"../node":618,"../node-document-position":616,"../node-type":617,"domexception/webidl2js-wrapper":219}],709:[function(require,module,exports){ +},{"../../utils":776,"../attributes":351,"../events/EventTarget-impl":370,"../generated/NodeList":540,"../helpers/custom-elements":596,"../helpers/document-base-url":599,"../helpers/internal-constants":605,"../helpers/mutation-observers":608,"../helpers/node":610,"../helpers/shadow-dom":615,"../node":642,"../node-document-position":640,"../node-type":641,"domexception/webidl2js-wrapper":243}],733:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils.js"); @@ -154145,7 +155276,7 @@ exports.implementation = class NodeListImpl { } }; -},{"../generated/utils.js":567}],710:[function(require,module,exports){ +},{"../generated/utils.js":591}],734:[function(require,module,exports){ "use strict"; const { domSymbolTree } = require("../helpers/internal-constants"); @@ -154175,7 +155306,7 @@ module.exports = { implementation: NonDocumentTypeChildNodeImpl }; -},{"../helpers/internal-constants":581,"../node-type":617}],711:[function(require,module,exports){ +},{"../helpers/internal-constants":605,"../node-type":641}],735:[function(require,module,exports){ "use strict"; // https://dom.spec.whatwg.org/#interface-nonelementparentnode @@ -154188,7 +155319,7 @@ module.exports = { implementation: NonElementParentNodeImpl }; -},{}],712:[function(require,module,exports){ +},{}],736:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils"); @@ -154281,7 +155412,7 @@ module.exports = { implementation: ParentNodeImpl }; -},{"../generated/HTMLCollection":427,"../generated/NodeList":516,"../generated/utils":567,"../helpers/internal-constants":581,"../helpers/selectors":590,"../node":618,"../node-type":617}],713:[function(require,module,exports){ +},{"../generated/HTMLCollection":451,"../generated/NodeList":540,"../generated/utils":591,"../helpers/internal-constants":605,"../helpers/selectors":614,"../node":642,"../node-type":641}],737:[function(require,module,exports){ "use strict"; const CharacterDataImpl = require("./CharacterData-impl").implementation; @@ -154305,7 +155436,7 @@ module.exports = { implementation: ProcessingInstructionImpl }; -},{"../node-type":617,"./CharacterData-impl":620}],714:[function(require,module,exports){ +},{"../node-type":641,"./CharacterData-impl":644}],738:[function(require,module,exports){ "use strict"; const { domSymbolTree } = require("../helpers/internal-constants"); @@ -154371,7 +155502,7 @@ mixin(SVGElementImpl.prototype, HTMLOrSVGElementImpl.prototype); exports.implementation = SVGElementImpl; -},{"../../utils":752,"../generated/SVGAnimatedString":530,"../helpers/internal-constants":581,"../helpers/namespaces":585,"./Element-impl":630,"./ElementCSSInlineStyle-impl":631,"./GlobalEventHandlers-impl":632,"./HTMLOrSVGElement-impl":680}],715:[function(require,module,exports){ +},{"../../utils":776,"../generated/SVGAnimatedString":554,"../helpers/internal-constants":605,"../helpers/namespaces":609,"./Element-impl":654,"./ElementCSSInlineStyle-impl":655,"./GlobalEventHandlers-impl":656,"./HTMLOrSVGElement-impl":704}],739:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); @@ -154389,7 +155520,7 @@ mixin(SVGGraphicsElementImpl.prototype, SVGTestsImpl.prototype); exports.implementation = SVGGraphicsElementImpl; -},{"../../utils":752,"./SVGElement-impl":714,"./SVGTests-impl":717}],716:[function(require,module,exports){ +},{"../../utils":776,"./SVGElement-impl":738,"./SVGTests-impl":741}],740:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); @@ -154433,7 +155564,7 @@ module.exports = { implementation: SVGSVGElementImpl }; -},{"../../utils":752,"../generated/SVGNumber":533,"../helpers/internal-constants":581,"../node-type":617,"./SVGGraphicsElement-impl":715,"./WindowEventHandlers-impl":722}],717:[function(require,module,exports){ +},{"../../utils":776,"../generated/SVGNumber":557,"../helpers/internal-constants":605,"../node-type":641,"./SVGGraphicsElement-impl":739,"./WindowEventHandlers-impl":746}],741:[function(require,module,exports){ "use strict"; const { splitOnASCIIWhitespace, splitOnCommas } = require("../helpers/strings"); @@ -154477,7 +155608,7 @@ SVGTestsImpl.attributeRegistry = new Map([ exports.implementation = SVGTestsImpl; -},{"../generated/SVGStringList":535,"../helpers/strings":592,"../helpers/svg/basic-types":595}],718:[function(require,module,exports){ +},{"../generated/SVGStringList":559,"../helpers/strings":616,"../helpers/svg/basic-types":619}],742:[function(require,module,exports){ "use strict"; const SVGElementImpl = require("./SVGElement-impl").implementation; @@ -154488,7 +155619,7 @@ module.exports = { implementation: SVGTitleElementImpl }; -},{"./SVGElement-impl":714}],719:[function(require,module,exports){ +},{"./SVGElement-impl":738}],743:[function(require,module,exports){ "use strict"; const { nodeRoot } = require("../helpers/node"); @@ -154530,7 +155661,7 @@ module.exports = { implementation: ShadowRootImpl }; -},{"../../utils":752,"../domparsing/InnerHTML-impl":336,"../helpers/node":586,"./DocumentFragment-impl":627,"./DocumentOrShadowRoot-impl":628}],720:[function(require,module,exports){ +},{"../../utils":776,"../domparsing/InnerHTML-impl":360,"../helpers/node":610,"./DocumentFragment-impl":651,"./DocumentOrShadowRoot-impl":652}],744:[function(require,module,exports){ "use strict"; const { findSlot, assignSlot, assignSlotable } = require("../helpers/shadow-dom"); @@ -154580,7 +155711,7 @@ module.exports = { implementation: SlotableMixinImpl }; -},{"../helpers/shadow-dom":591}],721:[function(require,module,exports){ +},{"../helpers/shadow-dom":615}],745:[function(require,module,exports){ "use strict"; const SlotableMixinImpl = require("./Slotable-impl").implementation; const CharacterDataImpl = require("./CharacterData-impl").implementation; @@ -154678,7 +155809,7 @@ module.exports = { implementation: TextImpl }; -},{"../../utils":752,"../generated/utils":567,"../helpers/internal-constants":581,"../node-type":617,"./CharacterData-impl":620,"./Slotable-impl":720,"domexception/webidl2js-wrapper":219}],722:[function(require,module,exports){ +},{"../../utils":776,"../generated/utils":591,"../helpers/internal-constants":605,"../node-type":641,"./CharacterData-impl":644,"./Slotable-impl":744,"domexception/webidl2js-wrapper":243}],746:[function(require,module,exports){ "use strict"; const { createEventAccessor } = require("../helpers/create-event-accessor"); @@ -154732,13 +155863,13 @@ module.exports = { implementation: WindowEventHandlersImpl }; -},{"../helpers/create-event-accessor":571}],723:[function(require,module,exports){ +},{"../helpers/create-event-accessor":595}],747:[function(require,module,exports){ "use strict"; const DocumentImpl = require("./Document-impl").implementation; exports.implementation = class XMLDocumentImpl extends DocumentImpl {}; -},{"./Document-impl":626}],724:[function(require,module,exports){ +},{"./Document-impl":650}],748:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); const MessageEvent = require("./generated/MessageEvent"); @@ -154779,7 +155910,7 @@ module.exports = function (globalObject) { }; }; -},{"../utils":752,"./generated/MessageEvent":501,"./generated/utils":567,"./helpers/events":576,"domexception/webidl2js-wrapper":219}],725:[function(require,module,exports){ +},{"../utils":776,"./generated/MessageEvent":525,"./generated/utils":591,"./helpers/events":600,"domexception/webidl2js-wrapper":243}],749:[function(require,module,exports){ "use strict"; // https://dom.spec.whatwg.org/#abstractrange @@ -154824,7 +155955,7 @@ module.exports = { implementation: AbstractRangeImpl }; -},{}],726:[function(require,module,exports){ +},{}],750:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -155715,7 +156846,7 @@ module.exports = { setBoundaryPointEnd }; -},{"../../browser/parser/index":315,"../generated/DocumentFragment":394,"../generated/Range":529,"../generated/utils":567,"../helpers/create-element":570,"../helpers/internal-constants":581,"../helpers/namespaces":585,"../helpers/node":586,"../node":618,"../node-type":617,"./AbstractRange-impl":725,"./boundary-point":728,"domexception/webidl2js-wrapper":219}],727:[function(require,module,exports){ +},{"../../browser/parser/index":339,"../generated/DocumentFragment":418,"../generated/Range":553,"../generated/utils":591,"../helpers/create-element":594,"../helpers/internal-constants":605,"../helpers/namespaces":609,"../helpers/node":610,"../node":642,"../node-type":641,"./AbstractRange-impl":749,"./boundary-point":752,"domexception/webidl2js-wrapper":243}],751:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -155756,7 +156887,7 @@ module.exports = { implementation: StaticRangeImpl }; -},{"../node-type":617,"./AbstractRange-impl":725,"domexception/webidl2js-wrapper":219}],728:[function(require,module,exports){ +},{"../node-type":641,"./AbstractRange-impl":749,"domexception/webidl2js-wrapper":243}],752:[function(require,module,exports){ "use strict"; const { domSymbolTree } = require("../helpers/internal-constants"); @@ -155805,7 +156936,7 @@ module.exports = { compareBoundaryPointsPosition }; -},{"../helpers/internal-constants":581,"../helpers/node":586}],729:[function(require,module,exports){ +},{"../helpers/internal-constants":605,"../helpers/node":610}],753:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -156149,7 +157280,7 @@ module.exports = { implementation: SelectionImpl }; -},{"../generated/Range":529,"../generated/utils":567,"../helpers/internal-constants":581,"../helpers/node":586,"../node-type":617,"../range/Range-impl":726,"../range/boundary-point":728,"domexception/webidl2js-wrapper":219}],730:[function(require,module,exports){ +},{"../generated/Range":553,"../generated/utils":591,"../helpers/internal-constants":605,"../helpers/node":610,"../node-type":641,"../range/Range-impl":750,"../range/boundary-point":752,"domexception/webidl2js-wrapper":243}],754:[function(require,module,exports){ "use strict"; class SVGAnimatedStringImpl { @@ -156189,7 +157320,7 @@ class SVGAnimatedStringImpl { exports.implementation = SVGAnimatedStringImpl; -},{}],731:[function(require,module,exports){ +},{}],755:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -156386,7 +157517,7 @@ class List { module.exports = List; -},{"../generated/utils":567,"../helpers/svg/basic-types":595,"domexception/webidl2js-wrapper":219}],732:[function(require,module,exports){ +},{"../generated/utils":591,"../helpers/svg/basic-types":619,"domexception/webidl2js-wrapper":243}],756:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -156436,7 +157567,7 @@ class SVGNumberImpl { exports.implementation = SVGNumberImpl; -},{"domexception/webidl2js-wrapper":219}],733:[function(require,module,exports){ +},{"domexception/webidl2js-wrapper":243}],757:[function(require,module,exports){ "use strict"; const { mixin } = require("../../utils"); @@ -156454,7 +157585,7 @@ mixin(SVGStringListImpl.prototype, SVGListBase.prototype); exports.implementation = SVGStringListImpl; -},{"../../utils":752,"./SVGListBase":731}],734:[function(require,module,exports){ +},{"../../utils":776,"./SVGListBase":755}],758:[function(require,module,exports){ "use strict"; const { hasWeakRefs } = require("../../utils"); const { domSymbolTree } = require("../helpers/internal-constants"); @@ -156583,7 +157714,7 @@ exports.implementation = class NodeIteratorImpl { } }; -},{"../../utils":752,"../helpers/internal-constants":581,"./helpers":736}],735:[function(require,module,exports){ +},{"../../utils":776,"../helpers/internal-constants":605,"./helpers":760}],759:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -156802,7 +157933,7 @@ exports.implementation = class TreeWalkerImpl { } }; -},{"./helpers":736,"domexception/webidl2js-wrapper":219}],736:[function(require,module,exports){ +},{"./helpers":760,"domexception/webidl2js-wrapper":243}],760:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); const conversions = require("webidl-conversions"); @@ -156848,7 +157979,7 @@ exports.filter = (nodeIteratorOrTreeWalkerImpl, nodeImpl) => { return result; }; -},{"domexception/webidl2js-wrapper":219,"webidl-conversions":1051}],737:[function(require,module,exports){ +},{"domexception/webidl2js-wrapper":243,"webidl-conversions":1075}],761:[function(require,module,exports){ (function (Buffer){(function (){ /* eslint-env browser */ @@ -157027,7 +158158,7 @@ setupForSimpleEventAccessors(WebSocketImpl.prototype, ["open", "message", "error exports.implementation = WebSocketImpl; }).call(this)}).call(this,require("buffer").Buffer) -},{"../events/EventTarget-impl":346,"../generated/Blob":375,"../generated/CloseEvent":380,"../generated/MessageEvent":501,"../generated/utils":567,"../helpers/create-event-accessor":571,"../helpers/events":576,"buffer":100,"domexception/webidl2js-wrapper":219,"whatwg-url":1089}],738:[function(require,module,exports){ +},{"../events/EventTarget-impl":370,"../generated/Blob":399,"../generated/CloseEvent":404,"../generated/MessageEvent":525,"../generated/utils":591,"../helpers/create-event-accessor":595,"../helpers/events":600,"buffer":124,"domexception/webidl2js-wrapper":243,"whatwg-url":1113}],762:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); @@ -157131,7 +158262,7 @@ module.exports = { implementation: StorageImpl }; -},{"../generated/StorageEvent":546,"../generated/utils":567,"../helpers/events":576,"domexception/webidl2js-wrapper":219}],739:[function(require,module,exports){ +},{"../generated/StorageEvent":570,"../generated/utils":591,"../helpers/events":600,"domexception/webidl2js-wrapper":243}],763:[function(require,module,exports){ "use strict"; // https://html.spec.whatwg.org/multipage/window-object.html#browser-interface-elements @@ -157143,7 +158274,7 @@ BarPropImpl.prototype.visible = true; exports.implementation = BarPropImpl; -},{}],740:[function(require,module,exports){ +},{}],764:[function(require,module,exports){ "use strict"; // https://html.spec.whatwg.org/multipage/obsolete.html#dom-external @@ -157154,7 +158285,7 @@ exports.implementation = class ExternalImpl { IsSearchProviderInstalled() {} }; -},{}],741:[function(require,module,exports){ +},{}],765:[function(require,module,exports){ "use strict"; const DOMException = require("domexception/webidl2js-wrapper"); const { documentBaseURLSerialized, parseURLToResultingURLRecord } = require("../helpers/document-base-url.js"); @@ -157290,7 +158421,7 @@ exports.implementation = class HistoryImpl { } }; -},{"../helpers/document-base-url.js":575,"domexception/webidl2js-wrapper":219}],742:[function(require,module,exports){ +},{"../helpers/document-base-url.js":599,"domexception/webidl2js-wrapper":243}],766:[function(require,module,exports){ "use strict"; const whatwgURL = require("whatwg-url"); const DOMException = require("domexception/webidl2js-wrapper"); @@ -157530,7 +158661,7 @@ exports.implementation = class LocationImpl { } }; -},{"../helpers/document-base-url":575,"./navigation":745,"domexception/webidl2js-wrapper":219,"whatwg-url":1089}],743:[function(require,module,exports){ +},{"../helpers/document-base-url":599,"./navigation":769,"domexception/webidl2js-wrapper":243,"whatwg-url":1113}],767:[function(require,module,exports){ "use strict"; // https://drafts.csswg.org/cssom-view-1/#the-screen-interface @@ -157545,7 +158676,7 @@ ScreenImpl.prototype.pixelDepth = 24; exports.implementation = ScreenImpl; -},{}],744:[function(require,module,exports){ +},{}],768:[function(require,module,exports){ "use strict"; const whatwgURL = require("whatwg-url"); const HashChangeEvent = require("../generated/HashChangeEvent.js"); @@ -157710,7 +158841,7 @@ class SessionHistory { } module.exports = SessionHistory; -},{"../../browser/not-implemented.js":313,"../generated/HashChangeEvent.js":492,"../generated/PopStateEvent.js":524,"../generated/utils.js":567,"../helpers/events":576,"whatwg-url":1089}],745:[function(require,module,exports){ +},{"../../browser/not-implemented.js":337,"../generated/HashChangeEvent.js":516,"../generated/PopStateEvent.js":548,"../generated/utils.js":591,"../helpers/events":600,"whatwg-url":1113}],769:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; const whatwgURL = require("whatwg-url"); @@ -157798,7 +158929,7 @@ function urlEquals(a, b, flags) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"../../browser/not-implemented.js":313,"../generated/utils.js":567,"../helpers/runtime-script-errors.js":589,"buffer":100,"whatwg-url":1089}],746:[function(require,module,exports){ +},{"../../browser/not-implemented.js":337,"../generated/utils.js":591,"../helpers/runtime-script-errors.js":613,"buffer":124,"whatwg-url":1113}],770:[function(require,module,exports){ "use strict"; const idlUtils = require("../generated/utils"); const { closest } = require("../helpers/traversal"); @@ -157976,7 +159107,7 @@ function appendAnEntry(entryList, name, value, preventLineBreakNormalization = f entryList.push(entry); } -},{"../generated/Blob.js":375,"../generated/File.js":410,"../generated/utils":567,"../helpers/form-controls":578,"../helpers/traversal":598,"webidl-conversions":1051}],747:[function(require,module,exports){ +},{"../generated/Blob.js":399,"../generated/File.js":434,"../generated/utils":591,"../helpers/form-controls":602,"../helpers/traversal":622,"webidl-conversions":1075}],771:[function(require,module,exports){ (function (process,Buffer){(function (){ "use strict"; @@ -159003,7 +160134,7 @@ function extractBody(bodyInit) { exports.implementation = XMLHttpRequestImpl; }).call(this)}).call(this,require('_process'),require("buffer").Buffer) -},{"../../browser/parser":315,"../domparsing/serialization":339,"../generated/Blob":375,"../generated/Document":393,"../generated/FormData":416,"../generated/ProgressEvent":527,"../generated/XMLHttpRequestUpload":565,"../generated/utils":567,"../helpers/binary-data":569,"../helpers/create-event-accessor":571,"../helpers/document-base-url":575,"../helpers/events":576,"../helpers/json":583,"../helpers/strings":592,"./XMLHttpRequestEventTarget-impl":748,"./xhr-utils":750,"_process":950,"buffer":100,"child_process":98,"domexception/webidl2js-wrapper":219,"http":995,"tough-cookie":1020,"whatwg-encoding":1054,"whatwg-mimetype":1074,"whatwg-url":1089}],748:[function(require,module,exports){ +},{"../../browser/parser":339,"../domparsing/serialization":363,"../generated/Blob":399,"../generated/Document":417,"../generated/FormData":440,"../generated/ProgressEvent":551,"../generated/XMLHttpRequestUpload":589,"../generated/utils":591,"../helpers/binary-data":593,"../helpers/create-event-accessor":595,"../helpers/document-base-url":599,"../helpers/events":600,"../helpers/json":607,"../helpers/strings":616,"./XMLHttpRequestEventTarget-impl":772,"./xhr-utils":774,"_process":974,"buffer":124,"child_process":122,"domexception/webidl2js-wrapper":243,"http":1019,"tough-cookie":1044,"whatwg-encoding":1078,"whatwg-mimetype":1098,"whatwg-url":1113}],772:[function(require,module,exports){ "use strict"; const EventTargetImpl = require("../events/EventTarget-impl").implementation; const idlUtils = require("../generated/utils"); @@ -159022,13 +160153,13 @@ setupForSimpleEventAccessors(XMLHttpRequestEventTargetImpl.prototype, events); exports.implementation = XMLHttpRequestEventTargetImpl; -},{"../events/EventTarget-impl":346,"../generated/utils":567,"../helpers/create-event-accessor":571}],749:[function(require,module,exports){ +},{"../events/EventTarget-impl":370,"../generated/utils":591,"../helpers/create-event-accessor":595}],773:[function(require,module,exports){ "use strict"; const XMLHttpRequestEventTargetImpl = require("./XMLHttpRequestEventTarget-impl").implementation; exports.implementation = class XMLHttpRequestUploadImpl extends XMLHttpRequestEventTargetImpl {}; -},{"./XMLHttpRequestEventTarget-impl":748}],750:[function(require,module,exports){ +},{"./XMLHttpRequestEventTarget-impl":772}],774:[function(require,module,exports){ (function (process,Buffer,setImmediate){(function (){ "use strict"; const fs = require("fs"); @@ -159470,7 +160601,7 @@ exports.setResponseToNetworkError = setResponseToNetworkError; exports.createClient = createClient; }).call(this)}).call(this,require('_process'),require("buffer").Buffer,require("timers").setImmediate) -},{"../generated/ProgressEvent":527,"../helpers/agent-factory":568,"../helpers/events":576,"../helpers/http-request":580,"_process":950,"buffer":100,"data-urls":197,"domexception/webidl2js-wrapper":219,"events":256,"form-data":259,"fs":98,"timers":1019,"whatwg-url":1089}],751:[function(require,module,exports){ +},{"../generated/ProgressEvent":551,"../helpers/agent-factory":592,"../helpers/events":600,"../helpers/http-request":604,"_process":974,"buffer":124,"data-urls":221,"domexception/webidl2js-wrapper":243,"events":280,"form-data":283,"fs":122,"timers":1043,"whatwg-url":1113}],775:[function(require,module,exports){ "use strict"; // https://heycam.github.io/webidl/#idl-named-properties @@ -159630,7 +160761,7 @@ NamedPropertiesTracker.prototype.untrack = function (name, value) { delete this.object[name]; }; -},{}],752:[function(require,module,exports){ +},{}],776:[function(require,module,exports){ (function (process){(function (){ "use strict"; const path = require("path"); @@ -159799,7 +160930,7 @@ if (canvasInstalled) { } }).call(this)}).call(this,require('_process')) -},{"./living/helpers/internal-constants":581,"_process":950,"canvas":53,"path":942,"symbol-tree":1015,"whatwg-url":1089}],753:[function(require,module,exports){ +},{"./living/helpers/internal-constants":605,"_process":974,"canvas":77,"path":966,"symbol-tree":1039,"whatwg-url":1113}],777:[function(require,module,exports){ "use strict"; const { EventEmitter } = require("events"); @@ -159835,7 +160966,7 @@ module.exports = class VirtualConsole extends EventEmitter { } }; -},{"events":256}],754:[function(require,module,exports){ +},{"events":280}],778:[function(require,module,exports){ (function (global){(function (){ "use strict"; /* eslint-disable no-new-func */ @@ -159945,7 +161076,7 @@ exports.Script = class VMShimScript { }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./browser/js-globals.json":312,"acorn":755,"acorn-globals":23,"escodegen":238}],755:[function(require,module,exports){ +},{"./browser/js-globals.json":336,"acorn":779,"acorn-globals":47,"escodegen":262}],779:[function(require,module,exports){ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : @@ -165472,7 +166603,7 @@ exports.Script = class VMShimScript { }))); -},{}],756:[function(require,module,exports){ +},{}],780:[function(require,module,exports){ module.exports={ "name": "jsdom", "version": "16.6.0", @@ -165590,7 +166721,7 @@ module.exports={ } } -},{}],757:[function(require,module,exports){ +},{}],781:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); @@ -165599,7 +166730,7 @@ var DataView = getNative(root, 'DataView'); module.exports = DataView; -},{"./_getNative":819,"./_root":857}],758:[function(require,module,exports){ +},{"./_getNative":843,"./_root":881}],782:[function(require,module,exports){ var hashClear = require('./_hashClear'), hashDelete = require('./_hashDelete'), hashGet = require('./_hashGet'), @@ -165633,7 +166764,7 @@ Hash.prototype.set = hashSet; module.exports = Hash; -},{"./_hashClear":825,"./_hashDelete":826,"./_hashGet":827,"./_hashHas":828,"./_hashSet":829}],759:[function(require,module,exports){ +},{"./_hashClear":849,"./_hashDelete":850,"./_hashGet":851,"./_hashHas":852,"./_hashSet":853}],783:[function(require,module,exports){ var listCacheClear = require('./_listCacheClear'), listCacheDelete = require('./_listCacheDelete'), listCacheGet = require('./_listCacheGet'), @@ -165667,7 +166798,7 @@ ListCache.prototype.set = listCacheSet; module.exports = ListCache; -},{"./_listCacheClear":838,"./_listCacheDelete":839,"./_listCacheGet":840,"./_listCacheHas":841,"./_listCacheSet":842}],760:[function(require,module,exports){ +},{"./_listCacheClear":862,"./_listCacheDelete":863,"./_listCacheGet":864,"./_listCacheHas":865,"./_listCacheSet":866}],784:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); @@ -165676,7 +166807,7 @@ var Map = getNative(root, 'Map'); module.exports = Map; -},{"./_getNative":819,"./_root":857}],761:[function(require,module,exports){ +},{"./_getNative":843,"./_root":881}],785:[function(require,module,exports){ var mapCacheClear = require('./_mapCacheClear'), mapCacheDelete = require('./_mapCacheDelete'), mapCacheGet = require('./_mapCacheGet'), @@ -165710,7 +166841,7 @@ MapCache.prototype.set = mapCacheSet; module.exports = MapCache; -},{"./_mapCacheClear":843,"./_mapCacheDelete":844,"./_mapCacheGet":845,"./_mapCacheHas":846,"./_mapCacheSet":847}],762:[function(require,module,exports){ +},{"./_mapCacheClear":867,"./_mapCacheDelete":868,"./_mapCacheGet":869,"./_mapCacheHas":870,"./_mapCacheSet":871}],786:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); @@ -165719,7 +166850,7 @@ var Promise = getNative(root, 'Promise'); module.exports = Promise; -},{"./_getNative":819,"./_root":857}],763:[function(require,module,exports){ +},{"./_getNative":843,"./_root":881}],787:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); @@ -165728,7 +166859,7 @@ var Set = getNative(root, 'Set'); module.exports = Set; -},{"./_getNative":819,"./_root":857}],764:[function(require,module,exports){ +},{"./_getNative":843,"./_root":881}],788:[function(require,module,exports){ var MapCache = require('./_MapCache'), setCacheAdd = require('./_setCacheAdd'), setCacheHas = require('./_setCacheHas'); @@ -165757,7 +166888,7 @@ SetCache.prototype.has = setCacheHas; module.exports = SetCache; -},{"./_MapCache":761,"./_setCacheAdd":858,"./_setCacheHas":859}],765:[function(require,module,exports){ +},{"./_MapCache":785,"./_setCacheAdd":882,"./_setCacheHas":883}],789:[function(require,module,exports){ var ListCache = require('./_ListCache'), stackClear = require('./_stackClear'), stackDelete = require('./_stackDelete'), @@ -165786,7 +166917,7 @@ Stack.prototype.set = stackSet; module.exports = Stack; -},{"./_ListCache":759,"./_stackClear":863,"./_stackDelete":864,"./_stackGet":865,"./_stackHas":866,"./_stackSet":867}],766:[function(require,module,exports){ +},{"./_ListCache":783,"./_stackClear":887,"./_stackDelete":888,"./_stackGet":889,"./_stackHas":890,"./_stackSet":891}],790:[function(require,module,exports){ var root = require('./_root'); /** Built-in value references. */ @@ -165794,7 +166925,7 @@ var Symbol = root.Symbol; module.exports = Symbol; -},{"./_root":857}],767:[function(require,module,exports){ +},{"./_root":881}],791:[function(require,module,exports){ var root = require('./_root'); /** Built-in value references. */ @@ -165802,7 +166933,7 @@ var Uint8Array = root.Uint8Array; module.exports = Uint8Array; -},{"./_root":857}],768:[function(require,module,exports){ +},{"./_root":881}],792:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); @@ -165811,7 +166942,7 @@ var WeakMap = getNative(root, 'WeakMap'); module.exports = WeakMap; -},{"./_getNative":819,"./_root":857}],769:[function(require,module,exports){ +},{"./_getNative":843,"./_root":881}],793:[function(require,module,exports){ /** * A faster alternative to `Function#apply`, this function invokes `func` * with the `this` binding of `thisArg` and the arguments of `args`. @@ -165834,7 +166965,7 @@ function apply(func, thisArg, args) { module.exports = apply; -},{}],770:[function(require,module,exports){ +},{}],794:[function(require,module,exports){ /** * A specialized version of `_.filter` for arrays without support for * iteratee shorthands. @@ -165861,7 +166992,7 @@ function arrayFilter(array, predicate) { module.exports = arrayFilter; -},{}],771:[function(require,module,exports){ +},{}],795:[function(require,module,exports){ var baseTimes = require('./_baseTimes'), isArguments = require('./isArguments'), isArray = require('./isArray'), @@ -165912,7 +167043,7 @@ function arrayLikeKeys(value, inherited) { module.exports = arrayLikeKeys; -},{"./_baseTimes":801,"./_isIndex":831,"./isArguments":876,"./isArray":877,"./isBuffer":879,"./isTypedArray":885}],772:[function(require,module,exports){ +},{"./_baseTimes":825,"./_isIndex":855,"./isArguments":900,"./isArray":901,"./isBuffer":903,"./isTypedArray":909}],796:[function(require,module,exports){ /** * A specialized version of `_.map` for arrays without support for iteratee * shorthands. @@ -165935,7 +167066,7 @@ function arrayMap(array, iteratee) { module.exports = arrayMap; -},{}],773:[function(require,module,exports){ +},{}],797:[function(require,module,exports){ /** * Appends the elements of `values` to `array`. * @@ -165957,7 +167088,7 @@ function arrayPush(array, values) { module.exports = arrayPush; -},{}],774:[function(require,module,exports){ +},{}],798:[function(require,module,exports){ /** * A specialized version of `_.some` for arrays without support for iteratee * shorthands. @@ -165982,7 +167113,7 @@ function arraySome(array, predicate) { module.exports = arraySome; -},{}],775:[function(require,module,exports){ +},{}],799:[function(require,module,exports){ var eq = require('./eq'); /** @@ -166005,7 +167136,7 @@ function assocIndexOf(array, key) { module.exports = assocIndexOf; -},{"./eq":872}],776:[function(require,module,exports){ +},{"./eq":896}],800:[function(require,module,exports){ var baseForOwn = require('./_baseForOwn'), createBaseEach = require('./_createBaseEach'); @@ -166021,7 +167152,7 @@ var baseEach = createBaseEach(baseForOwn); module.exports = baseEach; -},{"./_baseForOwn":779,"./_createBaseEach":809}],777:[function(require,module,exports){ +},{"./_baseForOwn":803,"./_createBaseEach":833}],801:[function(require,module,exports){ var arrayPush = require('./_arrayPush'), isFlattenable = require('./_isFlattenable'); @@ -166061,7 +167192,7 @@ function baseFlatten(array, depth, predicate, isStrict, result) { module.exports = baseFlatten; -},{"./_arrayPush":773,"./_isFlattenable":830}],778:[function(require,module,exports){ +},{"./_arrayPush":797,"./_isFlattenable":854}],802:[function(require,module,exports){ var createBaseFor = require('./_createBaseFor'); /** @@ -166079,7 +167210,7 @@ var baseFor = createBaseFor(); module.exports = baseFor; -},{"./_createBaseFor":810}],779:[function(require,module,exports){ +},{"./_createBaseFor":834}],803:[function(require,module,exports){ var baseFor = require('./_baseFor'), keys = require('./keys'); @@ -166097,7 +167228,7 @@ function baseForOwn(object, iteratee) { module.exports = baseForOwn; -},{"./_baseFor":778,"./keys":886}],780:[function(require,module,exports){ +},{"./_baseFor":802,"./keys":910}],804:[function(require,module,exports){ var castPath = require('./_castPath'), toKey = require('./_toKey'); @@ -166123,7 +167254,7 @@ function baseGet(object, path) { module.exports = baseGet; -},{"./_castPath":805,"./_toKey":869}],781:[function(require,module,exports){ +},{"./_castPath":829,"./_toKey":893}],805:[function(require,module,exports){ var arrayPush = require('./_arrayPush'), isArray = require('./isArray'); @@ -166145,7 +167276,7 @@ function baseGetAllKeys(object, keysFunc, symbolsFunc) { module.exports = baseGetAllKeys; -},{"./_arrayPush":773,"./isArray":877}],782:[function(require,module,exports){ +},{"./_arrayPush":797,"./isArray":901}],806:[function(require,module,exports){ var Symbol = require('./_Symbol'), getRawTag = require('./_getRawTag'), objectToString = require('./_objectToString'); @@ -166175,7 +167306,7 @@ function baseGetTag(value) { module.exports = baseGetTag; -},{"./_Symbol":766,"./_getRawTag":820,"./_objectToString":854}],783:[function(require,module,exports){ +},{"./_Symbol":790,"./_getRawTag":844,"./_objectToString":878}],807:[function(require,module,exports){ /** * The base implementation of `_.hasIn` without support for deep paths. * @@ -166190,7 +167321,7 @@ function baseHasIn(object, key) { module.exports = baseHasIn; -},{}],784:[function(require,module,exports){ +},{}],808:[function(require,module,exports){ var baseGetTag = require('./_baseGetTag'), isObjectLike = require('./isObjectLike'); @@ -166210,7 +167341,7 @@ function baseIsArguments(value) { module.exports = baseIsArguments; -},{"./_baseGetTag":782,"./isObjectLike":883}],785:[function(require,module,exports){ +},{"./_baseGetTag":806,"./isObjectLike":907}],809:[function(require,module,exports){ var baseIsEqualDeep = require('./_baseIsEqualDeep'), isObjectLike = require('./isObjectLike'); @@ -166240,7 +167371,7 @@ function baseIsEqual(value, other, bitmask, customizer, stack) { module.exports = baseIsEqual; -},{"./_baseIsEqualDeep":786,"./isObjectLike":883}],786:[function(require,module,exports){ +},{"./_baseIsEqualDeep":810,"./isObjectLike":907}],810:[function(require,module,exports){ var Stack = require('./_Stack'), equalArrays = require('./_equalArrays'), equalByTag = require('./_equalByTag'), @@ -166325,7 +167456,7 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { module.exports = baseIsEqualDeep; -},{"./_Stack":765,"./_equalArrays":812,"./_equalByTag":813,"./_equalObjects":814,"./_getTag":822,"./isArray":877,"./isBuffer":879,"./isTypedArray":885}],787:[function(require,module,exports){ +},{"./_Stack":789,"./_equalArrays":836,"./_equalByTag":837,"./_equalObjects":838,"./_getTag":846,"./isArray":901,"./isBuffer":903,"./isTypedArray":909}],811:[function(require,module,exports){ var Stack = require('./_Stack'), baseIsEqual = require('./_baseIsEqual'); @@ -166389,7 +167520,7 @@ function baseIsMatch(object, source, matchData, customizer) { module.exports = baseIsMatch; -},{"./_Stack":765,"./_baseIsEqual":785}],788:[function(require,module,exports){ +},{"./_Stack":789,"./_baseIsEqual":809}],812:[function(require,module,exports){ var isFunction = require('./isFunction'), isMasked = require('./_isMasked'), isObject = require('./isObject'), @@ -166438,7 +167569,7 @@ function baseIsNative(value) { module.exports = baseIsNative; -},{"./_isMasked":835,"./_toSource":870,"./isFunction":880,"./isObject":882}],789:[function(require,module,exports){ +},{"./_isMasked":859,"./_toSource":894,"./isFunction":904,"./isObject":906}],813:[function(require,module,exports){ var baseGetTag = require('./_baseGetTag'), isLength = require('./isLength'), isObjectLike = require('./isObjectLike'); @@ -166500,7 +167631,7 @@ function baseIsTypedArray(value) { module.exports = baseIsTypedArray; -},{"./_baseGetTag":782,"./isLength":881,"./isObjectLike":883}],790:[function(require,module,exports){ +},{"./_baseGetTag":806,"./isLength":905,"./isObjectLike":907}],814:[function(require,module,exports){ var baseMatches = require('./_baseMatches'), baseMatchesProperty = require('./_baseMatchesProperty'), identity = require('./identity'), @@ -166533,7 +167664,7 @@ function baseIteratee(value) { module.exports = baseIteratee; -},{"./_baseMatches":793,"./_baseMatchesProperty":794,"./identity":875,"./isArray":877,"./property":888}],791:[function(require,module,exports){ +},{"./_baseMatches":817,"./_baseMatchesProperty":818,"./identity":899,"./isArray":901,"./property":912}],815:[function(require,module,exports){ var isPrototype = require('./_isPrototype'), nativeKeys = require('./_nativeKeys'); @@ -166565,7 +167696,7 @@ function baseKeys(object) { module.exports = baseKeys; -},{"./_isPrototype":836,"./_nativeKeys":852}],792:[function(require,module,exports){ +},{"./_isPrototype":860,"./_nativeKeys":876}],816:[function(require,module,exports){ var baseEach = require('./_baseEach'), isArrayLike = require('./isArrayLike'); @@ -166589,7 +167720,7 @@ function baseMap(collection, iteratee) { module.exports = baseMap; -},{"./_baseEach":776,"./isArrayLike":878}],793:[function(require,module,exports){ +},{"./_baseEach":800,"./isArrayLike":902}],817:[function(require,module,exports){ var baseIsMatch = require('./_baseIsMatch'), getMatchData = require('./_getMatchData'), matchesStrictComparable = require('./_matchesStrictComparable'); @@ -166613,7 +167744,7 @@ function baseMatches(source) { module.exports = baseMatches; -},{"./_baseIsMatch":787,"./_getMatchData":818,"./_matchesStrictComparable":849}],794:[function(require,module,exports){ +},{"./_baseIsMatch":811,"./_getMatchData":842,"./_matchesStrictComparable":873}],818:[function(require,module,exports){ var baseIsEqual = require('./_baseIsEqual'), get = require('./get'), hasIn = require('./hasIn'), @@ -166648,7 +167779,7 @@ function baseMatchesProperty(path, srcValue) { module.exports = baseMatchesProperty; -},{"./_baseIsEqual":785,"./_isKey":833,"./_isStrictComparable":837,"./_matchesStrictComparable":849,"./_toKey":869,"./get":873,"./hasIn":874}],795:[function(require,module,exports){ +},{"./_baseIsEqual":809,"./_isKey":857,"./_isStrictComparable":861,"./_matchesStrictComparable":873,"./_toKey":893,"./get":897,"./hasIn":898}],819:[function(require,module,exports){ var arrayMap = require('./_arrayMap'), baseGet = require('./_baseGet'), baseIteratee = require('./_baseIteratee'), @@ -166699,7 +167830,7 @@ function baseOrderBy(collection, iteratees, orders) { module.exports = baseOrderBy; -},{"./_arrayMap":772,"./_baseGet":780,"./_baseIteratee":790,"./_baseMap":792,"./_baseSortBy":800,"./_baseUnary":803,"./_compareMultiple":807,"./identity":875,"./isArray":877}],796:[function(require,module,exports){ +},{"./_arrayMap":796,"./_baseGet":804,"./_baseIteratee":814,"./_baseMap":816,"./_baseSortBy":824,"./_baseUnary":827,"./_compareMultiple":831,"./identity":899,"./isArray":901}],820:[function(require,module,exports){ /** * The base implementation of `_.property` without support for deep paths. * @@ -166715,7 +167846,7 @@ function baseProperty(key) { module.exports = baseProperty; -},{}],797:[function(require,module,exports){ +},{}],821:[function(require,module,exports){ var baseGet = require('./_baseGet'); /** @@ -166733,7 +167864,7 @@ function basePropertyDeep(path) { module.exports = basePropertyDeep; -},{"./_baseGet":780}],798:[function(require,module,exports){ +},{"./_baseGet":804}],822:[function(require,module,exports){ var identity = require('./identity'), overRest = require('./_overRest'), setToString = require('./_setToString'); @@ -166752,7 +167883,7 @@ function baseRest(func, start) { module.exports = baseRest; -},{"./_overRest":856,"./_setToString":861,"./identity":875}],799:[function(require,module,exports){ +},{"./_overRest":880,"./_setToString":885,"./identity":899}],823:[function(require,module,exports){ var constant = require('./constant'), defineProperty = require('./_defineProperty'), identity = require('./identity'); @@ -166776,7 +167907,7 @@ var baseSetToString = !defineProperty ? identity : function(func, string) { module.exports = baseSetToString; -},{"./_defineProperty":811,"./constant":871,"./identity":875}],800:[function(require,module,exports){ +},{"./_defineProperty":835,"./constant":895,"./identity":899}],824:[function(require,module,exports){ /** * The base implementation of `_.sortBy` which uses `comparer` to define the * sort order of `array` and replaces criteria objects with their corresponding @@ -166799,7 +167930,7 @@ function baseSortBy(array, comparer) { module.exports = baseSortBy; -},{}],801:[function(require,module,exports){ +},{}],825:[function(require,module,exports){ /** * The base implementation of `_.times` without support for iteratee shorthands * or max array length checks. @@ -166821,7 +167952,7 @@ function baseTimes(n, iteratee) { module.exports = baseTimes; -},{}],802:[function(require,module,exports){ +},{}],826:[function(require,module,exports){ var Symbol = require('./_Symbol'), arrayMap = require('./_arrayMap'), isArray = require('./isArray'), @@ -166860,7 +167991,7 @@ function baseToString(value) { module.exports = baseToString; -},{"./_Symbol":766,"./_arrayMap":772,"./isArray":877,"./isSymbol":884}],803:[function(require,module,exports){ +},{"./_Symbol":790,"./_arrayMap":796,"./isArray":901,"./isSymbol":908}],827:[function(require,module,exports){ /** * The base implementation of `_.unary` without support for storing metadata. * @@ -166876,7 +168007,7 @@ function baseUnary(func) { module.exports = baseUnary; -},{}],804:[function(require,module,exports){ +},{}],828:[function(require,module,exports){ /** * Checks if a `cache` value for `key` exists. * @@ -166891,7 +168022,7 @@ function cacheHas(cache, key) { module.exports = cacheHas; -},{}],805:[function(require,module,exports){ +},{}],829:[function(require,module,exports){ var isArray = require('./isArray'), isKey = require('./_isKey'), stringToPath = require('./_stringToPath'), @@ -166914,7 +168045,7 @@ function castPath(value, object) { module.exports = castPath; -},{"./_isKey":833,"./_stringToPath":868,"./isArray":877,"./toString":892}],806:[function(require,module,exports){ +},{"./_isKey":857,"./_stringToPath":892,"./isArray":901,"./toString":916}],830:[function(require,module,exports){ var isSymbol = require('./isSymbol'); /** @@ -166957,7 +168088,7 @@ function compareAscending(value, other) { module.exports = compareAscending; -},{"./isSymbol":884}],807:[function(require,module,exports){ +},{"./isSymbol":908}],831:[function(require,module,exports){ var compareAscending = require('./_compareAscending'); /** @@ -167003,7 +168134,7 @@ function compareMultiple(object, other, orders) { module.exports = compareMultiple; -},{"./_compareAscending":806}],808:[function(require,module,exports){ +},{"./_compareAscending":830}],832:[function(require,module,exports){ var root = require('./_root'); /** Used to detect overreaching core-js shims. */ @@ -167011,7 +168142,7 @@ var coreJsData = root['__core-js_shared__']; module.exports = coreJsData; -},{"./_root":857}],809:[function(require,module,exports){ +},{"./_root":881}],833:[function(require,module,exports){ var isArrayLike = require('./isArrayLike'); /** @@ -167045,7 +168176,7 @@ function createBaseEach(eachFunc, fromRight) { module.exports = createBaseEach; -},{"./isArrayLike":878}],810:[function(require,module,exports){ +},{"./isArrayLike":902}],834:[function(require,module,exports){ /** * Creates a base function for methods like `_.forIn` and `_.forOwn`. * @@ -167072,7 +168203,7 @@ function createBaseFor(fromRight) { module.exports = createBaseFor; -},{}],811:[function(require,module,exports){ +},{}],835:[function(require,module,exports){ var getNative = require('./_getNative'); var defineProperty = (function() { @@ -167085,7 +168216,7 @@ var defineProperty = (function() { module.exports = defineProperty; -},{"./_getNative":819}],812:[function(require,module,exports){ +},{"./_getNative":843}],836:[function(require,module,exports){ var SetCache = require('./_SetCache'), arraySome = require('./_arraySome'), cacheHas = require('./_cacheHas'); @@ -167171,7 +168302,7 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { module.exports = equalArrays; -},{"./_SetCache":764,"./_arraySome":774,"./_cacheHas":804}],813:[function(require,module,exports){ +},{"./_SetCache":788,"./_arraySome":798,"./_cacheHas":828}],837:[function(require,module,exports){ var Symbol = require('./_Symbol'), Uint8Array = require('./_Uint8Array'), eq = require('./eq'), @@ -167285,7 +168416,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { module.exports = equalByTag; -},{"./_Symbol":766,"./_Uint8Array":767,"./_equalArrays":812,"./_mapToArray":848,"./_setToArray":860,"./eq":872}],814:[function(require,module,exports){ +},{"./_Symbol":790,"./_Uint8Array":791,"./_equalArrays":836,"./_mapToArray":872,"./_setToArray":884,"./eq":896}],838:[function(require,module,exports){ var getAllKeys = require('./_getAllKeys'); /** Used to compose bitmasks for value comparisons. */ @@ -167377,7 +168508,7 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { module.exports = equalObjects; -},{"./_getAllKeys":816}],815:[function(require,module,exports){ +},{"./_getAllKeys":840}],839:[function(require,module,exports){ (function (global){(function (){ /** Detect free variable `global` from Node.js. */ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; @@ -167385,7 +168516,7 @@ var freeGlobal = typeof global == 'object' && global && global.Object === Object module.exports = freeGlobal; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],816:[function(require,module,exports){ +},{}],840:[function(require,module,exports){ var baseGetAllKeys = require('./_baseGetAllKeys'), getSymbols = require('./_getSymbols'), keys = require('./keys'); @@ -167403,7 +168534,7 @@ function getAllKeys(object) { module.exports = getAllKeys; -},{"./_baseGetAllKeys":781,"./_getSymbols":821,"./keys":886}],817:[function(require,module,exports){ +},{"./_baseGetAllKeys":805,"./_getSymbols":845,"./keys":910}],841:[function(require,module,exports){ var isKeyable = require('./_isKeyable'); /** @@ -167423,7 +168554,7 @@ function getMapData(map, key) { module.exports = getMapData; -},{"./_isKeyable":834}],818:[function(require,module,exports){ +},{"./_isKeyable":858}],842:[function(require,module,exports){ var isStrictComparable = require('./_isStrictComparable'), keys = require('./keys'); @@ -167449,7 +168580,7 @@ function getMatchData(object) { module.exports = getMatchData; -},{"./_isStrictComparable":837,"./keys":886}],819:[function(require,module,exports){ +},{"./_isStrictComparable":861,"./keys":910}],843:[function(require,module,exports){ var baseIsNative = require('./_baseIsNative'), getValue = require('./_getValue'); @@ -167468,7 +168599,7 @@ function getNative(object, key) { module.exports = getNative; -},{"./_baseIsNative":788,"./_getValue":823}],820:[function(require,module,exports){ +},{"./_baseIsNative":812,"./_getValue":847}],844:[function(require,module,exports){ var Symbol = require('./_Symbol'); /** Used for built-in method references. */ @@ -167516,7 +168647,7 @@ function getRawTag(value) { module.exports = getRawTag; -},{"./_Symbol":766}],821:[function(require,module,exports){ +},{"./_Symbol":790}],845:[function(require,module,exports){ var arrayFilter = require('./_arrayFilter'), stubArray = require('./stubArray'); @@ -167548,7 +168679,7 @@ var getSymbols = !nativeGetSymbols ? stubArray : function(object) { module.exports = getSymbols; -},{"./_arrayFilter":770,"./stubArray":890}],822:[function(require,module,exports){ +},{"./_arrayFilter":794,"./stubArray":914}],846:[function(require,module,exports){ var DataView = require('./_DataView'), Map = require('./_Map'), Promise = require('./_Promise'), @@ -167608,7 +168739,7 @@ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || module.exports = getTag; -},{"./_DataView":757,"./_Map":760,"./_Promise":762,"./_Set":763,"./_WeakMap":768,"./_baseGetTag":782,"./_toSource":870}],823:[function(require,module,exports){ +},{"./_DataView":781,"./_Map":784,"./_Promise":786,"./_Set":787,"./_WeakMap":792,"./_baseGetTag":806,"./_toSource":894}],847:[function(require,module,exports){ /** * Gets the value at `key` of `object`. * @@ -167623,7 +168754,7 @@ function getValue(object, key) { module.exports = getValue; -},{}],824:[function(require,module,exports){ +},{}],848:[function(require,module,exports){ var castPath = require('./_castPath'), isArguments = require('./isArguments'), isArray = require('./isArray'), @@ -167664,7 +168795,7 @@ function hasPath(object, path, hasFunc) { module.exports = hasPath; -},{"./_castPath":805,"./_isIndex":831,"./_toKey":869,"./isArguments":876,"./isArray":877,"./isLength":881}],825:[function(require,module,exports){ +},{"./_castPath":829,"./_isIndex":855,"./_toKey":893,"./isArguments":900,"./isArray":901,"./isLength":905}],849:[function(require,module,exports){ var nativeCreate = require('./_nativeCreate'); /** @@ -167681,7 +168812,7 @@ function hashClear() { module.exports = hashClear; -},{"./_nativeCreate":851}],826:[function(require,module,exports){ +},{"./_nativeCreate":875}],850:[function(require,module,exports){ /** * Removes `key` and its value from the hash. * @@ -167700,7 +168831,7 @@ function hashDelete(key) { module.exports = hashDelete; -},{}],827:[function(require,module,exports){ +},{}],851:[function(require,module,exports){ var nativeCreate = require('./_nativeCreate'); /** Used to stand-in for `undefined` hash values. */ @@ -167732,7 +168863,7 @@ function hashGet(key) { module.exports = hashGet; -},{"./_nativeCreate":851}],828:[function(require,module,exports){ +},{"./_nativeCreate":875}],852:[function(require,module,exports){ var nativeCreate = require('./_nativeCreate'); /** Used for built-in method references. */ @@ -167757,7 +168888,7 @@ function hashHas(key) { module.exports = hashHas; -},{"./_nativeCreate":851}],829:[function(require,module,exports){ +},{"./_nativeCreate":875}],853:[function(require,module,exports){ var nativeCreate = require('./_nativeCreate'); /** Used to stand-in for `undefined` hash values. */ @@ -167782,7 +168913,7 @@ function hashSet(key, value) { module.exports = hashSet; -},{"./_nativeCreate":851}],830:[function(require,module,exports){ +},{"./_nativeCreate":875}],854:[function(require,module,exports){ var Symbol = require('./_Symbol'), isArguments = require('./isArguments'), isArray = require('./isArray'); @@ -167804,7 +168935,7 @@ function isFlattenable(value) { module.exports = isFlattenable; -},{"./_Symbol":766,"./isArguments":876,"./isArray":877}],831:[function(require,module,exports){ +},{"./_Symbol":790,"./isArguments":900,"./isArray":901}],855:[function(require,module,exports){ /** Used as references for various `Number` constants. */ var MAX_SAFE_INTEGER = 9007199254740991; @@ -167831,7 +168962,7 @@ function isIndex(value, length) { module.exports = isIndex; -},{}],832:[function(require,module,exports){ +},{}],856:[function(require,module,exports){ var eq = require('./eq'), isArrayLike = require('./isArrayLike'), isIndex = require('./_isIndex'), @@ -167863,7 +168994,7 @@ function isIterateeCall(value, index, object) { module.exports = isIterateeCall; -},{"./_isIndex":831,"./eq":872,"./isArrayLike":878,"./isObject":882}],833:[function(require,module,exports){ +},{"./_isIndex":855,"./eq":896,"./isArrayLike":902,"./isObject":906}],857:[function(require,module,exports){ var isArray = require('./isArray'), isSymbol = require('./isSymbol'); @@ -167894,7 +169025,7 @@ function isKey(value, object) { module.exports = isKey; -},{"./isArray":877,"./isSymbol":884}],834:[function(require,module,exports){ +},{"./isArray":901,"./isSymbol":908}],858:[function(require,module,exports){ /** * Checks if `value` is suitable for use as unique object key. * @@ -167911,7 +169042,7 @@ function isKeyable(value) { module.exports = isKeyable; -},{}],835:[function(require,module,exports){ +},{}],859:[function(require,module,exports){ var coreJsData = require('./_coreJsData'); /** Used to detect methods masquerading as native. */ @@ -167933,7 +169064,7 @@ function isMasked(func) { module.exports = isMasked; -},{"./_coreJsData":808}],836:[function(require,module,exports){ +},{"./_coreJsData":832}],860:[function(require,module,exports){ /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -167953,7 +169084,7 @@ function isPrototype(value) { module.exports = isPrototype; -},{}],837:[function(require,module,exports){ +},{}],861:[function(require,module,exports){ var isObject = require('./isObject'); /** @@ -167970,7 +169101,7 @@ function isStrictComparable(value) { module.exports = isStrictComparable; -},{"./isObject":882}],838:[function(require,module,exports){ +},{"./isObject":906}],862:[function(require,module,exports){ /** * Removes all key-value entries from the list cache. * @@ -167985,7 +169116,7 @@ function listCacheClear() { module.exports = listCacheClear; -},{}],839:[function(require,module,exports){ +},{}],863:[function(require,module,exports){ var assocIndexOf = require('./_assocIndexOf'); /** Used for built-in method references. */ @@ -168022,7 +169153,7 @@ function listCacheDelete(key) { module.exports = listCacheDelete; -},{"./_assocIndexOf":775}],840:[function(require,module,exports){ +},{"./_assocIndexOf":799}],864:[function(require,module,exports){ var assocIndexOf = require('./_assocIndexOf'); /** @@ -168043,7 +169174,7 @@ function listCacheGet(key) { module.exports = listCacheGet; -},{"./_assocIndexOf":775}],841:[function(require,module,exports){ +},{"./_assocIndexOf":799}],865:[function(require,module,exports){ var assocIndexOf = require('./_assocIndexOf'); /** @@ -168061,7 +169192,7 @@ function listCacheHas(key) { module.exports = listCacheHas; -},{"./_assocIndexOf":775}],842:[function(require,module,exports){ +},{"./_assocIndexOf":799}],866:[function(require,module,exports){ var assocIndexOf = require('./_assocIndexOf'); /** @@ -168089,7 +169220,7 @@ function listCacheSet(key, value) { module.exports = listCacheSet; -},{"./_assocIndexOf":775}],843:[function(require,module,exports){ +},{"./_assocIndexOf":799}],867:[function(require,module,exports){ var Hash = require('./_Hash'), ListCache = require('./_ListCache'), Map = require('./_Map'); @@ -168112,7 +169243,7 @@ function mapCacheClear() { module.exports = mapCacheClear; -},{"./_Hash":758,"./_ListCache":759,"./_Map":760}],844:[function(require,module,exports){ +},{"./_Hash":782,"./_ListCache":783,"./_Map":784}],868:[function(require,module,exports){ var getMapData = require('./_getMapData'); /** @@ -168132,7 +169263,7 @@ function mapCacheDelete(key) { module.exports = mapCacheDelete; -},{"./_getMapData":817}],845:[function(require,module,exports){ +},{"./_getMapData":841}],869:[function(require,module,exports){ var getMapData = require('./_getMapData'); /** @@ -168150,7 +169281,7 @@ function mapCacheGet(key) { module.exports = mapCacheGet; -},{"./_getMapData":817}],846:[function(require,module,exports){ +},{"./_getMapData":841}],870:[function(require,module,exports){ var getMapData = require('./_getMapData'); /** @@ -168168,7 +169299,7 @@ function mapCacheHas(key) { module.exports = mapCacheHas; -},{"./_getMapData":817}],847:[function(require,module,exports){ +},{"./_getMapData":841}],871:[function(require,module,exports){ var getMapData = require('./_getMapData'); /** @@ -168192,7 +169323,7 @@ function mapCacheSet(key, value) { module.exports = mapCacheSet; -},{"./_getMapData":817}],848:[function(require,module,exports){ +},{"./_getMapData":841}],872:[function(require,module,exports){ /** * Converts `map` to its key-value pairs. * @@ -168212,7 +169343,7 @@ function mapToArray(map) { module.exports = mapToArray; -},{}],849:[function(require,module,exports){ +},{}],873:[function(require,module,exports){ /** * A specialized version of `matchesProperty` for source values suitable * for strict equality comparisons, i.e. `===`. @@ -168234,7 +169365,7 @@ function matchesStrictComparable(key, srcValue) { module.exports = matchesStrictComparable; -},{}],850:[function(require,module,exports){ +},{}],874:[function(require,module,exports){ var memoize = require('./memoize'); /** Used as the maximum memoize cache size. */ @@ -168262,7 +169393,7 @@ function memoizeCapped(func) { module.exports = memoizeCapped; -},{"./memoize":887}],851:[function(require,module,exports){ +},{"./memoize":911}],875:[function(require,module,exports){ var getNative = require('./_getNative'); /* Built-in method references that are verified to be native. */ @@ -168270,7 +169401,7 @@ var nativeCreate = getNative(Object, 'create'); module.exports = nativeCreate; -},{"./_getNative":819}],852:[function(require,module,exports){ +},{"./_getNative":843}],876:[function(require,module,exports){ var overArg = require('./_overArg'); /* Built-in method references for those with the same name as other `lodash` methods. */ @@ -168278,7 +169409,7 @@ var nativeKeys = overArg(Object.keys, Object); module.exports = nativeKeys; -},{"./_overArg":855}],853:[function(require,module,exports){ +},{"./_overArg":879}],877:[function(require,module,exports){ var freeGlobal = require('./_freeGlobal'); /** Detect free variable `exports`. */ @@ -168310,7 +169441,7 @@ var nodeUtil = (function() { module.exports = nodeUtil; -},{"./_freeGlobal":815}],854:[function(require,module,exports){ +},{"./_freeGlobal":839}],878:[function(require,module,exports){ /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -168334,7 +169465,7 @@ function objectToString(value) { module.exports = objectToString; -},{}],855:[function(require,module,exports){ +},{}],879:[function(require,module,exports){ /** * Creates a unary function that invokes `func` with its argument transformed. * @@ -168351,7 +169482,7 @@ function overArg(func, transform) { module.exports = overArg; -},{}],856:[function(require,module,exports){ +},{}],880:[function(require,module,exports){ var apply = require('./_apply'); /* Built-in method references for those with the same name as other `lodash` methods. */ @@ -168389,7 +169520,7 @@ function overRest(func, start, transform) { module.exports = overRest; -},{"./_apply":769}],857:[function(require,module,exports){ +},{"./_apply":793}],881:[function(require,module,exports){ var freeGlobal = require('./_freeGlobal'); /** Detect free variable `self`. */ @@ -168400,7 +169531,7 @@ var root = freeGlobal || freeSelf || Function('return this')(); module.exports = root; -},{"./_freeGlobal":815}],858:[function(require,module,exports){ +},{"./_freeGlobal":839}],882:[function(require,module,exports){ /** Used to stand-in for `undefined` hash values. */ var HASH_UNDEFINED = '__lodash_hash_undefined__'; @@ -168421,7 +169552,7 @@ function setCacheAdd(value) { module.exports = setCacheAdd; -},{}],859:[function(require,module,exports){ +},{}],883:[function(require,module,exports){ /** * Checks if `value` is in the array cache. * @@ -168437,7 +169568,7 @@ function setCacheHas(value) { module.exports = setCacheHas; -},{}],860:[function(require,module,exports){ +},{}],884:[function(require,module,exports){ /** * Converts `set` to an array of its values. * @@ -168457,7 +169588,7 @@ function setToArray(set) { module.exports = setToArray; -},{}],861:[function(require,module,exports){ +},{}],885:[function(require,module,exports){ var baseSetToString = require('./_baseSetToString'), shortOut = require('./_shortOut'); @@ -168473,7 +169604,7 @@ var setToString = shortOut(baseSetToString); module.exports = setToString; -},{"./_baseSetToString":799,"./_shortOut":862}],862:[function(require,module,exports){ +},{"./_baseSetToString":823,"./_shortOut":886}],886:[function(require,module,exports){ /** Used to detect hot functions by number of calls within a span of milliseconds. */ var HOT_COUNT = 800, HOT_SPAN = 16; @@ -168512,7 +169643,7 @@ function shortOut(func) { module.exports = shortOut; -},{}],863:[function(require,module,exports){ +},{}],887:[function(require,module,exports){ var ListCache = require('./_ListCache'); /** @@ -168529,7 +169660,7 @@ function stackClear() { module.exports = stackClear; -},{"./_ListCache":759}],864:[function(require,module,exports){ +},{"./_ListCache":783}],888:[function(require,module,exports){ /** * Removes `key` and its value from the stack. * @@ -168549,7 +169680,7 @@ function stackDelete(key) { module.exports = stackDelete; -},{}],865:[function(require,module,exports){ +},{}],889:[function(require,module,exports){ /** * Gets the stack value for `key`. * @@ -168565,7 +169696,7 @@ function stackGet(key) { module.exports = stackGet; -},{}],866:[function(require,module,exports){ +},{}],890:[function(require,module,exports){ /** * Checks if a stack value for `key` exists. * @@ -168581,7 +169712,7 @@ function stackHas(key) { module.exports = stackHas; -},{}],867:[function(require,module,exports){ +},{}],891:[function(require,module,exports){ var ListCache = require('./_ListCache'), Map = require('./_Map'), MapCache = require('./_MapCache'); @@ -168617,7 +169748,7 @@ function stackSet(key, value) { module.exports = stackSet; -},{"./_ListCache":759,"./_Map":760,"./_MapCache":761}],868:[function(require,module,exports){ +},{"./_ListCache":783,"./_Map":784,"./_MapCache":785}],892:[function(require,module,exports){ var memoizeCapped = require('./_memoizeCapped'); /** Used to match property names within property paths. */ @@ -168646,7 +169777,7 @@ var stringToPath = memoizeCapped(function(string) { module.exports = stringToPath; -},{"./_memoizeCapped":850}],869:[function(require,module,exports){ +},{"./_memoizeCapped":874}],893:[function(require,module,exports){ var isSymbol = require('./isSymbol'); /** Used as references for various `Number` constants. */ @@ -168669,7 +169800,7 @@ function toKey(value) { module.exports = toKey; -},{"./isSymbol":884}],870:[function(require,module,exports){ +},{"./isSymbol":908}],894:[function(require,module,exports){ /** Used for built-in method references. */ var funcProto = Function.prototype; @@ -168697,7 +169828,7 @@ function toSource(func) { module.exports = toSource; -},{}],871:[function(require,module,exports){ +},{}],895:[function(require,module,exports){ /** * Creates a function that returns `value`. * @@ -168725,7 +169856,7 @@ function constant(value) { module.exports = constant; -},{}],872:[function(require,module,exports){ +},{}],896:[function(require,module,exports){ /** * Performs a * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) @@ -168764,7 +169895,7 @@ function eq(value, other) { module.exports = eq; -},{}],873:[function(require,module,exports){ +},{}],897:[function(require,module,exports){ var baseGet = require('./_baseGet'); /** @@ -168799,7 +169930,7 @@ function get(object, path, defaultValue) { module.exports = get; -},{"./_baseGet":780}],874:[function(require,module,exports){ +},{"./_baseGet":804}],898:[function(require,module,exports){ var baseHasIn = require('./_baseHasIn'), hasPath = require('./_hasPath'); @@ -168835,7 +169966,7 @@ function hasIn(object, path) { module.exports = hasIn; -},{"./_baseHasIn":783,"./_hasPath":824}],875:[function(require,module,exports){ +},{"./_baseHasIn":807,"./_hasPath":848}],899:[function(require,module,exports){ /** * This method returns the first argument it receives. * @@ -168858,7 +169989,7 @@ function identity(value) { module.exports = identity; -},{}],876:[function(require,module,exports){ +},{}],900:[function(require,module,exports){ var baseIsArguments = require('./_baseIsArguments'), isObjectLike = require('./isObjectLike'); @@ -168896,7 +170027,7 @@ var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsAr module.exports = isArguments; -},{"./_baseIsArguments":784,"./isObjectLike":883}],877:[function(require,module,exports){ +},{"./_baseIsArguments":808,"./isObjectLike":907}],901:[function(require,module,exports){ /** * Checks if `value` is classified as an `Array` object. * @@ -168924,7 +170055,7 @@ var isArray = Array.isArray; module.exports = isArray; -},{}],878:[function(require,module,exports){ +},{}],902:[function(require,module,exports){ var isFunction = require('./isFunction'), isLength = require('./isLength'); @@ -168959,7 +170090,7 @@ function isArrayLike(value) { module.exports = isArrayLike; -},{"./isFunction":880,"./isLength":881}],879:[function(require,module,exports){ +},{"./isFunction":904,"./isLength":905}],903:[function(require,module,exports){ var root = require('./_root'), stubFalse = require('./stubFalse'); @@ -168999,7 +170130,7 @@ var isBuffer = nativeIsBuffer || stubFalse; module.exports = isBuffer; -},{"./_root":857,"./stubFalse":891}],880:[function(require,module,exports){ +},{"./_root":881,"./stubFalse":915}],904:[function(require,module,exports){ var baseGetTag = require('./_baseGetTag'), isObject = require('./isObject'); @@ -169038,7 +170169,7 @@ function isFunction(value) { module.exports = isFunction; -},{"./_baseGetTag":782,"./isObject":882}],881:[function(require,module,exports){ +},{"./_baseGetTag":806,"./isObject":906}],905:[function(require,module,exports){ /** Used as references for various `Number` constants. */ var MAX_SAFE_INTEGER = 9007199254740991; @@ -169075,7 +170206,7 @@ function isLength(value) { module.exports = isLength; -},{}],882:[function(require,module,exports){ +},{}],906:[function(require,module,exports){ /** * Checks if `value` is the * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) @@ -169108,7 +170239,7 @@ function isObject(value) { module.exports = isObject; -},{}],883:[function(require,module,exports){ +},{}],907:[function(require,module,exports){ /** * Checks if `value` is object-like. A value is object-like if it's not `null` * and has a `typeof` result of "object". @@ -169139,7 +170270,7 @@ function isObjectLike(value) { module.exports = isObjectLike; -},{}],884:[function(require,module,exports){ +},{}],908:[function(require,module,exports){ var baseGetTag = require('./_baseGetTag'), isObjectLike = require('./isObjectLike'); @@ -169170,7 +170301,7 @@ function isSymbol(value) { module.exports = isSymbol; -},{"./_baseGetTag":782,"./isObjectLike":883}],885:[function(require,module,exports){ +},{"./_baseGetTag":806,"./isObjectLike":907}],909:[function(require,module,exports){ var baseIsTypedArray = require('./_baseIsTypedArray'), baseUnary = require('./_baseUnary'), nodeUtil = require('./_nodeUtil'); @@ -169199,7 +170330,7 @@ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedA module.exports = isTypedArray; -},{"./_baseIsTypedArray":789,"./_baseUnary":803,"./_nodeUtil":853}],886:[function(require,module,exports){ +},{"./_baseIsTypedArray":813,"./_baseUnary":827,"./_nodeUtil":877}],910:[function(require,module,exports){ var arrayLikeKeys = require('./_arrayLikeKeys'), baseKeys = require('./_baseKeys'), isArrayLike = require('./isArrayLike'); @@ -169238,7 +170369,7 @@ function keys(object) { module.exports = keys; -},{"./_arrayLikeKeys":771,"./_baseKeys":791,"./isArrayLike":878}],887:[function(require,module,exports){ +},{"./_arrayLikeKeys":795,"./_baseKeys":815,"./isArrayLike":902}],911:[function(require,module,exports){ var MapCache = require('./_MapCache'); /** Error message constants. */ @@ -169313,7 +170444,7 @@ memoize.Cache = MapCache; module.exports = memoize; -},{"./_MapCache":761}],888:[function(require,module,exports){ +},{"./_MapCache":785}],912:[function(require,module,exports){ var baseProperty = require('./_baseProperty'), basePropertyDeep = require('./_basePropertyDeep'), isKey = require('./_isKey'), @@ -169347,7 +170478,7 @@ function property(path) { module.exports = property; -},{"./_baseProperty":796,"./_basePropertyDeep":797,"./_isKey":833,"./_toKey":869}],889:[function(require,module,exports){ +},{"./_baseProperty":820,"./_basePropertyDeep":821,"./_isKey":857,"./_toKey":893}],913:[function(require,module,exports){ var baseFlatten = require('./_baseFlatten'), baseOrderBy = require('./_baseOrderBy'), baseRest = require('./_baseRest'), @@ -169397,7 +170528,7 @@ var sortBy = baseRest(function(collection, iteratees) { module.exports = sortBy; -},{"./_baseFlatten":777,"./_baseOrderBy":795,"./_baseRest":798,"./_isIterateeCall":832}],890:[function(require,module,exports){ +},{"./_baseFlatten":801,"./_baseOrderBy":819,"./_baseRest":822,"./_isIterateeCall":856}],914:[function(require,module,exports){ /** * This method returns a new empty array. * @@ -169422,7 +170553,7 @@ function stubArray() { module.exports = stubArray; -},{}],891:[function(require,module,exports){ +},{}],915:[function(require,module,exports){ /** * This method returns `false`. * @@ -169442,7 +170573,7 @@ function stubFalse() { module.exports = stubFalse; -},{}],892:[function(require,module,exports){ +},{}],916:[function(require,module,exports){ var baseToString = require('./_baseToString'); /** @@ -169472,7 +170603,7 @@ function toString(value) { module.exports = toString; -},{"./_baseToString":802}],893:[function(require,module,exports){ +},{"./_baseToString":826}],917:[function(require,module,exports){ 'use strict' var inherits = require('inherits') var HashBase = require('hash-base') @@ -169620,7 +170751,7 @@ function fnI (a, b, c, d, m, k, s) { module.exports = MD5 -},{"hash-base":267,"inherits":304,"safe-buffer":969}],894:[function(require,module,exports){ +},{"hash-base":291,"inherits":328,"safe-buffer":993}],918:[function(require,module,exports){ var bn = require('bn.js'); var brorand = require('brorand'); @@ -169737,9 +170868,9 @@ MillerRabin.prototype.getDivisor = function getDivisor(n, k) { return false; }; -},{"bn.js":895,"brorand":52}],895:[function(require,module,exports){ -arguments[4][42][0].apply(exports,arguments) -},{"buffer":53,"dup":42}],896:[function(require,module,exports){ +},{"bn.js":919,"brorand":76}],919:[function(require,module,exports){ +arguments[4][66][0].apply(exports,arguments) +},{"buffer":77,"dup":66}],920:[function(require,module,exports){ module.exports = assert; function assert(val, msg) { @@ -169752,7 +170883,7 @@ assert.equal = function assertEqual(l, r, msg) { throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r)); }; -},{}],897:[function(require,module,exports){ +},{}],921:[function(require,module,exports){ 'use strict'; var utils = exports; @@ -169812,7 +170943,7 @@ utils.encode = function encode(arr, enc) { return arr; }; -},{}],898:[function(require,module,exports){ +},{}],922:[function(require,module,exports){ /** * Helpers. */ @@ -169976,7 +171107,7 @@ function plural(ms, msAbs, n, name) { return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); } -},{}],899:[function(require,module,exports){ +},{}],923:[function(require,module,exports){ /* * Copyright (C) 2007-2019 Diego Perini * All rights reserved. @@ -171778,7 +172909,7 @@ function plural(ms, msAbs, n, name) { }); -},{}],900:[function(require,module,exports){ +},{}],924:[function(require,module,exports){ /* object-assign (c) Sindre Sorhus @@ -171870,7 +173001,7 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) { return to; }; -},{}],901:[function(require,module,exports){ +},{}],925:[function(require,module,exports){ exports.endianness = function () { return 'LE' }; exports.hostname = function () { @@ -171921,7 +173052,7 @@ exports.homedir = function () { return '/' }; -},{}],902:[function(require,module,exports){ +},{}],926:[function(require,module,exports){ 'use strict'; @@ -172028,7 +173159,7 @@ exports.setTyped = function (on) { exports.setTyped(TYPED_OK); -},{}],903:[function(require,module,exports){ +},{}],927:[function(require,module,exports){ 'use strict'; // Note: adler32 takes 12% for level 0 and 2% for level 6. @@ -172081,7 +173212,7 @@ function adler32(adler, buf, len, pos) { module.exports = adler32; -},{}],904:[function(require,module,exports){ +},{}],928:[function(require,module,exports){ 'use strict'; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -172151,7 +173282,7 @@ module.exports = { //Z_NULL: null // Use -1 or null inline, depending on var type }; -},{}],905:[function(require,module,exports){ +},{}],929:[function(require,module,exports){ 'use strict'; // Note: we can't get significant speed boost here. @@ -172212,7 +173343,7 @@ function crc32(crc, buf, len, pos) { module.exports = crc32; -},{}],906:[function(require,module,exports){ +},{}],930:[function(require,module,exports){ 'use strict'; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -174088,7 +175219,7 @@ exports.deflatePrime = deflatePrime; exports.deflateTune = deflateTune; */ -},{"../utils/common":902,"./adler32":903,"./crc32":905,"./messages":910,"./trees":911}],907:[function(require,module,exports){ +},{"../utils/common":926,"./adler32":927,"./crc32":929,"./messages":934,"./trees":935}],931:[function(require,module,exports){ 'use strict'; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -174435,7 +175566,7 @@ module.exports = function inflate_fast(strm, start) { return; }; -},{}],908:[function(require,module,exports){ +},{}],932:[function(require,module,exports){ 'use strict'; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -175993,7 +177124,7 @@ exports.inflateSyncPoint = inflateSyncPoint; exports.inflateUndermine = inflateUndermine; */ -},{"../utils/common":902,"./adler32":903,"./crc32":905,"./inffast":907,"./inftrees":909}],909:[function(require,module,exports){ +},{"../utils/common":926,"./adler32":927,"./crc32":929,"./inffast":931,"./inftrees":933}],933:[function(require,module,exports){ 'use strict'; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -176338,7 +177469,7 @@ module.exports = function inflate_table(type, lens, lens_index, codes, table, ta return 0; }; -},{"../utils/common":902}],910:[function(require,module,exports){ +},{"../utils/common":926}],934:[function(require,module,exports){ 'use strict'; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -176372,7 +177503,7 @@ module.exports = { '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */ }; -},{}],911:[function(require,module,exports){ +},{}],935:[function(require,module,exports){ 'use strict'; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -177596,7 +178727,7 @@ exports._tr_flush_block = _tr_flush_block; exports._tr_tally = _tr_tally; exports._tr_align = _tr_align; -},{"../utils/common":902}],912:[function(require,module,exports){ +},{"../utils/common":926}],936:[function(require,module,exports){ 'use strict'; // (C) 1995-2013 Jean-loup Gailly and Mark Adler @@ -177645,7 +178776,7 @@ function ZStream() { module.exports = ZStream; -},{}],913:[function(require,module,exports){ +},{}],937:[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", @@ -177659,7 +178790,7 @@ module.exports={"2.16.840.1.101.3.4.1.1": "aes-128-ecb", "2.16.840.1.101.3.4.1.43": "aes-256-ofb", "2.16.840.1.101.3.4.1.44": "aes-256-cfb" } -},{}],914:[function(require,module,exports){ +},{}],938:[function(require,module,exports){ // from https://github.com/indutny/self-signed/blob/gh-pages/lib/asn1.js // Fedor, you are amazing. 'use strict' @@ -177783,7 +178914,7 @@ exports.signature = asn1.define('signature', function () { ) }) -},{"./certificate":915,"asn1.js":28}],915:[function(require,module,exports){ +},{"./certificate":939,"asn1.js":52}],939:[function(require,module,exports){ // from https://github.com/Rantanen/node-dtls/blob/25a7dc861bda38cfeac93a723500eea4f0ac2e86/Certificate.js // thanks to @Rantanen @@ -177874,7 +179005,7 @@ var X509Certificate = asn.define('X509Certificate', function () { module.exports = X509Certificate -},{"asn1.js":28}],916:[function(require,module,exports){ +},{"asn1.js":52}],940:[function(require,module,exports){ // adapted from https://github.com/apatil/pemstrip 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 @@ -177907,7 +179038,7 @@ module.exports = function (okey, password) { } } -},{"browserify-aes":56,"evp_bytestokey":257,"safe-buffer":969}],917:[function(require,module,exports){ +},{"browserify-aes":80,"evp_bytestokey":281,"safe-buffer":993}],941:[function(require,module,exports){ var asn1 = require('./asn1') var aesid = require('./aesid.json') var fixProc = require('./fixProc') @@ -178016,7 +179147,7 @@ function decrypt (data, password) { return Buffer.concat(out) } -},{"./aesid.json":913,"./asn1":914,"./fixProc":916,"browserify-aes":56,"pbkdf2":944,"safe-buffer":969}],918:[function(require,module,exports){ +},{"./aesid.json":937,"./asn1":938,"./fixProc":940,"browserify-aes":80,"pbkdf2":968,"safe-buffer":993}],942:[function(require,module,exports){ 'use strict'; const { DOCUMENT_MODE } = require('./html'); @@ -178180,7 +179311,7 @@ exports.serializeContent = function(name, publicId, systemId) { return str; }; -},{"./html":921}],919:[function(require,module,exports){ +},{"./html":945}],943:[function(require,module,exports){ 'use strict'; module.exports = { @@ -178247,7 +179378,7 @@ module.exports = { eofInElementThatCanContainOnlyText: 'eof-in-element-that-can-contain-only-text' }; -},{}],920:[function(require,module,exports){ +},{}],944:[function(require,module,exports){ 'use strict'; const Tokenizer = require('../tokenizer'); @@ -178514,7 +179645,7 @@ exports.isIntegrationPoint = function(tn, ns, attrs, foreignNS) { return false; }; -},{"../tokenizer":936,"./html":921}],921:[function(require,module,exports){ +},{"../tokenizer":960,"./html":945}],945:[function(require,module,exports){ 'use strict'; const NS = (exports.NAMESPACES = { @@ -178788,7 +179919,7 @@ exports.SPECIAL_ELEMENTS = { } }; -},{}],922:[function(require,module,exports){ +},{}],946:[function(require,module,exports){ 'use strict'; const UNDEFINED_CODE_POINTS = [ @@ -178899,7 +180030,7 @@ exports.isUndefinedCodePoint = function(cp) { return (cp >= 0xfdd0 && cp <= 0xfdef) || UNDEFINED_CODE_POINTS.indexOf(cp) > -1; }; -},{}],923:[function(require,module,exports){ +},{}],947:[function(require,module,exports){ 'use strict'; const Mixin = require('../../utils/mixin'); @@ -178944,7 +180075,7 @@ class ErrorReportingMixinBase extends Mixin { module.exports = ErrorReportingMixinBase; -},{"../../utils/mixin":941}],924:[function(require,module,exports){ +},{"../../utils/mixin":965}],948:[function(require,module,exports){ 'use strict'; const ErrorReportingMixinBase = require('./mixin-base'); @@ -178998,7 +180129,7 @@ class ErrorReportingParserMixin extends ErrorReportingMixinBase { module.exports = ErrorReportingParserMixin; -},{"../../utils/mixin":941,"../location-info/tokenizer-mixin":929,"./mixin-base":923,"./tokenizer-mixin":926}],925:[function(require,module,exports){ +},{"../../utils/mixin":965,"../location-info/tokenizer-mixin":953,"./mixin-base":947,"./tokenizer-mixin":950}],949:[function(require,module,exports){ 'use strict'; const ErrorReportingMixinBase = require('./mixin-base'); @@ -179024,7 +180155,7 @@ class ErrorReportingPreprocessorMixin extends ErrorReportingMixinBase { module.exports = ErrorReportingPreprocessorMixin; -},{"../../utils/mixin":941,"../position-tracking/preprocessor-mixin":930,"./mixin-base":923}],926:[function(require,module,exports){ +},{"../../utils/mixin":965,"../position-tracking/preprocessor-mixin":954,"./mixin-base":947}],950:[function(require,module,exports){ 'use strict'; const ErrorReportingMixinBase = require('./mixin-base'); @@ -179043,7 +180174,7 @@ class ErrorReportingTokenizerMixin extends ErrorReportingMixinBase { module.exports = ErrorReportingTokenizerMixin; -},{"../../utils/mixin":941,"./mixin-base":923,"./preprocessor-mixin":925}],927:[function(require,module,exports){ +},{"../../utils/mixin":965,"./mixin-base":947,"./preprocessor-mixin":949}],951:[function(require,module,exports){ 'use strict'; const Mixin = require('../../utils/mixin'); @@ -179080,7 +180211,7 @@ class LocationInfoOpenElementStackMixin extends Mixin { module.exports = LocationInfoOpenElementStackMixin; -},{"../../utils/mixin":941}],928:[function(require,module,exports){ +},{"../../utils/mixin":965}],952:[function(require,module,exports){ 'use strict'; const Mixin = require('../../utils/mixin'); @@ -179305,7 +180436,7 @@ class LocationInfoParserMixin extends Mixin { module.exports = LocationInfoParserMixin; -},{"../../common/html":921,"../../tokenizer":936,"../../utils/mixin":941,"./open-element-stack-mixin":927,"./tokenizer-mixin":929}],929:[function(require,module,exports){ +},{"../../common/html":945,"../../tokenizer":960,"../../utils/mixin":965,"./open-element-stack-mixin":951,"./tokenizer-mixin":953}],953:[function(require,module,exports){ 'use strict'; const Mixin = require('../../utils/mixin'); @@ -179453,7 +180584,7 @@ class LocationInfoTokenizerMixin extends Mixin { module.exports = LocationInfoTokenizerMixin; -},{"../../tokenizer":936,"../../utils/mixin":941,"../position-tracking/preprocessor-mixin":930}],930:[function(require,module,exports){ +},{"../../tokenizer":960,"../../utils/mixin":965,"../position-tracking/preprocessor-mixin":954}],954:[function(require,module,exports){ 'use strict'; const Mixin = require('../../utils/mixin'); @@ -179519,7 +180650,7 @@ class PositionTrackingPreprocessorMixin extends Mixin { module.exports = PositionTrackingPreprocessorMixin; -},{"../../utils/mixin":941}],931:[function(require,module,exports){ +},{"../../utils/mixin":965}],955:[function(require,module,exports){ 'use strict'; const Parser = require('./parser'); @@ -179550,7 +180681,7 @@ exports.serialize = function(node, options) { return serializer.serialize(); }; -},{"./parser":933,"./serializer":935}],932:[function(require,module,exports){ +},{"./parser":957,"./serializer":959}],956:[function(require,module,exports){ 'use strict'; //Const @@ -179733,7 +180864,7 @@ FormattingElementList.ELEMENT_ENTRY = 'ELEMENT_ENTRY'; module.exports = FormattingElementList; -},{}],933:[function(require,module,exports){ +},{}],957:[function(require,module,exports){ 'use strict'; const Tokenizer = require('../tokenizer'); @@ -182691,7 +183822,7 @@ function endTagInForeignContent(p, token) { } } -},{"../common/doctype":918,"../common/error-codes":919,"../common/foreign-content":920,"../common/html":921,"../common/unicode":922,"../extensions/error-reporting/parser-mixin":924,"../extensions/location-info/parser-mixin":928,"../tokenizer":936,"../tree-adapters/default":939,"../utils/merge-options":940,"../utils/mixin":941,"./formatting-element-list":932,"./open-element-stack":934}],934:[function(require,module,exports){ +},{"../common/doctype":942,"../common/error-codes":943,"../common/foreign-content":944,"../common/html":945,"../common/unicode":946,"../extensions/error-reporting/parser-mixin":948,"../extensions/location-info/parser-mixin":952,"../tokenizer":960,"../tree-adapters/default":963,"../utils/merge-options":964,"../utils/mixin":965,"./formatting-element-list":956,"./open-element-stack":958}],958:[function(require,module,exports){ 'use strict'; const HTML = require('../common/html'); @@ -183175,7 +184306,7 @@ class OpenElementStack { module.exports = OpenElementStack; -},{"../common/html":921}],935:[function(require,module,exports){ +},{"../common/html":945}],959:[function(require,module,exports){ 'use strict'; const defaultTreeAdapter = require('../tree-adapters/default'); @@ -183353,7 +184484,7 @@ Serializer.escapeString = function(str, attrMode) { module.exports = Serializer; -},{"../common/doctype":918,"../common/html":921,"../tree-adapters/default":939,"../utils/merge-options":940}],936:[function(require,module,exports){ +},{"../common/doctype":942,"../common/html":945,"../tree-adapters/default":963,"../utils/merge-options":964}],960:[function(require,module,exports){ 'use strict'; const Preprocessor = require('./preprocessor'); @@ -185551,13 +186682,13 @@ Tokenizer.getTokenAttr = function(token, attrName) { module.exports = Tokenizer; -},{"../common/error-codes":919,"../common/unicode":922,"./named-entity-data":937,"./preprocessor":938}],937:[function(require,module,exports){ +},{"../common/error-codes":943,"../common/unicode":946,"./named-entity-data":961,"./preprocessor":962}],961:[function(require,module,exports){ 'use strict'; //NOTE: this file contains auto-generated array mapped radix tree that is used for the named entity references consumption //(details: https://github.com/inikulin/parse5/tree/master/scripts/generate-named-entity-data/README.md) 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,4000,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,10000,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,13000,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]); -},{}],938:[function(require,module,exports){ +},{}],962:[function(require,module,exports){ 'use strict'; const unicode = require('../common/unicode'); @@ -185718,7 +186849,7 @@ class Preprocessor { module.exports = Preprocessor; -},{"../common/error-codes":919,"../common/unicode":922}],939:[function(require,module,exports){ +},{"../common/error-codes":943,"../common/unicode":946}],963:[function(require,module,exports){ 'use strict'; const { DOCUMENT_MODE } = require('../common/html'); @@ -185941,7 +187072,7 @@ exports.updateNodeSourceCodeLocation = function(node, endLocation) { node.sourceCodeLocation = Object.assign(node.sourceCodeLocation, endLocation); }; -},{"../common/html":921}],940:[function(require,module,exports){ +},{"../common/html":945}],964:[function(require,module,exports){ 'use strict'; module.exports = function mergeOptions(defaults, options) { @@ -185956,7 +187087,7 @@ module.exports = function mergeOptions(defaults, options) { }, Object.create(null)); }; -},{}],941:[function(require,module,exports){ +},{}],965:[function(require,module,exports){ 'use strict'; class Mixin { @@ -185997,7 +187128,7 @@ Mixin.install = function(host, Ctor, opts) { module.exports = Mixin; -},{}],942:[function(require,module,exports){ +},{}],966:[function(require,module,exports){ (function (process){(function (){ // 'path' module extracted from Node.js v8.11.1 (only the posix part) // transplited with Babel @@ -186530,7 +187661,7 @@ posix.posix = posix; module.exports = posix; }).call(this)}).call(this,require('_process')) -},{"_process":950}],943:[function(require,module,exports){ +},{"_process":974}],967:[function(require,module,exports){ 'use strict'; /* ! @@ -186833,11 +187964,11 @@ module.exports = { setPathValue: setPathValue, }; -},{}],944:[function(require,module,exports){ +},{}],968:[function(require,module,exports){ exports.pbkdf2 = require('./lib/async') exports.pbkdf2Sync = require('./lib/sync') -},{"./lib/async":945,"./lib/sync":948}],945:[function(require,module,exports){ +},{"./lib/async":969,"./lib/sync":972}],969:[function(require,module,exports){ (function (global){(function (){ var Buffer = require('safe-buffer').Buffer @@ -186959,7 +188090,7 @@ module.exports = function (password, salt, iterations, keylen, digest, callback) } }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./default-encoding":946,"./precondition":947,"./sync":948,"./to-buffer":949,"safe-buffer":969}],946:[function(require,module,exports){ +},{"./default-encoding":970,"./precondition":971,"./sync":972,"./to-buffer":973,"safe-buffer":993}],970:[function(require,module,exports){ (function (process,global){(function (){ var defaultEncoding /* istanbul ignore next */ @@ -186975,7 +188106,7 @@ if (global.process && global.process.browser) { module.exports = defaultEncoding }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"_process":950}],947:[function(require,module,exports){ +},{"_process":974}],971:[function(require,module,exports){ var MAX_ALLOC = Math.pow(2, 30) - 1 // default in iojs module.exports = function (iterations, keylen) { @@ -186996,7 +188127,7 @@ module.exports = function (iterations, keylen) { } } -},{}],948:[function(require,module,exports){ +},{}],972:[function(require,module,exports){ var md5 = require('create-hash/md5') var RIPEMD160 = require('ripemd160') var sha = require('sha.js') @@ -187103,7 +188234,7 @@ function pbkdf2 (password, salt, iterations, keylen, digest) { module.exports = pbkdf2 -},{"./default-encoding":946,"./precondition":947,"./to-buffer":949,"create-hash/md5":142,"ripemd160":968,"safe-buffer":969,"sha.js":973}],949:[function(require,module,exports){ +},{"./default-encoding":970,"./precondition":971,"./to-buffer":973,"create-hash/md5":166,"ripemd160":992,"safe-buffer":993,"sha.js":997}],973:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer module.exports = function (thing, encoding, name) { @@ -187118,7 +188249,7 @@ module.exports = function (thing, encoding, name) { } } -},{"safe-buffer":969}],950:[function(require,module,exports){ +},{"safe-buffer":993}],974:[function(require,module,exports){ // shim for using process in browser var process = module.exports = {}; @@ -187304,7 +188435,7 @@ process.chdir = function (dir) { }; process.umask = function() { return 0; }; -},{}],951:[function(require,module,exports){ +},{}],975:[function(require,module,exports){ module.exports=[ "ac", "com.ac", @@ -196139,7 +197270,7 @@ module.exports=[ "virtualserver.io", "enterprisecloud.nu" ] -},{}],952:[function(require,module,exports){ +},{}],976:[function(require,module,exports){ /*eslint no-var:0, prefer-arrow-callback: 0, object-shorthand: 0 */ 'use strict'; @@ -196410,7 +197541,7 @@ exports.isValid = function (domain) { return Boolean(parsed.domain && parsed.listed); }; -},{"./data/rules.json":951,"punycode":960}],953:[function(require,module,exports){ +},{"./data/rules.json":975,"punycode":984}],977:[function(require,module,exports){ exports.publicEncrypt = require('./publicEncrypt') exports.privateDecrypt = require('./privateDecrypt') @@ -196422,7 +197553,7 @@ exports.publicDecrypt = function publicDecrypt (key, buf) { return exports.privateDecrypt(key, buf, true) } -},{"./privateDecrypt":956,"./publicEncrypt":957}],954:[function(require,module,exports){ +},{"./privateDecrypt":980,"./publicEncrypt":981}],978:[function(require,module,exports){ var createHash = require('create-hash') var Buffer = require('safe-buffer').Buffer @@ -196443,9 +197574,9 @@ function i2ops (c) { return out } -},{"create-hash":141,"safe-buffer":969}],955:[function(require,module,exports){ -arguments[4][42][0].apply(exports,arguments) -},{"buffer":53,"dup":42}],956:[function(require,module,exports){ +},{"create-hash":165,"safe-buffer":993}],979:[function(require,module,exports){ +arguments[4][66][0].apply(exports,arguments) +},{"buffer":77,"dup":66}],980:[function(require,module,exports){ var parseKeys = require('parse-asn1') var mgf = require('./mgf') var xor = require('./xor') @@ -196552,7 +197683,7 @@ function compare (a, b) { return dif } -},{"./mgf":954,"./withPublic":958,"./xor":959,"bn.js":955,"browserify-rsa":74,"create-hash":141,"parse-asn1":917,"safe-buffer":969}],957:[function(require,module,exports){ +},{"./mgf":978,"./withPublic":982,"./xor":983,"bn.js":979,"browserify-rsa":98,"create-hash":165,"parse-asn1":941,"safe-buffer":993}],981:[function(require,module,exports){ var parseKeys = require('parse-asn1') var randomBytes = require('randombytes') var createHash = require('create-hash') @@ -196642,7 +197773,7 @@ function nonZero (len) { return out } -},{"./mgf":954,"./withPublic":958,"./xor":959,"bn.js":955,"browserify-rsa":74,"create-hash":141,"parse-asn1":917,"randombytes":966,"safe-buffer":969}],958:[function(require,module,exports){ +},{"./mgf":978,"./withPublic":982,"./xor":983,"bn.js":979,"browserify-rsa":98,"create-hash":165,"parse-asn1":941,"randombytes":990,"safe-buffer":993}],982:[function(require,module,exports){ var BN = require('bn.js') var Buffer = require('safe-buffer').Buffer @@ -196656,7 +197787,7 @@ function withPublic (paddedMsg, key) { module.exports = withPublic -},{"bn.js":955,"safe-buffer":969}],959:[function(require,module,exports){ +},{"bn.js":979,"safe-buffer":993}],983:[function(require,module,exports){ module.exports = function xor (a, b) { var len = a.length var i = -1 @@ -196666,7 +197797,7 @@ module.exports = function xor (a, b) { return a } -},{}],960:[function(require,module,exports){ +},{}],984:[function(require,module,exports){ (function (global){(function (){ /*! https://mths.be/punycode v1.4.1 by @mathias */ ;(function(root) { @@ -197203,7 +198334,7 @@ module.exports = function xor (a, b) { }(this)); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],961:[function(require,module,exports){ +},{}],985:[function(require,module,exports){ (function (Buffer){(function (){ /** * Copyright (c) 2020, Peculiar Ventures, All rights reserved. @@ -197463,7 +198594,7 @@ module.exports = function xor (a, b) { }))); }).call(this)}).call(this,require("buffer").Buffer) -},{"buffer":100}],962:[function(require,module,exports){ +},{"buffer":124}],986:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -198241,7 +199372,7 @@ function clearProps(object, propsArray) { } //************************************************************************************** -},{}],963:[function(require,module,exports){ +},{}],987:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -198327,7 +199458,7 @@ var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; -},{}],964:[function(require,module,exports){ +},{}],988:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -198414,13 +199545,13 @@ var objectKeys = Object.keys || function (obj) { return res; }; -},{}],965:[function(require,module,exports){ +},{}],989:[function(require,module,exports){ 'use strict'; exports.decode = exports.parse = require('./decode'); exports.encode = exports.stringify = require('./encode'); -},{"./decode":963,"./encode":964}],966:[function(require,module,exports){ +},{"./decode":987,"./encode":988}],990:[function(require,module,exports){ (function (process,global){(function (){ 'use strict' @@ -198474,7 +199605,7 @@ function randomBytes (size, cb) { } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"_process":950,"safe-buffer":969}],967:[function(require,module,exports){ +},{"_process":974,"safe-buffer":993}],991:[function(require,module,exports){ (function (process,global){(function (){ 'use strict' @@ -198586,7 +199717,7 @@ function randomFillSync (buf, offset, size) { } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"_process":950,"randombytes":966,"safe-buffer":969}],968:[function(require,module,exports){ +},{"_process":974,"randombytes":990,"safe-buffer":993}],992:[function(require,module,exports){ 'use strict' var Buffer = require('buffer').Buffer var inherits = require('inherits') @@ -198751,7 +199882,7 @@ function fn5 (a, b, c, d, e, m, k, s) { module.exports = RIPEMD160 -},{"buffer":100,"hash-base":267,"inherits":304}],969:[function(require,module,exports){ +},{"buffer":124,"hash-base":291,"inherits":328}],993:[function(require,module,exports){ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ /* eslint-disable node/no-deprecated-api */ var buffer = require('buffer') @@ -198818,7 +199949,7 @@ SafeBuffer.allocUnsafeSlow = function (size) { return buffer.SlowBuffer(size) } -},{"buffer":100}],970:[function(require,module,exports){ +},{"buffer":124}],994:[function(require,module,exports){ (function (process){(function (){ /* eslint-disable node/no-deprecated-api */ @@ -198899,7 +200030,7 @@ if (!safer.constants) { module.exports = safer }).call(this)}).call(this,require('_process')) -},{"_process":950,"buffer":100}],971:[function(require,module,exports){ +},{"_process":974,"buffer":124}],995:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const ed5 = require("xmlchars/xml/1.0/ed5"); @@ -200964,7 +202095,7 @@ class SaxesParser { } exports.SaxesParser = SaxesParser; -},{"xmlchars/xml/1.0/ed5":1094,"xmlchars/xml/1.1/ed2":1095,"xmlchars/xmlns/1.0/ed3":1096}],972:[function(require,module,exports){ +},{"xmlchars/xml/1.0/ed5":1118,"xmlchars/xml/1.1/ed2":1119,"xmlchars/xmlns/1.0/ed3":1120}],996:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer // prototype class for hash functions @@ -201047,7 +202178,7 @@ Hash.prototype._update = function () { module.exports = Hash -},{"safe-buffer":969}],973:[function(require,module,exports){ +},{"safe-buffer":993}],997:[function(require,module,exports){ var exports = module.exports = function SHA (algorithm) { algorithm = algorithm.toLowerCase() @@ -201064,7 +202195,7 @@ exports.sha256 = require('./sha256') exports.sha384 = require('./sha384') exports.sha512 = require('./sha512') -},{"./sha":974,"./sha1":975,"./sha224":976,"./sha256":977,"./sha384":978,"./sha512":979}],974:[function(require,module,exports){ +},{"./sha":998,"./sha1":999,"./sha224":1000,"./sha256":1001,"./sha384":1002,"./sha512":1003}],998:[function(require,module,exports){ /* * A JavaScript implementation of the Secure Hash Algorithm, SHA-0, as defined * in FIPS PUB 180-1 @@ -201160,7 +202291,7 @@ Sha.prototype._hash = function () { module.exports = Sha -},{"./hash":972,"inherits":304,"safe-buffer":969}],975:[function(require,module,exports){ +},{"./hash":996,"inherits":328,"safe-buffer":993}],999:[function(require,module,exports){ /* * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined * in FIPS PUB 180-1 @@ -201261,7 +202392,7 @@ Sha1.prototype._hash = function () { module.exports = Sha1 -},{"./hash":972,"inherits":304,"safe-buffer":969}],976:[function(require,module,exports){ +},{"./hash":996,"inherits":328,"safe-buffer":993}],1000:[function(require,module,exports){ /** * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined * in FIPS 180-2 @@ -201316,7 +202447,7 @@ Sha224.prototype._hash = function () { module.exports = Sha224 -},{"./hash":972,"./sha256":977,"inherits":304,"safe-buffer":969}],977:[function(require,module,exports){ +},{"./hash":996,"./sha256":1001,"inherits":328,"safe-buffer":993}],1001:[function(require,module,exports){ /** * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined * in FIPS 180-2 @@ -201453,7 +202584,7 @@ Sha256.prototype._hash = function () { module.exports = Sha256 -},{"./hash":972,"inherits":304,"safe-buffer":969}],978:[function(require,module,exports){ +},{"./hash":996,"inherits":328,"safe-buffer":993}],1002:[function(require,module,exports){ var inherits = require('inherits') var SHA512 = require('./sha512') var Hash = require('./hash') @@ -201512,7 +202643,7 @@ Sha384.prototype._hash = function () { module.exports = Sha384 -},{"./hash":972,"./sha512":979,"inherits":304,"safe-buffer":969}],979:[function(require,module,exports){ +},{"./hash":996,"./sha512":1003,"inherits":328,"safe-buffer":993}],1003:[function(require,module,exports){ var inherits = require('inherits') var Hash = require('./hash') var Buffer = require('safe-buffer').Buffer @@ -201774,7 +202905,7 @@ Sha512.prototype._hash = function () { module.exports = Sha512 -},{"./hash":972,"inherits":304,"safe-buffer":969}],980:[function(require,module,exports){ +},{"./hash":996,"inherits":328,"safe-buffer":993}],1004:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -201905,35 +203036,35 @@ Stream.prototype.pipe = function(dest, options) { return dest; }; -},{"events":256,"inherits":304,"readable-stream/lib/_stream_duplex.js":982,"readable-stream/lib/_stream_passthrough.js":983,"readable-stream/lib/_stream_readable.js":984,"readable-stream/lib/_stream_transform.js":985,"readable-stream/lib/_stream_writable.js":986,"readable-stream/lib/internal/streams/end-of-stream.js":990,"readable-stream/lib/internal/streams/pipeline.js":992}],981:[function(require,module,exports){ -arguments[4][81][0].apply(exports,arguments) -},{"dup":81}],982:[function(require,module,exports){ -arguments[4][82][0].apply(exports,arguments) -},{"./_stream_readable":984,"./_stream_writable":986,"_process":950,"dup":82,"inherits":304}],983:[function(require,module,exports){ -arguments[4][83][0].apply(exports,arguments) -},{"./_stream_transform":985,"dup":83,"inherits":304}],984:[function(require,module,exports){ -arguments[4][84][0].apply(exports,arguments) -},{"../errors":981,"./_stream_duplex":982,"./internal/streams/async_iterator":987,"./internal/streams/buffer_list":988,"./internal/streams/destroy":989,"./internal/streams/from":991,"./internal/streams/state":993,"./internal/streams/stream":994,"_process":950,"buffer":100,"dup":84,"events":256,"inherits":304,"string_decoder/":1014,"util":53}],985:[function(require,module,exports){ -arguments[4][85][0].apply(exports,arguments) -},{"../errors":981,"./_stream_duplex":982,"dup":85,"inherits":304}],986:[function(require,module,exports){ -arguments[4][86][0].apply(exports,arguments) -},{"../errors":981,"./_stream_duplex":982,"./internal/streams/destroy":989,"./internal/streams/state":993,"./internal/streams/stream":994,"_process":950,"buffer":100,"dup":86,"inherits":304,"util-deprecate":1036}],987:[function(require,module,exports){ -arguments[4][87][0].apply(exports,arguments) -},{"./end-of-stream":990,"_process":950,"dup":87}],988:[function(require,module,exports){ -arguments[4][88][0].apply(exports,arguments) -},{"buffer":100,"dup":88,"util":53}],989:[function(require,module,exports){ -arguments[4][89][0].apply(exports,arguments) -},{"_process":950,"dup":89}],990:[function(require,module,exports){ -arguments[4][90][0].apply(exports,arguments) -},{"../../../errors":981,"dup":90}],991:[function(require,module,exports){ -arguments[4][91][0].apply(exports,arguments) -},{"dup":91}],992:[function(require,module,exports){ -arguments[4][92][0].apply(exports,arguments) -},{"../../../errors":981,"./end-of-stream":990,"dup":92}],993:[function(require,module,exports){ -arguments[4][93][0].apply(exports,arguments) -},{"../../../errors":981,"dup":93}],994:[function(require,module,exports){ -arguments[4][94][0].apply(exports,arguments) -},{"dup":94,"events":256}],995:[function(require,module,exports){ +},{"events":280,"inherits":328,"readable-stream/lib/_stream_duplex.js":1006,"readable-stream/lib/_stream_passthrough.js":1007,"readable-stream/lib/_stream_readable.js":1008,"readable-stream/lib/_stream_transform.js":1009,"readable-stream/lib/_stream_writable.js":1010,"readable-stream/lib/internal/streams/end-of-stream.js":1014,"readable-stream/lib/internal/streams/pipeline.js":1016}],1005:[function(require,module,exports){ +arguments[4][105][0].apply(exports,arguments) +},{"dup":105}],1006:[function(require,module,exports){ +arguments[4][106][0].apply(exports,arguments) +},{"./_stream_readable":1008,"./_stream_writable":1010,"_process":974,"dup":106,"inherits":328}],1007:[function(require,module,exports){ +arguments[4][107][0].apply(exports,arguments) +},{"./_stream_transform":1009,"dup":107,"inherits":328}],1008:[function(require,module,exports){ +arguments[4][108][0].apply(exports,arguments) +},{"../errors":1005,"./_stream_duplex":1006,"./internal/streams/async_iterator":1011,"./internal/streams/buffer_list":1012,"./internal/streams/destroy":1013,"./internal/streams/from":1015,"./internal/streams/state":1017,"./internal/streams/stream":1018,"_process":974,"buffer":124,"dup":108,"events":280,"inherits":328,"string_decoder/":1038,"util":77}],1009:[function(require,module,exports){ +arguments[4][109][0].apply(exports,arguments) +},{"../errors":1005,"./_stream_duplex":1006,"dup":109,"inherits":328}],1010:[function(require,module,exports){ +arguments[4][110][0].apply(exports,arguments) +},{"../errors":1005,"./_stream_duplex":1006,"./internal/streams/destroy":1013,"./internal/streams/state":1017,"./internal/streams/stream":1018,"_process":974,"buffer":124,"dup":110,"inherits":328,"util-deprecate":1060}],1011:[function(require,module,exports){ +arguments[4][111][0].apply(exports,arguments) +},{"./end-of-stream":1014,"_process":974,"dup":111}],1012:[function(require,module,exports){ +arguments[4][112][0].apply(exports,arguments) +},{"buffer":124,"dup":112,"util":77}],1013:[function(require,module,exports){ +arguments[4][113][0].apply(exports,arguments) +},{"_process":974,"dup":113}],1014:[function(require,module,exports){ +arguments[4][114][0].apply(exports,arguments) +},{"../../../errors":1005,"dup":114}],1015:[function(require,module,exports){ +arguments[4][115][0].apply(exports,arguments) +},{"dup":115}],1016:[function(require,module,exports){ +arguments[4][116][0].apply(exports,arguments) +},{"../../../errors":1005,"./end-of-stream":1014,"dup":116}],1017:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"../../../errors":1005,"dup":117}],1018:[function(require,module,exports){ +arguments[4][118][0].apply(exports,arguments) +},{"dup":118,"events":280}],1019:[function(require,module,exports){ (function (global){(function (){ var ClientRequest = require('./lib/request') var response = require('./lib/response') @@ -202021,7 +203152,7 @@ http.METHODS = [ 'UNSUBSCRIBE' ] }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./lib/request":997,"./lib/response":998,"builtin-status-codes":101,"url":1034,"xtend":1097}],996:[function(require,module,exports){ +},{"./lib/request":1021,"./lib/response":1022,"builtin-status-codes":125,"url":1058,"xtend":1121}],1020:[function(require,module,exports){ (function (global){(function (){ exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream) @@ -202084,7 +203215,7 @@ function isFunction (value) { xhr = null // Help gc }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],997:[function(require,module,exports){ +},{}],1021:[function(require,module,exports){ (function (process,global,Buffer){(function (){ var capability = require('./capability') var inherits = require('inherits') @@ -202440,7 +203571,7 @@ var unsafeHeaders = [ ] }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) -},{"./capability":996,"./response":998,"_process":950,"buffer":100,"inherits":304,"readable-stream":1013}],998:[function(require,module,exports){ +},{"./capability":1020,"./response":1022,"_process":974,"buffer":124,"inherits":328,"readable-stream":1037}],1022:[function(require,module,exports){ (function (process,global,Buffer){(function (){ var capability = require('./capability') var inherits = require('inherits') @@ -202655,37 +203786,37 @@ IncomingMessage.prototype._onXHRProgress = function (resetTimers) { } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) -},{"./capability":996,"_process":950,"buffer":100,"inherits":304,"readable-stream":1013}],999:[function(require,module,exports){ -arguments[4][81][0].apply(exports,arguments) -},{"dup":81}],1000:[function(require,module,exports){ -arguments[4][82][0].apply(exports,arguments) -},{"./_stream_readable":1002,"./_stream_writable":1004,"_process":950,"dup":82,"inherits":304}],1001:[function(require,module,exports){ -arguments[4][83][0].apply(exports,arguments) -},{"./_stream_transform":1003,"dup":83,"inherits":304}],1002:[function(require,module,exports){ -arguments[4][84][0].apply(exports,arguments) -},{"../errors":999,"./_stream_duplex":1000,"./internal/streams/async_iterator":1005,"./internal/streams/buffer_list":1006,"./internal/streams/destroy":1007,"./internal/streams/from":1009,"./internal/streams/state":1011,"./internal/streams/stream":1012,"_process":950,"buffer":100,"dup":84,"events":256,"inherits":304,"string_decoder/":1014,"util":53}],1003:[function(require,module,exports){ -arguments[4][85][0].apply(exports,arguments) -},{"../errors":999,"./_stream_duplex":1000,"dup":85,"inherits":304}],1004:[function(require,module,exports){ -arguments[4][86][0].apply(exports,arguments) -},{"../errors":999,"./_stream_duplex":1000,"./internal/streams/destroy":1007,"./internal/streams/state":1011,"./internal/streams/stream":1012,"_process":950,"buffer":100,"dup":86,"inherits":304,"util-deprecate":1036}],1005:[function(require,module,exports){ -arguments[4][87][0].apply(exports,arguments) -},{"./end-of-stream":1008,"_process":950,"dup":87}],1006:[function(require,module,exports){ -arguments[4][88][0].apply(exports,arguments) -},{"buffer":100,"dup":88,"util":53}],1007:[function(require,module,exports){ -arguments[4][89][0].apply(exports,arguments) -},{"_process":950,"dup":89}],1008:[function(require,module,exports){ -arguments[4][90][0].apply(exports,arguments) -},{"../../../errors":999,"dup":90}],1009:[function(require,module,exports){ -arguments[4][91][0].apply(exports,arguments) -},{"dup":91}],1010:[function(require,module,exports){ -arguments[4][92][0].apply(exports,arguments) -},{"../../../errors":999,"./end-of-stream":1008,"dup":92}],1011:[function(require,module,exports){ -arguments[4][93][0].apply(exports,arguments) -},{"../../../errors":999,"dup":93}],1012:[function(require,module,exports){ -arguments[4][94][0].apply(exports,arguments) -},{"dup":94,"events":256}],1013:[function(require,module,exports){ -arguments[4][95][0].apply(exports,arguments) -},{"./lib/_stream_duplex.js":1000,"./lib/_stream_passthrough.js":1001,"./lib/_stream_readable.js":1002,"./lib/_stream_transform.js":1003,"./lib/_stream_writable.js":1004,"./lib/internal/streams/end-of-stream.js":1008,"./lib/internal/streams/pipeline.js":1010,"dup":95}],1014:[function(require,module,exports){ +},{"./capability":1020,"_process":974,"buffer":124,"inherits":328,"readable-stream":1037}],1023:[function(require,module,exports){ +arguments[4][105][0].apply(exports,arguments) +},{"dup":105}],1024:[function(require,module,exports){ +arguments[4][106][0].apply(exports,arguments) +},{"./_stream_readable":1026,"./_stream_writable":1028,"_process":974,"dup":106,"inherits":328}],1025:[function(require,module,exports){ +arguments[4][107][0].apply(exports,arguments) +},{"./_stream_transform":1027,"dup":107,"inherits":328}],1026:[function(require,module,exports){ +arguments[4][108][0].apply(exports,arguments) +},{"../errors":1023,"./_stream_duplex":1024,"./internal/streams/async_iterator":1029,"./internal/streams/buffer_list":1030,"./internal/streams/destroy":1031,"./internal/streams/from":1033,"./internal/streams/state":1035,"./internal/streams/stream":1036,"_process":974,"buffer":124,"dup":108,"events":280,"inherits":328,"string_decoder/":1038,"util":77}],1027:[function(require,module,exports){ +arguments[4][109][0].apply(exports,arguments) +},{"../errors":1023,"./_stream_duplex":1024,"dup":109,"inherits":328}],1028:[function(require,module,exports){ +arguments[4][110][0].apply(exports,arguments) +},{"../errors":1023,"./_stream_duplex":1024,"./internal/streams/destroy":1031,"./internal/streams/state":1035,"./internal/streams/stream":1036,"_process":974,"buffer":124,"dup":110,"inherits":328,"util-deprecate":1060}],1029:[function(require,module,exports){ +arguments[4][111][0].apply(exports,arguments) +},{"./end-of-stream":1032,"_process":974,"dup":111}],1030:[function(require,module,exports){ +arguments[4][112][0].apply(exports,arguments) +},{"buffer":124,"dup":112,"util":77}],1031:[function(require,module,exports){ +arguments[4][113][0].apply(exports,arguments) +},{"_process":974,"dup":113}],1032:[function(require,module,exports){ +arguments[4][114][0].apply(exports,arguments) +},{"../../../errors":1023,"dup":114}],1033:[function(require,module,exports){ +arguments[4][115][0].apply(exports,arguments) +},{"dup":115}],1034:[function(require,module,exports){ +arguments[4][116][0].apply(exports,arguments) +},{"../../../errors":1023,"./end-of-stream":1032,"dup":116}],1035:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"../../../errors":1023,"dup":117}],1036:[function(require,module,exports){ +arguments[4][118][0].apply(exports,arguments) +},{"dup":118,"events":280}],1037:[function(require,module,exports){ +arguments[4][119][0].apply(exports,arguments) +},{"./lib/_stream_duplex.js":1024,"./lib/_stream_passthrough.js":1025,"./lib/_stream_readable.js":1026,"./lib/_stream_transform.js":1027,"./lib/_stream_writable.js":1028,"./lib/internal/streams/end-of-stream.js":1032,"./lib/internal/streams/pipeline.js":1034,"dup":119}],1038:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -202982,7 +204113,7 @@ function simpleWrite(buf) { function simpleEnd(buf) { return buf && buf.length ? this.write(buf) : ''; } -},{"safe-buffer":969}],1015:[function(require,module,exports){ +},{"safe-buffer":993}],1039:[function(require,module,exports){ 'use strict'; /** @@ -203822,7 +204953,7 @@ class SymbolTree { module.exports = SymbolTree; SymbolTree.TreePosition = TreePosition; -},{"./SymbolTreeNode":1016,"./TreeIterator":1017,"./TreePosition":1018}],1016:[function(require,module,exports){ +},{"./SymbolTreeNode":1040,"./TreeIterator":1041,"./TreePosition":1042}],1040:[function(require,module,exports){ 'use strict'; module.exports = class SymbolTreeNode { @@ -203878,7 +205009,7 @@ module.exports = class SymbolTreeNode { } }; -},{}],1017:[function(require,module,exports){ +},{}],1041:[function(require,module,exports){ 'use strict'; const TREE = Symbol(); @@ -203949,7 +205080,7 @@ Object.freeze(TreeIterator.prototype); module.exports = TreeIterator; -},{}],1018:[function(require,module,exports){ +},{}],1042:[function(require,module,exports){ 'use strict'; /* eslint-disable sort-keys */ @@ -203962,7 +205093,7 @@ module.exports = Object.freeze({ CONTAINED_BY: 16, }); -},{}],1019:[function(require,module,exports){ +},{}],1043:[function(require,module,exports){ (function (setImmediate,clearImmediate){(function (){ var nextTick = require('process/browser.js').nextTick; var apply = Function.prototype.apply; @@ -204041,7 +205172,7 @@ exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate : delete immediateIds[id]; }; }).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate) -},{"process/browser.js":950,"timers":1019}],1020:[function(require,module,exports){ +},{"process/browser.js":974,"timers":1043}],1044:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -205714,7 +206845,7 @@ exports.permutePath = permutePath; exports.canonicalDomain = canonicalDomain; exports.PrefixSecurityEnum = PrefixSecurityEnum; -},{"./memstore":1021,"./pathMatch":1022,"./permuteDomain":1023,"./pubsuffix-psl":1024,"./store":1025,"./version":1026,"punycode":960,"universalify":1033,"url":1034,"util":1039}],1021:[function(require,module,exports){ +},{"./memstore":1045,"./pathMatch":1046,"./permuteDomain":1047,"./pubsuffix-psl":1048,"./store":1049,"./version":1050,"punycode":984,"universalify":1057,"url":1058,"util":1063}],1045:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -205906,7 +207037,7 @@ class MemoryCookieStore extends Store { exports.MemoryCookieStore = MemoryCookieStore; -},{"./pathMatch":1022,"./permuteDomain":1023,"./store":1025,"universalify":1033,"util":1039}],1022:[function(require,module,exports){ +},{"./pathMatch":1046,"./permuteDomain":1047,"./store":1049,"universalify":1057,"util":1063}],1046:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -205969,7 +207100,7 @@ function pathMatch(reqPath, cookiePath) { exports.pathMatch = pathMatch; -},{}],1023:[function(require,module,exports){ +},{}],1047:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -206041,7 +207172,7 @@ function permuteDomain(domain, allowSpecialUseDomain) { exports.permuteDomain = permuteDomain; -},{"./pubsuffix-psl":1024}],1024:[function(require,module,exports){ +},{"./pubsuffix-psl":1048}],1048:[function(require,module,exports){ /*! * Copyright (c) 2018, Salesforce.com, Inc. * All rights reserved. @@ -206081,7 +207212,7 @@ function getPublicSuffix(domain) { exports.getPublicSuffix = getPublicSuffix; -},{"psl":952}],1025:[function(require,module,exports){ +},{"psl":976}],1049:[function(require,module,exports){ /*! * Copyright (c) 2015, Salesforce.com, Inc. * All rights reserved. @@ -206159,11 +207290,11 @@ class Store { exports.Store = Store; -},{}],1026:[function(require,module,exports){ +},{}],1050:[function(require,module,exports){ // generated by genversion module.exports = '4.0.0' -},{}],1027:[function(require,module,exports){ +},{}],1051:[function(require,module,exports){ "use strict"; const punycode = require("punycode"); @@ -206462,9 +207593,9 @@ module.exports = { toUnicode }; -},{"./lib/mappingTable.json":1028,"./lib/regexes.js":1029,"./lib/statusMapping.js":1030,"punycode":960}],1028:[function(require,module,exports){ +},{"./lib/mappingTable.json":1052,"./lib/regexes.js":1053,"./lib/statusMapping.js":1054,"punycode":984}],1052:[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],[1000,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,2247],2],[[2248,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,2900],3],[2901,2],[[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,2],[[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,3],[3457,2],[[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,6000],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,6848],2],[[6849,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,"ἷ"],[[8000,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,9000],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,3],[11159,2],[[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,11858],2],[[11859,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],2],[[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月"],[13000,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],2],[[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,40956],2],[[40957,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,1,"ꟈ"],[42952,2],[42953,1,"ꟊ"],[42954,2],[[42955,42996],3],[42997,1,"ꟶ"],[42998,2],[42999,2],[43000,1,"ħ"],[43001,1,"œ"],[43002,2],[[43003,43007],2],[[43008,43047],2],[[43048,43051],2],[43052,2],[[43053,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,2],[43881,1,"ʍ"],[[43882,43883],2],[[43884,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,"刺"],[64000,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,2],[[65949,65951],3],[65952,2],[[65953,65999],3],[[66000,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,3],[[69248,69289],2],[69290,3],[[69291,69292],2],[69293,2],[[69294,69295],3],[[69296,69297],2],[[69298,69375],3],[[69376,69404],2],[[69405,69414],2],[69415,2],[[69416,69423],3],[[69424,69456],2],[[69457,69465],2],[[69466,69551],3],[[69552,69572],2],[[69573,69579],2],[[69580,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,2],[[69960,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],2],[[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,2],[70747,2],[70748,3],[70749,2],[70750,2],[70751,2],[[70752,70753],2],[[70754,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,71942],2],[[71943,71944],3],[71945,2],[[71946,71947],3],[[71948,71955],2],[71956,3],[[71957,71958],2],[71959,3],[[71960,71989],2],[71990,3],[[71991,71992],2],[[71993,71994],3],[[71995,72003],2],[[72004,72006],2],[[72007,72015],3],[[72016,72025],2],[[72026,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,73647],3],[73648,2],[[73649,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,2],[[94181,94191],3],[[94192,94193],2],[[94194,94207],3],[[94208,100332],2],[[100333,100337],2],[[100338,100343],2],[[100344,100351],3],[[100352,101106],2],[[101107,101589],2],[[101590,101631],3],[[101632,101640],2],[[101641,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"],[120000,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],2],[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],2],[[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,2],[[127406,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],[[128000,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,128727],2],[[128728,128735],3],[[128736,128748],2],[[128749,128751],3],[[128752,128755],2],[[128756,128758],2],[[128759,128760],2],[128761,2],[128762,2],[[128763,128764],2],[[128765,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,129199],3],[[129200,129201],2],[[129202,129279],3],[[129280,129291],2],[129292,2],[[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,2],[[129395,129398],2],[[129399,129400],2],[129401,3],[129402,2],[129403,2],[[129404,129407],2],[[129408,129412],2],[[129413,129425],2],[[129426,129431],2],[[129432,129442],2],[[129443,129444],2],[[129445,129450],2],[[129451,129453],2],[[129454,129455],2],[[129456,129465],2],[[129466,129471],2],[129472,2],[[129473,129474],2],[[129475,129482],2],[129483,2],[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,2],[[129653,129655],3],[[129656,129658],2],[[129659,129663],3],[[129664,129666],2],[[129667,129670],2],[[129671,129679],3],[[129680,129685],2],[[129686,129704],2],[[129705,129711],3],[[129712,129718],2],[[129719,129727],3],[[129728,129730],2],[[129731,129743],3],[[129744,129750],2],[[129751,129791],3],[[129792,129938],2],[129939,3],[[129940,129994],2],[[129995,130031],3],[130032,1,"0"],[130033,1,"1"],[130034,1,"2"],[130035,1,"3"],[130036,1,"4"],[130037,1,"5"],[130038,1,"6"],[130039,1,"7"],[130040,1,"8"],[130041,1,"9"],[[130042,131069],3],[[131070,131071],3],[[131072,173782],2],[[173783,173789],2],[[173790,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,"蚩"],[195000,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,201546],2],[[201547,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],[[918000,983037],3],[[983038,983039],3],[[983040,1048573],3],[[1048574,1048575],3],[[1048576,1114109],3],[[1114110,1114111],3]] -},{}],1029:[function(require,module,exports){ +},{}],1053:[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\u0B55-\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\u0D81-\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-\u1AC0\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\uA82C\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{10EAB}\u{10EAC}\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{111CE}\u{111CF}\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{11930}-\u{11935}\u{11937}\u{11938}\u{1193B}-\u{1193E}\u{11940}\u{11942}\u{11943}\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{16FE4}\u{16FF0}\u{16FF1}\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; @@ -206495,7 +207626,7 @@ module.exports = { bidiS6 }; -},{}],1030:[function(require,module,exports){ +},{}],1054:[function(require,module,exports){ "use strict"; module.exports.STATUS_MAPPING = { @@ -206508,7 +207639,7 @@ module.exports.STATUS_MAPPING = { ignored: 7 }; -},{}],1031:[function(require,module,exports){ +},{}],1055:[function(require,module,exports){ (function (global){(function (){ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -206818,7 +207949,7 @@ var __createBinding; }); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],1032:[function(require,module,exports){ +},{}],1056:[function(require,module,exports){ (function (global){(function (){ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : @@ -207210,7 +208341,7 @@ return typeDetect; }))); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],1033:[function(require,module,exports){ +},{}],1057:[function(require,module,exports){ 'use strict' exports.fromCallback = function (fn) { @@ -207237,7 +208368,7 @@ exports.fromPromise = function (fn) { }, 'name', { value: fn.name }) } -},{}],1034:[function(require,module,exports){ +},{}],1058:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -207971,7 +209102,7 @@ Url.prototype.parseHost = function() { if (host) this.hostname = host; }; -},{"./util":1035,"punycode":960,"querystring":965}],1035:[function(require,module,exports){ +},{"./util":1059,"punycode":984,"querystring":989}],1059:[function(require,module,exports){ 'use strict'; module.exports = { @@ -207989,7 +209120,7 @@ module.exports = { } }; -},{}],1036:[function(require,module,exports){ +},{}],1060:[function(require,module,exports){ (function (global){(function (){ /** @@ -208060,9 +209191,9 @@ function config (name) { } }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],1037:[function(require,module,exports){ -arguments[4][46][0].apply(exports,arguments) -},{"dup":46}],1038:[function(require,module,exports){ +},{}],1061:[function(require,module,exports){ +arguments[4][70][0].apply(exports,arguments) +},{"dup":70}],1062:[function(require,module,exports){ // Currently in sync with Node.js lib/internal/util/types.js // https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9 @@ -208398,7 +209529,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer; }); }); -},{"is-arguments":305,"is-generator-function":306,"is-typed-array":308,"which-typed-array":1091}],1039:[function(require,module,exports){ +},{"is-arguments":329,"is-generator-function":330,"is-typed-array":332,"which-typed-array":1115}],1063:[function(require,module,exports){ (function (process){(function (){ // Copyright Joyent, Inc. and other Node contributors. // @@ -209117,7 +210248,7 @@ function callbackify(original) { exports.callbackify = callbackify; }).call(this)}).call(this,require('_process')) -},{"./support/isBuffer":1037,"./support/types":1038,"_process":950,"inherits":304}],1040:[function(require,module,exports){ +},{"./support/isBuffer":1061,"./support/types":1062,"_process":974,"inherits":328}],1064:[function(require,module,exports){ "use strict"; const { getGlobalMonotonicClockMS } = require("./lib/global-monotonic-clock"); @@ -209130,7 +210261,7 @@ module.exports = { clockIsAccurate }; -},{"./lib/clock-is-accurate":1042,"./lib/global-monotonic-clock":1043,"./lib/performance":1044}],1041:[function(require,module,exports){ +},{"./lib/clock-is-accurate":1066,"./lib/global-monotonic-clock":1067,"./lib/performance":1068}],1065:[function(require,module,exports){ "use strict"; // This files implements the calculation of the offset between the global monotonic clock and UNIX time. This value is @@ -209171,7 +210302,7 @@ if (clockIsAccurate) { module.exports = undefined; } -},{"./clock-is-accurate":1042,"./global-monotonic-clock":1043}],1042:[function(require,module,exports){ +},{"./clock-is-accurate":1066,"./global-monotonic-clock":1067}],1066:[function(require,module,exports){ "use strict"; const { hrtime } = require("./utils"); @@ -209234,7 +210365,7 @@ const isAccurate = accurates >= THRESHOLD; module.exports = isAccurate; -},{"./utils":1045}],1043:[function(require,module,exports){ +},{"./utils":1069}],1067:[function(require,module,exports){ "use strict"; const { hrtime, toMS } = require("./utils"); @@ -209246,7 +210377,7 @@ function getGlobalMonotonicClockMS() { module.exports = { getGlobalMonotonicClockMS }; -},{"./utils":1045}],1044:[function(require,module,exports){ +},{"./utils":1069}],1068:[function(require,module,exports){ "use strict"; // Actual implementation of the Performance class. @@ -209301,7 +210432,7 @@ class Performance { module.exports = { Performance }; -},{"./calculate-clock-offset":1041,"./clock-is-accurate":1042,"./utils":1045}],1045:[function(require,module,exports){ +},{"./calculate-clock-offset":1065,"./clock-is-accurate":1066,"./utils":1069}],1069:[function(require,module,exports){ "use strict"; // Browserify's process implementation doesn't have hrtime, and this package is small so not much of a burden for @@ -209314,7 +210445,7 @@ function toMS([sec, nanosec]) { module.exports = { hrtime, toMS }; -},{"browser-process-hrtime":1046}],1046:[function(require,module,exports){ +},{"browser-process-hrtime":1070}],1070:[function(require,module,exports){ (function (process,global){(function (){ module.exports = process.hrtime || hrtime @@ -209345,7 +210476,7 @@ function hrtime(previousTimestamp){ return [seconds,nanoseconds] } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"_process":950}],1047:[function(require,module,exports){ +},{"_process":974}],1071:[function(require,module,exports){ "use strict"; const xnv = require("xml-name-validator"); @@ -209475,7 +210606,7 @@ module.exports.generatePrefix = generatePrefix; module.exports.serializeAttributeValue = serializeAttributeValue; module.exports.serializeAttributes = serializeAttributes; -},{"./constants":1048,"xml-name-validator":1093}],1048:[function(require,module,exports){ +},{"./constants":1072,"xml-name-validator":1117}],1072:[function(require,module,exports){ "use strict"; module.exports.NAMESPACES = { @@ -209521,7 +210652,7 @@ module.exports.VOID_ELEMENTS = new Set([ "wbr" ]); -},{}],1049:[function(require,module,exports){ +},{}],1073:[function(require,module,exports){ "use strict"; const xnv = require("xml-name-validator"); @@ -209894,7 +211025,7 @@ module.exports = (root, { requireWellFormed = false } = {}) => { }); }; -},{"./attributes":1047,"./constants":1048,"xml-name-validator":1093}],1050:[function(require,module,exports){ +},{"./attributes":1071,"./constants":1072,"xml-name-validator":1117}],1074:[function(require,module,exports){ (function (Buffer){(function (){ /** * Copyright (c) 2019, Peculiar Ventures, All rights reserved. @@ -211239,7 +212370,7 @@ exports.isJWK = isJWK; exports.json = index$3; }).call(this)}).call(this,require("buffer").Buffer) -},{"@peculiar/asn1-schema":8,"@peculiar/json-schema":17,"asn1js":43,"buffer":100,"pvtsutils":961,"tslib":1031}],1051:[function(require,module,exports){ +},{"@peculiar/asn1-schema":32,"@peculiar/json-schema":41,"asn1js":67,"buffer":124,"pvtsutils":985,"tslib":1055}],1075:[function(require,module,exports){ "use strict"; function makeException(ErrorType, message, opts = {}) { @@ -211730,7 +212861,7 @@ exports.Function = convertCallbackFunction; exports.VoidFunction = convertCallbackFunction; -},{}],1052:[function(require,module,exports){ +},{}],1076:[function(require,module,exports){ module.exports={ "866": "IBM866", "unicode-1-1-utf-8": "UTF-8", @@ -211938,7 +213069,7 @@ module.exports={ "utf-16": "UTF-16LE", "utf-16le": "UTF-16LE" } -},{}],1053:[function(require,module,exports){ +},{}],1077:[function(require,module,exports){ module.exports=[ "UTF-8", "IBM866", @@ -211976,7 +213107,7 @@ module.exports=[ "UTF-16BE", "UTF-16LE" ] -},{}],1054:[function(require,module,exports){ +},{}],1078:[function(require,module,exports){ "use strict"; const iconvLite = require("iconv-lite"); const supportedNames = require("./supported-names.json"); @@ -212025,7 +213156,7 @@ exports.isSupported = name => { return supportedNamesSet.has(String(name)); }; -},{"./labels-to-names.json":1052,"./supported-names.json":1053,"iconv-lite":1073}],1055:[function(require,module,exports){ +},{"./labels-to-names.json":1076,"./supported-names.json":1077,"iconv-lite":1097}],1079:[function(require,module,exports){ "use strict"; var Buffer = require("safer-buffer").Buffer; @@ -212582,7 +213713,7 @@ function findIdx(table, val) { } -},{"safer-buffer":970}],1056:[function(require,module,exports){ +},{"safer-buffer":994}],1080:[function(require,module,exports){ "use strict"; // Description of supported double byte encodings and aliases. @@ -212760,7 +213891,7 @@ module.exports = { 'xxbig5': 'big5hkscs', }; -},{"./tables/big5-added.json":1062,"./tables/cp936.json":1063,"./tables/cp949.json":1064,"./tables/cp950.json":1065,"./tables/eucjp.json":1066,"./tables/gb18030-ranges.json":1067,"./tables/gbk-added.json":1068,"./tables/shiftjis.json":1069}],1057:[function(require,module,exports){ +},{"./tables/big5-added.json":1086,"./tables/cp936.json":1087,"./tables/cp949.json":1088,"./tables/cp950.json":1089,"./tables/eucjp.json":1090,"./tables/gb18030-ranges.json":1091,"./tables/gbk-added.json":1092,"./tables/shiftjis.json":1093}],1081:[function(require,module,exports){ "use strict"; // Update this array if you add/rename/remove files in this directory. @@ -212784,7 +213915,7 @@ for (var i = 0; i < modules.length; i++) { exports[enc] = module[enc]; } -},{"./dbcs-codec":1055,"./dbcs-data":1056,"./internal":1058,"./sbcs-codec":1059,"./sbcs-data":1061,"./sbcs-data-generated":1060,"./utf16":1070,"./utf7":1071}],1058:[function(require,module,exports){ +},{"./dbcs-codec":1079,"./dbcs-data":1080,"./internal":1082,"./sbcs-codec":1083,"./sbcs-data":1085,"./sbcs-data-generated":1084,"./utf16":1094,"./utf7":1095}],1082:[function(require,module,exports){ "use strict"; var Buffer = require("safer-buffer").Buffer; @@ -212974,7 +214105,7 @@ InternalDecoderCesu8.prototype.end = function() { return res; } -},{"safer-buffer":970,"string_decoder":1014}],1059:[function(require,module,exports){ +},{"safer-buffer":994,"string_decoder":1038}],1083:[function(require,module,exports){ "use strict"; var Buffer = require("safer-buffer").Buffer; @@ -213048,7 +214179,7 @@ SBCSDecoder.prototype.write = function(buf) { SBCSDecoder.prototype.end = function() { } -},{"safer-buffer":970}],1060:[function(require,module,exports){ +},{"safer-buffer":994}],1084:[function(require,module,exports){ "use strict"; // Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script. @@ -213500,7 +214631,7 @@ module.exports = { "chars": "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" } } -},{}],1061:[function(require,module,exports){ +},{}],1085:[function(require,module,exports){ "use strict"; // Manually added data to be used by sbcs codec in addition to generated one. @@ -213676,7 +214807,7 @@ module.exports = { }; -},{}],1062:[function(require,module,exports){ +},{}],1086:[function(require,module,exports){ module.exports=[ ["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"], ["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"], @@ -213800,7 +214931,7 @@ module.exports=[ ["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"] ] -},{}],1063:[function(require,module,exports){ +},{}],1087:[function(require,module,exports){ module.exports=[ ["0","\u0000",127,"€"], ["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"], @@ -214066,7 +215197,7 @@ module.exports=[ ["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"] ] -},{}],1064:[function(require,module,exports){ +},{}],1088:[function(require,module,exports){ module.exports=[ ["0","\u0000",127], ["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"], @@ -214341,7 +215472,7 @@ module.exports=[ ["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"] ] -},{}],1065:[function(require,module,exports){ +},{}],1089:[function(require,module,exports){ module.exports=[ ["0","\u0000",127], ["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"], @@ -214520,7 +215651,7 @@ module.exports=[ ["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"] ] -},{}],1066:[function(require,module,exports){ +},{}],1090:[function(require,module,exports){ module.exports=[ ["0","\u0000",127], ["8ea1","。",62], @@ -214704,9 +215835,9 @@ module.exports=[ ["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"] ] -},{}],1067:[function(require,module,exports){ +},{}],1091:[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,189000]} -},{}],1068:[function(require,module,exports){ +},{}],1092:[function(require,module,exports){ module.exports=[ ["a140","",62], ["a180","",32], @@ -214763,7 +215894,7 @@ module.exports=[ ["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93] ] -},{}],1069:[function(require,module,exports){ +},{}],1093:[function(require,module,exports){ module.exports=[ ["0","\u0000",128], ["a1","。",62], @@ -214890,7 +216021,7 @@ module.exports=[ ["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"] ] -},{}],1070:[function(require,module,exports){ +},{}],1094:[function(require,module,exports){ "use strict"; var Buffer = require("safer-buffer").Buffer; @@ -215069,7 +216200,7 @@ function detectEncoding(buf, defaultEncoding) { -},{"safer-buffer":970}],1071:[function(require,module,exports){ +},{"safer-buffer":994}],1095:[function(require,module,exports){ "use strict"; var Buffer = require("safer-buffer").Buffer; @@ -215361,7 +216492,7 @@ Utf7IMAPDecoder.prototype.end = function() { -},{"safer-buffer":970}],1072:[function(require,module,exports){ +},{"safer-buffer":994}],1096:[function(require,module,exports){ "use strict"; var BOMChar = '\uFEFF'; @@ -215415,7 +216546,7 @@ StripBOMWrapper.prototype.end = function() { } -},{}],1073:[function(require,module,exports){ +},{}],1097:[function(require,module,exports){ (function (process){(function (){ "use strict"; @@ -215572,7 +216703,7 @@ if ("Ā" != "\u0100") { } }).call(this)}).call(this,require('_process')) -},{"../encodings":1057,"./bom-handling":1072,"./extend-node":53,"./streams":53,"_process":950,"safer-buffer":970}],1074:[function(require,module,exports){ +},{"../encodings":1081,"./bom-handling":1096,"./extend-node":77,"./streams":77,"_process":974,"safer-buffer":994}],1098:[function(require,module,exports){ "use strict"; const parse = require("./parser.js"); const serialize = require("./serializer.js"); @@ -215765,7 +216896,7 @@ class MIMETypeParameters { } } -},{"./parser.js":1075,"./serializer.js":1076,"./utils.js":1077}],1075:[function(require,module,exports){ +},{"./parser.js":1099,"./serializer.js":1100,"./utils.js":1101}],1099:[function(require,module,exports){ "use strict"; const { removeLeadingAndTrailingHTTPWhitespace, @@ -215891,7 +217022,7 @@ module.exports = input => { return mimeType; }; -},{"./utils.js":1077}],1076:[function(require,module,exports){ +},{"./utils.js":1101}],1100:[function(require,module,exports){ "use strict"; const { solelyContainsHTTPTokenCodePoints } = require("./utils.js"); @@ -215918,7 +217049,7 @@ module.exports = mimeType => { return serialization; }; -},{"./utils.js":1077}],1077:[function(require,module,exports){ +},{"./utils.js":1101}],1101:[function(require,module,exports){ "use strict"; exports.removeLeadingAndTrailingHTTPWhitespace = string => { @@ -215945,9 +217076,9 @@ exports.asciiLowercase = string => { return string.replace(/[A-Z]/g, l => l.toLowerCase()); }; -},{}],1078:[function(require,module,exports){ -arguments[4][417][0].apply(exports,arguments) -},{"./utils.js":1088,"dup":417,"webidl-conversions":1051}],1079:[function(require,module,exports){ +},{}],1102:[function(require,module,exports){ +arguments[4][441][0].apply(exports,arguments) +},{"./utils.js":1112,"dup":441,"webidl-conversions":1075}],1103:[function(require,module,exports){ "use strict"; const usm = require("./url-state-machine"); const urlencoded = require("./urlencoded"); @@ -216166,7 +217297,7 @@ exports.implementation = class URLImpl { } }; -},{"./URLSearchParams":1082,"./url-state-machine":1086,"./urlencoded":1087}],1080:[function(require,module,exports){ +},{"./URLSearchParams":1106,"./url-state-machine":1110,"./urlencoded":1111}],1104:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -216585,7 +217716,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("./URL-impl.js"); -},{"./URL-impl.js":1079,"./utils.js":1088,"webidl-conversions":1051}],1081:[function(require,module,exports){ +},{"./URL-impl.js":1103,"./utils.js":1112,"webidl-conversions":1075}],1105:[function(require,module,exports){ "use strict"; const stableSortBy = require("lodash/sortBy"); const urlencoded = require("./urlencoded"); @@ -216709,7 +217840,7 @@ exports.implementation = class URLSearchParamsImpl { } }; -},{"./urlencoded":1087,"lodash/sortBy":889}],1082:[function(require,module,exports){ +},{"./urlencoded":1111,"lodash/sortBy":913}],1106:[function(require,module,exports){ "use strict"; const conversions = require("webidl-conversions"); @@ -217168,7 +218299,7 @@ exports.install = (globalObject, globalNames) => { const Impl = require("./URLSearchParams-impl.js"); -},{"./Function.js":1078,"./URLSearchParams-impl.js":1081,"./utils.js":1088,"webidl-conversions":1051}],1083:[function(require,module,exports){ +},{"./Function.js":1102,"./URLSearchParams-impl.js":1105,"./utils.js":1112,"webidl-conversions":1075}],1107:[function(require,module,exports){ (function (global){(function (){ "use strict"; let { TextEncoder, TextDecoder } = require("util"); @@ -217198,7 +218329,7 @@ module.exports = { }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"util":1039}],1084:[function(require,module,exports){ +},{"util":1063}],1108:[function(require,module,exports){ "use strict"; // Note that we take code points as JS numbers, not JS strings. @@ -217226,7 +218357,7 @@ module.exports = { isASCIIHex }; -},{}],1085:[function(require,module,exports){ +},{}],1109:[function(require,module,exports){ (function (Buffer){(function (){ "use strict"; const { isASCIIHex } = require("./infra"); @@ -217371,7 +218502,7 @@ module.exports = { }; }).call(this)}).call(this,require("buffer").Buffer) -},{"./encoding":1083,"./infra":1084,"buffer":100}],1086:[function(require,module,exports){ +},{"./encoding":1107,"./infra":1108,"buffer":124}],1110:[function(require,module,exports){ "use strict"; const punycode = require("punycode"); const tr46 = require("tr46"); @@ -218583,7 +219714,7 @@ module.exports.parseURL = function (input, options) { return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); }; -},{"./encoding":1083,"./infra":1084,"./percent-encoding":1085,"punycode":960,"tr46":1027}],1087:[function(require,module,exports){ +},{"./encoding":1107,"./infra":1108,"./percent-encoding":1109,"punycode":984,"tr46":1051}],1111:[function(require,module,exports){ "use strict"; const { utf8Encode, utf8DecodeWithoutBOM } = require("./encoding"); const { percentDecodeBytes, utf8PercentEncodeString, isURLEncodedPercentEncode } = require("./percent-encoding"); @@ -218687,9 +219818,9 @@ module.exports = { serializeUrlencoded }; -},{"./encoding":1083,"./percent-encoding":1085}],1088:[function(require,module,exports){ -arguments[4][567][0].apply(exports,arguments) -},{"dup":567}],1089:[function(require,module,exports){ +},{"./encoding":1107,"./percent-encoding":1109}],1112:[function(require,module,exports){ +arguments[4][591][0].apply(exports,arguments) +},{"dup":591}],1113:[function(require,module,exports){ "use strict"; const { URL, URLSearchParams } = require("./webidl2js-wrapper"); @@ -218715,7 +219846,7 @@ exports.cannotHaveAUsernamePasswordPort = urlStateMachine.cannotHaveAUsernamePas exports.percentDecode = percentEncoding.percentDecodeBytes; -},{"./dist/percent-encoding":1085,"./dist/url-state-machine":1086,"./webidl2js-wrapper":1090}],1090:[function(require,module,exports){ +},{"./dist/percent-encoding":1109,"./dist/url-state-machine":1110,"./webidl2js-wrapper":1114}],1114:[function(require,module,exports){ "use strict"; const URL = require("./dist/URL"); @@ -218724,7 +219855,7 @@ const URLSearchParams = require("./dist/URLSearchParams"); exports.URL = URL; exports.URLSearchParams = URLSearchParams; -},{"./dist/URL":1080,"./dist/URLSearchParams":1082}],1091:[function(require,module,exports){ +},{"./dist/URL":1104,"./dist/URLSearchParams":1106}],1115:[function(require,module,exports){ (function (global){(function (){ 'use strict'; @@ -218784,7 +219915,7 @@ module.exports = function whichTypedArray(value) { }; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"available-typed-arrays":49,"call-bind/callBound":102,"es-abstract/helpers/getOwnPropertyDescriptor":237,"foreach":258,"has-symbols":264,"is-typed-array":308}],1092:[function(require,module,exports){ +},{"available-typed-arrays":73,"call-bind/callBound":126,"es-abstract/helpers/getOwnPropertyDescriptor":261,"foreach":282,"has-symbols":288,"is-typed-array":332}],1116:[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)) @@ -219289,7 +220420,7 @@ return { rules: _rules, } })(),null)})() -},{}],1093:[function(require,module,exports){ +},{}],1117:[function(require,module,exports){ "use strict"; const parser = require("./generated-parser.js"); @@ -219308,7 +220439,7 @@ function mapResult(result) { }; } -},{"./generated-parser.js":1092}],1094:[function(require,module,exports){ +},{"./generated-parser.js":1116}],1118:[function(require,module,exports){ "use strict"; /** * Character classes and associated utilities for the 5th edition of XML 1.0. @@ -219414,7 +220545,7 @@ function isNameChar(c) { } exports.isNameChar = isNameChar; -},{}],1095:[function(require,module,exports){ +},{}],1119:[function(require,module,exports){ "use strict"; /** * Character classes and associated utilities for the 2nd edition of XML 1.1. @@ -219560,7 +220691,7 @@ function isNameChar(c) { } exports.isNameChar = isNameChar; -},{}],1096:[function(require,module,exports){ +},{}],1120:[function(require,module,exports){ "use strict"; /** * Character class utilities for XML NS 1.0 edition 3. @@ -219626,7 +220757,7 @@ function isNCNameChar(c) { } exports.isNCNameChar = isNCNameChar; -},{}],1097:[function(require,module,exports){ +},{}],1121:[function(require,module,exports){ module.exports = extend var hasOwnProperty = Object.prototype.hasOwnProperty; @@ -219647,13 +220778,13 @@ function extend() { return target } -},{}],1098:[function(require,module,exports){ +},{}],1122:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -219666,30 +220797,24 @@ Object.defineProperty(exports, "Monster", { }); exports.AbstractConstraint = void 0; -var _namespace = require("../namespace.js"); - -var _base = require("../types/base.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -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); } } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _namespace = require("../namespace.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _base = require("../types/base.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * the abstract contraint defines the api for all constraints. mainly the method isValid() is defined. * @@ -219700,7 +220825,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Constraints */ var AbstractConstraint = /*#__PURE__*/function (_Base) { - _inherits(AbstractConstraint, _Base); + (0, _inherits2["default"])(AbstractConstraint, _Base); var _super = _createSuper(AbstractConstraint); @@ -219708,8 +220833,7 @@ var AbstractConstraint = /*#__PURE__*/function (_Base) { * */ function AbstractConstraint() { - _classCallCheck(this, AbstractConstraint); - + (0, _classCallCheck2["default"])(this, AbstractConstraint); return _super.call(this); } /** @@ -219720,13 +220844,12 @@ var AbstractConstraint = /*#__PURE__*/function (_Base) { */ - _createClass(AbstractConstraint, [{ + (0, _createClass2["default"])(AbstractConstraint, [{ key: "isValid", value: function isValid(value) { return Promise.reject(value); } }]); - return AbstractConstraint; }(_base.Base); @@ -219734,13 +220857,13 @@ exports.AbstractConstraint = AbstractConstraint; _namespace.Monster.assignToNamespace('Monster.Constraints', AbstractConstraint); -},{"../namespace.js":1112,"../types/base.js":1113}],1099:[function(require,module,exports){ +},{"../namespace.js":1142,"../types/base.js":1143,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1123:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -219753,24 +220876,20 @@ Object.defineProperty(exports, "Monster", { }); exports.AbstractOperator = void 0; -var _abstract = require("./abstract.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _abstract = require("./abstract.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * Operators allow you to link constraints together. for example, you can check whether a value is an object or an array. each operator has two operands that are linked together. * @@ -219779,7 +220898,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Constraints */ var AbstractOperator = /*#__PURE__*/function (_AbstractConstraint) { - _inherits(AbstractOperator, _AbstractConstraint); + (0, _inherits2["default"])(AbstractOperator, _AbstractConstraint); var _super = _createSuper(AbstractOperator); @@ -219792,8 +220911,7 @@ var AbstractOperator = /*#__PURE__*/function (_AbstractConstraint) { function AbstractOperator(operantA, operantB) { var _this; - _classCallCheck(this, AbstractOperator); - + (0, _classCallCheck2["default"])(this, AbstractOperator); _this = _super.call(this); if (!(operantA instanceof _abstract.AbstractConstraint) || !(operantB instanceof _abstract.AbstractConstraint)) { @@ -219812,13 +220930,13 @@ exports.AbstractOperator = AbstractOperator; _abstract.Monster.assignToNamespace('Monster.Constraints', AbstractOperator); -},{"./abstract.js":1098}],1100:[function(require,module,exports){ +},{"./abstract.js":1122,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1124:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -219831,36 +220949,30 @@ Object.defineProperty(exports, "Monster", { }); exports.AndOperator = void 0; -var _abstract = require("./abstract.js"); - -var _abstractoperator = require("./abstractoperator.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -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); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _abstract = require("./abstract.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _abstractoperator = require("./abstractoperator.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * The AndOperator is used to link several contraints. The constraint is fulfilled if all constraints of the operators are fulfilled. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; * new Monster.Constraint.AndOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -219869,8 +220981,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/andoperator.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/andoperator.js'; * new AndOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -219880,17 +220992,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Constraints */ var AndOperator = /*#__PURE__*/function (_AbstractOperator) { - _inherits(AndOperator, _AbstractOperator); + (0, _inherits2["default"])(AndOperator, _AbstractOperator); var _super = _createSuper(AndOperator); function AndOperator() { - _classCallCheck(this, AndOperator); - + (0, _classCallCheck2["default"])(this, AndOperator); return _super.apply(this, arguments); } - _createClass(AndOperator, [{ + (0, _createClass2["default"])(AndOperator, [{ key: "isValid", value: /** @@ -219903,7 +221014,6 @@ var AndOperator = /*#__PURE__*/function (_AbstractOperator) { return Promise.all([this.operantA.isValid(value), this.operantB.isValid(value)]); } }]); - return AndOperator; }(_abstractoperator.AbstractOperator); @@ -219911,13 +221021,13 @@ exports.AndOperator = AndOperator; _abstract.Monster.assignToNamespace('Monster.Constraints', AndOperator); -},{"./abstract.js":1098,"./abstractoperator.js":1099}],1101:[function(require,module,exports){ +},{"./abstract.js":1122,"./abstractoperator.js":1123,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1125:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -219930,28 +221040,22 @@ Object.defineProperty(exports, "Monster", { }); exports.Invalid = void 0; -var _abstract = require("./abstract.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -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 _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _abstract = require("./abstract.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * the invalid constraint allows an always invalid query to be performed. this contraint is mainly intended for testing. * @@ -219959,7 +221063,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; * new Monster.Constraint.Invalid().catch(()=>console.log(true)); * </script> * ``` @@ -219968,7 +221072,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/invalid.js'; + * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/invalid.js'; * new Invalid().catch(()=>console.log(true)); * </script> * ``` @@ -219978,17 +221082,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Constraints */ var Invalid = /*#__PURE__*/function (_AbstractConstraint) { - _inherits(Invalid, _AbstractConstraint); + (0, _inherits2["default"])(Invalid, _AbstractConstraint); var _super = _createSuper(Invalid); function Invalid() { - _classCallCheck(this, Invalid); - + (0, _classCallCheck2["default"])(this, Invalid); return _super.apply(this, arguments); } - _createClass(Invalid, [{ + (0, _createClass2["default"])(Invalid, [{ key: "isValid", value: /** @@ -220001,7 +221104,6 @@ var Invalid = /*#__PURE__*/function (_AbstractConstraint) { return Promise.reject(value); } }]); - return Invalid; }(_abstract.AbstractConstraint); @@ -220009,13 +221111,13 @@ exports.Invalid = Invalid; _abstract.Monster.assignToNamespace('Monster.Constraints', Invalid); -},{"./abstract.js":1098}],1102:[function(require,module,exports){ +},{"./abstract.js":1122,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1126:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -220028,30 +221130,24 @@ Object.defineProperty(exports, "Monster", { }); exports.IsArray = void 0; -var _abstract = require("./abstract.js"); - -var _is = require("../types/is.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -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 _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _abstract = require("./abstract.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _is = require("../types/is.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * * @@ -220059,7 +221155,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; * console.log(new Monster.Constraint.IsArray()) * </script> * ``` @@ -220068,7 +221164,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isarray.js'; + * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isarray.js'; * console.log(new IsArray()) * </script> * ``` @@ -220078,17 +221174,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Constraints */ var IsArray = /*#__PURE__*/function (_AbstractConstraint) { - _inherits(IsArray, _AbstractConstraint); + (0, _inherits2["default"])(IsArray, _AbstractConstraint); var _super = _createSuper(IsArray); function IsArray() { - _classCallCheck(this, IsArray); - + (0, _classCallCheck2["default"])(this, IsArray); return _super.apply(this, arguments); } - _createClass(IsArray, [{ + (0, _createClass2["default"])(IsArray, [{ key: "isValid", value: /** @@ -220105,7 +221200,6 @@ var IsArray = /*#__PURE__*/function (_AbstractConstraint) { return Promise.reject(value); } }]); - return IsArray; }(_abstract.AbstractConstraint); @@ -220113,13 +221207,13 @@ exports.IsArray = IsArray; _abstract.Monster.assignToNamespace('Monster.Constraints', IsArray); -},{"../types/is.js":1115,"./abstract.js":1098}],1103:[function(require,module,exports){ +},{"../types/is.js":1146,"./abstract.js":1122,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1127:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -220132,30 +221226,24 @@ Object.defineProperty(exports, "Monster", { }); exports.IsObject = void 0; -var _abstract = require("./abstract.js"); - -var _is = require("../types/is.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -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); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _abstract = require("./abstract.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _is = require("../types/is.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * * @@ -220163,7 +221251,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; * console.log(new Monster.Constraint.IsObject()) * </script> * ``` @@ -220172,7 +221260,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/isobject.js'; + * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/isobject.js'; * console.log(new IsObject()) * </script> * ``` @@ -220182,17 +221270,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Constraints */ var IsObject = /*#__PURE__*/function (_AbstractConstraint) { - _inherits(IsObject, _AbstractConstraint); + (0, _inherits2["default"])(IsObject, _AbstractConstraint); var _super = _createSuper(IsObject); function IsObject() { - _classCallCheck(this, IsObject); - + (0, _classCallCheck2["default"])(this, IsObject); return _super.apply(this, arguments); } - _createClass(IsObject, [{ + (0, _createClass2["default"])(IsObject, [{ key: "isValid", value: /** @@ -220209,7 +221296,6 @@ var IsObject = /*#__PURE__*/function (_AbstractConstraint) { return Promise.reject(value); } }]); - return IsObject; }(_abstract.AbstractConstraint); @@ -220217,13 +221303,13 @@ exports.IsObject = IsObject; _abstract.Monster.assignToNamespace('Monster.Constraints', IsObject); -},{"../types/is.js":1115,"./abstract.js":1098}],1104:[function(require,module,exports){ +},{"../types/is.js":1146,"./abstract.js":1122,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1128:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -220236,34 +221322,28 @@ Object.defineProperty(exports, "Monster", { }); exports.OrOperator = void 0; -var _abstractoperator = require("./abstractoperator.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -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); } } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _abstractoperator = require("./abstractoperator.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * The OrOperator is used to link several constraints. The constraint is fulfilled if one of the constraints is fulfilled. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; * new Monster.Constraint.OrOperator(new Monster.Constraint.Valid(), new Monster.Constraint.Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -220272,8 +221352,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/valid.js'; - * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraint/oroperator.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/valid.js'; + * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraint/oroperator.js'; * new OrOperator(new Valid(), new Valid()).then(()=>console.log(true)).catch(()=>console.log(false)); * </script> * ``` @@ -220283,17 +221363,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Constraints */ var OrOperator = /*#__PURE__*/function (_AbstractOperator) { - _inherits(OrOperator, _AbstractOperator); + (0, _inherits2["default"])(OrOperator, _AbstractOperator); var _super = _createSuper(OrOperator); function OrOperator() { - _classCallCheck(this, OrOperator); - + (0, _classCallCheck2["default"])(this, OrOperator); return _super.apply(this, arguments); } - _createClass(OrOperator, [{ + (0, _createClass2["default"])(OrOperator, [{ key: "isValid", value: /** @@ -220329,7 +221408,6 @@ var OrOperator = /*#__PURE__*/function (_AbstractOperator) { }); } }]); - return OrOperator; }(_abstractoperator.AbstractOperator); @@ -220337,13 +221415,13 @@ exports.OrOperator = OrOperator; _abstractoperator.Monster.assignToNamespace('Monster.Constraints', OrOperator); -},{"./abstractoperator.js":1099}],1105:[function(require,module,exports){ +},{"./abstractoperator.js":1123,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1129:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -220356,28 +221434,22 @@ Object.defineProperty(exports, "Monster", { }); exports.Valid = void 0; -var _abstract = require("./abstract.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -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); } } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _abstract = require("./abstract.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * the valid constraint allows an always valid query to be performed. this contraint is mainly intended for testing. * @@ -220385,7 +221457,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; * new Monster.Constraint.Valid().then(()=>console.log(true)); * </script> * ``` @@ -220394,7 +221466,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/constraints/valid.js'; + * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/constraints/valid.js'; * new Valid().then(()=>console.log(true)); * </script> * ``` @@ -220404,17 +221476,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Constraints */ var Valid = /*#__PURE__*/function (_AbstractConstraint) { - _inherits(Valid, _AbstractConstraint); + (0, _inherits2["default"])(Valid, _AbstractConstraint); var _super = _createSuper(Valid); function Valid() { - _classCallCheck(this, Valid); - + (0, _classCallCheck2["default"])(this, Valid); return _super.apply(this, arguments); } - _createClass(Valid, [{ + (0, _createClass2["default"])(Valid, [{ key: "isValid", value: /** @@ -220427,7 +221498,6 @@ var Valid = /*#__PURE__*/function (_AbstractConstraint) { return Promise.resolve(value); } }]); - return Valid; }(_abstract.AbstractConstraint); @@ -220435,66 +221505,301 @@ exports.Valid = Valid; _abstract.Monster.assignToNamespace('Monster.Constraints', Valid); -},{"./abstract.js":1098}],1106:[function(require,module,exports){ +},{"./abstract.js":1122,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1130:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + Object.defineProperty(exports, "__esModule", { value: true }); +exports.Diff = Diff; Object.defineProperty(exports, "Monster", { enumerable: true, get: function get() { - return _namespace.Monster; + return _is.Monster; } }); -exports.Pathfinder = void 0; -var _namespace = require("../namespace.js"); +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); var _is = require("../types/is.js"); -var _validate = require("../types/validate.js"); +/** + * Diff Function + * + * With the diff function you can perform the change of one object to another. The result shows the changes of the second object to the first object. + * + * The operator `add` means that something has been added to the second object. `delete` means that something has been deleted from the second object compared to the first object. + * + * you can call the method via the monster namespace `Monster.Data.Diff()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; + * console.log(Monster.Data.Diff(a, b)) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/diff.js'; + * console.log(Diff(a, b)) + * </script> + * ``` + * + * given are two objects x and y. + * + * ``` + * let x = { + * a: 1, + * b: "Hello!" + * } + * + * let y = { + * a: 2, + * c: true + * } + * ``` + * + * These two objects can be compared with each other. + * + * ``` + * console.log(Diff(x, y)); + * ``` + * + * the result is then the following + * + * ``` + * [ + * { + * operator: 'update', + * path: [ 'a' ], + * first: { value: 1, type: 'number' }, + * second: { value: 2, type: 'number' } + * }, + * { + * operator: 'delete', + * path: [ 'b' ], + * first: { value: 'Hello!', type: 'string' } + * }, + * { + * operator: 'add', + * path: [ 'c' ], + * second: { value: true, type: 'boolean' } + * } + * ] + * ``` + * + * + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/Data + */ +function Diff(object1, object2) { + return doDiff(object1, object2); +} -var _base = require("../types/base.js"); +function getKeys(a, b, type) { + if ((0, _is.isArray)(type)) { + var keys = a.length > b.length ? new Array(a.length) : new Array(b.length); + keys.fill(0); + return new Set(keys.map(function (_, i) { + return i; + })); + } -var _stack = require("../types/stack.js"); + return new Set(Object.keys(a).concat(Object.keys(b))); +} -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +function doDiff(a, b, path, diff) { + var typeA = (0, _typeof2["default"])(a); + var typeB = (0, _typeof2["default"])(b); + var currPath = path || []; + var currDiff = diff || []; -function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } + if (typeA === typeB && typeA === 'object') { + // array is object too + getKeys(a, b, typeA).forEach(function (v) { + if (!Object.prototype.hasOwnProperty.call(a, v)) { + currDiff.push(buildResult(a[v], b[v], 'add', currPath.concat(v))); + } else if (!Object.prototype.hasOwnProperty.call(b, v)) { + currDiff.push(buildResult(a[v], b[v], 'delete', currPath.concat(v))); + } else { + doDiff(a[v], b[v], currPath.concat(v), currDiff); + } + }); + } else { + var o = getOperator(a, b, typeA, typeB); -function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + if (o !== undefined) { + currDiff.push(buildResult(a, b, o, path)); + } + } -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } + return currDiff; +} +/** + * + * @param {*} a + * @param {*} b + * @param {string} operator + * @param {array} path + * @return {{path: array, operator: string}} + * @private + */ -function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } -function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } +function buildResult(a, b, operator, path) { + var result = { + operator: operator, + path: path + }; -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + if (operator !== 'add') { + result.first = { + value: a, + type: (0, _typeof2["default"])(a) + }; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + if ((0, _is.isObject)(a)) { + var _Object$getPrototypeO, _Object$getPrototypeO2; -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); } } + var name = (_Object$getPrototypeO = Object.getPrototypeOf(a)) === null || _Object$getPrototypeO === void 0 ? void 0 : (_Object$getPrototypeO2 = _Object$getPrototypeO.constructor) === null || _Object$getPrototypeO2 === void 0 ? void 0 : _Object$getPrototypeO2.name; -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } + if (name !== undefined) { + result.first.instance = name; + } + } + } -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + if (operator === 'add' || operator === 'update') { + result.second = { + value: b, + type: (0, _typeof2["default"])(b) + }; -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + if ((0, _is.isObject)(b)) { + var _Object$getPrototypeO3, _Object$getPrototypeO4; -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + var _name = (_Object$getPrototypeO3 = Object.getPrototypeOf(b)) === null || _Object$getPrototypeO3 === void 0 ? void 0 : (_Object$getPrototypeO4 = _Object$getPrototypeO3.constructor) === null || _Object$getPrototypeO4 === void 0 ? void 0 : _Object$getPrototypeO4.name; -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + if (_name !== undefined) { + result.second.instance = _name; + } + } + } -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + return result; +} +/** + * + * @param {*} a + * @param {*} b + * @return {boolean} + */ -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } +function isNotEqual(a, b) { + if ((0, _typeof2["default"])(a) !== (0, _typeof2["default"])(b)) { + return true; + } + + if (a instanceof Date && b instanceof Date) { + return a.getTime() !== b.getTime(); + } + + return a !== b; +} +/** + * + * @param {*} a + * @param {*} b + * @return {string|undefined} + */ + + +function getOperator(a, b) { + /** + * @type {string|undefined} + */ + var operator; + /** + * @type {string} + */ + + var typeA = (0, _typeof2["default"])(a); + /** + * @type {string} + */ + + var typeB = (0, _typeof2["default"])(b); + + if (typeA === 'undefined' && typeB !== 'undefined') { + operator = 'add'; + } else if (typeA !== 'undefined' && typeB === 'undefined') { + operator = 'delete'; + } else if (isNotEqual(a, b)) { + operator = 'update'; + } + + return operator; +} + +_is.Monster.assignToNamespace('Monster.Data', Diff); + +},{"../types/is.js":1146,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20}],1131:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +exports.Pathfinder = void 0; + +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); + +var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); + +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + +var _namespace = require("../namespace.js"); + +var _is = require("../types/is.js"); + +var _validate = require("../types/validate.js"); + +var _base = require("../types/base.js"); + +var _stack = require("../types/stack.js"); + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** * path separator @@ -220510,7 +221815,7 @@ var DELIMITER = '.'; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pathfinder.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; * console.log(new Monster.Data.Pathfinder()) * </script> * ``` @@ -220519,7 +221824,7 @@ var DELIMITER = '.'; * * ``` * <script type="module"> - * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/pathfinder.js'; + * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pathfinder.js'; * console.log(new Pathfinder()) * </script> * ``` @@ -220565,7 +221870,7 @@ var DELIMITER = '.'; */ var Pathfinder = /*#__PURE__*/function (_Base) { - _inherits(Pathfinder, _Base); + (0, _inherits2["default"])(Pathfinder, _Base); var _super = _createSuper(Pathfinder); @@ -220576,8 +221881,7 @@ var Pathfinder = /*#__PURE__*/function (_Base) { function Pathfinder(object) { var _this; - _classCallCheck(this, Pathfinder); - + (0, _classCallCheck2["default"])(this, Pathfinder); _this = _super.call(this); _this.object = object; return _this; @@ -220591,10 +221895,11 @@ var Pathfinder = /*#__PURE__*/function (_Base) { * @throws {Error} the journey is not at its end * @throws {TypeError} value is not a string * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type */ - _createClass(Pathfinder, [{ + (0, _createClass2["default"])(Pathfinder, [{ key: "getVia", value: function getVia(path) { (0, _validate.validateString)(path); @@ -220609,6 +221914,7 @@ var Pathfinder = /*#__PURE__*/function (_Base) { * @throws {TypeError} unsupported type * @throws {TypeError} value is not a string * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type */ }, { @@ -220618,6 +221924,25 @@ var Pathfinder = /*#__PURE__*/function (_Base) { setValueViaPath(this.object, path, value); return this; } + /** + * Delete Via Path + * + * @param {string} path + * @returns {Pathfinder} + * @since 1.6.0 + * @throws {TypeError} unsupported type + * @throws {TypeError} value is not a string + * @throws {TypeError} value is not an integer + * @throws {Error} unsupported action for this data type + */ + + }, { + key: "deleteVia", + value: function deleteVia(path) { + (0, _validate.validateString)(path); + deleteValueViaPath(this.object, path); + return this; + } /** * * @param {string} path @@ -220641,7 +221966,6 @@ var Pathfinder = /*#__PURE__*/function (_Base) { return false; } }]); - return Pathfinder; }(_base.Base); @@ -220657,6 +221981,8 @@ _namespace.Monster.assignToNamespace('Monster.Data', Pathfinder); * @returns {*} * @throws {TypeError} unsupported type * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private */ function getValueViaPath(object, path, check) { if (path === "") { @@ -220669,14 +221995,16 @@ function getValueViaPath(object, path, check) { if ((0, _is.isObject)(object) || (0, _is.isArray)(object)) { var anchor; - if (object instanceof Map) { + if (object instanceof Map || object instanceof WeakMap) { anchor = object.get(current); - } else if (object instanceof Set) { + } else if (object instanceof Set || object instanceof WeakSet) { var _ref; current = parseInt(current); (0, _validate.validateInteger)(current); - anchor = (_ref = _toConsumableArray(object)) === null || _ref === void 0 ? void 0 : _ref[current]; + anchor = (_ref = (0, _toConsumableArray2["default"])(object)) === null || _ref === void 0 ? void 0 : _ref[current]; + } else if (object instanceof WeakRef) { + throw Error('unsupported action for this data type'); } else if ((0, _is.isArray)(object)) { current = parseInt(current); (0, _validate.validateInteger)(current); @@ -220707,10 +222035,12 @@ function getValueViaPath(object, path, check) { * @param object * @param path * @param value - * @returns {undefined|*} + * @returns {void} * @throws {TypeError} unsupported type * @throws {TypeError} unsupported type * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @private */ @@ -220751,13 +222081,15 @@ function setValueViaPath(object, path, value) { var anchor = getValueViaPath(object, subpath); if (!(0, _is.isObject)(object) && !(0, _is.isArray)(object)) { - throw TypeError("unsupported type: " + _typeof(object)); + throw TypeError("unsupported type: " + (0, _typeof2["default"])(object)); } - if (anchor instanceof Map) { + if (anchor instanceof Map || anchor instanceof WeakMap) { anchor.set(last, value); - } else if (anchor instanceof Set) { + } else if (anchor instanceof Set || anchor instanceof WeakSet) { anchor.append(value); + } else if (anchor instanceof WeakRef) { + throw Error('unsupported action for this data type'); } else if ((0, _is.isArray)(anchor)) { last = parseInt(last); (0, _validate.validateInteger)(last); @@ -220766,15 +222098,51 @@ function setValueViaPath(object, path, value) { anchor[last] = value; } - return anchor; + return; } +/** + * + * @param object + * @param path + * @returns {void} + * @throws {TypeError} unsupported type + * @throws {TypeError} unsupported type + * @throws {Error} the journey is not at its end + * @throws {Error} unsupported action for this data type + * @since 1.6.0 + * @private + */ + + +function deleteValueViaPath(object, path) { + var parts = path.split(DELIMITER); + var last = parts.pop(); + var subpath = parts.join(DELIMITER); + var anchor = getValueViaPath.call(this, object, subpath); + + if (anchor instanceof Map) { + anchor["delete"](last); + } else if (anchor instanceof Set || anchor instanceof WeakMap || anchor instanceof WeakSet || anchor instanceof WeakRef) { + throw Error('unsupported action for this data type'); + } else if ((0, _is.isArray)(anchor)) { + last = parseInt(last); + (0, _validate.validateInteger)(last); + delete anchor[last]; + } else { + delete anchor[last]; + } -},{"../namespace.js":1112,"../types/base.js":1113,"../types/is.js":1115,"../types/stack.js":1120,"../types/validate.js":1123}],1107:[function(require,module,exports){ + return; +} + +},{"../namespace.js":1142,"../types/base.js":1143,"../types/is.js":1146,"../types/stack.js":1152,"../types/validate.js":1155,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"@babel/runtime/helpers/toConsumableArray":19,"@babel/runtime/helpers/typeof":20}],1132:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + Object.defineProperty(exports, "__esModule", { value: true }); @@ -220784,62 +222152,195 @@ Object.defineProperty(exports, "Monster", { return _namespace.Monster; } }); -exports.Transformer = void 0; +exports.Pipe = void 0; + +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); var _namespace = require("../namespace.js"); +var _transformer = require("./transformer.js"); + var _base = require("../types/base.js"); var _validate = require("../types/validate.js"); -var _is = require("../types/is.js"); +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } -var _id = require("../types/id.js"); +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -var _clone = require("../util/clone.js"); +var DELIMITER = '|'; +/** + * Pipe class + * + * the pipe class makes it possible to combine several processing steps. + * + * you can call the method via the monster namespace `new Monster.Data.Pipe()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; + * console.log(new Monster.Data.Pipe()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/pipe.js'; + * console.log(new Pipe()) + * </script> + * ``` + * + * a pipe consists of commands whose input and output are connected with the pipe symbol `|`. + * + * with the Pipe, processing steps can be combined. Here, the value of an object is accessed via the pathfinder (path command). + * the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char. + * + * ``` + * let obj = { + * a: { + * b: { + * c: { + * d: "world" + * } + * } + * } + * } + * + * new Pipe('path:a.b.c.d | toupper | prefix:Hello\\ ').run(obj); // ↦ Hello WORLD + * ``` + * + * @since 1.5.0 + * @copyright schukai GmbH + * @memberOf Monster/Data + */ -function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } +var Pipe = /*#__PURE__*/function (_Base) { + (0, _inherits2["default"])(Pipe, _Base); -function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } + var _super = _createSuper(Pipe); -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } + /** + * + * @param {string} pipe a pipe consists of commands whose input and output are connected with the pipe symbol `|`. + * @throws {TypeError} + */ + function Pipe(pipe) { + var _this; -function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } + (0, _classCallCheck2["default"])(this, Pipe); + _this = _super.call(this); + (0, _validate.validateString)(pipe); + _this.pipe = pipe.split(DELIMITER).map(function (v) { + return new _transformer.Transformer(v); + }); + return _this; + } + /** + * run a pipe + * + * @param {*} value + * @returns {*} + */ -function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + (0, _createClass2["default"])(Pipe, [{ + key: "run", + value: function run(value) { + return this.pipe.reduce(function (accumulator, currentValue, currentIndex, array) { + return currentValue.run(accumulator); + }, value); + } + }]); + return Pipe; +}(_base.Base); -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +exports.Pipe = Pipe; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +_namespace.Monster.assignToNamespace('Monster.Data', Pipe); -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); } } +},{"../namespace.js":1142,"../types/base.js":1143,"../types/validate.js":1155,"./transformer.js":1133,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1133:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _typeof3 = require("@babel/runtime/helpers/typeof"); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +exports.Transformer = void 0; -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +var _setPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/setPrototypeOf")); -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + +var _namespace = require("../namespace.js"); + +var _base = require("../types/base.js"); + +var _validate = require("../types/validate.js"); + +var _is = require("../types/is.js"); + +var _id = require("../types/id.js"); + +var _clone = require("../util/clone.js"); + +var _pathfinder = require("./pathfinder.js"); + +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } + +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } + +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(re, groups) { return new BabelRegExp(re, undefined, groups); }; var _super = RegExp.prototype; var _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = new RegExp(re, flags); _groups.set(_this, groups || _groups.get(re)); return (0, _setPrototypeOf2["default"])(_this, BabelRegExp.prototype); } (0, _inherits2["default"])(BabelRegExp, RegExp); BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); if (result) result.groups = buildGroups(result, this); return result; }; BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { if (typeof substitution === "string") { var groups = _groups.get(this); return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { return "$" + groups[name]; })); } else if (typeof substitution === "function") { var _this = this; return _super[Symbol.replace].call(this, str, function () { var args = arguments; if (_typeof3(args[args.length - 1]) !== "object") { args = [].slice.call(args); args.push(buildGroups(args, _this)); } return substitution.apply(this, args); }); } else { return _super[Symbol.replace].call(this, str, substitution); } }; function buildGroups(result, re) { var g = _groups.get(re); return Object.keys(g).reduce(function (groups, name) { groups[name] = result[g[name]]; return groups; }, Object.create(null)); } return _wrapRegExp.apply(this, arguments); } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** * Transformer class + * + * the transformer class is a swiss army knife for manipulating values. especially in combination with the pipe, processing chains can be built up. * * you can call the method via the monster namespace `new Monster.Data.Transformer()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/transformer.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; * console.log(new Monster.Data.Transformer()) * </script> * ``` @@ -220848,22 +222349,88 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/data/transformer.js'; + * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/data/transformer.js'; * console.log(new Transformer()) * </script> * ``` * + * a simple example is the conversion of all characters to lowercase. for this purpose the command tolower must be used. + * * ``` * let t = new Transformer('tolower').run('ABC'); // ↦ abc * ``` - * + * + * **all commands** + * + * in the following table all commands, parameters and existing aliases are described. + * + * | command | parameter | alias | description | + * |:-------------|:---------------------------|:------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + * | base64 | | | Converts the value to base64 | + * | call | function,param1:param2:... | | Calling a callback function. The function can be defined in three places: either globally, in the context `addCallback` or in the passed object | + * | empty | | | Return empty String "" | + * | if | statement1:statement2 | ? | Is the ternary operator, the first parameter is the valid statement, the second is the false part. To use the current value in the queue, you can set the value keyword. On the other hand, if you want to have the static string "value", you have to put one backslash \\ in front of it and write value. the follow values are true: 'on', true, 'true' | + * | index | key:default | property, key | Fetches a value from an object, an array, a map or a set | + * | length | | count | Length of the string or entries of an array or object | + * | nop | | | Do nothing | + * | path | path | | The access to an object is done via a Pathfinder object | + * | plaintext | | plain | All HTML tags are removed (*) | + * | prefix | text | | Adds a prefix | + * | rawurlencode | | | URL coding | + * | static | | none | The Arguments value is used and passed to the value. Special characters \ <space> and : can be quotet by a preceding \. | + * | substring | start:length | | Returns a substring | + * | suffix | text | | Adds a suffix | + * | tointeger | | | Type conversion to an integer value | + * | tolower | | strtolower, tolowercase | The input value is converted to lowercase letters | + * | tostring | | | Type conversion to a string | + * | toupper | | strtoupper, touppercase | The input value is converted to uppercase letters | + * | trim | | | Remove spaces at the beginning and end | + * | ucfirst | | | First character large | + * | ucwords | | | Any word beginning large | + * | undefined | | | Return undefined | + * | uniqid | | | Creates a string with a unique value (**) | + * + * (*) for this functionality the extension [jsdom](https://www.npmjs.com/package/jsdom) must be loaded in the nodejs context. + * + * ``` + * // polyfill + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (global[key] = window[key])); + * } + * ``` + * + * (**) for this command the crypt library is necessary in the nodejs context. + * + * ``` + * import * as Crypto from "@peculiar/webcrypto"; + * global['crypto'] = new Crypto.Crypto(); + * ``` + * + * * * @since 1.5.0 * @copyright schukai GmbH * @memberOf Monster/Data */ var Transformer = /*#__PURE__*/function (_Base) { - _inherits(Transformer, _Base); + (0, _inherits2["default"])(Transformer, _Base); var _super = _createSuper(Transformer); @@ -220874,8 +222441,7 @@ var Transformer = /*#__PURE__*/function (_Base) { function Transformer(definition) { var _this; - _classCallCheck(this, Transformer); - + (0, _classCallCheck2["default"])(this, Transformer); _this = _super.call(this); (0, _validate.validateString)(definition); _this.args = disassemble(definition); @@ -220893,7 +222459,7 @@ var Transformer = /*#__PURE__*/function (_Base) { */ - _createClass(Transformer, [{ + (0, _createClass2["default"])(Transformer, [{ key: "setCallback", value: function setCallback(name, callback) { (0, _validate.validateString)(name); @@ -220916,7 +222482,6 @@ var Transformer = /*#__PURE__*/function (_Base) { return transform.apply(this, [value]); } }]); - return Transformer; }(_base.Base); @@ -220931,17 +222496,64 @@ _namespace.Monster.assignToNamespace('Monster.Data', Transformer); * @private */ function disassemble(command) { - (0, _validate.validateString)(command); // The separator for args must be quotable + (0, _validate.validateString)(command); + var placeholder = new Map(); + + var regex = /*#__PURE__*/_wrapRegExp(/((\\(.)){1})/mig, { + pattern: 2, + "char": 3 + }); // The separator for args must be quotable // undefined string which should not occur normally and is also not a regex - var pattern = '_QMW8N9YAQ_'; - var temp = command.replace(/(?:(?!\\\\:)(.{1})\\(:))/g, function (a, b) { - return b + pattern; - }); - var parts = temp.split(':'); - var regex = new RegExp(pattern, 'g'); + + var result = command.matchAll(regex); + + var _iterator = _createForOfIteratorHelper(result), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var m = _step.value; + var g = m === null || m === void 0 ? void 0 : m['groups']; + + if (!(0, _is.isObject)(g)) { + continue; + } + + var p = g === null || g === void 0 ? void 0 : g['pattern']; + var c = g === null || g === void 0 ? void 0 : g['char']; + + if (p && c) { + var r = '__' + new _id.ID().toString() + '__'; + placeholder.set(r, c); + command = command.replace(p, r); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + var parts = command.split(':'); parts = parts.map(function (value) { - return value.replace(regex, ':').trim(); + var v = value.trim(); + + var _iterator2 = _createForOfIteratorHelper(placeholder), + _step2; + + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + var k = _step2.value; + v = v.replace(k[0], k[1]); + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + + return v; }); return parts; } @@ -220974,6 +222586,7 @@ function convertToString(value) { function transform(value) { var args = (0, _clone.clone)(this.args); + var key; switch (this.command) { case 'static': @@ -221021,13 +222634,13 @@ function transform(value) { callback = value[callbackName]; } else if (this.callbacks.has(callbackName)) { callback = this.callbacks.get(callbackName); - } else if ((typeof window === "undefined" ? "undefined" : _typeof(window)) === 'object' && window.hasOwnProperty(callbackName)) { + } else if ((typeof window === "undefined" ? "undefined" : (0, _typeof2["default"])(window)) === 'object' && window.hasOwnProperty(callbackName)) { callback = window[callbackName]; } (0, _validate.validateFunction)(callback); args.unshift(value); - return callback.apply(void 0, _toConsumableArray(args)); + return callback.apply(void 0, (0, _toConsumableArray2["default"])(args)); case 'plain': case 'plaintext': @@ -221105,7 +222718,7 @@ function transform(value) { case 'key': case 'property': case 'index': - var key = args.shift() || 'undefined'; + key = args.shift() || 'undefined'; var defaultValue = args.shift() || ''; if (value instanceof Map) { @@ -221126,6 +222739,10 @@ function transform(value) { throw new Error("type not supported"); + case 'path': + key = args.shift() || 'undefined'; + return new _pathfinder.Pathfinder(value).getVia(key); + case 'substring': (0, _validate.validateString)(value); var start = parseInt(args[0]) || 0; @@ -221142,13 +222759,13 @@ function transform(value) { return value; } -},{"../namespace.js":1112,"../types/base.js":1113,"../types/id.js":1114,"../types/is.js":1115,"../types/validate.js":1123,"../util/clone.js":1125}],1108:[function(require,module,exports){ +},{"../namespace.js":1142,"../types/base.js":1143,"../types/id.js":1145,"../types/is.js":1146,"../types/validate.js":1155,"../util/clone.js":1157,"./pathfinder.js":1131,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"@babel/runtime/helpers/setPrototypeOf":17,"@babel/runtime/helpers/toConsumableArray":19,"@babel/runtime/helpers/typeof":20}],1134:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -221156,40 +222773,807 @@ Object.defineProperty(exports, "__esModule", { Object.defineProperty(exports, "Monster", { enumerable: true, get: function get() { - return _namespace.Monster; + return _base.Monster; } }); -exports.Handler = void 0; +exports.Assembler = exports.ATTRIBUTEPREFIX = void 0; -var _namespace = require("../namespace.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); var _base = require("../types/base.js"); -var _logger = require("./logger.js"); +var _validate = require("../types/validate.js"); -var _logentry = require("./logentry.js"); +var _global = require("../types/global.js"); + +var _proxyobserver = require("../types/proxyobserver.js"); + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +/** + * @type {string} attribute prefix + */ +var ATTRIBUTEPREFIX = "data-monster-"; +/** + * assembler class + * + * you can call the method via the monster namespace `new Monster.DOM.Assembler()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; + * console.log(new Monster.DOM.Assembler()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/assembler.js'; + * console.log(new Assembler()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + */ + +exports.ATTRIBUTEPREFIX = ATTRIBUTEPREFIX; + +var Assembler = /*#__PURE__*/function (_Base) { + (0, _inherits2["default"])(Assembler, _Base); + + var _super = _createSuper(Assembler); + + /** + * @param {DocumentFragment} fragment + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + function Assembler(fragment) { + var _this; + + (0, _classCallCheck2["default"])(this, Assembler); + _this = _super.call(this); + _this.attributePrefix = ATTRIBUTEPREFIX; + (0, _validate.validateInstance)(fragment, (0, _global.getGlobalFunction)('DocumentFragment')); + _this.fragment = fragment; + return _this; + } + /** + * + * @param {string} prefix + * @returns {Assembler} + * @throws {TypeError} value is not a string + */ + + + (0, _createClass2["default"])(Assembler, [{ + key: "setAttributePrefix", + value: function setAttributePrefix(prefix) { + (0, _validate.validateString)(prefix); + this.attributePrefix = prefix; + return this; + } + /** + * + * @returns {string} + */ + + }, { + key: "getAttributePrefix", + value: function getAttributePrefix() { + return this.attributePrefix; + } + /** + * + * @param {ProxyObserver|undefined} data + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + + }, { + key: "createDocumentFragment", + value: function createDocumentFragment(data) { + if (data === undefined) { + data = new _proxyobserver.ProxyObserver({}); + } + + (0, _validate.validateInstance)(data, _proxyobserver.ProxyObserver); + var fragment = this.fragment.cloneNode(true); + return fragment; + } + }]); + return Assembler; +}(_base.Base); + +exports.Assembler = Assembler; + +_base.Monster.assignToNamespace('Monster.DOM', Assembler); + +},{"../types/base.js":1143,"../types/global.js":1144,"../types/proxyobserver.js":1149,"../types/validate.js":1155,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1135:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getHandleFromNode = getHandleFromNode; +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _base.Monster; + } +}); +exports.Handle = void 0; + +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + +var _base = require("../types/base.js"); + +var _stack = require("../types/stack.js"); var _validate = require("../types/validate.js"); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _proxyobserver = require("../types/proxyobserver.js"); -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); } } +var _observer = require("../types/observer.js"); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _global = require("../types/global.js"); + +var _is = require("../types/is.js"); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _assembler = require("./assembler.js"); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _id = require("../types/id.js"); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } +/** + * @private + * @type {Symbol} + */ +var MONSTERDOMHANDLE = Symbol('MonsterHandle'); +/** + * Handle class + * + * you can call the method via the monster namespace `new Monster.DOM.Handle()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(new Monster.DOM.Handle()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Handle} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(new Handle()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + */ + +var Handle = /*#__PURE__*/function (_Base) { + (0, _inherits2["default"])(Handle, _Base); + + var _super = _createSuper(Handle); + + /** + * + * @param {ProxyObserver} data + */ + function Handle(data) { + var _this; + + (0, _classCallCheck2["default"])(this, Handle); + _this = _super.call(this); + var self = (0, _assertThisInitialized2["default"])(_this); + self.id = new _id.ID(); + (0, _validate.validateInstance)(data, _proxyobserver.ProxyObserver); + _this.data = data; + _this.mutationObserver = createMutationObserver.call((0, _assertThisInitialized2["default"])(_this)); + _this.dataObserver = createDataObserver.call((0, _assertThisInitialized2["default"])(_this)); + + _this.data.attachObserver(_this.dataObserver); + + _this.nodes = new WeakSet(); + _this.updates = new _stack.Stack(); + return _this; + } + /** + * @return {void} + */ + + + (0, _createClass2["default"])(Handle, [{ + key: "update", + value: function update() { + console.log('!!!!!!'); + return; + } + /** + * + * @param {HTMLElement|Document} node + * @return {Handle} + */ + + }, { + key: "remove", + value: function remove(node) { + if ((0, _is.isInstance)(node, (0, _global.getGlobalFunction)('Document'))) { + node = node.firstElementChild; + } + + (0, _validate.validateInstance)(node, (0, _global.getGlobalFunction)('HTMLElement')); + + if (!this.nodes.has(node)) { + return this; + } + + this.mutationObserver.disconnect(node); + delete node.dataset[MONSTERDOMHANDLE]; + node.removeAttribute(_assembler.ATTRIBUTEPREFIX + "handler"); + return this; + } + /** + * + * @param {HTMLElement|Document} node + * @return {Handle} + */ + + }, { + key: "append", + value: function append(node) { + if ((0, _is.isInstance)(node, (0, _global.getGlobalFunction)('Document'))) { + node = node.firstElementChild; + } + + (0, _validate.validateInstance)(node, (0, _global.getGlobalFunction)('HTMLElement')); + + if (this.nodes.has(node)) { + return this; + } + + node.dataset[MONSTERDOMHANDLE] = this; + node.setAttribute(_assembler.ATTRIBUTEPREFIX + "handler", true); + this.mutationObserver.observe(node, { + attributes: true, + childList: true, + subtree: true, + characterData: true, + characterDataOldValue: true, + attributeOldValue: true + }); + this.nodes.add(node); + return this; + } + }]); + return Handle; +}(_base.Base); +/** + * + * @private + * @return {Observer} + */ + + +exports.Handle = Handle; + +function createDataObserver() { + var self = this; + return new _observer.Observer(function () { + self.update(); + }); +} +/** + * + * @private + * @return {MutationObserver} + */ + + +function createMutationObserver() { + var self = this; + /** + * @private + * @type {MutationObserver} + */ + + var MutationObserver = (0, _global.getGlobalFunction)('MutationObserver'); // @link https://developer.mozilla.org/en/docs/Web/API/MutationObserver + + return new MutationObserver(function (mutationsList, observer) { + var _iterator = _createForOfIteratorHelper(mutationsList), + _step; + + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var mutation = _step.value; + self.updates.push(mutation); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + + self.update(); + }); +} +/** + * get the handle of a node + * + * if a node is specified without a handler, a recursive search upwards is performed until the corresponding + * handle is found, or undefined is returned. + * + * you can call the method via the monster namespace `Monster.DOM.getHandleFromNode()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(Monster.DOM.getHandleFromNode()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getHandleFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/handle.js'; + * console.log(getHandleFromNode()) + * </script> + * ``` + * + * @param {Node} node + * @return {Handle|undefined} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {TypeError} value is not an instance of Node + */ + + +function getHandleFromNode(node) { + var _node$dataset; + + (0, _validate.validateInstance)(node, (0, _global.getGlobalFunction)('Node')); + var handle = (_node$dataset = node.dataset) === null || _node$dataset === void 0 ? void 0 : _node$dataset[MONSTERDOMHANDLE]; + + if (handle === undefined) { + var parentNode = node === null || node === void 0 ? void 0 : node['parentNode']; + + if ((0, _is.isInstance)(parentNode, (0, _global.getGlobalFunction)('Node'))) { + return getHandleFromNode(parentNode); + } + } + + return handle; +} + +_base.Monster.assignToNamespace('Monster.DOM', getHandleFromNode, Handle); + +},{"../types/base.js":1143,"../types/global.js":1144,"../types/id.js":1145,"../types/is.js":1146,"../types/observer.js":1147,"../types/proxyobserver.js":1149,"../types/stack.js":1152,"../types/validate.js":1155,"./assembler.js":1134,"@babel/runtime/helpers/assertThisInitialized":3,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1136:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _base.Monster; + } +}); +exports.Template = void 0; + +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + +var _base = require("../types/base.js"); + +var _global = require("../types/global.js"); + +var _validate = require("../types/validate.js"); + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +/** + * template class + * + * you can call the method via the monster namespace `new Monster.DOM.Template()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; + * console.log(new Monster.DOM.Template()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/template.js'; + * console.log(new Template()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + */ +var Template = /*#__PURE__*/function (_Base) { + (0, _inherits2["default"])(Template, _Base); + + var _super = _createSuper(Template); + + /** + * + * @param {HTMLTemplateElement} template + * @throws {TypeError} value is not an instance of + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + */ + function Template(template) { + var _this; + + (0, _classCallCheck2["default"])(this, Template); + _this = _super.call(this); + (0, _validate.validateInstance)(template, (0, _global.getGlobalFunction)('HTMLTemplateElement')); + _this.template = template; + return _this; + } + /** + * + * @returns {HTMLTemplateElement} + */ + + + (0, _createClass2["default"])(Template, [{ + key: "getTemplateElement", + value: function getTemplateElement() { + return this.template; + } + /** + * + * @return {DocumentFragment} + * @throws {TypeError} value is not an instance of + */ + + }, { + key: "createDocumentFragment", + value: function createDocumentFragment() { + return this.template.content.cloneNode(true); + } + }]); + return Template; +}(_base.Base); + +exports.Template = Template; + +_base.Monster.assignToNamespace('Monster.DOM', Template); + +},{"../types/base.js":1143,"../types/global.js":1144,"../types/validate.js":1155,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1137:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getWindow = getWindow; +exports.getDocument = getDocument; +exports.getDocumentFragmentFromString = getDocumentFragmentFromString; +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _global.Monster; + } +}); + +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); + +var _global = require("../types/global.js"); + +var _validate = require("../types/validate.js"); + +/** + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getDocument()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getDocument()) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + */ +function getDocument() { + var _getGlobal; + + var document = (_getGlobal = (0, _global.getGlobal)()) === null || _getGlobal === void 0 ? void 0 : _getGlobal['document']; + + if ((0, _typeof2["default"])(document) !== 'object') { + throw new Error("not supported environment"); + } + + return document; +} +/** + * this method fetches the window object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getWindow()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getWindow(null)) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * getGlobal()['window']=window; + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {object} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + */ + + +function getWindow() { + var _getGlobal2; + + var window = (_getGlobal2 = (0, _global.getGlobal)()) === null || _getGlobal2 === void 0 ? void 0 : _getGlobal2['window']; + + if ((0, _typeof2["default"])(window) !== 'object') { + throw new Error("not supported environment"); + } + + return window; +} +/** + * + * + * this method fetches the document object + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(Monster.DOM.getDocumentFragmentFromString()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/dom/util.js'; + * console.log(getDocumentFragmentFromString('<div></div>')) + * </script> + * ``` + * + * in nodejs this functionality can be performed with [jsdom](https://www.npmjs.com/package/jsdom). + * + * ``` + * import {JSDOM} from "jsdom" + * if (typeof window !== "object") { + * const {window} = new JSDOM('', { + * url: 'http://example.com/', + * pretendToBeVisual: true + * }); + * + * [ + * 'self', + * 'document', + * 'Document', + * 'Node', + * 'Element', + * 'HTMLElement', + * 'DocumentFragment', + * 'DOMParser', + * 'XMLSerializer', + * 'NodeFilter', + * 'InputEvent', + * 'CustomEvent' + * ].forEach(key => (getGlobal()[key] = window[key])); + * } + * ``` + * + * @returns {DocumentFragment} + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/DOM + * @throws {Error} not supported environment + * @throws {TypeError} value is not a string + */ + + +function getDocumentFragmentFromString(html) { + (0, _validate.validateString)(html); + var document = getDocument(); + var template = document.createElement('template'); + template.innerHTML = html; + return template.content; +} + +_global.Monster.assignToNamespace('Monster.DOM', getWindow, getDocument, getDocumentFragmentFromString); + +},{"../types/global.js":1144,"../types/validate.js":1155,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20}],1138:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _namespace.Monster; + } +}); +exports.Handler = void 0; + +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + +var _namespace = require("../namespace.js"); + +var _base = require("../types/base.js"); + +var _logger = require("./logger.js"); + +var _logentry = require("./logentry.js"); + +var _validate = require("../types/validate.js"); + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** * Handler class @@ -221198,7 +223582,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; * console.log(new Monster.Logging.Logger()) * </script> * ``` @@ -221207,7 +223591,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; * console.log(new Logger()) * </script> * ``` @@ -221217,15 +223601,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Logging */ var Handler = /*#__PURE__*/function (_Base) { - _inherits(Handler, _Base); + (0, _inherits2["default"])(Handler, _Base); var _super = _createSuper(Handler); function Handler() { var _this; - _classCallCheck(this, Handler); - + (0, _classCallCheck2["default"])(this, Handler); _this = _super.call(this); /** * @type {integer} Loglevel @@ -221245,7 +223628,7 @@ var Handler = /*#__PURE__*/function (_Base) { */ - _createClass(Handler, [{ + (0, _createClass2["default"])(Handler, [{ key: "log", value: function log(entry) { (0, _validate.validateInstance)(entry, _logentry.LogEntry); @@ -221388,7 +223771,6 @@ var Handler = /*#__PURE__*/function (_Base) { return this; } }]); - return Handler; }(_base.Base); @@ -221396,13 +223778,13 @@ exports.Handler = Handler; _namespace.Monster.assignToNamespace('Monster.Logging', Handler); -},{"../namespace.js":1112,"../types/base.js":1113,"../types/validate.js":1123,"./logentry.js":1109,"./logger.js":1110}],1109:[function(require,module,exports){ +},{"../namespace.js":1142,"../types/base.js":1143,"../types/validate.js":1155,"./logentry.js":1139,"./logger.js":1140,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1139:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -221415,32 +223797,26 @@ Object.defineProperty(exports, "Monster", { }); exports.LogEntry = void 0; -var _namespace = require("../namespace.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -var _validate = require("../types/validate.js"); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -var _base = require("../types/base.js"); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -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 _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _namespace = require("../namespace.js"); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _validate = require("../types/validate.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _base = require("../types/base.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * Log class * @@ -221448,7 +223824,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/log.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/log.js'; * console.log(new Monster.Logging.Log()) * </script> * ``` @@ -221457,7 +223833,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/log.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/log.js'; * console.log(new Log()) * </script> * ``` @@ -221467,7 +223843,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Logging */ var LogEntry = /*#__PURE__*/function (_Base) { - _inherits(LogEntry, _Base); + (0, _inherits2["default"])(LogEntry, _Base); var _super = _createSuper(LogEntry); @@ -221479,8 +223855,7 @@ var LogEntry = /*#__PURE__*/function (_Base) { function LogEntry(loglevel) { var _this; - _classCallCheck(this, LogEntry); - + (0, _classCallCheck2["default"])(this, LogEntry); _this = _super.call(this); (0, _validate.validateInteger)(loglevel); _this.loglevel = loglevel; @@ -221498,7 +223873,7 @@ var LogEntry = /*#__PURE__*/function (_Base) { */ - _createClass(LogEntry, [{ + (0, _createClass2["default"])(LogEntry, [{ key: "getLogLevel", value: function getLogLevel() { return this.loglevel; @@ -221514,7 +223889,6 @@ var LogEntry = /*#__PURE__*/function (_Base) { return this.arguments; } }]); - return LogEntry; }(_base.Base); @@ -221522,13 +223896,13 @@ exports.LogEntry = LogEntry; _namespace.Monster.assignToNamespace('Monster.Logging', LogEntry); -},{"../namespace.js":1112,"../types/base.js":1113,"../types/validate.js":1123}],1110:[function(require,module,exports){ +},{"../namespace.js":1142,"../types/base.js":1143,"../types/validate.js":1155,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1140:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -221541,6 +223915,16 @@ Object.defineProperty(exports, "Monster", { }); exports.OFF = exports.FATAL = exports.ERROR = exports.WARN = exports.INFO = exports.DEBUG = exports.TRACE = exports.ALL = exports.Logger = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + var _namespace = require("../namespace.js"); var _validate = require("../types/validate.js"); @@ -221557,26 +223941,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o = function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; 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; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF */ var ALL = 255; exports.ALL = ALL; @@ -221600,7 +223968,7 @@ var OFF = 0; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; * console.log(new Monster.Logging.Logger()) * </script> * ``` @@ -221609,7 +223977,7 @@ var OFF = 0; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/logging/logger.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/logging/logger.js'; * console.log(new Logger()) * </script> * ``` @@ -221622,7 +223990,7 @@ var OFF = 0; exports.OFF = OFF; var Logger = /*#__PURE__*/function (_Base) { - _inherits(Logger, _Base); + (0, _inherits2["default"])(Logger, _Base); var _super = _createSuper(Logger); @@ -221632,8 +224000,7 @@ var Logger = /*#__PURE__*/function (_Base) { function Logger() { var _this; - _classCallCheck(this, Logger); - + (0, _classCallCheck2["default"])(this, Logger); _this = _super.call(this); _this.handler = new Set(); return _this; @@ -221646,7 +224013,7 @@ var Logger = /*#__PURE__*/function (_Base) { */ - _createClass(Logger, [{ + (0, _createClass2["default"])(Logger, [{ key: "addHandler", value: function addHandler(handler) { (0, _validate.validateObject)(handler); @@ -221817,7 +224184,6 @@ var Logger = /*#__PURE__*/function (_Base) { return 0; } }]); - return Logger; }(_base.Base); @@ -221857,8 +224223,7 @@ function triggerLog(loglevel) { return logger; } -},{"../logging/handler.js":1108,"../logging/logentry.js":1109,"../namespace.js":1112,"../types/base.js":1113,"../types/validate.js":1123}],1111:[function(require,module,exports){ -(function (global){(function (){ +},{"../logging/handler.js":1138,"../logging/logentry.js":1139,"../namespace.js":1142,"../types/base.js":1143,"../types/validate.js":1155,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1141:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -221871,11 +224236,11 @@ exports.random = random; Object.defineProperty(exports, "Monster", { enumerable: true, get: function get() { - return _namespace.Monster; + return _global.Monster; } }); -var _namespace = require("../namespace.js"); +var _global = require("../types/global.js"); /** * this function uses crypt and returns a random number. @@ -221884,7 +224249,7 @@ var _namespace = require("../namespace.js"); * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; * console.log(Monster.Math.random(1,10)) // ↦ 5 * </script> * ``` @@ -221893,7 +224258,7 @@ var _namespace = require("../namespace.js"); * * ``` * <script type="module"> - * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/math/random.js'; + * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/math/random.js'; * console.log(random(1,10)) // ↦ 5 * </script> * ``` @@ -221938,14 +224303,8 @@ Math.log2 = Math.log2 || function (n) { function create(min, max) { var crypt; - - if (typeof global !== "undefined") { - var _global, _global2; - - crypt = ((_global = global) === null || _global === void 0 ? void 0 : _global['crypto']) || ((_global2 = global) === null || _global2 === void 0 ? void 0 : _global2['msCrypto']); - } else { - crypt = typeof crypto !== "undefined" ? crypto : undefined; - } + var globalReference = (0, _global.getGlobal)(); + crypt = (globalReference === null || globalReference === void 0 ? void 0 : globalReference['crypto']) || (globalReference === null || globalReference === void 0 ? void 0 : globalReference['msCrypto']) || (globalReference === null || globalReference === void 0 ? void 0 : globalReference['crypto']) || undefined; if (typeof crypt === "undefined") { throw new Error("missing crypt"); @@ -221984,10 +224343,9 @@ function create(min, max) { return min + rval; } -_namespace.Monster.assignToNamespace('Monster.Math', random); +_global.Monster.assignToNamespace('Monster.Math', random); -}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../namespace.js":1112}],1112:[function(require,module,exports){ +},{"../types/global.js":1144}],1142:[function(require,module,exports){ 'use strict'; /** * @namespace Monster @@ -222007,17 +224365,17 @@ _namespace.Monster.assignToNamespace('Monster.Math', random); * @since 1.0.0 */ +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + Object.defineProperty(exports, "__esModule", { value: true }); exports.assignToNamespace = assignToNamespace; exports.Monster = void 0; -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -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 _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); var Namespace = /*#__PURE__*/function () { /** @@ -222026,7 +224384,7 @@ var Namespace = /*#__PURE__*/function () { * @param obj */ function Namespace(namespace) { - _classCallCheck(this, Namespace); + (0, _classCallCheck2["default"])(this, Namespace); if (namespace === undefined || typeof namespace !== 'string') { throw new Error("namespace is not a string"); @@ -222040,7 +224398,7 @@ var Namespace = /*#__PURE__*/function () { */ - _createClass(Namespace, [{ + (0, _createClass2["default"])(Namespace, [{ key: "getNamespace", value: function getNamespace() { return this.namespace; @@ -222056,7 +224414,6 @@ var Namespace = /*#__PURE__*/function () { return this.getNamespace(); } }]); - return Namespace; }(); /** @@ -222082,7 +224439,7 @@ assignToNamespace('Monster', assignToNamespace); * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/namespace.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/namespace.js'; * function hello() { * console.log('Hello World!'); * } @@ -222172,13 +224529,13 @@ function namespaceFor(parts) { return space; } -},{}],1113:[function(require,module,exports){ +},{"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/interopRequireDefault":11}],1143:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -222191,34 +224548,24 @@ Object.defineProperty(exports, "Monster", { }); exports.Base = void 0; -var _namespace = require("../namespace.js"); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -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 _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/wrapNativeSuper")); -function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); } +var _namespace = require("../namespace.js"); -function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * This is the base class from which all monster classes are derived. * @@ -222226,7 +224573,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; * console.log(new Monster.Types.Base()) * console.log(new Monster.Types.Base()) * </script> @@ -222236,7 +224583,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js'; + * import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/base.js'; * console.log(new Base()) * console.log(new Base()) * </script> @@ -222249,17 +224596,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Types */ var Base = /*#__PURE__*/function (_Object) { - _inherits(Base, _Object); + (0, _inherits2["default"])(Base, _Object); var _super = _createSuper(Base); function Base() { - _classCallCheck(this, Base); - + (0, _classCallCheck2["default"])(this, Base); return _super.apply(this, arguments); } - _createClass(Base, [{ + (0, _createClass2["default"])(Base, [{ key: "toString", value: /** @@ -222270,69 +224616,217 @@ var Base = /*#__PURE__*/function (_Object) { return JSON.stringify(this); } }]); - return Base; -}( /*#__PURE__*/_wrapNativeSuper(Object)); +}( /*#__PURE__*/(0, _wrapNativeSuper2["default"])(Object)); exports.Base = Base; _namespace.Monster.assignToNamespace('Monster.Types', Base); -},{"../namespace.js":1112}],1114:[function(require,module,exports){ -(function (global){(function (){ +},{"../namespace.js":1142,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"@babel/runtime/helpers/wrapNativeSuper":22}],1144:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); +exports.getGlobal = getGlobal; +exports.getGlobalObject = getGlobalObject; +exports.getGlobalFunction = getGlobalFunction; Object.defineProperty(exports, "Monster", { enumerable: true, get: function get() { return _namespace.Monster; } }); -exports.ID = void 0; + +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); var _namespace = require("../namespace.js"); -var _random = require("../math/random.js"); +var _validate = require("./validate.js"); -var _base = require("./base.js"); +/** + * @type {objec} + * @private + */ +var globalReference; +/** + * @private + */ -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +(function () { + if ((typeof globalThis === "undefined" ? "undefined" : (0, _typeof2["default"])(globalThis)) === 'object') { + globalReference = globalThis; + return; + } -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); } } + Object.defineProperty(Object.prototype, '__monster__', { + get: function get() { + return this; + }, + configurable: true + }); + __monster__.globalThis = __monster__; + delete Object.prototype.__monster__; + globalReference = globalThis; +})(); +/** + * return globalThis + * + * if globalThis is not available, it will be polyfilled + * + * @since 1.6.0 + * @memberOf Monster/Types + * @returns {objec} globalThis + */ -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +function getGlobal() { + return globalReference; +} +/** + * return global object or throw Error + * + * you can call the method via the monster namespace `Monster.Types.getGlobalObject()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(Monster.Types.getGlobalObject('document')) // ↦ { } + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(getGlobalObject('document')) // ↦ { } + * </script> + * ``` + * + * @since 1.6.0 + * @memberOf Monster/Types + * @param {string} name + * @returns {objec} + * @throws {Error} the object is not defined + * @throws {TypeError} value is not a object + * @throws {TypeError} value is not a string + */ + -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +function getGlobalObject(name) { + var _globalReference; -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } + (0, _validate.validateString)(name); + var o = (_globalReference = globalReference) === null || _globalReference === void 0 ? void 0 : _globalReference[name]; + if (typeof o === 'undefined') throw new Error('the object ' + name + ' is not defined'); + (0, _validate.validateObject)(o); + return o; +} +/** + * return global function or throw Error + * + * you can call the method via the monster namespace `Monster.Types.getGlobalFunction()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { } + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/global.js'; + * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { } + * </script> + * ``` + * + * @since 1.6.0 + * @memberOf Monster/Types + * @param {string} name + * @returns {objec} + * @throws {TypeError} value is not a function + * @throws {Error} the function is not defined + * @throws {TypeError} value is not a string + */ -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function getGlobalFunction(name) { + var _globalReference2; -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + (0, _validate.validateString)(name); + var f = (_globalReference2 = globalReference) === null || _globalReference2 === void 0 ? void 0 : _globalReference2[name]; + if (typeof f === 'undefined') throw new Error('the function ' + name + ' is not defined'); + (0, _validate.validateFunction)(f); + return f; +} -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } +_namespace.Monster.assignToNamespace('Monster.Types', getGlobal, getGlobalObject, getGlobalFunction); + +},{"../namespace.js":1142,"./validate.js":1155,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20}],1145:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _base.Monster; + } +}); +exports.ID = void 0; + +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + +var _base = require("./base.js"); + +var _validate = require("./validate.js"); + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -var internalCounter = 0; +/** + * @type {Map<string, integer>} + */ +var internalCounter = new Map(); /** * id class * + * with the id class, sequences of ids can be created. for this purpose, an internal counter is incremented for each prefix. + * thus, the first id with the prefix `myid` will be `myid1` and the second id `myid2`. + * The ids are the same for every call, for example on a web page. + * + * so the ids can also be used for navigation. you just have to take care that the order stays the same. + * * you can call the method via the monster namespace `new Monster.Types.ID()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Monster.Types.ID()) * </script> * ``` @@ -222341,58 +224835,73 @@ var internalCounter = 0; * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new ID()) * </script> * ``` * + * as of version 1.6.0 there is the new RandomID. this ID class is continuous from now on. + * * @since 1.0.0 * @copyright schukai GmbH * @memberOf Monster/Types */ var ID = /*#__PURE__*/function (_Base) { - _inherits(ID, _Base); + (0, _inherits2["default"])(ID, _Base); var _super = _createSuper(ID); /** * create new object */ - function ID() { + function ID(prefix) { var _this; - _classCallCheck(this, ID); - + (0, _classCallCheck2["default"])(this, ID); _this = _super.call(this); - internalCounter += 1; - _this.id = global.btoa((0, _random.random)(1, 10000)).replace(/=/g, '') - /** No numbers at the beginning of the ID, because of possible problems with DOM */ - .replace(/^[0-9]+/, 'X') + internalCounter; + + if (prefix === undefined) { + prefix = "id"; + } + + (0, _validate.validateString)(prefix); + + if (!internalCounter.has(prefix)) { + internalCounter.set(prefix, 1); + } + + var count = internalCounter.get(prefix); + _this.id = prefix + count; + internalCounter.set(prefix, ++count); return _this; } + /** + * @return {string} + */ - _createClass(ID, [{ + + (0, _createClass2["default"])(ID, [{ key: "toString", value: function toString() { return this.id; } }]); - return ID; }(_base.Base); exports.ID = ID; -_namespace.Monster.assignToNamespace('Monster.Types', ID); +_base.Monster.assignToNamespace('Monster.Types', ID); -}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../math/random.js":1111,"../namespace.js":1112,"./base.js":1113}],1115:[function(require,module,exports){ +},{"./base.js":1143,"./validate.js":1155,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1146:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + Object.defineProperty(exports, "__esModule", { value: true }); @@ -222412,9 +224921,9 @@ Object.defineProperty(exports, "Monster", { } }); -var _namespace = require("../namespace.js"); +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _namespace = require("../namespace.js"); /** * with this function you can check if a value is iterable @@ -222423,7 +224932,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isIterable(null)) // ↦ false * console.log(Monster.Types.isIterable('hello')) // ↦ true * console.log(Monster.Types.isIterable([])) // ↦ true @@ -222434,7 +224943,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi * * ``` * <script type="module"> - * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isIterable(null)) // ↦ false * console.log(isIterable('hello')) // ↦ true * console.log(isIterable([])) // ↦ true @@ -222459,7 +224968,7 @@ function isIterable(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isPrimitive('2')) // ↦ false * console.log(Monster.Types.isPrimitive([])) // ↦ true * </script> @@ -222469,7 +224978,7 @@ function isIterable(value) { * * ``` * <script type="module"> - * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isPrimitive('2')) // ↦ true * console.log(isPrimitive([])) // ↦ false * </script> @@ -222490,7 +224999,7 @@ function isPrimitive(value) { return true; } - type = _typeof(value); + type = (0, _typeof2["default"])(value); if (type === 'string' || type === 'number' || type === 'boolean' || type === 'symbol') { return true; @@ -222505,7 +225014,7 @@ function isPrimitive(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isBoolean('2')) // ↦ false * console.log(Monster.Types.isBoolean([])) // ↦ false * console.log(Monster.Types.isBoolean(true)) // ↦ true @@ -222516,7 +225025,7 @@ function isPrimitive(value) { * * ``` * <script type="module"> - * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isBoolean('2')) // ↦ false * console.log(isBoolean([])) // ↦ false * console.log(isBoolean(2>4)) // ↦ true @@ -222545,7 +225054,7 @@ function isBoolean(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isString('2')) // ↦ true * console.log(Monster.Types.isString([])) // ↦ false * </script> @@ -222555,7 +225064,7 @@ function isBoolean(value) { * * ``` * <script type="module"> - * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isString('2')) // ↦ true * console.log(isString([])) // ↦ false * </script> @@ -222583,7 +225092,7 @@ function isString(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isObject('2')) // ↦ false * console.log(Monster.Types.isObject([])) // ↦ false * console.log(Monster.Types.isObject({})) // ↦ true @@ -222594,7 +225103,7 @@ function isString(value) { * * ``` * <script type="module"> - * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isObject('2')) // ↦ false * console.log(isObject([])) // ↦ false * </script> @@ -222612,7 +225121,7 @@ function isObject(value) { if (isArray(value)) return false; if (isPrimitive(value)) return false; - if (_typeof(value) === 'object') { + if ((0, _typeof2["default"])(value) === 'object') { return true; } @@ -222625,7 +225134,7 @@ function isObject(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isInstance('2')) // ↦ false * console.log(Monster.Types.isInstance([])) // ↦ false * console.log(Monster.Types.isInstance({})) // ↦ true @@ -222636,7 +225145,7 @@ function isObject(value) { * * ``` * <script type="module"> - * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isInstance('2')) // ↦ false * console.log(isInstance([])) // ↦ false * </script> @@ -222664,7 +225173,7 @@ function isInstance(value, instance) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isArray('2')) // ↦ false * console.log(Monster.Types.isArray([])) // ↦ true * </script> @@ -222674,7 +225183,7 @@ function isInstance(value, instance) { * * ``` * <script type="module"> - * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isArray('2')) // ↦ false * console.log(isArray([])) // ↦ true * </script> @@ -222702,7 +225211,7 @@ function isArray(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isFunction(()=>{})) // ↦ true * console.log(Monster.Types.isFunction('2')) // ↦ false * console.log(Monster.Types.isFunction([])) // ↦ false @@ -222713,7 +225222,7 @@ function isArray(value) { * * ``` * <script type="module"> - * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isFunction(()=>{})) // ↦ true * console.log(isFunction('2')) // ↦ false * console.log(isFunction([])) // ↦ false @@ -222745,7 +225254,7 @@ function isFunction(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(Monster.Types.isInteger(()=>{})) // ↦ true * console.log(Monster.Types.isInteger('2')) // ↦ false * console.log(Monster.Types.isInteger(2)) // ↦ true @@ -222756,7 +225265,7 @@ function isFunction(value) { * * ``` * <script type="module"> - * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/is.js'; + * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/is.js'; * console.log(isInteger(()=>{})) // ↦ true * console.log(isInteger('2')) // ↦ false * console.log(isInteger(2)) // ↦ true @@ -222777,13 +225286,13 @@ function isInteger(value) { _namespace.Monster.assignToNamespace('Monster.Types', isPrimitive, isBoolean, isString, isObject, isArray, isFunction, isIterable, isInteger); -},{"../namespace.js":1112}],1116:[function(require,module,exports){ +},{"../namespace.js":1142,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20}],1147:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -222796,36 +225305,30 @@ Object.defineProperty(exports, "Monster", { }); exports.Observer = void 0; -var _namespace = require("../namespace.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -var _tokenlist = require("./tokenlist.js"); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -var _is = require("./is.js"); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -var _base = require("./base.js"); +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -var _uniquequeue = require("./uniquequeue.js"); - -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); } } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _namespace = require("../namespace.js"); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _tokenlist = require("./tokenlist.js"); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _is = require("./is.js"); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _base = require("./base.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _uniquequeue = require("./uniquequeue.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * an observer manages a callback function * @@ -222833,7 +225336,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; * console.log(new Monster.Types.Observer()) * </script> * ``` @@ -222842,7 +225345,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observer.js'; + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observer.js'; * console.log(Observer()) * </script> * ``` @@ -222880,7 +225383,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Types */ var Observer = /*#__PURE__*/function (_Base) { - _inherits(Observer, _Base); + (0, _inherits2["default"])(Observer, _Base); var _super = _createSuper(Observer); @@ -222892,8 +225395,7 @@ var Observer = /*#__PURE__*/function (_Base) { function Observer(callback) { var _this; - _classCallCheck(this, Observer); - + (0, _classCallCheck2["default"])(this, Observer); _this = _super.call(this); if (typeof callback !== 'function') { @@ -222918,7 +225420,7 @@ var Observer = /*#__PURE__*/function (_Base) { */ - _createClass(Observer, [{ + (0, _createClass2["default"])(Observer, [{ key: "addTag", value: function addTag(tag) { this.tags.add(tag); @@ -222970,6 +225472,7 @@ var Observer = /*#__PURE__*/function (_Base) { return new Promise(function (resolve, reject) { if (!(0, _is.isObject)(subject)) { reject("subject must be an object"); + return; } self.queue.add(subject); @@ -222994,7 +225497,6 @@ var Observer = /*#__PURE__*/function (_Base) { }); } }]); - return Observer; }(_base.Base); @@ -223002,13 +225504,13 @@ exports.Observer = Observer; _namespace.Monster.assignToNamespace('Monster.Types', Observer); -},{"../namespace.js":1112,"./base.js":1113,"./is.js":1115,"./tokenlist.js":1121,"./uniquequeue.js":1122}],1117:[function(require,module,exports){ +},{"../namespace.js":1142,"./base.js":1143,"./is.js":1146,"./tokenlist.js":1153,"./uniquequeue.js":1154,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1148:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -223021,30 +225523,28 @@ Object.defineProperty(exports, "Monster", { }); exports.ObserverList = void 0; -var _namespace = require("../namespace.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -var _base = require("./base.js"); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -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); } } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _namespace = require("../namespace.js"); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _base = require("./base.js"); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _observer = require("./observer.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _validate = require("./validate.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * With the help of the ObserverList class, observer can be managed. * @@ -223052,9 +225552,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; - * console.log(new Monster.Types.ObserverList()) - * console.log(new Monster.Types.ObserverList()) + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; + * console.log(new Monster.Types.ObserverList()) + * console.log(new Monster.Types.ObserverList()) * </script> * ``` * @@ -223062,7 +225562,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/observerlist.js'; + * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/observerlist.js'; * console.log(ObserverList()) * console.log(ObserverList()) * </script> @@ -223073,31 +225573,47 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Types */ var ObserverList = /*#__PURE__*/function (_Base) { - _inherits(ObserverList, _Base); + (0, _inherits2["default"])(ObserverList, _Base); var _super = _createSuper(ObserverList); + /** + * + */ function ObserverList() { var _this; - _classCallCheck(this, ObserverList); - + (0, _classCallCheck2["default"])(this, ObserverList); _this = _super.call(this); _this.observers = []; return _this; } + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ - _createClass(ObserverList, [{ + + (0, _createClass2["default"])(ObserverList, [{ key: "attach", value: function attach(observer) { - checkIsObserver(observer); + (0, _validate.validateInstance)(observer, _observer.Observer); this.observers.push(observer); return this; } }, { key: "detach", - value: function detach(observer) { - checkIsObserver(observer); + value: + /** + * + * @param {Observer} observer + * @return {ObserverList} + * @throws {TypeError} value is not an instance of Observer + */ + function detach(observer) { + (0, _validate.validateInstance)(observer, _observer.Observer); var i = 0, l = this.observers.length; @@ -223111,8 +225627,15 @@ var ObserverList = /*#__PURE__*/function (_Base) { } }, { key: "contains", - value: function contains(observer) { - checkIsObserver(observer); + value: + /** + * + * @param {Observer} observer + * @return {boolean} + * @throws {TypeError} value is not an instance of Observer + */ + function contains(observer) { + (0, _validate.validateInstance)(observer, _observer.Observer); var i = 0, l = this.observers.length; @@ -223126,7 +225649,13 @@ var ObserverList = /*#__PURE__*/function (_Base) { } }, { key: "notify", - value: function notify(subject) { + value: + /** + * + * @param subject + * @return {Promise} + */ + function notify(subject) { var pomises = []; var i = 0, l = this.observers.length; @@ -223138,35 +225667,21 @@ var ObserverList = /*#__PURE__*/function (_Base) { return Promise.all(pomises); } }]); - return ObserverList; }(_base.Base); -/** - * - * @param {Monster.Types.Observer} observer - * @returns {boolean} - * @private - */ - exports.ObserverList = ObserverList; -function checkIsObserver(observer) { - if (!(observer instanceof _namespace.Monster.Types.Observer)) { - throw new Error("argument must be instance of observer"); - } - - return true; -} - _namespace.Monster.assignToNamespace('Monster.Types', ObserverList); -},{"../namespace.js":1112,"./base.js":1113}],1118:[function(require,module,exports){ +},{"../namespace.js":1142,"./base.js":1143,"./observer.js":1147,"./validate.js":1155,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1149:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + Object.defineProperty(exports, "__esModule", { value: true }); @@ -223178,40 +225693,36 @@ Object.defineProperty(exports, "Monster", { }); exports.ProxyObserver = void 0; -var _namespace = require("../namespace.js"); - -var _base = require("./base.js"); +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); -var _validate = require("./validate.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -var _observerlist = require("./observerlist.js"); +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -var _observer = require("./observer.js"); +var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); -var _is = require("./is.js"); +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -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); } } +var _namespace = require("../namespace.js"); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _base = require("./base.js"); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _validate = require("./validate.js"); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _observerlist = require("./observerlist.js"); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _observer = require("./observer.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _is = require("./is.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * an observer manages a callback function * @@ -223219,7 +225730,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; * console.log(new Monster.Types.ProxyObserver()) * </script> * ``` @@ -223228,7 +225739,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/proxyobserver.js'; + * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/proxyobserver.js'; * console.log(new ProxyObserver()) * </script> * ``` @@ -223265,23 +225776,23 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Types */ var ProxyObserver = /*#__PURE__*/function (_Base) { - _inherits(ProxyObserver, _Base); + (0, _inherits2["default"])(ProxyObserver, _Base); var _super = _createSuper(ProxyObserver); /** * * @param {object} object + * @throws {TypeError} value is not a object */ function ProxyObserver(object) { var _this; - _classCallCheck(this, ProxyObserver); - + (0, _classCallCheck2["default"])(this, ProxyObserver); _this = _super.call(this); (0, _validate.validateObject)(object); _this.realSubject = object; - _this.subject = new Proxy(object, getHandler.call(_assertThisInitialized(_this))); + _this.subject = new Proxy(object, getHandler.call((0, _assertThisInitialized2["default"])(_this))); _this.objectMap = new WeakMap(); _this.objectMap.set(_this.realSubject, _this.subject); @@ -223298,7 +225809,7 @@ var ProxyObserver = /*#__PURE__*/function (_Base) { */ - _createClass(ProxyObserver, [{ + (0, _createClass2["default"])(ProxyObserver, [{ key: "getSubject", value: function getSubject() { return this.subject; @@ -223363,7 +225874,6 @@ var ProxyObserver = /*#__PURE__*/function (_Base) { return this.observers.contains(observer); } }]); - return ProxyObserver; }(_base.Base); @@ -223385,7 +225895,7 @@ function getHandler() { get: function get(target, key, receiver) { var value = Reflect.get(target, key, receiver); - if (_typeof(key) === "symbol") { + if ((0, _typeof2["default"])(key) === "symbol") { return value; } @@ -223410,7 +225920,7 @@ function getHandler() { set: function set(target, key, value, receiver) { var result = Reflect.set(target, key, value, receiver); - if ((typeof property === "undefined" ? "undefined" : _typeof(property)) !== "symbol") { + if ((typeof property === "undefined" ? "undefined" : (0, _typeof2["default"])(property)) !== "symbol") { proxy.observers.notify(proxy); } @@ -223421,7 +225931,7 @@ function getHandler() { if (key in target) { delete target[key]; - if (_typeof(key) !== "symbol") { + if ((0, _typeof2["default"])(key) !== "symbol") { proxy.observers.notify(proxy); } @@ -223434,7 +225944,7 @@ function getHandler() { defineProperty: function defineProperty(target, key, descriptor) { var result = Reflect.defineProperty(target, key, descriptor); - if (_typeof(key) !== "symbol") { + if ((0, _typeof2["default"])(key) !== "symbol") { proxy.observers.notify(proxy); } @@ -223444,7 +225954,7 @@ function getHandler() { setPrototypeOf: function setPrototypeOf(target, key) { var result = Reflect.setPrototypeOf(object1, key); - if (_typeof(key) !== "symbol") { + if ((0, _typeof2["default"])(key) !== "symbol") { proxy.observers.notify(proxy); } @@ -223454,10 +225964,10 @@ function getHandler() { return handler; } -},{"../namespace.js":1112,"./base.js":1113,"./is.js":1115,"./observer.js":1116,"./observerlist.js":1117,"./validate.js":1123}],1119:[function(require,module,exports){ +},{"../namespace.js":1142,"./base.js":1143,"./is.js":1146,"./observer.js":1147,"./observerlist.js":1148,"./validate.js":1155,"@babel/runtime/helpers/assertThisInitialized":3,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"@babel/runtime/helpers/typeof":20}],1150:[function(require,module,exports){ "use strict"; -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -223470,28 +225980,22 @@ Object.defineProperty(exports, "Monster", { }); exports.Queue = void 0; -var _base = require("./base.js"); - -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); } } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _base = require("./base.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * queue class * @@ -223499,7 +226003,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; * console.log(new Monster.Types.Queue()) * </script> * ``` @@ -223508,7 +226012,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/queue.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/queue.js'; * console.log(new Queue()) * </script> * ``` @@ -223518,7 +226022,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Types */ var Queue = /*#__PURE__*/function (_Base) { - _inherits(Queue, _Base); + (0, _inherits2["default"])(Queue, _Base); var _super = _createSuper(Queue); @@ -223528,8 +226032,7 @@ var Queue = /*#__PURE__*/function (_Base) { function Queue() { var _this; - _classCallCheck(this, Queue); - + (0, _classCallCheck2["default"])(this, Queue); _this = _super.call(this); _this.data = []; return _this; @@ -223539,7 +226042,7 @@ var Queue = /*#__PURE__*/function (_Base) { */ - _createClass(Queue, [{ + (0, _createClass2["default"])(Queue, [{ key: "isEmpty", value: function isEmpty() { return this.data.length === 0; @@ -223601,7 +226104,6 @@ var Queue = /*#__PURE__*/function (_Base) { return this.data.shift(); } }]); - return Queue; }(_base.Base); @@ -223609,10 +226111,101 @@ exports.Queue = Queue; _base.Monster.assignToNamespace('Monster.Types', Queue); -},{"./base.js":1113}],1120:[function(require,module,exports){ +},{"./base.js":1143,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1151:[function(require,module,exports){ +'use strict'; +/** + * @author schukai GmbH + */ + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "Monster", { + enumerable: true, + get: function get() { + return _id.Monster; + } +}); +exports.RandomID = void 0; + +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + +var _id = require("./id.js"); + +var _global = require("./global.js"); + +var _random = require("../math/random.js"); + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } + +var internalCounter = 0; +/** + * serialID class + * + * you can call the method via the monster namespace `new Monster.Types.ID()`. + * + * ``` + * <script type="module"> + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; + * console.log(new Monster.Types.RandomID()) + * </script> + * ``` + * + * Alternatively, you can also integrate this function individually. + * + * ``` + * <script type="module"> + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/randomid.js'; + * console.log(new RandomID()) + * </script> + * ``` + * + * @since 1.6.0 + * @copyright schukai GmbH + * @memberOf Monster/Types + */ + +var RandomID = /*#__PURE__*/function (_ID) { + (0, _inherits2["default"])(RandomID, _ID); + + var _super = _createSuper(RandomID); + + /** + * create new object + */ + function RandomID() { + var _this; + + (0, _classCallCheck2["default"])(this, RandomID); + _this = _super.call(this); + internalCounter += 1; + _this.id = (0, _global.getGlobal)().btoa((0, _random.random)(1, 10000)).replace(/=/g, '') + /** No numbers at the beginning of the ID, because of possible problems with DOM */ + .replace(/^[0-9]+/, 'X') + internalCounter; + return _this; + } + + return RandomID; +}(_id.ID); + +exports.RandomID = RandomID; + +_id.Monster.assignToNamespace('Monster.Types', RandomID); + +},{"../math/random.js":1141,"./global.js":1144,"./id.js":1145,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1152:[function(require,module,exports){ "use strict"; -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -223625,28 +226218,22 @@ Object.defineProperty(exports, "Monster", { }); exports.Stack = void 0; -var _base = require("./base.js"); - -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); } } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _base = require("./base.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * Stack class * @@ -223654,7 +226241,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/stack.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; * console.log(new Monster.Types.Stack()) * </script> * ``` @@ -223663,7 +226250,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/stack.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/stack.js'; * console.log(new Stack()) * </script> * ``` @@ -223673,7 +226260,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Types */ var Stack = /*#__PURE__*/function (_Base) { - _inherits(Stack, _Base); + (0, _inherits2["default"])(Stack, _Base); var _super = _createSuper(Stack); @@ -223683,8 +226270,7 @@ var Stack = /*#__PURE__*/function (_Base) { function Stack() { var _this; - _classCallCheck(this, Stack); - + (0, _classCallCheck2["default"])(this, Stack); _this = _super.call(this); _this.data = []; return _this; @@ -223694,7 +226280,7 @@ var Stack = /*#__PURE__*/function (_Base) { */ - _createClass(Stack, [{ + (0, _createClass2["default"])(Stack, [{ key: "isEmpty", value: function isEmpty() { return this.data.length === 0; @@ -223759,7 +226345,6 @@ var Stack = /*#__PURE__*/function (_Base) { return this.data.pop(); } }]); - return Stack; }(_base.Base); @@ -223767,13 +226352,13 @@ exports.Stack = Stack; _base.Monster.assignToNamespace('Monster.Types', Stack); -},{"./base.js":1113}],1121:[function(require,module,exports){ +},{"./base.js":1143,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1153:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -223786,6 +226371,16 @@ Object.defineProperty(exports, "Monster", { }); exports.TokenList = void 0; +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + var _namespace = require("../namespace.js"); var _base = require("./base.js"); @@ -223800,26 +226395,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o = function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; 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; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * A tokenlist allows you to manage tokens (individual character strings such as css classes in an attribute string). * @@ -223829,7 +226408,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; * console.log(new Monster.Types.TokenList("myclass row")) * console.log(new Monster.Types.TokenList("myclass row")) * </script> @@ -223839,7 +226418,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/tokenlist.js'; + * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/tokenlist.js'; * console.log(new TokenList("myclass row")) * console.log(new TokenList("myclass row")) * </script> @@ -223857,7 +226436,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Types */ var TokenList = /*#__PURE__*/function (_Base) { - _inherits(TokenList, _Base); + (0, _inherits2["default"])(TokenList, _Base); var _super = _createSuper(TokenList); @@ -223868,8 +226447,7 @@ var TokenList = /*#__PURE__*/function (_Base) { function TokenList(init) { var _this; - _classCallCheck(this, TokenList); - + (0, _classCallCheck2["default"])(this, TokenList); _this = _super.call(this); _this.tokens = new Set(); @@ -223886,7 +226464,7 @@ var TokenList = /*#__PURE__*/function (_Base) { */ - _createClass(TokenList, [{ + (0, _createClass2["default"])(TokenList, [{ key: "getIterator", value: function getIterator() { return this[Symbol.iterator](); @@ -224183,7 +226761,6 @@ var TokenList = /*#__PURE__*/function (_Base) { return this.entries().join(' '); } }]); - return TokenList; }(_base.Base); /** @@ -224212,10 +226789,10 @@ function toggleValue(token) { _namespace.Monster.assignToNamespace('Monster.Types', TokenList); -},{"../namespace.js":1112,"../types/is.js":1115,"../types/validate.js":1123,"./base.js":1113}],1122:[function(require,module,exports){ +},{"../namespace.js":1142,"../types/is.js":1146,"../types/validate.js":1155,"./base.js":1143,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1154:[function(require,module,exports){ "use strict"; -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -224228,34 +226805,26 @@ Object.defineProperty(exports, "Monster", { }); exports.UniqueQueue = void 0; -var _queue = require("./queue.js"); - -var _validate = require("./validate.js"); - -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); } } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); } +var _get2 = _interopRequireDefault(require("@babel/runtime/helpers/get")); -function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _queue = require("./queue.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _validate = require("./validate.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * UniqueQueue class * @@ -224263,7 +226832,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; * console.log(new Monster.Types.UniqueQueue()) * </script> * ``` @@ -224272,7 +226841,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/uniquequeue.js'; + * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/uniquequeue.js'; * console.log(new UniqueQueue()) * </script> * ``` @@ -224282,7 +226851,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Types */ var UniqueQueue = /*#__PURE__*/function (_Queue) { - _inherits(UniqueQueue, _Queue); + (0, _inherits2["default"])(UniqueQueue, _Queue); var _super = _createSuper(UniqueQueue); @@ -224292,8 +226861,7 @@ var UniqueQueue = /*#__PURE__*/function (_Queue) { function UniqueQueue() { var _this; - _classCallCheck(this, UniqueQueue); - + (0, _classCallCheck2["default"])(this, UniqueQueue); _this = _super.call(this); _this.unique = new WeakSet(); return _this; @@ -224307,15 +226875,14 @@ var UniqueQueue = /*#__PURE__*/function (_Queue) { */ - _createClass(UniqueQueue, [{ + (0, _createClass2["default"])(UniqueQueue, [{ key: "add", value: function add(value) { (0, _validate.validateObject)(value); if (!this.unique.has(value)) { this.unique.add(value); - - _get(_getPrototypeOf(UniqueQueue.prototype), "add", this).call(this, value); + (0, _get2["default"])((0, _getPrototypeOf2["default"])(UniqueQueue.prototype), "add", this).call(this, value); } return this; @@ -224329,8 +226896,7 @@ var UniqueQueue = /*#__PURE__*/function (_Queue) { }, { key: "clear", value: function clear() { - _get(_getPrototypeOf(UniqueQueue.prototype), "clear", this).call(this); - + (0, _get2["default"])((0, _getPrototypeOf2["default"])(UniqueQueue.prototype), "clear", this).call(this); this.unique = new WeakSet(); return this; } @@ -224353,7 +226919,6 @@ var UniqueQueue = /*#__PURE__*/function (_Queue) { return value; } }]); - return UniqueQueue; }(_queue.Queue); @@ -224361,7 +226926,7 @@ exports.UniqueQueue = UniqueQueue; _queue.Monster.assignToNamespace('Monster.Types', UniqueQueue); -},{"./queue.js":1119,"./validate.js":1123}],1123:[function(require,module,exports){ +},{"./queue.js":1150,"./validate.js":1155,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/get":8,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1155:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH @@ -224397,7 +226962,7 @@ var _is = require("./is.js"); * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError * console.log(Monster.Types.validateIterable([])) // ↦ undefined * </script> @@ -224407,7 +226972,7 @@ var _is = require("./is.js"); * * ``` * <script type="module"> - * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateIterable('2')) // ↦ TypeError * console.log(validateIterable([])) // ↦ undefined * </script> @@ -224435,7 +227000,7 @@ function validateIterable(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validatePrimitive('2')) // ↦ undefined * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError * </script> @@ -224445,7 +227010,7 @@ function validateIterable(value) { * * ``` * <script type="module"> - * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validatePrimitive('2')) // ↦ undefined * console.log(validatePrimitive([])) // ↦ TypeError * </script> @@ -224475,7 +227040,7 @@ function validatePrimitive(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateBoolean(true)) // ↦ undefined * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError @@ -224486,7 +227051,7 @@ function validatePrimitive(value) { * * ``` * <script type="module"> - * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateBoolean(false)) // ↦ undefined * console.log(validateBoolean('2')) // ↦ TypeError * console.log(validateBoolean([])) // ↦ TypeError @@ -224515,7 +227080,7 @@ function validateBoolean(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateString('2')) // ↦ undefined * console.log(Monster.Types.validateString([])) // ↦ TypeError * </script> @@ -224525,7 +227090,7 @@ function validateBoolean(value) { * * ``` * <script type="module"> - * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateString('2')) // ↦ undefined * console.log(validateString([])) // ↦ TypeError * </script> @@ -224552,7 +227117,7 @@ function validateString(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateObject({})) // ↦ undefined * console.log(Monster.Types.validateObject('2')) // ↦ TypeError * console.log(Monster.Types.validateObject([])) // ↦ TypeError @@ -224563,7 +227128,7 @@ function validateString(value) { * * ``` * <script type="module"> - * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateObject({})) // ↦ undefined * console.log(validateObject('2')) // ↦ TypeError * console.log(validateObject([])) // ↦ TypeError @@ -224585,13 +227150,13 @@ function validateObject(value) { } } /** - * this method checks if the type matches the object type. this function is identical to isObject() except that a TypeError is thrown. + * this method checks if the type matches the object instance. * - * you can call the method via the monster namespace `Monster.Types.validateObject()`. + * you can call the method via the monster namespace `Monster.Types.validateInstance()`. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateInstance({}, Object)) // ↦ undefined * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError @@ -224602,7 +227167,7 @@ function validateObject(value) { * * ``` * <script type="module"> - * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateInstance({}, Object)) // ↦ undefined * console.log(validateInstance('2', Object)) // ↦ TypeError * console.log(validateInstance([], Object)) // ↦ TypeError @@ -224620,7 +227185,17 @@ function validateObject(value) { function validateInstance(value, instance) { if (!(0, _is.isInstance)(value, instance)) { - throw new TypeError('value is not an instance of'); + var n = ""; + + if ((0, _is.isObject)(instance) || (0, _is.isFunction)(instance)) { + n = instance === null || instance === void 0 ? void 0 : instance['name']; + } + + if (n) { + n = " " + n; + } + + throw new TypeError('value is not an instance of' + n); } } /** @@ -224630,7 +227205,7 @@ function validateInstance(value, instance) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateArray('2')) // ↦ TypeError * console.log(Monster.Types.validateArray([])) // ↦ undefined * </script> @@ -224640,7 +227215,7 @@ function validateInstance(value, instance) { * * ``` * <script type="module"> - * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateArray('2')) // ↦ TypeError * console.log(validateArray([])) // ↦ undefined * </script> @@ -224667,7 +227242,7 @@ function validateArray(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateFunction(()=>{})) // ↦ undefined * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError * console.log(Monster.Types.validateFunction([])) // ↦ TypeError @@ -224678,7 +227253,7 @@ function validateArray(value) { * * ``` * <script type="module"> - * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateFunction(()=>{})) // ↦ undefined * console.log(validateFunction('2')) // ↦ TypeError * console.log(validateFunction([])) // ↦ TypeError @@ -224706,7 +227281,7 @@ function validateFunction(value) { * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError * console.log(Monster.Types.validateInteger(2)) // ↦ undefined @@ -224717,7 +227292,7 @@ function validateFunction(value) { * * ``` * <script type="module"> - * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/validate.js'; + * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/validate.js'; * console.log(validateInteger(true)) // ↦ TypeError * console.log(validateInteger('2')) // ↦ TypeError * console.log(validateInteger(2)) // ↦ undefined @@ -224741,10 +227316,10 @@ function validateInteger(value) { _namespace.Monster.assignToNamespace('Monster.Types', validatePrimitive, validateBoolean, validateString, validateObject, validateArray, validateFunction, validateIterable, validateInteger); -},{"../namespace.js":1112,"./is.js":1115}],1124:[function(require,module,exports){ +},{"../namespace.js":1142,"./is.js":1146}],1156:[function(require,module,exports){ 'use strict'; -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true @@ -224758,30 +227333,24 @@ Object.defineProperty(exports, "Monster", { }); exports.Version = void 0; -var _namespace = require("../namespace.js"); - -var _base = require("./base.js"); +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -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); } } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _namespace = require("../namespace.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _base = require("./base.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * the version object contains a sematic version number * @@ -224789,7 +227358,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3 * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0 * </script> @@ -224799,7 +227368,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(new Version('1.2.3')) // ↦ 1.2.3 * console.log(new Version('1')) // ↦ 1.0.0 * </script> @@ -224820,7 +227389,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Types */ var Version = /*#__PURE__*/function (_Base) { - _inherits(Version, _Base); + (0, _inherits2["default"])(Version, _Base); var _super = _createSuper(Version); @@ -224836,8 +227405,7 @@ var Version = /*#__PURE__*/function (_Base) { function Version(major, minor, patch) { var _this; - _classCallCheck(this, Version); - + (0, _classCallCheck2["default"])(this, Version); _this = _super.call(this); if (typeof major === 'string' && minor === undefined && patch === undefined) { @@ -224883,7 +227451,7 @@ var Version = /*#__PURE__*/function (_Base) { */ - _createClass(Version, [{ + (0, _createClass2["default"])(Version, [{ key: "toString", value: function toString() { return this.major + '.' + this.minor + '.' + this.patch; @@ -224926,7 +227494,6 @@ var Version = /*#__PURE__*/function (_Base) { return 0; } }]); - return Version; }(_base.Base); @@ -224942,7 +227509,7 @@ var monsterVersion; * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(Monster.getVersion()) * console.log(Monster.getVersion()) * </script> @@ -224952,7 +227519,7 @@ var monsterVersion; * * ``` * <script type="module"> - * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/version.js'; + * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/version.js'; * console.log(getVersion()) * console.log(getVersion()) * </script> @@ -224972,7 +227539,7 @@ function getVersion() { /**#@+ dont touch, replaced by make with package.json version */ - monsterVersion = new Version('1.5.0'); + monsterVersion = new Version('1.6.0'); /**#@-*/ return monsterVersion; @@ -224980,12 +227547,14 @@ function getVersion() { _namespace.Monster.assignToNamespace('Monster', getVersion); -},{"../namespace.js":1112,"./base.js":1113}],1125:[function(require,module,exports){ +},{"../namespace.js":1142,"./base.js":1143,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],1157:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + Object.defineProperty(exports, "__esModule", { value: true }); @@ -224997,11 +227566,13 @@ Object.defineProperty(exports, "Monster", { } }); +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); + var _namespace = require("../namespace.js"); var _is = require("../types/is.js"); -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _global = require("../types/global.js"); /** * with this function, objects can be cloned. @@ -225016,7 +227587,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; * console.log(Monster.Util.clone({})) * </script> * ``` @@ -225025,7 +227596,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi * * ``` * <script type="module"> - * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/util/clone.js'; + * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/util/clone.js'; * console.log(clone({})) * </script> * ``` @@ -225083,6 +227654,7 @@ function clone(obj) { if (typeof DocumentFragment !== 'undefined' && obj instanceof DocumentFragment) return obj; /** Do not clone global objects */ + if (obj === (0, _global.getGlobal)()) return obj; if (typeof globalContext !== 'undefined' && obj === globalContext) return obj; if (typeof window !== 'undefined' && obj === window) return obj; if (typeof document !== 'undefined' && obj === document) return obj; @@ -225113,7 +227685,7 @@ function cloneObject(obj) { var copy; /** Object has clone method */ - if (_typeof(obj.hasOwnProperty('getClone')) && obj.getClone === 'function') { + if ((0, _typeof2["default"])(obj.hasOwnProperty('getClone')) && obj.getClone === 'function') { return obj.getClone(); } @@ -225141,12 +227713,14 @@ function cloneObject(obj) { _namespace.Monster.assignToNamespace('Monster.Util', clone); -},{"../namespace.js":1112,"../types/is.js":1115}],1126:[function(require,module,exports){ +},{"../namespace.js":1142,"../types/global.js":1144,"../types/is.js":1146,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20}],1158:[function(require,module,exports){ 'use strict'; /** * @author schukai GmbH */ +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + Object.defineProperty(exports, "__esModule", { value: true }); @@ -225158,38 +227732,32 @@ Object.defineProperty(exports, "Monster", { }); exports.Comparator = void 0; -var _base = require("../types/base.js"); - -var _is = require("../types/is.js"); - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -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); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _base = require("../types/base.js"); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _is = require("../types/is.js"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - /** * the comparator allows a comparison function to be abstracted. * * ``` * <script type="module"> - * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Monster.Util.Comparator()) * console.log(new Monster.Util.Comparator()) * </script> @@ -225199,7 +227767,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * * ``` * <script type="module"> - * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/id.js'; + * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.6.0/dist/modules/types/id.js'; * console.log(new Util()) * console.log(new Util()) * </script> @@ -225227,7 +227795,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g * @memberOf Monster/Util */ var Comparator = /*#__PURE__*/function (_Base) { - _inherits(Comparator, _Base); + (0, _inherits2["default"])(Comparator, _Base); var _super = _createSuper(Comparator); @@ -225241,8 +227809,7 @@ var Comparator = /*#__PURE__*/function (_Base) { function Comparator(callback) { var _this; - _classCallCheck(this, Comparator); - + (0, _classCallCheck2["default"])(this, Comparator); _this = _super.call(this); if ((0, _is.isFunction)(callback)) { @@ -225252,7 +227819,7 @@ var Comparator = /*#__PURE__*/function (_Base) { } else { // default compare function _this.compare = function (a, b) { - if (_typeof(a) !== _typeof(b)) { + if ((0, _typeof2["default"])(a) !== (0, _typeof2["default"])(b)) { throw new TypeError("impractical comparison"); } @@ -225273,7 +227840,7 @@ var Comparator = /*#__PURE__*/function (_Base) { */ - _createClass(Comparator, [{ + (0, _createClass2["default"])(Comparator, [{ key: "reverse", value: function reverse() { var original = this.compare; @@ -225355,7 +227922,6 @@ var Comparator = /*#__PURE__*/function (_Base) { return this.compare(a, b) < 0; } }]); - return Comparator; }(_base.Base); @@ -225363,7 +227929,7 @@ exports.Comparator = Comparator; _base.Monster.assignToNamespace('Monster.Util', Comparator); -},{"../types/base.js":1113,"../types/is.js":1115}],1127:[function(require,module,exports){ +},{"../types/base.js":1143,"../types/is.js":1146,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"@babel/runtime/helpers/typeof":20}],1159:[function(require,module,exports){ "use strict"; var _valid = require("../../../source/constraints/valid.js"); @@ -225390,7 +227956,7 @@ describe('AndOperator', function () { }); }); -},{"../../../source/constraints/andoperator.js":1100,"../../../source/constraints/invalid.js":1101,"../../../source/constraints/valid.js":1105}],1128:[function(require,module,exports){ +},{"../../../source/constraints/andoperator.js":1124,"../../../source/constraints/invalid.js":1125,"../../../source/constraints/valid.js":1129}],1160:[function(require,module,exports){ "use strict"; var _invalid = require("../../../source/constraints/invalid.js"); @@ -225409,7 +227975,7 @@ describe('Invalid', function () { }); }); -},{"../../../source/constraints/invalid.js":1101,"chai":104}],1129:[function(require,module,exports){ +},{"../../../source/constraints/invalid.js":1125,"chai":128}],1161:[function(require,module,exports){ "use strict"; var _isarray = require("../../../source/constraints/isarray.js"); @@ -225430,7 +227996,7 @@ describe('IsArray', function () { }); }); -},{"../../../source/constraints/isarray.js":1102,"chai":104}],1130:[function(require,module,exports){ +},{"../../../source/constraints/isarray.js":1126,"chai":128}],1162:[function(require,module,exports){ "use strict"; var _isobject = require("../../../source/constraints/isobject.js"); @@ -225451,7 +228017,7 @@ describe('IsObject', function () { }); }); -},{"../../../source/constraints/isobject.js":1103,"chai":104}],1131:[function(require,module,exports){ +},{"../../../source/constraints/isobject.js":1127,"chai":128}],1163:[function(require,module,exports){ "use strict"; var _valid = require("../../../source/constraints/valid.js"); @@ -225478,7 +228044,7 @@ describe('OrOperator', function () { }); }); -},{"../../../source/constraints/invalid.js":1101,"../../../source/constraints/oroperator.js":1104,"../../../source/constraints/valid.js":1105}],1132:[function(require,module,exports){ +},{"../../../source/constraints/invalid.js":1125,"../../../source/constraints/oroperator.js":1128,"../../../source/constraints/valid.js":1129}],1164:[function(require,module,exports){ "use strict"; var _valid = require("../../../source/constraints/valid.js"); @@ -225498,7 +228064,88 @@ describe('Valid', function () { }); }); -},{"../../../source/constraints/valid.js":1105,"chai":104}],1133:[function(require,module,exports){ +},{"../../../source/constraints/valid.js":1129,"chai":128}],1165:[function(require,module,exports){ +"use strict"; + +var _diff = require("../../../source/data/diff.js"); + +var _chai = require("chai"); + +var _queue = require("../../../source/types/queue.js"); + +describe('Diff', function () { + var date1 = new Date(); // https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Date/parse + + var date2 = Date.parse('01 Jan 1970 00:00:00 GMT'); + var date3 = Date.parse('04 Dec 1995 00:12:00 GMT'); // Number + + var date4 = Date.parse('04 Dec 1995 00:12:01 GMT'); // Number + + var date5 = new Date(Date.parse('04 Dec 1995 00:12:01 GMT')); // Date + + var date6 = new Date(Date.parse('04 Dec 1995 00:12:02 GMT')); // Date + + [[{}, { + a: new _queue.Queue() + }, '[{"operator":"add","path":["a"],"second":{"value":{"data":[]},"type":"object","instance":"Queue"}}]'], [{ + a: { + b: 1 + }, + c: { + d: 2 + } + }, { + a: { + e: 3 + }, + f: { + d: 2 + } + }, '[{"operator":"delete","path":["a","b"],"first":{"value":1,"type":"number"}},{"operator":"add","path":["a","e"],"second":{"value":3,"type":"number"}},{"operator":"delete","path":["c"],"first":{"value":{"d":2},"type":"object","instance":"Object"}},{"operator":"add","path":["f"],"second":{"value":{"d":2},"type":"object","instance":"Object"}}]'], [{ + a: date1, + c: date4 + }, { + a: date2, + b: date3 + }, '[{"operator":"update","path":["a"],"first":{"value":"' + date1.toISOString() + '","type":"object","instance":"Date"},"second":{"value":0,"type":"number"}},{"operator":"delete","path":["c"],"first":{"value":818035921000,"type":"number"}},{"operator":"add","path":["b"],"second":{"value":818035920000,"type":"number"}}]'], [{ + a: date5 + }, { + b: date6 + }, '[{"operator":"delete","path":["a"],"first":{"value":"1995-12-04T00:12:01.000Z","type":"object","instance":"Date"}},{"operator":"add","path":["b"],"second":{"value":"1995-12-04T00:12:02.000Z","type":"object","instance":"Date"}}]'], [{ + a: date1 + }, { + a: date1 + }, '[]'], [{}, { + a: date3 + }, '[{"operator":"add","path":["a"],"second":{"value":818035920000,"type":"number"}}]'], [{ + a: date2 + }, { + a: date3 + }, '[{"operator":"update","path":["a"],"first":{"value":0,"type":"number"},"second":{"value":818035920000,"type":"number"}}]'], [{ + a: 1 + }, { + a: 2 + }, '[{"operator":"update","path":["a"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}}]'], [{ + a: 1 + }, { + x: 1 + }, '[{"operator":"delete","path":["a"],"first":{"value":1,"type":"number"}},{"operator":"add","path":["x"],"second":{"value":1,"type":"number"}}]'], [{ + a: 1 + }, { + a: 2, + x: 1 + }, '[{"operator":"update","path":["a"],"first":{"value":1,"type":"number"},"second":{"value":2,"type":"number"}},{"operator":"add","path":["x"],"second":{"value":1,"type":"number"}}]']].forEach(function (data) { + var a = data.shift(); + var b = data.shift(); + var c = data.shift(); + it('Diff should result ' + c, function () { + var d = (0, _diff.Diff)(a, b); + (0, _chai.expect)(JSON.stringify(d)).is.equal(c); + }); + }); +}); + +},{"../../../source/data/diff.js":1130,"../../../source/types/queue.js":1150,"chai":128}],1166:[function(require,module,exports){ "use strict"; var _pathfinder = require("../../../source/data/pathfinder.js"); @@ -225577,6 +228224,16 @@ describe('Pathfinder', function () { }); }); }); + describe('.deleteVia()', function () { + [['a.b.e', '{"a":{"b":{"c":[4,"test1",false,null,null],"f":[{"g":false,"h":3,"i":["test2"]}],"j":{},"k":{},"l":{}}}}'], ['a.b.f', '{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"j":{},"k":{},"l":{}}}}'], ['a.b.j', '{"a":{"b":{"c":[4,"test1",false,null,null],"e":false,"f":[{"g":false,"h":3,"i":["test2"]}],"k":{},"l":{}}}}']].forEach(function (data) { + var a = data.shift(); + var b = data.shift(); + it('.deleteVia(' + a + ') should return ' + b + ' ', function () { + pathfinder.deleteVia(a); + (0, _chai.expect)(JSON.stringify(object)).is.equal(b); + }); + }); + }); describe('.getVia()', function () { it('.getVia(a.b.l.0.n) with map should return 4 ', function () { (0, _chai.expect)(pathfinder.getVia('a.b.l.0.n')).is.equal(4); @@ -225599,10 +228256,77 @@ describe('Pathfinder', function () { }); }); -},{"../../../source/data/pathfinder.js":1106,"chai":104}],1134:[function(require,module,exports){ +},{"../../../source/data/pathfinder.js":1131,"chai":128}],1167:[function(require,module,exports){ +(function (global){(function (){ +"use strict"; + +var _typeof = require("@babel/runtime/helpers/typeof"); + +var _pipe = require("../../../source/data/pipe.js"); + +var _chai = require("chai"); + +var Crypto = _interopRequireWildcard(require("@peculiar/webcrypto")); + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + +describe('Pipe', function () { + describe('new Pipe should create new Instance', function () { + it('should return Instance', function () { + (0, _chai.expect)(new _pipe.Pipe('')).to.be.instanceOf(_pipe.Pipe); + }); + it('should return Instance', function () { + (0, _chai.expect)(new _pipe.Pipe('index:a|toupper |prefix:a').run({ + a: "test" + })).to.be.equal('aTEST'); + }); + [['index:a|toupper |prefix:a', { + a: "test" + }, 'aTEST'], ['path:a.b.c.d | toupper | prefix:Hello\\ ', { + a: { + b: { + c: { + d: "world" + } + } + } + }, 'Hello WORLD'], ['path:a.b.c|index:d|toupper |suffix:x', { + a: { + b: { + c: { + d: "test" + } + } + } + }, 'TESTx']].forEach(function (data) { + var a = data.shift(); + var b = data.shift(); + var c = data.shift(); + it('new Pipe(' + JSON.stringify(a) + ').run(' + JSON.stringify(b) + ') should return ' + JSON.stringify(c) + ' ', function () { + var t = new _pipe.Pipe(a); + (0, _chai.expect)(t.run(b)).to.be.equal(c); + }); + }); + }); +}); + +}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"../../../source/data/pipe.js":1132,"@babel/runtime/helpers/typeof":20,"@peculiar/webcrypto":42,"chai":128}],1168:[function(require,module,exports){ (function (global){(function (){ "use strict"; +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +var _typeof3 = require("@babel/runtime/helpers/typeof"); + +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); + var _transformer = require("../../../source/data/transformer.js"); var _chai = require("chai"); @@ -225613,16 +228337,14 @@ var Crypto = _interopRequireWildcard(require("@peculiar/webcrypto")); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof3(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } if (!global['crypto']) { global['crypto'] = new Crypto.Crypto(); } // polyfill -if ((typeof window === "undefined" ? "undefined" : _typeof(window)) !== "object") { +if ((typeof window === "undefined" ? "undefined" : (0, _typeof2["default"])(window)) !== "object") { var _JSDOM = new _jsdom.JSDOM('', { url: 'http://example.com/', pretendToBeVisual: true @@ -225636,9 +228358,21 @@ if ((typeof window === "undefined" ? "undefined" : _typeof(window)) !== "object" describe('Transformer', function () { describe('Transformer.run()', function () { - [['static:abc:a:b:x', "test", "abc:a:b:x"], ['tolowercase', "A:b:Cse4", "a:b:cse4"], ['toupper', "A:b:Cse4", "A:B:CSE4"], ['tostring', 5, "5"], ['tostring', [1, 2, 3, {}], "1,2,3,[object Object]"], ['tointeger', "5", 5], ['trim', " 5 ", "5"], ['trim', " a", "a"], ['trim', " ", ""], ['rawurlencode', "üöä", "%C3%BC%C3%B6%C3%A4"], ['call:testcallback:4:5:6', "test", "test456"], ['plain', 't<br>est', "test"], ['if:a:b', true, "a"], ['if:a:b', 'on', "a"], ['if:a:b', 'true', "a"], ['if:a:b', 'false', "b"], ['if:a:b', 9, "a"], ['if:a:b', '', "b"], ['if:a:b', undefined, "b"], ['if:a:b', false, "b"], ['ucfirst', 'car', "Car"], ['ucfirst', 'cAr', "CAr"], ['ucwords', 'cAr runs', "CAr Runs"], ['tointeger', '6', 6], ['length', 'test', 4], ['base64', 'test', "dGVzdA=="], ['prefix:a', 'test', "atest"], ['suffix:a', 'test', "testa"], ['index:a', { + [['prefix:Hello\\ ', 'test', "Hello test"], ['prefix:a\\\\: ', 'test', "a\\test"], ['prefix:a\\ ', 'test', "a test"], ['static:abc:a:b:x', "test", "abc:a:b:x"], ['tolowercase', "A:b:Cse4", "a:b:cse4"], ['toupper', "A:b:Cse4", "A:B:CSE4"], ['tostring', 5, "5"], ['tostring', [1, 2, 3, {}], "1,2,3,[object Object]"], ['tointeger', "5", 5], ['trim', " 5 ", "5"], ['trim', " a", "a"], ['trim', " ", ""], ['rawurlencode', "üöä", "%C3%BC%C3%B6%C3%A4"], ['call:testcallback:4:5:6', "test", "test456"], ['plain', 't<br>est', "test"], ['if:a:b', true, "a"], ['if:a:b', 'on', "a"], ['if:a:b', 'true', "a"], ['if:a:b', 'false', "b"], ['if:a:b', 9, "a"], ['if:a:b', '', "b"], ['if:a:b', undefined, "b"], ['if:a:b', false, "b"], ['ucfirst', 'car', "Car"], ['ucfirst', 'cAr', "CAr"], ['ucwords', 'cAr runs', "CAr Runs"], ['tointeger', '6', 6], ['length', 'test', 4], ['base64', 'test', "dGVzdA=="], ['prefix:a', 'test', "atest"], ['suffix:a', 'test', "testa"], ['index:a', { a: 4 - }, 4], ['index:2', [2, 4, 7], 7], ['index:x:test', [2, 4, 7], 'test'], ['index:a', new Map().set('a', 5), 5], ['substring:2:4', 'abcdefghijklmnop', 'cdef'], ['nop', 'abcdefghijklmnop', 'abcdefghijklmnop']].forEach(function (data) { + }, 4], ['index:2', [2, 4, 7], 7], ['index:x:test', [2, 4, 7], 'test'], ['path:a.b.c', { + a: { + b: { + c: 4 + } + } + }, 4], ['path:a.b.d', { + a: { + b: { + c: 4 + } + } + }, undefined], ['index:a', new Map().set('a', 5), 5], ['substring:2:4', 'abcdefghijklmnop', 'cdef'], ['nop', 'abcdefghijklmnop', 'abcdefghijklmnop']].forEach(function (data) { var a = data.shift(); var b = data.shift(); var c = data.shift(); @@ -225652,7 +228386,7 @@ describe('Transformer', function () { }); }); describe('Transformer.run() throws Error', function () { - [['tolowercase', []], ['tolowercase', {}], ['tolowercase', 4.5], ['toupper', true], ['toupper', 5], ['tointeger', "a"], ['trim', 5], ['trim', true], ['trim', {}], ['trim', []], ['rawurlencode', []], ['if:a:b', {}], ['ucwords', {}], ['ucwords', false], ['ucwords', 4], ['tointeger', {}], ['base64', {}], ['prefix', {}], ['suffix', {}], ['index', "test"], ['xxxxxx', "test"] // unsupported command + [['tolowercase', []], ['tolowercase', {}], ['tolowercase', 4.5], ['toupper', true], ['toupper', 5], ['tointeger', "a"], ['trim', 5], ['trim', true], ['trim', {}], ['trim', []], ['rawurlencode', []], ['if:a:b', {}], ['ucwords', {}], ['ucwords', false], ['ucwords', 4], ['path:a.b.c', "", 4], ['tointeger', {}], ['base64', {}], ['prefix', {}], ['suffix', {}], ['index', "test"], ['xxxxxx', "test"] // unsupported command ].forEach(function (data) { var a = data.shift(); var b = data.shift(); @@ -225691,42 +228425,301 @@ describe('Transformer', function () { }); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../../../source/data/transformer.js":1107,"@peculiar/webcrypto":18,"chai":104,"jsdom":309}],1135:[function(require,module,exports){ +},{"../../../source/data/transformer.js":1133,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20,"@peculiar/webcrypto":42,"chai":128,"jsdom":333}],1169:[function(require,module,exports){ +'use strict'; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); + +var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); + +var _chai = require("chai"); + +var _assembler = require("../../../source/dom/assembler.js"); + +var _jsdom = require("../../util/jsdom.js"); + +describe('Assembler', function () { + before( /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() { + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + (0, _jsdom.initJSDOM)(); + + case 1: + case "end": + return _context.stop(); + } + } + }, _callee); + }))); + describe('createDocumentFragment()', function () { + it('should return <div>One</div><div>Two</div>', function () { + var fragment = document.createRange().createContextualFragment('<div>One</div><div>Two</div>'); + var f = new _assembler.Assembler(fragment); // convert to string + + var container = document.createElement('div'); + container.appendChild(f.createDocumentFragment().cloneNode(true)); + (0, _chai.expect)(container.innerHTML).to.be.equal('<div>One</div><div>Two</div>'); + }); + }); + describe('createDocumentFragment()', function () { + it('should return DocumentFragment object', function () { + var d = new _assembler.Assembler(document.createDocumentFragment()); + (0, _chai.expect)(d.createDocumentFragment()).to.be.instanceOf(DocumentFragment); + }); + }); + describe('new', function () { + it('new Renderer() should return Assembler object', function () { + var d = new _assembler.Assembler(document.createDocumentFragment()); + (0, _chai.expect)(d).to.be.instanceOf(_assembler.Assembler); + }); + }); + describe('getAttributePrefix()', function () { + it('should return ' + _assembler.ATTRIBUTEPREFIX, function () { + var d = new _assembler.Assembler(document.createDocumentFragment()); + (0, _chai.expect)(d.getAttributePrefix()).to.be.equal(_assembler.ATTRIBUTEPREFIX); + }); + }); + describe('setAttributePrefix().getAttributePrefix()', function () { + it('should return same value', function () { + var d = new _assembler.Assembler(document.createDocumentFragment()); + (0, _chai.expect)(d.setAttributePrefix('test01').getAttributePrefix()).to.be.equal('test01'); + }); + }); +}); + +},{"../../../source/dom/assembler.js":1134,"../../util/jsdom.js":1194,"@babel/runtime/helpers/asyncToGenerator":4,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/regenerator":24,"chai":128}],1170:[function(require,module,exports){ "use strict"; -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); + +var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _chai = require("chai"); -var _logger = require("../../../source/logging/logger.js"); +var _global = require("../../../source/types/global.js"); -var _handler = require("../../../source/logging/handler.js"); +var _handle = require("../../../source/dom/handle.js"); -var _logentry = require("../../../source/logging/logentry.js"); +var _util = require("../../../source/dom/util.js"); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _proxyobserver = require("../../../source/types/proxyobserver.js"); -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); } } +var _jsdom = require("../../util/jsdom.js"); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +describe('Handle', function () { + before( /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() { + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + (0, _jsdom.initJSDOM)(); -function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); } + case 1: + case "end": + return _context.stop(); + } + } + }, _callee); + }))); + var testnode; + beforeEach(function () { + var fragment = (0, _util.getDocumentFragmentFromString)("<div id='1'><div id='2'><div id='3'><div id='4'></div></div></div></div>"); + var body = document.querySelector('body'); + body.appendChild(fragment); + testnode = document.getElementById('1'); + }); + afterEach(function () { + var body = document.querySelector('body'); + body.removeChild(testnode); + }); + describe('new Handle()', function () { + it('should return Handle instance', function () { + var g = (0, _global.getGlobal)(); + var data = {}; + var proxy = new _proxyobserver.ProxyObserver(data); + var h = new _handle.Handle(proxy); + (0, _chai.expect)(h).to.be.instanceOf(_handle.Handle); + }); + }); + describe('getHandleFromNode()', function () { + it('should return handle', function () { + var data = {}; + var proxy = new _proxyobserver.ProxyObserver(data); + var handle = new _handle.Handle(proxy).append(document); + var node4 = document.getElementById('4'); + (0, _chai.expect)((0, _handle.getHandleFromNode)(node4)).to.be.equal(handle); + handle.remove(document); + }); + }); + describe('Connect MutationObserver', function () { + it('should run observer', function (done) { + var proxy = new _proxyobserver.ProxyObserver({}); + var element = document.querySelector('body'); + var handle = new _handle.Handle(proxy).append(element); + document.getElementById('4').setAttribute('class', 'test'); + document.getElementById('4').appendChild(document.createElement('p')); //let s = proxy.getSubject(); + //s.a = 4; + + setTimeout(function () { + handle.remove(element); + done(); + }); + }); + }); +}); -function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; } +},{"../../../source/dom/handle.js":1135,"../../../source/dom/util.js":1137,"../../../source/types/global.js":1144,"../../../source/types/proxyobserver.js":1149,"../../util/jsdom.js":1194,"@babel/runtime/helpers/asyncToGenerator":4,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/regenerator":24,"chai":128}],1171:[function(require,module,exports){ +'use strict'; -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } +var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } +var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } +var _chai = require("chai"); -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } +var _template = require("../../../source/dom/template.js"); -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } +var _jsdom = require("../../util/jsdom.js"); + +describe('Template', function () { + before( /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() { + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + (0, _jsdom.initJSDOM)(); + + case 1: + case "end": + return _context.stop(); + } + } + }, _callee); + }))); + describe('create HTMLFragment', function () { + [["<div>first</div><div>second</div>"], ["<div>first</div>"], ["<div>first</div><p>second</p>"]].forEach(function (data) { + var a = data.shift(); + it('new Template().getNewDocumentFragmentAsString() should return string', function () { + var template = document.createElement('template'); + template.innerHTML = a; + var t = new _template.Template(template); + var container = document.createElement('div'); + container.appendChild(t.createDocumentFragment()); + (0, _chai.expect)(container.innerHTML).to.be.equal(a); + }); + }); + }); + describe('create instance', function () { + it('new Template() should return document object', function () { + var d = new _template.Template(document.createElement('template')); + (0, _chai.expect)(d).to.be.instanceOf(_template.Template); + }); + }); + describe('.getTemplateElement()', function () { + it('new Template().getTemplateElement() should return HTMLTemplateElement object', function () { + var d = new _template.Template(document.createElement('template')); + (0, _chai.expect)(d.getTemplateElement()).to.be.instanceOf(HTMLTemplateElement); + }); + }); +}); + +},{"../../../source/dom/template.js":1136,"../../util/jsdom.js":1194,"@babel/runtime/helpers/asyncToGenerator":4,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/regenerator":24,"chai":128}],1172:[function(require,module,exports){ +'use strict'; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); + +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); + +var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } +var _util = require("../../../source/dom/util.js"); + +var _jsdom = require("../../util/jsdom.js"); + +var _chai = require("chai"); + +describe('DOM', function () { + before( /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() { + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + (0, _jsdom.initJSDOM)(); + + case 1: + case "end": + return _context.stop(); + } + } + }, _callee); + }))); + describe('getDocument()', function () { + it('should return document object', function () { + var d = (0, _util.getDocument)(); + (0, _chai.expect)((0, _typeof2["default"])(d)).is.equal('object'); + }); + }); + describe('getWindow()', function () { + it('should return document object', function () { + var d = (0, _util.getWindow)(); + (0, _chai.expect)((0, _typeof2["default"])(d)).is.equal('object'); + }); + }); + describe('getDocumentFragmentFromString()', function () { + [['<div></div>'], ['<div><div>2</div></div>'], ['<div><div>2</div>', '<div><div>2</div></div>'] // test invalid html + ].forEach(function (data) { + var a = data.shift(); + var b = data.shift(); + if (!b) b = a; + it('should return documentFragment object ' + a, function () { + var fragment = (0, _util.getDocumentFragmentFromString)(a); + (0, _chai.expect)(fragment).to.be.instanceOf(DocumentFragment); + var div = document.createElement('div'); + div.appendChild(fragment.cloneNode(true)); + (0, _chai.expect)(div.innerHTML).to.be.equal(b); + }); + }); + }); +}); + +},{"../../../source/dom/util.js":1137,"../../util/jsdom.js":1194,"@babel/runtime/helpers/asyncToGenerator":4,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20,"@babel/runtime/regenerator":24,"chai":128}],1173:[function(require,module,exports){ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); + +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); + +var _get2 = _interopRequireDefault(require("@babel/runtime/helpers/get")); + +var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); + +var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); + +var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); + +var _chai = require("chai"); + +var _logger = require("../../../source/logging/logger.js"); + +var _handler = require("../../../source/logging/handler.js"); + +var _logentry = require("../../../source/logging/logentry.js"); + +function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; } + +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } describe('Logging', function () { describe('Handler.setLogLevel().getLogLevel()', function () { @@ -225746,23 +228739,21 @@ describe('Logging', function () { var handler; var TestHandler = /*#__PURE__*/function (_Handler) { - _inherits(TestHandler, _Handler); + (0, _inherits2["default"])(TestHandler, _Handler); var _super = _createSuper(TestHandler); function TestHandler() { - _classCallCheck(this, TestHandler); - + (0, _classCallCheck2["default"])(this, TestHandler); return _super.apply(this, arguments); } - _createClass(TestHandler, [{ + (0, _createClass2["default"])(TestHandler, [{ key: "log", value: function log(entry) { - _get(_getPrototypeOf(TestHandler.prototype), "log", this).call(this, entry); + (0, _get2["default"])((0, _getPrototypeOf2["default"])(TestHandler.prototype), "log", this).call(this, entry); } }]); - return TestHandler; }(_handler.Handler); @@ -225777,24 +228768,23 @@ describe('Logging', function () { var TestHandler; before(function () { TestHandler = /*#__PURE__*/function (_Handler2) { - _inherits(TestHandler, _Handler2); + (0, _inherits2["default"])(TestHandler, _Handler2); var _super2 = _createSuper(TestHandler); function TestHandler() { var _this; - _classCallCheck(this, TestHandler); - + (0, _classCallCheck2["default"])(this, TestHandler); _this = _super2.call(this); _this.calls = 0; return _this; } - _createClass(TestHandler, [{ + (0, _createClass2["default"])(TestHandler, [{ key: "log", value: function log(loglevel) { - if (_get(_getPrototypeOf(TestHandler.prototype), "log", this).call(this, loglevel) === true) { + if ((0, _get2["default"])((0, _getPrototypeOf2["default"])(TestHandler.prototype), "log", this).call(this, loglevel) === true) { this.calls++; return true; } @@ -225802,7 +228792,6 @@ describe('Logging', function () { return false; } }]); - return TestHandler; }(_handler.Handler); }); @@ -225874,7 +228863,7 @@ describe('Logging', function () { }); }); -},{"../../../source/logging/handler.js":1108,"../../../source/logging/logentry.js":1109,"../../../source/logging/logger.js":1110,"chai":104}],1136:[function(require,module,exports){ +},{"../../../source/logging/handler.js":1138,"../../../source/logging/logentry.js":1139,"../../../source/logging/logger.js":1140,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/get":8,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"chai":128}],1174:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -225905,7 +228894,7 @@ describe('Log', function () { }); }); -},{"../../../source/logging/logentry.js":1109,"chai":104}],1137:[function(require,module,exports){ +},{"../../../source/logging/logentry.js":1139,"chai":128}],1175:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -225968,11 +228957,11 @@ describe('Logging', function () { }); }); -},{"../../../source/logging/logger.js":1110,"chai":104}],1138:[function(require,module,exports){ +},{"../../../source/logging/logger.js":1140,"chai":128}],1176:[function(require,module,exports){ (function (global){(function (){ "use strict"; -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _typeof = require("@babel/runtime/helpers/typeof"); var _chai = require("chai"); @@ -226020,7 +229009,7 @@ describe('Math', function () { }); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../../../source/math/random.js":1111,"@peculiar/webcrypto":18,"chai":104}],1139:[function(require,module,exports){ +},{"../../../source/math/random.js":1141,"@babel/runtime/helpers/typeof":20,"@peculiar/webcrypto":42,"chai":128}],1177:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -226032,7 +229021,7 @@ describe('Monster', function () { var monsterVersion; /**#@+ dont touch, replaced by make with package.json version */ - monsterVersion = new _version.Version('1.5.0'); + monsterVersion = new _version.Version('1.6.0'); /**#@-*/ var m = _version.Monster.getVersion(); @@ -226043,7 +229032,7 @@ describe('Monster', function () { }); }); -},{"../../source/types/version.js":1124,"chai":104}],1140:[function(require,module,exports){ +},{"../../source/types/version.js":1156,"chai":128}],1178:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -226061,11 +229050,43 @@ describe('Base', function () { }); }); -},{"../../../source/types/base.js":1113,"chai":104}],1141:[function(require,module,exports){ +},{"../../../source/types/base.js":1143,"chai":128}],1179:[function(require,module,exports){ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); + +var _global = require("../../../source/types/global.js"); + +var _chai = require("chai"); + +describe('Global', function () { + describe('getGlobal', function () { + it('should return global object', function () { + var t = (0, _typeof2["default"])((0, _global.getGlobal)()); + (0, _chai.expect)(t).to.be.equal('object'); + }); + }); + describe('getGlobalFunction', function () { + it('should return global function', function () { + var t = (0, _typeof2["default"])((0, _global.getGlobalFunction)('parseInt')); + (0, _chai.expect)(t).to.be.equal('function'); + }); + }); + describe('getGlobalObject', function () { + it('should return global object', function () { + var t = (0, _typeof2["default"])((0, _global.getGlobalObject)('JSON')); + (0, _chai.expect)(t).to.be.equal('object'); + }); + }); +}); + +},{"../../../source/types/global.js":1144,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20,"chai":128}],1180:[function(require,module,exports){ (function (global){(function (){ "use strict"; -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _typeof = require("@babel/runtime/helpers/typeof"); var _id = require("../../../source/types/id.js"); @@ -226088,14 +229109,25 @@ describe('ID', function () { it('should return a string', function () { (0, _chai.expect)(result).is.a('string'); }); + it('should return a string', function () { + (0, _chai.expect)(new _id.ID('text1425id').toString()).is.equal('text1425id1'); + (0, _chai.expect)(new _id.ID('text1425id').toString()).is.equal('text1425id2'); + (0, _chai.expect)(new _id.ID('text1425id').toString()).is.equal('text1425id3'); + }); }); }); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../../../source/types/id.js":1114,"@peculiar/webcrypto":18,"chai":104}],1142:[function(require,module,exports){ +},{"../../../source/types/id.js":1145,"@babel/runtime/helpers/typeof":20,"@peculiar/webcrypto":42,"chai":128}],1181:[function(require,module,exports){ (function (global){(function (){ "use strict"; +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +var _typeof3 = require("@babel/runtime/helpers/typeof"); + +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); + var _is = require("../../../source/types/is.js"); var Crypto = _interopRequireWildcard(require("@peculiar/webcrypto")); @@ -226106,9 +229138,7 @@ var _chai = require("chai"); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof3(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } if (!global['crypto']) { global['crypto'] = new Crypto.Crypto(); @@ -226119,7 +229149,7 @@ describe('Is', function () { [['test1', true], [undefined, true], [null, true], [function () {}, false], [2, true], [parseInt("a"), true], [false, true], [true, true], [4.5, true], [{}, false], [[1, 2, 3], false], [Symbol("foo"), true]].forEach(function (data) { var a = data.shift(); var b = data.shift(); - it('is.isPrimitive(' + _typeof(a) + ') should return ' + b, function () { + it('is.isPrimitive(' + (0, _typeof2["default"])(a) + ') should return ' + b, function () { (0, _chai.expect)((0, _is.isPrimitive)(a)).is.equal(b); }); }); @@ -226128,7 +229158,7 @@ describe('Is', function () { [['test1', false], [undefined, false], [null, false], [function () {}, false], [2, true], [parseInt("a"), false], [false, false], [true, false], [4.5, false], [{}, false], [[1, 2, 3], false], [Symbol("foo"), false]].forEach(function (data) { var a = data.shift(); var b = data.shift(); - it('is.isInteger(' + _typeof(a) + ') should return ' + b, function () { + it('is.isInteger(' + (0, _typeof2["default"])(a) + ') should return ' + b, function () { (0, _chai.expect)((0, _is.isInteger)(a)).is.equal(b); }); }); @@ -226137,7 +229167,7 @@ describe('Is', function () { [['test1', true], [undefined, false], [null, false], [function () {}, false], [parseInt("a"), false], [2, false], [false, false], [true, false], [4.5, false], [{}, false], [[1, 2, 3], true], [Symbol("foo"), false]].forEach(function (data) { var a = data.shift(); var b = data.shift(); - it('is.isIterable(' + _typeof(a) + ') should return ' + b, function () { + it('is.isIterable(' + (0, _typeof2["default"])(a) + ') should return ' + b, function () { (0, _chai.expect)((0, _is.isIterable)(a)).is.equal(b); }); }); @@ -226146,7 +229176,7 @@ describe('Is', function () { [['test1', false], [undefined, false], [null, false], [function () {}, false], [2, false], [false, true], [parseInt("a"), false], [true, true], [4.5, false], [{}, false], [[1, 2, 3], false], [Symbol("foo"), false]].forEach(function (data) { var a = data.shift(); var b = data.shift(); - it('is.isBoolean(' + _typeof(a) + ') should return ' + b, function () { + it('is.isBoolean(' + (0, _typeof2["default"])(a) + ') should return ' + b, function () { (0, _chai.expect)((0, _is.isBoolean)(a)).is.equal(b); }); }); @@ -226155,7 +229185,7 @@ describe('Is', function () { [['test1', true], [undefined, false], [null, false], [function () {}, false], [2, false], [false, false], [parseInt("a"), false], [true, false], [4.5, false], [{}, false], [[1, 2, 3], false], [Symbol("foo"), false]].forEach(function (data) { var a = data.shift(); var b = data.shift(); - it('is.isString(' + _typeof(a) + ') should return ' + b, function () { + it('is.isString(' + (0, _typeof2["default"])(a) + ') should return ' + b, function () { (0, _chai.expect)((0, _is.isString)(a)).is.equal(b); }); }); @@ -226165,7 +229195,7 @@ describe('Is', function () { var a = data.shift(); var b = data.shift(); var c = data.shift(); - it('is.isInstance(' + JSON.stringify(a) + ') should return ' + b, function () { + it('is.isInstance(' + JSON.stringify(a) + ') should return ' + (0, _typeof2["default"])(b), function () { (0, _chai.expect)((0, _is.isInstance)(a, b)).is.equal(c); }); }); @@ -226183,7 +229213,7 @@ describe('Is', function () { [['test1', false], [undefined, false], [null, false], [function () {}, false], [2, false], [false, false], [parseInt("a"), false], [true, false], [4.5, false], [{}, false], [[1, 2, 3], true], [Symbol("foo"), false]].forEach(function (data) { var a = data.shift(); var b = data.shift(); - it('is.isArray(' + _typeof(a) + ') should return ' + b, function () { + it('is.isArray(' + (0, _typeof2["default"])(a) + ') should return ' + b, function () { (0, _chai.expect)((0, _is.isArray)(a)).is.equal(b); }); }); @@ -226192,7 +229222,7 @@ describe('Is', function () { [['test1', false], [undefined, false], [null, false], [function () {}, true], [2, false], [false, false], [parseInt("a"), false], [true, false], [4.5, false], [{}, false], [[1, 2, 3], false], [Symbol("foo"), false]].forEach(function (data) { var a = data.shift(); var b = data.shift(); - it('is.isFunction(' + _typeof(a) + ') should return ' + b, function () { + it('is.isFunction(' + (0, _typeof2["default"])(a) + ') should return ' + b, function () { (0, _chai.expect)((0, _is.isFunction)(a)).is.equal(b); }); }); @@ -226200,7 +229230,7 @@ describe('Is', function () { }); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../../../source/types/id.js":1114,"../../../source/types/is.js":1115,"@peculiar/webcrypto":18,"chai":104}],1143:[function(require,module,exports){ +},{"../../../source/types/id.js":1145,"../../../source/types/is.js":1146,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20,"@peculiar/webcrypto":42,"chai":128}],1182:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -226260,7 +229290,6 @@ describe('Observer', function () { var counter = 0; var tempObserver = new _observer.Observer(function (a, b, c) { counter++; - console.log(counter); }); tempObserver.update(obj); tempObserver.update(obj); @@ -226293,7 +229322,7 @@ describe('Observer', function () { }); }); -},{"../../../source/types/observer.js":1116,"chai":104}],1144:[function(require,module,exports){ +},{"../../../source/types/observer.js":1147,"chai":128}],1183:[function(require,module,exports){ "use strict"; var _observerlist = require("../../../source/types/observerlist.js"); @@ -226329,7 +229358,7 @@ describe('ObserverList', function () { observerList.attach(o); }); it('should instanceof Promise', function () { - (0, _chai.expect)(observerList.notify()).to.be.instanceOf(Promise); + (0, _chai.expect)(observerList.notify({})).to.be.instanceOf(Promise); }); it('should return ' + resultValue, function (done) { var obj = {}; @@ -226370,7 +229399,7 @@ describe('ObserverList', function () { }); }); -},{"../../../source/types/observer.js":1116,"../../../source/types/observerlist.js":1117,"chai":104}],1145:[function(require,module,exports){ +},{"../../../source/types/observer.js":1147,"../../../source/types/observerlist.js":1148,"chai":128}],1184:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -226456,7 +229485,7 @@ describe('ProxyObserver', function () { }); }); -},{"../../../source/types/is.js":1115,"../../../source/types/observer.js":1116,"../../../source/types/proxyobserver.js":1118,"chai":104}],1146:[function(require,module,exports){ +},{"../../../source/types/is.js":1146,"../../../source/types/observer.js":1147,"../../../source/types/proxyobserver.js":1149,"chai":128}],1185:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -226497,7 +229526,38 @@ describe('Queue', function () { }); }); -},{"../../../source/types/queue.js":1119,"chai":104}],1147:[function(require,module,exports){ +},{"../../../source/types/queue.js":1150,"chai":128}],1186:[function(require,module,exports){ +(function (global){(function (){ +"use strict"; + +var _typeof = require("@babel/runtime/helpers/typeof"); + +var _randomid = require("../../../source/types/randomid.js"); + +var _chai = require("chai"); + +var Crypto = _interopRequireWildcard(require("@peculiar/webcrypto")); + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +if (!global['crypto']) { + global['crypto'] = new Crypto.Crypto(); +} + +describe('RandomID', function () { + describe('.toString()', function () { + var id = new _randomid.RandomID(); + var result = id.toString(); + it('should return a string', function () { + (0, _chai.expect)(result).is.a('string'); + }); + }); +}); + +}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"../../../source/types/randomid.js":1151,"@babel/runtime/helpers/typeof":20,"@peculiar/webcrypto":42,"chai":128}],1187:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -226538,26 +229598,18 @@ describe('Stack', function () { }); }); -},{"../../../source/types/stack.js":1120,"chai":104}],1148:[function(require,module,exports){ +},{"../../../source/types/stack.js":1152,"chai":128}],1188:[function(require,module,exports){ "use strict"; -var _chai = require("chai"); - -var _tokenlist = require("../../../source/types/tokenlist.js"); +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); -function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } +var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); -function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } - -function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } - -function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } - -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } +var _chai = require("chai"); -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _tokenlist = require("../../../source/types/tokenlist.js"); describe('TokenList', function () { describe('.toString()', function () { @@ -226571,14 +229623,14 @@ describe('TokenList', function () { }); }); describe('init with string iterable', function () { - it('new TokenList(' + (typeof a === "undefined" ? "undefined" : _typeof(a)) + ') throw TypeError ', function () { + it('new TokenList(' + (typeof a === "undefined" ? "undefined" : (0, _typeof2["default"])(a)) + ') throw TypeError ', function () { var tokens = ["abc", "def", "ghi"]; var list = new _tokenlist.TokenList(tokens); (0, _chai.expect)(list.toString()).is.equal("abc def ghi"); }); }); describe('init with iterable without string values', function () { - it('new TokenList(' + (typeof a === "undefined" ? "undefined" : _typeof(a)) + ') throw TypeError ', function () { + it('new TokenList(' + (typeof a === "undefined" ? "undefined" : (0, _typeof2["default"])(a)) + ') throw TypeError ', function () { var tokens = ["abc", 4, "ghi"]; (0, _chai.expect)(function () { return new _tokenlist.TokenList(tokens); @@ -226595,13 +229647,13 @@ describe('TokenList', function () { var c = data.shift(); if (c === true) { - it('new TokenList(' + _typeof(a) + ') throw TypeError ', function () { + it('new TokenList(' + (0, _typeof2["default"])(a) + ') throw TypeError ', function () { (0, _chai.expect)(function () { return new _tokenlist.TokenList(a); }).to["throw"](TypeError); }); } else { - it('new TokenList(' + _typeof(a) + ') should return ' + b, function () { + it('new TokenList(' + (0, _typeof2["default"])(a) + ') should return ' + b, function () { (0, _chai.expect)(new _tokenlist.TokenList(a).toString()).is.equal(b); }); } @@ -226615,8 +229667,8 @@ describe('TokenList', function () { }); it('.add(' + "second" + ') should return TokenList', function () { list = new _tokenlist.TokenList("start end"); - (0, _chai.expect)(_toConsumableArray(list)).to.be.an('array'); - (0, _chai.expect)(_toConsumableArray(list)).to.be.an('array').to.include('start').to.include('end'); + (0, _chai.expect)((0, _toConsumableArray2["default"])(list)).to.be.an('array'); + (0, _chai.expect)((0, _toConsumableArray2["default"])(list)).to.be.an('array').to.include('start').to.include('end'); }); }); describe('.entries()', function () { @@ -226743,7 +229795,7 @@ describe('TokenList', function () { }); }); -},{"../../../source/types/tokenlist.js":1121,"chai":104}],1149:[function(require,module,exports){ +},{"../../../source/types/tokenlist.js":1153,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/toConsumableArray":19,"@babel/runtime/helpers/typeof":20,"chai":128}],1189:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -226829,9 +229881,13 @@ describe('UniqueQueue', function () { }); }); -},{"../../../source/types/uniquequeue.js":1122,"chai":104}],1150:[function(require,module,exports){ +},{"../../../source/types/uniquequeue.js":1154,"chai":128}],1190:[function(require,module,exports){ "use strict"; +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); + var _validate = require("../../../source/types/validate.js"); var _base = require("../../../source/types/base.js"); @@ -226840,8 +229896,6 @@ var _id = require("../../../source/types/id.js"); var _chai = require("chai"); -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - describe('validate', function () { describe('.validatePrimitive()', function () { [['test1', true], [undefined, true], [null, true], [function () {}, false], [2, true], [false, true], [true, true], [4.5, true], [{}, false], [[1, 2, 3], false], [Symbol("foo"), true]].forEach(function (data) { @@ -226849,13 +229903,13 @@ describe('validate', function () { var b = data.shift(); if (b === false) { - it('.validatePrimitive(' + _typeof(a) + ') should throw TypeException ' + b, function () { + it('.validatePrimitive(' + (0, _typeof2["default"])(a) + ') should throw TypeException ' + b, function () { (0, _chai.expect)(function () { return (0, _validate.validatePrimitive)(a); }).to["throw"](TypeError); }); } else { - it('.validatePrimitive(' + _typeof(a) + ') should not throw TypeException ' + b, function () { + it('.validatePrimitive(' + (0, _typeof2["default"])(a) + ') should not throw TypeException ' + b, function () { (0, _chai.expect)((0, _validate.validatePrimitive)(a)).to.be.undefined; }); } @@ -226867,13 +229921,13 @@ describe('validate', function () { var b = data.shift(); if (b === false) { - it('.validateInteger(' + _typeof(a) + ') should throw TypeException ' + b, function () { + it('.validateInteger(' + (0, _typeof2["default"])(a) + ') should throw TypeException ' + b, function () { (0, _chai.expect)(function () { return (0, _validate.validateInteger)(a); }).to["throw"](TypeError); }); } else { - it('.validateInteger(' + _typeof(a) + ') should not throw TypeException ' + b, function () { + it('.validateInteger(' + (0, _typeof2["default"])(a) + ') should not throw TypeException ' + b, function () { (0, _chai.expect)((0, _validate.validateInteger)(a)).to.be.undefined; }); } @@ -226885,14 +229939,14 @@ describe('validate', function () { var b = data.shift(); if (b === false) { - it('.validateIterable(' + _typeof(a) + ') should throw TypeException ' + b, function () { + it('.validateIterable(' + (0, _typeof2["default"])(a) + ') should throw TypeException ' + b, function () { (0, _chai.expect)(function () { (0, _validate.validateIterable)(a); }).to["throw"](TypeError); ; }); } else { - it('.validateIterable(' + _typeof(a) + ') should not throw TypeException ' + b, function () { + it('.validateIterable(' + (0, _typeof2["default"])(a) + ') should not throw TypeException ' + b, function () { (0, _chai.expect)((0, _validate.validateIterable)(a)).to.be.undefined; }); } @@ -226904,13 +229958,13 @@ describe('validate', function () { var b = data.shift(); if (b === false) { - it('.validateBoolean(' + _typeof(a) + ') should throw TypeException ' + b, function () { + it('.validateBoolean(' + (0, _typeof2["default"])(a) + ') should throw TypeException ' + b, function () { (0, _chai.expect)(function () { (0, _validate.validateBoolean)(a); }).to["throw"](TypeError); }); } else { - it('.validateBoolean(' + _typeof(a) + ') should not throw TypeException ' + b, function () { + it('.validateBoolean(' + (0, _typeof2["default"])(a) + ') should not throw TypeException ' + b, function () { (0, _chai.expect)((0, _validate.validateBoolean)(a)).to.be.undefined; }); } @@ -226922,14 +229976,14 @@ describe('validate', function () { var b = data.shift(); if (b === false) { - it('.validateString(' + _typeof(a) + ') should throw TypeException ' + b, function () { + it('.validateString(' + (0, _typeof2["default"])(a) + ') should throw TypeException ' + b, function () { (0, _chai.expect)(function () { (0, _validate.validateString)(a); }).to["throw"](TypeError); ; }); } else { - it('.validateString(' + _typeof(a) + ') should not throw TypeException ' + b, function () { + it('.validateString(' + (0, _typeof2["default"])(a) + ') should not throw TypeException ' + b, function () { (0, _chai.expect)((0, _validate.validateString)(a)).to.be.undefined; }); } @@ -226941,14 +229995,14 @@ describe('validate', function () { var b = data.shift(); if (b === false) { - it('.validateObject(' + _typeof(a) + ') should throw TypeException ' + b, function () { + it('.validateObject(' + (0, _typeof2["default"])(a) + ') should throw TypeException ' + b, function () { (0, _chai.expect)(function () { (0, _validate.validateObject)(a); }).to["throw"](TypeError); ; }); } else { - it('.validateObject(' + _typeof(a) + ') should not throw TypeException ' + b, function () { + it('.validateObject(' + (0, _typeof2["default"])(a) + ') should not throw TypeException ' + b, function () { (0, _chai.expect)((0, _validate.validateObject)(a)).to.be.undefined; }); } @@ -226958,7 +230012,7 @@ describe('validate', function () { [['test1', Object], [undefined, Object], [null, Object], [function () {}, Object], [2, Object], [false, Object], [true, Object], [4.5, Object], [{}, _base.Base], [[1, 2, 3], Object], [Symbol("foo"), Object]].forEach(function (data) { var a = data.shift(); var b = data.shift(); - it('.validateInstance(' + _typeof(a) + ') should throw TypeException ', function () { + it('.validateInstance(' + (0, _typeof2["default"])(a) + ') should throw TypeException ', function () { (0, _chai.expect)(function () { (0, _validate.validateInstance)(a, b); }).to["throw"](TypeError); @@ -226970,7 +230024,7 @@ describe('validate', function () { [[{}, Object, true], [new _base.Base(), _base.Base, true]].forEach(function (data) { var a = data.shift(); var b = data.shift(); - it('.validateInstance(' + _typeof(a) + ') should not throw TypeException ', function () { + it('.validateInstance(' + (0, _typeof2["default"])(a) + ') should not throw TypeException ', function () { (0, _chai.expect)((0, _validate.validateInstance)(a, b)).to.be.undefined; }); }); @@ -226981,14 +230035,14 @@ describe('validate', function () { var b = data.shift(); if (b === false) { - it('.validateArray(' + _typeof(a) + ') should throw TypeException ' + b, function () { + it('.validateArray(' + (0, _typeof2["default"])(a) + ') should throw TypeException ' + b, function () { (0, _chai.expect)(function () { (0, _validate.validateArray)(a); }).to["throw"](TypeError); ; }); } else { - it('.validateArray(' + _typeof(a) + ') should not throw TypeException ' + b, function () { + it('.validateArray(' + (0, _typeof2["default"])(a) + ') should not throw TypeException ' + b, function () { (0, _chai.expect)((0, _validate.validateArray)(a)).to.be.undefined; }); } @@ -227000,14 +230054,14 @@ describe('validate', function () { var b = data.shift(); if (b === false) { - it('.validateFunction(' + _typeof(a) + ') should throw TypeException ' + b, function () { + it('.validateFunction(' + (0, _typeof2["default"])(a) + ') should throw TypeException ' + b, function () { (0, _chai.expect)(function () { (0, _validate.validateFunction)(a); }).to["throw"](TypeError); ; }); } else { - it('.validateFunction(' + _typeof(a) + ') should not throw TypeException ' + b, function () { + it('.validateFunction(' + (0, _typeof2["default"])(a) + ') should not throw TypeException ' + b, function () { (0, _chai.expect)((0, _validate.validateFunction)(a)).to.be.undefined; }); } @@ -227015,7 +230069,7 @@ describe('validate', function () { }); }); -},{"../../../source/types/base.js":1113,"../../../source/types/id.js":1114,"../../../source/types/validate.js":1123,"chai":104}],1151:[function(require,module,exports){ +},{"../../../source/types/base.js":1143,"../../../source/types/id.js":1145,"../../../source/types/validate.js":1155,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20,"chai":128}],1191:[function(require,module,exports){ "use strict"; var _version = require("../../../source/types/version.js"); @@ -227046,34 +230100,32 @@ describe('Version', function () { }); }); -},{"../../../source/types/version.js":1124,"chai":104}],1152:[function(require,module,exports){ +},{"../../../source/types/version.js":1156,"chai":128}],1192:[function(require,module,exports){ "use strict"; -var _clone = require("../../../source/util/clone.js"); +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); -var _chai = require("chai"); +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } +var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); -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); } } +var _clone = require("../../../source/util/clone.js"); -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } +var _chai = require("chai"); describe('Clone', function () { var A = /*#__PURE__*/function () { function A(b) { - _classCallCheck(this, A); - + (0, _classCallCheck2["default"])(this, A); this.b = b; } - _createClass(A, [{ + (0, _createClass2["default"])(A, [{ key: "a", value: function a() {} }]); - return A; }(); @@ -227094,7 +230146,7 @@ describe('Clone', function () { }); }); // nodejs does not have a DOM - if ((typeof DocumentFragment === "undefined" ? "undefined" : _typeof(DocumentFragment)) === "object") { + if ((typeof DocumentFragment === "undefined" ? "undefined" : (0, _typeof2["default"])(DocumentFragment)) === "object") { describe('.clone(DocumentFragment)', function () { it('.clone(DocumentFragment) should same DocumentFragment', function () { var a = document.createDocumentFragment(); @@ -227128,7 +230180,7 @@ describe('Clone', function () { it('.clone({}) should object', function () { var a = {}; var b = (0, _clone.clone)(a); - (0, _chai.expect)(_typeof(b) === 'object').to.be["true"]; + (0, _chai.expect)((0, _typeof2["default"])(b) === 'object').to.be["true"]; }); it('.clone({x:1}) should object', function () { var a = { @@ -227154,13 +230206,13 @@ describe('Clone', function () { var b = data.shift(); it('.clone(' + JSON.stringify(a) + ') should ' + b + ' ', function () { var c = (0, _clone.clone)(a); - (0, _chai.expect)(_typeof(c)).is.equal(b); + (0, _chai.expect)((0, _typeof2["default"])(c)).is.equal(b); }); }); }); }); -},{"../../../source/util/clone.js":1125,"chai":104}],1153:[function(require,module,exports){ +},{"../../../source/util/clone.js":1157,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20,"chai":128}],1193:[function(require,module,exports){ "use strict"; var _chai = require("chai"); @@ -227277,7 +230329,62 @@ describe('Comparator', function () { }); }); -},{"../../../source/util/comparator.js":1126,"chai":104}],1154:[function(require,module,exports){ +},{"../../../source/util/comparator.js":1158,"chai":128}],1194:[function(require,module,exports){ +'use strict'; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); + +var _typeof3 = require("@babel/runtime/helpers/typeof"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.initJSDOM = initJSDOM; + +var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); + +var _global = require("../../source/types/global.js"); + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof3(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +/** + * this helper function creates the dom stack in the node environment + * + * @return {Promise<unknown>|Promise<void>} + */ +function initJSDOM() { + if ((typeof window === "undefined" ? "undefined" : (0, _typeof2["default"])(window)) === "object") return Promise.resolve(); + var g = (0, _global.getGlobal)(); + return Promise.resolve().then(function () { + return _interopRequireWildcard(require("jsdom")); + }).then(function (_ref) { + var JSDOM = _ref.JSDOM; + + var _JSDOM = new JSDOM('', { + url: 'http://example.com/', + pretendToBeVisual: true, + referrer: "https://example.com/", + contentType: "text/html", + includeNodeLocations: true, + storageQuota: 10000000 + }), + window = _JSDOM.window; + + g['window'] = window; + return new Promise(function (resolve) { + return window.addEventListener("load", function () { + ['self', 'document', 'Document', 'Node', 'Element', 'HTMLElement', 'DocumentFragment', 'DOMParser', 'MutationObserver', 'HTMLTemplateElement', 'XMLSerializer', 'NodeFilter', 'InputEvent', 'CustomEvent'].forEach(function (key) { + return g[key] = window[key]; + }); + resolve(); + }); + }); + }); +} + +},{"../../source/types/global.js":1144,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":20,"jsdom":333}],1195:[function(require,module,exports){ "use strict"; require("../cases/logging/logger.js"); @@ -227286,10 +230393,20 @@ require("../cases/logging/handler.js"); require("../cases/logging/logentry.js"); +require("../cases/dom/handle.js"); + +require("../cases/dom/template.js"); + +require("../cases/dom/util.js"); + +require("../cases/dom/assembler.js"); + require("../cases/types/queue.js"); require("../cases/types/observer.js"); +require("../cases/types/global.js"); + require("../cases/types/observerlist.js"); require("../cases/types/is.js"); @@ -227306,6 +230423,8 @@ require("../cases/types/version.js"); require("../cases/types/id.js"); +require("../cases/types/randomid.js"); + require("../cases/types/validate.js"); require("../cases/types/stack.js"); @@ -227328,12 +230447,19 @@ require("../cases/util/clone.js"); require("../cases/data/pathfinder.js"); +require("../cases/data/pipe.js"); + +require("../cases/data/diff.js"); + require("../cases/data/transformer.js"); require("../cases/math/random.js"); require("../cases/monster.js"); -},{"../cases/constraint/andoperator.js":1127,"../cases/constraint/invalid.js":1128,"../cases/constraint/isarray.js":1129,"../cases/constraint/isobject.js":1130,"../cases/constraint/oroperator.js":1131,"../cases/constraint/valid.js":1132,"../cases/data/pathfinder.js":1133,"../cases/data/transformer.js":1134,"../cases/logging/handler.js":1135,"../cases/logging/logentry.js":1136,"../cases/logging/logger.js":1137,"../cases/math/random.js":1138,"../cases/monster.js":1139,"../cases/types/base.js":1140,"../cases/types/id.js":1141,"../cases/types/is.js":1142,"../cases/types/observer.js":1143,"../cases/types/observerlist.js":1144,"../cases/types/proxyobserver.js":1145,"../cases/types/queue.js":1146,"../cases/types/stack.js":1147,"../cases/types/tokenlist.js":1148,"../cases/types/uniquequeue.js":1149,"../cases/types/validate.js":1150,"../cases/types/version.js":1151,"../cases/util/clone.js":1152,"../cases/util/comparator.js":1153}],1155:[function(require,module,exports){ -arguments[4][53][0].apply(exports,arguments) -},{"dup":53}]},{},[1154]); +/** this file was created automatically by the make target test-browser-monster */ +SharedArrayBuffer = ArrayBuffer; + +},{"../cases/constraint/andoperator.js":1159,"../cases/constraint/invalid.js":1160,"../cases/constraint/isarray.js":1161,"../cases/constraint/isobject.js":1162,"../cases/constraint/oroperator.js":1163,"../cases/constraint/valid.js":1164,"../cases/data/diff.js":1165,"../cases/data/pathfinder.js":1166,"../cases/data/pipe.js":1167,"../cases/data/transformer.js":1168,"../cases/dom/assembler.js":1169,"../cases/dom/handle.js":1170,"../cases/dom/template.js":1171,"../cases/dom/util.js":1172,"../cases/logging/handler.js":1173,"../cases/logging/logentry.js":1174,"../cases/logging/logger.js":1175,"../cases/math/random.js":1176,"../cases/monster.js":1177,"../cases/types/base.js":1178,"../cases/types/global.js":1179,"../cases/types/id.js":1180,"../cases/types/is.js":1181,"../cases/types/observer.js":1182,"../cases/types/observerlist.js":1183,"../cases/types/proxyobserver.js":1184,"../cases/types/queue.js":1185,"../cases/types/randomid.js":1186,"../cases/types/stack.js":1187,"../cases/types/tokenlist.js":1188,"../cases/types/uniquequeue.js":1189,"../cases/types/validate.js":1190,"../cases/types/version.js":1191,"../cases/util/clone.js":1192,"../cases/util/comparator.js":1193}],1196:[function(require,module,exports){ +arguments[4][77][0].apply(exports,arguments) +},{"dup":77}]},{},[1195]); diff --git a/playground/doc/pipe.html b/playground/doc/pipe.html new file mode 100644 index 0000000000000000000000000000000000000000..bd340311d20553fb445e2d7907e5600d65bdaf37 --- /dev/null +++ b/playground/doc/pipe.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html> + +<head> + <title>HTML, CSS and JavaScript demo</title> + + +</head> + +<body> +<p id="hello">Hello Monster</p> + +<script type="module"> + import { + Monster, Pipe + } from 'https://unpkg.com/@schukai/monster@1.5.0/dist/modules/data/pipe.js'; + + let obj = { + a: { + b: { + c: { + d: " world" + } + } + } + } + + document.getElementById('hello').innerHTML = new Pipe('path:a.b.c.d | toupper | prefix:Hello').run(obj); + + +</script> +</body> + +</html>