Skip to content

Instantly share code, notes, and snippets.

@balcsida
Created March 13, 2019 10:28
Show Gist options
  • Save balcsida/e907cf4fa13dc6d3cb1bc45935a918eb to your computer and use it in GitHub Desktop.
Save balcsida/e907cf4fa13dc6d3cb1bc45935a918eb to your computer and use it in GitHub Desktop.
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("@dotwebstack/webcomponents",[],t):"object"==typeof exports?exports["@dotwebstack/webcomponents"]=t():e["@dotwebstack/webcomponents"]=t()}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=20)}([function(e,t,n){"use strict";e.exports=n(52)},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(16)),i=n(48),a=n(2),u=n(4);t.localName=function(e){return i.last(e.value.split(/[\#\/]/))||e.value},t.compareTerm=function(e,n){return t.localName(e).localeCompare(t.localName(n))},t.isNamedNode=function(e){return"NamedNode"===e.termType},t.isUnique=function(e,t){return 0===t.filter(function(t){return t.value===e.value}).length},t.fetchSparqlResult=function(e){return fetch(e,{headers:{Accept:"application/sparql-results+json"}}).then(function(e){return e.json()}).catch(function(e){o.default.error(e)})},t.isLocal=function(e,t){return t.some(function(t){return e.equals(t)})},t.sortTerm=function(e,n){return void 0===e&&void 0===n?0:void 0===e?-1:void 0===n?1:t.isNamedNode(e)||t.isNamedNode(n)?t.compareTerm(e,n):e.value.localeCompare(n.value)},t.sortRows=function(e,n,r,o){return r?t.sortTerm(e[o],n[o]):-1*t.sortTerm(e[o],n[o])},t.findComment=function(e,t){return t.findObjects(e,a.namedNode(u.RDFS+"comment"))[0]},t.findDefinition=function(e,t){var n=t.findObjects(e,a.namedNode(u.SKOS+"definition"))[0];if(void 0!==n)return n;var r=t.findObjects(e,a.namedNode(u.DCT+"subject"))[0];if(void 0!==r){var o=t.findObjects(r,a.namedNode(u.SKOS+"definition"))[0];if(void 0!==o)return o}}},function(e,t,n){var r=n(57);e.exports=r},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DCT="http://purl.org/dc/terms/",t.OWL="http://www.w3.org/2002/07/owl#",t.RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#",t.RDFS="http://www.w3.org/2000/01/rdf-schema#",t.SKOS="http://www.w3.org/2004/02/skos/core#",t.SHACL="http://www.w3.org/ns/shacl#"},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(68)),i=r(n(113)).default.use(o.default).init({resources:{nl:{translation:{classes:"Klassen",relatedClasses:"Gerelateerde klasse",properties:"Eigenschappen",propertyOf:"Eigenschap van",subproperty:"Subeigenschap van",hasSubproperty:"Heeft subeigenschappen",broader:"Breder",related:"Gerelateerd",subclass:"Subklasse van",hasSubclasses:"Heeft subklassen",inherited:"Geërfde Eigenschappen",loadData:"Data aan het laden...",previous:"Vorige",next:"Volgende",first:"Eerste",last:"Laatste",search:"Zoeken",searchPlaceholder:"Voer een zoekterm in"}},en:{translation:{classes:"Classes",relatedClasses:"Related classes",properties:"Properties",propertyOf:"Property of",subproperty:"Subproperty of",hasSubproperty:"Has subproperties",broader:"Broader",related:"Related",subclass:"Subclass of",hasSubclasses:"Has subclasses",inherited:"Inherited properties",loadData:"Loading data...",previous:"Previous",next:"Next",first:"First",last:"Last",search:"Search",searchPlaceholder:"Enter a search term"}}},fallbackLng:"en",detection:{order:["navigator","htmlTag"]}});t.default=i},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";var r=n(14),o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=f;var i=n(12);i.inherits=n(6);var a=n(29),u=n(19);i.inherits(f,a);for(var s=o(u.prototype),l=0;l<s.length;l++){var c=s[l];f.prototype[c]||(f.prototype[c]=u.prototype[c])}function f(e){if(!(this instanceof f))return new f(e);a.call(this,e),u.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,l=[],c=!1,f=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):f=-1,l.length&&p())}function p(){if(!c){var e=u(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++f<t;)s&&s[f].run();f=-1,t=l.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||c||u(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=n(4),a=r(n(0)),u=n(1);t.default=function(e){var t=e.resourceIri,n=e.store,r=n.findObjects(o.namedNode(t.value),o.namedNode(i.SKOS+"prefLabel"));if(0!==r.length)return a.default.createElement(a.default.Fragment,null,r[0].value);var s=n.findObjects(o.namedNode(t.value),o.namedNode(i.RDFS+"label"));return 0!==s.length?a.default.createElement(a.default.Fragment,null,s[0].value):a.default.createElement(a.default.Fragment,null,u.localName(t))}},function(e,t,n){"use strict";(function(e){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
var r=n(83),o=n(84),i=n(28);function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=s.prototype:(null===e&&(e=new s(t)),e.length=t),e}function s(e,t,n){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);s.TYPED_ARRAY_SUPPORT?(e=t).__proto__=s.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!s.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),o=(e=u(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(s.isBuffer(t)){var n=0|p(t.length);return 0===(e=u(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?u(e,0):d(e,t);if("Buffer"===t.type&&i(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(c(t),e=u(e,t<0?0:0|p(t)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|p(t.length);e=u(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,o);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,o){var i,a=1,u=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,u/=2,s/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=n;i<u;i++)if(l(e,i)===l(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===s)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(n+s>u&&(n=u-s),i=n;i>=0;i--){for(var f=!0,d=0;d<s;d++)if(l(e,i+d)!==l(t,d)){f=!1;break}if(f)return i}return-1}function m(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var u=parseInt(t.substr(2*a,2),16);if(isNaN(u))return a;e[n+a]=u}return a}function b(e,t,n,r){return q(F(t,e.length-n),e,n,r)}function w(e,t,n,r){return q(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function x(e,t,n,r){return w(e,t,n,r)}function _(e,t,n,r){return q(z(t),e,n,r)}function S(e,t,n,r){return q(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,u,s,l=e[o],c=null,f=l>239?4:l>223?3:l>191?2:1;if(o+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(i=e[o+1]))&&(s=(31&l)<<6|63&i)>127&&(c=s);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(s=(15&l)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:i=e[o+1],a=e[o+2],u=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(s=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(c=s)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),o+=f}return function(e){var t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=T));return n}(r)}t.Buffer=s,t.SlowBuffer=function(e){+e!=e&&(e=0);return s.alloc(+e)},t.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,n){return l(null,e,t,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,n){return function(e,t,n,r){return c(t),t<=0?u(e,t):void 0!==n?"string"==typeof r?u(e,t).fill(n,r):u(e,t).fill(n):u(e,t)}(null,e,t,n)},s.allocUnsafe=function(e){return f(null,e)},s.allocUnsafeSlow=function(e){return f(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=s.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},s.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):function(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},s.prototype.compare=function(e,t,n,r,o){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),u=Math.min(i,a),l=this.slice(r,o),c=e.slice(t,n),f=0;f<u;++f)if(l[f]!==c[f]){i=l[f],a=c[f];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},s.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},s.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return m(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return x(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function j(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function C(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=U(e[i]);return o}function N(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function P(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function A(e,t,n,r,o,i){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function L(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function R(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(e,t,n,r,i){return i||R(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function M(e,t,n,r,i){return i||R(e,0,n,8),o.write(e,t,n,r,52,8),n+8}s.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),s.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=s.prototype;else{var o=t-e;n=new s(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},s.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},s.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},s.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||A(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},s.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||A(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},s.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);A(this,e,t,n,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);A(this,e,t,n,o-1,-o)}var i=n-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},s.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=s.isBuffer(e)?e:F(new s(e,r).toString()),u=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%u]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function F(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function z(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(3))},function(e,t,n){(t=e.exports=n(29)).Stream=t,t.Readable=t,t.Writable=n(19),t.Duplex=n(7),t.Transform=n(34),t.PassThrough=n(90)},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n(10).Buffer)},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(0)),i=n(1);t.default=function(e){var t=e.term,n=e.local,r=e.linkBuilder;if("NamedNode"!==t.termType)return o.default.createElement("span",null,t.value);var a=n?i.localName(t):t.value,u=r?r(t):t.value;return o.default.createElement("a",{href:u},a)}},function(e,t,n){"use strict";(function(t){!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,u=arguments.length;switch(u){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,r)});case 4:return t.nextTick(function(){e.call(null,n,r,o)});default:for(i=new Array(u-1),a=0;a<i.length;)i[a++]=arguments[a];return t.nextTick(function(){e.apply(null,i)})}}}:e.exports=t}).call(this,n(8))},function(e,t,n){var r=n(10),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){var r,o;!function(i,a){"use strict";void 0===(o="function"==typeof(r=function(){var e=function(){},t="undefined",n=["trace","debug","info","warn","error"];function r(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function o(t,r){for(var o=0;o<n.length;o++){var i=n[o];this[i]=o<t?e:this.methodFactory(i,t,r)}this.log=this.debug}function i(n,i,a){return function(n){"debug"===n&&(n="log");return typeof console!==t&&(void 0!==console[n]?r(console,n):void 0!==console.log?r(console,"log"):e)}(n)||function(e,n,r){return function(){typeof console!==t&&(o.call(this,n,r),this[e].apply(this,arguments))}}.apply(this,arguments)}function a(e,r,a){var u,s=this,l="loglevel";function c(){var e;if(typeof window!==t){try{e=window.localStorage[l]}catch(e){}if(typeof e===t)try{var n=window.document.cookie,r=n.indexOf(encodeURIComponent(l)+"=");-1!==r&&(e=/^([^;]+)/.exec(n.slice(r))[1])}catch(e){}return void 0===s.levels[e]&&(e=void 0),e}}e&&(l+=":"+e),s.name=e,s.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},s.methodFactory=a||i,s.getLevel=function(){return u},s.setLevel=function(r,i){if("string"==typeof r&&void 0!==s.levels[r.toUpperCase()]&&(r=s.levels[r.toUpperCase()]),!("number"==typeof r&&r>=0&&r<=s.levels.SILENT))throw"log.setLevel() called with invalid level: "+r;if(u=r,!1!==i&&function(e){var r=(n[e]||"silent").toUpperCase();if(typeof window===t)return;try{return void(window.localStorage[l]=r)}catch(e){}try{window.document.cookie=encodeURIComponent(l)+"="+r+";"}catch(e){}}(r),o.call(s,r,e),typeof console===t&&r<s.levels.SILENT)return"No console available for logging"},s.setDefaultLevel=function(e){c()||s.setLevel(e,!1)},s.enableAll=function(e){s.setLevel(s.levels.TRACE,e)},s.disableAll=function(e){s.setLevel(s.levels.SILENT,e)};var f=c();null==f&&(f=null==r?"WARN":r),s.setLevel(f,!1)}var u=new a,s={};u.getLogger=function(e){if("string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=s[e];return t||(t=s[e]=new a(e,u.getLevel(),u.methodFactory)),t};var l=typeof window!==t?window.log:void 0;return u.noConflict=function(){return typeof window!==t&&window.log===u&&(window.log=l),u},u.getLoggers=function(){return s},u})?r.call(t,n,t,e):r)||(e.exports=o)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.removeHash=t.goToAnchor=t.configureAnchors=t.goToTop=void 0;var r=n(25);Object.defineProperty(t,"goToAnchor",{enumerable:!0,get:function(){return r.updateHash}}),Object.defineProperty(t,"removeHash",{enumerable:!0,get:function(){return r.removeHash}});var o=n(62);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a(o).default}});var i=a(n(27));function a(e){return e&&e.__esModule?e:{default:e}}t.goToTop=i.default.goToTop,t.configureAnchors=i.default.configure},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function u(){u.init.call(this)}e.exports=u,u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var s=10;function l(e){return void 0===e._maxListeners?u.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var o,i,a,u;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,u=s,console&&console.warn&&console.warn(u)}return e}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,i(this.listener,this.target,e))}.bind(r);return o.listener=n,r.wrapFn=o,o}function d(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):h(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),u.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},u.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},u.prototype.getMaxListeners=function(){return l(this)},u.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var l=s.length,c=h(s,l);for(n=0;n<l;++n)i(c[n],this,t)}return!0},u.prototype.addListener=function(e,t){return c(this,e,t,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(e,t){return c(this,e,t,!0)},u.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,f(this,e,t)),this},u.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,f(this,e,t)),this},u.prototype.removeListener=function(e,t){var n,r,o,i,a;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},u.prototype.listeners=function(e){return d(this,e,!0)},u.prototype.rawListeners=function(e){return d(this,e,!1)},u.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},u.prototype.listenerCount=p,u.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";(function(t,r,o){var i=n(14);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=m;var u,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:i.nextTick;m.WritableState=g;var l=n(12);l.inherits=n(6);var c={deprecate:n(89)},f=n(30),d=n(15).Buffer,p=o.Uint8Array||function(){};var h,v=n(31);function y(){}function g(e,t){u=u||n(7),e=e||{};var r=t instanceof u;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,l=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(k,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(o(r),e._writableState.errorEmitted=!0,e.emit("error",r),k(e,t))}(e,n,r,t,o);else{var a=_(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||x(e,n),r?s(w,e,n,a,o):w(e,n,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function m(e){if(u=u||n(7),!(h.call(m,this)||this instanceof u))return new m(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function b(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),k(e,t)}function x(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),i=t.corkedRequestsFree;i.entry=n;for(var u=0,s=!0;n;)o[u]=n,n.isBuf||(s=!1),n=n.next,u+=1;o.allBuffers=s,b(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(b(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),k(e,t)})}function k(e,t){var n=_(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(m,f),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===m&&(e&&e._writableState instanceof g)}})):h=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,n){var r,o=this._writableState,a=!1,u=!o.objectMode&&(r=e,d.isBuffer(r)||r instanceof p);return u&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=y),o.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}(this,n):(u||function(e,t,n,r){var o=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),i.nextTick(r,a),o=!1),o}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,n,r,o,i){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,n));return t}(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var u=t.objectMode?1:r.length;t.length+=u;var s=t.length<t.highWaterMark;s||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,u,r,o,i);return s}(this,o,u,e,t,n)),a},m.prototype.cork=function(){this._writableState.corked++},m.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||x(this,e))},m.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,k(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=v.destroy,m.prototype._undestroy=v.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(8),n(32).setImmediate,n(3))},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0}),n(49);var i=r(n(0)),a=r(n(22)),u=r(n(56));t.ConceptList=u.default;var s=o(n(78));t.GraphContext=s.default,t.graphContext=s.graphContext;var l=r(n(36));t.Store=l.default;var c=r(n(101));t.Resource=c.default;var f=r(n(102));t.Vocabulary=f.default;var d=r(n(39));t.PropertyList=d.default;var p=r(n(38));t.ClassList=p.default;var h=r(n(40));t.ClassTree=h.default;var v=r(n(43));t.PropertyTree=v.default;var y=r(n(108));t.TupleList=y.default;var g=o(n(44));t.TupleContext=g.default,t.tupleContext=g.tupleContext;var m=r(n(45));t.TupleResult=m.default;var b=r(n(9));t.Label=b.default;var w=r(n(109));t.TupleSearch=w.default;var x=r(n(112));t.GraphSearch=x.default;var _=r(n(13));t.Value=_.default,t.createComponent=function(e,t){return i.default.createElement(e,t)},t.renderComponent=function(e,n,r){return a.default.render(t.createComponent(n,r),e)}},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var l in n=Object(arguments[s]))o.call(n,l)&&(u[l]=n[l]);if(r){a=r(n);for(var c=0;c<a.length;c++)i.call(n,a[c])&&(u[a[c]]=n[a[c]])}}return u}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(53)},function(e,t){function n(){this.value=""}n.prototype.equals=function(e){return!!e&&e.termType===this.termType},n.prototype.termType="DefaultGraph",e.exports=n},function(e,t){function n(e){this.value=e}n.prototype.equals=function(e){return!!e&&e.termType===this.termType&&e.value===this.value},n.prototype.termType="NamedNode",e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getHash=function(){return decodeURI(window.location.hash.slice(1))},t.updateHash=function(e,t){t?window.location.hash=e:window.location.replace("#"+e)},t.removeHash=function(){history.replaceState("",document.title,window.location.pathname+window.location.search)}},function(e,t,n){e.exports=n(63)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(65),a=(r=i)&&r.__esModule?r:{default:r},u=n(66),s=n(67),l=n(25);var c={offset:0,scrollDuration:400,keepLastAnchorHash:!1};t.default=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.addListeners=function(){window.addEventListener("scroll",t.scrollHandler,!1),window.addEventListener("hashchange",t.handleHashChange)},this.removeListeners=function(){window.removeEventListener("scroll",t.scrollHandler,!1),window.removeEventListener("hashchange",t.handleHashChange)},this.configure=function(e){t.config=o({},c,e)},this.goToTop=function(){0!==(0,s.getScrollTop)()&&(t.forcedHash=!0,window.scroll(0,0))},this.addAnchor=function(e,n){0===Object.keys(t.anchors).length&&t.addListeners(),t.forceHashUpdate(),t.anchors[e]=n},this.removeAnchor=function(e){delete t.anchors[e],0===Object.keys(t.anchors).length&&t.removeListeners()},this.handleScroll=function(){var e=t.config,n=e.offset,r=e.keepLastAnchorHash,o=(0,s.getBestAnchorGivenScrollLocation)(t.anchors,n);o&&(0,l.getHash)()!==o?(t.forcedHash=!0,(0,l.updateHash)(o,!1)):o||r||(0,l.removeHash)()},this.handleHashChange=function(e){t.forcedHash?t.forcedHash=!1:t.goToSection((0,l.getHash)())},this.goToSection=function(e){var n=t.anchors[e];n?(0,a.default)(n,{duration:t.config.scrollDuration,offset:t.config.offset}):(n=document.getElementById(e))&&(0,a.default)(n,{duration:0,offset:t.config.offset})},this.anchors={},this.forcedHash=!1,this.config=c,this.scrollHandler=(0,u.debounce)(this.handleScroll,100),this.forceHashUpdate=(0,u.debounce)(this.handleHashChange,1)}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";(function(t,r){var o=n(14);e.exports=b;var i,a=n(28);b.ReadableState=m;n(18).EventEmitter;var u=function(e,t){return e.listeners(t).length},s=n(30),l=n(15).Buffer,c=t.Uint8Array||function(){};var f=n(12);f.inherits=n(6);var d=n(85),p=void 0;p=d&&d.debuglog?d.debuglog("stream"):function(){};var h,v=n(86),y=n(31);f.inherits(b,s);var g=["error","close","destroy","pause","resume"];function m(e,t){e=e||{};var r=t instanceof(i=i||n(7));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,a=e.readableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(a||0===a)?a:u,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=n(33).StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function b(e){if(i=i||n(7),!(this instanceof b))return new b(e);this._readableState=new m(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function w(e,t,n,r,o){var i,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,k(e)}(e,a)):(o||(i=function(e,t){var n;r=t,l.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),i?e.emit("error",i):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):x(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?x(e,a,t,!1):T(e,a)):x(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function x(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&k(e)),T(e,t)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=y.destroy,b.prototype._undestroy=y.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=l.from(e,t),t=""),n=!0),w(this,e,t,!1,n)},b.prototype.unshift=function(e){return w(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return h||(h=n(33).StringDecoder),this._readableState.decoder=new h(e),this._readableState.encoding=e,this};var _=8388608;function S(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=_?e=_:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(E,e):E(e))}function E(e){p("emit readable"),e.emit("readable"),N(e)}function T(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(O,e,t))}function O(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function j(e){p("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function P(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,o=n.data;e-=o.length;for(;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(a===i.length?o+=i:o+=i.slice(0,e),0===(e-=a)){a===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(a));break}++r}return t.length-=r,o}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,o=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,a),0===(e-=a)){a===i.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(a));break}++o}return t.length-=o,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function A(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function L(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}b.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?A(this):k(this),null;if(0===(e=S(e,t))&&t.ended)return 0===t.length&&A(this),null;var r,o=t.needReadable;return p("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",o=!0),t.ended||t.reading?p("reading or ended",o=!1):o&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=S(n,t))),null===(r=e>0?P(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&A(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?c:b;function l(t,r){p("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),e.removeListener("close",g),e.removeListener("finish",m),e.removeListener("drain",f),e.removeListener("error",y),e.removeListener("unpipe",l),n.removeListener("end",c),n.removeListener("end",b),n.removeListener("data",v),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){p("onend"),e.end()}i.endEmitted?o.nextTick(s):n.once("end",s),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&u(e,"data")&&(t.flowing=!0,N(e))}}(n);e.on("drain",f);var d=!1;var h=!1;function v(t){p("ondata"),h=!1,!1!==e.write(t)||h||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==L(i.pipes,e))&&!d&&(p("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function y(t){p("onerror",t),b(),e.removeListener("error",y),0===u(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",m),b()}function m(){p("onfinish"),e.removeListener("close",g),b()}function b(){p("unpipe"),n.unpipe(e)}return n.on("data",v),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",y),e.once("close",g),e.once("finish",m),e.emit("pipe",n),i.flowing||(p("pipe resume"),n.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,n);return this}var a=L(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)},b.prototype.on=function(e,t){var n=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&k(this):o.nextTick(j,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(C,e,t))}(this,e)),this},b.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on("end",function(){if(p("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){(p("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o)||(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<g.length;i++)e.on(g[i],this.emit.bind(this,g[i]));return this._read=function(t){p("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=P}).call(this,n(3),n(8))},function(e,t,n){e.exports=n(18).EventEmitter},function(e,t,n){"use strict";var r=n(14);function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(o,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(r.nextTick(o,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(88),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(3))},function(e,t,n){"use strict";var r=n(15).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=s,this.end=l,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function u(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function s(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var o=a(t[r]);if(o>=0)return o>0&&(e.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if((o=a(t[r]))>=0)return o>0&&(e.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if((o=a(t[r]))>=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){"use strict";e.exports=a;var r=n(7),o=n(12);function i(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",u)}function u(){var e=this;"function"==typeof this._flush?this._flush(function(t,n){s(e,t,n)}):s(this,null,null)}function s(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}o.inherits=n(6),o.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},function(e,t,n){e.exports=o;var r=n(18).EventEmitter;function o(){r.call(this)}n(6)(o,r),o.Readable=n(11),o.Writable=n(96),o.Duplex=n(97),o.Transform=n(98),o.PassThrough=n(99),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",u),n.on("close",s));var a=!1;function u(){a||(a=!0,e.end())}function s(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",u),n.removeListener("close",s),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(48),i=n(1),a=n(2),u=n(4),s=function(){return function(e){var t=this;this.buildSpoMap=function(e){return e.reduce(function(e,t){var n,o;return r({},e,((n={})[t.subject.value]=r({},e[t.subject.value]||{},((o={})[t.predicate.value]=(e[t.subject.value]&&e[t.subject.value][t.predicate.value]||[]).concat([t.object]),o)),n))},{})},this.buildPosMap=function(e){return e.reduce(function(e,t){var n,o;return r({},e,((n={})[t.predicate.value]=r({},e[t.predicate.value]||{},((o={})[t.object.value]=(e[t.predicate.value]&&e[t.predicate.value][t.object.value]||[]).concat([t.subject]),o)),n))},{})},this.findStatements=function(e){return t.quads.filter(function(t){return t.subject.equals(e)})},this.findSubjects=function(e,n){if(void 0===t.posMap[e.value])return[];var r=Array.isArray(n)?n:[n];return o.reduce(function(n,r){return n.concat(t.posMap[e.value][r.value]||[])},[],r)},this.findObjects=function(e,n){if(void 0===t.spoMap[e.value])return[];var r=Array.isArray(n)?n:[n];return o.reduce(function(n,r){return n.concat(t.spoMap[e.value][r.value]||[])},[],r)},this.findSuperIris=function(e,n){return t.findObjects(e,a.namedNode(u.RDFS+n)).filter(i.isNamedNode)},this.findSubIris=function(e,n){return t.findSubjects(a.namedNode(u.RDFS+n),e).filter(i.isNamedNode)},this.findRoots=function(e,n,r){return e.forEach(function(e){var o=t.findSuperIris(e,r);0===o.length&&i.isUnique(e,n)?n.push(e):t.findRoots(o,n,r)}),n},this.quads=e,this.spoMap=this.buildSpoMap(e),this.posMap=this.buildPosMap(e)}}();t.default=s},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(0)),i=r(n(5));t.default=function(){return o.default.createElement("p",null,i.default.t("loadData"))}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(0)),i=r(n(17)),a=n(2),u=n(1),s=n(4),l=r(n(5)),c=r(n(13)),f=r(n(9)),d=function(e,t){return t.findObjects(e,a.namedNode(s.RDFS+"subClassOf")).filter(u.isNamedNode)},p=function(e,t){var n=d(e,t);return d(e,t).reduce(function(e,n){return e.concat(p(n,t))},n)},h=function(e,t){var n=t.findSubjects(a.namedNode(s.SHACL+"targetClass"),e)[0];return n?t.findObjects(n,a.namedNode(s.SHACL+"property")).reduce(function(e,n){return e.concat(t.findObjects(n,a.namedNode(s.SHACL+"path")))},[]):[]};t.default=function(e){var t=e.classIris,n=e.propertyIris,r=e.store,a=function(e){return u.isLocal(e,t)?"#"+u.localName(e):e.value},s=function(e){return u.isLocal(e,n)?"#"+u.localName(e):e.value};return o.default.createElement("ol",{className:"list-unstyled"},t.map(function(e){var t=u.findComment(e,r),v=u.findDefinition(e,r),y=d(e,r).sort(u.compareTerm),g=r.findSubIris(e,"subClassOf").sort(u.compareTerm),m=h(e,r).sort(u.compareTerm),b=function(e,t){return e.reduce(function(e,n){return e.concat(h(n,t))},[])}(p(e,r),r).sort(u.compareTerm);return o.default.createElement(i.default,{key:e.value,id:u.localName(e)},o.default.createElement("li",null,o.default.createElement("h3",null,o.default.createElement(f.default,{store:r,resourceIri:e})),o.default.createElement("a",{href:e.value},e.value),t&&o.default.createElement("p",null,t.value),v&&o.default.createElement("p",null,v.value),o.default.createElement("table",{className:"table"},o.default.createElement("tbody",null,y.length>0&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("subclass"),":"),o.default.createElement("td",null,o.default.createElement("ol",{className:"list-unstyled"},y.map(function(e){return o.default.createElement("li",{key:e.value},o.default.createElement(c.default,{term:e,local:!0,linkBuilder:a}))})))),g.length>0&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("hasSubclasses"),":"),o.default.createElement("td",null,o.default.createElement("ol",{className:"list-unstyled"},g.map(function(e){return o.default.createElement("li",{key:e.value},o.default.createElement(c.default,{term:e,local:!0,linkBuilder:a}))})))),m.length>0&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("properties"),":"),o.default.createElement("td",null,o.default.createElement("ol",{className:"list-unstyled"},n.map(function(e){return o.default.createElement("li",{key:e.value},o.default.createElement(c.default,{term:e,local:!0,linkBuilder:s}))})))),b.length>0&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("inherited"),":"),o.default.createElement("td",null,o.default.createElement("ol",{className:"list-unstyled"},b.map(function(e){return o.default.createElement("li",{key:e.value},o.default.createElement(c.default,{term:e,local:!0,linkBuilder:s}))}))))))))}))}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(0)),i=r(n(17)),a=n(2),u=n(1),s=n(4),l=r(n(5)),c=r(n(13)),f=r(n(9));t.default=function(e){var t=e.propertyIris,n=e.classIris,r=e.store,d=function(e){return u.isLocal(e,n)?"#"+u.localName(e):e.value},p=function(e){return u.isLocal(e,t)?"#"+u.localName(e):e.value};return o.default.createElement("ol",{className:"list-unstyled"},t.map(function(e){var t=u.findComment(e,r),n=u.findDefinition(e,r),h=function(e,t){return t.findObjects(e,a.namedNode(s.RDFS+"subPropertyOf"))}(e,r).sort(u.compareTerm),v=function(e,t){return t.findSubjects(a.namedNode(s.RDFS+"subPropertyOf"),e)}(e,r).sort(u.compareTerm),y=function(e,t){return t.findSubjects(a.namedNode(s.SHACL+"path"),e)}(e,r),g=function(e,t){return e.reduce(function(e,n){var r=t.findSubjects(a.namedNode(s.SHACL+"property"),n)[0];if(void 0===r)return e;var o=t.findObjects(r,a.namedNode(s.SHACL+"targetClass"))[0];return void 0===o?e.slice():e.concat([o])},[])}(y,r).sort(u.compareTerm),m=function(e,t){return e.reduce(function(e,n){return void 0!==e?e:t.findObjects(n,a.namedNode(s.SHACL+"class"))[0]},void 0)}(y,r);return o.default.createElement(i.default,{key:u.localName(e),id:u.localName(e)},o.default.createElement("li",null,o.default.createElement("h3",null,o.default.createElement(f.default,{store:r,resourceIri:e})),o.default.createElement("a",{href:e.value},e.value),t&&o.default.createElement("p",null,t.value),n&&o.default.createElement("p",null,n.value),o.default.createElement("table",{className:"table"},o.default.createElement("tbody",null,h.length>0&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("subproperty"),":"),o.default.createElement("td",null,o.default.createElement("ol",{className:"list-unstyled"},h.map(function(e){return o.default.createElement("li",{key:e.value},o.default.createElement(c.default,{term:e,local:!0,linkBuilder:p}))})))),v.length>0&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("hasSubproperty"),":"),o.default.createElement("td",null,o.default.createElement("ol",{className:"list-unstyled"},v.map(function(e){return o.default.createElement("li",{key:e.value},o.default.createElement(c.default,{term:e,local:!0,linkBuilder:p}))})))),g.length>0&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("propertyOf"),":"),o.default.createElement("td",null,o.default.createElement("ol",{className:"list-unstyled"},g.map(function(e){return o.default.createElement("li",{key:e.value},o.default.createElement(c.default,{term:e,local:!0,linkBuilder:d}))})))),m&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("relatedClasses"),":"),o.default.createElement("td",null,o.default.createElement(c.default,{term:m,local:!0,linkBuilder:d})))))))}))}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(0)),i=n(1),a=r(n(41)),u=r(n(9));n(42);var s={marginLeft:"20px",display:"block"},l=function(e,t,n,r){return e.map(function(e,c){var f=t.findSubIris(e,"subClassOf").sort(i.compareTerm);if(f.length>0){var d=o.default.createElement("a",{href:i.isLocal(e,n)?"#"+i.localName(e):e.value,title:e.value},o.default.createElement("span",{className:"node"},o.default.createElement(u.default,{store:t,resourceIri:e})));return o.default.createElement(a.default,{nodeLabel:d,key:e+"|"+c,defaultCollapsed:r},l(f,t,n,!0))}return o.default.createElement("a",{href:i.isLocal(e,n)?"#"+i.localName(e):e.value,key:e+"|"+c,title:e.value},o.default.createElement("span",{style:s},o.default.createElement(u.default,{store:t,resourceIri:e})))})};t.default=function(e){var t=e.classIris,n=e.store;try{var r=n.findRoots(t,[],"subClassOf");return l(r,n,t,!1)}catch(e){return o.default.createElement("p",null,"Something went wrong")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t,n){for(var r=!0;r;){var o=e,i=t,a=n;r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,i);if(void 0!==u){if("value"in u)return u.value;var s=u.get;if(void 0===s)return;return s.call(a)}var l=Object.getPrototypeOf(o);if(null===l)return;e=l,t=i,n=a,r=!0,u=l=void 0}};function a(e){return e&&e.__esModule?e:{default:e}}var u=a(n(0)),s=(a(n(26)),function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={collapsed:e.defaultCollapsed},this.handleClick=this.handleClick.bind(this)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u["default"].PureComponent),o(t,[{key:"handleClick",value:function(){var e;(this.setState({collapsed:!this.state.collapsed}),this.props.onClick)&&(e=this.props).onClick.apply(e,arguments)}},{key:"render",value:function(){var e=this.props,t=e.collapsed,n=void 0===t?this.state.collapsed:t,o=e.className,i=void 0===o?"":o,a=e.itemClassName,s=void 0===a?"":a,l=e.treeViewClassName,c=void 0===l?"":l,f=e.childrenClassName,d=void 0===f?"":f,p=e.nodeLabel,h=e.children,v=(e.defaultCollapsed,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["collapsed","className","itemClassName","treeViewClassName","childrenClassName","nodeLabel","children","defaultCollapsed"])),y="tree-view_arrow",g="tree-view_children";n&&(y+=" tree-view_arrow-collapsed",g+=" tree-view_children-collapsed");var m=u.default.createElement("div",r({},v,{className:i+" "+y,onClick:this.handleClick}));return u.default.createElement("div",{className:"tree-view "+c},u.default.createElement("div",{className:"tree-view_item "+s},m,p),u.default.createElement("div",{className:g+" "+d},n?null:h))}}]),t}());t.default=s,e.exports=t.default},function(e,t,n){var r=n(104);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(106)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(0)),i=n(2),a=n(4),u=n(1),s=r(n(41)),l=r(n(9));n(42);var c={marginLeft:"20px",display:"block"},f=function(e,t,n,r){return e.map(function(e,d){var p=t.findSubjects(i.namedNode(a.RDFS+"subPropertyOf"),e).sort(u.compareTerm);if(p.length>0){var h=o.default.createElement("a",{href:u.isLocal(e,n)?"#"+u.localName(e):e.value,title:e.value},o.default.createElement("span",{className:"node"},o.default.createElement(l.default,{store:t,resourceIri:e})));return o.default.createElement(s.default,{nodeLabel:h,key:e+"|"+d,defaultCollapsed:r},f(p,t,n,!0))}return o.default.createElement("a",{href:u.isLocal(e,n)?"#"+u.localName(e):e.value,key:e+"|"+d,title:e.value},o.default.createElement("span",{style:c},u.localName(e)))})};t.default=function(e){var t=e.propertyIris,n=e.store;try{var r=n.findRoots(t,[],"subPropertyOf");return f(r,n,t,!1)}catch(e){return o.default.createElement("p",null,"Something went wrong")}}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,u)}s((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=this;Object.defineProperty(t,"__esModule",{value:!0});var l=u(n(0)),c=u(n(37)),f=u(n(45)),d=n(1),p=u(n(16)),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={data:new f.default,loading:!0,error:!1},t}return o(t,e),t.prototype.componentDidMount=function(){this.fetchData(this.props.src)},t.prototype.fetchData=function(e){return i(this,void 0,void 0,function(){var t=this;return a(this,function(n){return d.fetchSparqlResult(e).then(function(e){t.setState({data:new f.default(e),loading:!1,error:!1})}).catch(function(e){p.default.error(e),t.setState({loading:!1,error:!0})}),[2]})})},t.prototype.componentWillReceiveProps=function(e){e.src!==this.props.src&&this.fetchData(e.src)},t.prototype.render=function(){return this.state.loading?l.default.createElement(c.default,null):this.state.error?"An error has occured":this.props.children(this.state.data)},t}(l.default.Component);t.tupleContext=function(e){return i(s,void 0,void 0,function(){return a(this,function(t){return[2,d.fetchSparqlResult(e).then(function(e){return new f.default(e)})]})})},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=function(){function e(e){this.bindingSet=[],this.bindingNames=[],e&&(this.bindingSet=this.setBindingSet(e),this.bindingNames=e.head.vars)}return e.prototype.setBindingSet=function(e){var t=this;return e.results.bindings.map(function(e){var n={};return Object.keys(e).forEach(function(r){n[r]=t.getNode(e[r])}),n})},e.prototype.getNode=function(e){if("uri"===e.type)return r.namedNode(e.value);if("literal"===e.type)return r.literal(e.value,e["xml:lang"]?e["xml:lang"]:e.datatype);if("bnode"===e.type)return r.blankNode(e.value);throw TypeError("Given Term is not a valid Node.")},e.prototype.getBindingNames=function(){return this.bindingNames},e.prototype.getBindingSets=function(){return this.bindingSet},e.prototype.setTupleResult=function(e,t){this.bindingSet=e,this.bindingNames=t},e}();t.default=o},function(e,t,n){"use strict";t.decode=t.parse=n(110),t.encode=t.stringify=n(111)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),u=i(n(5)),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={currentValue:""},t.handleInputChange=function(e){t.setState({currentValue:e.target.value})},t.handleSubmit=function(e){e.preventDefault(),t.props.onInputChange(t.state.currentValue)},t}return o(t,e),t.prototype.render=function(){return a.default.createElement("form",{onSubmit:this.handleSubmit},a.default.createElement("div",{className:"input-group"},a.default.createElement("input",{type:"text",name:"q",autoComplete:"off",className:"form-control",placeholder:u.default.t("searchPlaceholder"),value:this.state.currentValue,onChange:this.handleInputChange}),a.default.createElement("span",{className:"input-group-btn"},a.default.createElement("button",{type:"submit",className:"btn btn-primary pull-left"},u.default.t("search")))))},t}(a.default.Component);t.default=s},function(e,t,n){"use strict";n.r(t);var r=function(){return!1},o=function(){return!0},i={"@@functional/placeholder":!0};function a(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function u(e){return function t(n){return 0===arguments.length||a(n)?t:e.apply(this,arguments)}}function s(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return a(n)?t:u(function(t){return e(n,t)});default:return a(n)&&a(r)?t:a(n)?u(function(t){return e(t,r)}):a(r)?u(function(t){return e(n,t)}):e(n,r)}}}var l=s(function(e,t){return Number(e)+Number(t)});function c(e,t){var n;t=t||[];var r=(e=e||[]).length,o=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<o;)i[i.length]=t[n],n+=1;return i}function f(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,o){return t.apply(this,arguments)};case 5:return function(e,n,r,o,i){return t.apply(this,arguments)};case 6:return function(e,n,r,o,i,a){return t.apply(this,arguments)};case 7:return function(e,n,r,o,i,a,u){return t.apply(this,arguments)};case 8:return function(e,n,r,o,i,a,u,s){return t.apply(this,arguments)};case 9:return function(e,n,r,o,i,a,u,s,l){return t.apply(this,arguments)};case 10:return function(e,n,r,o,i,a,u,s,l,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function d(e,t,n){return function(){for(var r=[],o=0,i=e,u=0;u<t.length||o<arguments.length;){var s;u<t.length&&(!a(t[u])||o>=arguments.length)?s=t[u]:(s=arguments[o],o+=1),r[u]=s,a(s)||(i-=1),u+=1}return i<=0?n.apply(this,r):f(i,d(e,r,n))}}var p=s(function(e,t){return 1===e?u(t):f(e,d(e,[],t))}),h=u(function(e){return p(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],o=Array.prototype.slice.call(arguments,0);return o[0]=function(){var e=n.apply(this,c(arguments,[t,r]));return t+=1,e},e.apply(this,o)})});function v(e){return function t(n,r,o){switch(arguments.length){case 0:return t;case 1:return a(n)?t:s(function(t,r){return e(n,t,r)});case 2:return a(n)&&a(r)?t:a(n)?s(function(t,n){return e(t,r,n)}):a(r)?s(function(t,r){return e(n,t,r)}):u(function(t){return e(n,r,t)});default:return a(n)&&a(r)&&a(o)?t:a(n)&&a(r)?s(function(t,n){return e(t,n,o)}):a(n)&&a(o)?s(function(t,n){return e(t,r,n)}):a(r)&&a(o)?s(function(t,r){return e(n,t,r)}):a(n)?u(function(t){return e(t,r,o)}):a(r)?u(function(t){return e(n,t,o)}):a(o)?u(function(t){return e(n,r,t)}):e(n,r,o)}}}var y=v(function(e,t,n){if(e>=n.length||e<-n.length)return n;var r=(e<0?n.length:0)+e,o=c(n);return o[r]=t(n[r]),o}),g=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function m(e){return null!=e&&"function"==typeof e["@@transducer/step"]}function b(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),o=r.pop();if(!g(o)){for(var i=0;i<e.length;){if("function"==typeof o[e[i]])return o[e[i]].apply(o,r);i+=1}if(m(o))return t.apply(null,r)(o)}return n.apply(this,arguments)}}function w(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var x={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}},_=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=w(this.xf["@@transducer/step"](e,!1))),e},e}(),S=s(b(["all"],s(function(e,t){return new _(e,t)}),function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})),k=s(function(e,t){return t>e?t:e});function E(e,t){for(var n=0,r=t.length,o=Array(r);n<r;)o[n]=e(t[n]),n+=1;return o}function T(e){return"[object String]"===Object.prototype.toString.call(e)}var O=u(function(e){return!!g(e)||!!e&&("object"==typeof e&&(!T(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),j=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function C(e){return new j(e)}var N=s(function(e,t){return f(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function A(e,t,n,r){return e["@@transducer/result"](n[r](N(e["@@transducer/step"],e),t))}var I="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function L(e,t,n){if("function"==typeof e&&(e=C(e)),O(n))return function(e,t,n){for(var r=0,o=n.length;r<o;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return A(e,t,n,"fantasy-land/reduce");if(null!=n[I])return P(e,t,n[I]());if("function"==typeof n.next)return P(e,t,n);if("function"==typeof n.reduce)return A(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}var R=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=x.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),D=s(function(e,t){return new R(e,t)});function M(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var B=Object.prototype.toString,U=function(){return"[object Arguments]"===B.call(arguments)?function(e){return"[object Arguments]"===B.call(e)}:function(e){return M("callee",e)}}(),F=!{toString:null}.propertyIsEnumerable("toString"),z=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],q=function(){return arguments.propertyIsEnumerable("length")}(),V=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},H="function"!=typeof Object.keys||q?u(function(e){if(Object(e)!==e)return[];var t,n,r=[],o=q&&U(e);for(t in e)!M(t,e)||o&&"length"===t||(r[r.length]=t);if(F)for(n=z.length-1;n>=0;)M(t=z[n],e)&&!V(r,t)&&(r[r.length]=t),n-=1;return r}):u(function(e){return Object(e)!==e?[]:Object.keys(e)}),W=s(b(["fantasy-land/map","map"],D,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return p(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return L(function(n,r){return n[r]=e(t[r]),n},{},H(t));default:return E(e,t)}})),J=s(function(e,t){for(var n=t,r=0;r<e.length;){if(null==n)return;n=n[e[r]],r+=1}return n}),Y=s(function(e,t){return J([e],t)}),G=s(function(e,t){return W(Y(e),t)}),K=v(L),$=u(function(e){return p(K(k,0,G("length",e)),function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})}),Q=u(function(e){return function(){return e}}),X=s(function(e,t){return e&&t}),Z=function(){function e(e,t){this.xf=t,this.f=e,this.any=!1}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){return this.any||(e=this.xf["@@transducer/step"](e,!1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.any=!0,e=w(this.xf["@@transducer/step"](e,!0))),e},e}(),ee=s(b(["any"],s(function(e,t){return new Z(e,t)}),function(e,t){for(var n=0;n<t.length;){if(e(t[n]))return!0;n+=1}return!1})),te=u(function(e){return p(K(k,0,G("length",e)),function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})}),ne=s(function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:L(function(e,n){return c(e,W(n,t))},[],e)});function re(e,t){for(var n=0,r=t.length-(e-1),o=new Array(r>=0?r:0);n<r;)o[n]=Array.prototype.slice.call(t,n,n+e),n+=1;return o}var oe=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.store(t),this.full?this.xf["@@transducer/step"](e,this.getCopy()):e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e.prototype.getCopy=function(){return c(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},e}(),ie=s(b([],s(function(e,t){return new oe(e,t)}),re)),ae=s(function(e,t){return c(t,[e])}),ue=s(function(e,t){return e.apply(this,t)}),se=u(function(e){for(var t=H(e),n=t.length,r=[],o=0;o<n;)r[o]=e[t[o]],o+=1;return r});function le(e,t){return H(t).reduce(function(n,r){return n[r]=e(t[r]),n},{})}var ce=u(function e(t){return t=le(function(t){return"function"==typeof t?t:e(t)},t),p(K(k,0,G("length",se(t))),function(){var e=arguments;return le(function(t){return ue(t,e)},t)})}),fe=s(function(e,t){return t(e)}),de=v(function(e,t,n){var r=e(t),o=e(n);return r<o?-1:r>o?1:0}),pe=v(function(e,t,n){var r={};for(var o in n)r[o]=n[o];return r[e]=t,r}),he=Number.isInteger||function(e){return e<<0===e},ve=u(function(e){return null==e}),ye=v(function e(t,n,r){if(0===t.length)return n;var o=t[0];if(t.length>1){var i=!ve(r)&&M(o,r)?r[o]:he(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}if(he(o)&&g(r)){var a=[].concat(r);return a[o]=n,a}return pe(o,n,r)}),ge=s(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,o){return t.call(this,e,n,r,o)};case 5:return function(e,n,r,o,i){return t.call(this,e,n,r,o,i)};case 6:return function(e,n,r,o,i,a){return t.call(this,e,n,r,o,i,a)};case 7:return function(e,n,r,o,i,a,u){return t.call(this,e,n,r,o,i,a,u)};case 8:return function(e,n,r,o,i,a,u,s){return t.call(this,e,n,r,o,i,a,u,s)};case 9:return function(e,n,r,o,i,a,u,s,l){return t.call(this,e,n,r,o,i,a,u,s,l)};case 10:return function(e,n,r,o,i,a,u,s,l,c){return t.call(this,e,n,r,o,i,a,u,s,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),me=u(function(e){return ge(2,e)});function be(e){return"[object Function]"===Object.prototype.toString.call(e)}var we=s(function(e,t){var n=p(e,t);return p(e,function(){return L(ne,W(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=u(function(e){return we(e.length,e)}),_e=s(function(e,t){return be(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(X)(e,t)}),Se=u(function(e){return p(e.length,e)}),ke=Se(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function Ee(e){return function t(n){for(var r,o,i,a=[],u=0,s=n.length;u<s;){if(O(n[u]))for(i=0,o=(r=e?t(n[u]):n[u]).length;i<o;)a[a.length]=r[i],i+=1;else a[a.length]=n[u];u+=1}return a}}var Te=function(e){var t=function(e){return{"@@transducer/init":x.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){var r=e["@@transducer/step"](t,n);return r["@@transducer/reduced"]?{"@@transducer/value":r,"@@transducer/reduced":!0}:r}}}(e);return{"@@transducer/init":x.init,"@@transducer/result":function(e){return t["@@transducer/result"](e)},"@@transducer/step":function(e,n){return O(n)?L(t,e,n):L(t,e,[n])}}},Oe=s(b(["fantasy-land/chain","chain"],s(function(e,t){return W(e,Te(t))}),function(e,t){return"function"==typeof t?function(n){return e(t(n))(n)}:Ee(!1)(W(e,t))})),je=v(function(e,t,n){if(e>t)throw new Error("min must not be greater than max in clamp(min, max, value)");return n<e?e:n>t?t:n});function Ce(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var Ne=u(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Pe(e,t,n,r){var o=function(o){for(var i=t.length,a=0;a<i;){if(e===t[a])return n[a];a+=1}for(var u in t[a+1]=e,n[a+1]=o,e)o[u]=r?Pe(e[u],t,n,!0):e[u];return o};switch(Ne(e)){case"Object":return o({});case"Array":return o([]);case"Date":return new Date(e.valueOf());case"RegExp":return Ce(e);default:return e}}var Ae=u(function(e){return null!=e&&"function"==typeof e.clone?e.clone():Pe(e,[],[],!0)}),Ie=u(function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}),Le=u(function(e){return!e}),Re=xe(Le);function De(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Me(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return g(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}var Be=v(Me("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)})),Ue=u(Me("tail",Be(1,1/0)));function Fe(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return f(arguments[0].length,K(De,arguments[0],Ue(arguments)))}var ze=u(function(e){return T(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function qe(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Fe.apply(this,ze(arguments))}function Ve(){if(0===arguments.length)throw new Error("composeK requires at least one argument");var e=Array.prototype.slice.call(arguments),t=e.pop();return qe(qe.apply(this,W(Oe,e)),t)}function He(e,t){return function(){var n=this;return e.apply(n,arguments).then(function(e){return t.call(n,e)})}}function We(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return f(arguments[0].length,K(He,arguments[0],Ue(arguments)))}function Je(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return We.apply(this,ze(arguments))}var Ye=s(function(e,t){var n=e<0?t.length+e:e;return T(t)?t.charAt(n):t[n]}),Ge=Ye(0);function Ke(e){return e}var $e=u(Ke),Qe=s(function(e,t){if(t.length<=0)return $e;var n=Ge(t),r=Ue(t);return f(n.length,function(){return L(function(t,n){return e.call(this,n,t)},n.apply(this,arguments),r)})}),Xe=s(function(e,t){return Qe.apply(this,[e,ze(t)])});function Ze(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function et(e,t,n){for(var r=0,o=n.length;r<o;){if(e(t,n[r]))return!0;r+=1}return!1}var tt="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};function nt(e,t,n,r){var o=Ze(e);function i(e,t){return rt(e,t,n.slice(),r.slice())}return!et(function(e,t){return!et(i,t,e)},Ze(t),o)}function rt(e,t,n,r){if(tt(e,t))return!0;var o,i,a=Ne(e);if(a!==Ne(t))return!1;if(null==e||null==t)return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(a){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(o=e.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!tt(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!tt(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var u=n.length-1;u>=0;){if(n[u]===e)return r[u]===t;u-=1}switch(a){case"Map":return e.size===t.size&&nt(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&nt(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=H(e);if(s.length!==H(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(u=s.length-1;u>=0;){var f=s[u];if(!M(f,t)||!rt(t[f],e[f],l,c))return!1;u-=1}return!0}var ot=s(function(e,t){return rt(e,t,[],[])});function it(e,t,n){var r,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(o=e[n])&&1/o===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(o=e[n])&&o!=o)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(ot(e[n],t))return n;n+=1}return-1}function at(e,t){return it(t,e,0)>=0}function ut(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var st=function(e){return(e<10?"0":"")+e},lt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+st(e.getUTCMonth()+1)+"-"+st(e.getUTCDate())+"T"+st(e.getUTCHours())+":"+st(e.getUTCMinutes())+":"+st(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function ct(e){return function(){return!e.apply(this,arguments)}}function ft(e,t){for(var n=0,r=t.length,o=[];n<r;)e(t[n])&&(o[o.length]=t[n]),n+=1;return o}function dt(e){return"[object Object]"===Object.prototype.toString.call(e)}var pt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=x.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),ht=s(b(["filter"],s(function(e,t){return new pt(e,t)}),function(e,t){return dt(t)?L(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},H(t)):ft(e,t)})),vt=s(function(e,t){return ht(ct(e),t)});function yt(e,t){var n=function(n){var r=t.concat([e]);return at(n,r)?"<Circular>":yt(n,r)},r=function(e,t){return E(function(t){return ut(t)+": "+n(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+E(n,e).join(", ")+"))";case"[object Array]":return"["+E(n,e).concat(r(e,vt(function(e){return/^\d+$/.test(e)},H(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):ut(lt(e)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":ut(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var o=e.toString();if("[object Object]"!==o)return o}return"{"+r(e,H(e)).join(", ")+"}"}}var gt=u(function(e){return yt(e,[])}),mt=s(function(e,t){if(g(e)){if(g(t))return e.concat(t);throw new TypeError(gt(t)+" is not an array")}if(T(e)){if(T(t))return e+t;throw new TypeError(gt(t)+" is not a string")}if(null!=e&&be(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&be(e.concat))return e.concat(t);throw new TypeError(gt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),bt=u(function(e){return f(K(k,0,W(function(e){return e[0].length},e)),function(){for(var t=0;t<e.length;){if(e[t][0].apply(this,arguments))return e[t][1].apply(this,arguments);t+=1}})}),wt=s(function(e,t){if(e>10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:Se(ge(e,function(e,n,r,o,i,a,u,s,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,o);case 5:return new t(e,n,r,o,i);case 6:return new t(e,n,r,o,i,a);case 7:return new t(e,n,r,o,i,a,u);case 8:return new t(e,n,r,o,i,a,u,s);case 9:return new t(e,n,r,o,i,a,u,s,l);case 10:return new t(e,n,r,o,i,a,u,s,l,c)}}))}),xt=u(function(e){return wt(e.length,e)}),_t=s(at),St=s(function(e,t){return p(K(k,0,G("length",t)),function(){var n=arguments,r=this;return e.apply(r,E(function(e){return e.apply(r,n)},t))})}),kt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(M(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),Et=d(4,[],b([],d(4,[],function(e,t,n,r){return new kt(e,t,n,r)}),function(e,t,n,r){return L(function(r,o){var i=n(o);return r[i]=e(M(i,r)?r[i]:t,o),r},{},r)})),Tt=Et(function(e,t){return e+1},0),Ot=l(-1),jt=s(function(e,t){return null==t||t!=t?e:t}),Ct=v(function(e,t,n){var r=e(t),o=e(n);return r>o?-1:r<o?1:0});function Nt(e,t,n){var r,o=typeof e;switch(o){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):o in n._items?e in n._items[o]||(t&&(n._items[o][e]=!0),!1):(t&&(n._items[o]={},n._items[o][e]=!0),!1);case"boolean":if(o in n._items){var i=e?1:0;return!!n._items[o][i]||(t&&(n._items[o][i]=!0),!1)}return t&&(n._items[o]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):o in n._items?!!at(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1);case"undefined":return!!n._items[o]||(t&&(n._items[o]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(e))in n._items?!!at(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1)}}var Pt=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Nt(e,!0,this)},e.prototype.has=function(e){return Nt(e,!1,this)},e}(),At=s(function(e,t){for(var n=[],r=0,o=e.length,i=t.length,a=new Pt,u=0;u<i;u+=1)a.add(t[u]);for(;r<o;)a.add(e[r])&&(n[n.length]=e[r]),r+=1;return n}),It=v(function(e,t,n){for(var r=[],o=0,i=t.length;o<i;)et(e,t[o],n)||et(e,t[o],r)||r.push(t[o]),o+=1;return r}),Lt=s(function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n}),Rt=v(function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r}),Dt=v(function(e,t,n){return y(e,Q(t),n)}),Mt=s(function e(t,n){switch(t.length){case 0:return n;case 1:return he(t[0])&&g(n)?Rt(t[0],1,n):Lt(t[0],n);default:var r=t[0],o=Array.prototype.slice.call(t,1);return null==n[r]?n:he(r)&&g(n)?Dt(r,e(o,n[r]),n):pe(r,e(o,n[r]),n)}}),Bt=s(function(e,t){return e/t}),Ut=function(){function e(e,t){this.xf=t,this.n=e}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=x.result,e.prototype["@@transducer/step"]=function(e,t){return this.n>0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Ft=s(b(["drop"],s(function(e,t){return new Ut(e,t)}),function(e,t){return Be(Math.max(0,e),1/0,t)})),zt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=x.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),qt=s(b(["take"],s(function(e,t){return new zt(e,t)}),function(e,t){return Be(0,e<0?1/0:e,t)}));function Vt(e,t){return qt(e<t.length?t.length-e:0,t)}var Ht=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),Wt=s(b([],s(function(e,t){return new Ht(e,t)}),Vt));function Jt(e,t){for(var n=t.length-1;n>=0&&e(t[n]);)n-=1;return Be(0,n+1,t)}var Yt=function(){function e(e,t){this.f=e,this.retained=[],this.xf=t}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.retain(e,t):this.flush(e,t)},e.prototype.flush=function(e,t){return e=L(this.xf["@@transducer/step"],e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,t)},e.prototype.retain=function(e,t){return this.retained.push(t),e},e}(),Gt=s(b([],s(function(e,t){return new Yt(e,t)}),Jt)),Kt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=x.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),$t=s(function(e,t){return new Kt(e,t)}),Qt=Ye(-1),Xt=s(b([],$t,function(e,t){var n=[],r=1,o=t.length;if(0!==o)for(n[0]=t[0];r<o;)e(Qt(n),t[r])||(n[n.length]=t[r]),r+=1;return n})),Zt=u(b([],$t(ot),Xt(ot))),en=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=x.result,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}(),tn=s(b(["dropWhile"],s(function(e,t){return new en(e,t)}),function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Be(n,1/0,t)})),nn=s(function(e,t){return e||t}),rn=s(function(e,t){return be(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:xe(nn)(e,t)}),on=u(function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():g(e)?[]:T(e)?"":dt(e)?{}:U(e)?function(){return arguments}():void 0}),an=s(function(e,t){return Ft(e>=0?t.length-e:0,t)}),un=s(function(e,t){return ot(an(e.length,t),e)}),sn=v(function(e,t,n){return ot(e(t),e(n))}),ln=v(function(e,t,n){return ot(t[e],n[e])}),cn=s(function e(t,n){var r,o,i,a=n instanceof Array?[]:{};for(o in n)i=typeof(r=t[o]),a[o]="function"===i?r(n[o]):r&&"object"===i?e(r,n[o]):n[o];return a}),fn=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),dn=s(b(["find"],s(function(e,t){return new fn(e,t)}),function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}})),pn=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.found=!1}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,this.idx))),e},e}(),hn=s(b([],s(function(e,t){return new pn(e,t)}),function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return n;n+=1}return-1})),vn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.last))},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.last=t),e},e}(),yn=s(b([],s(function(e,t){return new vn(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return t[n];n-=1}})),gn=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),mn=s(b([],s(function(e,t){return new gn(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),bn=u(Ee(!0)),wn=u(function(e){return p(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),xn=s(Me("forEach",function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t})),_n=s(function(e,t){for(var n=H(t),r=0;r<n.length;){var o=n[r];e(t[o],o,t),r+=1}return t}),Sn=u(function(e){for(var t={},n=0;n<e.length;)t[e[n][0]]=e[n][1],n+=1;return t}),kn=s(Me("groupBy",Et(function(e,t){return null==e&&(e=[]),e.push(t),e},null))),En=s(function(e,t){for(var n=[],r=0,o=t.length;r<o;){for(var i=r+1;i<o&&e(t[i-1],t[i]);)i+=1;n.push(t.slice(r,i)),r=i}return n}),Tn=s(function(e,t){return e>t}),On=s(function(e,t){return e>=t}),jn=s(function(e,t){if(0===e.length)return!1;for(var n=t,r=0;r<e.length;){if(!M(e[r],n))return!1;n=n[e[r]],r+=1}return!0}),Cn=s(function(e,t){return jn([e],t)}),Nn=s(function(e,t){return e in t}),Pn=s(tt),An=v(function(e,t,n){return p(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),In=l(1),Ln=s(at),Rn=Et(function(e,t){return t},null),Dn=s(function(e,t){return"function"!=typeof t.indexOf||g(t)?it(t,e,0):t.indexOf(e)}),Mn=Be(0,-1),Bn=v(function(e,t,n){return ft(function(t){return et(e,t,n)},t)}),Un=v(function(e,t,n){e=e<n.length&&e>=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Fn=v(function(e,t,n){return e=e<n.length&&e>=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))}),zn=s(function(e,t){for(var n,r,o=new Pt,i=[],a=0;a<t.length;)n=e(r=t[a]),o.add(n)&&i.push(r),a+=1;return i}),qn=zn($e),Vn=s(function(e,t){var n,r;return e.length>t.length?(n=e,r=t):(n=t,r=e),qn(ft(wn(at)(n),r))}),Hn=s(Me("intersperse",function(e,t){for(var n=[],r=0,o=t.length;r<o;)r===o-1?n.push(t[r]):n.push(t[r],e),r+=1;return n}));var Wn="function"==typeof Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1,r=arguments.length;n<r;){var o=arguments[n];if(null!=o)for(var i in o)M(i,o)&&(t[i]=o[i]);n+=1}return t},Jn=s(function(e,t){var n={};return n[e]=t,n}),Yn={"@@transducer/init":Array,"@@transducer/step":function(e,t){return e.push(t),e},"@@transducer/result":Ke},Gn={"@@transducer/init":String,"@@transducer/step":function(e,t){return e+t},"@@transducer/result":Ke},Kn={"@@transducer/init":Object,"@@transducer/step":function(e,t){return Wn(e,O(t)?Jn(t[0],t[1]):t)},"@@transducer/result":Ke};var $n=v(function(e,t,n){return m(e)?L(t(e),e["@@transducer/init"](),n):L(t(function(e){if(m(e))return e;if(O(e))return Yn;if("string"==typeof e)return Gn;if("object"==typeof e)return Kn;throw new Error("Cannot create transformer for "+e)}(e)),Pe(e,[],[],!1),n)}),Qn=u(function(e){for(var t=H(e),n=t.length,r=0,o={};r<n;){var i=t[r],a=e[i],u=M(a,o)?o[a]:o[a]=[];u[u.length]=i,r+=1}return o}),Xn=u(function(e){for(var t=H(e),n=t.length,r=0,o={};r<n;){var i=t[r];o[e[i]]=i,r+=1}return o}),Zn=s(function(e,t){return p(e+1,function(){var n=arguments[e];if(null!=n&&be(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(gt(n)+' does not have a method named "'+t+'"')})}),er=s(function(e,t){return null!=t&&t.constructor===e||t instanceof e}),tr=u(function(e){return null!=e&&ot(e,on(e))}),nr=Zn(1,"join"),rr=u(function(e){return St(function(){return Array.prototype.slice.call(arguments,0)},e)}),or=u(function(e){var t,n=[];for(t in e)n[n.length]=t;return n}),ir=s(function(e,t){if("function"!=typeof t.lastIndexOf||g(t)){for(var n=t.length-1;n>=0;){if(ot(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function ar(e){return"[object Number]"===Object.prototype.toString.call(e)}var ur=u(function(e){return null!=e&&ar(e.length)?e.length:NaN}),sr=s(function(e,t){return function(n){return function(r){return W(function(e){return t(e,r)},n(e(r)))}}}),lr=u(function(e){return sr(Ye(e),Dt(e))}),cr=u(function(e){return sr(J(e),ye(e))}),fr=u(function(e){return sr(Y(e),pe(e))}),dr=s(function(e,t){return e<t}),pr=s(function(e,t){return e<=t}),hr=v(function(e,t,n){for(var r=0,o=n.length,i=[],a=[t];r<o;)a=e(a[0],n[r]),i[r]=a[1],r+=1;return[a[0],i]}),vr=v(function(e,t,n){for(var r=n.length-1,o=[],i=[t];r>=0;)i=e(i[0],n[r]),o[r]=i[1],r-=1;return[i[0],o]}),yr=s(function(e,t){return L(function(n,r){return n[r]=e(t[r],r,t),n},{},H(t))}),gr=s(function(e,t){return t.match(e)||[]}),mr=s(function(e,t){return he(e)?!he(t)||t<1?NaN:(e%t+t)%t:NaN}),br=v(function(e,t,n){return e(n)>e(t)?n:t}),wr=K(l,0),xr=u(function(e){return wr(e)/e.length}),_r=u(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return xr(Array.prototype.slice.call(e,0).sort(function(e,t){return e<t?-1:e>t?1:0}).slice(r,r+n))}),Sr=s(function(e,t){var n={};return f(t.length,function(){var r=e.apply(this,arguments);return M(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),kr=s(function(e,t){return Wn({},e,t)}),Er=u(function(e){return Wn.apply(null,[{}].concat(e))}),Tr=v(function(e,t,n){var r,o={};for(r in t)M(r,t)&&(o[r]=M(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)M(r,n)&&!M(r,o)&&(o[r]=n[r]);return o}),Or=v(function e(t,n,r){return Tr(function(n,r,o){return dt(r)&&dt(o)?e(t,r,o):t(n,r,o)},n,r)}),jr=s(function(e,t){return Or(function(e,t,n){return t},e,t)}),Cr=s(function(e,t){return Or(function(e,t,n){return n},e,t)}),Nr=v(function(e,t,n){return Or(function(t,n,r){return e(n,r)},t,n)}),Pr=s(function(e,t){return Wn({},t,e)}),Ar=s(function(e,t){return Wn({},e,t)}),Ir=v(function(e,t,n){return Tr(function(t,n,r){return e(n,r)},t,n)}),Lr=s(function(e,t){return t<e?t:e}),Rr=v(function(e,t,n){return e(n)<e(t)?n:t}),Dr=s(function(e,t){return e%t}),Mr=v(function(e,t,n){var r=n.length,o=n.slice(),i=e<0?r+e:e,a=t<0?r+t:t,u=o.splice(i,1);return i<0||i>=n.length||a<0||a>=n.length?n:[].concat(o.slice(0,a)).concat(u).concat(o.slice(a,n.length))}),Br=s(function(e,t){return e*t}),Ur=u(function(e){return-e}),Fr=s(function(e,t){return S(ct(e),t)}),zr=u(function(e){return p(e<0?1:e+1,function(){return Ye(e,arguments)})}),qr=v(function(e,t,n){return e(t(n))});function Vr(e){return[e]}var Hr=u(Vr),Wr=s(function(e,t){for(var n={},r={},o=0,i=e.length;o<i;)r[e[o]]=1,o+=1;for(var a in t)r.hasOwnProperty(a)||(n[a]=t[a]);return n}),Jr=u(function(e){var t,n=!1;return f(e.length,function(){return n?t:(n=!0,t=e.apply(this,arguments))})});function Yr(e,t){if(null==t||!be(t.then))throw new TypeError("`"+e+"` expected a Promise, received "+yt(t,[]))}var Gr=s(function(e,t){return Yr("otherwise",t),t.then(null,e)}),Kr=function(e){return{value:e,map:function(t){return Kr(t(e))}}},$r=v(function(e,t,n){return e(function(e){return Kr(t(e))})(n).value}),Qr=s(function(e,t){return[e,t]});function Xr(e){return s(function(t,n){return f(Math.max(0,t.length-n.length),function(){return t.apply(this,e(n,arguments))})})}var Zr=Xr(c),eo=Xr(wn(c)),to=rr([ht,vt]),no=v(function(e,t,n){return ot(J(e,n),t)}),ro=v(function(e,t,n){return jt(e,J(t,n))}),oo=v(function(e,t,n){return t.length>0&&e(J(t,n))}),io=s(function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}),ao=s(function(e,t){for(var n={},r=0,o=e.length;r<o;){var i=e[r];n[i]=t[i],r+=1}return n}),uo=s(function(e,t){var n={};for(var r in t)e(t[r],r,t)&&(n[r]=t[r]);return n});function so(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return Ve.apply(this,ze(arguments))}var lo=s(function(e,t){return c([e],t)}),co=K(Br,1),fo=s(function(e,t){return p(t.length,function(){for(var n=[],r=0;r<t.length;)n.push(t[r].call(this,arguments[r])),r+=1;return e.apply(this,n.concat(Array.prototype.slice.call(arguments,t.length)))})}),po=fo(E,[ao,$e]),ho=v(function(e,t,n){return ot(t,n[e])}),vo=v(function(e,t,n){return er(e,n[t])}),yo=v(function(e,t,n){return ro(e,[t],n)}),go=v(function(e,t,n){return e(n[t])}),mo=s(function(e,t){for(var n=e.length,r=[],o=0;o<n;)r[o]=t[e[o]],o+=1;return r}),bo=s(function(e,t){if(!ar(e)||!ar(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=e;r<t;)n.push(r),r+=1;return n}),wo=v(function(e,t,n){for(var r=n.length-1;r>=0;)t=e(n[r],t),r-=1;return t}),xo=d(4,[],function(e,t,n,r){return L(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),_o=u(w),So=s(function(e,t){var n,r=Number(t),o=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);o<r;)n[o]=e(o),o+=1;return n}),ko=s(function(e,t){return So(Q(e),t)}),Eo=v(function(e,t,n){return n.replace(e,t)}),To=v(function(e,t,n){for(var r=0,o=n.length,i=[t];r<o;)t=e(t,n[r]),i[r+1]=t,r+=1;return i}),Oo=s(function(e,t){return"function"==typeof t.sequence?t.sequence(e):wo(function(e,t){return ne(W(lo,e),t)},e([]),t)}),jo=v(function(e,t,n){return $r(e,Q(t),n)}),Co=s(function(e,t){return Array.prototype.slice.call(t,0).sort(e)}),No=s(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){var r=e(t),o=e(n);return r<o?-1:r>o?1:0})}),Po=s(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,o=0;0===r&&o<e.length;)r=e[o](t,n),o+=1;return r})}),Ao=Zn(1,"split"),Io=s(function(e,t){return[Be(0,e,t),Be(e,ur(t),t)]}),Lo=s(function(e,t){if(e<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],r=0;r<t.length;)n.push(Be(r,r+=e,t));return n}),Ro=s(function(e,t){for(var n=0,r=t.length,o=[];n<r&&!e(t[n]);)o.push(t[n]),n+=1;return[o,Array.prototype.slice.call(t,n)]}),Do=s(function(e,t){return ot(qt(e.length,t),e)}),Mo=s(function(e,t){return Number(e)-Number(t)}),Bo=s(function(e,t){return mt(At(e,t),At(t,e))}),Uo=v(function(e,t,n){return mt(It(e,t,n),It(e,n,t))}),Fo=s(function(e,t){for(var n=t.length-1;n>=0&&e(t[n]);)n-=1;return Be(n+1,1/0,t)}),zo=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=x.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),qo=s(b(["takeWhile"],s(function(e,t){return new zo(e,t)}),function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Be(0,n,t)})),Vo=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=x.init,e.prototype["@@transducer/result"]=x.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t),this.xf["@@transducer/step"](e,t)},e}(),Ho=s(b([],s(function(e,t){return new Vo(e,t)}),function(e,t){return e(t),t}));var Wo=s(function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+gt(e));var n;return Ce(e).test(t)}),Jo=s(function(e,t){return Yr("then",t),t.then(e)}),Yo=Zn(0,"toLowerCase"),Go=u(function(e){var t=[];for(var n in e)M(n,e)&&(t[t.length]=[n,e[n]]);return t}),Ko=u(function(e){var t=[];for(var n in e)t[t.length]=[n,e[n]];return t}),$o=Zn(0,"toUpperCase"),Qo=p(4,function(e,t,n,r){return L(e("function"==typeof t?C(t):t),n,r)}),Xo=u(function(e){for(var t=0,n=[];t<e.length;){for(var r=e[t],o=0;o<r.length;)void 0===n[o]&&(n[o]=[]),n[o].push(r[o]),o+=1;t+=1}return n}),Zo=v(function(e,t,n){return"function"==typeof n["fantasy-land/traverse"]?n["fantasy-land/traverse"](t,e):Oo(e,W(t,n))}),ei="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",ti=u("function"==typeof String.prototype.trim&&!ei.trim()&&"​".trim()?function(e){return e.trim()}:function(e){var t=new RegExp("^["+ei+"]["+ei+"]*"),n=new RegExp("["+ei+"]["+ei+"]*$");return e.replace(t,"").replace(n,"")}),ni=s(function(e,t){return f(e.length,function(){try{return e.apply(this,arguments)}catch(e){return t.apply(this,c([e],arguments))}})}),ri=u(function(e){return function(){return e(Array.prototype.slice.call(arguments,0))}}),oi=u(function(e){return ge(1,e)}),ii=s(function(e,t){return p(e,function(){for(var n,r=1,o=t,i=0;r<=e&&"function"==typeof o;)n=r===e?arguments.length:i+o.length,o=o.apply(this,Array.prototype.slice.call(arguments,i,n)),r+=1,i=n;return o})}),ai=s(function(e,t){for(var n=e(t),r=[];n&&n.length;)r[r.length]=n[0],n=e(n[1]);return r}),ui=s(qe(qn,c)),si=s(function(e,t){for(var n,r=0,o=t.length,i=[];r<o;)et(e,n=t[r],i)||(i[i.length]=n),r+=1;return i}),li=v(function(e,t,n){return si(e,c(t,n))}),ci=v(function(e,t,n){return e(n)?n:t(n)}),fi=Oe(Ke),di=v(function(e,t,n){for(var r=n;!e(r);)r=t(r);return r}),pi=u(function(e){var t,n=[];for(t in e)n[n.length]=e[t];return n}),hi=function(e){return{value:e,"fantasy-land/map":function(){return this}}},vi=s(function(e,t){return e(hi)(t).value}),yi=v(function(e,t,n){return e(n)?t(n):n}),gi=s(function(e,t){for(var n in e)if(M(n,e)&&!e[n](t[n]))return!1;return!0}),mi=s(function(e,t){return gi(W(ot,e),t)}),bi=s(function(e,t){return vt(wn(at)(e),t)}),wi=s(function(e,t){for(var n,r=0,o=e.length,i=t.length,a=[];r<o;){for(n=0;n<i;)a[a.length]=[e[r],t[n]],n+=1;r+=1}return a}),xi=s(function(e,t){for(var n=[],r=0,o=Math.min(e.length,t.length);r<o;)n[r]=[e[r],t[r]],r+=1;return n}),_i=s(function(e,t){for(var n=0,r=Math.min(e.length,t.length),o={};n<r;)o[e[n]]=t[n],n+=1;return o}),Si=v(function(e,t,n){for(var r=[],o=0,i=Math.min(t.length,n.length);o<i;)r[o]=e(t[o],n[o]),o+=1;return r}),ki=u(function(e){return p(e.length,function(){var t=arguments;return function(){return e.apply(this,t)}})});n.d(t,"F",function(){return r}),n.d(t,"T",function(){return o}),n.d(t,"__",function(){return i}),n.d(t,"add",function(){return l}),n.d(t,"addIndex",function(){return h}),n.d(t,"adjust",function(){return y}),n.d(t,"all",function(){return S}),n.d(t,"allPass",function(){return $}),n.d(t,"always",function(){return Q}),n.d(t,"and",function(){return X}),n.d(t,"any",function(){return ee}),n.d(t,"anyPass",function(){return te}),n.d(t,"ap",function(){return ne}),n.d(t,"aperture",function(){return ie}),n.d(t,"append",function(){return ae}),n.d(t,"apply",function(){return ue}),n.d(t,"applySpec",function(){return ce}),n.d(t,"applyTo",function(){return fe}),n.d(t,"ascend",function(){return de}),n.d(t,"assoc",function(){return pe}),n.d(t,"assocPath",function(){return ye}),n.d(t,"binary",function(){return me}),n.d(t,"bind",function(){return N}),n.d(t,"both",function(){return _e}),n.d(t,"call",function(){return ke}),n.d(t,"chain",function(){return Oe}),n.d(t,"clamp",function(){return je}),n.d(t,"clone",function(){return Ae}),n.d(t,"comparator",function(){return Ie}),n.d(t,"complement",function(){return Re}),n.d(t,"compose",function(){return qe}),n.d(t,"composeK",function(){return Ve}),n.d(t,"composeP",function(){return Je}),n.d(t,"composeWith",function(){return Xe}),n.d(t,"concat",function(){return mt}),n.d(t,"cond",function(){return bt}),n.d(t,"construct",function(){return xt}),n.d(t,"constructN",function(){return wt}),n.d(t,"contains",function(){return _t}),n.d(t,"converge",function(){return St}),n.d(t,"countBy",function(){return Tt}),n.d(t,"curry",function(){return Se}),n.d(t,"curryN",function(){return p}),n.d(t,"dec",function(){return Ot}),n.d(t,"defaultTo",function(){return jt}),n.d(t,"descend",function(){return Ct}),n.d(t,"difference",function(){return At}),n.d(t,"differenceWith",function(){return It}),n.d(t,"dissoc",function(){return Lt}),n.d(t,"dissocPath",function(){return Mt}),n.d(t,"divide",function(){return Bt}),n.d(t,"drop",function(){return Ft}),n.d(t,"dropLast",function(){return Wt}),n.d(t,"dropLastWhile",function(){return Gt}),n.d(t,"dropRepeats",function(){return Zt}),n.d(t,"dropRepeatsWith",function(){return Xt}),n.d(t,"dropWhile",function(){return tn}),n.d(t,"either",function(){return rn}),n.d(t,"empty",function(){return on}),n.d(t,"endsWith",function(){return un}),n.d(t,"eqBy",function(){return sn}),n.d(t,"eqProps",function(){return ln}),n.d(t,"equals",function(){return ot}),n.d(t,"evolve",function(){return cn}),n.d(t,"filter",function(){return ht}),n.d(t,"find",function(){return dn}),n.d(t,"findIndex",function(){return hn}),n.d(t,"findLast",function(){return yn}),n.d(t,"findLastIndex",function(){return mn}),n.d(t,"flatten",function(){return bn}),n.d(t,"flip",function(){return wn}),n.d(t,"forEach",function(){return xn}),n.d(t,"forEachObjIndexed",function(){return _n}),n.d(t,"fromPairs",function(){return Sn}),n.d(t,"groupBy",function(){return kn}),n.d(t,"groupWith",function(){return En}),n.d(t,"gt",function(){return Tn}),n.d(t,"gte",function(){return On}),n.d(t,"has",function(){return Cn}),n.d(t,"hasIn",function(){return Nn}),n.d(t,"hasPath",function(){return jn}),n.d(t,"head",function(){return Ge}),n.d(t,"identical",function(){return Pn}),n.d(t,"identity",function(){return $e}),n.d(t,"ifElse",function(){return An}),n.d(t,"inc",function(){return In}),n.d(t,"includes",function(){return Ln}),n.d(t,"indexBy",function(){return Rn}),n.d(t,"indexOf",function(){return Dn}),n.d(t,"init",function(){return Mn}),n.d(t,"innerJoin",function(){return Bn}),n.d(t,"insert",function(){return Un}),n.d(t,"insertAll",function(){return Fn}),n.d(t,"intersection",function(){return Vn}),n.d(t,"intersperse",function(){return Hn}),n.d(t,"into",function(){return $n}),n.d(t,"invert",function(){return Qn}),n.d(t,"invertObj",function(){return Xn}),n.d(t,"invoker",function(){return Zn}),n.d(t,"is",function(){return er}),n.d(t,"isEmpty",function(){return tr}),n.d(t,"isNil",function(){return ve}),n.d(t,"join",function(){return nr}),n.d(t,"juxt",function(){return rr}),n.d(t,"keys",function(){return H}),n.d(t,"keysIn",function(){return or}),n.d(t,"last",function(){return Qt}),n.d(t,"lastIndexOf",function(){return ir}),n.d(t,"length",function(){return ur}),n.d(t,"lens",function(){return sr}),n.d(t,"lensIndex",function(){return lr}),n.d(t,"lensPath",function(){return cr}),n.d(t,"lensProp",function(){return fr}),n.d(t,"lift",function(){return xe}),n.d(t,"liftN",function(){return we}),n.d(t,"lt",function(){return dr}),n.d(t,"lte",function(){return pr}),n.d(t,"map",function(){return W}),n.d(t,"mapAccum",function(){return hr}),n.d(t,"mapAccumRight",function(){return vr}),n.d(t,"mapObjIndexed",function(){return yr}),n.d(t,"match",function(){return gr}),n.d(t,"mathMod",function(){return mr}),n.d(t,"max",function(){return k}),n.d(t,"maxBy",function(){return br}),n.d(t,"mean",function(){return xr}),n.d(t,"median",function(){return _r}),n.d(t,"memoizeWith",function(){return Sr}),n.d(t,"merge",function(){return kr}),n.d(t,"mergeAll",function(){return Er}),n.d(t,"mergeDeepLeft",function(){return jr}),n.d(t,"mergeDeepRight",function(){return Cr}),n.d(t,"mergeDeepWith",function(){return Nr}),n.d(t,"mergeDeepWithKey",function(){return Or}),n.d(t,"mergeLeft",function(){return Pr}),n.d(t,"mergeRight",function(){return Ar}),n.d(t,"mergeWith",function(){return Ir}),n.d(t,"mergeWithKey",function(){return Tr}),n.d(t,"min",function(){return Lr}),n.d(t,"minBy",function(){return Rr}),n.d(t,"modulo",function(){return Dr}),n.d(t,"move",function(){return Mr}),n.d(t,"multiply",function(){return Br}),n.d(t,"nAry",function(){return ge}),n.d(t,"negate",function(){return Ur}),n.d(t,"none",function(){return Fr}),n.d(t,"not",function(){return Le}),n.d(t,"nth",function(){return Ye}),n.d(t,"nthArg",function(){return zr}),n.d(t,"o",function(){return qr}),n.d(t,"objOf",function(){return Jn}),n.d(t,"of",function(){return Hr}),n.d(t,"omit",function(){return Wr}),n.d(t,"once",function(){return Jr}),n.d(t,"or",function(){return nn}),n.d(t,"otherwise",function(){return Gr}),n.d(t,"over",function(){return $r}),n.d(t,"pair",function(){return Qr}),n.d(t,"partial",function(){return Zr}),n.d(t,"partialRight",function(){return eo}),n.d(t,"partition",function(){return to}),n.d(t,"path",function(){return J}),n.d(t,"pathEq",function(){return no}),n.d(t,"pathOr",function(){return ro}),n.d(t,"pathSatisfies",function(){return oo}),n.d(t,"pick",function(){return io}),n.d(t,"pickAll",function(){return ao}),n.d(t,"pickBy",function(){return uo}),n.d(t,"pipe",function(){return Fe}),n.d(t,"pipeK",function(){return so}),n.d(t,"pipeP",function(){return We}),n.d(t,"pipeWith",function(){return Qe}),n.d(t,"pluck",function(){return G}),n.d(t,"prepend",function(){return lo}),n.d(t,"product",function(){return co}),n.d(t,"project",function(){return po}),n.d(t,"prop",function(){return Y}),n.d(t,"propEq",function(){return ho}),n.d(t,"propIs",function(){return vo}),n.d(t,"propOr",function(){return yo}),n.d(t,"propSatisfies",function(){return go}),n.d(t,"props",function(){return mo}),n.d(t,"range",function(){return bo}),n.d(t,"reduce",function(){return K}),n.d(t,"reduceBy",function(){return Et}),n.d(t,"reduceRight",function(){return wo}),n.d(t,"reduceWhile",function(){return xo}),n.d(t,"reduced",function(){return _o}),n.d(t,"reject",function(){return vt}),n.d(t,"remove",function(){return Rt}),n.d(t,"repeat",function(){return ko}),n.d(t,"replace",function(){return Eo}),n.d(t,"reverse",function(){return ze}),n.d(t,"scan",function(){return To}),n.d(t,"sequence",function(){return Oo}),n.d(t,"set",function(){return jo}),n.d(t,"slice",function(){return Be}),n.d(t,"sort",function(){return Co}),n.d(t,"sortBy",function(){return No}),n.d(t,"sortWith",function(){return Po}),n.d(t,"split",function(){return Ao}),n.d(t,"splitAt",function(){return Io}),n.d(t,"splitEvery",function(){return Lo}),n.d(t,"splitWhen",function(){return Ro}),n.d(t,"startsWith",function(){return Do}),n.d(t,"subtract",function(){return Mo}),n.d(t,"sum",function(){return wr}),n.d(t,"symmetricDifference",function(){return Bo}),n.d(t,"symmetricDifferenceWith",function(){return Uo}),n.d(t,"tail",function(){return Ue}),n.d(t,"take",function(){return qt}),n.d(t,"takeLast",function(){return an}),n.d(t,"takeLastWhile",function(){return Fo}),n.d(t,"takeWhile",function(){return qo}),n.d(t,"tap",function(){return Ho}),n.d(t,"test",function(){return Wo}),n.d(t,"then",function(){return Jo}),n.d(t,"times",function(){return So}),n.d(t,"toLower",function(){return Yo}),n.d(t,"toPairs",function(){return Go}),n.d(t,"toPairsIn",function(){return Ko}),n.d(t,"toString",function(){return gt}),n.d(t,"toUpper",function(){return $o}),n.d(t,"transduce",function(){return Qo}),n.d(t,"transpose",function(){return Xo}),n.d(t,"traverse",function(){return Zo}),n.d(t,"trim",function(){return ti}),n.d(t,"tryCatch",function(){return ni}),n.d(t,"type",function(){return Ne}),n.d(t,"unapply",function(){return ri}),n.d(t,"unary",function(){return oi}),n.d(t,"uncurryN",function(){return ii}),n.d(t,"unfold",function(){return ai}),n.d(t,"union",function(){return ui}),n.d(t,"unionWith",function(){return li}),n.d(t,"uniq",function(){return qn}),n.d(t,"uniqBy",function(){return zn}),n.d(t,"uniqWith",function(){return si}),n.d(t,"unless",function(){return ci}),n.d(t,"unnest",function(){return fi}),n.d(t,"until",function(){return di}),n.d(t,"update",function(){return Dt}),n.d(t,"useWith",function(){return fo}),n.d(t,"values",function(){return se}),n.d(t,"valuesIn",function(){return pi}),n.d(t,"view",function(){return vi}),n.d(t,"when",function(){return yi}),n.d(t,"where",function(){return gi}),n.d(t,"whereEq",function(){return mi}),n.d(t,"without",function(){return bi}),n.d(t,"xprod",function(){return wi}),n.d(t,"zip",function(){return xi}),n.d(t,"zipObj",function(){return _i}),n.d(t,"zipWith",function(){return Si}),n.d(t,"thunkify",function(){return ki})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50);n(51),r.polyfill()},function(e,t,n){(function(t,n){
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.5+7f2b526d
*/
var r;r=function(){"use strict";function e(e){return"function"==typeof e}var r=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=0,i=void 0,a=void 0,u=function(e,t){h[o]=e,h[o+1]=t,2===(o+=2)&&(a?a(v):w())},s="undefined"!=typeof window?window:void 0,l=s||{},c=l.MutationObserver||l.WebKitMutationObserver,f="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var e=setTimeout;return function(){return e(v,1)}}var h=new Array(1e3);function v(){for(var e=0;e<o;e+=2){(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0}o=0}var y,g,m,b,w=void 0;function x(e,t){var n=this,r=new this.constructor(k);void 0===r[S]&&U(r);var o=n._state;if(o){var i=arguments[o-1];u(function(){return M(o,r,i,n._result)})}else R(n,r,e,t);return r}function _(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(k);return P(t,e),t}f?w=function(){return t.nextTick(v)}:c?(g=0,m=new c(v),b=document.createTextNode(""),m.observe(b,{characterData:!0}),w=function(){b.data=g=++g%2}):d?((y=new MessageChannel).port1.onmessage=v,w=function(){return y.port2.postMessage(0)}):w=void 0===s?function(){try{var e=Function("return this")().require("vertx");return void 0!==(i=e.runOnLoop||e.runOnContext)?function(){i(v)}:p()}catch(e){return p()}}():p();var S=Math.random().toString(36).substring(2);function k(){}var E=void 0,T=1,O=2,j={error:null};function C(e){try{return e.then}catch(e){return j.error=e,j}}function N(t,n,r){n.constructor===t.constructor&&r===x&&n.constructor.resolve===_?function(e,t){t._state===T?I(e,t._result):t._state===O?L(e,t._result):R(t,void 0,function(t){return P(e,t)},function(t){return L(e,t)})}(t,n):r===j?(L(t,j.error),j.error=null):void 0===r?I(t,n):e(r)?function(e,t,n){u(function(e){var r=!1,o=function(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}(n,t,function(n){r||(r=!0,t!==n?P(e,n):I(e,n))},function(t){r||(r=!0,L(e,t))},e._label);!r&&o&&(r=!0,L(e,o))},e)}(t,n,r):I(t,n)}function P(e,t){var n,r;e===t?L(e,new TypeError("You cannot resolve a promise with itself")):(r=typeof(n=t),null===n||"object"!==r&&"function"!==r?I(e,t):N(e,t,C(t)))}function A(e){e._onerror&&e._onerror(e._result),D(e)}function I(e,t){e._state===E&&(e._result=t,e._state=T,0!==e._subscribers.length&&u(D,e))}function L(e,t){e._state===E&&(e._state=O,e._result=t,u(A,e))}function R(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+T]=n,o[i+O]=r,0===i&&e._state&&u(D,e)}function D(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?M(n,r,o,i):o(i);e._subscribers.length=0}}function M(t,n,r,o){var i=e(r),a=void 0,u=void 0,s=void 0,l=void 0;if(i){if((a=function(e,t){try{return e(t)}catch(e){return j.error=e,j}}(r,o))===j?(l=!0,u=a.error,a.error=null):s=!0,n===a)return void L(n,new TypeError("A promises callback cannot return that same promise."))}else a=o,s=!0;n._state!==E||(i&&s?P(n,a):l?L(n,u):t===T?I(n,a):t===O&&L(n,a))}var B=0;function U(e){e[S]=B++,e._state=void 0,e._result=void 0,e._subscribers=[]}var F=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(k),this.promise[S]||U(this.promise),r(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?I(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&I(this.promise,this._result))):L(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===E&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===_){var o=C(e);if(o===x&&e._state!==E)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===z){var i=new n(k);N(i,e,o),this._willSettleAt(i,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===E&&(this._remaining--,e===O?L(r,n):this._result[t]=n),0===this._remaining&&I(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;R(e,void 0,function(e){return n._settledAt(T,t,e)},function(e){return n._settledAt(O,t,e)})},e}(),z=function(){function t(e){this[S]=B++,this._result=this._state=void 0,this._subscribers=[],k!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t(function(t){P(e,t)},function(t){L(e,t)})}catch(t){L(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this.constructor;return e(t)?this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){throw e})}):this.then(t,t)},t}();return z.prototype.then=x,z.all=function(e){return new F(this,e).promise},z.race=function(e){var t=this;return r(e)?new t(function(n,r){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(n,r)}):new t(function(e,t){return t(new TypeError("You must pass an array to race."))})},z.resolve=_,z.reject=function(e){var t=new this(k);return L(t,e),t},z._setScheduler=function(e){a=e},z._setAsap=function(e){u=e},z._asap=u,z.polyfill=function(){var e=void 0;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=z},z.Promise=z,z},e.exports=r()}).call(this,n(8),n(3))},function(e,t,n){"use strict";n.r(t),n.d(t,"Headers",function(){return l}),n.d(t,"Request",function(){return y}),n.d(t,"Response",function(){return m}),n.d(t,"DOMException",function(){return w}),n.d(t,"fetch",function(){return x});var r={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};if(r.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r.iterable&&(t[Symbol.iterator]=function(){return t}),t}function l(e){this.map={},e instanceof l?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function c(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function d(e){var t=new FileReader,n=f(t);return t.readAsArrayBuffer(e),n}function p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:r.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():r.arrayBuffer&&r.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||i(e))?this._bodyArrayBuffer=p(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var e=c(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(d)}),this.text=function(){var e,t,n,r=c(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=f(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(e,t){e=a(e),t=u(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},l.prototype.delete=function(e){delete this.map[a(e)]},l.prototype.get=function(e){return e=a(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},l.prototype.set=function(e,t){this.map[a(e)]=u(t)},l.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},l.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),s(e)},l.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),s(e)},l.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),s(e)},r.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(e,t){var n,r,o=(t=t||{}).body;if(e instanceof y){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),v.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function m(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},m.error=function(){var e=new m(null,{status:0,statusText:""});return e.type="error",e};var b=[301,302,303,307,308];m.redirect=function(e,t){if(-1===b.indexOf(t))throw new RangeError("Invalid status code");return new m(null,{status:t,headers:{location:e}})};var w=self.DOMException;try{new w}catch(e){(w=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),w.prototype.constructor=w}function x(e,t){return new Promise(function(n,o){var i=new y(e,t);if(i.signal&&i.signal.aborted)return o(new w("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new l,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;n(new m(o,r))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.onabort=function(){o(new w("Aborted","AbortError"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&r.blob&&(a.responseType="blob"),i.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&i.signal.removeEventListener("abort",u)}),a.send(void 0===i._bodyInit?null:i._bodyInit)})}x.polyfill=!0,self.fetch||(self.fetch=x,self.Headers=l,self.Request=y,self.Response=m)},function(e,t,n){"use strict";
/** @license React v16.7.0
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(21),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,p=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,v=o?Symbol.for("react.memo"):60115,y=o?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,o,i,a,u){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],l=0;(e=Error(t.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function x(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||b}function _(){}function S(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||b}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&m("85"),this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=x.prototype;var k=S.prototype=new _;k.constructor=S,r(k,x.prototype),k.isPureReactComponent=!0;var E={current:null,currentDispatcher:null},T=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,n){var r=void 0,o={},a=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)T.call(t,r)&&!O.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:i,type:e,key:a,ref:u,props:o,_owner:E.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var N=/\/+/g,P=[];function A(e,t,n,r){if(P.length){var o=P.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function L(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var s=!1;if(null===t)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case i:case a:s=!0}}if(s)return r(o,t,""===n?"."+R(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var c=n+R(u=t[l],l);s+=e(u,c,r,o)}else if(c=null===t||"object"!=typeof t?null:"function"==typeof(c=g&&t[g]||t["@@iterator"])?c:null,"function"==typeof c)for(t=c.call(t),l=0;!(u=t.next()).done;)s+=e(u=u.value,c=n+R(u,l++),r,o);else"object"===u&&m("31","[object Object]"==(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return s}(e,"",t,n)}function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function D(e,t){e.func.call(e.context,t,e.count++)}function M(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?B(e,r,n,function(e){return e}):null!=e&&(C(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+n)),r.push(e))}function B(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(N,"$&/")+"/"),L(e,M,t=A(t,i,r,o)),I(t)}var U={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return B(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;L(e,D,t=A(null,null,t,n)),I(t)},count:function(e){return L(e,function(){return null},null)},toArray:function(e){var t=[];return B(e,t,null,function(e){return e}),t},only:function(e){return C(e)||m("143"),e}},createRef:function(){return{current:null}},Component:x,PureComponent:S,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:p,render:e}},lazy:function(e){return{$$typeof:y,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:v,type:e,compare:void 0===t?null:t}},Fragment:u,StrictMode:s,Suspense:h,createElement:j,cloneElement:function(e,t,n){null==e&&m("267",e);var o=void 0,a=r({},e.props),u=e.key,s=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,l=E.current),void 0!==t.key&&(u=""+t.key);var c=void 0;for(o in e.type&&e.type.defaultProps&&(c=e.type.defaultProps),t)T.call(t,o)&&!O.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==c?c[o]:t[o])}if(1===(o=arguments.length-2))a.children=n;else if(1<o){c=Array(o);for(var f=0;f<o;f++)c[f]=arguments[f+2];a.children=c}return{$$typeof:i,type:e.type,key:u,ref:s,props:a,_owner:l}},createFactory:function(e){var t=j.bind(null,e);return t.type=e,t},isValidElement:C,version:"16.7.0",unstable_ConcurrentMode:d,unstable_Profiler:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:E,assign:r}},F={default:U},z=F&&U||F;e.exports=z.default||z},function(e,t,n){"use strict";
/** @license React v16.7.0
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(0),o=n(21),i=n(54);function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,o,i,a,u){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],l=0;(e=Error(t.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}r||a("227");var u=!1,s=null,l=!1,c=null,f={onError:function(e){u=!0,s=e}};function d(e,t,n,r,o,i,a,l,c){u=!1,s=null,function(e,t,n,r,o,i,a,u,s){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}.apply(f,arguments)}var p=null,h={};function v(){if(p)for(var e in h){var t=h[e],n=p.indexOf(e);if(-1<n||a("96",e),!g[n])for(var r in t.extractEvents||a("97",e),g[n]=t,n=t.eventTypes){var o=void 0,i=n[r],u=t,s=r;m.hasOwnProperty(s)&&a("99",s),m[s]=i;var l=i.phasedRegistrationNames;if(l){for(o in l)l.hasOwnProperty(o)&&y(l[o],u,s);o=!0}else i.registrationName?(y(i.registrationName,u,s),o=!0):o=!1;o||a("98",r,e)}}}function y(e,t,n){b[e]&&a("100",e),b[e]=t,w[e]=t.eventTypes[n].dependencies}var g=[],m={},b={},w={},x=null,_=null,S=null;function k(e,t,n){var r=e.type||"unknown-event";e.currentTarget=S(n),function(e,t,n,r,o,i,f,p,h){if(d.apply(this,arguments),u){if(u){var v=s;u=!1,s=null}else a("198"),v=void 0;l||(l=!0,c=v)}}(r,t,void 0,e),e.currentTarget=null}function E(e,t){return null==t&&a("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function T(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var O=null;function j(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)k(e,t[r],n[r]);else t&&k(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var C={injectEventPluginOrder:function(e){p&&a("101"),p=Array.prototype.slice.call(e),v()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];h.hasOwnProperty(t)&&h[t]===r||(h[t]&&a("102",t),h[t]=r,n=!0)}n&&v()}};function N(e,t){var n=e.stateNode;if(!n)return null;var r=x(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&a("231",t,typeof n),n)}function P(e){if(null!==e&&(O=E(O,e)),e=O,O=null,e&&(T(e,j),O&&a("95"),l))throw e=c,l=!1,c=null,e}var A=Math.random().toString(36).slice(2),I="__reactInternalInstance$"+A,L="__reactEventHandlers$"+A;function R(e){if(e[I])return e[I];for(;!e[I];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[I]).tag||6===e.tag?e:null}function D(e){return!(e=e[I])||5!==e.tag&&6!==e.tag?null:e}function M(e){if(5===e.tag||6===e.tag)return e.stateNode;a("33")}function B(e){return e[L]||null}function U(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function F(e,t,n){(t=N(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=E(n._dispatchListeners,t),n._dispatchInstances=E(n._dispatchInstances,e))}function z(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=U(t);for(t=n.length;0<t--;)F(n[t],"captured",e);for(t=0;t<n.length;t++)F(n[t],"bubbled",e)}}function q(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=N(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=E(n._dispatchListeners,t),n._dispatchInstances=E(n._dispatchInstances,e))}function V(e){e&&e.dispatchConfig.registrationName&&q(e._targetInst,null,e)}function H(e){T(e,z)}var W=!("undefined"==typeof window||!window.document||!window.document.createElement);function J(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Y={animationend:J("Animation","AnimationEnd"),animationiteration:J("Animation","AnimationIteration"),animationstart:J("Animation","AnimationStart"),transitionend:J("Transition","TransitionEnd")},G={},K={};function $(e){if(G[e])return G[e];if(!Y[e])return e;var t,n=Y[e];for(t in n)if(n.hasOwnProperty(t)&&t in K)return G[e]=n[t];return e}W&&(K=document.createElement("div").style,"AnimationEvent"in window||(delete Y.animationend.animation,delete Y.animationiteration.animation,delete Y.animationstart.animation),"TransitionEvent"in window||delete Y.transitionend.transition);var Q=$("animationend"),X=$("animationiteration"),Z=$("animationstart"),ee=$("transitionend"),te="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ne=null,re=null,oe=null;function ie(){if(oe)return oe;var e,t,n=re,r=n.length,o="value"in ne?ne.value:ne.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return oe=o.slice(e,1<t?1-t:void 0)}function ae(){return!0}function ue(){return!1}function se(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?ae:ue,this.isPropagationStopped=ue,this}function le(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function ce(e){e instanceof this||a("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=le,e.release=ce}o(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){this.isPersistent=ae},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(se);var de=se.extend({data:null}),pe=se.extend({data:null}),he=[9,13,27,32],ve=W&&"CompositionEvent"in window,ye=null;W&&"documentMode"in document&&(ye=document.documentMode);var ge=W&&"TextEvent"in window&&!ye,me=W&&(!ve||ye&&8<ye&&11>=ye),be=String.fromCharCode(32),we={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},xe=!1;function _e(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Se(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ke=!1;var Ee={eventTypes:we,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(ve)e:{switch(e){case"compositionstart":o=we.compositionStart;break e;case"compositionend":o=we.compositionEnd;break e;case"compositionupdate":o=we.compositionUpdate;break e}o=void 0}else ke?_e(e,n)&&(o=we.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=we.compositionStart);return o?(me&&"ko"!==n.locale&&(ke||o!==we.compositionStart?o===we.compositionEnd&&ke&&(i=ie()):(re="value"in(ne=r)?ne.value:ne.textContent,ke=!0)),o=de.getPooled(o,t,n,r),i?o.data=i:null!==(i=Se(n))&&(o.data=i),H(o),i=o):i=null,(e=ge?function(e,t){switch(e){case"compositionend":return Se(t);case"keypress":return 32!==t.which?null:(xe=!0,be);case"textInput":return(e=t.data)===be&&xe?null:e;default:return null}}(e,n):function(e,t){if(ke)return"compositionend"===e||!ve&&_e(e,t)?(e=ie(),oe=re=ne=null,ke=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return me&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=pe.getPooled(we.beforeInput,t,n,r)).data=e,H(t)):t=null,null===i?t:null===t?i:[i,t]}},Te=null,Oe=null,je=null;function Ce(e){if(e=_(e)){"function"!=typeof Te&&a("280");var t=x(e.stateNode);Te(e.stateNode,e.type,t)}}function Ne(e){Oe?je?je.push(e):je=[e]:Oe=e}function Pe(){if(Oe){var e=Oe,t=je;if(je=Oe=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Ae(e,t){return e(t)}function Ie(e,t,n){return e(t,n)}function Le(){}var Re=!1;function De(e,t){if(Re)return e(t);Re=!0;try{return Ae(e,t)}finally{Re=!1,(null!==Oe||null!==je)&&(Le(),Pe())}}var Me={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Be(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Me[e.type]:"textarea"===t}function Ue(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Fe(e){if(!W)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function ze(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function qe(e){e._valueTracker||(e._valueTracker=function(e){var t=ze(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ve(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ze(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var He=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,We=/^(.*)[\\\/]/,Je="function"==typeof Symbol&&Symbol.for,Ye=Je?Symbol.for("react.element"):60103,Ge=Je?Symbol.for("react.portal"):60106,Ke=Je?Symbol.for("react.fragment"):60107,$e=Je?Symbol.for("react.strict_mode"):60108,Qe=Je?Symbol.for("react.profiler"):60114,Xe=Je?Symbol.for("react.provider"):60109,Ze=Je?Symbol.for("react.context"):60110,et=Je?Symbol.for("react.concurrent_mode"):60111,tt=Je?Symbol.for("react.forward_ref"):60112,nt=Je?Symbol.for("react.suspense"):60113,rt=Je?Symbol.for("react.memo"):60115,ot=Je?Symbol.for("react.lazy"):60116,it="function"==typeof Symbol&&Symbol.iterator;function at(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=it&&e[it]||e["@@iterator"])?e:null}function ut(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case et:return"ConcurrentMode";case Ke:return"Fragment";case Ge:return"Portal";case Qe:return"Profiler";case $e:return"StrictMode";case nt:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case Ze:return"Context.Consumer";case Xe:return"Context.Provider";case tt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case rt:return ut(e.type);case ot:if(e=1===e._status?e._result:null)return ut(e)}return null}function st(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ut(e.type);n=null,r&&(n=ut(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(We,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}var lt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ct=Object.prototype.hasOwnProperty,ft={},dt={};function pt(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var ht={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ht[e]=new pt(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ht[t]=new pt(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ht[e]=new pt(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ht[e]=new pt(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ht[e]=new pt(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){ht[e]=new pt(e,3,!0,e,null)}),["capture","download"].forEach(function(e){ht[e]=new pt(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){ht[e]=new pt(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){ht[e]=new pt(e,5,!1,e.toLowerCase(),null)});var vt=/[\-:]([a-z])/g;function yt(e){return e[1].toUpperCase()}function gt(e,t,n,r){var o=ht.hasOwnProperty(t)?ht[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!ct.call(dt,e)||!ct.call(ft,e)&&(lt.test(e)?dt[e]=!0:(ft[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function mt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function bt(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function wt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=mt(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function xt(e,t){null!=(t=t.checked)&&gt(e,"checked",t,!1)}function _t(e,t){xt(e,t);var n=mt(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?kt(e,t.type,n):t.hasOwnProperty("defaultValue")&&kt(e,t.type,mt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function St(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function kt(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(vt,yt);ht[t]=new pt(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(vt,yt);ht[t]=new pt(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(vt,yt);ht[t]=new pt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),ht.tabIndex=new pt("tabIndex",1,!1,"tabindex",null);var Et={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Tt(e,t,n){return(e=se.getPooled(Et.change,e,t,n)).type="change",Ne(n),H(e),e}var Ot=null,jt=null;function Ct(e){P(e)}function Nt(e){if(Ve(M(e)))return e}function Pt(e,t){if("change"===e)return t}var At=!1;function It(){Ot&&(Ot.detachEvent("onpropertychange",Lt),jt=Ot=null)}function Lt(e){"value"===e.propertyName&&Nt(jt)&&De(Ct,e=Tt(jt,e,Ue(e)))}function Rt(e,t,n){"focus"===e?(It(),jt=n,(Ot=t).attachEvent("onpropertychange",Lt)):"blur"===e&&It()}function Dt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Nt(jt)}function Mt(e,t){if("click"===e)return Nt(t)}function Bt(e,t){if("input"===e||"change"===e)return Nt(t)}W&&(At=Fe("input")&&(!document.documentMode||9<document.documentMode));var Ut={eventTypes:Et,_isInputEventSupported:At,extractEvents:function(e,t,n,r){var o=t?M(t):window,i=void 0,a=void 0,u=o.nodeName&&o.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===o.type?i=Pt:Be(o)?At?i=Bt:(i=Dt,a=Rt):(u=o.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=Mt),i&&(i=i(e,t)))return Tt(i,n,r);a&&a(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&kt(o,"number",o.value)}},Ft=se.extend({view:null,detail:null}),zt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=zt[e])&&!!t[e]}function Vt(){return qt}var Ht=0,Wt=0,Jt=!1,Yt=!1,Gt=Ft.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Vt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Ht;return Ht=e.screenX,Jt?"mousemove"===e.type?e.screenX-t:0:(Jt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Wt;return Wt=e.screenY,Yt?"mousemove"===e.type?e.screenY-t:0:(Yt=!0,0)}}),Kt=Gt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),$t={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Qt={eventTypes:$t,extractEvents:function(e,t,n,r){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?R(t):null):i=null,i===t)return null;var a=void 0,u=void 0,s=void 0,l=void 0;"mouseout"===e||"mouseover"===e?(a=Gt,u=$t.mouseLeave,s=$t.mouseEnter,l="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Kt,u=$t.pointerLeave,s=$t.pointerEnter,l="pointer");var c=null==i?o:M(i);if(o=null==t?o:M(t),(e=a.getPooled(u,i,n,r)).type=l+"leave",e.target=c,e.relatedTarget=o,(n=a.getPooled(s,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=c,r=t,i&&r)e:{for(o=r,l=0,a=t=i;a;a=U(a))l++;for(a=0,s=o;s;s=U(s))a++;for(;0<l-a;)t=U(t),l--;for(;0<a-l;)o=U(o),a--;for(;l--;){if(t===o||t===o.alternate)break e;t=U(t),o=U(o)}t=null}else t=null;for(o=t,t=[];i&&i!==o&&(null===(l=i.alternate)||l!==o);)t.push(i),i=U(i);for(i=[];r&&r!==o&&(null===(l=r.alternate)||l!==o);)i.push(r),r=U(r);for(r=0;r<t.length;r++)q(t[r],"bubbled",e);for(r=i.length;0<r--;)q(i[r],"captured",n);return[e,n]}},Xt=Object.prototype.hasOwnProperty;function Zt(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function en(e,t){if(Zt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Xt.call(t,n[r])||!Zt(e[n[r]],t[n[r]]))return!1;return!0}function tn(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function nn(e){2!==tn(e)&&a("188")}function rn(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=tn(e))&&a("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var u=o.child;u;){if(u===n)return nn(o),e;if(u===r)return nn(o),t;u=u.sibling}a("188")}if(n.return!==r.return)n=o,r=i;else{u=!1;for(var s=o.child;s;){if(s===n){u=!0,n=o,r=i;break}if(s===r){u=!0,r=o,n=i;break}s=s.sibling}if(!u){for(s=i.child;s;){if(s===n){u=!0,n=i,r=o;break}if(s===r){u=!0,r=i,n=o;break}s=s.sibling}u||a("189")}}n.alternate!==r&&a("190")}return 3!==n.tag&&a("188"),n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var on=se.extend({animationName:null,elapsedTime:null,pseudoElement:null}),an=se.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),un=Ft.extend({relatedTarget:null});function sn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var ln={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fn=Ft.extend({key:function(e){if(e.key){var t=ln[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=sn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?cn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Vt,charCode:function(e){return"keypress"===e.type?sn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?sn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),dn=Gt.extend({dataTransfer:null}),pn=Ft.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Vt}),hn=se.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vn=Gt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),yn=[["abort","abort"],[Q,"animationEnd"],[X,"animationIteration"],[Z,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[ee,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],gn={},mn={};function bn(e,t){var n=e[0],r="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},gn[e]=t,mn[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){bn(e,!0)}),yn.forEach(function(e){bn(e,!1)});var wn={eventTypes:gn,isInteractiveTopLevelEventType:function(e){return void 0!==(e=mn[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var o=mn[e];if(!o)return null;switch(e){case"keypress":if(0===sn(n))return null;case"keydown":case"keyup":e=fn;break;case"blur":case"focus":e=un;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Gt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=dn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=pn;break;case Q:case X:case Z:e=on;break;case ee:e=hn;break;case"scroll":e=Ft;break;case"wheel":e=vn;break;case"copy":case"cut":case"paste":e=an;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Kt;break;default:e=se}return H(t=e.getPooled(o,t,n,r)),t}},xn=wn.isInteractiveTopLevelEventType,_n=[];function Sn(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r;for(r=n;r.return;)r=r.return;if(!(r=3!==r.tag?null:r.stateNode.containerInfo))break;e.ancestors.push(n),n=R(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=Ue(e.nativeEvent);r=e.topLevelType;for(var i=e.nativeEvent,a=null,u=0;u<g.length;u++){var s=g[u];s&&(s=s.extractEvents(r,t,i,o))&&(a=E(a,s))}P(a)}}var kn=!0;function En(e,t){if(!t)return null;var n=(xn(e)?On:jn).bind(null,e);t.addEventListener(e,n,!1)}function Tn(e,t){if(!t)return null;var n=(xn(e)?On:jn).bind(null,e);t.addEventListener(e,n,!0)}function On(e,t){Ie(jn,e,t)}function jn(e,t){if(kn){var n=Ue(t);if(null===(n=R(n))||"number"!=typeof n.tag||2===tn(n)||(n=null),_n.length){var r=_n.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{De(Sn,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>_n.length&&_n.push(e)}}}var Cn={},Nn=0,Pn="_reactListenersID"+(""+Math.random()).slice(2);function An(e){return Object.prototype.hasOwnProperty.call(e,Pn)||(e[Pn]=Nn++,Cn[e[Pn]]={}),Cn[e[Pn]]}function In(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rn(e,t){var n,r=Ln(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ln(r)}}function Dn(){for(var e=window,t=In();t instanceof e.HTMLIFrameElement;){try{e=t.contentDocument.defaultView}catch(e){break}t=In(e.document)}return t}function Mn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Bn=W&&"documentMode"in document&&11>=document.documentMode,Un={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Fn=null,zn=null,qn=null,Vn=!1;function Hn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Vn||null==Fn||Fn!==In(n)?null:("selectionStart"in(n=Fn)&&Mn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},qn&&en(qn,n)?null:(qn=n,(e=se.getPooled(Un.select,zn,e,t)).type="select",e.target=Fn,H(e),e))}var Wn={eventTypes:Un,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=An(i),o=w.onSelect;for(var a=0;a<o.length;a++){var u=o[a];if(!i.hasOwnProperty(u)||!i[u]){i=!1;break e}}i=!0}o=!i}if(o)return null;switch(i=t?M(t):window,e){case"focus":(Be(i)||"true"===i.contentEditable)&&(Fn=i,zn=t,qn=null);break;case"blur":qn=zn=Fn=null;break;case"mousedown":Vn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Vn=!1,Hn(n,r);case"selectionchange":if(Bn)break;case"keydown":case"keyup":return Hn(n,r)}return null}};function Jn(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function Yn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+mt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Gn(e,t){return null!=t.dangerouslySetInnerHTML&&a("91"),o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Kn(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&a("92"),Array.isArray(t)&&(1>=t.length||a("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:mt(n)}}function $n(e,t){var n=mt(t.value),r=mt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Qn(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}C.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x=B,_=D,S=M,C.injectEventPluginsByName({SimpleEventPlugin:wn,EnterLeaveEventPlugin:Qt,ChangeEventPlugin:Ut,SelectEventPlugin:Wn,BeforeInputEventPlugin:Ee});var Xn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Zn(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function er(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Zn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var tr,nr=void 0,rr=(tr=function(e,t){if(e.namespaceURI!==Xn.svg||"innerHTML"in e)e.innerHTML=t;else{for((nr=nr||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=nr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return tr(e,t)})}:tr);function or(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ir={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ar=["Webkit","ms","Moz","O"];function ur(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ir.hasOwnProperty(e)&&ir[e]?(""+t).trim():t+"px"}function sr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ur(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(ir).forEach(function(e){ar.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ir[t]=ir[e]})});var lr=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function cr(e,t){t&&(lr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&a("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&a("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||a("61")),null!=t.style&&"object"!=typeof t.style&&a("62",""))}function fr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function dr(e,t){var n=An(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=w[t];for(var r=0;r<t.length;r++){var o=t[r];if(!n.hasOwnProperty(o)||!n[o]){switch(o){case"scroll":Tn("scroll",e);break;case"focus":case"blur":Tn("focus",e),Tn("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":Fe(o)&&Tn(o,e);break;case"invalid":case"submit":case"reset":break;default:-1===te.indexOf(o)&&En(o,e)}n[o]=!0}}}function pr(){}var hr=null,vr=null;function yr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function gr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var mr="function"==typeof setTimeout?setTimeout:void 0,br="function"==typeof clearTimeout?clearTimeout:void 0;function wr(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function xr(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var _r=[],Sr=-1;function kr(e){0>Sr||(e.current=_r[Sr],_r[Sr]=null,Sr--)}function Er(e,t){_r[++Sr]=e.current,e.current=t}var Tr={},Or={current:Tr},jr={current:!1},Cr=Tr;function Nr(e,t){var n=e.type.contextTypes;if(!n)return Tr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Pr(e){return null!=(e=e.childContextTypes)}function Ar(e){kr(jr),kr(Or)}function Ir(e){kr(jr),kr(Or)}function Lr(e,t,n){Or.current!==Tr&&a("168"),Er(Or,t),Er(jr,n)}function Rr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())i in e||a("108",ut(t)||"Unknown",i);return o({},n,r)}function Dr(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Tr,Cr=Or.current,Er(Or,t),Er(jr,jr.current),!0}function Mr(e,t,n){var r=e.stateNode;r||a("169"),n?(t=Rr(e,t,Cr),r.__reactInternalMemoizedMergedChildContext=t,kr(jr),kr(Or),Er(Or,t)):kr(jr),Er(jr,n)}var Br=null,Ur=null;function Fr(e){return function(t){try{return e(t)}catch(e){}}}function zr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function qr(e,t,n,r){return new zr(e,t,n,r)}function Vr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Hr(e,t){var n=e.alternate;return null===n?((n=qr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.firstContextDependency=e.firstContextDependency,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wr(e,t,n,r,o,i){var u=2;if(r=e,"function"==typeof e)Vr(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case Ke:return Jr(n.children,o,i,t);case et:return Yr(n,3|o,i,t);case $e:return Yr(n,2|o,i,t);case Qe:return(e=qr(12,n,t,4|o)).elementType=Qe,e.type=Qe,e.expirationTime=i,e;case nt:return(e=qr(13,n,t,o)).elementType=nt,e.type=nt,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Xe:u=10;break e;case Ze:u=9;break e;case tt:u=11;break e;case rt:u=14;break e;case ot:u=16,r=null;break e}a("130",null==e?e:typeof e,"")}return(t=qr(u,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Jr(e,t,n,r){return(e=qr(7,e,r,t)).expirationTime=n,e}function Yr(e,t,n,r){return e=qr(8,e,r,t),t=0==(1&t)?$e:et,e.elementType=t,e.type=t,e.expirationTime=n,e}function Gr(e,t,n){return(e=qr(6,e,null,t)).expirationTime=n,e}function Kr(e,t,n){return(t=qr(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $r(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),Zr(t,e)}function Qr(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:n<t?e.earliestSuspendedTime=t:r>t&&(e.latestSuspendedTime=t),Zr(t,e)}function Xr(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function Zr(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;0===(o=0!==o?o:i)&&(0===e||r<e)&&(o=r),0!==(e=o)&&n>e&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}var eo=!1;function to(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function no(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function ro(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function oo(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function io(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=to(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=to(e.memoizedState),o=n.updateQueue=to(n.memoizedState)):r=e.updateQueue=no(o):null===o&&(o=n.updateQueue=no(r));null===o||r===o?oo(r,t):null===r.lastUpdate||null===o.lastUpdate?(oo(r,t),oo(o,t)):(oo(r,t),o.lastUpdate=t)}function ao(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=to(e.memoizedState):uo(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function uo(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=no(t)),t}function so(e,t,n,r,i,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(i="function"==typeof(e=n.payload)?e.call(a,r,i):e))break;return o({},r,i);case 2:eo=!0}return r}function lo(e,t,n,r,o){eo=!1;for(var i=(t=uo(e,t)).baseState,a=null,u=0,s=t.firstUpdate,l=i;null!==s;){var c=s.expirationTime;c<o?(null===a&&(a=s,i=l),u<c&&(u=c)):(l=so(e,0,s,l,n,r),null!==s.callback&&(e.effectTag|=32,s.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=s:(t.lastEffect.nextEffect=s,t.lastEffect=s))),s=s.next}for(c=null,s=t.firstCapturedUpdate;null!==s;){var f=s.expirationTime;f<o?(null===c&&(c=s,null===a&&(i=l)),u<f&&(u=f)):(l=so(e,0,s,l,n,r),null!==s.callback&&(e.effectTag|=32,s.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=s:(t.lastCapturedEffect.nextEffect=s,t.lastCapturedEffect=s))),s=s.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(i=l),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=c,e.expirationTime=u,e.memoizedState=l}function co(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),fo(t.firstEffect,n),t.firstEffect=t.lastEffect=null,fo(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function fo(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;"function"!=typeof n&&a("191",n),n.call(r)}e=e.nextEffect}}function po(e,t){return{value:e,source:t,stack:st(t)}}var ho={current:null},vo=null,yo=null,go=null;function mo(e,t){var n=e.type._context;Er(ho,n._currentValue),n._currentValue=t}function bo(e){var t=ho.current;kr(ho),e.type._context._currentValue=t}function wo(e){vo=e,go=yo=null,e.firstContextDependency=null}function xo(e,t){return go!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(go=e,t=1073741823),t={context:e,observedBits:t,next:null},null===yo?(null===vo&&a("293"),vo.firstContextDependency=yo=t):yo=yo.next=t),e._currentValue}var _o={},So={current:_o},ko={current:_o},Eo={current:_o};function To(e){return e===_o&&a("174"),e}function Oo(e,t){Er(Eo,t),Er(ko,e),Er(So,_o);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:er(null,"");break;default:t=er(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}kr(So),Er(So,t)}function jo(e){kr(So),kr(ko),kr(Eo)}function Co(e){To(Eo.current);var t=To(So.current),n=er(t,e.type);t!==n&&(Er(ko,e),Er(So,n))}function No(e){ko.current===e&&(kr(So),kr(ko))}function Po(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Ao=He.ReactCurrentOwner,Io=(new r.Component).refs;function Lo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var Ro={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===tn(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Ta(),o=ro(r=Xi(r,e));o.payload=t,null!=n&&(o.callback=n),Yi(),io(e,o),ta(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Ta(),o=ro(r=Xi(r,e));o.tag=1,o.payload=t,null!=n&&(o.callback=n),Yi(),io(e,o),ta(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Ta(),r=ro(n=Xi(n,e));r.tag=2,null!=t&&(r.callback=t),Yi(),io(e,r),ta(e,n)}};function Do(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!en(n,r)||!en(o,i))}function Mo(e,t,n){var r=!1,o=Tr,i=t.contextType;return"object"==typeof i&&null!==i?i=Ao.currentDispatcher.readContext(i):(o=Pr(t)?Cr:Or.current,i=(r=null!=(r=t.contextTypes))?Nr(e,o):Tr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ro,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Bo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ro.enqueueReplaceState(t,t.state,null)}function Uo(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Io;var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ao.currentDispatcher.readContext(i):(i=Pr(t)?Cr:Or.current,o.context=Nr(e,i)),null!==(i=e.updateQueue)&&(lo(e,i,n,o,r),o.state=e.memoizedState),"function"==typeof(i=t.getDerivedStateFromProps)&&(Lo(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Ro.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(lo(e,i,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var Fo=Array.isArray;function zo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&a("289"),r=n.stateNode),r||a("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===Io&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}"string"!=typeof e&&a("284"),n._owner||a("290",e)}return e}function qo(e,t){"textarea"!==e.type&&a("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Vo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=Hr(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Gr(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=zo(e,t,n),r.return=e,r):((r=Wr(n.type,n.key,n.props,null,e.mode,r)).ref=zo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Kr(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Jr(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Gr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ye:return(n=Wr(t.type,t.key,t.props,null,e.mode,n)).ref=zo(e,null,t),n.return=e,n;case Ge:return(t=Kr(t,e.mode,n)).return=e,t}if(Fo(t)||at(t))return(t=Jr(t,e.mode,n,null)).return=e,t;qo(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ye:return n.key===o?n.type===Ke?f(e,t,n.props.children,r,o):l(e,t,n,r):null;case Ge:return n.key===o?c(e,t,n,r):null}if(Fo(n)||at(n))return null!==o?null:f(e,t,n,r,null);qo(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ye:return e=e.get(null===r.key?n:r.key)||null,r.type===Ke?f(t,e,r.props.children,o,r.key):l(t,e,r,o);case Ge:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Fo(r)||at(r))return f(t,e=e.get(n)||null,r,o,null);qo(t,r)}return null}function v(o,a,u,s){for(var l=null,c=null,f=a,v=a=0,y=null;null!==f&&v<u.length;v++){f.index>v?(y=f,f=null):y=f.sibling;var g=p(o,f,u[v],s);if(null===g){null===f&&(f=y);break}e&&f&&null===g.alternate&&t(o,f),a=i(g,a,v),null===c?l=g:c.sibling=g,c=g,f=y}if(v===u.length)return n(o,f),l;if(null===f){for(;v<u.length;v++)(f=d(o,u[v],s))&&(a=i(f,a,v),null===c?l=f:c.sibling=f,c=f);return l}for(f=r(o,f);v<u.length;v++)(y=h(f,o,v,u[v],s))&&(e&&null!==y.alternate&&f.delete(null===y.key?v:y.key),a=i(y,a,v),null===c?l=y:c.sibling=y,c=y);return e&&f.forEach(function(e){return t(o,e)}),l}function y(o,u,s,l){var c=at(s);"function"!=typeof c&&a("150"),null==(s=c.call(s))&&a("151");for(var f=c=null,v=u,y=u=0,g=null,m=s.next();null!==v&&!m.done;y++,m=s.next()){v.index>y?(g=v,v=null):g=v.sibling;var b=p(o,v,m.value,l);if(null===b){v||(v=g);break}e&&v&&null===b.alternate&&t(o,v),u=i(b,u,y),null===f?c=b:f.sibling=b,f=b,v=g}if(m.done)return n(o,v),c;if(null===v){for(;!m.done;y++,m=s.next())null!==(m=d(o,m.value,l))&&(u=i(m,u,y),null===f?c=m:f.sibling=m,f=m);return c}for(v=r(o,v);!m.done;y++,m=s.next())null!==(m=h(v,o,y,m.value,l))&&(e&&null!==m.alternate&&v.delete(null===m.key?y:m.key),u=i(m,u,y),null===f?c=m:f.sibling=m,f=m);return e&&v.forEach(function(e){return t(o,e)}),c}return function(e,r,i,s){var l="object"==typeof i&&null!==i&&i.type===Ke&&null===i.key;l&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case Ye:e:{for(c=i.key,l=r;null!==l;){if(l.key===c){if(7===l.tag?i.type===Ke:l.elementType===i.type){n(e,l.sibling),(r=o(l,i.type===Ke?i.props.children:i.props)).ref=zo(e,l,i),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}i.type===Ke?((r=Jr(i.props.children,e.mode,s,i.key)).return=e,e=r):((s=Wr(i.type,i.key,i.props,null,e.mode,s)).ref=zo(e,r,i),s.return=e,e=s)}return u(e);case Ge:e:{for(l=i.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Kr(i,e.mode,s)).return=e,e=r}return u(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Gr(i,e.mode,s)).return=e,e=r),u(e);if(Fo(i))return v(e,r,i,s);if(at(i))return y(e,r,i,s);if(c&&qo(e,i),void 0===i&&!l)switch(e.tag){case 1:case 0:a("152",(s=e.type).displayName||s.name||"Component")}return n(e,r)}}var Ho=Vo(!0),Wo=Vo(!1),Jo=null,Yo=null,Go=!1;function Ko(e,t){var n=qr(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function $o(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Qo(e){if(Go){var t=Yo;if(t){var n=t;if(!$o(e,t)){if(!(t=wr(n))||!$o(e,t))return e.effectTag|=2,Go=!1,void(Jo=e);Ko(Jo,n)}Jo=e,Yo=xr(t)}else e.effectTag|=2,Go=!1,Jo=e}}function Xo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Jo=e}function Zo(e){if(e!==Jo)return!1;if(!Go)return Xo(e),Go=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!gr(t,e.memoizedProps))for(t=Yo;t;)Ko(e,t),t=wr(t);return Xo(e),Yo=Jo?wr(e.stateNode):null,!0}function ei(){Yo=Jo=null,Go=!1}var ti=He.ReactCurrentOwner;function ni(e,t,n,r){t.child=null===e?Wo(t,null,n,r):Ho(t,e.child,n,r)}function ri(e,t,n,r,o){n=n.render;var i=t.ref;return wo(t),r=n(r,i),t.effectTag|=1,ni(e,t,r,o),t.child}function oi(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Vr(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Wr(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ii(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:en)(o,r)&&e.ref===t.ref)?di(e,t,i):(t.effectTag|=1,(e=Hr(a,r)).ref=t.ref,e.return=t,t.child=e)}function ii(e,t,n,r,o,i){return null!==e&&o<i&&en(e.memoizedProps,r)&&e.ref===t.ref?di(e,t,i):ui(e,t,n,r,i)}function ai(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function ui(e,t,n,r,o){var i=Pr(n)?Cr:Or.current;return i=Nr(t,i),wo(t),n=n(r,i),t.effectTag|=1,ni(e,t,n,o),t.child}function si(e,t,n,r,o){if(Pr(n)){var i=!0;Dr(t)}else i=!1;if(wo(t),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Mo(t,n,r),Uo(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var s=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=Ao.currentDispatcher.readContext(l):l=Nr(t,l=Pr(n)?Cr:Or.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||s!==l)&&Bo(t,a,r,l),eo=!1;var d=t.memoizedState;s=a.state=d;var p=t.updateQueue;null!==p&&(lo(t,p,r,a,o),s=t.memoizedState),u!==r||d!==s||jr.current||eo?("function"==typeof c&&(Lo(t,n,c,r),s=t.memoizedState),(u=eo||Do(t,n,u,r,d,s,l))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=l,r=u):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,u=t.memoizedProps,a.props=t.type===t.elementType?u:Po(t.type,u),s=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=Ao.currentDispatcher.readContext(l):l=Nr(t,l=Pr(n)?Cr:Or.current),(f="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||s!==l)&&Bo(t,a,r,l),eo=!1,s=t.memoizedState,d=a.state=s,null!==(p=t.updateQueue)&&(lo(t,p,r,a,o),d=t.memoizedState),u!==r||s!==d||jr.current||eo?("function"==typeof c&&(Lo(t,n,c,r),d=t.memoizedState),(c=eo||Do(t,n,u,r,s,d,l))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),r=!1);return li(e,t,n,r,i,o)}function li(e,t,n,r,o,i){ai(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&Mr(t,n,!1),di(e,t,i);r=t.stateNode,ti.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Ho(t,e.child,null,i),t.child=Ho(t,null,u,i)):ni(e,t,u,i),t.memoizedState=r.state,o&&Mr(t,n,!0),t.child}function ci(e){var t=e.stateNode;t.pendingContext?Lr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Lr(0,t.context,!1),Oo(e,t.containerInfo)}function fi(e,t,n){var r=t.mode,o=t.pendingProps,i=t.memoizedState;if(0==(64&t.effectTag)){i=null;var a=!1}else i={timedOutAt:null!==i?i.timedOutAt:0},a=!0,t.effectTag&=-65;if(null===e)if(a){var u=o.fallback;e=Jr(null,r,0,null),0==(1&t.mode)&&(e.child=null!==t.memoizedState?t.child.child:t.child),r=Jr(u,r,n,null),e.sibling=r,(n=e).return=r.return=t}else n=r=Wo(t,null,o.children,n);else null!==e.memoizedState?(u=(r=e.child).sibling,a?(n=o.fallback,o=Hr(r,r.pendingProps),0==(1&t.mode)&&((a=null!==t.memoizedState?t.child.child:t.child)!==r.child&&(o.child=a)),r=o.sibling=Hr(u,n,u.expirationTime),n=o,o.childExpirationTime=0,n.return=r.return=t):n=r=Ho(t,r.child,o.children,n)):(u=e.child,a?(a=o.fallback,(o=Jr(null,r,0,null)).child=u,0==(1&t.mode)&&(o.child=null!==t.memoizedState?t.child.child:t.child),(r=o.sibling=Jr(a,r,n,null)).effectTag|=2,n=o,o.childExpirationTime=0,n.return=r.return=t):r=n=Ho(t,u,o.children,n)),t.stateNode=e.stateNode;return t.memoizedState=i,t.child=n,r}function di(e,t,n){if(null!==e&&(t.firstContextDependency=e.firstContextDependency),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child&&a("153"),null!==t.child){for(n=Hr(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Hr(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function pi(e,t,n){var r=t.expirationTime;if(null!==e&&e.memoizedProps===t.pendingProps&&!jr.current&&r<n){switch(t.tag){case 3:ci(t),ei();break;case 5:Co(t);break;case 1:Pr(t.type)&&Dr(t);break;case 4:Oo(t,t.stateNode.containerInfo);break;case 10:mo(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?fi(e,t,n):null!==(t=di(e,t,n))?t.sibling:null}return di(e,t,n)}switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var o=Nr(t,Or.current);if(wo(t),o=r(e,o),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,Pr(r)){var i=!0;Dr(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var u=r.getDerivedStateFromProps;"function"==typeof u&&Lo(t,r,u,e),o.updater=Ro,t.stateNode=o,o._reactInternalFiber=t,Uo(t,r,e,n),t=li(null,t,r,!0,i,n)}else t.tag=0,ni(null,t,o,n),t=t.child;return t;case 16:switch(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),i=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:throw e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._result=t,t}}(o),t.type=e,o=t.tag=function(e){if("function"==typeof e)return Vr(e)?1:0;if(null!=e){if((e=e.$$typeof)===tt)return 11;if(e===rt)return 14}return 2}(e),i=Po(e,i),u=void 0,o){case 0:u=ui(null,t,e,i,n);break;case 1:u=si(null,t,e,i,n);break;case 11:u=ri(null,t,e,i,n);break;case 14:u=oi(null,t,e,Po(e.type,i),r,n);break;default:a("306",e,"")}return u;case 0:return r=t.type,o=t.pendingProps,ui(e,t,r,o=t.elementType===r?o:Po(r,o),n);case 1:return r=t.type,o=t.pendingProps,si(e,t,r,o=t.elementType===r?o:Po(r,o),n);case 3:return ci(t),null===(r=t.updateQueue)&&a("282"),o=null!==(o=t.memoizedState)?o.element:null,lo(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===o?(ei(),t=di(e,t,n)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(Yo=xr(t.stateNode.containerInfo),Jo=t,o=Go=!0),o?(t.effectTag|=2,t.child=Wo(t,null,r,n)):(ni(e,t,r,n),ei()),t=t.child),t;case 5:return Co(t),null===e&&Qo(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,u=o.children,gr(r,o)?u=null:null!==i&&gr(r,i)&&(t.effectTag|=16),ai(e,t),1!==n&&1&t.mode&&o.hidden?(t.expirationTime=1,t=null):(ni(e,t,u,n),t=t.child),t;case 6:return null===e&&Qo(t),null;case 13:return fi(e,t,n);case 4:return Oo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ho(t,null,r,n):ni(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ri(e,t,r,o=t.elementType===r?o:Po(r,o),n);case 7:return ni(e,t,t.pendingProps,n),t.child;case 8:case 12:return ni(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,u=t.memoizedProps,mo(t,i=o.value),null!==u){var s=u.value;if(0===(i=s===i&&(0!==s||1/s==1/i)||s!=s&&i!=i?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,i):1073741823))){if(u.children===o.children&&!jr.current){t=di(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){if(null!==(s=u.firstContextDependency))do{if(s.context===r&&0!=(s.observedBits&i)){if(1===u.tag){var l=ro(n);l.tag=2,io(u,l)}u.expirationTime<n&&(u.expirationTime=n),null!==(l=u.alternate)&&l.expirationTime<n&&(l.expirationTime=n);for(var c=u.return;null!==c;){if(l=c.alternate,c.childExpirationTime<n)c.childExpirationTime=n,null!==l&&l.childExpirationTime<n&&(l.childExpirationTime=n);else{if(!(null!==l&&l.childExpirationTime<n))break;l.childExpirationTime=n}c=c.return}}l=u.child,s=s.next}while(null!==s);else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}}ni(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,wo(t),r=r(o=xo(o,i.unstable_observedBits)),t.effectTag|=1,ni(e,t,r,n),t.child;case 14:return i=Po(o=t.type,t.pendingProps),oi(e,t,o,i=Po(o.type,i),r,n);case 15:return ii(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Po(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Pr(r)?(e=!0,Dr(t)):e=!1,wo(t),Mo(t,r,o),Uo(t,r,o,n),li(null,t,r,!0,e,n);default:a("156")}}function hi(e){e.effectTag|=4}var vi=void 0,yi=void 0,gi=void 0,mi=void 0;vi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},yi=function(){},gi=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var u=t.stateNode;switch(To(So.current),e=null,n){case"input":a=bt(u,a),r=bt(u,r),e=[];break;case"option":a=Jn(u,a),r=Jn(u,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Gn(u,a),r=Gn(u,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(u.onclick=pr)}cr(n,r),u=n=void 0;var s=null;for(n in a)if(!r.hasOwnProperty(n)&&a.hasOwnProperty(n)&&null!=a[n])if("style"===n){var l=a[n];for(u in l)l.hasOwnProperty(u)&&(s||(s={}),s[u]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(b.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var c=r[n];if(l=null!=a?a[n]:void 0,r.hasOwnProperty(n)&&c!==l&&(null!=c||null!=l))if("style"===n)if(l){for(u in l)!l.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(s||(s={}),s[u]="");for(u in c)c.hasOwnProperty(u)&&l[u]!==c[u]&&(s||(s={}),s[u]=c[u])}else s||(e||(e=[]),e.push(n,s)),s=c;else"dangerouslySetInnerHTML"===n?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(e=e||[]).push(n,""+c)):"children"===n?l===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(n,""+c):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(b.hasOwnProperty(n)?(null!=c&&dr(i,n),e||l===c||(e=[])):(e=e||[]).push(n,c))}s&&(e=e||[]).push("style",s),i=e,(t.updateQueue=i)&&hi(t)}},mi=function(e,t,n,r){n!==r&&hi(t)};var bi="function"==typeof WeakSet?WeakSet:Set;function wi(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=st(n)),null!==n&&ut(n.type),t=t.value,null!==e&&1===e.tag&&ut(e.type);try{console.error(t)}catch(e){setTimeout(function(){throw e})}}function xi(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Qi(e,t)}else t.current=null}function _i(e){switch("function"==typeof Ur&&Ur(e),e.tag){case 0:case 11:case 14:case 15:var t=e.updateQueue;if(null!==t&&null!==(t=t.lastEffect)){var n=t=t.next;do{var r=n.destroy;if(null!==r){var o=e;try{r()}catch(e){Qi(o,e)}}n=n.next}while(n!==t)}break;case 1:if(xi(e),"function"==typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Qi(e,t)}break;case 5:xi(e);break;case 4:Ei(e)}}function Si(e){return 5===e.tag||3===e.tag||4===e.tag}function ki(e){e:{for(var t=e.return;null!==t;){if(Si(t)){var n=t;break e}t=t.return}a("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:a("161")}16&n.effectTag&&(or(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Si(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(r){var i=t,u=o.stateNode,s=n;8===i.nodeType?i.parentNode.insertBefore(u,s):i.insertBefore(u,s)}else t.insertBefore(o.stateNode,n);else r?(u=t,s=o.stateNode,8===u.nodeType?(i=u.parentNode).insertBefore(s,u):(i=u).appendChild(s),null!=(u=u._reactRootContainer)||null!==i.onclick||(i.onclick=pr)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Ei(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&a("160"),n.tag){case 5:r=n.stateNode,o=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,u=i;;)if(_i(u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===i)break;for(;null===u.sibling;){if(null===u.return||u.return===i)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}o?(i=r,u=t.stateNode,8===i.nodeType?i.parentNode.removeChild(u):i.removeChild(u)):r.removeChild(t.stateNode)}else if(4===t.tag?(r=t.stateNode.containerInfo,o=!0):_i(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function Ti(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,n,r,o){e[L]=o,"input"===n&&"radio"===o.type&&null!=o.name&&xt(e,o),fr(n,r),r=fr(n,o);for(var i=0;i<t.length;i+=2){var a=t[i],u=t[i+1];"style"===a?sr(e,u):"dangerouslySetInnerHTML"===a?rr(e,u):"children"===a?or(e,u):gt(e,a,u,r)}switch(n){case"input":_t(e,o);break;case"textarea":$n(e,o);break;case"select":t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,null!=(n=o.value)?Yn(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?Yn(e,!!o.multiple,o.defaultValue,!0):Yn(e,!!o.multiple,o.multiple?[]:"",!1))}}(n,i,o,e,r)}break;case 6:null===t.stateNode&&a("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t.memoizedState,r=void 0,e=t,null===n?r=!1:(r=!0,e=t.child,0===n.timedOutAt&&(n.timedOutAt=Ta())),null!==e&&function(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)r.style.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=ur("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else{if(13===n.tag&&null!==n.memoizedState){(r=n.child.sibling).return=n,n=r;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(e,r),null!==(n=t.updateQueue)){t.updateQueue=null;var u=t.stateNode;null===u&&(u=t.stateNode=new bi),n.forEach(function(e){var n=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=Xi(t=Ta(),e),null!==(e=ea(e,t))&&($r(e,t),0!==(t=e.expirationTime)&&Oa(e,t))}.bind(null,t,e);u.has(e)||(u.add(e),e.then(n,n))})}break;case 17:break;default:a("163")}}var Oi="function"==typeof WeakMap?WeakMap:Map;function ji(e,t,n){(n=ro(n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Da(r),wi(e,t)},n}function Ci(e,t,n){(n=ro(n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Wi?Wi=new Set([this]):Wi.add(this));var n=t.value,o=t.stack;wi(e,t),this.componentDidCatch(n,{componentStack:null!==o?o:""})}),n}function Ni(e){switch(e.tag){case 1:Pr(e.type)&&Ar();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:return jo(),Ir(),0!=(64&(t=e.effectTag))&&a("285"),e.effectTag=-2049&t|64,e;case 5:return No(e),null;case 13:return 2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 4:return jo(),null;case 10:return bo(e),null;default:return null}}var Pi={readContext:xo},Ai=He.ReactCurrentOwner,Ii=1073741822,Li=0,Ri=!1,Di=null,Mi=null,Bi=0,Ui=-1,Fi=!1,zi=null,qi=!1,Vi=null,Hi=null,Wi=null;function Ji(){if(null!==Di)for(var e=Di.return;null!==e;){var t=e;switch(t.tag){case 1:var n=t.type.childContextTypes;null!=n&&Ar();break;case 3:jo(),Ir();break;case 5:No(t);break;case 4:jo();break;case 10:bo(t)}e=e.return}Mi=null,Bi=0,Ui=-1,Fi=!1,Di=null}function Yi(){null!==Hi&&(i.unstable_cancelCallback(Vi),Hi())}function Gi(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){Di=e;e:{var i=t,u=Bi,s=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Pr(t.type)&&Ar();break;case 3:jo(),Ir(),(s=t.stateNode).pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),null!==i&&null!==i.child||(Zo(t),t.effectTag&=-3),yi(t);break;case 5:No(t);var l=To(Eo.current);if(u=t.type,null!==i&&null!=t.stateNode)gi(i,t,u,s,l),i.ref!==t.ref&&(t.effectTag|=128);else if(s){var c=To(So.current);if(Zo(t)){i=(s=t).stateNode;var f=s.type,d=s.memoizedProps,p=l;switch(i[I]=s,i[L]=d,u=void 0,l=f){case"iframe":case"object":En("load",i);break;case"video":case"audio":for(f=0;f<te.length;f++)En(te[f],i);break;case"source":En("error",i);break;case"img":case"image":case"link":En("error",i),En("load",i);break;case"form":En("reset",i),En("submit",i);break;case"details":En("toggle",i);break;case"input":wt(i,d),En("invalid",i),dr(p,"onChange");break;case"select":i._wrapperState={wasMultiple:!!d.multiple},En("invalid",i),dr(p,"onChange");break;case"textarea":Kn(i,d),En("invalid",i),dr(p,"onChange")}for(u in cr(l,d),f=null,d)d.hasOwnProperty(u)&&(c=d[u],"children"===u?"string"==typeof c?i.textContent!==c&&(f=["children",c]):"number"==typeof c&&i.textContent!==""+c&&(f=["children",""+c]):b.hasOwnProperty(u)&&null!=c&&dr(p,u));switch(l){case"input":qe(i),St(i,d,!0);break;case"textarea":qe(i),Qn(i);break;case"select":case"option":break;default:"function"==typeof d.onClick&&(i.onclick=pr)}u=f,s.updateQueue=u,(s=null!==u)&&hi(t)}else{d=t,i=u,p=s,f=9===l.nodeType?l:l.ownerDocument,c===Xn.html&&(c=Zn(i)),c===Xn.html?"script"===i?((i=f.createElement("div")).innerHTML="<script><\/script>",f=i.removeChild(i.firstChild)):"string"==typeof p.is?f=f.createElement(i,{is:p.is}):(f=f.createElement(i),"select"===i&&p.multiple&&(f.multiple=!0)):f=f.createElementNS(c,i),(i=f)[I]=d,i[L]=s,vi(i,t,!1,!1),p=i;var h=l,v=fr(f=u,d=s);switch(f){case"iframe":case"object":En("load",p),l=d;break;case"video":case"audio":for(l=0;l<te.length;l++)En(te[l],p);l=d;break;case"source":En("error",p),l=d;break;case"img":case"image":case"link":En("error",p),En("load",p),l=d;break;case"form":En("reset",p),En("submit",p),l=d;break;case"details":En("toggle",p),l=d;break;case"input":wt(p,d),l=bt(p,d),En("invalid",p),dr(h,"onChange");break;case"option":l=Jn(p,d);break;case"select":p._wrapperState={wasMultiple:!!d.multiple},l=o({},d,{value:void 0}),En("invalid",p),dr(h,"onChange");break;case"textarea":Kn(p,d),l=Gn(p,d),En("invalid",p),dr(h,"onChange");break;default:l=d}cr(f,l),c=void 0;var y=f,g=p,m=l;for(c in m)if(m.hasOwnProperty(c)){var w=m[c];"style"===c?sr(g,w):"dangerouslySetInnerHTML"===c?null!=(w=w?w.__html:void 0)&&rr(g,w):"children"===c?"string"==typeof w?("textarea"!==y||""!==w)&&or(g,w):"number"==typeof w&&or(g,""+w):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(b.hasOwnProperty(c)?null!=w&&dr(h,c):null!=w&&gt(g,c,w,v))}switch(f){case"input":qe(p),St(p,d,!1);break;case"textarea":qe(p),Qn(p);break;case"option":null!=d.value&&p.setAttribute("value",""+mt(d.value));break;case"select":(l=p).multiple=!!d.multiple,null!=(p=d.value)?Yn(l,!!d.multiple,p,!1):null!=d.defaultValue&&Yn(l,!!d.multiple,d.defaultValue,!0);break;default:"function"==typeof l.onClick&&(p.onclick=pr)}(s=yr(u,s))&&hi(t),t.stateNode=i}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&a("166");break;case 6:i&&null!=t.stateNode?mi(i,t,i.memoizedProps,s):("string"!=typeof s&&(null===t.stateNode&&a("166")),i=To(Eo.current),To(So.current),Zo(t)?(u=(s=t).stateNode,i=s.memoizedProps,u[I]=s,(s=u.nodeValue!==i)&&hi(t)):(u=t,(s=(9===i.nodeType?i:i.ownerDocument).createTextNode(s))[I]=t,u.stateNode=s));break;case 11:break;case 13:if(s=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=u,Di=t;break e}s=null!==s,u=null!==i&&null!==i.memoizedState,null!==i&&!s&&u&&(null!==(i=i.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=i,i.nextEffect=l):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),(s!==u||0==(1&t.effectTag)&&s)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:jo(),yi(t);break;case 10:bo(t);break;case 9:case 14:break;case 17:Pr(t.type)&&Ar();break;default:a("156")}Di=null}if(t=e,1===Bi||1!==t.childExpirationTime){for(s=0,u=t.child;null!==u;)(i=u.expirationTime)>s&&(s=i),(l=u.childExpirationTime)>s&&(s=l),u=u.sibling;t.childExpirationTime=s}if(null!==Di)return Di;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e))}else{if(null!==(e=Ni(e)))return e.effectTag&=1023,e;null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=1024)}if(null!==r)return r;if(null===n)break;e=n}return null}function Ki(e){var t=pi(e.alternate,e,Bi);return e.memoizedProps=e.pendingProps,null===t&&(t=Gi(e)),Ai.current=null,t}function $i(e,t){Ri&&a("243"),Yi(),Ri=!0,Ai.currentDispatcher=Pi;var n=e.nextExpirationTimeToWorkOn;n===Bi&&e===Mi&&null!==Di||(Ji(),Bi=n,Di=Hr((Mi=e).current,null),e.pendingCommitExpirationTime=0);for(var r=!1;;){try{if(t)for(;null!==Di&&!Na();)Di=Ki(Di);else for(;null!==Di;)Di=Ki(Di)}catch(t){if(go=yo=vo=null,null===Di)r=!0,Da(t);else{null===Di&&a("271");var o=Di,i=o.return;if(null!==i){e:{var u=e,s=i,l=o,c=t;if(i=Bi,l.effectTag|=1024,l.firstEffect=l.lastEffect=null,null!==c&&"object"==typeof c&&"function"==typeof c.then){var f=c;c=s;var d=-1,p=-1;do{if(13===c.tag){var h=c.alternate;if(null!==h&&null!==(h=h.memoizedState)){p=10*(1073741822-h.timedOutAt);break}"number"==typeof(h=c.pendingProps.maxDuration)&&(0>=h?d=0:(-1===d||h<d)&&(d=h))}c=c.return}while(null!==c);c=s;do{if((h=13===c.tag)&&(h=void 0!==c.memoizedProps.fallback&&null===c.memoizedState),h){if(null===(s=c.updateQueue)?c.updateQueue=new Set([f]):s.add(f),0==(1&c.mode)){c.effectTag|=64,l.effectTag&=-1957,1===l.tag&&(null===l.alternate?l.tag=17:((i=ro(1073741823)).tag=2,io(l,i))),l.expirationTime=1073741823;break e}null===(l=u.pingCache)?(l=u.pingCache=new Oi,s=new Set,l.set(f,s)):void 0===(s=l.get(f))&&(s=new Set,l.set(f,s)),s.has(i)||(s.add(i),l=Zi.bind(null,u,f,i),f.then(l,l)),-1===d?u=1073741823:(-1===p&&(p=10*(1073741822-Xr(u,i))-5e3),u=p+d),0<=u&&Ui<u&&(Ui=u),c.effectTag|=2048,c.expirationTime=i;break e}c=c.return}while(null!==c);c=Error((ut(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+st(l))}Fi=!0,c=po(c,l),u=s;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=i,ao(u,i=ji(u,c,i));break e;case 1:if(f=c,d=u.type,p=u.stateNode,0==(64&u.effectTag)&&("function"==typeof d.getDerivedStateFromError||null!==p&&"function"==typeof p.componentDidCatch&&(null===Wi||!Wi.has(p)))){u.effectTag|=2048,u.expirationTime=i,ao(u,i=Ci(u,f,i));break e}}u=u.return}while(null!==u)}Di=Gi(o);continue}r=!0,Da(t)}}break}if(Ri=!1,go=yo=vo=Ai.currentDispatcher=null,r)Mi=null,e.finishedWork=null;else if(null!==Di)e.finishedWork=null;else{if(null===(r=e.current.alternate)&&a("281"),Mi=null,Fi){if(o=e.latestPendingTime,i=e.latestSuspendedTime,u=e.latestPingedTime,0!==o&&o<n||0!==i&&i<n||0!==u&&u<n)return Qr(e,n),void Ea(e,r,n,e.expirationTime,-1);if(!e.didError&&t)return e.didError=!0,n=e.nextExpirationTimeToWorkOn=n,t=e.expirationTime=1073741823,void Ea(e,r,n,t,-1)}t&&-1!==Ui?(Qr(e,n),(t=10*(1073741822-Xr(e,n)))<Ui&&(Ui=t),t=10*(1073741822-Ta()),t=Ui-t,Ea(e,r,n,e.expirationTime,0>t?0:t)):(e.pendingCommitExpirationTime=n,e.finishedWork=r)}}function Qi(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wi||!Wi.has(r)))return io(n,e=Ci(n,e=po(t,e),1073741823)),void ta(n,1073741823);break;case 3:return io(n,e=ji(n,e=po(t,e),1073741823)),void ta(n,1073741823)}n=n.return}3===e.tag&&(io(e,n=ji(e,n=po(t,e),1073741823)),ta(e,1073741823))}function Xi(e,t){return 0!==Li?e=Li:Ri?e=qi?1073741823:Bi:1&t.mode?(e=va?1073741822-10*(1+((1073741822-e+15)/10|0)):1073741822-25*(1+((1073741822-e+500)/25|0)),null!==Mi&&e===Bi&&--e):e=1073741823,va&&(0===ca||e<ca)&&(ca=e),e}function Zi(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),null!==Mi&&Bi===n?Mi=null:(t=e.earliestSuspendedTime,r=e.latestSuspendedTime,0!==t&&n<=t&&n>=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),Zr(n,e),0!==(n=e.expirationTime)&&Oa(e,n)))}function ea(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return o}function ta(e,t){null!==(e=ea(e,t))&&(!Ri&&0!==Bi&&t>Bi&&Ji(),$r(e,t),Ri&&!qi&&Mi===e||Oa(e,e.expirationTime),xa>wa&&(xa=0,a("185")))}function na(e,t,n,r,o){var i=Li;Li=1073741823;try{return e(t,n,r,o)}finally{Li=i}}var ra=null,oa=null,ia=0,aa=void 0,ua=!1,sa=null,la=0,ca=0,fa=!1,da=null,pa=!1,ha=!1,va=!1,ya=null,ga=i.unstable_now(),ma=1073741822-(ga/10|0),ba=ma,wa=50,xa=0,_a=null;function Sa(){ma=1073741822-((i.unstable_now()-ga)/10|0)}function ka(e,t){if(0!==ia){if(t<ia)return;null!==aa&&i.unstable_cancelCallback(aa)}ia=t,e=i.unstable_now()-ga,aa=i.unstable_scheduleCallback(Pa,{timeout:10*(1073741822-t)-e})}function Ea(e,t,n,r,o){e.expirationTime=r,0!==o||Na()?0<o&&(e.timeoutHandle=mr(function(e,t,n){e.pendingCommitExpirationTime=n,e.finishedWork=t,Sa(),ba=ma,Ia(e,n)}.bind(null,e,t,n),o)):(e.pendingCommitExpirationTime=n,e.finishedWork=t)}function Ta(){return ua?ba:(ja(),0!==la&&1!==la||(Sa(),ba=ma),ba)}function Oa(e,t){null===e.nextScheduledRoot?(e.expirationTime=t,null===oa?(ra=oa=e,e.nextScheduledRoot=e):(oa=oa.nextScheduledRoot=e).nextScheduledRoot=ra):t>e.expirationTime&&(e.expirationTime=t),ua||(pa?ha&&(sa=e,la=1073741823,La(e,1073741823,!1)):1073741823===t?Aa(1073741823,!1):ka(e,t))}function ja(){var e=0,t=null;if(null!==oa)for(var n=oa,r=ra;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===oa)&&a("244"),r===r.nextScheduledRoot){ra=oa=r.nextScheduledRoot=null;break}if(r===ra)ra=o=r.nextScheduledRoot,oa.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===oa){(oa=n).nextScheduledRoot=ra,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(o>e&&(e=o,t=r),r===oa)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}sa=t,la=e}var Ca=!1;function Na(){return!!Ca||!!i.unstable_shouldYield()&&(Ca=!0)}function Pa(){try{if(!Na()&&null!==ra){Sa();var e=ra;do{var t=e.expirationTime;0!==t&&ma<=t&&(e.nextExpirationTimeToWorkOn=ma),e=e.nextScheduledRoot}while(e!==ra)}Aa(0,!0)}finally{Ca=!1}}function Aa(e,t){if(ja(),t)for(Sa(),ba=ma;null!==sa&&0!==la&&e<=la&&!(Ca&&ma>la);)La(sa,la,ma>la),ja(),Sa(),ba=ma;else for(;null!==sa&&0!==la&&e<=la;)La(sa,la,!1),ja();if(t&&(ia=0,aa=null),0!==la&&ka(sa,la),xa=0,_a=null,null!==ya)for(e=ya,ya=null,t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){fa||(fa=!0,da=e)}}if(fa)throw e=da,da=null,fa=!1,e}function Ia(e,t){ua&&a("253"),sa=e,la=t,La(e,t,!1),Aa(1073741823,!1)}function La(e,t,n){if(ua&&a("245"),ua=!0,n){var r=e.finishedWork;null!==r?Ra(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,br(r)),$i(e,n),null!==(r=e.finishedWork)&&(Na()?e.finishedWork=r:Ra(e,r,t)))}else null!==(r=e.finishedWork)?Ra(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,br(r)),$i(e,n),null!==(r=e.finishedWork)&&Ra(e,r,t));ua=!1}function Ra(e,t,n){var r=e.firstBatch;if(null!==r&&r._expirationTime>=n&&(null===ya?ya=[r]:ya.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===_a?xa++:(_a=e,xa=0),qi=Ri=!0,e.current===t&&a("177"),0===(n=e.pendingCommitExpirationTime)&&a("261"),e.pendingCommitExpirationTime=0,r=t.expirationTime;var o=t.childExpirationTime;if(r=o>r?o:r,e.didError=!1,0===r?(e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0):(r<e.latestPingedTime&&(e.latestPingedTime=0),0!==(o=e.latestPendingTime)&&(o>r?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>r&&(e.earliestPendingTime=e.latestPendingTime)),0===(o=e.earliestSuspendedTime)?$r(e,r):r<e.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,$r(e,r)):r>o&&$r(e,r)),Zr(0,e),Ai.current=null,1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,r=t.firstEffect):r=t:r=t.firstEffect,hr=kn,Mn(o=Dn())){if("selectionStart"in o)var i={start:o.selectionStart,end:o.selectionEnd};else e:{var u=(i=(i=o.ownerDocument)&&i.defaultView||window).getSelection&&i.getSelection();if(u&&0!==u.rangeCount){i=u.anchorNode;var s=u.anchorOffset,l=u.focusNode;u=u.focusOffset;try{i.nodeType,l.nodeType}catch(e){i=null;break e}var c=0,f=-1,d=-1,p=0,h=0,v=o,y=null;t:for(;;){for(var g;v!==i||0!==s&&3!==v.nodeType||(f=c+s),v!==l||0!==u&&3!==v.nodeType||(d=c+u),3===v.nodeType&&(c+=v.nodeValue.length),null!==(g=v.firstChild);)y=v,v=g;for(;;){if(v===o)break t;if(y===i&&++p===s&&(f=c),y===l&&++h===u&&(d=c),null!==(g=v.nextSibling))break;y=(v=y).parentNode}v=g}i=-1===f||-1===d?null:{start:f,end:d}}else i=null}i=i||{start:0,end:0}}else i=null;for(vr={focusedElem:o,selectionRange:i},kn=!1,zi=r;null!==zi;){o=!1,i=void 0;try{for(;null!==zi;){if(256&zi.effectTag)e:{var m=zi.alternate;switch((s=zi).tag){case 0:case 11:case 15:break e;case 1:if(256&s.effectTag&&null!==m){var b=m.memoizedProps,w=m.memoizedState,x=s.stateNode,_=x.getSnapshotBeforeUpdate(s.elementType===s.type?b:Po(s.type,b),w);x.__reactInternalSnapshotBeforeUpdate=_}break e;case 3:case 5:case 6:case 4:case 17:break e;default:a("163")}}zi=zi.nextEffect}}catch(e){o=!0,i=e}o&&(null===zi&&a("178"),Qi(zi,i),null!==zi&&(zi=zi.nextEffect))}for(zi=r;null!==zi;){m=!1,b=void 0;try{for(;null!==zi;){var S=zi.effectTag;if(16&S&&or(zi.stateNode,""),128&S){var k=zi.alternate;if(null!==k){var E=k.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(14&S){case 2:ki(zi),zi.effectTag&=-3;break;case 6:ki(zi),zi.effectTag&=-3,Ti(zi.alternate,zi);break;case 4:Ti(zi.alternate,zi);break;case 8:Ei(w=zi),w.return=null,w.child=null,w.memoizedState=null,w.updateQueue=null;var T=w.alternate;null!==T&&(T.return=null,T.child=null,T.memoizedState=null,T.updateQueue=null)}zi=zi.nextEffect}}catch(e){m=!0,b=e}m&&(null===zi&&a("178"),Qi(zi,b),null!==zi&&(zi=zi.nextEffect))}if(E=vr,k=Dn(),S=E.focusedElem,m=E.selectionRange,k!==S&&S&&S.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(S.ownerDocument.documentElement,S)){null!==m&&Mn(S)&&(k=m.start,void 0===(E=m.end)&&(E=k),"selectionStart"in S?(S.selectionStart=k,S.selectionEnd=Math.min(E,S.value.length)):(E=(k=S.ownerDocument||document)&&k.defaultView||window).getSelection&&(E=E.getSelection(),b=S.textContent.length,T=Math.min(m.start,b),m=void 0===m.end?T:Math.min(m.end,b),!E.extend&&T>m&&(b=m,m=T,T=b),b=Rn(S,T),w=Rn(S,m),b&&w&&(1!==E.rangeCount||E.anchorNode!==b.node||E.anchorOffset!==b.offset||E.focusNode!==w.node||E.focusOffset!==w.offset)&&((k=k.createRange()).setStart(b.node,b.offset),E.removeAllRanges(),T>m?(E.addRange(k),E.extend(w.node,w.offset)):(k.setEnd(w.node,w.offset),E.addRange(k))))),k=[];for(E=S;E=E.parentNode;)1===E.nodeType&&k.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof S.focus&&S.focus(),S=0;S<k.length;S++)(E=k[S]).element.scrollLeft=E.left,E.element.scrollTop=E.top}for(vr=null,kn=!!hr,hr=null,e.current=t,zi=r;null!==zi;){r=!1,S=void 0;try{for(k=n;null!==zi;){var O=zi.effectTag;if(36&O){var j=zi.alternate;switch(T=k,(E=zi).tag){case 0:case 11:case 15:break;case 1:var C=E.stateNode;if(4&E.effectTag)if(null===j)C.componentDidMount();else{var N=E.elementType===E.type?j.memoizedProps:Po(E.type,j.memoizedProps);C.componentDidUpdate(N,j.memoizedState,C.__reactInternalSnapshotBeforeUpdate)}var P=E.updateQueue;null!==P&&co(0,P,C);break;case 3:var A=E.updateQueue;if(null!==A){if(m=null,null!==E.child)switch(E.child.tag){case 5:m=E.child.stateNode;break;case 1:m=E.child.stateNode}co(0,A,m)}break;case 5:var I=E.stateNode;null===j&&4&E.effectTag&&yr(E.type,E.memoizedProps)&&I.focus();break;case 6:case 4:case 12:case 13:case 17:break;default:a("163")}}if(128&O){var L=zi.ref;if(null!==L){var R=zi.stateNode;switch(zi.tag){case 5:var D=R;break;default:D=R}"function"==typeof L?L(D):L.current=D}}zi=zi.nextEffect}}catch(e){r=!0,S=e}r&&(null===zi&&a("178"),Qi(zi,S),null!==zi&&(zi=zi.nextEffect))}Ri=qi=!1,"function"==typeof Br&&Br(t.stateNode),O=t.expirationTime,0===(t=(t=t.childExpirationTime)>O?t:O)&&(Wi=null),e.expirationTime=t,e.finishedWork=null}function Da(e){null===sa&&a("246"),sa.expirationTime=0,fa||(fa=!0,da=e)}function Ma(e,t){var n=pa;pa=!0;try{return e(t)}finally{(pa=n)||ua||Aa(1073741823,!1)}}function Ba(e,t){if(pa&&!ha){ha=!0;try{return e(t)}finally{ha=!1}}return e(t)}function Ua(e,t,n){if(va)return e(t,n);pa||ua||0===ca||(Aa(ca,!1),ca=0);var r=va,o=pa;pa=va=!0;try{return e(t,n)}finally{va=r,(pa=o)||ua||Aa(1073741823,!1)}}function Fa(e,t,n,r,o){var i=t.current;e:if(n){t:{2===tn(n=n._reactInternalFiber)&&1===n.tag||a("170");var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Pr(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);a("171"),u=void 0}if(1===n.tag){var s=n.type;if(Pr(s)){n=Rr(n,s,u);break e}}n=u}else n=Tr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=ro(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Yi(),io(i,o),ta(i,r),r}function za(e,t,n,r){var o=t.current;return Fa(e,t,n,o=Xi(Ta(),o),r)}function qa(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Va(e){var t=1073741822-25*(1+((1073741822-Ta()+500)/25|0));t>=Ii&&(t=Ii-1),this._expirationTime=Ii=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Ha(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Wa(e,t,n){e={current:t=qr(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function Ja(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ya(e,t,n,r,o){Ja(n)||a("200");var i=n._reactRootContainer;if(i){if("function"==typeof o){var u=o;o=function(){var e=qa(i._internalRoot);u.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Wa(e,!1,t)}(n,r),"function"==typeof o){var s=o;o=function(){var e=qa(i._internalRoot);s.call(e)}}Ba(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return qa(i._internalRoot)}function Ga(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Ja(t)||a("200"),function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ge,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Te=function(e,t,n){switch(t){case"input":if(_t(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=B(r);o||a("90"),Ve(r),_t(r,o)}}}break;case"textarea":$n(e,n);break;case"select":null!=(t=n.value)&&Yn(e,!!n.multiple,t,!1)}},Va.prototype.render=function(e){this._defer||a("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new Ha;return Fa(e,t,null,n,r._onCommit),r},Va.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Va.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||a("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,o=t;o!==this;)r=o,o=o._next;null===r&&a("251"),r._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,Ia(e,n),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Va.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Ha.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Ha.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n&&a("191",n),n()}}},Wa.prototype.render=function(e,t){var n=this._internalRoot,r=new Ha;return null!==(t=void 0===t?null:t)&&r.then(t),za(e,n,null,r._onCommit),r},Wa.prototype.unmount=function(e){var t=this._internalRoot,n=new Ha;return null!==(e=void 0===e?null:e)&&n.then(e),za(null,t,null,n._onCommit),n},Wa.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,o=new Ha;return null!==(n=void 0===n?null:n)&&o.then(n),za(t,r,e,o._onCommit),o},Wa.prototype.createBatch=function(){var e=new Va(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime>=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Ae=Ma,Ie=Ua,Le=function(){ua||0===ca||(Aa(ca,!1),ca=0)};var Ka={createPortal:Ga,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?a("188"):a("268",Object.keys(e))),e=null===(e=rn(t))?null:e.stateNode},hydrate:function(e,t,n){return Ya(null,e,t,!0,n)},render:function(e,t,n){return Ya(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return(null==e||void 0===e._reactInternalFiber)&&a("38"),Ya(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Ja(e)||a("40"),!!e._reactRootContainer&&(Ba(function(){Ya(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Ga.apply(void 0,arguments)},unstable_batchedUpdates:Ma,unstable_interactiveUpdates:Ua,flushSync:function(e,t){ua&&a("187");var n=pa;pa=!0;try{return na(e,t)}finally{pa=n,Aa(1073741823,!1)}},unstable_createRoot:function(e,t){return Ja(e)||a("299","unstable_createRoot"),new Wa(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=pa;pa=!0;try{na(e)}finally{(pa=t)||ua||Aa(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[D,M,B,C.injectEventPluginsByName,m,H,function(e){T(e,V)},Ne,Pe,jn,P]}};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Br=Fr(function(e){return t.onCommitFiberRoot(n,e)}),Ur=Fr(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}})(o({},e,{overrideProps:null,findHostInstanceByFiber:function(e){return null===(e=rn(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:R,bundleType:0,version:"16.7.0",rendererPackageName:"react-dom"});var $a={default:Ka},Qa=$a&&Ka||$a;e.exports=Qa.default||Qa},function(e,t,n){"use strict";e.exports=n(55)},function(e,t,n){"use strict";(function(e){
/** @license React v0.12.0
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Object.defineProperty(t,"__esModule",{value:!0});var n=null,r=!1,o=3,i=-1,a=-1,u=!1,s=!1;function l(){if(!u){var e=n.expirationTime;s?S():s=!0,_(d,e)}}function c(){var e=n,t=n.next;if(n===t)n=null;else{var r=n.previous;n=r.next=t,t.previous=r}e.next=e.previous=null,r=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=o,u=a;o=e,a=t;try{var s=r()}finally{o=i,a=u}if("function"==typeof s)if(s={callback:s,priorityLevel:e,expirationTime:t,next:null,previous:null},null===n)n=s.next=s.previous=s;else{r=null,e=n;do{if(e.expirationTime>=t){r=e;break}e=e.next}while(e!==n);null===r?r=n:r===n&&(n=s,l()),(t=r.previous).next=r.previous=s,s.next=r,s.previous=t}}function f(){if(-1===i&&null!==n&&1===n.priorityLevel){u=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{u=!1,null!==n?l():s=!1}}}function d(e){u=!0;var o=r;r=e;try{if(e)for(;null!==n;){var i=t.unstable_now();if(!(n.expirationTime<=i))break;do{c()}while(null!==n&&n.expirationTime<=i)}else if(null!==n)do{c()}while(null!==n&&!k())}finally{u=!1,r=o,null!==n?l():s=!1,f()}}var p,h,v=Date,y="function"==typeof setTimeout?setTimeout:void 0,g="function"==typeof clearTimeout?clearTimeout:void 0,m="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,b="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function w(e){p=m(function(t){g(h),e(t)}),h=y(function(){b(p),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return v.now()};var _,S,k,E=null;if("undefined"!=typeof window?E=window:void 0!==e&&(E=e),E&&E._schedMock){var T=E._schedMock;_=T[0],S=T[1],k=T[2],t.unstable_now=T[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var O=null,j=function(e){if(null!==O)try{O(e)}finally{O=null}};_=function(e){null!==O?setTimeout(_,0,e):(O=e,setTimeout(j,0,!1))},S=function(){O=null},k=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof m&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var C=null,N=!1,P=-1,A=!1,I=!1,L=0,R=33,D=33;k=function(){return L<=t.unstable_now()};var M=new MessageChannel,B=M.port2;M.port1.onmessage=function(){N=!1;var e=C,n=P;C=null,P=-1;var r=t.unstable_now(),o=!1;if(0>=L-r){if(!(-1!==n&&n<=r))return A||(A=!0,w(U)),C=e,void(P=n);o=!0}if(null!==e){I=!0;try{e(o)}finally{I=!1}}};var U=function(e){if(null!==C){w(U);var t=e-L+D;t<D&&R<D?(8>t&&(t=8),D=t<R?R:t):R=t,L=e+D,N||(N=!0,B.postMessage(void 0))}else A=!1};_=function(e,t){C=e,P=t,I||0>t?B.postMessage(void 0):A||(A=!0,w(U))},S=function(){C=null,N=!1,P=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=o,a=i;o=e,i=t.unstable_now();try{return n()}finally{o=r,i=a,f()}},t.unstable_scheduleCallback=function(e,r){var a=-1!==i?i:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=a+r.timeout;else switch(o){case 1:r=a+-1;break;case 2:r=a+250;break;case 5:r=a+1073741823;break;case 4:r=a+1e4;break;default:r=a+5e3}if(e={callback:e,priorityLevel:o,expirationTime:r,next:null,previous:null},null===n)n=e.next=e.previous=e,l();else{a=null;var u=n;do{if(u.expirationTime>r){a=u;break}u=u.next}while(u!==n);null===a?a=n:a===n&&(n=e,l()),(r=a.previous).next=a.previous=e,e.next=a,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var r=e.previous;r.next=t,t.previous=r}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=o;return function(){var r=o,a=i;o=n,i=t.unstable_now();try{return e.apply(this,arguments)}finally{o=r,i=a,f()}}},t.unstable_getCurrentPriorityLevel=function(){return o},t.unstable_shouldYield=function(){return!r&&(null!==n&&n.expirationTime<a||k())},t.unstable_continueExecution=function(){null!==n&&l()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return n}}).call(this,n(3))},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(0)),i=n(2),a=n(4),u=n(1),s=r(n(17)),l=r(n(5)),c=r(n(9));t.default=function(e){var t=e.store,n=t.findSubjects(i.namedNode(a.RDF+"type"),i.namedNode(a.SKOS+"Concept"));return o.default.createElement("section",null,o.default.createElement("ol",{className:"list-unstyled"},n.map(function(e){var r=t.findObjects(e,i.namedNode(a.SKOS+"definition"))[0],f=t.findObjects(e,i.namedNode(a.SKOS+"broader")),d=t.findObjects(e,i.namedNode(a.SKOS+"related"));return o.default.createElement(s.default,{key:u.localName(e),id:u.localName(e)},o.default.createElement("li",null,o.default.createElement(c.default,{store:t,resourceIri:e}),o.default.createElement("a",{href:e.value},e.value),r&&o.default.createElement("p",null,r.value),(f.length>0||d.length)>0&&o.default.createElement("table",{className:"table"},o.default.createElement("tbody",null,f.length>0&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("broader"),":"),o.default.createElement("td",null,o.default.createElement("ol",{className:"list-unstyled"},f.map(function(e){var r=t.findObjects(e,i.namedNode(a.RDFS+"label"))[0];return o.default.createElement("li",{key:e.value},o.default.createElement("a",{href:u.isLocal(e,n)?"#"+u.localName(e):e.value},r?r.value:u.localName(e)))})))),d.length>0&&o.default.createElement("tr",null,o.default.createElement("th",{scope:"row"},l.default.t("related"),":"),o.default.createElement("td",null,o.default.createElement("ol",{className:"list-unstyled"},d.map(function(e){var r=t.findObjects(e,i.namedNode(a.RDFS+"label"))[0];return o.default.createElement("li",{key:e.value},o.default.createElement("a",{href:u.isLocal(e,n)?"#"+u.localName(e):e.value},r?r.value:u.localName(e)))}))))))))})))}},function(e,t,n){var r=n(58),o=n(23),i=n(59),a=n(24),u=n(60),s=n(61);function l(){}l.namedNode=function(e){return new a(e)},l.blankNode=function(e){return new r(e)},l.literal=function(e,t){return"string"==typeof t?-1===t.indexOf(":")?new i(e,t):new i(e,null,l.namedNode(t)):new i(e,null,t)},l.defaultGraph=function(){return l.defaultGraphInstance},l.variable=function(e){return new s(e)},l.triple=function(e,t,n){return l.quad(e,t,n)},l.quad=function(e,t,n,r){return new u(e,t,n,r||l.defaultGraphInstance)},l.defaultGraphInstance=new o,e.exports=l},function(e,t){function n(e){this.value=e||"b"+ ++n.nextId}n.prototype.equals=function(e){return!!e&&e.termType===this.termType&&e.value===this.value},n.prototype.termType="BlankNode",n.nextId=0,e.exports=n},function(e,t,n){var r=n(24);function o(e,t,n){this.value=e,this.datatype=o.stringDatatype,this.language="",t?(this.language=t,this.datatype=o.langStringDatatype):n&&(this.datatype=n)}o.prototype.equals=function(e){return!!e&&e.termType===this.termType&&e.value===this.value&&e.language===this.language&&e.datatype.equals(this.datatype)},o.prototype.termType="Literal",o.langStringDatatype=new r("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),o.stringDatatype=new r("http://www.w3.org/2001/XMLSchema#string"),e.exports=o},function(e,t,n){var r=n(23);function o(e,t,n,o){this.subject=e,this.predicate=t,this.object=n,this.graph=o||new r}o.prototype.equals=function(e){return!!e&&e.subject.equals(this.subject)&&e.predicate.equals(this.predicate)&&e.object.equals(this.object)&&e.graph.equals(this.graph)},e.exports=o},function(e,t){function n(e){this.value=e}n.prototype.equals=function(e){return!!e&&e.termType===this.termType&&e.value===this.value},n.prototype.termType="Variable",e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),i=l(o),a=l(n(22)),u=l(n(26)),s=l(n(27));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.id=e.id||e.children.ref,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidMount",value:function(){var e=a.default.findDOMNode(this.refs[Object.keys(this.refs)[0]]);s.default.addAnchor(this.id,e)}},{key:"componentWillUnmount",value:function(){s.default.removeAnchor(this.id)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.id;return i.default.cloneElement(t,{ref:t.ref||n})}}]),t}();c.propTypes={children:u.default.node,id:u.default.string},t.default=c},function(e,t,n){"use strict";var r=n(64);function o(){}e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=o,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){
/*!
* Jump.js 1.0.1 - A small, modern, dependency-free smooth scrolling library.
* Copyright (c) 2016 Michael Cavalea - https://github.com/callmecavs/jump.js
* License: MIT
*/
e.exports=function(){"use strict";var e=function(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t},t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};return function(){function n(e){return e.getBoundingClientRect().top+i}function r(e){d||(d=e),h=s(p=e-d,i,c,f),window.scrollTo(0,h),p<f?requestAnimationFrame(r):(window.scrollTo(0,i+c),o&&l&&(o.setAttribute("tabindex","-1"),o.focus()),"function"==typeof v&&v(),d=!1)}var o=void 0,i=void 0,a=void 0,u=void 0,s=void 0,l=void 0,c=void 0,f=void 0,d=void 0,p=void 0,h=void 0,v=void 0;return function(d){var p=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];switch(f=p.duration||1e3,u=p.offset||0,v=p.callback,s=p.easing||e,l=p.a11y||!1,i=window.scrollY||window.pageYOffset,void 0===d?"undefined":t(d)){case"number":o=void 0,l=!1,a=i+d;break;case"object":a=n(o=d);break;case"string":o=document.querySelector(d),a=n(o)}switch(c=a-i+u,t(p.duration)){case"number":f=p.duration;break;case"function":f=p.duration(c)}requestAnimationFrame(r)}}()}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=arguments;t.debounce=function(e,t,n){var o=void 0;return function(){var i=r,a=n&&!o;clearTimeout(o),o=setTimeout(function(){o=null,n||e.apply(void 0,i)},t),a&&e.apply(void 0,i)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.getScrollTop=function(){return document.body.scrollTop||document.documentElement.scrollTop},o=t.getElementOffset=function(e){var t=r(),n=e.getBoundingClientRect(),o=n.top,i=n.bottom;return{top:Math.floor(o+t),bottom:Math.floor(i+t)}},i=t.doesElementContainScrollTop=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=r(),i=o(e).top+t;return n>=i&&n<i+e.offsetHeight},a=t.checkLocationRelevance=function(e,t){var n=o(e),r=n.top,i=n.bottom,a=o(t),u=a.top,s=a.bottom;return r===u?i===s?e<t:s<i:u>r},u=t.checkElementRelevance=function(e,t){return!!e.contains(t)||!(t.contains(e)||!a(e,t))};t.getBestAnchorGivenScrollLocation=function(e,t){var n=void 0,r=void 0;return Object.keys(e).forEach(function(o){var a=e[o];i(a,t)&&(r&&!u(r,a)||(r=a,n=o))}),n}},function(e,t,n){e.exports=n(69).default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(70)),i=d(n(71)),a=d(n(72)),u=d(n(73)),s=d(n(74)),l=d(n(75)),c=d(n(76)),f=d(n(77));function d(e){return e&&e.__esModule?e:{default:e}}var p=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return r(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=o.defaults(t,this.options||{},{order:["querystring","cookie","localStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(i.default),this.addDetector(a.default),this.addDetector(u.default),this.addDetector(s.default),this.addDetector(l.default),this.addDetector(c.default),this.addDetector(f.default)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];e.forEach(function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}});var r=void 0;if(n.forEach(function(e){if(!r){var n=t.services.languageUtils.formatLanguageCode(e);t.services.languageUtils.isWhitelisted(n)&&(r=n)}}),!r){var o=this.i18nOptions.fallbackLng;"string"==typeof o&&(o=[o]),o||(o=[]),r="[object Array]"===Object.prototype.toString.apply(o)?o[0]:o[0]||o.default&&o.default[0]}return r}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)}))}}]),e}();p.type="languageDetector",t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaults=function(e){return o.call(i.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e},t.extend=function(e){return o.call(i.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e};var r=[],o=r.forEach,i=r.slice},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n,r){var o=void 0;if(n){var i=new Date;i.setTime(i.getTime()+60*n*1e3),o="; expires="+i.toGMTString()}else o="";r=r?"domain="+r+";":"",document.cookie=e+"="+t+o+";"+r+"path=/"},o=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return null};t.default={name:"cookie",lookup:function(e){var t=void 0;if(e.lookupCookie&&"undefined"!=typeof document){var n=o(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&r(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"querystring",lookup:function(e){var t=void 0;if("undefined"!=typeof window)for(var n=window.location.search.substring(1).split("&"),r=0;r<n.length;r++){var o=n[r].indexOf("=");if(o>0)n[r].substring(0,o)===e.lookupQuerystring&&(t=n[r].substring(o+1))}return t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0;try{r="undefined"!==window&&null!==window.localStorage;window.localStorage.setItem("i18next.translate.boo","foo"),window.localStorage.removeItem("i18next.translate.boo")}catch(e){r=!1}t.default={name:"localStorage",lookup:function(e){var t=void 0;if(e.lookupLocalStorage&&r){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&r&&window.localStorage.setItem(t.lookupLocalStorage,e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"htmlTag",lookup:function(e){var t=void 0,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"path",lookup:function(e){var t=void 0;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"subdomain",lookup:function(e){var t=void 0;if("undefined"!=typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,u)}s((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=this;Object.defineProperty(t,"__esModule",{value:!0});var l=u(n(0)),c=u(n(79)),f=u(n(36)),d=u(n(37)),p=u(n(16));function h(e,t){return i(this,void 0,void 0,function(){return a(this,function(n){return[2,Promise.all(e.map(t.loadFromUrl)).then(function(e){return e.reduce(function(e,t){return e.concat(t)})}).then(function(e){return new f.default(e)})]})})}var v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={store:new f.default([]),loading:!0},t}return o(t,e),t.prototype.componentDidMount=function(){return i(this,void 0,void 0,function(){return a(this,function(e){switch(e.label){case 0:return[4,this.fetchData()];case 1:return e.sent(),[2]}})})},t.prototype.fetchData=function(){return i(this,void 0,void 0,function(){var e,t=this;return a(this,function(n){switch(n.label){case 0:return e=new c.default,[4,h([].concat(this.props.src),e).then(function(e){return t.setState({store:e,loading:!1})}).catch(function(e){p.default.error(e),t.setState({loading:!1})})];case 1:return n.sent(),[2]}})})},t.prototype.componentWillReceiveProps=function(e){return i(this,void 0,void 0,function(){return a(this,function(t){switch(t.label){case 0:return e.src===this.props.src?[3,2]:[4,this.fetchData()];case 1:t.sent(),t.label=2;case 2:return[2]}})})},t.prototype.render=function(){return this.state.loading?l.default.createElement(d.default,null):this.props.children(this.state.store)},t}(l.default.Component);t.graphContext=function(e){return i(s,void 0,void 0,function(){return a(this,function(t){return[2,h([e],new c.default)]})})},t.default=v},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,u)}s((r=r.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(80)),u=i(n(95)),s=i(n(100)),l=function(){return function(){var e=this;this.parser=new a.default,this.loadFromUrl=function(t){return r(e,void 0,void 0,function(){var e,n=this;return o(this,function(r){switch(r.label){case 0:return[4,fetch(t,{headers:{Accept:"application/ld+json"}})];case 1:return e=r.sent(),[2,new Promise(function(t){n.parser.import(new s.default(e)).pipe(new u.default(t))})]}})})}}}();t.default=l},function(e,t,n){function r(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}const a=n(81),u=n(94);let s=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r(this,o(t).call(this,a,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(t,u),t}();e.exports=s},function(e,t,n){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}const u=n(82),s=n(93),l=n(2),c=n(11);let f=function(e){function t(e){var n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.baseIRI,s=void 0===a?"":a,c=r.context,f=void 0===c?null:c,d=r.factory,p=void 0===d?l:d;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=o(this,i(t).call(this,{objectMode:!0,read:function(){}}))).baseIRI=s,n.context=f,n.factory=p;const h=u({encoding:"string"},function(e){e?n.parse(e).then(function(){n.push(null)}).catch(function(e){n.emit("error",e)}):n.push(null)});return e.pipe(h),e.on("error",function(e){n.emit("error",e)}),n}var n,f,d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(t,c),n=t,d=[{key:"toPlainObject",value:function(e){return"string"==typeof e?new Promise(function(t,n){try{t(JSON.parse(e))}catch(e){n(e)}}):"object"==typeof e?Promise.resolve(e):Promise.reject(new Error("unknown type"))}}],(f=[{key:"term",value:function(e){switch(e.termType){case"NamedNode":return this.factory.namedNode(e.value);case"BlankNode":return this.factory.blankNode(e.value.substr(2));case"Literal":return this.factory.literal(e.value,e.language||this.factory.namedNode(e.datatype.value));case"DefaultGraph":return this.factory.defaultGraph();default:throw Error("unknown termType: "+e.termType)}}},{key:"parse",value:function(e){var n=this;return t.toPlainObject(e).then(function(e){"object"==typeof e["@context"]&&Object.keys(e["@context"]).forEach(function(t){n.emit("prefix",t,n.factory.namedNode(e["@context"][t]))});const t={base:n.baseIRI};return n.context&&(t.expandContext=n.context),s.promises.toRDF(e,t)}).then(function(e){e.forEach(function(e){n.push(n.factory.quad(n.term(e.subject),n.term(e.predicate),n.term(e.object),n.term(e.graph)))})})}}])&&r(n.prototype,f),d&&r(n,d),t}();e.exports=f},function(e,t,n){(function(t){var r=n(11).Writable,o=n(6),i=n(91);if("undefined"==typeof Uint8Array)var a=n(92).Uint8Array;else a=Uint8Array;function u(e,t){if(!(this instanceof u))return new u(e,t);"function"==typeof e&&(t=e,e={}),e||(e={});var n=e.encoding,o=!1;n?"u8"!==(n=String(n).toLowerCase())&&"uint8"!==n||(n="uint8array"):o=!0,r.call(this,{objectMode:!0}),this.encoding=n,this.shouldInferEncoding=o,t&&this.on("finish",function(){t(this.getBody())}),this.body=[]}e.exports=u,o(u,r),u.prototype._write=function(e,t,n){this.body.push(e),n()},u.prototype.inferEncoding=function(e){var n=void 0===e?this.body[0]:e;return t.isBuffer(n)?"buffer":"undefined"!=typeof Uint8Array&&n instanceof Uint8Array?"uint8array":Array.isArray(n)?"array":"string"==typeof n?"string":"[object Object]"===Object.prototype.toString.call(n)?"object":"buffer"},u.prototype.getBody=function(){return this.encoding||0!==this.body.length?(this.shouldInferEncoding&&(this.encoding=this.inferEncoding()),"array"===this.encoding?function(e){for(var t=[],n=0;n<e.length;n++)t.push.apply(t,e[n]);return t}(this.body):"string"===this.encoding?function(e){for(var n=[],r=0;r<e.length;r++){var o=e[r];"string"==typeof o?n.push(o):t.isBuffer(o)?n.push(o):s(o)?n.push(i(o)):n.push(i(String(o)))}n=t.isBuffer(e[0])?(n=t.concat(n)).toString("utf8"):n.join("");return n}(this.body):"buffer"===this.encoding?function(e){for(var n=[],r=0;r<e.length;r++){var o=e[r];t.isBuffer(o)?n.push(o):s(o)?n.push(i(o)):n.push(i(String(o)))}return t.concat(n)}(this.body):"uint8array"===this.encoding?function(e){for(var t=0,n=0;n<e.length;n++)"string"==typeof e[n]&&(e[n]=i(e[n])),t+=e[n].length;for(var r=new a(t),n=0,o=0;n<e.length;n++)for(var u=e[n],s=0;s<u.length;s++)r[o++]=u[s];return r}(this.body):this.body):[]};Array.isArray;function s(e){return"string"==typeof e||(t=e,/Array\]$/.test(Object.prototype.toString.call(t)))||e&&"function"==typeof e.subarray;var t}}).call(this,n(10).Buffer)},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){for(var t,n=l(e),r=n[0],a=n[1],u=new i(function(e,t,n){return 3*(t+n)/4-n}(0,r,a)),s=0,c=a>0?r-4:r,f=0;f<c;f+=4)t=o[e.charCodeAt(f)]<<18|o[e.charCodeAt(f+1)]<<12|o[e.charCodeAt(f+2)]<<6|o[e.charCodeAt(f+3)],u[s++]=t>>16&255,u[s++]=t>>8&255,u[s++]=255&t;2===a&&(t=o[e.charCodeAt(f)]<<2|o[e.charCodeAt(f+1)]>>4,u[s++]=255&t);1===a&&(t=o[e.charCodeAt(f)]<<10|o[e.charCodeAt(f+1)]<<4|o[e.charCodeAt(f+2)]>>2,u[s++]=t>>8&255,u[s++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,u=n-o;a<u;a+=16383)i.push(c(e,a,a+16383>u?u:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)r[u]=a[u],o[a.charCodeAt(u)]=u;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,n){for(var o,i,a=[],u=t;u<n;u+=3)o=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,o){var i,a,u=8*o-r-1,s=(1<<u)-1,l=s>>1,c=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-c)-1,p>>=-c,c+=u;c>0;i=256*i+e[t+f],f+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===i)i=1-l;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=l}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,u,s,l=8*i-o-1,c=(1<<l)-1,f=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+f>=1?d/s:d*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=c?(u=0,a=c):a+f>=1?(u=(t*s-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&u,p+=h,u/=256,o-=8);for(a=a<<o|u,l+=o;l>0;e[n+p]=255&a,p+=h,a/=256,l-=8);e[n+p-h]|=128*v}},function(e,t){},function(e,t,n){"use strict";var r=n(15).Buffer,o=n(87);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,o,i=r.allocUnsafe(e>>>0),a=this.head,u=0;a;)t=a.data,n=i,o=u,t.copy(n,o),u+=a.data.length,a=a.next;return i},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,u,s=1,l={},c=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){h(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",u=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",u,!1):e.attachEvent("onmessage",u),r=function(t){e.postMessage(a+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return l[s]=o,r(s),s++},d.clearImmediate=p}function p(e){delete l[e]}function h(e){if(c)setTimeout(h,0,e);else{var t=l[e];if(t){c=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{p(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(3),n(8))},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n(3))},function(e,t,n){"use strict";e.exports=i;var r=n(34),o=n(12);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}o.inherits=n(6),o.inherits(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){(function(t){var n=Object.prototype.toString,r="function"==typeof t.alloc&&"function"==typeof t.allocUnsafe&&"function"==typeof t.from;e.exports=function(e,o,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return a=e,"ArrayBuffer"===n.call(a).slice(8,-1)?function(e,n,o){n>>>=0;var i=e.byteLength-n;if(i<0)throw new RangeError("'offset' is out of bounds");if(void 0===o)o=i;else if((o>>>=0)>i)throw new RangeError("'length' is out of bounds");return r?t.from(e.slice(n,n+o)):new t(new Uint8Array(e.slice(n,n+o)))}(e,o,i):"string"==typeof e?function(e,n){if("string"==typeof n&&""!==n||(n="utf8"),!t.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');return r?t.from(e,n):new t(e,n)}(e,o):r?t.from(e):new t(e);var a}}).call(this,n(10).Buffer)},function(e,t){var n,r,o,i=void 0,a=1e5,u=(n=Object.prototype.toString,r=Object.prototype.hasOwnProperty,{Class:function(e){return n.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return r.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}),s=Math.LN2,l=Math.abs,c=Math.floor,f=Math.log,d=Math.min,p=Math.pow,h=Math.round;function v(e){if(y&&o){var t,n=y(e);for(t=0;t<n.length;t+=1)o(e,n[t],{value:e[n[t]],writable:!1,enumerable:!1,configurable:!1})}}o=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,n){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return u.HasProperty(n,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,n.get),u.HasProperty(n,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,n.set),u.HasProperty(n,"value")&&(e[t]=n.value),e};var y=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,n=[];for(t in e)u.HasOwnProperty(e,t)&&n.push(t);return n};function g(e,t){var n=32-t;return e<<n>>n}function m(e,t){var n=32-t;return e<<n>>>n}function b(e){return[255&e]}function w(e){return g(e[0],8)}function x(e){return[255&e]}function _(e){return m(e[0],8)}function S(e){return[(e=h(Number(e)))<0?0:e>255?255:255&e]}function k(e){return[e>>8&255,255&e]}function E(e){return g(e[0]<<8|e[1],16)}function T(e){return[e>>8&255,255&e]}function O(e){return m(e[0]<<8|e[1],16)}function j(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function C(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function N(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function P(e){return m(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function A(e,t,n){var r,o,i,a,u,h,v,y=(1<<t-1)-1;function g(e){var t=c(e),n=e-t;return n<.5?t:n>.5?t+1:t%2?t+1:t}for(e!=e?(o=(1<<t)-1,i=p(2,n-1),r=0):e===1/0||e===-1/0?(o=(1<<t)-1,i=0,r=e<0?1:0):0===e?(o=0,i=0,r=1/e==-1/0?1:0):(r=e<0,(e=l(e))>=p(2,1-y)?(o=d(c(f(e)/s),1023),(i=g(e/p(2,o)*p(2,n)))/p(2,n)>=2&&(o+=1,i=1),o>y?(o=(1<<t)-1,i=0):(o+=y,i-=p(2,n))):(o=0,i=g(e/p(2,1-y-n)))),u=[],a=n;a;a-=1)u.push(i%2?1:0),i=c(i/2);for(a=t;a;a-=1)u.push(o%2?1:0),o=c(o/2);for(u.push(r?1:0),u.reverse(),h=u.join(""),v=[];h.length;)v.push(parseInt(h.substring(0,8),2)),h=h.substring(8);return v}function I(e,t,n){var r,o,i,a,u,s,l,c,f=[];for(r=e.length;r;r-=1)for(i=e[r-1],o=8;o;o-=1)f.push(i%2?1:0),i>>=1;return f.reverse(),a=f.join(""),u=(1<<t-1)-1,s=parseInt(a.substring(0,1),2)?-1:1,l=parseInt(a.substring(1,1+t),2),c=parseInt(a.substring(1+t),2),l===(1<<t)-1?0!==c?NaN:s*(1/0):l>0?s*p(2,l-u)*(1+c/p(2,n)):0!==c?s*p(2,-(u-1))*(c/p(2,n)):s<0?-0:0}function L(e){return I(e,11,52)}function R(e){return A(e,11,52)}function D(e){return I(e,8,23)}function M(e){return A(e,8,23)}!function(){var e=function(e){if((e=u.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;v(this)};t.ArrayBuffer=t.ArrayBuffer||e;var n=function(){};function r(t,r,s){var l;return(l=function(t,n,r){var i,s,c,f;if(arguments.length&&"number"!=typeof arguments[0])if("object"==typeof arguments[0]&&arguments[0].constructor===l)for(i=arguments[0],this.length=i.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0,c=0;c<this.length;c+=1)this._setter(c,i._getter(c));else if("object"!=typeof arguments[0]||(arguments[0]instanceof e||"ArrayBuffer"===u.Class(arguments[0]))){if("object"!=typeof arguments[0]||!(arguments[0]instanceof e||"ArrayBuffer"===u.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=t,this.byteOffset=u.ToUint32(n),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=u.ToUint32(r),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(s=arguments[0],this.length=u.ToUint32(s.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0,c=0;c<this.length;c+=1)f=s[c],this._setter(c,Number(f));else{if(this.length=u.ToInt32(arguments[0]),r<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0}this.constructor=l,v(this),function(e){if(o){if(e.length>a)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)n(t)}function n(t){o(e,t,{get:function(){return e._getter(t)},set:function(n){e._setter(t,n)},enumerable:!0,configurable:!1})}}(this)}).prototype=new n,l.prototype.BYTES_PER_ELEMENT=t,l.prototype._pack=r,l.prototype._unpack=s,l.BYTES_PER_ELEMENT=t,l.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if((e=u.ToUint32(e))>=this.length)return i;var t,n,r=[];for(t=0,n=this.byteOffset+e*this.BYTES_PER_ELEMENT;t<this.BYTES_PER_ELEMENT;t+=1,n+=1)r.push(this.buffer._bytes[n]);return this._unpack(r)},l.prototype.get=l.prototype._getter,l.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=u.ToUint32(e))>=this.length)return i;var n,r,o=this._pack(t);for(n=0,r=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,r+=1)this.buffer._bytes[r]=o[n]},l.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var n,r,o,i,a,s,l,c,f,d;if("object"==typeof arguments[0]&&arguments[0].constructor===this.constructor){if(n=arguments[0],(o=u.ToUint32(arguments[1]))+n.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(c=this.byteOffset+o*this.BYTES_PER_ELEMENT,f=n.length*this.BYTES_PER_ELEMENT,n.buffer===this.buffer){for(d=[],a=0,s=n.byteOffset;a<f;a+=1,s+=1)d[a]=n.buffer._bytes[s];for(a=0,l=c;a<f;a+=1,l+=1)this.buffer._bytes[l]=d[a]}else for(a=0,s=n.byteOffset,l=c;a<f;a+=1,s+=1,l+=1)this.buffer._bytes[l]=n.buffer._bytes[s]}else{if("object"!=typeof arguments[0]||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(r=arguments[0],i=u.ToUint32(r.length),(o=u.ToUint32(arguments[1]))+i>this.length)throw new RangeError("Offset plus length of array is out of range");for(a=0;a<i;a+=1)s=r[a],this._setter(o+a,Number(s))}},l.prototype.subarray=function(e,t){function n(e,t,n){return e<t?t:e>n?n:e}e=u.ToInt32(e),t=u.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=n(e,0,this.length);var r=(t=n(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},l}var s=r(1,b,w),l=r(1,x,_),c=r(1,S,_),f=r(2,k,E),d=r(2,T,O),p=r(4,j,C),h=r(4,N,P),y=r(4,M,D),g=r(8,R,L);t.Int8Array=t.Int8Array||s,t.Uint8Array=t.Uint8Array||l,t.Uint8ClampedArray=t.Uint8ClampedArray||c,t.Int16Array=t.Int16Array||f,t.Uint16Array=t.Uint16Array||d,t.Int32Array=t.Int32Array||p,t.Uint32Array=t.Uint32Array||h,t.Float32Array=t.Float32Array||y,t.Float64Array=t.Float64Array||g}(),function(){function e(e,t){return u.IsCallable(e.get)?e.get(t):e[t]}var n,r=(n=new t.Uint16Array([4660]),18===e(new t.Uint8Array(n.buffer),0)),o=function(e,n,r){if(0===arguments.length)e=new t.ArrayBuffer(0);else if(!(e instanceof t.ArrayBuffer||"ArrayBuffer"===u.Class(e)))throw new TypeError("TypeError");if(this.buffer=e||new t.ArrayBuffer(0),this.byteOffset=u.ToUint32(n),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=u.ToUint32(r),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");v(this)};function i(n){return function(o,i){if((o=u.ToUint32(o))+n.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var a,s=new t.Uint8Array(this.buffer,o,n.BYTES_PER_ELEMENT),l=[];for(a=0;a<n.BYTES_PER_ELEMENT;a+=1)l.push(e(s,a));return Boolean(i)===Boolean(r)&&l.reverse(),e(new n(new t.Uint8Array(l).buffer),0)}}function a(n){return function(o,i,a){if((o=u.ToUint32(o))+n.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var s,l=new n([i]),c=new t.Uint8Array(l.buffer),f=[];for(s=0;s<n.BYTES_PER_ELEMENT;s+=1)f.push(e(c,s));Boolean(a)===Boolean(r)&&f.reverse(),new t.Uint8Array(this.buffer,o,n.BYTES_PER_ELEMENT).set(f)}}o.prototype.getUint8=i(t.Uint8Array),o.prototype.getInt8=i(t.Int8Array),o.prototype.getUint16=i(t.Uint16Array),o.prototype.getInt16=i(t.Int16Array),o.prototype.getUint32=i(t.Uint32Array),o.prototype.getInt32=i(t.Int32Array),o.prototype.getFloat32=i(t.Float32Array),o.prototype.getFloat64=i(t.Float64Array),o.prototype.setUint8=a(t.Uint8Array),o.prototype.setInt8=a(t.Int8Array),o.prototype.setUint16=a(t.Uint16Array),o.prototype.setInt16=a(t.Int16Array),o.prototype.setUint32=a(t.Uint32Array),o.prototype.setInt32=a(t.Int32Array),o.prototype.setFloat32=a(t.Float32Array),o.prototype.setFloat64=a(t.Float64Array),t.DataView=t.DataView||o}()},function(e,t,n){(function(t,n,r){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=103)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){var r=n(54)("wks"),o=n(28),i=n(2).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.1"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(2),o=n(3),i=n(18),a=n(19),u=n(17),s=function(e,t,n){var l,c,f,d,p=e&s.F,h=e&s.G,v=e&s.S,y=e&s.P,g=e&s.B,m=h?r:v?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(l in h&&(n=t),n)f=((c=!p&&m&&void 0!==m[l])?m:n)[l],d=g&&c?u(f,r):y&&"function"==typeof f?u(Function.call,f):f,m&&a(m,l,f,e&s.U),b[l]!=f&&i(b,l,d),y&&w[l]!=f&&(w[l]=f)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,r,o){"use strict";var i=o(0),a=i(o(12)),u=i(o(13)),s=i(o(34)),l=o(14),c=o(9),f=o(66).IdentifierIssuer,d=o(15),p=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g,h=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,v=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g,y={accept:"application/ld+json, application/json"},g={};e.exports=g,g.IdentifierIssuer=f;var m="function"==typeof t&&t,b=m?function(e){return m(e)}:function(e){return setTimeout(e,0)};function w(e,t,n){g.nextTick(function(){return e(t,n)})}"object"===(void 0===n?"undefined":(0,s.default)(n))&&"function"==typeof n.nextTick?g.nextTick=n.nextTick:g.nextTick=b,g.setImmediate=m?b:g.nextTick,g.clone=function(e){if(e&&"object"===(0,s.default)(e)){var t;if(c.isArray(e)){t=[];for(var n=0;n<e.length;++n)t[n]=g.clone(e[n])}else if(c.isObject(e))for(var r in t={},e)t[r]=g.clone(e[r]);else t=e.toString();return t}return e},g.buildHeaders=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object.keys(e).some(function(e){return"accept"===e.toLowerCase()}))throw new RangeError('Accept header may not be specified; only "'+y.accept+'" is supported.');return Object.assign({Accept:y.accept},e)},g.parseLinkHeader=function(e){for(var t={},n=e.match(p),r=0;r<n.length;++r){var o=n[r].match(h);if(o){for(var i={target:o[1]},a=o[2];o=v.exec(a);)i[o[1]]=void 0===o[2]?o[3]:o[2];var u=i.rel||"";Array.isArray(t[u])?t[u].push(i):t[u]=u in t?[t[u],i]:i}}return t},g.validateTypeValue=function(e){if(!c.isString(e)&&!c.isEmptyObject(e)){var t=!1;if(c.isArray(e)){t=!0;for(var n=0;n<e.length;++n)if(!c.isString(e[n])){t=!1;break}}if(!t)throw new d('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, or an empty object.',"jsonld.SyntaxError",{code:"invalid type value",value:e})}},g.hasProperty=function(e,t){if(t in e){var n=e[t];return!c.isArray(n)||n.length>0}return!1},g.hasValue=function(e,t,n){if(g.hasProperty(e,t)){var r=e[t],o=l.isList(r);if(c.isArray(r)||o){o&&(r=r["@list"]);for(var i=0;i<r.length;++i)if(g.compareValues(n,r[i]))return!0}else if(!c.isArray(n))return g.compareValues(n,r)}return!1},g.addValue=function(e,t,n,r){if("propertyIsArray"in(r=r||{})||(r.propertyIsArray=!1),"allowDuplicate"in r||(r.allowDuplicate=!0),c.isArray(n)){0!==n.length||!r.propertyIsArray||t in e||(e[t]=[]);for(var o=0;o<n.length;++o)g.addValue(e,t,n[o],r)}else if(t in e){var i=!r.allowDuplicate&&g.hasValue(e,t,n);c.isArray(e[t])||i&&!r.propertyIsArray||(e[t]=[e[t]]),i||e[t].push(n)}else e[t]=r.propertyIsArray?[n]:n},g.getValues=function(e,t){return[].concat(e[t]||[])},g.removeProperty=function(e,t){delete e[t]},g.removeValue=function(e,t,n,r){"propertyIsArray"in(r=r||{})||(r.propertyIsArray=!1);var o=g.getValues(e,t).filter(function(e){return!g.compareValues(e,n)});0===o.length?g.removeProperty(e,t):1!==o.length||r.propertyIsArray?e[t]=o:e[t]=o[0]},g.relabelBlankNodes=function(e,t){return function e(t,n){if(c.isArray(n))for(var r=0;r<n.length;++r)n[r]=e(t,n[r]);else if(l.isList(n))n["@list"]=e(t,n["@list"]);else if(c.isObject(n)){l.isBlankNode(n)&&(n["@id"]=t.getId(n["@id"]));for(var o=Object.keys(n).sort(),i=0;i<o.length;++i){var a=o[i];"@id"!==a&&(n[a]=e(t,n[a]))}}return n}((t=t||{}).issuer||new f("_:b"),e)},g.compareValues=function(e,t){return e===t||!(!l.isValue(e)||!l.isValue(t)||e["@value"]!==t["@value"]||e["@type"]!==t["@type"]||e["@language"]!==t["@language"]||e["@index"]!==t["@index"])||!!(c.isObject(e)&&"@id"in e&&c.isObject(t)&&"@id"in t)&&e["@id"]===t["@id"]},g.compareShortestLeast=function(e,t){return e.length<t.length?-1:t.length<e.length?1:e===t?0:e<t?-1:1},g.normalizeDocumentLoader=function(e){return e.length<2?g.callbackify(e):(t=(0,u.default)(a.default.mark(function t(n){var r,o=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=o[1],t.abrupt("return",new Promise(function(t,o){try{e(n,function(e,n){if("function"==typeof r)return w(r,e,n);e?o(e):t(n)})}catch(e){if("function"==typeof r)return w(r,e);o(e)}}));case 2:case"end":return t.stop()}},t,this)})),function(e){return t.apply(this,arguments)});var t},g.callbackify=function(e){return(0,u.default)(a.default.mark(function t(){var n,r,o,i,u,s=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(n=s.length,r=new Array(n),o=0;o<n;o++)r[o]=s[o];return"function"==typeof(i=r[r.length-1])&&r.pop(),t.prev=3,t.next=6,e.apply(null,r);case 6:u=t.sent,t.next=14;break;case 9:if(t.prev=9,t.t0=t.catch(3),"function"!=typeof i){t.next=13;break}return t.abrupt("return",w(i,t.t0));case 13:throw t.t0;case 14:if("function"!=typeof i){t.next=16;break}return t.abrupt("return",w(i,null,u));case 16:return t.abrupt("return",u);case 17:case"end":return t.stop()}},t,this,[[3,9]])}))}},function(e,t,n){"use strict";var r={};e.exports=r,r.isArray=Array.isArray,r.isBoolean=function(e){return"boolean"==typeof e||"[object Boolean]"===Object.prototype.toString.call(e)},r.isDouble=function(e){return r.isNumber(e)&&-1!==String(e).indexOf(".")},r.isEmptyObject=function(e){return r.isObject(e)&&0===Object.keys(e).length},r.isNumber=function(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)},r.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},r.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},r.isString=function(e){return"string"==typeof e||"[object String]"===Object.prototype.toString.call(e)},r.isUndefined=function(e){return void 0===e}},function(e,t,n){var r=n(11),o=n(72),i=n(51),a=Object.defineProperty;t.f=n(16)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(7);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=n(153)},function(e,t){function n(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function u(e){n(a,o,i,u,s,"next",e)}function s(e){n(a,o,i,u,s,"throw",e)}u(void 0)})}}},function(e,t,n){"use strict";var r=n(9),o={};e.exports=o,o.isSubject=function(e){return!(!r.isObject(e)||"@value"in e||"@set"in e||"@list"in e||!(Object.keys(e).length>1)&&"@id"in e)},o.isSubjectReference=function(e){return r.isObject(e)&&1===Object.keys(e).length&&"@id"in e},o.isValue=function(e){return r.isObject(e)&&"@value"in e},o.isList=function(e){return r.isObject(e)&&"@list"in e},o.isGraph=function(e){return r.isObject(e)&&"@graph"in e&&1===Object.keys(e).filter(function(e){return"@id"!==e&&"@index"!==e}).length},o.isSimpleGraph=function(e){return o.isGraph(e)&&!("@id"in e)},o.isBlankNode=function(e){return!!r.isObject(e)&&("@id"in e?0===e["@id"].indexOf("_:"):0===Object.keys(e).length||!("@value"in e||"@set"in e||"@list"in e))}},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(45)),a=r(n(35)),u=r(n(46)),s=r(n(166));e.exports=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"An unspecified JSON-LD error occurred.",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jsonld.Error",u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,o.default)(this,t),(e=(0,i.default)(this,(0,a.default)(t).call(this,n))).name=r,e.message=n,e.details=u,e}return(0,u.default)(t,e),t}((0,s.default)(Error))},function(e,t,n){e.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(29);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(10),o=n(27);e.exports=n(16)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(2),o=n(18),i=n(20),a=n(28)("src"),u=Function.toString,s=(""+u).split("toString");n(3).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var l="function"==typeof n;l&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(l&&(i(n,a)||o(n,a,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:u?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,r,o){"use strict";var i=o(0),a=i(o(12)),u=i(o(13)),s=i(o(34)),l={};e.exports=l;var c="function"==typeof t&&t,f=c?function(e){return c(e)}:function(e){return setTimeout(e,0)};function d(e,t,r){try{return e(t,r)}catch(e){n.nextTick(function(){throw e})}}"object"===(void 0===n?"undefined":(0,s.default)(n))&&"function"==typeof n.nextTick?l.nextTick=n.nextTick:l.nextTick=f,l.setImmediate=c?f:l.nextTick,l.clone=function(e){if(e&&"object"===(0,s.default)(e)){var t;if(Array.isArray(e)){t=[];for(var n=0;n<e.length;++n)t[n]=l.clone(e[n])}else if(l.isObject(e))for(var r in t={},e)t[r]=l.clone(e[r]);else t=e.toString();return t}return e},l.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},l.isUndefined=function(e){return void 0===e},l.callbackify=function(e){return(0,u.default)(a.default.mark(function t(){var n,r,o,i,u,s=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(n=s.length,r=new Array(n),o=0;o<n;o++)r[o]=s[o];return"function"==typeof(i=r[r.length-1])&&r.pop(),t.prev=3,t.next=6,e.apply(null,r);case 6:u=t.sent,t.next=14;break;case 9:if(t.prev=9,t.t0=t.catch(3),"function"!=typeof i){t.next=13;break}return t.abrupt("return",d(i,t.t0));case 13:throw t.t0;case 14:if("function"!=typeof i){t.next=16;break}return t.abrupt("return",d(i,null,u));case 16:return t.abrupt("return",u);case 17:case"end":return t.stop()}},t,this,[[3,9]])}))}},function(e,t,n){"use strict";var r=n(0),o=r(n(173)),i=r(n(12)),a=r(n(13)),u=n(8),s=n(176),l=n(15),c=n(9),f=c.isArray,d=c.isObject,p=c.isString,h=c.isUndefined,v=n(38),y=v.isAbsolute,g=v.isRelative,m=v.prependBase,b=v.parse,w=10,x=new Map,_={};function S(e,t){return function(){return(0,a.default)(i.default.mark(function e(t,n){var r,s,c;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=function(){return(c=(0,a.default)(i.default.mark(function e(t,r,u){var c,h;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r.size>w)){e.next=2;break}throw new l("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:"loading remote context failed",max:w});case 2:return c=new Map,k(t,c,!1,n.base),h=(0,o.default)(c.keys()).filter(function(e){return!1===c.get(e)}),e.abrupt("return",Promise.all(h.map(function(){var e=(0,a.default)(i.default.mark(function e(o){var a,h,v;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!r.has(o)){e.next=2;break}throw new l("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:"recursive context inclusion",url:o});case 2:return(a=new Set(r)).add(o),e.prev=4,e.next=7,u(o);case 7:h=e.sent,v=h.document||null,p(v)&&(v=JSON.parse(v)),e.next=15;break;case 12:throw e.prev=12,e.t0=e.catch(4),new l("Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:o,cause:e.t0});case 15:if(d(v)){e.next=17;break}throw new l("Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:o});case 17:return v="@context"in v?{"@context":v["@context"]}:{"@context":{}},h.contextUrl&&(f(v["@context"])||(v["@context"]=[v["@context"]]),v["@context"].push(h.contextUrl)),e.next=21,s(v,a,u);case 21:c.set(o,v["@context"]),k(t,c,!0,n.base);case 23:case"end":return e.stop()}},e,this,[[4,12]])}));return function(t){return e.apply(this,arguments)}}())));case 6:case"end":return e.stop()}},e,this)}))).apply(this,arguments)},s=function(e,t,n){return c.apply(this,arguments)},r=u.normalizeDocumentLoader(n.documentLoader),e.next=5,s(t,new Set,r);case 5:return e.abrupt("return",t);case 6:case"end":return e.stop()}},e,this)})).apply(this,arguments)}.apply(this,arguments)}function k(e,t,n,r){if(f(e)){var o=!0,i=!1,a=void 0;try{for(var u,s=e[Symbol.iterator]();!(o=(u=s.next()).done);o=!0)k(u.value,t,n,r)}catch(e){i=!0,a=e}finally{try{o||null==s.return||s.return()}finally{if(i)throw a}}}else if(d(e))for(var l in e)if("@context"===l){var c=e[l];if(f(c))for(var h=c.length,v=0;v<h;++v){var y=c[v];if(p(y)){var g=m(r,y),b=t.get(g);n?f(b)?(Array.prototype.splice.apply(c,[v,1].concat(b)),v+=b.length-1,h=c.length):!1!==b&&(c[v]=b):void 0===b&&t.set(g,!1)}else for(var w in y)d(y[w])&&k(y[w],t,n,r)}else if(p(c)){var x=m(r,c),_=t.get(x);n?!1!==_&&(e[l]=_):void 0===_&&t.set(x,!1)}else for(var S in c)d(c[S])&&k(c[S],t,n,r)}else k(e[l],t,n,r)}e.exports=_,_.cache=new s,_.process=function(e){var t=e.activeCtx,n=e.localCtx,r=e.options;d(n)&&"@context"in n&&f(n["@context"])&&(n=n["@context"]);var o=f(n)?n:[n];if(0===o.length)return t;for(var i=t,a=0;a<o.length;++a){var u=o[a];if(null!==u){if(d(u)&&"@context"in u&&(u=u["@context"]),!d(u))throw new l("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:u});if(_.cache){var s=_.cache.get(t,u);if(s){i=t=s;continue}}t=i,i=i.clone();var c={};if("@version"in u){if(1.1!==u["@version"])throw new l("Unsupported JSON-LD version: "+u["@version"],"jsonld.UnsupportedVersion",{code:"invalid @version value",context:u});if(t.processingMode&&"json-ld-1.0"===t.processingMode)throw new l("@version: "+u["@version"]+" not compatible with "+t.processingMode,"jsonld.ProcessingModeConflict",{code:"processing mode conflict",context:u});i.processingMode="json-ld-1.1",i["@version"]=u["@version"],c["@version"]=!0}if(i.processingMode=i.processingMode||t.processingMode||"json-ld-1.0","@base"in u){var h=u["@base"];if(null===h);else if(y(h))h=b(h);else{if(!g(h))throw new l('Invalid JSON-LD syntax; the value of "@base" in a @context must be an absolute IRI, a relative IRI, or null.',"jsonld.SyntaxError",{code:"invalid base IRI",context:u});h=b(m(t["@base"].href,h))}i["@base"]=h,c["@base"]=!0}if("@vocab"in u){var v=u["@vocab"];if(null===v)delete i["@vocab"];else{if(!p(v))throw new l('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:u});if(!y(v))throw new l('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be an absolute IRI.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:u});i["@vocab"]=v}c["@vocab"]=!0}if("@language"in u){var w=u["@language"];if(null===w)delete i["@language"];else{if(!p(w))throw new l('Invalid JSON-LD syntax; the value of "@language" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid default language",context:u});i["@language"]=w.toLowerCase()}c["@language"]=!0}for(var x in u)_.createTermDefinition(i,u,x,c);_.cache&&_.cache.set(t,u,i)}else i=t=_.getInitialContext(r)}return i},_.createTermDefinition=function(e,t,n,r){if(n in r){if(r[n])return;throw new l("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:t,term:n})}if(r[n]=!1,_.isKeyword(n))throw new l("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:t,term:n});if(""===n)throw new l("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:t});e.mappings[n]&&delete e.mappings[n];var o=t[n];if(null===o||d(o)&&null===o["@id"])return e.mappings[n]=null,void(r[n]=!0);var i=!1;if(p(o)&&(i=!0,o={"@id":o}),!d(o))throw new l("Invalid JSON-LD syntax; @context term values must be strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:t});var a=e.mappings[n]={};a.reverse=!1;var u=["@container","@id","@language","@reverse","@type"];for(var s in _.processingMode(e,1.1)&&u.push("@context","@nest","@prefix"),o)if(!u.includes(s))throw new l("Invalid JSON-LD syntax; a term definition must not contain "+s,"jsonld.SyntaxError",{code:"invalid term definition",context:t});var c=n.indexOf(":");if(a._termHasColon=-1!==c,"@reverse"in o){if("@id"in o)throw new l("Invalid JSON-LD syntax; a @reverse term definition must not contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});if("@nest"in o)throw new l("Invalid JSON-LD syntax; a @reverse term definition must not contain @nest.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});var h=o["@reverse"];if(!p(h))throw new l("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});var v=_.expandIri(e,h,{vocab:!0,base:!1},t,r);if(!y(v))throw new l("Invalid JSON-LD syntax; a @context @reverse value must be an absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});a["@id"]=v,a.reverse=!0}else if("@id"in o){var g=o["@id"];if(!p(g))throw new l("Invalid JSON-LD syntax; a @context @id value must be an array of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});if(g!==n){if(g=_.expandIri(e,g,{vocab:!0,base:!1},t,r),!y(g)&&!_.isKeyword(g))throw new l("Invalid JSON-LD syntax; a @context @id value must be an absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});a["@id"]=g,a._prefix=!a._termHasColon&&g.match(/[:\/\?#\[\]@]$/)&&(i||_.processingMode(e,1))}}if(!("@id"in a))if(a._termHasColon){var m=n.substr(0,c);if(m in t&&_.createTermDefinition(e,t,m,r),e.mappings[m]){var b=n.substr(c+1);a["@id"]=e.mappings[m]["@id"]+b}else a["@id"]=n}else{if(!("@vocab"in e))throw new l("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t,term:n});a["@id"]=e["@vocab"]+n}if(r[n]=!0,"@type"in o){var w=o["@type"];if(!p(w))throw new l("Invalid JSON-LD syntax; an @context @type values must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:t});if("@id"!==w&&"@vocab"!==w){if(w=_.expandIri(e,w,{vocab:!0,base:!1},t,r),!y(w))throw new l("Invalid JSON-LD syntax; an @context @type value must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:t});if(0===w.indexOf("_:"))throw new l("Invalid JSON-LD syntax; an @context @type values must be an IRI, not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:t})}a["@type"]=w}if("@container"in o){var x=p(o["@container"])?[o["@container"]]:o["@container"]||[],S=["@list","@set","@index","@language"],k=!0,E=x.includes("@set");if(_.processingMode(e,1.1))if(S.push("@graph","@id","@type"),x.includes("@list")){if(1!==x.length)throw new l("Invalid JSON-LD syntax; @context @container with @list must have no other values","jsonld.SyntaxError",{code:"invalid container mapping",context:t})}else if(x.includes("@graph")){if(x.some(function(e){return"@graph"!==e&&"@id"!==e&&"@index"!==e&&"@set"!==e}))throw new l("Invalid JSON-LD syntax; @context @container with @graph must have no other values other than @id, @index, and @set","jsonld.SyntaxError",{code:"invalid container mapping",context:t})}else k&=x.length<=(E?2:1);else k&=!f(o["@container"]),k&=x.length<=1;if(k&=x.every(function(e){return S.includes(e)}),!(k&=!(E&&x.includes("@list"))))throw new l("Invalid JSON-LD syntax; @context @container value must be one of the following: "+S.join(", "),"jsonld.SyntaxError",{code:"invalid container mapping",context:t});if(a.reverse&&!x.every(function(e){return["@index","@set"].includes(e)}))throw new l("Invalid JSON-LD syntax; @context @container value for a @reverse type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});a["@container"]=x}if("@context"in o&&(a["@context"]=o["@context"]),"@language"in o&&!("@type"in o)){var T=o["@language"];if(null!==T&&!p(T))throw new l("Invalid JSON-LD syntax; @context @language value must be a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:t});null!==T&&(T=T.toLowerCase()),a["@language"]=T}if("@prefix"in o){if(a._termHasColon)throw new l("Invalid JSON-LD syntax; @context @prefix used on a compact IRI term","jsonld.SyntaxError",{code:"invalid term definition",context:t});if("boolean"!=typeof o["@prefix"])throw new l("Invalid JSON-LD syntax; @context value for @prefix must be boolean","jsonld.SyntaxError",{code:"invalid @prefix value",context:t});a._prefix=!0===o["@prefix"]}if("@nest"in o){var O=o["@nest"];if(!p(O)||"@nest"!==O&&0===O.indexOf("@"))throw new l("Invalid JSON-LD syntax; @context @nest value must be a string which is not a keyword other than @nest.","jsonld.SyntaxError",{code:"invalid @nest value",context:t});a["@nest"]=O}// disallow aliasing @context and @preserve
var j=a["@id"];if("@context"===j||"@preserve"===j)throw new l("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:t})},_.expandIri=function(e,t,n,r,o){if(null===t||!p(t)||_.isKeyword(t))return t;if(r&&t in r&&!0!==o[t]&&_.createTermDefinition(e,r,t,o),(n=n||{}).vocab){var i=e.mappings[t];if(null===i)return null;if(i)return i["@id"]}var a=t.indexOf(":");if(-1!==a){var u=t.substr(0,a),s=t.substr(a+1);if("_"===u||0===s.indexOf("//"))return t;r&&u in r&&_.createTermDefinition(e,r,u,o);var l=e.mappings[u];return l?l["@id"]+s:t}return n.vocab&&"@vocab"in e?e["@vocab"]+t:n.base?m(e["@base"],t):t},_.getInitialContext=function(e){var t=b(e.base||""),n=JSON.stringify({base:t,processingMode:e.processingMode}),r=x.get(n);if(r)return r;var o={"@base":t,processingMode:e.processingMode,mappings:{},inverse:null,getInverse:function(){if(this.inverse)return this.inverse;for(var e=this.inverse={},t=this.fastCurieMap={},n={},r=this["@language"]||"@none",o=this.mappings,s=Object.keys(o).sort(u.compareShortestLeast),l=0;l<s.length;++l){var c=s[l],f=o[c];if(null!==f){var d=f["@container"]||"@none";d=[].concat(d).sort().join("");for(var p=[].concat(f["@id"]),h=0;h<p.length;++h){var v=p[h],y=e[v],g=_.isKeyword(v);if(y)g||f._termHasColon||n[v].push(c);else if(e[v]=y={},!g&&!f._termHasColon){n[v]=[c];var m={iri:v,terms:n[v]};v[0]in t?t[v[0]].push(m):t[v[0]]=[m]}if(y[d]||(y[d]={"@language":{},"@type":{},"@any":{}}),y=y[d],a(c,y["@any"],"@none"),f.reverse)a(c,y["@type"],"@reverse");else if("@type"in f)a(c,y["@type"],f["@type"]);else if("@language"in f){var b=f["@language"]||"@null";a(c,y["@language"],b)}else a(c,y["@language"],r),a(c,y["@type"],"@none"),a(c,y["@language"],"@none")}}}for(var w in t)i(t,w,1);return e},clone:function(){var e={};return e["@base"]=this["@base"],e.mappings=u.clone(this.mappings),e.clone=this.clone,e.inverse=null,e.getInverse=this.getInverse,"@language"in this&&(e["@language"]=this["@language"]),"@vocab"in this&&(e["@vocab"]=this["@vocab"]),e}};return 1e4===x.size&&x.clear(),x.set(n,o),o;function i(e,t,n){for(var r,o,a=e[t],u=e[t]={},s=0;s<a.length;++s)(o=n>=(r=a[s].iri).length?"":r[n])in u?u[o].push(a[s]):u[o]=[a[s]];for(var l in u)""!==l&&i(u,l,n+1)}function a(e,t,n){n in t||(t[n]=e)}},_.getContextValue=function(e,t,n){if(null===t)return null;if(e.mappings[t]){var r=e.mappings[t];if(h(n))return r;if(n in r)return r[n]}return"@language"===n&&n in e?e[n]:null},_.getAllContexts=function(){var e=(0,a.default)(i.default.mark(function e(t,n){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",S(t,n));case 1:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}(),_.processingMode=function(e,t){return t.toString()>="1.1"?e.processingMode&&e.processingMode>="json-ld-"+t.toString():!e.processingMode||"json-ld-1.0"===e.processingMode},_.isKeyword=function(e){if(!p(e))return!1;switch(e){case"@base":case"@container":case"@context":case"@default":case"@embed":case"@explicit":case"@graph":case"@id":case"@index":case"@language":case"@list":case"@nest":case"@none":case"@omitDefault":case"@prefix":case"@preserve":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@version":case"@vocab":return!0}return!1}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(74),o=n(40);e.exports=function(e){return r(o(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports={}},function(e,t,n){var r=n(73),o=n(55);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(10).f,o=n(20),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(17),o=n(77),i=n(78),a=n(11),u=n(41),s=n(79),l={},c={};(t=e.exports=function(e,t,n,f,d){var p,h,v,y,g=d?function(){return e}:s(e),m=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(p=u(e.length);p>b;b++)if((y=t?m(a(h=e[b])[0],h[1]):m(e[b]))===l||y===c)return y}else for(v=g.call(e);!(h=v.next()).done;)if((y=o(v,m,h.value,t))===l||y===c)return y}).BREAK=l,t.RETURN=c},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports={options:{usePureJavaScript:!1}}},function(e,t,n){"use strict";var r="http://www.w3.org/1999/02/22-rdf-syntax-ns#",o="http://www.w3.org/2001/XMLSchema#";e.exports={LINK_HEADER_REL:"http://www.w3.org/ns/json-ld#context",RDF:r,RDF_LIST:r+"List",RDF_FIRST:r+"first",RDF_REST:r+"rest",RDF_NIL:r+"nil",RDF_TYPE:r+"type",RDF_PLAIN_LITERAL:r+"PlainLiteral",RDF_XML_LITERAL:r+"XMLLiteral",RDF_OBJECT:r+"object",RDF_LANGSTRING:r+"langString",XSD:o,XSD_BOOLEAN:o+"boolean",XSD_DOUBLE:o+"double",XSD_INTEGER:o+"integer",XSD_STRING:o+"string"}},function(e,t,n){"use strict";var r=n(9),o={};e.exports=o,o.parsers={simple:{keys:["href","scheme","authority","path","query","fragment"],regex:/^(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/},full:{keys:["href","protocol","scheme","authority","auth","user","password","hostname","port","path","directory","file","query","fragment"],regex:/^(([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/}},o.parse=function(e,t){for(var n={},r=o.parsers[t||"full"],i=r.regex.exec(e),a=r.keys.length;a--;)n[r.keys[a]]=void 0===i[a]?null:i[a];return("https"===n.scheme&&"443"===n.port||"http"===n.scheme&&"80"===n.port)&&(n.href=n.href.replace(":"+n.port,""),n.authority=n.authority.replace(":"+n.port,""),n.port=null),n.normalizedPath=o.removeDotSegments(n.path),n},o.prependBase=function(e,t){if(null===e)return t;if(-1!==t.indexOf(":"))return t;r.isString(e)&&(e=o.parse(e||""));var n=o.parse(t),i={protocol:e.protocol||""};if(null!==n.authority)i.authority=n.authority,i.path=n.path,i.query=n.query;else if(i.authority=e.authority,""===n.path)i.path=e.path,null!==n.query?i.query=n.query:i.query=e.query;else{if(0===n.path.indexOf("/"))i.path=n.path;else{var a=e.path;(a=a.substr(0,a.lastIndexOf("/")+1)).length>0&&"/"!==a.substr(-1)&&(a+="/"),a+=n.path,i.path=a}i.query=n.query}""!==n.path&&(i.path=o.removeDotSegments(i.path));var u=i.protocol;return null!==i.authority&&(u+="//"+i.authority),u+=i.path,null!==i.query&&(u+="?"+i.query),null!==n.fragment&&(u+="#"+n.fragment),""===u&&(u="./"),u},o.removeBase=function(e,t){if(null===e)return t;r.isString(e)&&(e=o.parse(e||""));var n="";if(""!==e.href?n+=(e.protocol||"")+"//"+(e.authority||""):t.indexOf("//")&&(n+="//"),0!==t.indexOf(n))return t;for(var i=o.parse(t.substr(n.length)),a=e.normalizedPath.split("/"),u=i.normalizedPath.split("/"),s=i.fragment||i.query?0:1;a.length>0&&u.length>s&&a[0]===u[0];)a.shift(),u.shift();var l="";if(a.length>0){a.pop();for(var c=0;c<a.length;++c)l+="../"}return l+=u.join("/"),null!==i.query&&(l+="?"+i.query),null!==i.fragment&&(l+="#"+i.fragment),""===l&&(l="./"),l},o.removeDotSegments=function(e){if(0===e.length)return"";for(var t=e.split("/"),n=[];t.length>0;){var r=t.shift(),o=0===t.length;"."!==r?".."!==r?n.push(r):(n.pop(),o&&n.push("")):o&&n.push("")}return n.length>0&&""!==n[0]&&n.unshift(""),1===n.length&&""===n[0]?"/":n.join("/")};var i=/^([A-Za-z][A-Za-z0-9+-.]*|_):/;o.isAbsolute=function(e){return r.isString(e)&&i.test(e)},o.isRelative=function(e){return r.isString(e)}},function(e,t,n){"use strict";var r=n(105)(!0);n(49)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(48),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(25),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){"use strict";var r=n(42),o={};o[n(1)("toStringTag")]="z",o+""!="[object z]"&&n(19)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(34),o=n(155);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t,n){var r=n(67);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){"use strict";var r=n(22).isKeyword,o=n(14),i=n(9),a=n(8),u=n(15),s={};e.exports=s,s.createMergedNodeMap=function(e,t){var n=(t=t||{}).issuer||new a.IdentifierIssuer("_:b"),r={"@default":{}};return s.createNodeMap(e,r,"@default",n),s.mergeNodeMaps(r)},s.createNodeMap=function(e,t,n,l,c,f){if(i.isArray(e))for(var d=0;d<e.length;++d)s.createNodeMap(e[d],t,n,l,void 0,f);else if(i.isObject(e))if(o.isValue(e)){if("@type"in e){var p=e["@type"];0===p.indexOf("_:")&&(e["@type"]=p=l.getId(p))}f&&f.push(e)}else{if("@type"in e)for(var h=e["@type"],v=0;v<h.length;++v){var y=h[v];0===y.indexOf("_:")&&l.getId(y)}i.isUndefined(c)&&(c=o.isBlankNode(e)?l.getId(e["@id"]):e["@id"]),f&&f.push({"@id":c});var g=t[n],m=g[c]=g[c]||{};m["@id"]=c;for(var b=Object.keys(e).sort(),w=0;w<b.length;++w){var x=b[w];if("@id"!==x)if("@reverse"!==x)if("@graph"!==x)if("@type"!==x&&r(x)){if("@index"===x&&x in m&&(e[x]!==m[x]||e[x]["@id"]!==m[x]["@id"]))throw new u("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:m});m[x]=e[x]}else{var _=e[x];if(0===x.indexOf("_:")&&(x=l.getId(x)),0!==_.length)for(var S=0;S<_.length;++S){var k=_[S];if("@type"===x&&(k=0===k.indexOf("_:")?l.getId(k):k),o.isSubject(k)||o.isSubjectReference(k)){var E=o.isBlankNode(k)?l.getId(k["@id"]):k["@id"];a.addValue(m,x,{"@id":E},{propertyIsArray:!0,allowDuplicate:!1}),s.createNodeMap(k,t,n,l,E)}else if(o.isList(k)){var T=[];s.createNodeMap(k["@list"],t,n,l,c,T),k={"@list":T},a.addValue(m,x,k,{propertyIsArray:!0,allowDuplicate:!1})}else s.createNodeMap(k,t,n,l,c),a.addValue(m,x,k,{propertyIsArray:!0,allowDuplicate:!1})}else a.addValue(m,x,[],{propertyIsArray:!0})}else c in t||(t[c]={}),s.createNodeMap(e[x],t,c,l);else{var O={"@id":c},j=e["@reverse"];for(var C in j)for(var N=j[C],P=0;P<N.length;++P){var A=N[P],I=A["@id"];o.isBlankNode(A)&&(I=l.getId(I)),s.createNodeMap(A,t,n,l,I),a.addValue(g[I],C,O,{propertyIsArray:!0,allowDuplicate:!1})}}}}else f&&f.push(e)},s.mergeNodeMapGraphs=function(e){var t={},n=!0,o=!1,i=void 0;try{for(var u,s=Object.keys(e).sort()[Symbol.iterator]();!(n=(u=s.next()).done);n=!0){var l=u.value,c=!0,f=!1,d=void 0;try{for(var p,h=Object.keys(e[l]).sort()[Symbol.iterator]();!(c=(p=h.next()).done);c=!0){var v=p.value,y=e[l][v];v in t||(t[v]={"@id":v});var g=t[v],m=!0,b=!1,w=void 0;try{for(var x,_=Object.keys(y).sort()[Symbol.iterator]();!(m=(x=_.next()).done);m=!0){var S=x.value;if(r(S))g[S]=a.clone(y[S]);else{var k=!0,E=!1,T=void 0;try{for(var O,j=y[S][Symbol.iterator]();!(k=(O=j.next()).done);k=!0){var C=O.value;a.addValue(g,S,a.clone(C),{propertyIsArray:!0,allowDuplicate:!1})}}catch(e){E=!0,T=e}finally{try{k||null==j.return||j.return()}finally{if(E)throw T}}}}}catch(e){b=!0,w=e}finally{try{m||null==_.return||_.return()}finally{if(b)throw w}}}}catch(e){f=!0,d=e}finally{try{c||null==h.return||h.return()}finally{if(f)throw d}}}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return t},s.mergeNodeMaps=function(e){for(var t=e["@default"],n=Object.keys(e).sort(),r=0;r<n.length;++r){var i=n[r];if("@default"!==i){var a=e[i],u=t[i];u?"@graph"in u||(u["@graph"]=[]):t[i]=u={"@id":i,"@graph":[]};for(var s=u["@graph"],l=Object.keys(a).sort(),c=0;c<l.length;++c){var f=a[l[c]];o.isSubjectReference(f)||s.push(f)}}}return t}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";var r=n(26),o=n(4),i=n(19),a=n(18),u=n(30),s=n(106),l=n(32),c=n(109),f=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,y,g){s(n,t,h);var m,b,w,x=function(e){if(!d&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",S="values"==v,k=!1,E=e.prototype,T=E[f]||E["@@iterator"]||v&&E[v],O=T||x(v),j=v?S?x("entries"):O:void 0,C="Array"==t&&E.entries||T;if(C&&(w=c(C.call(new e)))!==Object.prototype&&w.next&&(l(w,_,!0),r||"function"==typeof w[f]||a(w,f,p)),S&&T&&"values"!==T.name&&(k=!0,O=function(){return T.call(this)}),r&&!g||!d&&!k&&E[f]||a(E,f,O),u[t]=O,u[_]=p,v)if(m={values:S?O:x("values"),keys:y?O:x("keys"),entries:j},g)for(b in m)b in E||i(E,b,m[b]);else o(o.P+o.F*(d||k),t,m);return m}},function(e,t,n){var r=n(7),o=n(2).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(7);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(11),o=n(107),i=n(55),a=n(53)("IE_PROTO"),u=function(){},s=function(){var e,t=n(50)("iframe"),r=i.length;for(t.style.display="none",n(76).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(54)("keys"),o=n(28);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(3),o=n(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(26)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(40);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){for(var r=n(115),o=n(31),i=n(19),a=n(2),u=n(18),s=n(30),l=n(1),c=l("iterator"),f=l("toStringTag"),d=s.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),v=0;v<h.length;v++){var y,g=h[v],m=p[g],b=a[g],w=b&&b.prototype;if(w&&(w[c]||u(w,c,d),w[f]||u(w,f,g),s[g]=d,m))for(y in r)w[y]||i(w,y,r[y],!0)}},function(e,t,n){var r=n(19);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(28)("meta"),o=n(7),i=n(20),a=n(10).f,u=0,s=Object.isExtensible||function(){return!0},l=!n(23)(function(){return s(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&s(e)&&!i(e,r)&&c(e),e}}},function(e,t,n){var r=n(7);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var r=n(29);function o(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(2),o=n(3),i=n(26),a=n(93),u=n(10).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";var r,o=n(0),i=o(n(12)),a=o(n(13)),u=n(21),s=n(96),l=n(163),c=n(100),f=n(164);try{r=n(165)}catch(e){}var d={};e.exports=d,d.NQuads=n(70),d.IdentifierIssuer=n(68),d.canonize=u.callbackify(function(){var e=(0,a.default)(i.default.mark(function e(t,n){var o,a;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=new Promise(function(e,t){o=function(n,r){if(n)return t(n);e(r)}}),Array.isArray(t)||(t=d.NQuads.legacyDatasetToQuads(t)),"URDNA2015"!==n.algorithm){e.next=6;break}r&&!n.usePureJavaScript?r.canonize(t,n,o):new s(n).main(t,o),e.next=11;break;case 6:if("URGNA2012"!==n.algorithm){e.next=10;break}new l(n).main(t,o),e.next=11;break;case 10:throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+n.algorithm);case 11:return e.abrupt("return",a);case 12:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}()),d.canonizeSync=function(e,t){if(Array.isArray(e)||(e=d.NQuads.legacyDatasetToQuads(e)),"URDNA2015"===t.algorithm)return r&&!t.usePureJavaScript?r.canonizeSync(e,t):new c(t).main(e);if("URGNA2012"===t.algorithm)return new f(t).main(e);throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+t.algorithm)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6)),a=n(21);e.exports=function(){function e(t){(0,o.default)(this,e),this.prefix=t,this.counter=0,this.existing={}}return(0,i.default)(e,[{key:"clone",value:function(){var t=new e(this.prefix);return t.counter=this.counter,t.existing=a.clone(this.existing),t}},{key:"getId",value:function(e){if(e&&e in this.existing)return this.existing[e];var t=this.prefix+this.counter;return this.counter+=1,e&&(this.existing[e]=t),t}},{key:"hasId",value:function(e){return e in this.existing}}]),e}()},function(e,t,n){var r=n(36);e.exports=r.md=r.md||{},r.md.algorithms=r.md.algorithms||{}},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6)),a=n(160),u="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString",s="http://www.w3.org/2001/XMLSchema#string",l={};function c(e,t){for(var n in e)if(e[n].termType!==t[n].termType||e[n].value!==t[n].value)return!1;return"Literal"!==e.termType||e.object.datatype.termType===t.object.datatype.termType&&e.object.datatype.value===t.object.datatype.value&&e.object.language===t.object.language}l.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,l.empty=new RegExp("^[ \\t]*$"),l.quad=new RegExp('^[ \\t]*(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�_0-9])(?:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀.])*(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀]))?))[ \\t]+(?:<([^:]+:[^>]*)>)[ \\t]+(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�_0-9])(?:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀.])*(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀]))?)|(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"(?:(?:\\^\\^(?:<([^:]+:[^>]*)>))|(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*)))?))[ \\t]*(?:\\.|(?:(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�_0-9])(?:(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀.])*(?:[A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�_0-9-·̀-ͯ‿-⁀]))?))[ \\t]*\\.))[ \\t]*$'),e.exports=function(){function e(){(0,o.default)(this,e)}return(0,i.default)(e,null,[{key:"parse",value:function(e){var t=[],n={},r=e.split(l.eoln),o=0,i=!0,f=!1,d=void 0;try{for(var p,h=r[Symbol.iterator]();!(i=(p=h.next()).done);i=!0){var v=p.value;if(o++,!l.empty.test(v)){var y=v.match(l.quad);if(null===y)throw new Error("N-Quads parse error on line "+o+".");var g={};if(a.isUndefined(y[1])?g.subject={termType:"BlankNode",value:y[2]}:g.subject={termType:"NamedNode",value:y[1]},g.predicate={termType:"NamedNode",value:y[3]},a.isUndefined(y[4]))if(a.isUndefined(y[5])){g.object={termType:"Literal",value:void 0,datatype:{termType:"NamedNode"}},a.isUndefined(y[7])?a.isUndefined(y[8])?g.object.datatype.value=s:(g.object.datatype.value=u,g.object.language=y[8]):g.object.datatype.value=y[7];var m=y[6].replace(/\\"/g,'"').replace(/\\t/g,"\t").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\\\/g,"\\");g.object.value=m}else g.object={termType:"BlankNode",value:y[5]};else g.object={termType:"NamedNode",value:y[4]};if(a.isUndefined(y[9])?a.isUndefined(y[10])?g.graph={termType:"DefaultGraph",value:""}:g.graph={termType:"BlankNode",value:y[10]}:g.graph={termType:"NamedNode",value:y[9]},g.graph.value in n){var b=!0,w=n[g.graph.value],x=!0,_=!1,S=void 0;try{for(var k,E=w[Symbol.iterator]();!(x=(k=E.next()).done);x=!0)if(c(k.value,g)){b=!1;break}}catch(e){_=!0,S=e}finally{try{x||null==E.return||E.return()}finally{if(_)throw S}}b&&(w.push(g),t.push(g))}else n[g.graph.value]=[g],t.push(g)}}}catch(e){f=!0,d=e}finally{try{i||null==h.return||h.return()}finally{if(f)throw d}}return t}},{key:"serialize",value:function(t){Array.isArray(t)||(t=e.legacyDatasetToQuads(t));var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var s=a.value;n.push(e.serializeQuad(s))}}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n.sort().join("")}},{key:"serializeQuad",value:function(e){var t=e.subject,n=e.predicate,r=e.object,o=e.graph,i="";if([t,n].forEach(function(e){"NamedNode"===e.termType?i+="<"+e.value+">":i+=e.value,i+=" "}),"NamedNode"===r.termType)i+="<"+r.value+">";else if("BlankNode"===r.termType)i+=r.value;else{var a=r.value.replace(/\\/g,"\\\\").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\"/g,'\\"');i+='"'+a+'"',r.datatype.value===u?r.language&&(i+="@"+r.language):r.datatype.value!==s&&(i+="^^<"+r.datatype.value+">")}return"NamedNode"===o.termType?i+=" <"+o.value+">":"BlankNode"===o.termType&&(i+=" "+o.value),i+=" .\n"}},{key:"legacyDatasetToQuads",value:function(e){var t=[],n={"blank node":"BlankNode",IRI:"NamedNode",literal:"Literal"},r=function(r){e[r].forEach(function(e){var o={};for(var i in e){var a=e[i],l={termType:n[a.type],value:a.value};"Literal"===l.termType&&(l.datatype={termType:"NamedNode"},"datatype"in a&&(l.datatype.value=a.datatype),"language"in a?("datatype"in a||(l.datatype.value=u),l.language=a.language):"datatype"in a||(l.datatype.value=s)),o[i]=l}o.graph="@default"===r?{termType:"DefaultGraph",value:""}:{termType:r.startsWith("_:")?"BlankNode":"NamedNode",value:r},t.push(o)})};for(var o in e)r(o);return t}}]),e}()},function(e,t,n){"use strict";var r=n(0),o=r(n(12)),i=r(n(13)),a=r(n(5)),u=r(n(6)),s=n(8),l=s.callbackify,c=s.normalizeDocumentLoader;e.exports=function(){function e(){(0,a.default)(this,e),this._requests={},this.add=l(this.add.bind(this))}return(0,u.default)(e,[{key:"wrapLoader",value:function(e){var t=this;return t._loader=c(e),function(){return t.add.apply(t,arguments)}}},{key:"add",value:function(){var e=(0,i.default)(o.default.mark(function e(t){var n,r;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=(n=this)._requests[t])){e.next=4;break}return e.abrupt("return",Promise.resolve(r));case 4:return r=n._requests[t]=n._loader(t),e.prev=5,e.next=8,r;case 8:return e.abrupt("return",e.sent);case 9:return e.prev=9,delete n._requests[t],e.finish(9);case 12:case"end":return e.stop()}},e,this,[[5,,9,12]])}));return function(t){return e.apply(this,arguments)}}()}]),e}()},function(e,t,n){e.exports=!n(16)&&!n(23)(function(){return 7!=Object.defineProperty(n(50)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(20),o=n(24),i=n(75)(!1),a=n(53)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,l=[];for(n in u)n!=a&&r(u,n)&&l.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(25);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(24),o=n(41),i=n(108);e.exports=function(e){return function(t,n,a){var u,s=r(t),l=o(s.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(2).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(11);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(30),o=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(42),o=n(1)("iterator"),i=n(30);e.exports=n(3).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(1)("unscopables"),o=Array.prototype;null==o[r]&&n(18)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(10).f,o=n(52),i=n(59),a=n(17),u=n(60),s=n(33),l=n(49),c=n(81),f=n(83),d=n(16),p=n(61).fastKey,h=n(62),v=d?"_s":"size",y=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var c=e(function(e,r){u(e,c,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[v]=0,null!=r&&s(r,n,e[l],e)});return i(c.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var n=h(this,t),r=y(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[v]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!y(h(this,t),e)}}),d&&r(c.prototype,"size",{get:function(){return h(this,t)[v]}}),c},def:function(e,t,n){var r,o,i=y(e,t);return i?i.v=n:(e._l=i={i:o=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[v]++,"F"!==o&&(e._i[o]=i)),e},getEntry:y,setStrong:function(e,t,n){l(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))},n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){"use strict";var r=n(2),o=n(10),i=n(16),a=n(1)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(2),o=n(4),i=n(19),a=n(59),u=n(61),s=n(33),l=n(60),c=n(7),f=n(23),d=n(57),p=n(32),h=n(117);e.exports=function(e,t,n,v,y,g){var m=r[e],b=m,w=y?"set":"add",x=b&&b.prototype,_={},S=function(e){var t=x[e];i(x,e,"delete"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(g||x.forEach&&!f(function(){(new b).entries().next()}))){var k=new b,E=k[w](g?{}:-0,1)!=k,T=f(function(){k.has(1)}),O=d(function(e){new b(e)}),j=!g&&f(function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)});O||((b=t(function(t,n){l(t,b,e);var r=h(new m,t,b);return null!=n&&s(n,y,r[w],r),r})).prototype=x,x.constructor=b),(T||j)&&(S("delete"),S("has"),y&&S("get")),(j||E)&&S(w),g&&x.clear&&delete x.clear}else b=v.getConstructor(t,e,y,w),a(b.prototype,n),u.NEED=!0;return p(b,e),_[e]=b,o(o.G+o.W+o.F*(b!=m),_),g||v.setStrong(b,e,y),b}},function(e,t,n){var r=n(44),o=n(27),i=n(24),a=n(51),u=n(20),s=n(72),l=Object.getOwnPropertyDescriptor;t.f=n(16)?l:function(e,t){if(e=i(e),t=a(t,!0),s)try{return l(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(42),o=n(120);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},function(e,t,n){"use strict";var r=n(4);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,n){"use strict";var r=n(4),o=n(29),i=n(17),a=n(33);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,u,s=arguments[1];return o(this),(t=void 0!==s)&&o(s),null==e?new this:(n=[],t?(r=0,u=i(s,arguments[2],2),a(e,!1,function(e){n.push(u(e,r++))})):a(e,!1,n.push,n),new this(n))}})}},function(e,t,n){var r=n(11),o=n(29),i=n(1)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(17),u=n(128),s=n(76),l=n(50),c=n(2),f=c.process,d=c.setImmediate,p=c.clearImmediate,h=c.MessageChannel,v=c.Dispatch,y=0,g={},m=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){m.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++y]=function(){u("function"==typeof e?e:Function(e),t)},r(y),y},p=function(e){delete g[e]},"process"==n(25)(f)?r=function(e){f.nextTick(a(m,e,1))}:v&&v.now?r=function(e){v.now(a(m,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,e,1),0)}),e.exports={set:d,clear:p}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(11),o=n(7),i=n(64);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){t.f=n(1)},function(e,t,n){var r=n(73),o=n(55).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6)),a=r(n(45)),u=r(n(35)),s=r(n(46)),l=n(156),c=n(68),f=n(97),d=n(99),p=n(70),h=n(21),v={subject:"s",object:"o",graph:"g"};e.exports=function(e){function t(e){var n;return(0,o.default)(this,t),e=e||{},(n=(0,a.default)(this,(0,u.default)(t).call(this,e))).name="URDNA2015",n.options=Object.assign({},e),n.blankNodeInfo={},n.hashToBlankNodes={},n.canonicalIssuer=new c("_:c14n"),n.hashAlgorithm="sha256",n.quads,n}return(0,s.default)(t,e),(0,i.default)(t,[{key:"main",value:function(e,t){var n,r=this;r.schedule.start=Date.now(),r.quads=e;var o={};r.waterfall([function(t){r.forEach(e,function(e,t,n){r.forEachComponent(e,function(t){if("BlankNode"===t.termType){var n=t.value;n in r.blankNodeInfo?r.blankNodeInfo[n].quads.push(e):(o[n]=!0,r.blankNodeInfo[n]={quads:[e]})}}),n()},t)},function(e){var t=!0;r.whilst(function(){return t},function(e){t=!1,r.hashToBlankNodes={},r.waterfall([function(e){r.forEach(o,function(e,t,n){r.hashFirstDegreeQuads(t,function(e,o){if(e)return n(e);o in r.hashToBlankNodes?r.hashToBlankNodes[o].push(t):r.hashToBlankNodes[o]=[t],n()})},e)},function(e){var n=Object.keys(r.hashToBlankNodes).sort();r.forEach(n,function(e,n,i){var a=r.hashToBlankNodes[e];if(a.length>1)return i();var u=a[0];r.canonicalIssuer.getId(u),delete o[u],delete r.hashToBlankNodes[e],t=!0,i()},e)}],e)},e)},function(e){var t=Object.keys(r.hashToBlankNodes).sort();r.forEach(t,function(e,t,n){var o=[],i=r.hashToBlankNodes[e];r.waterfall([function(e){r.forEach(i,function(e,t,n){if(r.canonicalIssuer.hasId(e))return n();var i=new c("_:b");i.getId(e),r.hashNDegreeQuads(e,i,function(e,t){if(e)return n(e);o.push(t),n()})},e)},function(e){o.sort(function(e,t){return e.hash<t.hash?-1:e.hash>t.hash?1:0}),r.forEach(o,function(e,t,n){for(var o in e.issuer.existing)r.canonicalIssuer.getId(o);n()},e)}],n)},e)},function(e){var t=[];r.waterfall([function(e){r.forEach(r.quads,function(e,n,o){r.forEachComponent(e,function(e){"BlankNode"!==e.termType||e.value.startsWith(r.canonicalIssuer.prefix)||(e.value=r.canonicalIssuer.getId(e.value))}),t.push(p.serializeQuad(e)),o()},e)},function(e){return t.sort(),n=t.join(""),e()}],e)}],function(e){return t(e,n)})}},{key:"hashFirstDegreeQuads",value:function(e,t){var n=this,r=n.blankNodeInfo[e];if("hash"in r)return t(null,r.hash);var o=[],i=r.quads;n.forEach(i,function(t,r,i){var a={predicate:t.predicate};n.forEachComponent(t,function(t,r){a[r]=n.modifyFirstDegreeComponent(e,t,r)}),o.push(p.serializeQuad(a)),i()},function(e){if(e)return t(e);o.sort();for(var i=new f(n.hashAlgorithm),a=0;a<o.length;++a)i.update(o[a]);r.hash=i.digest(),t(null,r.hash)})}},{key:"hashRelatedBlankNode",value:function(e,t,n,r,o){var i,a=this;a.waterfall([function(t){return a.canonicalIssuer.hasId(e)?(i=a.canonicalIssuer.getId(e),t()):n.hasId(e)?(i=n.getId(e),t()):void a.hashFirstDegreeQuads(e,function(e,n){if(e)return t(e);i=n,t()})}],function(e){if(e)return o(e);var n=new f(a.hashAlgorithm);return n.update(r),"g"!==r&&n.update(a.getRelatedPredicate(t)),n.update(i),o(null,n.digest())})}},{key:"hashNDegreeQuads",value:function(e,t,n){var r,o=this,i=new f(o.hashAlgorithm);o.waterfall([function(n){return o.createHashToRelated(e,t,function(e,t){if(e)return n(e);r=t,n()})},function(e){var n=Object.keys(r).sort();o.forEach(n,function(e,n,a){i.update(e);var u,s="",l=new d(r[e]);o.whilst(function(){return l.hasNext()},function(e){var n=l.next(),r=t.clone(),i="",a=[];o.waterfall([function(t){o.forEach(n,function(t,n,u){if(o.canonicalIssuer.hasId(t)?i+=o.canonicalIssuer.getId(t):(r.hasId(t)||a.push(t),i+=r.getId(t)),0!==s.length&&i.length>=s.length&&i>s)return e();u()},t)},function(t){o.forEach(a,function(t,n,a){o.hashNDegreeQuads(t,r,function(n,o){return n?a(n):(i+=r.getId(t),i+="<"+o.hash+">",r=o.issuer,0!==s.length&&i.length>=s.length&&i>s?e():void a())})},t)},function(e){(0===s.length||i<s)&&(s=i,u=r),e()}],e)},function(e){if(e)return a(e);i.update(s),t=u,a()})},e)}],function(e){n(e,{hash:i.digest(),issuer:t})})}},{key:"modifyFirstDegreeComponent",value:function(e,t){return"BlankNode"!==t.termType?t:((t=h.clone(t)).value=t.value===e?"_:a":"_:z",t)}},{key:"getRelatedPredicate",value:function(e){return"<"+e.predicate.value+">"}},{key:"createHashToRelated",value:function(e,t,n){var r=this,o={},i=r.blankNodeInfo[e].quads;r.forEach(i,function(n,i,a){r.forEach(n,function(i,a,u){if("predicate"===a||"BlankNode"!==i.termType||i.value===e)return u();var s=i.value,l=v[a];r.hashRelatedBlankNode(s,n,t,l,function(e,t){if(e)return u(e);t in o?o[t].push(s):o[t]=[s],u()})},a)},function(e){return n(e,o)})}},{key:"forEachComponent",value:function(e,t){for(var n in e)"predicate"!==n&&t(e[n],n,e)}}]),t}(l)},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6)),a=n(36);n(69),n(157),n(159),e.exports=function(){function e(t){(0,o.default)(this,e),this.md=a.md[t].create()}return(0,i.default)(e,[{key:"update",value:function(e){this.md.update(e,"utf8")}},{key:"digest",value:function(){return this.md.digest().toHex()}}]),e}()},function(e,o,i){var a=i(36),u=i(158),s=e.exports=a.util=a.util||{};function l(e){if(8!==e&&16!==e&&24!==e&&32!==e)throw new Error("Only 8, 16, 24, or 32 bits supported: "+e)}function c(e){if(this.data="",this.read=0,"string"==typeof e)this.data=e;else if(s.isArrayBuffer(e)||s.isArrayBufferView(e))if(void 0!==r&&e instanceof r)this.data=e.toString("binary");else{var t=new Uint8Array(e);try{this.data=String.fromCharCode.apply(null,t)}catch(e){for(var n=0;n<t.length;++n)this.putByte(t[n])}}else(e instanceof c||"object"==typeof e&&"string"==typeof e.data&&"number"==typeof e.read)&&(this.data=e.data,this.read=e.read);this._constructedStringLength=0}!function(){if(void 0!==n&&n.nextTick&&!n.browser)return s.nextTick=n.nextTick,void(s.setImmediate="function"==typeof t?t:s.nextTick);if("function"==typeof t)return s.setImmediate=function(){return t.apply(void 0,arguments)},void(s.nextTick=function(e){return t(e)});if(s.setImmediate=function(e){setTimeout(e,0)},"undefined"!=typeof window&&"function"==typeof window.postMessage){var e="forge.setImmediate",r=[];s.setImmediate=function(t){r.push(t),1===r.length&&window.postMessage(e,"*")},window.addEventListener("message",function(t){if(t.source===window&&t.data===e){t.stopPropagation();var n=r.slice();r.length=0,n.forEach(function(e){e()})}},!0)}if("undefined"!=typeof MutationObserver){var o=Date.now(),i=!0,a=document.createElement("div");r=[],new MutationObserver(function(){var e=r.slice();r.length=0,e.forEach(function(e){e()})}).observe(a,{attributes:!0});var u=s.setImmediate;s.setImmediate=function(e){Date.now()-o>15?(o=Date.now(),u(e)):(r.push(e),1===r.length&&a.setAttribute("a",i=!i))}}s.nextTick=s.setImmediate}(),s.isNodejs=void 0!==n&&n.versions&&n.versions.node,s.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s.isArrayBuffer=function(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer},s.isArrayBufferView=function(e){return e&&s.isArrayBuffer(e.buffer)&&void 0!==e.byteLength},s.ByteBuffer=c,s.ByteStringBuffer=c,s.ByteStringBuffer.prototype._optimizeConstructedString=function(e){this._constructedStringLength+=e,this._constructedStringLength>4096&&(this.data.substr(0,1),this._constructedStringLength=0)},s.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},s.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},s.ByteStringBuffer.prototype.putByte=function(e){return this.putBytes(String.fromCharCode(e))},s.ByteStringBuffer.prototype.fillWithByte=function(e,t){e=String.fromCharCode(e);for(var n=this.data;t>0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return this.data=n,this._optimizeConstructedString(t),this},s.ByteStringBuffer.prototype.putBytes=function(e){return this.data+=e,this._optimizeConstructedString(e.length),this},s.ByteStringBuffer.prototype.putString=function(e){return this.putBytes(s.encodeUtf8(e))},s.ByteStringBuffer.prototype.putInt16=function(e){return this.putBytes(String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},s.ByteStringBuffer.prototype.putInt24=function(e){return this.putBytes(String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},s.ByteStringBuffer.prototype.putInt32=function(e){return this.putBytes(String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},s.ByteStringBuffer.prototype.putInt16Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255))},s.ByteStringBuffer.prototype.putInt24Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255))},s.ByteStringBuffer.prototype.putInt32Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>24&255))},s.ByteStringBuffer.prototype.putInt=function(e,t){l(t);var n="";do{t-=8,n+=String.fromCharCode(e>>t&255)}while(t>0);return this.putBytes(n)},s.ByteStringBuffer.prototype.putSignedInt=function(e,t){return e<0&&(e+=2<<t-1),this.putInt(e,t)},s.ByteStringBuffer.prototype.putBuffer=function(e){return this.putBytes(e.getBytes())},s.ByteStringBuffer.prototype.getByte=function(){return this.data.charCodeAt(this.read++)},s.ByteStringBuffer.prototype.getInt16=function(){var e=this.data.charCodeAt(this.read)<<8^this.data.charCodeAt(this.read+1);return this.read+=2,e},s.ByteStringBuffer.prototype.getInt24=function(){var e=this.data.charCodeAt(this.read)<<16^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2);return this.read+=3,e},s.ByteStringBuffer.prototype.getInt32=function(){var e=this.data.charCodeAt(this.read)<<24^this.data.charCodeAt(this.read+1)<<16^this.data.charCodeAt(this.read+2)<<8^this.data.charCodeAt(this.read+3);return this.read+=4,e},s.ByteStringBuffer.prototype.getInt16Le=function(){var e=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8;return this.read+=2,e},s.ByteStringBuffer.prototype.getInt24Le=function(){var e=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16;return this.read+=3,e},s.ByteStringBuffer.prototype.getInt32Le=function(){var e=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16^this.data.charCodeAt(this.read+3)<<24;return this.read+=4,e},s.ByteStringBuffer.prototype.getInt=function(e){l(e);var t=0;do{t=(t<<8)+this.data.charCodeAt(this.read++),e-=8}while(e>0);return t},s.ByteStringBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<<e-2;return t>=n&&(t-=n<<1),t},s.ByteStringBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},s.ByteStringBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},s.ByteStringBuffer.prototype.at=function(e){return this.data.charCodeAt(this.read+e)},s.ByteStringBuffer.prototype.setAt=function(e,t){return this.data=this.data.substr(0,this.read+e)+String.fromCharCode(t)+this.data.substr(this.read+e+1),this},s.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},s.ByteStringBuffer.prototype.copy=function(){var e=s.createBuffer(this.data);return e.read=this.read,e},s.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},s.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},s.ByteStringBuffer.prototype.truncate=function(e){var t=Math.max(0,this.length()-e);return this.data=this.data.substr(this.read,t),this.read=0,this},s.ByteStringBuffer.prototype.toHex=function(){for(var e="",t=this.read;t<this.data.length;++t){var n=this.data.charCodeAt(t);n<16&&(e+="0"),e+=n.toString(16)}return e},s.ByteStringBuffer.prototype.toString=function(){return s.decodeUtf8(this.bytes())},s.DataBuffer=function(e,t){t=t||{},this.read=t.readOffset||0,this.growSize=t.growSize||1024;var n=s.isArrayBuffer(e),r=s.isArrayBufferView(e);if(n||r)return this.data=n?new DataView(e):new DataView(e.buffer,e.byteOffset,e.byteLength),void(this.write="writeOffset"in t?t.writeOffset:this.data.byteLength);this.data=new DataView(new ArrayBuffer(0)),this.write=0,null!=e&&this.putBytes(e),"writeOffset"in t&&(this.write=t.writeOffset)},s.DataBuffer.prototype.length=function(){return this.write-this.read},s.DataBuffer.prototype.isEmpty=function(){return this.length()<=0},s.DataBuffer.prototype.accommodate=function(e,t){if(this.length()>=e)return this;t=Math.max(t||this.growSize,e);var n=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),r=new Uint8Array(this.length()+t);return r.set(n),this.data=new DataView(r.buffer),this},s.DataBuffer.prototype.putByte=function(e){return this.accommodate(1),this.data.setUint8(this.write++,e),this},s.DataBuffer.prototype.fillWithByte=function(e,t){this.accommodate(t);for(var n=0;n<t;++n)this.data.setUint8(e);return this},s.DataBuffer.prototype.putBytes=function(e,t){if(s.isArrayBufferView(e)){var n=(r=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)).byteLength-r.byteOffset;return this.accommodate(n),new Uint8Array(this.data.buffer,this.write).set(r),this.write+=n,this}if(s.isArrayBuffer(e)){var r=new Uint8Array(e);return this.accommodate(r.byteLength),new Uint8Array(this.data.buffer).set(r,this.write),this.write+=r.byteLength,this}if(e instanceof s.DataBuffer||"object"==typeof e&&"number"==typeof e.read&&"number"==typeof e.write&&s.isArrayBufferView(e.data))return r=new Uint8Array(e.data.byteLength,e.read,e.length()),this.accommodate(r.byteLength),new Uint8Array(e.data.byteLength,this.write).set(r),this.write+=r.byteLength,this;if(e instanceof s.ByteStringBuffer&&(e=e.data,t="binary"),t=t||"binary","string"==typeof e){var o;if("hex"===t)return this.accommodate(Math.ceil(e.length/2)),o=new Uint8Array(this.data.buffer,this.write),this.write+=s.binary.hex.decode(e,o,this.write),this;if("base64"===t)return this.accommodate(3*Math.ceil(e.length/4)),o=new Uint8Array(this.data.buffer,this.write),this.write+=s.binary.base64.decode(e,o,this.write),this;if("utf8"===t&&(e=s.encodeUtf8(e),t="binary"),"binary"===t||"raw"===t)return this.accommodate(e.length),o=new Uint8Array(this.data.buffer,this.write),this.write+=s.binary.raw.decode(o),this;if("utf16"===t)return this.accommodate(2*e.length),o=new Uint16Array(this.data.buffer,this.write),this.write+=s.text.utf16.encode(o),this;throw new Error("Invalid encoding: "+t)}throw Error("Invalid parameter: "+e)},s.DataBuffer.prototype.putBuffer=function(e){return this.putBytes(e),e.clear(),this},s.DataBuffer.prototype.putString=function(e){return this.putBytes(e,"utf16")},s.DataBuffer.prototype.putInt16=function(e){return this.accommodate(2),this.data.setInt16(this.write,e),this.write+=2,this},s.DataBuffer.prototype.putInt24=function(e){return this.accommodate(3),this.data.setInt16(this.write,e>>8&65535),this.data.setInt8(this.write,e>>16&255),this.write+=3,this},s.DataBuffer.prototype.putInt32=function(e){return this.accommodate(4),this.data.setInt32(this.write,e),this.write+=4,this},s.DataBuffer.prototype.putInt16Le=function(e){return this.accommodate(2),this.data.setInt16(this.write,e,!0),this.write+=2,this},s.DataBuffer.prototype.putInt24Le=function(e){return this.accommodate(3),this.data.setInt8(this.write,e>>16&255),this.data.setInt16(this.write,e>>8&65535,!0),this.write+=3,this},s.DataBuffer.prototype.putInt32Le=function(e){return this.accommodate(4),this.data.setInt32(this.write,e,!0),this.write+=4,this},s.DataBuffer.prototype.putInt=function(e,t){l(t),this.accommodate(t/8);do{t-=8,this.data.setInt8(this.write++,e>>t&255)}while(t>0);return this},s.DataBuffer.prototype.putSignedInt=function(e,t){return l(t),this.accommodate(t/8),e<0&&(e+=2<<t-1),this.putInt(e,t)},s.DataBuffer.prototype.getByte=function(){return this.data.getInt8(this.read++)},s.DataBuffer.prototype.getInt16=function(){var e=this.data.getInt16(this.read);return this.read+=2,e},s.DataBuffer.prototype.getInt24=function(){var e=this.data.getInt16(this.read)<<8^this.data.getInt8(this.read+2);return this.read+=3,e},s.DataBuffer.prototype.getInt32=function(){var e=this.data.getInt32(this.read);return this.read+=4,e},s.DataBuffer.prototype.getInt16Le=function(){var e=this.data.getInt16(this.read,!0);return this.read+=2,e},s.DataBuffer.prototype.getInt24Le=function(){var e=this.data.getInt8(this.read)^this.data.getInt16(this.read+1,!0)<<8;return this.read+=3,e},s.DataBuffer.prototype.getInt32Le=function(){var e=this.data.getInt32(this.read,!0);return this.read+=4,e},s.DataBuffer.prototype.getInt=function(e){l(e);var t=0;do{t=(t<<8)+this.data.getInt8(this.read++),e-=8}while(e>0);return t},s.DataBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<<e-2;return t>=n&&(t-=n<<1),t},s.DataBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},s.DataBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},s.DataBuffer.prototype.at=function(e){return this.data.getUint8(this.read+e)},s.DataBuffer.prototype.setAt=function(e,t){return this.data.setUint8(e,t),this},s.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},s.DataBuffer.prototype.copy=function(){return new s.DataBuffer(this)},s.DataBuffer.prototype.compact=function(){if(this.read>0){var e=new Uint8Array(this.data.buffer,this.read),t=new Uint8Array(e.byteLength);t.set(e),this.data=new DataView(t),this.write-=this.read,this.read=0}return this},s.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},s.DataBuffer.prototype.truncate=function(e){return this.write=Math.max(0,this.length()-e),this.read=Math.min(this.read,this.write),this},s.DataBuffer.prototype.toHex=function(){for(var e="",t=this.read;t<this.data.byteLength;++t){var n=this.data.getUint8(t);n<16&&(e+="0"),e+=n.toString(16)}return e},s.DataBuffer.prototype.toString=function(e){var t=new Uint8Array(this.data,this.read,this.length());if("binary"===(e=e||"utf8")||"raw"===e)return s.binary.raw.encode(t);if("hex"===e)return s.binary.hex.encode(t);if("base64"===e)return s.binary.base64.encode(t);if("utf8"===e)return s.text.utf8.decode(t);if("utf16"===e)return s.text.utf16.decode(t);throw new Error("Invalid encoding: "+e)},s.createBuffer=function(e,t){return t=t||"raw",void 0!==e&&"utf8"===t&&(e=s.encodeUtf8(e)),new s.ByteBuffer(e)},s.fillString=function(e,t){for(var n="";t>0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return n},s.xorBytes=function(e,t,n){for(var r="",o="",i="",a=0,u=0;n>0;--n,++a)o=e.charCodeAt(a)^t.charCodeAt(a),u>=10&&(r+=i,i="",u=0),i+=String.fromCharCode(o),++u;return r+=i},s.hexToBytes=function(e){var t="",n=0;for(!0&e.length&&(n=1,t+=String.fromCharCode(parseInt(e[0],16)));n<e.length;n+=2)t+=String.fromCharCode(parseInt(e.substr(n,2),16));return t},s.bytesToHex=function(e){return s.createBuffer(e).toHex()},s.int32ToBytes=function(e){return String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e)};var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],p="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";s.encode64=function(e,t){for(var n,r,o,i="",a="",u=0;u<e.length;)n=e.charCodeAt(u++),r=e.charCodeAt(u++),o=e.charCodeAt(u++),i+=f.charAt(n>>2),i+=f.charAt((3&n)<<4|r>>4),isNaN(r)?i+="==":(i+=f.charAt((15&r)<<2|o>>6),i+=isNaN(o)?"=":f.charAt(63&o)),t&&i.length>t&&(a+=i.substr(0,t)+"\r\n",i=i.substr(t));return a+=i},s.decode64=function(e){e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var t,n,r,o,i="",a=0;a<e.length;)t=d[e.charCodeAt(a++)-43],n=d[e.charCodeAt(a++)-43],r=d[e.charCodeAt(a++)-43],o=d[e.charCodeAt(a++)-43],i+=String.fromCharCode(t<<2|n>>4),64!==r&&(i+=String.fromCharCode((15&n)<<4|r>>2),64!==o&&(i+=String.fromCharCode((3&r)<<6|o)));return i},s.encodeUtf8=function(e){return unescape(encodeURIComponent(e))},s.decodeUtf8=function(e){return decodeURIComponent(escape(e))},s.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:u.encode,decode:u.decode}},s.binary.raw.encode=function(e){return String.fromCharCode.apply(null,e)},s.binary.raw.decode=function(e,t,n){var r=t;r||(r=new Uint8Array(e.length));for(var o=n=n||0,i=0;i<e.length;++i)r[o++]=e.charCodeAt(i);return t?o-n:r},s.binary.hex.encode=s.bytesToHex,s.binary.hex.decode=function(e,t,n){var r=t;r||(r=new Uint8Array(Math.ceil(e.length/2)));var o=0,i=n=n||0;for(1&e.length&&(o=1,r[i++]=parseInt(e[0],16));o<e.length;o+=2)r[i++]=parseInt(e.substr(o,2),16);return t?i-n:r},s.binary.base64.encode=function(e,t){for(var n,r,o,i="",a="",u=0;u<e.byteLength;)n=e[u++],r=e[u++],o=e[u++],i+=f.charAt(n>>2),i+=f.charAt((3&n)<<4|r>>4),isNaN(r)?i+="==":(i+=f.charAt((15&r)<<2|o>>6),i+=isNaN(o)?"=":f.charAt(63&o)),t&&i.length>t&&(a+=i.substr(0,t)+"\r\n",i=i.substr(t));return a+=i},s.binary.base64.decode=function(e,t,n){var r,o,i,a,u=t;u||(u=new Uint8Array(3*Math.ceil(e.length/4))),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var s=0,l=n=n||0;s<e.length;)r=d[e.charCodeAt(s++)-43],o=d[e.charCodeAt(s++)-43],i=d[e.charCodeAt(s++)-43],a=d[e.charCodeAt(s++)-43],u[l++]=r<<2|o>>4,64!==i&&(u[l++]=(15&o)<<4|i>>2,64!==a&&(u[l++]=(3&i)<<6|a));return t?l-n:u.subarray(0,l)},s.binary.base58.encode=function(e,t){return s.binary.baseN.encode(e,p,t)},s.binary.base58.decode=function(e,t){return s.binary.baseN.decode(e,p,t)},s.text={utf8:{},utf16:{}},s.text.utf8.encode=function(e,t,n){e=s.encodeUtf8(e);var r=t;r||(r=new Uint8Array(e.length));for(var o=n=n||0,i=0;i<e.length;++i)r[o++]=e.charCodeAt(i);return t?o-n:r},s.text.utf8.decode=function(e){return s.decodeUtf8(String.fromCharCode.apply(null,e))},s.text.utf16.encode=function(e,t,n){var r=t;r||(r=new Uint8Array(2*e.length));for(var o=new Uint16Array(r.buffer),i=n=n||0,a=n,u=0;u<e.length;++u)o[a++]=e.charCodeAt(u),i+=2;return t?i-n:r},s.text.utf16.decode=function(e){return String.fromCharCode.apply(null,new Uint16Array(e.buffer))},s.deflate=function(e,t,n){if(t=s.decode64(e.deflate(s.encode64(t)).rval),n){var r=2;32&t.charCodeAt(1)&&(r=6),t=t.substring(r,t.length-4)}return t},s.inflate=function(e,t,n){var r=e.inflate(s.encode64(t)).rval;return null===r?null:s.decode64(r)};var h=function(e,t,n){if(!e)throw new Error("WebStorage not available.");var r;if(null===n?r=e.removeItem(t):(n=s.encode64(JSON.stringify(n)),r=e.setItem(t,n)),void 0!==r&&!0!==r.rval){var o=new Error(r.error.message);throw o.id=r.error.id,o.name=r.error.name,o}},v=function(e,t){if(!e)throw new Error("WebStorage not available.");var n=e.getItem(t);if(e.init)if(null===n.rval){if(n.error){var r=new Error(n.error.message);throw r.id=n.error.id,r.name=n.error.name,r}n=null}else n=n.rval;return null!==n&&(n=JSON.parse(s.decode64(n))),n},y=function(e,t,n,r){var o=v(e,t);null===o&&(o={}),o[n]=r,h(e,t,o)},g=function(e,t,n){var r=v(e,t);return null!==r&&(r=n in r?r[n]:null),r},m=function(e,t,n){var r=v(e,t);if(null!==r&&n in r){delete r[n];var o=!0;for(var i in r){o=!1;break}o&&(r=null),h(e,t,r)}},b=function(e,t){h(e,t,null)},w=function(e,t,n){var r,o=null;void 0===n&&(n=["web","flash"]);var i=!1,a=null;for(var u in n){r=n[u];try{if("flash"===r||"both"===r){if(null===t[0])throw new Error("Flash local storage not available.");o=e.apply(this,t),i="flash"===r}"web"!==r&&"both"!==r||(t[0]=localStorage,o=e.apply(this,t),i=!0)}catch(e){a=e}if(i)break}if(!i)throw a;return o};s.setItem=function(e,t,n,r,o){w(y,arguments,o)},s.getItem=function(e,t,n,r){return w(g,arguments,r)},s.removeItem=function(e,t,n,r){w(m,arguments,r)},s.clearItems=function(e,t,n){w(b,arguments,n)},s.parseUrl=function(e){var t=/^(https?):\/\/([^:&^\/]*):?(\d*)(.*)$/g;t.lastIndex=0;var n=t.exec(e),r=null===n?null:{full:e,scheme:n[1],host:n[2],port:n[3],path:n[4]};return r&&(r.fullHost=r.host,r.port?80!==r.port&&"http"===r.scheme?r.fullHost+=":"+r.port:443!==r.port&&"https"===r.scheme&&(r.fullHost+=":"+r.port):"http"===r.scheme?r.port=80:"https"===r.scheme&&(r.port=443),r.full=r.scheme+"://"+r.fullHost),r};var x=null;s.getQueryVariables=function(e){var t,n=function(e){for(var t={},n=e.split("&"),r=0;r<n.length;r++){var o,i,a=n[r].indexOf("=");a>0?(o=n[r].substring(0,a),i=n[r].substring(a+1)):(o=n[r],i=null),o in t||(t[o]=[]),o in Object.prototype||null===i||t[o].push(unescape(i))}return t};return void 0===e?(null===x&&(x="undefined"!=typeof window&&window.location&&window.location.search?n(window.location.search.substring(1)):{}),t=x):t=n(e),t},s.parseFragment=function(e){var t=e,n="",r=e.indexOf("?");r>0&&(t=e.substring(0,r),n=e.substring(r+1));var o=t.split("/");return o.length>0&&""===o[0]&&o.shift(),{pathString:t,queryString:n,path:o,query:""===n?{}:s.getQueryVariables(n)}},s.makeRequest=function(e){var t=s.parseFragment(e),n={path:t.pathString,query:t.queryString,getPath:function(e){return void 0===e?t.path:t.path[e]},getQuery:function(e,n){var r;return void 0===e?r=t.query:(r=t.query[e])&&void 0!==n&&(r=r[n]),r},getQueryLast:function(e,t){var r=n.getQuery(e);return r?r[r.length-1]:t}};return n},s.makeLink=function(e,t,n){e=jQuery.isArray(e)?e.join("/"):e;var r=jQuery.param(t||{});return n=n||"",e+(r.length>0?"?"+r:"")+(n.length>0?"#"+n:"")},s.setPath=function(e,t,n){if("object"==typeof e&&null!==e)for(var r=0,o=t.length;r<o;){var i=t[r++];if(r==o)e[i]=n;else{var a=i in e;(!a||a&&"object"!=typeof e[i]||a&&null===e[i])&&(e[i]={}),e=e[i]}}},s.getPath=function(e,t,n){for(var r=0,o=t.length,i=!0;i&&r<o&&"object"==typeof e&&null!==e;){var a=t[r++];(i=a in e)&&(e=e[a])}return i?e:n},s.deletePath=function(e,t){if("object"==typeof e&&null!==e)for(var n=0,r=t.length;n<r;){var o=t[n++];if(n==r)delete e[o];else{if(!(o in e)||"object"!=typeof e[o]||null===e[o])break;e=e[o]}}},s.isEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},s.format=function(e){for(var t,n,r=/%./g,o=0,i=[],a=0;t=r.exec(e);){(n=e.substring(a,r.lastIndex-2)).length>0&&i.push(n),a=r.lastIndex;var u=t[0][1];switch(u){case"s":case"o":o<arguments.length?i.push(arguments[1+o++]):i.push("<?>");break;case"%":i.push("%");break;default:i.push("<%"+u+"?>")}}return i.push(e.substring(a)),i.join("")},s.formatNumber=function(e,t,n,r){var o=e,i=isNaN(t=Math.abs(t))?2:t,a=void 0===n?",":n,u=void 0===r?".":r,s=o<0?"-":"",l=parseInt(o=Math.abs(+o||0).toFixed(i),10)+"",c=l.length>3?l.length%3:0;return s+(c?l.substr(0,c)+u:"")+l.substr(c).replace(/(\d{3})(?=\d)/g,"$1"+u)+(i?a+Math.abs(o-l).toFixed(i).slice(2):"")},s.formatSize=function(e){return e=e>=1073741824?s.formatNumber(e/1073741824,2,".","")+" GiB":e>=1048576?s.formatNumber(e/1048576,2,".","")+" MiB":e>=1024?s.formatNumber(e/1024,0)+" KiB":s.formatNumber(e,0)+" bytes"},s.bytesFromIP=function(e){return-1!==e.indexOf(".")?s.bytesFromIPv4(e):-1!==e.indexOf(":")?s.bytesFromIPv6(e):null},s.bytesFromIPv4=function(e){if(4!==(e=e.split(".")).length)return null;for(var t=s.createBuffer(),n=0;n<e.length;++n){var r=parseInt(e[n],10);if(isNaN(r))return null;t.putByte(r)}return t.getBytes()},s.bytesFromIPv6=function(e){for(var t=0,n=2*(8-(e=e.split(":").filter(function(e){return 0===e.length&&++t,!0})).length+t),r=s.createBuffer(),o=0;o<8;++o)if(e[o]&&0!==e[o].length){var i=s.hexToBytes(e[o]);i.length<2&&r.putByte(0),r.putBytes(i)}else r.fillWithByte(0,n),n=0;return r.getBytes()},s.bytesToIP=function(e){return 4===e.length?s.bytesToIPv4(e):16===e.length?s.bytesToIPv6(e):null},s.bytesToIPv4=function(e){if(4!==e.length)return null;for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t.join(".")},s.bytesToIPv6=function(e){if(16!==e.length)return null;for(var t=[],n=[],r=0,o=0;o<e.length;o+=2){for(var i=s.bytesToHex(e[o]+e[o+1]);"0"===i[0]&&"0"!==i;)i=i.substr(1);if("0"===i){var a=n[n.length-1],u=t.length;a&&u===a.end+1?(a.end=u,a.end-a.start>n[r].end-n[r].start&&(r=n.length-1)):n.push({start:u,end:u})}t.push(i)}if(n.length>0){var l=n[r];l.end-l.start>0&&(t.splice(l.start,l.end-l.start+1,""),0===l.start&&t.unshift(""),7===l.end&&t.push(""))}return t.join(":")},s.estimateCores=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},"cores"in s&&!e.update)return t(null,s.cores);if("undefined"!=typeof navigator&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return s.cores=navigator.hardwareConcurrency,t(null,s.cores);if("undefined"==typeof Worker)return s.cores=1,t(null,s.cores);if("undefined"==typeof Blob)return s.cores=2,t(null,s.cores);var n=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",function(e){for(var t=Date.now(),n=t+4;Date.now()<n;);self.postMessage({st:t,et:n})})}.toString(),")()"],{type:"application/javascript"}));!function e(r,o,i){if(0===o){var a=Math.floor(r.reduce(function(e,t){return e+t},0)/r.length);return s.cores=Math.max(1,a),URL.revokeObjectURL(n),t(null,s.cores)}!function(e,t){for(var r=[],o=[],i=0;i<e;++i){var a=new Worker(n);a.addEventListener("message",function(n){if(o.push(n.data),o.length===e){for(var i=0;i<e;++i)r[i].terminate();t(0,o)}}),r.push(a)}for(var i=0;i<e;++i)r[i].postMessage(i)}(i,function(t,n){r.push(function(e,t){for(var n=[],r=0;r<e;++r)for(var o=t[r],i=n[r]=[],a=0;a<e;++a)if(r!==a){var u=t[a];(o.st>u.st&&o.st<u.et||u.st>o.st&&u.st<o.et)&&i.push(a)}return n.reduce(function(e,t){return Math.max(e,t.length)},0)}(i,n)),e(r,o-1,i)})}([],5,16)}},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6));e.exports=function(){function e(t){(0,o.default)(this,e),this.list=t.sort(),this.done=!1,this.left={};for(var n=0;n<t.length;++n)this.left[t[n]]=!0}return(0,i.default)(e,[{key:"hasNext",value:function(){return!this.done}},{key:"next",value:function(){for(var e=this.list.slice(),t=null,n=0,r=this.list.length,o=0;o<r;++o){var i=this.list[o],a=this.left[i];(null===t||i>t)&&(a&&o>0&&i>this.list[o-1]||!a&&o<r-1&&i>this.list[o+1])&&(t=i,n=o)}if(null===t)this.done=!0;else{var u=this.left[t]?n-1:n+1;this.list[n]=this.list[u],this.list[u]=t;for(var s=0;s<r;++s)this.list[s]>t&&(this.left[this.list[s]]=!this.left[this.list[s]])}return e}}]),e}()},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6)),a=n(68),u=n(97),s=n(99),l=n(70),c=n(21),f={subject:"s",object:"o",graph:"g"};e.exports=function(){function e(){(0,o.default)(this,e),this.name="URDNA2015",this.blankNodeInfo={},this.hashToBlankNodes={},this.canonicalIssuer=new a("_:c14n"),this.hashAlgorithm="sha256",this.quads}return(0,i.default)(e,[{key:"main",value:function(e){var t=this;t.quads=e;var n={},r=!0,o=!1,i=void 0;try{for(var u,s=function(){var e=u.value;t.forEachComponent(e,function(r){if("BlankNode"===r.termType){var o=r.value;o in t.blankNodeInfo?t.blankNodeInfo[o].quads.push(e):(n[o]=!0,t.blankNodeInfo[o]={quads:[e]})}})},c=e[Symbol.iterator]();!(r=(u=c.next()).done);r=!0)s()}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}for(var f=!0;f;){for(var d in f=!1,t.hashToBlankNodes={},n){var p=t.hashFirstDegreeQuads(d);p in t.hashToBlankNodes?t.hashToBlankNodes[p].push(d):t.hashToBlankNodes[p]=[d]}for(var h=Object.keys(t.hashToBlankNodes).sort(),v=0;v<h.length;++v){var y=h[v],g=t.hashToBlankNodes[y];if(!(g.length>1)){var m=g[0];t.canonicalIssuer.getId(m),delete n[m],delete t.hashToBlankNodes[y],f=!0}}}for(var b=Object.keys(t.hashToBlankNodes).sort(),w=0;w<b.length;++w){for(var x=[],_=b[w],S=t.hashToBlankNodes[_],k=0;k<S.length;++k){var E=S[k];if(!t.canonicalIssuer.hasId(E)){var T=new a("_:b");T.getId(E);var O=t.hashNDegreeQuads(E,T);x.push(O)}}x.sort(function(e,t){return e.hash<t.hash?-1:e.hash>t.hash?1:0});for(var j=0;j<x.length;++j){var C=x[j];for(var N in C.issuer.existing)t.canonicalIssuer.getId(N)}}for(var P=[],A=0;A<t.quads.length;++A){var I=t.quads[A];t.forEachComponent(I,function(e){"BlankNode"!==e.termType||e.value.startsWith(t.canonicalIssuer.prefix)||(e.value=t.canonicalIssuer.getId(e.value))}),P.push(l.serializeQuad(I))}return P.sort(),P.join("")}},{key:"hashFirstDegreeQuads",value:function(e){var t=this,n=t.blankNodeInfo[e];if("hash"in n)return n.hash;for(var r=[],o=n.quads,i=function(n){var i=o[n],a={predicate:i.predicate};t.forEachComponent(i,function(n,r){a[r]=t.modifyFirstDegreeComponent(e,n,r)}),r.push(l.serializeQuad(a))},a=0;a<o.length;++a)i(a);r.sort();var s=new u(t.hashAlgorithm);for(a=0;a<r.length;++a)s.update(r[a]);return n.hash=s.digest(),n.hash}},{key:"hashRelatedBlankNode",value:function(e,t,n,r){var o;o=this.canonicalIssuer.hasId(e)?this.canonicalIssuer.getId(e):n.hasId(e)?n.getId(e):this.hashFirstDegreeQuads(e);var i=new u(this.hashAlgorithm);return i.update(r),"g"!==r&&i.update(this.getRelatedPredicate(t)),i.update(o),i.digest()}},{key:"hashNDegreeQuads",value:function(e,t){for(var n=new u(this.hashAlgorithm),r=this.createHashToRelated(e,t),o=Object.keys(r).sort(),i=0;i<o.length;++i){var a=o[i];n.update(a);for(var l="",c=void 0,f=new s(r[a]);f.hasNext();){for(var d=f.next(),p=t.clone(),h="",v=[],y=!1,g=0;g<d.length;++g){var m=d[g];if(this.canonicalIssuer.hasId(m)?h+=this.canonicalIssuer.getId(m):(p.hasId(m)||v.push(m),h+=p.getId(m)),0!==l.length&&h.length>=l.length&&h>l){y=!0;break}}if(!y){for(var b=0;b<v.length;++b){var w=v[b],x=this.hashNDegreeQuads(w,p);if(h+=p.getId(w),h+="<"+x.hash+">",p=x.issuer,0!==l.length&&h.length>=l.length&&h>l){y=!0;break}}y||(0===l.length||h<l)&&(l=h,c=p)}}n.update(l),t=c}return{hash:n.digest(),issuer:t}}},{key:"modifyFirstDegreeComponent",value:function(e,t){return"BlankNode"!==t.termType?t:((t=c.clone(t)).value=t.value===e?"_:a":"_:z",t)}},{key:"getRelatedPredicate",value:function(e){return"<"+e.predicate.value+">"}},{key:"createHashToRelated",value:function(e,t){for(var n={},r=this.blankNodeInfo[e].quads,o=0;o<r.length;++o){var i=r[o];for(var a in i){var u=i[a];if("predicate"!==a&&"BlankNode"===u.termType&&u.value!==e){var s=u.value,l=f[a],c=this.hashRelatedBlankNode(s,i,t,l);c in n?n[c].push(s):n[c]=[s]}}}return n}},{key:"forEachComponent",value:function(e,t){for(var n in e)"predicate"!==n&&t(e[n],n,e)}}]),e}()},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){n(104),n(112),n(114),n(123),n(126),n(133),n(138),n(143),e.exports=n(150)},function(e,t,n){n(39),n(110),e.exports=n(3).Array.from},function(e,t,n){var r=n(48),o=n(40);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),l=u.length;return s<0||s>=l?e?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===l||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(52),o=n(27),i=n(32),a={};n(18)(a,n(1)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(10),o=n(11),i=n(31);e.exports=n(16)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,s=0;u>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(48),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(20),o=n(56),i=n(53)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(17),o=n(4),i=n(56),a=n(77),u=n(78),s=n(41),l=n(111),c=n(79);o(o.S+o.F*!n(57)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,f,d=i(e),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,y=void 0!==v,g=0,m=c(d);if(y&&(v=r(v,h>2?arguments[2]:void 0,2)),null==m||p==Array&&u(m))for(n=new p(t=s(d.length));t>g;g++)l(n,g,y?v(d[g],g):d[g]);else for(f=m.call(d),n=new p;!(o=f.next()).done;g++)l(n,g,y?a(f,v,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(10),o=n(27);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){n(113),e.exports=n(3).Array.includes},function(e,t,n){"use strict";var r=n(4),o=n(75)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(80)("includes")},function(e,t,n){n(43),n(39),n(58),n(116),n(119),n(121),n(122),e.exports=n(3).Map},function(e,t,n){"use strict";var r=n(80),o=n(81),i=n(30),a=n(24);e.exports=n(49)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(82),o=n(62);e.exports=n(84)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(7),o=n(118).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){var r=n(7),o=n(11),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(17)(Function.call,n(85).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(4);r(r.P+r.R,"Map",{toJSON:n(86)("Map")})},function(e,t,n){var r=n(33);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){n(87)("Map")},function(e,t,n){n(88)("Map")},function(e,t,n){n(124),e.exports=n(3).Object.assign},function(e,t,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(125)})},function(e,t,n){"use strict";var r=n(31),o=n(63),i=n(44),a=n(56),u=n(74),s=Object.assign;e.exports=!s||n(23)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r})?function(e,t){for(var n=a(e),s=arguments.length,l=1,c=o.f,f=i.f;s>l;)for(var d,p=u(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,y=0;v>y;)f.call(p,d=h[y++])&&(n[d]=p[d]);return n}:s},function(e,t,n){n(43),n(39),n(58),n(127),n(131),n(132),e.exports=n(3).Promise},function(e,t,n){"use strict";var r,o,i,a,u=n(26),s=n(2),l=n(17),c=n(42),f=n(4),d=n(7),p=n(29),h=n(60),v=n(33),y=n(89),g=n(90).set,m=n(129)(),b=n(64),w=n(91),x=n(130),_=n(92),S=s.TypeError,k=s.process,E=k&&k.versions,T=E&&E.v8||"",O=s.Promise,j="process"==c(k),C=function(){},N=o=b.f,P=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(C,C)};return(j||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),A=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var n=e._c;m(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,u=o?t.ok:t.fail,s=t.resolve,l=t.reject,c=t.domain;try{u?(o||(2==e._h&&D(e),e._h=1),!0===u?n=r:(c&&c.enter(),n=u(r),c&&(c.exit(),a=!0)),n===t.promise?l(S("Promise-chain cycle")):(i=A(n))?i.call(n,s,l):s(n)):l(r)}catch(e){c&&!a&&c.exit(),l(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&L(e)})}},L=function(e){g.call(s,function(){var t,n,r,o=e._v,i=R(e);if(i&&(t=w(function(){j?k.emit("unhandledRejection",o,e):(n=s.onunhandledrejection)?n({promise:e,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=j||R(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},R=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){g.call(s,function(){var t;j?k.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},M=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},B=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=A(e))?m(function(){var r={_w:n,_d:!1};try{t.call(e,l(B,r,1),l(M,r,1))}catch(e){M.call(r,e)}}):(n._v=e,n._s=1,I(n,!1))}catch(e){M.call({_w:n,_d:!1},e)}}};P||(O=function(e){h(this,O,"Promise","_h"),p(e),r.call(this);try{e(l(B,this,1),l(M,this,1))}catch(e){M.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(59)(O.prototype,{then:function(e,t){var n=N(y(this,O));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=j?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=l(B,e,1),this.reject=l(M,e,1)},b.f=N=function(e){return e===O||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!P,{Promise:O}),n(32)(O,"Promise"),n(83)("Promise"),a=n(3).Promise,f(f.S+f.F*!P,"Promise",{reject:function(e){var t=N(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(u||!P),"Promise",{resolve:function(e){return _(u&&this===a?O:this,e)}}),f(f.S+f.F*!(P&&n(57)(function(e){O.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=N(t),r=n.resolve,o=n.reject,i=w(function(){var n=[],i=0,a=1;v(e,!1,function(e){var u=i++,s=!1;n.push(void 0),a++,t.resolve(e).then(function(e){s||(s=!0,n[u]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=N(t),r=n.reject,o=w(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(2),o=n(90).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,s="process"==n(25)(a);e.exports=function(){var e,t,n,l=function(){var r,o;for(s&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var c=u.resolve(void 0);n=function(){c.then(l)}}else n=function(){o.call(r,l)};else{var f=!0,d=document.createTextNode("");new i(l).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(2).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(4),o=n(3),i=n(2),a=n(89),u=n(92);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then(function(){return n})}:e,n?function(n){return u(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(4),o=n(64),i=n(91);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){n(43),n(39),n(58),n(134),n(135),n(136),n(137),e.exports=n(3).Set},function(e,t,n){"use strict";var r=n(82),o=n(62);e.exports=n(84)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){var r=n(4);r(r.P+r.R,"Set",{toJSON:n(86)("Set")})},function(e,t,n){n(87)("Set")},function(e,t,n){n(88)("Set")},function(e,t,n){n(139),e.exports=n(3).String.startsWith},function(e,t,n){"use strict";var r=n(4),o=n(41),i=n(140),a="".startsWith;r(r.P+r.F*n(142)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(141),o=n(40);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(7),o=n(25),i=n(1)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(1)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){n(144),n(43),n(148),n(149),e.exports=n(3).Symbol},function(e,t,n){"use strict";var r=n(2),o=n(20),i=n(16),a=n(4),u=n(19),s=n(61).KEY,l=n(23),c=n(54),f=n(32),d=n(28),p=n(1),h=n(93),v=n(65),y=n(145),g=n(146),m=n(11),b=n(7),w=n(24),x=n(51),_=n(27),S=n(52),k=n(147),E=n(85),T=n(10),O=n(31),j=E.f,C=T.f,N=k.f,P=r.Symbol,A=r.JSON,I=A&&A.stringify,L=p("_hidden"),R=p("toPrimitive"),D={}.propertyIsEnumerable,M=c("symbol-registry"),B=c("symbols"),U=c("op-symbols"),F=Object.prototype,z="function"==typeof P,q=r.QObject,V=!q||!q.prototype||!q.prototype.findChild,H=i&&l(function(){return 7!=S(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=j(F,t);r&&delete F[t],C(e,t,n),r&&e!==F&&C(F,t,r)}:C,W=function(e){var t=B[e]=S(P.prototype);return t._k=e,t},J=z&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},Y=function(e,t,n){return e===F&&Y(U,t,n),m(e),t=x(t,!0),m(n),o(B,t)?(n.enumerable?(o(e,L)&&e[L][t]&&(e[L][t]=!1),n=S(n,{enumerable:_(0,!1)})):(o(e,L)||C(e,L,_(1,{})),e[L][t]=!0),H(e,t,n)):C(e,t,n)},G=function(e,t){m(e);for(var n,r=y(t=w(t)),o=0,i=r.length;i>o;)Y(e,n=r[o++],t[n]);return e},K=function(e){var t=D.call(this,e=x(e,!0));return!(this===F&&o(B,e)&&!o(U,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,L)&&this[L][e])||t)},$=function(e,t){if(e=w(e),t=x(t,!0),e!==F||!o(B,t)||o(U,t)){var n=j(e,t);return!n||!o(B,t)||o(e,L)&&e[L][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=N(w(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==L||t==s||r.push(t);return r},X=function(e){for(var t,n=e===F,r=N(n?U:w(e)),i=[],a=0;r.length>a;)!o(B,t=r[a++])||n&&!o(F,t)||i.push(B[t]);return i};z||(u((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(U,n),o(this,L)&&o(this[L],e)&&(this[L][e]=!1),H(this,e,_(1,n))};return i&&V&&H(F,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),E.f=$,T.f=Y,n(94).f=k.f=Q,n(44).f=K,n(63).f=X,i&&!n(26)&&u(F,"propertyIsEnumerable",K,!0),h.f=function(e){return W(p(e))}),a(a.G+a.W+a.F*!z,{Symbol:P});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)p(Z[ee++]);for(var te=O(p.store),ne=0;te.length>ne;)v(te[ne++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return o(M,e+="")?M[e]:M[e]=P(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in M)if(M[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!z,"Object",{create:function(e,t){return void 0===t?S(e):G(S(e),t)},defineProperty:Y,defineProperties:G,getOwnPropertyDescriptor:$,getOwnPropertyNames:Q,getOwnPropertySymbols:X}),A&&a(a.S+a.F*(!z||l(function(){var e=P();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!J(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!J(t))return t}),r[1]=t,I.apply(A,r)}}),P.prototype[R]||n(18)(P.prototype,R,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(31),o=n(63),i=n(44);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),s=i.f,l=0;u.length>l;)s.call(e,a=u[l++])&&t.push(a);return t}},function(e,t,n){var r=n(25);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(24),o=n(94).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){n(65)("asyncIterator")},function(e,t,n){n(65)("observable")},function(e,t,r){"use strict";(function(t){var o=r(0),i=o(r(151)),a=o(r(12)),u=o(r(13)),s=r(66),l=r(8),c=l.IdentifierIssuer,f=r(15),d=r(169),p=r(170),h=r(172).expand,v=r(177).flatten,y=r(178).fromRDF,g=r(179).toRDF,m=r(180).frameMergedOrDefault,b=r(9),w=b.isArray,x=b.isObject,_=b.isString,S=r(14).isSubjectReference,k=r(22),E=k.getInitialContext,T=k.process,O=k.getAllContexts,j=(k.expandIri,r(181)),C=j.compact,N=j.compactIri,P=j.removePreserve,A=r(47),I=A.createNodeMap,L=A.createMergedNodeMap,R=A.mergeNodeMaps,D=void 0!==n&&n.versions&&n.versions.node,M=!D&&("undefined"!=typeof window||"undefined"!=typeof self),B=function(e){e.compact=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r,i){var u,s,d,p,h,v,y,g,m,b,S,k=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(k.length<2)){t.next=2;break}throw new TypeError("Could not compact, too few arguments.");case 2:if(null!==r){t.next=4;break}throw new f("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"});case 4:if(null!==n){t.next=6;break}return t.abrupt("return",null);case 6:if((i=o(i,{base:_(n)?n:"",compactArrays:!0,compactToRelative:!0,graph:!1,skipExpansion:!1,link:!1,issuer:new c("_:b")})).link&&(i.skipExpansion=!0),i.compactToRelative||delete i.base,!i.skipExpansion){t.next=13;break}u=n,t.next=16;break;case 13:return t.next=15,e.expand(n,i);case 15:u=t.sent;case 16:return t.next=18,e.processContext(E(i),r,i);case 18:s=t.sent,d=C({activeCtx:s,element:u,options:i,compactionMap:i.compactionMap}),i.compactArrays&&!i.graph&&w(d)?1===d.length?d=d[0]:0===d.length&&(d={}):i.graph&&x(d)&&(d=[d]),x(r)&&"@context"in r&&(r=r["@context"]),r=l.clone(r),w(r)||(r=[r]),p=r,r=[];for(h=0;h<p.length;++h)(!x(p[h])||Object.keys(p[h]).length>0)&&r.push(p[h]);if(v=r.length>0,1===r.length&&(r=r[0]),w(d))y=N({activeCtx:s,iri:"@graph",relativeTo:{vocab:!0}}),g=d,d={},v&&(d["@context"]=r),d[y]=g;else if(x(d)&&v)for(b in m=d,d={"@context":r},m)d[b]=m[b];return i.framing&&(S=N({activeCtx:s,iri:"@graph",relativeTo:{vocab:!0}}),// remove @preserve from results
i.link={},d[S]=P(s,d[S],i)),t.abrupt("return",d);case 32:case"end":return t.stop()}},t,this)}));return function(e,n,r){return t.apply(this,arguments)}}()),e.expand=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r){var i,u,s,c,f,d,p,v=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(v.length<1)){t.next=2;break}throw new TypeError("Could not expand, too few arguments.");case 2:if(!1===(r=o(r,{keepFreeFloatingNodes:!1})).expansionMap&&(r.expansionMap=void 0),i={},u=[],"expandContext"in r&&(s=l.clone(r.expandContext),x(s)&&"@context"in s?i.expandContext=s:i.expandContext={"@context":s},u.push(i.expandContext)),_(n)){t.next=11;break}i.input=l.clone(n),t.next=17;break;case 11:return t.next=13,e.get(n,r);case 13:f=t.sent,c=f.documentUrl,i.input=f.document,f.contextUrl&&(i.remoteContext={"@context":f.contextUrl},u.push(i.remoteContext));case 17:return"base"in r||(r.base=c||""),t.next=20,O(i,r);case 20:return d=E(r),u.forEach(function(e){d=T({activeCtx:d,localCtx:e,options:r})}),p=h({activeCtx:d,element:i.input,options:r,expansionMap:r.expansionMap}),x(p)&&"@graph"in p&&1===Object.keys(p).length?p=p["@graph"]:null===p&&(p=[]),w(p)||(p=[p]),t.abrupt("return",p);case 26:case"end":return t.stop()}},t,this)}));return function(e,n){return t.apply(this,arguments)}}()),e.flatten=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r,i){var u,s,l,c=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(c.length<1)){t.next=2;break}return t.abrupt("return",new TypeError("Could not flatten, too few arguments."));case 2:return r="function"==typeof r?null:r||null,i=o(i,{base:_(n)?n:""}),t.next=6,e.expand(n,i);case 6:if(u=t.sent,s=v(u),null!==r){t.next=10;break}return t.abrupt("return",s);case 10:return i.graph=!0,i.skipExpansion=!0,t.next=14,e.compact(s,r,i);case 14:return l=t.sent,t.abrupt("return",l);case 16:case"end":return t.stop()}},t,this)}));return function(e,n,r){return t.apply(this,arguments)}}()),e.frame=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r,i){var u,s,c,f,d,p,h,v,y=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(y.length<2)){t.next=2;break}throw new TypeError("Could not frame, too few arguments.");case 2:if(i=o(i,{base:_(n)?n:"",embed:"@last",explicit:!1,requireAll:!0,omitDefault:!1,pruneBlankNodeIdentifiers:!0,bnodesToClear:[]}),!_(r)){t.next=9;break}return t.next=6,e.get(r,i);case 6:u=t.sent,r=u.document,u.contextUrl&&((s=r["@context"])?w(s)?s.push(u.contextUrl):s=[s,u.contextUrl]:s=u.contextUrl,r["@context"]=s);case 9:return c=r&&r["@context"]||{},t.next=12,e.expand(n,i);case 12:return f=t.sent,(d=l.clone(i)).isFrame=!0,d.keepFreeFloatingNodes=!0,t.next=18,e.expand(r,d);case 18:return p=t.sent,d.merged=!("@graph"in r),h=m(f,p,d),d.graph=!0,d.skipExpansion=!0,d.link={},d.framing=!0,t.next=27,e.compact(h,c,d);case 27:return v=t.sent,t.abrupt("return",v);case 29:case"end":return t.stop()}},t,this)}));return function(e,n,r){return t.apply(this,arguments)}}()),e.link=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r,o){var i;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i={},r&&(i["@context"]=r),i["@embed"]="@link",t.abrupt("return",e.frame(n,i,o));case 4:case"end":return t.stop()}},t,this)}));return function(e,n,r){return t.apply(this,arguments)}}()),e.normalize=e.canonize=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r){var i,u,c,p=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p.length<1)){t.next=2;break}throw new TypeError("Could not canonize, too few arguments.");case 2:if(!("inputFormat"in(r=o(r,{base:_(n)?n:"",algorithm:"URDNA2015",skipExpansion:!1})))){t.next=8;break}if("application/n-quads"===r.inputFormat||"application/nquads"===r.inputFormat){t.next=6;break}throw new f("Unknown canonicalization input format.","jsonld.CanonizeError");case 6:return i=d.parse(n),t.abrupt("return",s.canonize(i,r));case 8:return delete(u=l.clone(r)).format,u.produceGeneralizedRdf=!1,t.next=13,e.toRDF(n,u);case 13:return c=t.sent,t.abrupt("return",s.canonize(c,r));case 15:case"end":return t.stop()}},t,this)}));return function(e,n){return t.apply(this,arguments)}}()),e.fromRDF=l.callbackify(function(){var e=(0,u.default)(a.default.mark(function e(t,r){var i,u,s,l,c=arguments;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(c.length<1)){e.next=2;break}throw new TypeError("Could not convert from RDF, too few arguments.");case 2:if(r=o(r,{format:_(t)?"application/n-quads":void 0}),u=(i=r).format,s=i.rdfParser,!u){e.next=10;break}if(s=s||n[u]){e.next=8;break}throw new f("Unknown input format.","jsonld.UnknownFormat",{format:u});case 8:e.next=11;break;case 10:s=function(){return t};case 11:return l=s.length>1?new Promise(function(e,n){s(t,function(t,r){t?n(t):e(r)})}):Promise.resolve(s(t)),e.next=14,l;case 14:return l=e.sent,Array.isArray(l)||(l=d.legacyDatasetToQuads(l)),e.abrupt("return",y(l,r));case 17:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}()),e.toRDF=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r){var i,u,s=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(s.length<1)){t.next=2;break}throw new TypeError("Could not convert to RDF, too few arguments.");case 2:if(!(r=o(r,{base:_(n)?n:"",skipExpansion:!1})).skipExpansion){t.next=7;break}i=n,t.next=10;break;case 7:return t.next=9,e.expand(n,r);case 9:i=t.sent;case 10:if(u=g(i,r),!r.format){t.next=17;break}if("application/n-quads"!==r.format&&"application/nquads"!==r.format){t.next=16;break}return t.next=15,d.serialize(u);case 15:return t.abrupt("return",t.sent);case 16:throw new f("Unknown output format.","jsonld.UnknownFormat",{format:r.format});case 17:return t.abrupt("return",u);case 18:case"end":return t.stop()}},t,this)}));return function(e,n){return t.apply(this,arguments)}}()),e.createNodeMap=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r){var i,u=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(u.length<1)){t.next=2;break}throw new TypeError("Could not create node map, too few arguments.");case 2:return r=o(r,{base:_(n)?n:""}),t.next=5,e.expand(n,r);case 5:return i=t.sent,t.abrupt("return",L(i,r));case 7:case"end":return t.stop()}},t,this)}));return function(e,n){return t.apply(this,arguments)}}()),e.merge=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r,i){var u,s,f,d,p,h,v,y,g,m,b,x,_,k,E,T,O,j=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(j.length<1)){t.next=2;break}throw new TypeError("Could not merge, too few arguments.");case 2:if(w(n)){t.next=4;break}throw new TypeError('Could not merge, "docs" must be an array.');case 4:return r="function"==typeof r?null:r||null,i=o(i,{}),t.next=8,Promise.all(n.map(function(t){var n=Object.assign({},i);return e.expand(t,n)}));case 8:u=t.sent,s=!0,"mergeNodes"in i&&(s=i.mergeNodes),f=i.issuer||new c("_:b"),d={"@default":{}},p=0;case 14:if(!(p<u.length)){t.next=33;break}if(h=l.relabelBlankNodes(u[p],{issuer:new c("_:b"+p+"-")}),I(h,v=s||0===p?d:{"@default":{}},"@default",f),v===d){t.next=30;break}t.t0=a.default.keys(v);case 20:if((t.t1=t.t0()).done){t.next=30;break}if(y=t.t1.value,g=v[y],y in d){t.next=26;break}return d[y]=g,t.abrupt("continue",20);case 26:for(b in m=d[y],g)b in m||(m[b]=g[b]);t.next=20;break;case 30:++p,t.next=14;break;case 33:for(x=R(d),_=[],k=Object.keys(x).sort(),E=0;E<k.length;++E)T=x[k[E]],S(T)||_.push(T);if(null!==r){t.next=39;break}return t.abrupt("return",_);case 39:return i.graph=!0,i.skipExpansion=!0,t.next=43,e.compact(_,r,i);case 43:return O=t.sent,t.abrupt("return",O);case 45:case"end":return t.stop()}},t,this)}));return function(e,n,r){return t.apply(this,arguments)}}()),Object.defineProperty(e,"documentLoader",{get:function(){return e._documentLoader},set:function(t){return e._documentLoader=l.normalizeDocumentLoader(t)}}),e.documentLoader=function(){var e=(0,u.default)(a.default.mark(function e(t){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:throw new f("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",url:t});case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.loadDocument=l.callbackify((0,u.default)(a.default.mark(function t(){var n=arguments;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.documentLoader.apply(null,n));case 1:case"end":return t.stop()}},t,this)}))),e.get=l.callbackify(function(){var t=(0,u.default)(a.default.mark(function t(n,r){var o,i;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o="function"==typeof r.documentLoader?l.normalizeDocumentLoader(r.documentLoader):e.documentLoader,t.next=3,o(n);case 3:if(i=t.sent,t.prev=4,i.document){t.next=7;break}throw new f("No remote document found at the given URL.","jsonld.NullRemoteDocument");case 7:_(i.document)&&(i.document=JSON.parse(i.document)),t.next=13;break;case 10:throw t.prev=10,t.t0=t.catch(4),new f("Could not retrieve a JSON-LD document from the URL.","jsonld.LoadDocumentError",{code:"loading document failed",cause:t.t0,remoteDoc:i});case 13:return t.abrupt("return",i);case 14:case"end":return t.stop()}},t,this,[[4,10]])}));return function(e,n){return t.apply(this,arguments)}}()),e.processContext=l.callbackify(function(){var e=(0,u.default)(a.default.mark(function e(t,n,r){var i;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o(r,{base:""}),null!==n){e.next=3;break}return e.abrupt("return",E(r));case 3:return n=l.clone(n),x(n)&&"@context"in n||(n={"@context":n}),e.next=7,O(n,r);case 7:return i=e.sent,e.abrupt("return",T({activeCtx:t,localCtx:i,options:r}));case 9:case"end":return e.stop()}},e,this)}));return function(t,n,r){return e.apply(this,arguments)}}()),e.getContextValue=r(22).getContextValue,e.documentLoaders={},e.documentLoaders.node=r(185),e.documentLoaders.xhr=r(188),e.useDocumentLoader=function(t){if(!(t in e.documentLoaders))throw new f('Unknown document loader type: "'+t+'"',"jsonld.UnknownDocumentLoader",{type:t});e.documentLoader=e.documentLoaders[t].apply(e,Array.prototype.slice.call(arguments,1))};var n={};function o(t,n){var r=n.documentLoader,o=void 0===r?e.documentLoader:r,a=(0,i.default)(n,["documentLoader"]);return"function"==typeof t&&(t={}),t=t||{},Object.assign({},{documentLoader:o},a,t)}return e.registerRDFParser=function(e,t){n[e]=t},e.unregisterRDFParser=function(e){delete n[e]},e.registerRDFParser("application/n-quads",d.parse),e.registerRDFParser("application/nquads",d.parse),e.registerRDFParser("rdfa-api",p.parse),e.url=r(38),e.util=l,Object.assign(e,l),e.promises=e,e.RequestQueue=r(71),e.JsonLdProcessor=r(189)(e),M&&void 0===t.JsonLdProcessor&&Object.defineProperty(t,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:e.JsonLdProcessor}),D?e.useDocumentLoader("node"):"undefined"!=typeof XMLHttpRequest&&e.useDocumentLoader("xhr"),e},U=function e(){return B(function(){return e()})};B(U),e.exports=U}).call(this,r(95))},function(e,t,n){var r=n(152);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){var r=function(){return this||"object"==typeof self&&self}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(154),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=w;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",v={},y={};y[a]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(P([])));m&&m!==r&&o.call(m,a)&&(y=m);var b=k.prototype=_.prototype=Object.create(y);S.prototype=b.constructor=k,k.constructor=S,k[s]=S.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},E(T.prototype),T.prototype[u]=function(){return this},c.AsyncIterator=T,c.async=function(e,t,n,r){var o=new T(w(e,t,n,r));return c.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},E(b),b[s]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,o){return u.type="throw",u.arg=e,t.next=r,o&&(t.method="next",t.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function w(e,t,n,r){var o=t&&t.prototype instanceof _?t:_,i=Object.create(o.prototype),a=new N(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=O(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=x(e,t,n);if("normal"===s.type){if(r=n.done?h:d,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function x(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function S(){}function k(){}function E(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function T(e){var t;this._invoke=function(n,r){function i(){return new Promise(function(t,i){!function t(n,r,i,a){var u=x(e[n],e,r);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&o.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(l).then(function(e){s.value=e,i(s)},function(e){return t("throw",e,i,a)})}a(u.arg)}(n,r,t,i)})}return t=t?t.then(i,i):i()}}function O(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,O(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=x(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,v;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,v):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function P(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return i.next=i}}return{next:A}}function A(){return{value:n,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6)),a=n(21);e.exports=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.maxCallStackDepth,r=void 0===n?500:n,i=t.maxTotalCallStackDepth,a=void 0===i?4294967295:i,u=t.timeSlice,s=void 0===u?10:u;(0,o.default)(this,e),this.schedule={},this.schedule.MAX_DEPTH=r,this.schedule.MAX_TOTAL_DEPTH=a,this.schedule.depth=0,this.schedule.totalDepth=0,this.schedule.timeSlice=s}return(0,i.default)(e,[{key:"doWork",value:function(e,t){var n=this.schedule;if(n.totalDepth>=n.MAX_TOTAL_DEPTH)return t(new Error("Maximum total call stack depth exceeded; canonicalization aborting."));!function r(){if(n.depth===n.MAX_DEPTH)return n.depth=0,n.running=!1,a.nextTick(r);var o=Date.now();if(n.running||(n.start=Date.now(),n.deadline=n.start+n.timeSlice),o<n.deadline)return n.running=!0,n.depth++,n.totalDepth++,e(function(e,r){n.depth--,n.totalDepth--,t(e,r)});n.depth=0,n.running=!1,a.setImmediate(r)}()}},{key:"forEach",value:function(e,t,n){var r,o,i=this,a=0;if(Array.isArray(e))o=e.length,r=function(){return a!==o&&(r.value=e[a++],r.key=a,!0)};else{var u=Object.keys(e);o=u.length,r=function(){return a!==o&&(r.key=u[a++],r.value=e[r.key],!0)}}!function e(o){return o?n(o):r()?i.doWork(function(){return t(r.value,r.key,e)}):void n()}()}},{key:"waterfall",value:function(e,t){var n=this;n.forEach(e,function(e,t,r){return n.doWork(e,r)},t)}},{key:"whilst",value:function(e,t,n){var r=this;!function o(i){return i?n(i):e()?void r.doWork(t,o):n()}()}}]),e}()},function(e,t,n){var r=n(36);n(69),n(98);var o=e.exports=r.sha1=r.sha1||{};r.md.sha1=r.md.algorithms.sha1=o,o.create=function(){a||(i=String.fromCharCode(128),i+=r.util.fillString(String.fromCharCode(0),64),a=!0);var e=null,t=r.util.createBuffer(),n=new Array(80),o={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){o.messageLength=0,o.fullMessageLength=o.messageLength64=[];for(var n=o.messageLengthSize/4,i=0;i<n;++i)o.fullMessageLength.push(0);return t=r.util.createBuffer(),e={h0:1732584193,h1:4023233417,h2:2562383102,h3:271733878,h4:3285377520},o}};return o.start(),o.update=function(i,a){"utf8"===a&&(i=r.util.encodeUtf8(i));var s=i.length;o.messageLength+=s,s=[s/4294967296>>>0,s>>>0];for(var l=o.fullMessageLength.length-1;l>=0;--l)o.fullMessageLength[l]+=s[1],s[1]=s[0]+(o.fullMessageLength[l]/4294967296>>>0),o.fullMessageLength[l]=o.fullMessageLength[l]>>>0,s[0]=s[1]/4294967296>>>0;return t.putBytes(i),u(e,n,t),(t.read>2048||0===t.length())&&t.compact(),o},o.digest=function(){var a=r.util.createBuffer();a.putBytes(t.bytes());var s,l=o.fullMessageLength[o.fullMessageLength.length-1]+o.messageLengthSize&o.blockLength-1;a.putBytes(i.substr(0,o.blockLength-l));for(var c=8*o.fullMessageLength[0],f=0;f<o.fullMessageLength.length-1;++f)c+=(s=8*o.fullMessageLength[f+1])/4294967296>>>0,a.putInt32(c>>>0),c=s>>>0;a.putInt32(c);var d={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4};u(d,n,a);var p=r.util.createBuffer();return p.putInt32(d.h0),p.putInt32(d.h1),p.putInt32(d.h2),p.putInt32(d.h3),p.putInt32(d.h4),p},o};var i=null,a=!1;function u(e,t,n){for(var r,o,i,a,u,s,l,c=n.length();c>=64;){for(o=e.h0,i=e.h1,a=e.h2,u=e.h3,s=e.h4,l=0;l<16;++l)r=n.getInt32(),t[l]=r,r=(o<<5|o>>>27)+(u^i&(a^u))+s+1518500249+r,s=u,u=a,a=(i<<30|i>>>2)>>>0,i=o,o=r;for(;l<20;++l)r=(r=t[l-3]^t[l-8]^t[l-14]^t[l-16])<<1|r>>>31,t[l]=r,r=(o<<5|o>>>27)+(u^i&(a^u))+s+1518500249+r,s=u,u=a,a=(i<<30|i>>>2)>>>0,i=o,o=r;for(;l<32;++l)r=(r=t[l-3]^t[l-8]^t[l-14]^t[l-16])<<1|r>>>31,t[l]=r,r=(o<<5|o>>>27)+(i^a^u)+s+1859775393+r,s=u,u=a,a=(i<<30|i>>>2)>>>0,i=o,o=r;for(;l<40;++l)r=(r=t[l-6]^t[l-16]^t[l-28]^t[l-32])<<2|r>>>30,t[l]=r,r=(o<<5|o>>>27)+(i^a^u)+s+1859775393+r,s=u,u=a,a=(i<<30|i>>>2)>>>0,i=o,o=r;for(;l<60;++l)r=(r=t[l-6]^t[l-16]^t[l-28]^t[l-32])<<2|r>>>30,t[l]=r,r=(o<<5|o>>>27)+(i&a|u&(i^a))+s+2400959708+r,s=u,u=a,a=(i<<30|i>>>2)>>>0,i=o,o=r;for(;l<80;++l)r=(r=t[l-6]^t[l-16]^t[l-28]^t[l-32])<<2|r>>>30,t[l]=r,r=(o<<5|o>>>27)+(i^a^u)+s+3395469782+r,s=u,u=a,a=(i<<30|i>>>2)>>>0,i=o,o=r;e.h0=e.h0+o|0,e.h1=e.h1+i|0,e.h2=e.h2+a|0,e.h3=e.h3+u|0,e.h4=e.h4+s|0,c-=64}}},function(e,t){var n={};e.exports=n;var o={};n.encode=function(e,t,n){if("string"!=typeof t)throw new TypeError('"alphabet" must be a string.');if(void 0!==n&&"number"!=typeof n)throw new TypeError('"maxline" must be a number.');var r="";if(e instanceof Uint8Array){var o=0,i=t.length,a=t.charAt(0),u=[0];for(o=0;o<e.length;++o){for(var s=0,l=e[o];s<u.length;++s)l+=u[s]<<8,u[s]=l%i,l=l/i|0;for(;l>0;)u.push(l%i),l=l/i|0}for(o=0;0===e[o]&&o<e.length-1;++o)r+=a;for(o=u.length-1;o>=0;--o)r+=t[u[o]]}else r=function(e,t){var n=0,r=t.length,o=t.charAt(0),i=[0];for(n=0;n<e.length();++n){for(var a=0,u=e.at(n);a<i.length;++a)u+=i[a]<<8,i[a]=u%r,u=u/r|0;for(;u>0;)i.push(u%r),u=u/r|0}var s="";for(n=0;0===e.at(n)&&n<e.length()-1;++n)s+=o;for(n=i.length-1;n>=0;--n)s+=t[i[n]];return s}(e,t);if(n){var c=new RegExp(".{1,"+n+"}","g");r=r.match(c).join("\r\n")}return r},n.decode=function(e,t){if("string"!=typeof e)throw new TypeError('"input" must be a string.');if("string"!=typeof t)throw new TypeError('"alphabet" must be a string.');var n=o[t];if(!n){n=o[t]=[];for(var i=0;i<t.length;++i)n[t.charCodeAt(i)]=i}e=e.replace(/\s/g,"");var a=t.length,u=t.charAt(0),s=[0];for(i=0;i<e.length;i++){var l=n[e.charCodeAt(i)];if(void 0===l)return;for(var c=0,f=l;c<s.length;++c)f+=s[c]*a,s[c]=255&f,f>>=8;for(;f>0;)s.push(255&f),f>>=8}for(var d=0;e[d]===u&&d<e.length-1;++d)s.push(0);return void 0!==r?r.from(s.reverse()):new Uint8Array(s.reverse())}},function(e,t,n){var r=n(36);n(69),n(98);var o=e.exports=r.sha256=r.sha256||{};r.md.sha256=r.md.algorithms.sha256=o,o.create=function(){a||(i=String.fromCharCode(128),i+=r.util.fillString(String.fromCharCode(0),64),u=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=!0);var e=null,t=r.util.createBuffer(),n=new Array(64),o={algorithm:"sha256",blockLength:64,digestLength:32,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){o.messageLength=0,o.fullMessageLength=o.messageLength64=[];for(var n=o.messageLengthSize/4,i=0;i<n;++i)o.fullMessageLength.push(0);return t=r.util.createBuffer(),e={h0:1779033703,h1:3144134277,h2:1013904242,h3:2773480762,h4:1359893119,h5:2600822924,h6:528734635,h7:1541459225},o}};return o.start(),o.update=function(i,a){"utf8"===a&&(i=r.util.encodeUtf8(i));var u=i.length;o.messageLength+=u,u=[u/4294967296>>>0,u>>>0];for(var l=o.fullMessageLength.length-1;l>=0;--l)o.fullMessageLength[l]+=u[1],u[1]=u[0]+(o.fullMessageLength[l]/4294967296>>>0),o.fullMessageLength[l]=o.fullMessageLength[l]>>>0,u[0]=u[1]/4294967296>>>0;return t.putBytes(i),s(e,n,t),(t.read>2048||0===t.length())&&t.compact(),o},o.digest=function(){var a=r.util.createBuffer();a.putBytes(t.bytes());var u,l=o.fullMessageLength[o.fullMessageLength.length-1]+o.messageLengthSize&o.blockLength-1;a.putBytes(i.substr(0,o.blockLength-l));for(var c=8*o.fullMessageLength[0],f=0;f<o.fullMessageLength.length-1;++f)c+=(u=8*o.fullMessageLength[f+1])/4294967296>>>0,a.putInt32(c>>>0),c=u>>>0;a.putInt32(c);var d={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4,h5:e.h5,h6:e.h6,h7:e.h7};s(d,n,a);var p=r.util.createBuffer();return p.putInt32(d.h0),p.putInt32(d.h1),p.putInt32(d.h2),p.putInt32(d.h3),p.putInt32(d.h4),p.putInt32(d.h5),p.putInt32(d.h6),p.putInt32(d.h7),p},o};var i=null,a=!1,u=null;function s(e,t,n){for(var r,o,i,a,s,l,c,f,d,p,h,v,y,g=n.length();g>=64;){for(s=0;s<16;++s)t[s]=n.getInt32();for(;s<64;++s)r=((r=t[s-2])>>>17|r<<15)^(r>>>19|r<<13)^r>>>10,o=((o=t[s-15])>>>7|o<<25)^(o>>>18|o<<14)^o>>>3,t[s]=r+t[s-7]+o+t[s-16]|0;for(l=e.h0,c=e.h1,f=e.h2,d=e.h3,p=e.h4,h=e.h5,v=e.h6,y=e.h7,s=0;s<64;++s)i=(l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10),a=l&c|f&(l^c),r=y+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(v^p&(h^v))+u[s]+t[s],y=v,v=h,h=p,p=d+r>>>0,d=f,f=c,c=l,l=r+(o=i+a)>>>0;e.h0=e.h0+l|0,e.h1=e.h1+c|0,e.h2=e.h2+f|0,e.h3=e.h3+d|0,e.h4=e.h4+p|0,e.h5=e.h5+h|0,e.h6=e.h6+v|0,e.h7=e.h7+y|0,g-=64}}},function(e,t,r){(function(e){var o=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<i;s=r[++n])v(s)||!w(s)?a+=" "+s:a+=" "+u(s);return a},t.deprecate=function(r,o){if(m(e.process))return function(){return t.deprecate(r,o).apply(this,arguments)};if(!0===n.noDeprecation)return r;var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(o);n.traceDeprecation?console.trace(o):console.error(o),i=!0}return r.apply(this,arguments)}};var i,a={};function u(e,n){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),m(r.showHidden)&&(r.showHidden=!1),m(r.depth)&&(r.depth=2),m(r.colors)&&(r.colors=!1),m(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),c(r,e,r.depth)}function s(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function l(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&S(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return g(o)||(o=c(e,o,r)),o}var i=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return y(t)?e.stylize(""+t,"number"):h(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}(e,n);if(i)return i;var a=Object.keys(n),u=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),_(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(S(n)){var s=n.name?": "+n.name:"";return e.stylize("[Function"+s+"]","special")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(x(n))return e.stylize(Date.prototype.toString.call(n),"date");if(_(n))return f(n)}var l,w="",k=!1,E=["{","}"];return p(n)&&(k=!0,E=["[","]"]),S(n)&&(w=" [Function"+(n.name?": "+n.name:"")+"]"),b(n)&&(w=" "+RegExp.prototype.toString.call(n)),x(n)&&(w=" "+Date.prototype.toUTCString.call(n)),_(n)&&(w=" "+f(n)),0!==a.length||k&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=k?function(e,t,n,r,o){for(var i=[],a=0,u=t.length;a<u;++a)O(t,String(a))?i.push(d(e,t,n,r,String(a),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(d(e,t,n,r,o,!0))}),i}(e,n,r,u,a):a.map(function(t){return d(e,n,r,u,t,k)}),e.seen.pop(),function(e,t,n){return e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(l,w,E)):E[0]+w+E[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,o,i){var a,u,s;if((s=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?u=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(u=e.stylize("[Setter]","special")),O(r,o)||(a="["+o+"]"),u||(e.seen.indexOf(s.value)<0?(u=v(n)?c(e,s.value,null):c(e,s.value,n-1)).indexOf("\n")>-1&&(u=i?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n")):u=e.stylize("[Circular]","special")),m(a)){if(i&&o.match(/^\d+$/))return u;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function p(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function v(e){return null===e}function y(e){return"number"==typeof e}function g(e){return"string"==typeof e}function m(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===k(e)}function w(e){return"object"==typeof e&&null!==e}function x(e){return w(e)&&"[object Date]"===k(e)}function _(e){return w(e)&&("[object Error]"===k(e)||e instanceof Error)}function S(e){return"function"==typeof e}function k(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(m(i)&&(i=n.env.NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(i)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=u,u.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]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=h,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=g,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=m,t.isRegExp=b,t.isObject=w,t.isDate=x,t.isError=_,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(161);var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(e=new Date,n=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":"),[e.getDate(),T[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=r(162),t._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,r(95))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6)),a=r(n(45)),u=r(n(35)),s=r(n(46)),l=n(96),c=n(21);e.exports=function(e){function t(e){var n;return(0,o.default)(this,t),(n=(0,a.default)(this,(0,u.default)(t).call(this,e))).name="URGNA2012",n.hashAlgorithm="sha1",n}return(0,s.default)(t,e),(0,i.default)(t,[{key:"modifyFirstDegreeComponent",value:function(e,t,n){return"BlankNode"!==t.termType?t:((t=c.clone(t)).value="name"===n?"_:g":t.value===e?"_:a":"_:z",t)}},{key:"getRelatedPredicate",value:function(e){return e.predicate.value}},{key:"createHashToRelated",value:function(e,t,n){var r=this,o={},i=r.blankNodeInfo[e].quads;r.forEach(i,function(n,i,a){var u,s;if("BlankNode"===n.subject.termType&&n.subject.value!==e)s=n.subject.value,u="p";else{if("BlankNode"!==n.object.termType||n.object.value===e)return a();s=n.object.value,u="r"}r.hashRelatedBlankNode(s,n,t,u,function(e,t){if(e)return a(e);t in o?o[t].push(s):o[t]=[s],a()})},function(e){return n(e,o)})}}]),t}(l)},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6)),a=r(n(45)),u=r(n(35)),s=r(n(46)),l=n(100),c=n(21);e.exports=function(e){function t(){var e;return(0,o.default)(this,t),(e=(0,a.default)(this,(0,u.default)(t).call(this))).name="URGNA2012",e.hashAlgorithm="sha1",e}return(0,s.default)(t,e),(0,i.default)(t,[{key:"modifyFirstDegreeComponent",value:function(e,t,n){return"BlankNode"!==t.termType?t:((t=c.clone(t)).value="name"===n?"_:g":t.value===e?"_:a":"_:z",t)}},{key:"getRelatedPredicate",value:function(e){return e.predicate.value}},{key:"createHashToRelated",value:function(e,t){for(var n={},r=this.blankNodeInfo[e].quads,o=0;o<r.length;++o){var i=r[o],a=void 0,u=void 0;if("BlankNode"===i.subject.termType&&i.subject.value!==e)u=i.subject.value,a="p";else{if("BlankNode"!==i.object.termType||i.object.value===e)continue;u=i.object.value,a="r"}var s=this.hashRelatedBlankNode(u,i,t,a);s in n?n[s].push(u):n[s]=[u]}return n}}]),t}(l)},function(e,t,n){"use strict";throw new Error("Not a pure JavaScript implementation.")},function(e,t,n){var r=n(35),o=n(67),i=n(167),a=n(168);function u(t){var n="function"==typeof Map?new Map:void 0;return e.exports=u=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},u(t)}e.exports=u},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,t,n){var r=n(67);function o(t,n,i){return function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?e.exports=o=Reflect.construct:e.exports=o=function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&r(i,n.prototype),i},o.apply(null,arguments)}e.exports=o},function(e,t,n){"use strict";e.exports=n(66).NQuads},function(e,t,n){"use strict";var r,o=n(0),i=o(n(5)),a=o(n(6)),u=n(37),s=u.RDF_LANGSTRING,l=u.RDF_PLAIN_LITERAL,c=u.RDF_OBJECT,f=u.RDF_XML_LITERAL,d=u.XSD_STRING;function p(){return"undefined"==typeof XMLSerializer?n(171).XMLSerializer:XMLSerializer}r="undefined"!=typeof Node?Node:{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},e.exports=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,[{key:"parse",value:function(e){for(var t={"@default":[]},n=e.getSubjects(),o=0;o<n.length;++o){var i=n[o];if(null!==i){var a=e.getSubjectTriples(i);if(null!==a){var u=a.predicates;for(var h in u)for(var v=u[h].objects,y=0;y<v.length;++y){var g=v[y],m={};0===i.indexOf("_:")?m.subject={type:"blank node",value:i}:m.subject={type:"IRI",value:i},0===h.indexOf("_:")?m.predicate={type:"blank node",value:h}:m.predicate={type:"IRI",value:h};var b=g.value;if(g.type===f){var w=new(p());b="";for(var x=0;x<g.value.length;x++)g.value[x].nodeType===r.ELEMENT_NODE?b+=w.serializeToString(g.value[x]):g.value[x].nodeType===r.TEXT_NODE&&(b+=g.value[x].nodeValue)}m.object={},g.type===c?0===g.value.indexOf("_:")?m.object.type="blank node":m.object.type="IRI":(m.object.type="literal",g.type===l?g.language?(m.object.datatype=s,m.object.language=g.language):m.object.datatype=d:m.object.datatype=g.type),m.object.value=b,t["@default"].push(m)}}}}return t}}]),e}()},function(e,t){},function(e,t,n){"use strict";var r=n(0)(n(34)),o=n(15),i=n(9),a=i.isArray,u=i.isObject,s=i.isEmptyObject,l=i.isString,c=n(14),f=c.isList,d=c.isValue,p=c.isGraph,h=n(22),v=h.expandIri,y=h.getContextValue,g=h.isKeyword,m=h.process,b=n(38).isAbsolute,w=n(8),x=w.addValue,_=w.validateTypeValue,S=w.getValues,k={};function E(e,t){var n=[],r=Object.keys(t).sort(),i=!0,u=!1,s=void 0;try{for(var c,f=r[Symbol.iterator]();!(i=(c=f.next()).done);i=!0){var d=c.value,p=v(e,d,{vocab:!0}),h=t[d];a(h)||(h=[h]);var y=!0,g=!1,m=void 0;try{for(var b,w=h[Symbol.iterator]();!(y=(b=w.next()).done);y=!0){var x=b.value;if(null!==x){if(!l(x))throw new o("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:t});var _={"@value":x};"@none"!==p&&(_["@language"]=d.toLowerCase()),n.push(_)}}}catch(e){g=!0,m=e}finally{try{y||null==w.return||w.return()}finally{if(g)throw m}}}}catch(e){u=!0,s=e}finally{try{i||null==f.return||f.return()}finally{if(u)throw s}}return n}function T(e){var t=e.activeCtx,n=e.options,r=e.activeProperty,o=e.value,i=e.expansionMap,u=e.asGraph,s=e.indexKey,l=[],c=Object.keys(o).sort(),f=!0,d=!1,h=void 0;try{for(var g,b=c[Symbol.iterator]();!(f=(g=b.next()).done);f=!0){var w=g.value,x=y(t,w,"@context");x&&(t=m({activeCtx:t,localCtx:x,options:n}));var _=o[w];a(_)||(_=[_]);var S=v(t,w,{vocab:!0});"@id"===s?w=v(t,w,{base:!0}):"@type"===s&&(w=S),_=k.expand({activeCtx:t,activeProperty:r,element:_,options:n,insideList:!1,expansionMap:i});var E=!0,T=!1,O=void 0;try{for(var j,C=_[Symbol.iterator]();!(E=(j=C.next()).done);E=!0){var N=j.value;u&&!p(N)&&(N={"@graph":[N]}),"@type"===s?"@none"===S||(N["@type"]?N["@type"]=[w].concat(N["@type"]):N["@type"]=[w]):"@none"===S||s in N||(N[s]=w),l.push(N)}}catch(e){T=!0,O=e}finally{try{E||null==C.return||C.return()}finally{if(T)throw O}}}}catch(e){d=!0,h=e}finally{try{f||null==b.return||b.return()}finally{if(d)throw h}}return l}e.exports=k,k.expand=function(e){var t=e.activeCtx,n=e.activeProperty,i=void 0===n?null:n,c=e.element,h=e.options,w=void 0===h?{}:h,O=e.insideList,j=void 0!==O&&O,C=e.expansionMap,N=void 0===C?function(){}:C;if(null==c)return null;if("@default"===i&&(w=Object.assign({},w,{isFrame:!1})),!a(c)&&!u(c)){if(!j&&(null===i||"@graph"===v(t,i,{vocab:!0}))){var P=N({unmappedValue:c,activeCtx:t,activeProperty:i,options:w,insideList:j});return void 0===P?null:P}return function(e){var t=e.activeCtx,n=e.activeProperty,o=e.value;if(null==o)return null;var i=v(t,n,{vocab:!0});if("@id"===i)return v(t,o,{base:!0});if("@type"===i)return v(t,o,{vocab:!0,base:!0});var a=y(t,n,"@type");if(("@id"===a||"@graph"===i)&&l(o))return{"@id":v(t,o,{base:!0})};if("@vocab"===a&&l(o))return{"@id":v(t,o,{vocab:!0,base:!0})};if(g(i))return o;var u={};if(a&&!["@id","@vocab"].includes(a))u["@type"]=a;else if(l(o)){var s=y(t,n,"@language");null!==s&&(u["@language"]=s)}return["boolean","number","string"].includes((0,r.default)(o))||(o=o.toString()),u["@value"]=o,u}({activeCtx:t,activeProperty:i,value:c})}if(a(c)){var A=[],I=y(t,i,"@container")||[];j=j||I.includes("@list");for(var L=0;L<c.length;++L){var R=k.expand({activeCtx:t,activeProperty:i,element:c[L],options:w,expansionMap:N});if(j&&(a(R)||f(R)))throw new o("Invalid JSON-LD syntax; lists of lists are not permitted.","jsonld.SyntaxError",{code:"list of lists"});null===R&&void 0===(R=N({unmappedValue:c[L],activeCtx:t,activeProperty:i,parent:c,index:L,options:w,expandedParent:A,insideList:j}))||(a(R)?A=A.concat(R):A.push(R))}return A}"@context"in c&&(t=m({activeCtx:t,localCtx:c["@context"],options:w}));var D=Object.keys(c).sort(),M=!0,B=!1,U=void 0;try{for(var F,z=D[Symbol.iterator]();!(M=(F=z.next()).done);M=!0){var q=F.value;if("@type"===v(t,q,{vocab:!0})){var V=[].concat(c[q]).sort(),H=!0,W=!1,J=void 0;try{for(var Y,G=V[Symbol.iterator]();!(H=(Y=G.next()).done);H=!0){var K=Y.value,$=y(t,K,"@context");$&&(t=m({activeCtx:t,localCtx:$,options:w}))}}catch(e){W=!0,J=e}finally{try{H||null==G.return||G.return()}finally{if(W)throw J}}}}}catch(e){B=!0,U=e}finally{try{M||null==z.return||z.return()}finally{if(B)throw U}}var Q=v(t,i,{vocab:!0}),X={};!function e(t){var n=t.activeCtx,r=t.activeProperty,i=t.expandedActiveProperty,c=t.element,h=t.expandedParent,w=t.options,S=void 0===w?{}:w,O=t.insideList,j=t.expansionMap,C=Object.keys(c).sort(),N=[],P=!0,A=!1,I=void 0;try{for(var L,R=C[Symbol.iterator]();!(P=(L=R.next()).done);P=!0){var D=L.value,M=c[D],B=void 0;if("@context"!==D){var U=v(n,D,{vocab:!0});if(null!==U&&(b(U)||g(U))||void 0!==(U=j({unmappedProperty:D,activeCtx:n,activeProperty:r,parent:c,options:S,insideList:O,value:M,expandedParent:h}))){if(g(U)){if("@reverse"===i)throw new o("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:M});if(U in h)throw new o("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:U})}if("@id"!==U)if("@type"!==U){if("@graph"===U&&!u(M)&&!a(M))throw new o('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:M});if("@value"!==U)if("@language"!==U)if("@index"!==U)if("@reverse"!==U)if("@nest"!==U){var F=n,z=y(n,D,"@context");z&&(F=m({activeCtx:n,localCtx:z,options:S}));var q=y(F,D,"@container")||[];if(q.includes("@language")&&u(M))B=E(F,M);else if(q.includes("@index")&&u(M)){var V=q.includes("@graph");B=T({activeCtx:F,options:S,activeProperty:D,value:M,expansionMap:j,asGraph:V,indexKey:"@index"})}else if(q.includes("@id")&&u(M)){var H=q.includes("@graph");B=T({activeCtx:F,options:S,activeProperty:D,value:M,expansionMap:j,asGraph:H,indexKey:"@id"})}else if(q.includes("@type")&&u(M))B=T({activeCtx:F,options:S,activeProperty:D,value:M,expansionMap:j,asGraph:!1,indexKey:"@type"});else{var W="@list"===U;if(W||"@set"===U){var J=r;if(W&&"@graph"===i&&(J=null),B=k.expand({activeCtx:F,activeProperty:J,element:M,options:S,insideList:W,expansionMap:j}),W&&f(B))throw new o("Invalid JSON-LD syntax; lists of lists are not permitted.","jsonld.SyntaxError",{code:"list of lists"})}else B=k.expand({activeCtx:F,activeProperty:D,element:M,options:S,insideList:!1,expansionMap:j})}if(null!==B||"@value"===U||void 0!==(B=j({unmappedValue:M,expandedProperty:U,activeCtx:F,activeProperty:r,parent:c,options:S,insideList:O,key:D,expandedParent:h})))if("@list"!==U&&!f(B)&&q.includes("@list")&&(B={"@list":B=a(B)?B:[B]}),q.includes("@graph")&&!q.some(function(e){return"@id"===e||"@index"===e})&&(B=[].concat(B).map(function(e){return p(e)?e:{"@graph":[].concat(e)}})),F.mappings[D]&&F.mappings[D].reverse){var Y=h["@reverse"]=h["@reverse"]||{};a(B)||(B=[B]);for(var G=0;G<B.length;++G){var K=B[G];if(d(K)||f(K))throw new o('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:B});x(Y,U,K,{propertyIsArray:!0})}}else{var $=!["@index","@id","@type","@value","@language"].includes(U);x(h,U,B,{propertyIsArray:$})}}else N.push(D);else{if(!u(M))throw new o('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:M});if("@reverse"in(B=k.expand({activeCtx:n,activeProperty:"@reverse",element:M,options:S,expansionMap:j})))for(var Q in B["@reverse"])x(h,Q,B["@reverse"][Q],{propertyIsArray:!0});var X=h["@reverse"]||null;for(var Z in B)if("@reverse"!==Z){null===X&&(X=h["@reverse"]={}),x(X,Z,[],{propertyIsArray:!0});for(var ee=B[Z],te=0;te<ee.length;++te){var ne=ee[te];if(d(ne)||f(ne))throw new o('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:B});x(X,Z,ne,{propertyIsArray:!0})}}}else{if(!l(M))throw new o('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:M});x(h,"@index",M)}else{if(null===M)continue;if(!l(M)&&!S.isFrame)throw new o('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:M});M=[].concat(M).map(function(e){return l(e)?e.toLowerCase():e}),x(h,"@language",M,{propertyIsArray:S.isFrame})}else{if((u(M)||a(M))&&!S.isFrame)throw new o('Invalid JSON-LD syntax; "@value" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid value object value",value:M});x(h,"@value",M,{propertyIsArray:S.isFrame})}}else _(M),x(h,"@type",[].concat(M).map(function(e){return l(e)?v(n,e,{base:!0,vocab:!0}):e}),{propertyIsArray:S.isFrame});else{if(!l(M)){if(!S.isFrame)throw new o('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:M});if(u(M)){if(!s(M))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:M})}else{if(!a(M))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:M});if(!M.every(function(e){return l(e)}))throw new o('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:M})}}x(h,"@id",[].concat(M).map(function(e){return l(e)?v(n,e,{base:!0}):e}),{propertyIsArray:S.isFrame})}}}}}catch(e){A=!0,I=e}finally{try{P||null==R.return||R.return()}finally{if(A)throw I}}for(var re=0;re<N.length;re++){var oe=N[re],ie=a(c[oe])?c[oe]:[c[oe]],ae=!0,ue=!1,se=void 0;try{for(var le,ce=ie[Symbol.iterator]();!(ae=(le=ce.next()).done);ae=!0){var fe=le.value;if(!u(fe)||Object.keys(fe).some(function(e){return"@value"===v(n,e,{vocab:!0})}))throw new o("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:fe});e({activeCtx:n,activeProperty:r,expandedActiveProperty:i,element:fe,expandedParent:h,options:S,insideList:O,expansionMap:j})}}catch(e){ue=!0,se=e}finally{try{ae||null==ce.return||ce.return()}finally{if(ue)throw se}}}}({activeCtx:t,activeProperty:i,expandedActiveProperty:Q,element:c,expandedParent:X,options:w,insideList:j,expansionMap:N});var Z=(D=Object.keys(X)).length;if("@value"in X){if("@type"in X&&"@language"in X)throw new o('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and "@language".',"jsonld.SyntaxError",{code:"invalid value object",element:X});var ee=Z-1;if("@type"in X&&(ee-=1),"@index"in X&&(ee-=1),"@language"in X&&(ee-=1),0!==ee)throw new o('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and at most one other property which can be "@type" or "@language".',"jsonld.SyntaxError",{code:"invalid value object",element:X});var te=null===X["@value"]?[]:[].concat(X["@value"]),ne=S(X,"@type");if(0===te.length){var re=N({unmappedValue:X,activeCtx:t,activeProperty:i,element:c,options:w,insideList:j});X=void 0!==re?re:null}else{if(!te.every(function(e){return l(e)||s(e)})&&"@language"in X)throw new o("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:X});if(!ne.every(function(e){return b(e)&&!(l(e)&&0===e.indexOf("_:"))||s(e)}))throw new o('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:X})}}else if("@type"in X&&!a(X["@type"]))X["@type"]=[X["@type"]];else if("@set"in X||"@list"in X){if(Z>1&&!(2===Z&&"@index"in X))throw new o('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:X});"@set"in X&&(X=X["@set"],Z=(D=Object.keys(X)).length)}else if(1===Z&&"@language"in X){var oe=N(X,{unmappedValue:X,activeCtx:t,activeProperty:i,element:c,options:w,insideList:j});X=void 0!==oe?oe:null}if(u(X)&&!w.keepFreeFloatingNodes&&!j&&(null===i||"@graph"===Q)&&(0===Z||"@value"in X||"@list"in X||1===Z&&"@id"in X)){var ie=N({unmappedValue:X,activeCtx:t,activeProperty:i,element:c,options:w,insideList:j});X=void 0!==ie?ie:null}return X}},function(e,t,n){var r=n(174),o=n(101),i=n(175);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6)),a=n(8).clone;e.exports=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;(0,o.default)(this,e),this.order=[],this.cache=new Map,this.size=t}return(0,i.default)(e,[{key:"get",value:function(e,t){var n=this.cache.get(e);if(n){var r=JSON.stringify(t);return n.get(r)||null}return null}},{key:"set",value:function(e,t,n){if(this.order.length===this.size){var r=this.order.shift();this.cache.get(r.activeCtx).delete(r.localCtx)}var o=JSON.stringify(t);this.order.push({activeCtx:e,localCtx:o});var i=this.cache.get(e);i||(i=new Map,this.cache.set(e,i)),i.set(o,a(n))}}]),e}()},function(e,t,n){"use strict";var r=n(14).isSubjectReference,o=n(47).createMergedNodeMap,i={};e.exports=i,i.flatten=function(e){for(var t=o(e),n=[],i=Object.keys(t).sort(),a=0;a<i.length;++a){var u=t[i[a]];r(u)||n.push(u)}return n}},function(e,t,n){"use strict";var r=n(0),o=r(n(12)),i=r(n(13)),a=n(14),u=n(9),s=n(8),l=n(37),c=l.RDF_LIST,f=l.RDF_FIRST,d=l.RDF_REST,p=l.RDF_NIL,h=l.RDF_TYPE,v=l.XSD_BOOLEAN,y=l.XSD_DOUBLE,g=l.XSD_INTEGER,m=l.XSD_STRING,b={};function w(e,t){if(e.termType.endsWith("Node"))return{"@id":e.value};var n={"@value":e.value};if(e.language)n["@language"]=e.language;else{var r=e.datatype.value;if(r||(r=m),t){if(r===v)"true"===n["@value"]?n["@value"]=!0:"false"===n["@value"]&&(n["@value"]=!1);else if(u.isNumeric(n["@value"]))if(r===g){var o=parseInt(n["@value"],10);o.toFixed(0)===n["@value"]&&(n["@value"]=o)}else r===y&&(n["@value"]=parseFloat(n["@value"]));[v,g,y,m].includes(r)||(n["@type"]=r)}else r!==m&&(n["@type"]=r)}return n}e.exports=b,b.fromRDF=function(){var e=(0,i.default)(o.default.mark(function e(t,n){var r,i,l,v,y,g,m,b,x,_,S,k,E,T,O,j,C,N,P,A,I,L,R,D,M,B,U,F,z,q,V,H,W,J,Y,G,K,$,Q,X,Z,ee,te,ne,re,oe,ie,ae,ue,se,le,ce,fe,de,pe,he,ve,ye;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=n.useRdfType,i=void 0!==r&&r,l=n.useNativeTypes,v=void 0!==l&&l,g={"@default":y={}},m={},b=!0,x=!1,_=void 0,e.prev=7,S=t[Symbol.iterator]();case 9:if(b=(k=S.next()).done){e.next=31;break}if(E=k.value,(T="DefaultGraph"===E.graph.termType?"@default":E.graph.value)in g||(g[T]={}),"@default"===T||T in y||(y[T]={"@id":T}),O=g[T],j=E.subject.value,C=E.predicate.value,N=E.object,j in O||(O[j]={"@id":j}),P=O[j],!(A=N.termType.endsWith("Node"))||N.value in O||(O[N.value]={"@id":N.value}),C!==h||i||!A){e.next=25;break}return s.addValue(P,"@type",N.value,{propertyIsArray:!0}),e.abrupt("continue",28);case 25:I=w(N,v),s.addValue(P,C,I,{propertyIsArray:!0}),A&&(N.value===p?("usages"in(L=O[N.value])||(L.usages=[]),L.usages.push({node:P,property:C,value:I})):N.value in m?m[N.value]=!1:m[N.value]={node:P,property:C,value:I});case 28:b=!0,e.next=9;break;case 31:e.next=37;break;case 33:e.prev=33,e.t0=e.catch(7),x=!0,_=e.t0;case 37:e.prev=37,e.prev=38,b||null==S.return||S.return();case 40:if(e.prev=40,!x){e.next=43;break}throw _;case 43:return e.finish(40);case 44:return e.finish(37);case 45:e.t1=o.default.keys(g);case 46:if((e.t2=e.t1()).done){e.next=108;break}if(R=e.t2.value,D=g[R],p in D){e.next=51;break}return e.abrupt("continue",46);case 51:if((M=D[p]).usages){e.next=54;break}return e.abrupt("continue",46);case 54:B=!0,U=!1,F=void 0,e.prev=57,z=M.usages[Symbol.iterator]();case 59:if(B=(q=z.next()).done){e.next=91;break}V=q.value,H=V.node,W=V.property,J=V.value,Y=[],G=[],K=Object.keys(H).length;case 67:if(!(W===d&&u.isObject(m[H["@id"]])&&u.isArray(H[f])&&1===H[f].length&&u.isArray(H[d])&&1===H[d].length&&(3===K||4===K&&u.isArray(H["@type"])&&1===H["@type"].length&&H["@type"][0]===c))){e.next=79;break}if(Y.push(H[f][0]),G.push(H["@id"]),V=m[H["@id"]],H=V.node,W=V.property,J=V.value,K=Object.keys(H).length,a.isBlankNode(H)){e.next=77;break}return e.abrupt("break",79);case 77:e.next=67;break;case 79:if(W!==f){e.next=85;break}if(H["@id"]!==p){e.next=82;break}return e.abrupt("continue",88);case 82:J=D[J["@id"]][d][0],Y.pop(),G.pop();case 85:for(delete J["@id"],J["@list"]=Y.reverse(),$=0;$<G.length;$++)Q=G[$],delete D[Q];case 88:B=!0,e.next=59;break;case 91:e.next=97;break;case 93:e.prev=93,e.t3=e.catch(57),U=!0,F=e.t3;case 97:e.prev=97,e.prev=98,B||null==z.return||z.return();case 100:if(e.prev=100,!U){e.next=103;break}throw F;case 103:return e.finish(100);case 104:return e.finish(97);case 105:delete M.usages,e.next=46;break;case 108:X=[],Z=Object.keys(y).sort(),ee=!0,te=!1,ne=void 0,e.prev=113,re=Z[Symbol.iterator]();case 115:if(ee=(oe=re.next()).done){e.next=145;break}if(ie=oe.value,ae=y[ie],!(ie in g)){e.next=141;break}for(ue=ae["@graph"]=[],se=g[ie],le=Object.keys(se).sort(),ce=!0,fe=!1,de=void 0,e.prev=125,pe=le[Symbol.iterator]();!(ce=(he=pe.next()).done);ce=!0)ve=he.value,ye=se[ve],a.isSubjectReference(ye)||ue.push(ye);e.next=133;break;case 129:e.prev=129,e.t4=e.catch(125),fe=!0,de=e.t4;case 133:e.prev=133,e.prev=134,ce||null==pe.return||pe.return();case 136:if(e.prev=136,!fe){e.next=139;break}throw de;case 139:return e.finish(136);case 140:return e.finish(133);case 141:a.isSubjectReference(ae)||X.push(ae);case 142:ee=!0,e.next=115;break;case 145:e.next=151;break;case 147:e.prev=147,e.t5=e.catch(113),te=!0,ne=e.t5;case 151:e.prev=151,e.prev=152,ee||null==re.return||re.return();case 154:if(e.prev=154,!te){e.next=157;break}throw ne;case 157:return e.finish(154);case 158:return e.finish(151);case 159:return e.abrupt("return",X);case 160:case"end":return e.stop()}},e,this,[[7,33,37,45],[38,,40,44],[57,93,97,105],[98,,100,104],[113,147,151,159],[125,129,133,141],[134,,136,140],[152,,154,158]])}));return function(t,n){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";var r=n(47).createNodeMap,o=n(22).isKeyword,i=n(14),a=n(9),u=n(8),s=n(37),l=s.RDF_FIRST,c=s.RDF_REST,f=s.RDF_NIL,d=s.RDF_TYPE,p=s.RDF_LANGSTRING,h=s.XSD_BOOLEAN,v=s.XSD_DOUBLE,y=s.XSD_INTEGER,g=s.XSD_STRING,m=n(38).isAbsolute,b={};function w(e,t,n,r,a){for(var u=Object.keys(t).sort(),s=0;s<u.length;++s){var l=u[s],c=t[l],f=Object.keys(c).sort(),p=!0,h=!1,v=void 0;try{for(var y,g=f[Symbol.iterator]();!(p=(y=g.next()).done);p=!0){var b=y.value,w=c[b];if("@type"===b)b=d;else if(o(b))continue;var S=!0,k=!1,E=void 0;try{for(var T,O=w[Symbol.iterator]();!(S=(T=O.next()).done);S=!0){var j=T.value,C={termType:l.startsWith("_:")?"BlankNode":"NamedNode",value:l};if(m(l)){var N={termType:b.startsWith("_:")?"BlankNode":"NamedNode",value:b};if(m(b)&&("BlankNode"!==N.termType||a.produceGeneralizedRdf))if(i.isList(j))x(j["@list"],r,C,N,e,n);else{var P=_(j);P&&e.push({subject:C,predicate:N,object:P,graph:n})}}}}catch(e){k=!0,E=e}finally{try{S||null==O.return||O.return()}finally{if(k)throw E}}}}catch(e){h=!0,v=e}finally{try{p||null==g.return||g.return()}finally{if(h)throw v}}}}function x(e,t,n,r,o,i){var a={termType:"NamedNode",value:l},u={termType:"NamedNode",value:c},s={termType:"NamedNode",value:f},d=!0,p=!1,h=void 0;try{for(var v,y=e[Symbol.iterator]();!(d=(v=y.next()).done);d=!0){var g=v.value,m={termType:"BlankNode",value:t.getId()};o.push({subject:n,predicate:r,object:m,graph:i}),n=m,r=a;var b=_(g);b&&o.push({subject:n,predicate:r,object:b,graph:i}),r=u}}catch(e){p=!0,h=e}finally{try{d||null==y.return||y.return()}finally{if(p)throw h}}o.push({subject:n,predicate:r,object:s,graph:i})}function _(e){var t={};if(i.isValue(e)){t.termType="Literal",t.value=void 0,t.datatype={termType:"NamedNode"};var n=e["@value"],r=e["@type"]||null;a.isBoolean(n)?(t.value=n.toString(),t.datatype.value=r||h):a.isDouble(n)||r===v?(a.isDouble(n)||(n=parseFloat(n)),t.value=n.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),t.datatype.value=r||v):a.isNumber(n)?(t.value=n.toFixed(0),t.datatype.value=r||y):"@language"in e?(t.value=n,t.datatype.value=r||p,t.language=e["@language"]):(t.value=n,t.datatype.value=r||g)}else{var o=a.isObject(e)?e["@id"]:e;t.termType=o.startsWith("_:")?"BlankNode":"NamedNode",t.value=o}return"NamedNode"!==t.termType||m(t.value)?t:null}e.exports=b,b.toRDF=function(e,t){var n=new u.IdentifierIssuer("_:b"),o={"@default":{}};r(e,o,"@default",n);var i=[],a=Object.keys(o).sort(),s=!0,l=!1,c=void 0;try{for(var f,d=a[Symbol.iterator]();!(s=(f=d.next()).done);s=!0){var p=f.value,h=void 0;if("@default"===p)h={termType:"DefaultGraph",value:""};else{if(!m(p))continue;(h=p.startsWith("_:")?{termType:"BlankNode"}:{termType:"NamedNode"}).value=p}w(i,o[p],h,n,t)}}catch(e){l=!0,c=e}finally{try{s||null==d.return||d.return()}finally{if(l)throw c}}return i}},function(e,t,n){"use strict";var r=n(0),o=r(n(34)),i=r(n(102)),a=n(22).isKeyword,u=n(14),s=n(9),l=n(8),c=n(15),f=n(47),d=f.createNodeMap,p=f.mergeNodeMapGraphs,h={};function v(e){var t={};for(var n in e)void 0!==e[n]&&(t["@"+n]=[e[n]]);return[t]}function y(e,t,n){var r="@"+n,o=r in e?e[r][0]:t[n];return"embed"===n&&(!0===o?o="@last":!1===o?o="@never":"@always"!==o&&"@never"!==o&&"@link"!==o&&(o="@last")),o}function g(e){if(!s.isArray(e)||1!==e.length||!s.isObject(e[0]))throw new c("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:e})}function m(e,t,n,r){var i=!0,c=!1,f=function(f){var d=!1,p=l.getValues(t,f),h=0===l.getValues(n,f).length;if(a(f)){if("@id"!==f&&"@type"!==f)return"continue";if(i=!1,"@id"===f)return n["@id"].length>=0&&!s.isEmptyObject(n["@id"][0])?{v:n["@id"].includes(p[0])}:(d=!0,"continue");if("@type"in n)if(h){if(p.length>0)return{v:!1};d=!0}else{if(1!==n["@type"].length||!s.isEmptyObject(n["@type"][0])){var v=!0,y=!1,m=void 0;try{for(var b,_=function(){var e=b.value;if(p.some(function(t){return t===e}))return{v:{v:!0}}},S=n["@type"][Symbol.iterator]();!(v=(b=S.next()).done);v=!0){var k=_();if("object"===(0,o.default)(k))return k.v}}catch(e){y=!0,m=e}finally{try{v||null==S.return||S.return()}finally{if(y)throw m}}return{v:!1}}d=p.length>0}}var E=l.getValues(n,f)[0],T=!1;if(E&&(g([E]),T="@default"in E),i=!1,0===p.length&&T)return"continue";if(p.length>0&&h)return{v:!1};if(void 0===E){if(p.length>0)return{v:!1};d=!0}else if(s.isObject(E))d=p.length>0;else if(u.isValue(E))d=p.some(function(e){return x(E,e)});else if(u.isSubject(E)||u.isSubjectReference(E))d=p.some(function(t){return w(e,E,t,r)});else if(u.isList(E)){var O=E["@list"][0];if(u.isList(p[0])){var j=p[0]["@list"];u.isValue(O)?d=j.some(function(e){return x(O,e)}):(u.isSubject(O)||u.isSubjectReference(O))&&(d=j.some(function(t){return w(e,O,t,r)}))}else d=!1}if(!d&&r.requireAll)return{v:!1};c=c||d};for(var d in n){var p=f(d);switch(p){case"continue":continue;default:if("object"===(0,o.default)(p))return p.v}}return i||c}function b(e,t,n){s.isObject(e)?l.addValue(e,t,n,{propertyIsArray:!0}):e.push(n)}function w(e,t,n,r){if(!("@id"in n))return!1;var o=e.subjects[n["@id"]];return o&&m(e,o,t,r)}function x(e,t){var n=t["@value"],r=t["@type"],o=t["@language"],i=e["@value"]?s.isArray(e["@value"])?e["@value"]:[e["@value"]]:[],a=e["@type"]?s.isArray(e["@type"])?e["@type"]:[e["@type"]]:[],u=e["@language"]?s.isArray(e["@language"])?e["@language"]:[e["@language"]]:[];return 0===i.length&&0===a.length&&0===u.length||!(!i.includes(n)&&!s.isEmptyObject(i[0]))&&!!(!r&&0===a.length||a.includes(r)||r&&s.isEmptyObject(a[0]))&&!!(!o&&0===u.length||u.includes(o)||o&&s.isEmptyObject(u[0]))}e.exports=h,h.frameMergedOrDefault=function(e,t,n){var r={options:n,graph:"@default",graphMap:{"@default":{}},graphStack:[],subjectStack:[],link:{},bnodeMap:{}},o=new l.IdentifierIssuer("_:b");d(e,r.graphMap,"@default",o),n.merged&&(r.graphMap["@merged"]=p(r.graphMap),r.graph="@merged"),r.subjects=r.graphMap[r.graph];var i=[];return h.frame(r,Object.keys(r.subjects).sort(),t,i),n.pruneBlankNodeIdentifiers&&(n.bnodesToClear=Object.keys(r.bnodeMap).filter(function(e){return 1===r.bnodeMap[e].length})),i},h.frame=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;g(n),n=n[0];var c=e.options,f={embed:y(n,c,"embed"),explicit:y(n,c,"explicit"),requireAll:y(n,c,"requireAll")},d=function(e,t,n,r){var o={},i=!0,a=!1,u=void 0;try{for(var s,l=t[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var c=s.value,f=e.graphMap[e.graph][c];m(e,f,n,r)&&(o[c]=f)}}catch(e){a=!0,u=e}finally{try{i||null==l.return||l.return()}finally{if(a)throw u}}return o}(e,t,n,f),p=Object.keys(d).sort(),w=!0,_=!1,S=void 0;try{for(var k,E=function(){var t=k.value,p=d[t];if("@link"===f.embed&&t in e.link)return b(r,o,e.link[t]),"continue";null===o?e.uniqueEmbeds=(0,i.default)({},e.graph,{}):e.uniqueEmbeds[e.graph]=e.uniqueEmbeds[e.graph]||{};var g={};if(g["@id"]=t,0===t.indexOf("_:")&&l.addValue(e.bnodeMap,t,g,{propertyIsArray:!0}),e.link[t]=g,"@never"===f.embed||function(e,t,n){for(var r=n.length-1;r>=0;--r){var o=n[r];if(o.graph===t&&o.subject["@id"]===e["@id"])return!0}return!1}(p,e.graph,e.subjectStack))return b(r,o,g),"continue";if("@last"===f.embed&&(t in e.uniqueEmbeds[e.graph]&&function(e,t){var n=e.uniqueEmbeds[e.graph],r=n[t],o=r.parent,i=r.property,a={"@id":t};if(s.isArray(o)){for(var u=0;u<o.length;++u)if(l.compareValues(o[u],a)){o[u]=a;break}}else{var c=s.isArray(o[i]);l.removeValue(o,i,a,{propertyIsArray:c}),l.addValue(o,i,a,{propertyIsArray:c})}!function e(t){for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o];i in n&&s.isObject(n[i].parent)&&n[i].parent["@id"]===t&&(delete n[i],e(i))}}(t)}(e,t),e.uniqueEmbeds[e.graph][t]={parent:r,property:o}),e.subjectStack.push({subject:p,graph:e.graph}),t in e.graphMap){var m=!1,w=null;"@graph"in n?(w=n["@graph"][0],s.isObject(w)||(w={}),m=!("@merged"===t||"@default"===t)):(m="@merged"!==e.graph,w={}),m&&(e.graphStack.push(e.graph),e.graph=t,h.frame(e,Object.keys(e.graphMap[t]).sort(),[w],g,"@graph"),e.graph=e.graphStack.pop)}var _=!0,S=!1,E=void 0;try{for(var T,O=Object.keys(p).sort()[Symbol.iterator]();!(_=(T=O.next()).done);_=!0){var j=T.value;if(a(j)){if(g[j]=l.clone(p[j]),"@type"===j){var C=!0,N=!1,P=void 0;try{for(var A,I=p["@type"][Symbol.iterator]();!(C=(A=I.next()).done);C=!0){var L=A.value;0===L.indexOf("_:")&&l.addValue(e.bnodeMap,L,g,{propertyIsArray:!0})}}catch(e){N=!0,P=e}finally{try{C||null==I.return||I.return()}finally{if(N)throw P}}}}else if(!f.explicit||j in n){var R=!0,D=!1,M=void 0;try{for(var B,U=p[j][Symbol.iterator]();!(R=(B=U.next()).done);R=!0){var F=B.value,z=j in n?n[j]:v(f);if(u.isList(F)){var q={"@list":[]};b(g,j,q);var V=F["@list"];for(var H in V)if(F=V[H],u.isSubjectReference(F)){var W=j in n?n[j][0]["@list"]:v(f);h.frame(e,[F["@id"]],W,q,"@list")}else b(q,"@list",l.clone(F))}else u.isSubjectReference(F)?h.frame(e,[F["@id"]],z,g,j):x(z[0],F)&&b(g,j,l.clone(F))}}catch(e){D=!0,M=e}finally{try{R||null==U.return||U.return()}finally{if(D)throw M}}}}}catch(e){S=!0,E=e}finally{try{_||null==O.return||O.return()}finally{if(S)throw E}}var J=!0,Y=!1,G=void 0;try{for(var K,$=Object.keys(n).sort()[Symbol.iterator]();!(J=(K=$.next()).done);J=!0){var Q=K.value;if(!a(Q)){var X=n[Q][0]||{};if(!(y(X,c,"omitDefault")||Q in g)){var Z="@null";"@default"in X&&(Z=l.clone(X["@default"])),s.isArray(Z)||(Z=[Z]),g[Q]=[{"@preserve":Z}]}}}}catch(e){Y=!0,G=e}finally{try{J||null==$.return||$.return()}finally{if(Y)throw G}}if("@reverse"in n){var ee=!0,te=!1,ne=void 0;try{for(var re,oe=Object.keys(n["@reverse"]).sort()[Symbol.iterator]();!(ee=(re=oe.next()).done);ee=!0)for(var ie=re.value,ae=n["@reverse"][ie],ue=Object.keys(e.subjects),se=0;se<ue.length;se++){var le=ue[se];l.getValues(e.subjects[le],ie).some(function(e){return e["@id"]===t})&&(g["@reverse"]=g["@reverse"]||{},l.addValue(g["@reverse"],ie,[],{propertyIsArray:!0}),h.frame(e,[le],ae,g["@reverse"][ie],o))}}catch(e){te=!0,ne=e}finally{try{ee||null==oe.return||oe.return()}finally{if(te)throw ne}}}b(r,o,g),e.subjectStack.pop()},T=p[Symbol.iterator]();!(w=(k=T.next()).done);w=!0)E()}catch(e){_=!0,S=e}finally{try{w||null==T.return||T.return()}finally{if(_)throw S}}}},function(e,t,n){"use strict";var r=n(0),o=r(n(182)),i=r(n(102)),a=n(15),u=n(9),s=u.isArray,l=u.isObject,c=u.isString,f=n(14),d=f.isList,p=f.isValue,h=f.isGraph,v=f.isSimpleGraph,y=f.isSubjectReference,g=n(22),m=g.expandIri,b=g.getContextValue,w=g.isKeyword,x=g.process,_=n(38).removeBase,S=n(8),k=S.addValue,E=S.compareShortestLeast,T={};function O(e,t){if("@nest"!==m(e,t,{vocab:!0}))throw new a("JSON-LD compact error; nested property must have an @nest value resolving to @nest.","jsonld.SyntaxError",{code:"invalid @nest value"})}e.exports=T,T.compact=function(e){var t=e.activeCtx,n=e.activeProperty,r=void 0===n?null:n,u=e.element,c=e.options,f=void 0===c?{}:c,g=e.compactionMap,m=void 0===g?function(){}:g;if(s(u)){for(var _=[],S=0;S<u.length;++S){var E=T.compact({activeCtx:t,activeProperty:r,element:u[S],options:f,compactionMap:m});null===E&&void 0===(E=m({unmappedValue:u[S],activeCtx:t,activeProperty:r,parent:u,index:S,options:f}))||_.push(E)}return f.compactArrays&&1===_.length&&0===(b(t,r,"@container")||[]).length&&(_=_[0]),_}var j=b(t,r,"@context");if(j&&(t=x({activeCtx:t,localCtx:j,options:f})),l(u)){if(f.link&&"@id"in u&&u["@id"]in f.link)for(var C=f.link[u["@id"]],N=0;N<C.length;++N)if(C[N].expanded===u)return C[N].compacted;if(p(u)||y(u)){var P=T.compactValue({activeCtx:t,activeProperty:r,value:u});return f.link&&y(u)&&(u["@id"]in f.link||(f.link[u["@id"]]=[]),f.link[u["@id"]].push({expanded:u,compacted:P})),P}var A="@reverse"===r,I={};f.link&&"@id"in u&&(u["@id"]in f.link||(f.link[u["@id"]]=[]),f.link[u["@id"]].push({expanded:u,compacted:I}));var L=u["@type"]||[];L.length>1&&(L=Array.from(L).sort());var R=!0,D=!1,M=void 0;try{for(var B,U=L[Symbol.iterator]();!(R=(B=U.next()).done);R=!0){var F=B.value,z=T.compactIri({activeCtx:t,iri:F,relativeTo:{vocab:!0}}),q=b(t,z,"@context");q&&(t=x({activeCtx:t,localCtx:q,options:f}))}}catch(e){D=!0,M=e}finally{try{R||null==U.return||U.return()}finally{if(D)throw M}}var V=Object.keys(u).sort(),H=!0,W=!1,J=void 0;try{for(var Y,G=function(){var e=Y.value,n=u[e];if("@id"===e||"@type"===e){var c=[].concat(n).map(function(n){return T.compactIri({activeCtx:t,iri:n,relativeTo:{vocab:"@type"===e}})});1===c.length&&(c=c[0]);var y=T.compactIri({activeCtx:t,iri:e,relativeTo:{vocab:!0}}),g=s(c)&&0===n.length;return k(I,y,c,{propertyIsArray:g}),"continue"}if("@reverse"===e){var x=T.compact({activeCtx:t,activeProperty:"@reverse",element:n,options:f,compactionMap:m});for(var _ in x)if(t.mappings[_]&&t.mappings[_].reverse){var S=x[_],E=(b(t,_,"@container")||[]).includes("@set")||!f.compactArrays;k(I,_,S,{propertyIsArray:E}),delete x[_]}if(Object.keys(x).length>0){var j=T.compactIri({activeCtx:t,iri:e,relativeTo:{vocab:!0}});k(I,j,x)}return"continue"}if("@preserve"===e){var C=T.compact({activeCtx:t,activeProperty:r,element:n,options:f,compactionMap:m});return s(C)&&0===C.length||k(I,e,C),"continue"}if("@index"===e){if((b(t,r,"@container")||[]).includes("@index"))return"continue";var N=T.compactIri({activeCtx:t,iri:e,relativeTo:{vocab:!0}});return k(I,N,n),"continue"}if("@graph"!==e&&"@list"!==e&&w(e)){var P=T.compactIri({activeCtx:t,iri:e,relativeTo:{vocab:!0}});return k(I,P,n),"continue"}if(!s(n))throw new a("JSON-LD expansion error; expanded value must be an array.","jsonld.SyntaxError");if(0===n.length){var L=T.compactIri({activeCtx:t,iri:e,value:n,relativeTo:{vocab:!0},reverse:A}),R=L in t.mappings?t.mappings[L]["@nest"]:null,D=I;R&&(O(t,R),l(I[R])||(I[R]={}),D=I[R]),k(D,L,n,{propertyIsArray:!0})}var M=!0,B=!1,U=void 0;try{for(var F,z=n[Symbol.iterator]();!(M=(F=z.next()).done);M=!0){var q=F.value,V=T.compactIri({activeCtx:t,iri:e,value:q,relativeTo:{vocab:!0},reverse:A}),H=V in t.mappings?t.mappings[V]["@nest"]:null,W=I;H&&(O(t,H),l(I[H])||(I[H]={}),W=I[H]);var J=b(t,V,"@container")||[],G=h(q),K=d(q),$=void 0;K?$=q["@list"]:G&&($=q["@graph"]);var Q=T.compact({activeCtx:t,activeProperty:V,element:K||G?$:q,options:f,compactionMap:m});if(K)if(s(Q)||(Q=[Q]),J.includes("@list")){if(V in W)throw new a('JSON-LD compact error; property has a "@list" @container rule but there is more than a single @list that matches the compacted term in the document. Compaction might mix unwanted items into the list.',"jsonld.SyntaxError",{code:"compaction to list of lists"})}else Q=(0,i.default)({},T.compactIri({activeCtx:t,iri:"@list",relativeTo:{vocab:!0}}),Q),"@index"in q&&(Q[T.compactIri({activeCtx:t,iri:"@index",relativeTo:{vocab:!0}})]=q["@index"]);if(G)if(J.includes("@graph")&&(J.includes("@id")||J.includes("@index")&&v(q))){var X=void 0;V in W?X=W[V]:W[V]=X={};var Z=(J.includes("@id")?q["@id"]:q["@index"])||T.compactIri({activeCtx:t,iri:"@none",vocab:!0});k(X,Z,Q,{propertyIsArray:!f.compactArrays||J.includes("@set")})}else J.includes("@graph")&&v(q)?k(W,V,Q,{propertyIsArray:!f.compactArrays||J.includes("@set")}):(s(Q)&&1===Q.length&&f.compactArrays&&(Q=Q[0]),Q=(0,i.default)({},T.compactIri({activeCtx:t,iri:"@graph",relativeTo:{vocab:!0}}),Q),"@id"in q&&(Q[T.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}})]=q["@id"]),"@index"in q&&(Q[T.compactIri({activeCtx:t,iri:"@index",relativeTo:{vocab:!0}})]=q["@index"]),k(W,V,Q,{propertyIsArray:!f.compactArrays||J.includes("@set")}));else if(J.includes("@language")||J.includes("@index")||J.includes("@id")||J.includes("@type")){var ee=void 0;V in W?ee=W[V]:W[V]=ee={};var te=void 0;if(J.includes("@language"))p(Q)&&(Q=Q["@value"]),te=q["@language"];else if(J.includes("@index"))te=q["@index"];else if(J.includes("@id")){var ne=T.compactIri({activeCtx:t,iri:"@id",vocab:!0});te=Q[ne],delete Q[ne]}else if(J.includes("@type")){var re,oe=T.compactIri({activeCtx:t,iri:"@type",vocab:!0}),ie=[].concat(Q[oe]||[]),ae=(0,o.default)(ie);switch(te=ae[0],(re=ae.slice(1)).length){case 0:delete Q[oe];break;case 1:Q[oe]=re[0];break;default:Q[oe]=re}}te||(te=T.compactIri({activeCtx:t,iri:"@none",vocab:!0})),k(ee,te,Q,{propertyIsArray:J.includes("@set")})}else{var ue=!f.compactArrays||J.includes("@set")||J.includes("@list")||s(Q)&&0===Q.length||"@list"===e||"@graph"===e;k(W,V,Q,{propertyIsArray:ue})}}}catch(e){B=!0,U=e}finally{try{M||null==z.return||z.return()}finally{if(B)throw U}}},K=V[Symbol.iterator]();!(H=(Y=K.next()).done);H=!0)G()}catch(e){W=!0,J=e}finally{try{H||null==K.return||K.return()}finally{if(W)throw J}}return I}return u},T.compactIri=function(e){var t=e.activeCtx,n=e.iri,r=e.value,o=void 0===r?null:r,i=e.relativeTo,a=void 0===i?{vocab:!1}:i,u=e.reverse,s=void 0!==u&&u;if(null===n)return n;var c=t.getInverse();if(w(n)&&n in c&&"@none"in c[n]&&"@type"in c[n]["@none"]&&"@none"in c[n]["@none"]["@type"])return c[n]["@none"]["@type"]["@none"];if(a.vocab&&n in c){var f=t["@language"]||"@none",v=[];l(o)&&"@index"in o&&!("@graph"in o)&&v.push("@index","@index@set"),l(o)&&"@preserve"in o&&(o=o["@preserve"][0]),h(o)?("@index"in o&&v.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in o&&v.push("@graph@id","@graph@id@set"),v.push("@graph","@graph@set","@set"),"@index"in o||v.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in o||v.push("@graph@id","@graph@id@set")):l(o)&&!p(o)&&v.push("@id","@id@set","@type","@set@type");var g="@language",m="@null";if(s)g="@type",m="@reverse",v.push("@set");else if(d(o)){"@index"in o||v.push("@list");var b=o["@list"];if(0===b.length)g="@any",m="@none";else{for(var x=0===b.length?f:null,S=null,k=0;k<b.length;++k){var O=b[k],j="@none",C="@none";if(p(O)?"@language"in O?j=O["@language"]:"@type"in O?C=O["@type"]:j="@null":C="@id",null===x?x=j:j!==x&&p(O)&&(x="@none"),null===S?S=C:C!==S&&(S="@none"),"@none"===x&&"@none"===S)break}x=x||"@none","@none"!==(S=S||"@none")?(g="@type",m=S):m=x}}else p(o)?"@language"in o&&!("@index"in o)?(v.push("@language","@language@set"),m=o["@language"]):"@type"in o&&(g="@type",m=o["@type"]):(g="@type",m="@id"),v.push("@set");v.push("@none"),!l(o)||"@index"in o||v.push("@index","@index@set"),p(o)&&1===Object.keys(o).length&&v.push("@language","@language@set");var N=function(e,t,n,r,o,i){null===i&&(i="@null");var a=[];if("@id"!==i&&"@reverse"!==i||!y(n))a.push(i);else{"@reverse"===i&&a.push("@reverse");var u=T.compactIri({activeCtx:e,iri:n["@id"],relativeTo:{vocab:!0}});u in e.mappings&&e.mappings[u]&&e.mappings[u]["@id"]===n["@id"]?a.push.apply(a,["@vocab","@id"]):a.push.apply(a,["@id","@vocab"])}a.push("@none");for(var s=e.inverse[t],l=0;l<r.length;++l){var c=r[l];if(c in s)for(var f=s[c][o],d=0;d<a.length;++d){var p=a[d];if(p in f)return f[p]}}return null}(t,n,o,v,g,m);if(null!==N)return N}if(a.vocab&&"@vocab"in t){var P=t["@vocab"];if(0===n.indexOf(P)&&n!==P){var A=n.substr(P.length);if(!(A in t.mappings))return A}}for(var I=null,L=[],R=t.fastCurieMap,D=n.length-1,M=0;M<D&&n[M]in R;++M)""in(R=R[n[M]])&&L.push(R[""][0]);for(var B=L.length-1;B>=0;--B){var U=L[B],F=U.terms,z=!0,q=!1,V=void 0;try{for(var H,W=F[Symbol.iterator]();!(z=(H=W.next()).done);z=!0){var J=H.value,Y=J+":"+n.substr(U.iri.length);t.mappings[J]._prefix&&(!(Y in t.mappings)||null===o&&t.mappings[Y]["@id"]===n)&&(null===I||E(Y,I)<0)&&(I=Y)}}catch(e){q=!0,V=e}finally{try{z||null==W.return||W.return()}finally{if(q)throw V}}}return null!==I?I:a.vocab?n:_(t["@base"],n)},T.compactValue=function(e){var t=e.activeCtx,n=e.activeProperty,r=e.value;if(p(r)){var o=b(t,n,"@type"),a=b(t,n,"@language"),u=b(t,n,"@container")||[],s="@index"in r&&!u.includes("@index");if(!s&&(r["@type"]===o||r["@language"]===a))return r["@value"];var l=Object.keys(r).length,f=1===l||2===l&&"@index"in r&&!s,d="@language"in t,h=c(r["@value"]),v=t.mappings[n]&&null===t.mappings[n]["@language"];if(f&&(!d||!h||v))return r["@value"];var y={};return s&&(y[T.compactIri({activeCtx:t,iri:"@index",relativeTo:{vocab:!0}})]=r["@index"]),"@type"in r?y[T.compactIri({activeCtx:t,iri:"@type",relativeTo:{vocab:!0}})]=T.compactIri({activeCtx:t,iri:r["@type"],relativeTo:{vocab:!0}}):"@language"in r&&(y[T.compactIri({activeCtx:t,iri:"@language",relativeTo:{vocab:!0}})]=r["@language"]),y[T.compactIri({activeCtx:t,iri:"@value",relativeTo:{vocab:!0}})]=r["@value"],y}var g=m(t,n,{vocab:!0}),w=b(t,n,"@type"),x=T.compactIri({activeCtx:t,iri:r["@id"],relativeTo:{vocab:"@vocab"===w}});return"@id"===w||"@vocab"===w||"@graph"===g?x:(0,i.default)({},T.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}}),x)},
/**
* Removes the @preserve keywords as the last step of the compaction
* algorithm when it is running on framed output.
*
* @param ctx the active context used to compact the input.
* @param input the framed, compacted output.
* @param options the compaction options used.
*
* @return the resulting output.
*/
T.removePreserve=function(e,t,n){if(s(t)){for(var r=[],o=0;o<t.length;++o){var i=T.removePreserve(e,t[o],n);null!==i&&r.push(i)}t=r}else if(l(t)){
// remove @preserve
if("@preserve"in t)return"@null"===t["@preserve"]?null:t["@preserve"];if(p(t))return t;if(d(t))return t["@list"]=T.removePreserve(e,t["@list"],n),t;var a=T.compactIri({activeCtx:e,iri:"@id",relativeTo:{vocab:!0}});if(a in t){var u=t[a];if(u in n.link){var c=n.link[u].indexOf(t);if(-1!==c)return n.link[u][c];n.link[u].push(t)}else n.link[u]=[t]}var f=T.compactIri({activeCtx:e,iri:"@graph",relativeTo:{vocab:!0}});for(var h in t)if(h===a&&n.bnodesToClear.includes(t[h]))delete t[a];else{var v=T.removePreserve(e,t[h],n),y=b(e,h,"@container")||[];n.compactArrays&&s(v)&&1===v.length&&0===y.length&&h!==f&&(v=v[0]),t[h]=v}}return t}},function(e,t,n){var r=n(183),o=n(101),i=n(184);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){"use strict";var r=n(0),o=r(n(12)),i=r(n(13)),a=n(8),u=a.parseLinkHeader,s=a.buildHeaders,l=n(37).LINK_HEADER_REL,c=n(15),f=n(71);function d(e,t){return new Promise(function(n,r){e(t,function(e,t,o){e?r(e):n({res:t,body:o})})})}e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{strictSSL:!0,maxRedirects:-1,headers:{}},t=e.secure,r=e.strictSSL,a=void 0===r||r,p=e.maxRedirects,h=void 0===p?-1:p,v=e.request,y=e.headers,g=void 0===y?{}:y;g=s(g),v=v||n(186);var m=n(187);return(new f).wrapLoader(function(e){return b(e,[])});function b(e,t){return w.apply(this,arguments)}function w(){return(w=(0,i.default)(o.default.mark(function e(n,r){var i,s,f,p,y,w,x;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(0===n.indexOf("http:")||0===n.indexOf("https:")){e.next=2;break}throw new c('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:n});case 2:if(!t||0===n.indexOf("https")){e.next=4;break}throw new c('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:n});case 4:if(null===(i=null)){e.next=7;break}return e.abrupt("return",i);case 7:return e.prev=7,e.next=10,d(v,{url:n,headers:g,strictSSL:a,followRedirect:!1});case 10:s=e.sent,e.next=16;break;case 13:throw e.prev=13,e.t0=e.catch(7),new c("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:n,cause:e.t0});case 16:if(p=(f=s).res,y=f.body,i={contextUrl:null,documentUrl:n,document:y||null},w=m.STATUS_CODES[p.statusCode],!(p.statusCode>=400)){e.next=21;break}throw new c("URL could not be dereferenced: "+w,"jsonld.InvalidUrl",{code:"loading document failed",url:n,httpStatusCode:p.statusCode});case 21:if(!p.headers.link||"application/ld+json"===p.headers["content-type"]){e.next=26;break}if(x=u(p.headers.link)[l],!Array.isArray(x)){e.next=25;break}throw new c("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:n});case 25:x&&(i.contextUrl=x.target);case 26:if(!(p.statusCode>=300&&p.statusCode<400&&p.headers.location)){e.next=33;break}if(r.length!==h){e.next=29;break}throw new c("URL could not be dereferenced; there were too many redirects.","jsonld.TooManyRedirects",{code:"loading document failed",url:n,httpStatusCode:p.statusCode,redirects:r});case 29:if(-1===r.indexOf(n)){e.next=31;break}throw new c("URL could not be dereferenced; infinite redirection was detected.","jsonld.InfiniteRedirectDetected",{code:"recursive context inclusion",url:n,httpStatusCode:p.statusCode,redirects:r});case 31:return r.push(n),e.abrupt("return",b(p.headers.location,r));case 33:return r.push(n),e.abrupt("return",i);case 35:case"end":return e.stop()}},e,this,[[7,13]])}))).apply(this,arguments)}}},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=r(n(12)),i=r(n(13)),a=n(8),u=a.parseLinkHeader,s=a.buildHeaders,l=n(37).LINK_HEADER_REL,c=n(15),f=n(71),d=/(^|(\r\n))link:/i;function p(e,t,n){var r=new(e=e||XMLHttpRequest);return new Promise(function(e,o){for(var i in r.onload=function(){return e(r)},r.onerror=function(e){return o(e)},r.open("GET",t,!0),n)r.setRequestHeader(i,n[i]);r.send()})}e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{headers:{}},t=e.secure,n=e.headers,r=void 0===n?{}:n,a=e.xhr;return r=s(r),(new f).wrapLoader(function(e){return function(){return(0,i.default)(o.default.mark(function e(n){var i,s,f,h;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(0===n.indexOf("http:")||0===n.indexOf("https:")){e.next=2;break}throw new c('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:n});case 2:if(!t||0===n.indexOf("https")){e.next=4;break}throw new c('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:n});case 4:return e.prev=4,e.next=7,p(a,n,r);case 7:i=e.sent,e.next=13;break;case 10:throw e.prev=10,e.t0=e.catch(4),new c("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:n,cause:e.t0});case 13:if(!(i.status>=400)){e.next=15;break}throw new c("URL could not be dereferenced: "+i.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:n,httpStatusCode:i.status});case 15:if(s={contextUrl:null,documentUrl:n,document:i.response},f=i.getResponseHeader("Content-Type"),d.test(i.getAllResponseHeaders())&&(h=i.getResponseHeader("Link")),!h||"application/ld+json"===f){e.next=23;break}if(h=u(h)[l],!Array.isArray(h)){e.next=22;break}throw new c("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:n});case 22:h&&(s.contextUrl=h.target);case 23:return e.abrupt("return",s);case 24:case"end":return e.stop()}},e,this,[[4,10]])})).apply(this,arguments)}.apply(this,arguments)})}},function(e,t,n){"use strict";var r=n(0),o=r(n(5)),i=r(n(6));e.exports=function(e){var t=function(){function e(){(0,o.default)(this,e)}return(0,i.default)(e,[{key:"toString",value:function(){return"[object JsonLdProcessor]"}}]),e}();return Object.defineProperty(t,"prototype",{writable:!1,enumerable:!1}),Object.defineProperty(t.prototype,"constructor",{writable:!0,enumerable:!1,configurable:!0,value:t}),t.compact=function(t,n){return arguments.length<2?Promise.reject(new TypeError("Could not compact, too few arguments.")):e.compact(t,n)},t.expand=function(t){return arguments.length<1?Promise.reject(new TypeError("Could not expand, too few arguments.")):e.expand(t)},t.flatten=function(t){return arguments.length<1?Promise.reject(new TypeError("Could not flatten, too few arguments.")):e.flatten(t)},t}}])}).call(this,n(32).setImmediate,n(8),n(10).Buffer)},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}let r=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.Impl=t,this.options=n}var t,r,o;return t=e,(r=[{key:"import",value:function(e,t){const n=new this.Impl(e,Object.assign({},this.options,t));return e.on("end",function(){n.readable||n.emit("end")}),e.on("error",function(e){n.emit("error",e)}),n}}])&&n(t.prototype,r),o&&n(t,o),e}();e.exports=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=e.call(this,{objectMode:!0})||this;return n.quads=[],n.on("finish",function(){return t(n.quads)}),n}return o(t,e),t.prototype._write=function(e,t,n){this.quads=this.quads.concat([e]),n()},t}(n(35).Writable);t.default=i},function(e,t,n){e.exports=n(19)},function(e,t,n){e.exports=n(7)},function(e,t,n){e.exports=n(11).Transform},function(e,t,n){e.exports=n(11).PassThrough},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,u)}s((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}};Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){function t(t){var n=e.call(this)||this;return n.busy=!1,n.response=t,n}return o(t,e),t.prototype._read=function(){return i(this,void 0,void 0,function(){var e=this;return a(this,function(t){switch(t.label){case 0:return this.busy?[2]:(this.busy=!0,[4,this.response.text().then(function(t){e.push(t),e.push(null),e.busy=!1})]);case 1:return t.sent(),[2]}})})},t}(n(35).Readable);t.default=u},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(0)),a=n(1),u=o(n(13));t.default=function(e){var t=e.resourceIri,n=e.store,o=e.rows,s=e.valueProps,l=n.findStatements(t).sort(function(e,t){return a.compareTerm(e.predicate,t.predicate)});return i.default.createElement("table",{className:"table table-striped"},i.default.createElement("tbody",null,o.map(function(e){var t=l.filter(function(t){return e.predicate.value===t.predicate.value}).map(function(e){return e.object});return i.default.createElement("tr",{key:e.predicate.value},i.default.createElement("th",{scope:"row"},i.default.createElement("a",{href:e.predicate.value},e.label?e.label:a.localName(e.predicate))),i.default.createElement("td",null,e.customRender&&e.customRender(t),!e.customRender&&0===t.length&&i.default.createElement("span",null,"-"),!e.customRender&&0!==t.length&&t.map(function(e){return i.default.createElement(i.default.Fragment,null,i.default.createElement(u.default,r({term:e},s)),i.default.createElement("br",null))})))})))}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(0)),i=n(2),a=r(n(38)),u=r(n(39)),s=r(n(103)),l=n(4),c=n(1),f=r(n(5)),d=r(n(40)),p=r(n(43));t.default=function(e){var t=e.store,n=t.findSubjects(i.namedNode(l.RDF+"type"),[i.namedNode(l.RDFS+"Class"),i.namedNode(l.OWL+"Class")]).sort(c.compareTerm),r=t.findSubjects(i.namedNode(l.RDF+"type"),[i.namedNode(l.RDF+"Property"),i.namedNode(l.OWL+"DatatypeProperty"),i.namedNode(l.OWL+"ObjectProperty")]).sort(c.compareTerm);return o.default.createElement("div",null,o.default.createElement("div",{className:"row tree-section"},o.default.createElement("div",{className:"col-md-6"},o.default.createElement("section",null,o.default.createElement("h2",null,f.default.t("classes")),o.default.createElement(d.default,{store:t,classIris:n}))),o.default.createElement("div",{className:"col-md-6"},o.default.createElement("section",null,o.default.createElement("h2",null,f.default.t("properties")),o.default.createElement(p.default,{store:t,propertyIris:r})))),o.default.createElement("div",{className:"row"},o.default.createElement("div",{className:"col-md-3"},o.default.createElement("section",null,o.default.createElement("h2",null,f.default.t("classes")),o.default.createElement(s.default,{resourceIris:n})),o.default.createElement("section",null,o.default.createElement("h2",null,f.default.t("properties")),o.default.createElement(s.default,{resourceIris:r}))),o.default.createElement("div",{className:"col-md-9"},o.default.createElement("section",null,o.default.createElement(a.default,{classIris:n,propertyIris:r,store:t})),o.default.createElement("section",null,o.default.createElement(u.default,{propertyIris:r,classIris:n,store:t})))))}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(0)),i=n(1);t.default=function(e){var t=e.resourceIris;return o.default.createElement("ul",{className:"nav flex-column"},t.map(function(e){return o.default.createElement("li",{key:e.value,className:"nav-item"},o.default.createElement("a",{href:"#"+i.localName(e),title:i.localName(e),className:"nav-link"},i.localName(e)))}))}},function(e,t,n){(e.exports=n(105)(!1)).push([e.i,"/* the tree node's style */\n.tree-view {\n overflow-y: hidden;\n}\n\n.tree-view_item {\n /* immediate child of .tree-view, for styling convenience */\n}\n\n/* style for the children nodes container */\n.tree-view_children {\n margin-left: 16px;\n}\n\n.tree-view_children-collapsed {\n height: 0px;\n}\n\n.tree-view_arrow {\n cursor: pointer;\n margin-right: 6px;\n display: inline-block;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.tree-view_arrow:after {\n content: '▾';\n}\n\n/* rotate the triangle to close it */\n.tree-view_arrow-collapsed {\n -webkit-transform: rotate(-90deg);\n -moz-transform: rotate(-90deg);\n -ms-transform: rotate(-90deg);\n transform: rotate(-90deg);\n}\n",""])},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];null!=a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),u=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var r=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}}(),s=null,l=0,c=[],f=n(107);function d(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(m(r.parts[a],t))}else{var u=[];for(a=0;a<r.parts.length;a++)u.push(m(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:u}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],u={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(u):n.push(r[a]={id:a,parts:[u]})}return n}function h(e,t){var n=u(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=c[c.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),c.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=u(e.insertAt.before,n);n.insertBefore(t,o)}}function v(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=c.indexOf(e);t>=0&&c.splice(t,1)}function y(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return g(t,e.attrs),h(e,t),t}function g(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function m(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var a=l++;n=s||(s=y(t)),r=x.bind(null,n,a,!1),o=x.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),u=e.href;e.href=URL.createObjectURL(a),u&&URL.revokeObjectURL(u)}.bind(null,n,t),o=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=y(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){v(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return d(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(u=i[a.id]).refs--,r.push(u)}e&&d(p(e,t),t);for(o=0;o<r.length;o++){var u;if(0===(u=r[o]).refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete i[u.id]}}}};var b,w=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function x(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=a(n(0)),s=a(n(5)),l=a(n(13)),c=n(1),f=10,d=function(e){function t(t){var n=e.call(this,t)||this;return n.getPageSize=function(){if(n.props.pagination)return!0===n.props.pagination?f:n.props.pagination.pageSize||f},n.getBindingSets=function(){var e=n.props.result.getBindingSets();if(void 0!==n.state.sortByColumn){var t=n.state.sortByColumn,r=t[0],o=t[1];e.sort(function(e,t){return c.sortRows(e,t,o,r)})}if(n.props.pagination){var i=(n.state.currentPage-1)*n.state.pageSize;return e.slice(i,i+n.state.pageSize)}return e},n.renderPager=function(){if(!n.props.pagination)return null;var e=n.state.currentPage>1,t=n.props.result.getBindingSets().length>n.state.currentPage*n.state.pageSize;return u.default.createElement("nav",{style:{display:"inline-block",width:"100%"}},u.default.createElement("button",{type:"button",className:"btn btn-primary",disabled:!e,onClick:function(){return n.setState({currentPage:n.state.currentPage-1})},style:{float:"left"}},"« ",s.default.t("previous")),u.default.createElement("button",{type:"button",className:"btn btn-primary",disabled:!t,onClick:function(){return n.setState({currentPage:n.state.currentPage+1})},style:{float:"right"}},s.default.t("next")," »"))},n.renderField=function(e){return void 0===e?u.default.createElement("span",null,"-"):u.default.createElement(l.default,i({term:e},n.props.valueProps))},n.renderSortArrow=function(e){var t=void 0!==n.state.sortByColumn&&e.name===n.state.sortByColumn[0],r=t&&void 0!==n.state.sortByColumn&&n.state.sortByColumn[1],o={float:"right",cursor:"pointer",color:t?"#000":"#ddd"};return u.default.createElement("div",{onClick:function(){return n.setState({sortByColumn:[e.name,!r]})},style:o},t&&r&&u.default.createElement("span",null,"▲"),t&&!r&&u.default.createElement("span",null,"▼"),!t&&u.default.createElement("span",null,"▲▼"))},n.state={currentPage:t.pagination?1:void 0,pageSize:n.getPageSize(),sortByColumn:t.sortByColumn},n}return o(t,e),t.prototype.render=function(){var e=this;return u.default.createElement("div",null,this.renderPager(),u.default.createElement("div",{style:{overflowX:"auto"}},u.default.createElement("table",{className:"table table-bordered"},u.default.createElement("thead",null,u.default.createElement("tr",null,this.props.columns.map(function(t){return u.default.createElement("th",{key:t.name,scope:"row"},t.label||t.name,t.sortable&&e.renderSortArrow(t))}))),u.default.createElement("tbody",null,this.getBindingSets().map(function(t,n){return u.default.createElement("tr",{key:n},e.props.columns.map(function(n){return u.default.createElement("td",{key:n.name},n.customRender?n.customRender(t[n.name]):e.renderField(t[n.name]))}))})))))},t}(u.default.Component);t.default=d},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),u=i(n(46)),s=i(n(47)),l=i(n(44)),c=function(e){function t(t){var n=e.call(this,t)||this;return n.handleInputChange=function(e){n.setState({query:e})},n.buildUrl=function(){var e;return n.props.endpoint+"?"+u.default.stringify(((e={})[n.props.queryParam||"q"]=n.state.query,e))},n.state={query:t.defaultValue},n}return o(t,e),t.prototype.render=function(){return a.default.createElement("div",null,a.default.createElement(s.default,{onInputChange:this.handleInputChange}),void 0!==this.state.query&&a.default.createElement("div",{style:{marginTop:15}},a.default.createElement(l.default,{src:this.buildUrl()},this.props.children)))},t}(a.default.Component);t.default=c},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var u=/\+/g;e=e.split(t);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var f,d,p,h,v=e[c].replace(u,"%20"),y=v.indexOf(n);y>=0?(f=v.substr(0,y),d=v.substr(y+1)):(f=v,d=""),p=decodeURIComponent(f),h=decodeURIComponent(d),r(a,p)?o(a[p])?a[p].push(h):a[p]=[a[p],h]:a[p]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,u){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(a(e),function(a){var u=encodeURIComponent(r(a))+n;return o(e[a])?i(e[a],function(e){return u+encodeURIComponent(r(e))}).join(t):u+encodeURIComponent(r(e[a]))}).join(t):u?encodeURIComponent(r(u))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(0)),u=i(n(46)),s=i(n(47)),l=n(20),c=function(e){function t(t){var n=e.call(this,t)||this;return n.handleInputChange=function(e){n.setState({query:e})},n.buildUrl=function(){var e;return n.props.endpoint+"?"+u.default.stringify(((e={})[n.props.queryParam||"q"]=n.state.query,e))},n.state={query:t.defaultValue},n}return o(t,e),t.prototype.render=function(){return a.default.createElement("div",null,a.default.createElement(s.default,{onInputChange:this.handleInputChange}),void 0!==this.state.query&&a.default.createElement("div",{style:{marginTop:15}},a.default.createElement(l.GraphContext,{src:this.buildUrl()},this.props.children)))},t}(a.default.Component);t.default=c},function(e,t,n){"use strict";n.r(t);var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var o={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){var n;console&&console[e]&&(n=console)[e].apply(n,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))}},i=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.init(t,n)}return e.prototype.init=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||o,this.options=t,this.debug=t.debug},e.prototype.setDebug=function(e){this.debug=e},e.prototype.log=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)},e.prototype.warn=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)},e.prototype.error=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")},e.prototype.deprecate=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)},e.prototype.forward=function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]=""+n+this.prefix+" "+e[0]),this.logger[t](e))},e.prototype.create=function(t){return new e(this.logger,r({prefix:this.prefix+":"+t+":"},this.options))},e}());var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.observers={}}return e.prototype.on=function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this},e.prototype.off=function(e,t){var n=this;this.observers[e]&&this.observers[e].forEach(function(){if(t){var r=n.observers[e].indexOf(t);r>-1&&n.observers[e].splice(r,1)}else delete n.observers[e]})},e.prototype.emit=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)});this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})},e}();function u(e){return null==e?"":""+e}function s(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=e[a]}return o()?{}:{obj:e,k:r(i.shift())}}function l(e,t,n){var r=s(e,t,Object);r.obj[r.k]=n}function c(e,t){var n=s(e,t),r=n.obj,o=n.k;if(r)return r[o]}function f(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function p(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return d[e]}):e}var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var y=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return o.data=n||{},o.options=r,void 0===o.options.keySeparator&&(o.options.keySeparator="."),o}return v(t,e),t.prototype.addNamespaces=function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)},t.prototype.removeNamespaces=function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)},t.prototype.getResource=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=[e,t];return n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(i=e.split(".")),c(this.data,i)},t.prototype.addResource=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),l(this.data,a,r),o.silent||this.emit("added",e,t,n,r)},t.prototype.addResources=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"==typeof n[o]&&this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)},t.prototype.addResourceBundle=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var u=c(this.data,a)||{};r?function e(t,n,r){for(var o in n)o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof n[o]||n[o]instanceof String?r&&(t[o]=n[o]):e(t[o],n[o],r):t[o]=n[o];return t}(u,n,o):u=h({},u,n),l(this.data,a,u),i.silent||this.emit("added",e,t,n)},t.prototype.removeResourceBundle=function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)},t.prototype.hasResourceBundle=function(e,t){return void 0!==this.getResource(e,t)},t.prototype.getResourceBundle=function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?h({},this.getResource(e,t)):this.getResource(e,t)},t.prototype.getDataByLanguage=function(e){return this.data[e]},t.prototype.toJSON=function(){return this.data},t}(a),g={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))}),t}},m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function w(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var x=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o,a,u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return o=n,a=u,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat"].forEach(function(e){o[e]&&(a[e]=o[e])}),u.options=r,void 0===u.options.keySeparator&&(u.options.keySeparator="."),u.logger=i.create("translator"),u}return w(t,e),t.prototype.changeLanguage=function(e){e&&(this.language=e)},t.prototype.exists=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res},t.prototype.extractFromKey=function(e,t){var n=t.nsSeparator||this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}},t.prototype.translate=function(e,t){var n=this;if("object"!==(void 0===t?"undefined":b(t))&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e||""===e)return"";"number"==typeof e&&(e=String(e)),"string"==typeof e&&(e=[e]);var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=this.extractFromKey(e[e.length-1],t),i=o.key,a=o.namespaces,u=a[a.length-1],s=t.lng||this.language,l=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(s&&"cimode"===s.toLowerCase()){if(l){var c=t.nsSeparator||this.options.nsSeparator;return u+c+i}return i}var f=this.resolve(e,t),d=f&&f.res,p=f&&f.usedKey||i,h=Object.prototype.toString.apply(d),v=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject;if(y&&d&&("string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0&&(!v||"[object Array]"!==h)){if(!t.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,d,t):"key '"+i+" ("+this.language+")' returned an object instead of string.";if(r){var g="[object Array]"===h?[]:{};for(var w in d)if(Object.prototype.hasOwnProperty.call(d,w)){var x=""+p+r+w;g[w]=this.translate(x,m({},t,{joinArrays:!1,ns:a})),g[w]===x&&(g[w]=d[w])}d=g}}else if(y&&v&&"[object Array]"===h)(d=d.join(v))&&(d=this.extendTranslation(d,e,t));else{var _=!1,S=!1;if(!this.isValidLookup(d)&&void 0!==t.defaultValue){if(_=!0,void 0!==t.count){var k=this.pluralResolver.getSuffix(s,t.count);d=t["defaultValue"+k]}d||(d=t.defaultValue)}this.isValidLookup(d)||(S=!0,d=i);var E=t.defaultValue&&t.defaultValue!==d&&this.options.updateMissing;if(S||_||E){this.logger.log(E?"updateKey":"missingKey",s,u,i,E?t.defaultValue:d);var T=[],O=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&O&&O[0])for(var j=0;j<O.length;j++)T.push(O[j]);else"all"===this.options.saveMissingTo?T=this.languageUtils.toResolveHierarchy(t.lng||this.language):T.push(t.lng||this.language);var C=function(e,r){n.options.missingKeyHandler?n.options.missingKeyHandler(e,u,r,E?t.defaultValue:d,E,t):n.backendConnector&&n.backendConnector.saveMissing&&n.backendConnector.saveMissing(e,u,r,E?t.defaultValue:d,E,t),n.emit("missingKey",e,u,r,d)};if(this.options.saveMissing){var N=void 0!==t.count&&"string"!=typeof t.count;this.options.saveMissingPlurals&&N?T.forEach(function(e){n.pluralResolver.getPluralFormsOfKey(e,i).forEach(function(t){return C([e],t)})}):C(T,i)}}d=this.extendTranslation(d,e,t,f),S&&d===i&&this.options.appendNamespaceToMissingKey&&(d=u+":"+i),S&&this.options.parseMissingKeyHandler&&(d=this.options.parseMissingKeyHandler(d))}return d},t.prototype.extendTranslation=function(e,t,n,r){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(m({},n,{interpolation:m({},this.options.interpolation,n.interpolation)}));var i=n.replace&&"string"!=typeof n.replace?n.replace:n;this.options.interpolation.defaultVariables&&(i=m({},this.options.interpolation.defaultVariables,i)),e=this.interpolator.interpolate(e,i,n.lng||this.language,n),!1!==n.nest&&(e=this.interpolator.nest(e,function(){return o.translate.apply(o,arguments)},n)),n.interpolation&&this.interpolator.reset()}var a=n.postProcess||this.options.postProcess,u="string"==typeof a?[a]:a;return null!=e&&u&&u.length&&!1!==n.applyPostProcessor&&(e=g.handle(u,e,t,n,this)),e},t.prototype.resolve=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0,o=void 0,i=void 0,a=void 0;return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!t.isValidLookup(r)){var u=t.extractFromKey(e,n),s=u.key;o=s;var l=u.namespaces;t.options.fallbackNS&&(l=l.concat(t.options.fallbackNS));var c=void 0!==n.count&&"string"!=typeof n.count,f=void 0!==n.context&&"string"==typeof n.context&&""!==n.context,d=n.lngs?n.lngs:t.languageUtils.toResolveHierarchy(n.lng||t.language,n.fallbackLng);l.forEach(function(e){t.isValidLookup(r)||(a=e,d.forEach(function(o){if(!t.isValidLookup(r)){i=o;var a=s,u=[a];if(t.i18nFormat&&t.i18nFormat.addLookupKeys)t.i18nFormat.addLookupKeys(u,s,o,e,n);else{var l=void 0;c&&(l=t.pluralResolver.getSuffix(o,n.count)),c&&f&&u.push(a+l),f&&u.push(a+=""+t.options.contextSeparator+n.context),c&&u.push(a+=l)}for(var d=void 0;d=u.pop();)t.isValidLookup(r)||(r=t.getResource(o,e,d,n))}}))})}}),{res:r,usedKey:o,usedLng:i,usedNS:a}},t.prototype.isValidLookup=function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)},t.prototype.getResource=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)},t}(a);function _(e){return e.charAt(0).toUpperCase()+e.slice(1)}var S=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t,this.whitelist=this.options.whitelist||!1,this.logger=i.create("languageUtils")}return e.prototype.getScriptPartFromCode=function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),this.formatLanguageCode(t.join("-")))},e.prototype.getLanguagePartFromCode=function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])},e.prototype.formatLanguageCode=function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=_(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=_(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=_(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e},e.prototype.isWhitelisted=function(e){return("languageOnly"===this.options.load||this.options.nonExplicitWhitelist)&&(e=this.getLanguagePartFromCode(e)),!this.whitelist||!this.whitelist.length||this.whitelist.indexOf(e)>-1},e.prototype.getFallbackCodes=function(e,t){if(!e)return[];if("string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e.default),n||[]},e.prototype.toResolveHierarchy=function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isWhitelisted(e)?o.push(e):n.logger.warn("rejecting non-whitelisted language code: "+e))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))}),o},e}();var k=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he"],nr:[1,2,20,21],fc:22}],E={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0===e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0===e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1===e?0:2===e?1:(e<0||e>10)&&e%10==0?2:3)}};var T=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.languageUtils=t,this.options=r,this.logger=i.create("pluralResolver"),this.rules=(n={},k.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:E[e.fc]}})}),n)}return e.prototype.addRule=function(e,t){this.rules[e]=t},e.prototype.getRule=function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]},e.prototype.needsPlural=function(e){var t=this.getRule(e);return t&&t.numbers.length>1},e.prototype.getPluralFormsOfKey=function(e,t){var n=this,r=[],o=this.getRule(e);return o?(o.numbers.forEach(function(o){var i=n.getSuffix(e,o);r.push(""+t+i)}),r):r},e.prototype.getSuffix=function(e,t){var n=this,r=this.getRule(e);if(r){var o=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[o];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_"+i.toString():a():"v2"===this.options.compatibilityJSON&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: "+e),""},e}(),O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var j=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.logger=i.create("interpolator"),this.init(t,!0)}return e.prototype.init=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};arguments[1]&&(this.options=e,this.format=e.interpolation&&e.interpolation.format||function(e){return e}),e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:p,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?f(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?f(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?f(t.nestingPrefix):t.nestingPrefixEscaped||f("$t("),this.nestingSuffix=t.nestingSuffix?f(t.nestingSuffix):t.nestingSuffixEscaped||f(")"),this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.resetRegExp()},e.prototype.reset=function(){this.options&&this.init(this.options)},e.prototype.resetRegExp=function(){var e=this.prefix+"(.+?)"+this.suffix;this.regexp=new RegExp(e,"g");var t=""+this.prefix+this.unescapePrefix+"(.+?)"+this.unescapeSuffix+this.suffix;this.regexpUnescape=new RegExp(t,"g");var n=this.nestingPrefix+"(.+?)"+this.nestingSuffix;this.nestingRegexp=new RegExp(n,"g")},e.prototype.interpolate=function(e,t,n,r){var o=this,i=void 0,a=void 0,s=void 0;function l(e){return e.replace(/\$/g,"$$$$")}var f=function(e){if(e.indexOf(o.formatSeparator)<0)return c(t,e);var r=e.split(o.formatSeparator),i=r.shift().trim(),a=r.join(o.formatSeparator).trim();return o.format(c(t,i),a,n)};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler;for(s=0;(i=this.regexpUnescape.exec(e))&&(a=f(i[1].trim()),e=e.replace(i[0],a),this.regexpUnescape.lastIndex=0,!(++s>=this.maxReplaces)););for(s=0;i=this.regexp.exec(e);){if(void 0===(a=f(i[1].trim())))if("function"==typeof d){var p=d(e,i);a="string"==typeof p?p:""}else this.logger.warn("missed to pass in variable "+i[1]+" for interpolating "+e),a="";else"string"==typeof a||this.useRawValueToEscape||(a=u(a));if(a=this.escapeValue?l(this.escape(a)):l(a),e=e.replace(i[0],a),this.regexp.lastIndex=0,++s>=this.maxReplaces)break}return e},e.prototype.nest=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=void 0,o=void 0,i=O({},n);function a(e,t){if(e.indexOf(",")<0)return e;var n=e.split(",");e=n.shift();var r=n.join(",");r=(r=this.interpolate(r,i)).replace(/'/g,'"');try{i=JSON.parse(r),t&&(i=O({},t,i))}catch(t){this.logger.error("failed parsing options string in nesting for key "+e,t)}return e}for(i.applyPostProcessor=!1;r=this.nestingRegexp.exec(e);){if((o=t(a.call(this,r[1].trim(),i),i))&&r[0]===e&&"string"!=typeof o)return o;"string"!=typeof o&&(o=u(o)),o||(this.logger.warn("missed to resolve "+r[1]+" for nesting "+e),o=""),e=e.replace(r[0],o),this.regexp.lastIndex=0}return e},e}(),C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function P(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}var A=function(e){function t(n,r,o){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this));return u.backend=n,u.store=r,u.languageUtils=o.languageUtils,u.options=a,u.logger=i.create("backendConnector"),u.state={},u.queue=[],u.backend&&u.backend.init&&u.backend.init(o,a.backend,a),u}return P(t,e),t.prototype.queueLoad=function(e,t,n,r){var o=this,i=[],a=[],u=[],s=[];return e.forEach(function(e){var r=!0;t.forEach(function(t){var u=e+"|"+t;!n.reload&&o.store.hasResourceBundle(e,t)?o.state[u]=2:o.state[u]<0||(1===o.state[u]?a.indexOf(u)<0&&a.push(u):(o.state[u]=1,r=!1,a.indexOf(u)<0&&a.push(u),i.indexOf(u)<0&&i.push(u),s.indexOf(t)<0&&s.push(t)))}),r||u.push(e)}),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:u,toLoadNamespaces:s}},t.prototype.loaded=function(e,t,n){var r=e.split("|"),o=N(r,2),i=o[0],a=o[1];t&&this.emit("failedLoading",i,a,t),n&&this.store.addResourceBundle(i,a,n),this.state[e]=t?-1:2;var u={};this.queue.forEach(function(n){var r,o,l,c,f,d;r=n.loaded,o=a,c=s(r,[i],Object),f=c.obj,d=c.k,f[d]=f[d]||[],l&&(f[d]=f[d].concat(o)),l||f[d].push(o),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach(function(e){u[e]||(u[e]=[]),n.loaded[e].length&&n.loaded[e].forEach(function(t){u[e].indexOf(t)<0&&u[e].push(t)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(function(e){return!e.done})},t.prototype.read=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=this,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:250,a=arguments[5];return e.length?this.backend[n](e,t,function(u,s){u&&s&&r<5?setTimeout(function(){o.read.call(o,e,t,n,r+1,2*i,a)},i):a(u,s)}):a(null,{})},t.prototype.prepareLoading=function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments[3];if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(function(e){n.loadOne(e)})},t.prototype.load=function(e,t,n){this.prepareLoading(e,t,{},n)},t.prototype.reload=function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)},t.prototype.loadOne=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=N(r,2),i=o[0],a=o[1];this.read(i,a,"read",null,null,function(r,o){r&&t.logger.warn(n+"loading namespace "+a+" for language "+i+" failed",r),!r&&o&&t.logger.log(n+"loaded namespace "+a+" for language "+i,o),t.loaded(e,r,o)})},t.prototype.saveMissing=function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,C({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r)},t}(a);function I(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e}var L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function D(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function M(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e,t))}function B(){}var U=new(function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=D(this,e.call(this));if(o.options=I(n),o.services={},o.logger=i,o.modules={external:[]},r&&!o.isInitialized&&!n.isClone){var a;if(!o.options.initImmediate)return a=o.init(n,r),D(o,a);setTimeout(function(){o.init(n,r)},0)}return o}return M(t,e),t.prototype.init=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),this.options=R({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:function(){},parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};return e[1]&&(t.defaultValue=e[1]),e[2]&&(t.tDescription=e[2]),t},interpolation:{escapeValue:!0,format:function(e,t,n){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",maxReplaces:1e3}},this.options,I(t)),this.format=this.options.interpolation.format,n||(n=B),!this.options.isClone){this.modules.logger?i.init(r(this.modules.logger),this.options):i.init(null,this.options);var o=new S(this.options);this.store=new y(this.options.resources,this.options);var a=this.services;a.logger=i,a.resourceStore=this.store,a.languageUtils=o,a.pluralResolver=new T(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a.interpolator=new j(this.options),a.backendConnector=new A(r(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.languageDetector&&(a.languageDetector=r(this.modules.languageDetector),a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=r(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new x(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.external.forEach(function(t){t.init&&t.init(e)})}["getResource","addResource","addResources","addResourceBundle","removeResourceBundle","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}});var u=function(){e.changeLanguage(e.options.lng,function(t,r){e.isInitialized=!0,e.logger.log("initialized",e.options),e.emit("initialized",e.options),n(t,r)})};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),this},t.prototype.loadResources=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B;if(!this.options.resources||this.options.partialBundledLanguages){if(this.language&&"cimode"===this.language.toLowerCase())return t();var n=[],r=function(t){t&&e.services.languageUtils.toResolveHierarchy(t).forEach(function(e){n.indexOf(e)<0&&n.push(e)})};if(this.language)r(this.language);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return r(e)});this.options.preload&&this.options.preload.forEach(function(e){return r(e)}),this.services.backendConnector.load(n,this.options.ns,t)}else t(null)},t.prototype.reloadResources=function(e,t,n){e||(e=this.languages),t||(t=this.options.ns),n||(n=function(){}),this.services.backendConnector.reload(e,t,n)},t.prototype.use=function(e){return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&g.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this},t.prototype.changeLanguage=function(e,t){var n=this,r=function(e){e&&(n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.translator.language||n.translator.changeLanguage(e),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(e)),n.loadResources(function(r){!function(e,r){n.translator.changeLanguage(r),r&&(n.emit("languageChanged",r),n.logger.log("languageChanged",r)),t&&t(e,function(){return n.t.apply(n,arguments)})}(r,e)})};e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect())},t.prototype.getFixedT=function(e,t){var n=this,r=function e(t,r){for(var o=arguments.length,i=Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];var u=R({},r);return"object"!==(void 0===r?"undefined":L(r))&&(u=n.options.overloadTranslationOptionHandler([t,r].concat(i))),u.lng=u.lng||e.lng,u.lngs=u.lngs||e.lngs,u.ns=u.ns||e.ns,n.t(t,u)};return"string"==typeof e?r.lng=e:r.lngs=e,r.ns=t,r},t.prototype.t=function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)},t.prototype.exists=function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)},t.prototype.setDefaultNamespace=function(e){this.options.defaultNS=e},t.prototype.loadNamespaces=function(e,t){var n=this;if(!this.options.ns)return t&&t();"string"==typeof e&&(e=[e]),e.forEach(function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)}),this.loadResources(t)},t.prototype.loadLanguages=function(e,t){"string"==typeof e&&(e=[e]);var n=this.options.preload||[],r=e.filter(function(e){return n.indexOf(e)<0});if(!r.length)return t();this.options.preload=n.concat(r),this.loadResources(t)},t.prototype.dir=function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"},t.prototype.createInstance=function(){return new t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments[1])},t.prototype.cloneInstance=function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B,o=R({},this.options,n,{isClone:!0}),i=new t(o);return["store","services","language"].forEach(function(t){i[t]=e[t]}),i.translator=new x(i.services,i.options),i.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))}),i.init(o,r),i.translator.options=i.options,i},t}(a));n.d(t,"changeLanguage",function(){return F}),n.d(t,"cloneInstance",function(){return z}),n.d(t,"createInstance",function(){return q}),n.d(t,"dir",function(){return V}),n.d(t,"exists",function(){return H}),n.d(t,"getFixedT",function(){return W}),n.d(t,"init",function(){return J}),n.d(t,"loadLanguages",function(){return Y}),n.d(t,"loadNamespaces",function(){return G}),n.d(t,"loadResources",function(){return K}),n.d(t,"off",function(){return $}),n.d(t,"on",function(){return Q}),n.d(t,"setDefaultNamespace",function(){return X}),n.d(t,"t",function(){return Z}),n.d(t,"use",function(){return ee});t.default=U;var F=U.changeLanguage.bind(U),z=U.cloneInstance.bind(U),q=U.createInstance.bind(U),V=U.dir.bind(U),H=U.exists.bind(U),W=U.getFixedT.bind(U),J=U.init.bind(U),Y=U.loadLanguages.bind(U),G=U.loadNamespaces.bind(U),K=U.loadResources.bind(U),$=U.off.bind(U),Q=U.on.bind(U),X=U.setDefaultNamespace.bind(U),Z=U.t.bind(U),ee=U.use.bind(U)}])});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment