/* * Citation.js -0.4.0-10 taken from https://citation.js.org/ **** * NOTE: This JS lirary is incompatible with RequireJS since it also defines a global variable `require`. * To make this library compatible with MetacatUI, I renamed the `require` variable here to `citationRequire` */ citationRequire=function a(s,o,l){function u(e,t){if(!o[e]){if(!s[e]){var r="function"==typeof citationRequire&&citationRequire;if(!t&&r)return r(e,!0);if(c)return c(e,!0);var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}var n=o[e]={exports:{}};s[e][0].call(n.exports,function(t){return u(s[e][1][t]||t)},n,n.exports,a,s,o,l)}return o[e].exports}for(var c="function"==typeof citationRequire&&citationRequire,t=0;ta;)s.call(t,i=n[a++])&&e.push(i);return e}},{"./_object-gops":79,"./_object-keys":82,"./_object-pie":83}],39:[function(t,e,r){var d=t("./_global"),g=t("./_core"),b=t("./_hide"),y=t("./_redefine"),_=t("./_ctx"),v="prototype",x=function(t,e,r){var i,n,s,a,o=t&x.F,l=t&x.G,u=t&x.S,c=t&x.P,p=t&x.B,m=l?d:u?d[e]||(d[e]={}):(d[e]||{})[v],f=l?g:g[e]||(g[e]={}),h=f[v]||(f[v]={});for(i in l&&(r=e),r)s=((n=!o&&m&&m[i]!==undefined)?m:r)[i],a=p&&n?_(s,d):c&&"function"==typeof s?_(Function.call,s):s,m&&y(m,i,s,t&x.U),f[i]!=s&&b(f,i,a),c&&h[i]!=s&&(h[i]=s)};d.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,e.exports=x},{"./_core":29,"./_ctx":31,"./_global":45,"./_hide":47,"./_redefine":93}],40:[function(t,e,r){var n=t("./_wks")("match");e.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,!"/./"[t](e)}catch(i){}}return!0}},{"./_wks":125}],41:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(e){return!0}}},{}],42:[function(t,e,r){"use strict";var o=t("./_hide"),l=t("./_redefine"),u=t("./_fails"),c=t("./_defined"),p=t("./_wks");e.exports=function(e,t,r){var i=p(e),n=r(c,i,""[e]),s=n[0],a=n[1];u(function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})&&(l(String.prototype,e,s),o(RegExp.prototype,i,2==t?function(t,e){return a.call(t,this,e)}:function(t){return a.call(t,this)}))}},{"./_defined":34,"./_fails":41,"./_hide":47,"./_redefine":93,"./_wks":125}],43:[function(t,e,r){"use strict";var i=t("./_an-object");e.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{"./_an-object":15}],44:[function(t,e,r){var m=t("./_ctx"),f=t("./_iter-call"),h=t("./_is-array-iter"),d=t("./_an-object"),g=t("./_to-length"),b=t("./core.get-iterator-method"),y={},_={};(r=e.exports=function(t,e,r,i,n){var s,a,o,l,u=n?function(){return t}:b(t),c=m(r,i,e?2:1),p=0;if("function"!=typeof u)throw TypeError(t+" is not iterable!");if(h(u)){for(s=g(t.length);pdocument.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c[u][a[r]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(l[u]=n(t),r=new l,l[u]=null,r[o]=t):r=c(),e===undefined?r:s(r,e)}},{"./_an-object":15,"./_dom-create":36,"./_enum-bug-keys":37,"./_html":48,"./_object-dps":75,"./_shared-key":98}],74:[function(t,e,r){var n=t("./_an-object"),s=t("./_ie8-dom-define"),a=t("./_to-primitive"),o=Object.defineProperty;r.f=t("./_descriptors")?Object.defineProperty:function(t,e,r){if(n(t),e=a(e,!0),n(r),s)try{return o(t,e,r)}catch(i){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},{"./_an-object":15,"./_descriptors":35,"./_ie8-dom-define":49,"./_to-primitive":116}],75:[function(t,e,r){var a=t("./_object-dp"),o=t("./_an-object"),l=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){o(t);for(var r,i=l(e),n=i.length,s=0;sn;)a(i,r=e[n++])&&(~l(s,r)||s.push(r));return s}},{"./_array-includes":18,"./_has":46,"./_shared-key":98,"./_to-iobject":113}],82:[function(t,e,r){var i=t("./_object-keys-internal"),n=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return i(t,n)}},{"./_enum-bug-keys":37,"./_object-keys-internal":81}],83:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],84:[function(t,e,r){var n=t("./_export"),s=t("./_core"),a=t("./_fails");e.exports=function(t,e){var r=(s.Object||{})[t]||Object[t],i={};i[t]=e(r),n(n.S+n.F*a(function(){r(1)}),"Object",i)}},{"./_core":29,"./_export":39,"./_fails":41}],85:[function(t,e,r){var l=t("./_object-keys"),u=t("./_to-iobject"),c=t("./_object-pie").f;e.exports=function(o){return function(t){for(var e,r=u(t),i=l(r),n=i.length,s=0,a=[];s>>0||(a.test(r)?16:10))}:i},{"./_global":45,"./_string-trim":107,"./_string-ws":108}],89:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},{}],90:[function(t,e,r){var i=t("./_an-object"),n=t("./_is-object"),s=t("./_new-promise-capability");e.exports=function(t,e){if(i(t),n(e)&&e.constructor===t)return e;var r=s.f(t);return(0,r.resolve)(e),r.promise}},{"./_an-object":15,"./_is-object":56,"./_new-promise-capability":71}],91:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],92:[function(t,e,r){var n=t("./_redefine");e.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},{"./_redefine":93}],93:[function(t,e,r){var s=t("./_global"),a=t("./_hide"),o=t("./_has"),l=t("./_uid")("src"),i="toString",n=Function[i],u=(""+n).split(i);t("./_core").inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,i){var n="function"==typeof r;n&&(o(r,"name")||a(r,"name",e)),t[e]!==r&&(n&&(o(r,l)||a(r,l,t[e]?""+t[e]:u.join(String(e)))),t===s?t[e]=r:i?t[e]?t[e]=r:a(t,e,r):(delete t[e],a(t,e,r)))})(Function.prototype,i,function(){return"function"==typeof this&&this[l]||n.call(this)})},{"./_core":29,"./_global":45,"./_has":46,"./_hide":47,"./_uid":120}],94:[function(t,e,r){e.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},{}],95:[function(n,t,e){var r=n("./_is-object"),i=n("./_an-object"),s=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r,i){try{(i=n("./_ctx")(Function.call,n("./_object-gopd").f(Object.prototype,"__proto__").set,2))(t,[]),r=!(t instanceof Array)}catch(e){r=!0}return function(t,e){return s(t,e),r?t.__proto__=e:i(t,e),t}}({},!1):undefined),check:s}},{"./_an-object":15,"./_ctx":31,"./_is-object":56,"./_object-gopd":76}],96:[function(t,e,r){"use strict";var i=t("./_global"),n=t("./_object-dp"),s=t("./_descriptors"),a=t("./_wks")("species");e.exports=function(t){var e=i[t];s&&e&&!e[a]&&n.f(e,a,{configurable:!0,get:function(){return this}})}},{"./_descriptors":35,"./_global":45,"./_object-dp":74,"./_wks":125}],97:[function(t,e,r){var i=t("./_object-dp").f,n=t("./_has"),s=t("./_wks")("toStringTag");e.exports=function(t,e,r){t&&!n(t=r?t:t.prototype,s)&&i(t,s,{configurable:!0,value:e})}},{"./_has":46,"./_object-dp":74,"./_wks":125}],98:[function(t,e,r){var i=t("./_shared")("keys"),n=t("./_uid");e.exports=function(t){return i[t]||(i[t]=n(t))}},{"./_shared":99,"./_uid":120}],99:[function(t,e,r){var i=t("./_core"),n=t("./_global"),s="__core-js_shared__",a=n[s]||(n[s]={});(e.exports=function(t,e){return a[t]||(a[t]=e!==undefined?e:{})})("versions",[]).push({version:i.version,mode:t("./_library")?"pure":"global",copyright:"\xa9 2018 Denis Pushkarev (zloirock.ru)"})},{"./_core":29,"./_global":45,"./_library":64}],100:[function(t,e,r){var n=t("./_an-object"),s=t("./_a-function"),a=t("./_wks")("species");e.exports=function(t,e){var r,i=n(t).constructor;return i===undefined||(r=n(i)[a])==undefined?e:s(r)}},{"./_a-function":11,"./_an-object":15,"./_wks":125}],101:[function(t,e,r){"use strict";var i=t("./_fails");e.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},{"./_fails":41}],102:[function(t,e,r){var l=t("./_to-integer"),u=t("./_defined");e.exports=function(o){return function(t,e){var r,i,n=String(u(t)),s=l(e),a=n.length;return s<0||a<=s?o?"":undefined:(r=n.charCodeAt(s))<55296||56319"+n+""};e.exports=function(e,t){var r={};r[e]=t(s),i(i.P+i.F*n(function(){var t=""[e]('"');return t!==t.toLowerCase()||3l&&(u=u.slice(0,l)),i?u+n:n+u}},{"./_defined":34,"./_string-repeat":106,"./_to-length":114}],106:[function(t,e,r){"use strict";var n=t("./_to-integer"),s=t("./_defined");e.exports=function(t){var e=String(s(this)),r="",i=n(t);if(i<0||i==Infinity)throw RangeError("Count can't be negative");for(;0>>=1)&&(e+=e))1&i&&(r+=e);return r}},{"./_defined":34,"./_to-integer":112}],107:[function(t,e,r){var a=t("./_export"),i=t("./_defined"),o=t("./_fails"),l=t("./_string-ws"),n="["+l+"]",s=RegExp("^"+n+n+"*"),u=RegExp(n+n+"*$"),c=function(t,e,r){var i={},n=o(function(){return!!l[t]()||"\u200b\x85"!="\u200b\x85"[t]()}),s=i[t]=n?e(p):l[t];r&&(i[r]=s),a(a.P+a.F*n,"String",i)},p=c.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(s,"")),2&e&&(t=t.replace(u,"")),t};e.exports=c},{"./_defined":34,"./_export":39,"./_fails":41,"./_string-ws":108}],108:[function(t,e,r){e.exports="\t\n\x0B\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},{}],109:[function(t,e,r){var i,n,s,a=t("./_ctx"),o=t("./_invoke"),l=t("./_html"),u=t("./_dom-create"),c=t("./_global"),p=c.process,m=c.setImmediate,f=c.clearImmediate,h=c.MessageChannel,d=c.Dispatch,g=0,b={},y="onreadystatechange",_=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},v=function(t){_.call(t.data)};m&&f||(m=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return b[++g]=function(){o("function"==typeof t?t:Function(t),e)},i(g),g},f=function(t){delete b[t]},"process"==t("./_cof")(p)?i=function(t){p.nextTick(a(_,t,1))}:d&&d.now?i=function(t){d.now(a(_,t,1))}:h?(s=(n=new h).port2,n.port1.onmessage=v,i=a(s.postMessage,s,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(i=function(t){c.postMessage(t+"","*")},c.addEventListener("message",v,!1)):i=y in u("script")?function(t){l.appendChild(u("script"))[y]=function(){l.removeChild(this),_.call(t)}}:function(t){setTimeout(a(_,t,1),0)}),e.exports={set:m,clear:f}},{"./_cof":25,"./_ctx":31,"./_dom-create":36,"./_global":45,"./_html":48,"./_invoke":51}],110:[function(t,e,r){var i=t("./_to-integer"),n=Math.max,s=Math.min;e.exports=function(t,e){return(t=i(t))<0?n(t+e,0):s(t,e)}},{"./_to-integer":112}],111:[function(t,e,r){var i=t("./_to-integer"),n=t("./_to-length");e.exports=function(t){if(t===undefined)return 0;var e=i(t),r=n(e);if(e!==r)throw RangeError("Wrong length!");return r}},{"./_to-integer":112,"./_to-length":114}],112:[function(t,e,r){var i=Math.ceil,n=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(0>1,c=23===e?I(2,-24)-I(2,-77):0,p=0,m=t<0||0===t&&1/t<0?1:0;for((t=k(t))!=t||t===O?(n=t!=t?1:0,i=l):(i=T(N(t)/C),t*(s=I(2,-i))<1&&(i--,s*=2),2<=(t+=1<=i+u?c/s:c*I(2,1-u))*s&&(i++,s/=2),l<=i+u?(n=0,i=l):1<=i+u?(n=(t*s-1)*I(2,e),i+=u):(n=t*I(2,u-1)*I(2,e),i=0));8<=e;a[p++]=255&n,n/=256,e-=8);for(i=i<>1,o=n-7,l=r-1,u=t[l--],c=127&u;for(u>>=7;0>=-o,o+=e;0>8&255]}function V(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function $(t){return M(t,52,8)}function G(t){return M(t,23,4)}function X(t,e,r){d(t[v],e,{get:function(){return this[r]}})}function W(t,e,r,i){var n=f(+r);if(n+e>t[F])throw j(x);var s=t[R]._b,a=n+t[L],o=s.slice(a,a+e);return i?o:o.reverse()}function Q(t,e,r,i,n,s){var a=f(+r);if(a+e>t[F])throw j(x);for(var o=t[R]._b,l=a+t[L],u=i(+n),c=0;cY;)(H=K[Y++])in A||o(A,H,S[H]);s||(J.constructor=A)}var Z=new w(new A(2)),tt=w[v].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||l(w[v],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else A=function(t){c(this,A,y);var e=f(t);this._b=g.call(new Array(e),0),this[F]=e},w=function(t,e,r){c(this,w,_),c(t,A,_);var i=t[F],n=p(e);if(n<0||i>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var e=W(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=W(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return U(W(this,4,t,arguments[1]))},getUint32:function(t){return U(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return B(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return B(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){Q(this,1,t,z,e)},setUint8:function(t,e){Q(this,1,t,z,e)},setInt16:function(t,e){Q(this,2,t,q,e,arguments[2])},setUint16:function(t,e){Q(this,2,t,q,e,arguments[2])},setInt32:function(t,e){Q(this,4,t,V,e,arguments[2])},setUint32:function(t,e){Q(this,4,t,V,e,arguments[2])},setFloat32:function(t,e){Q(this,4,t,G,e,arguments[2])},setFloat64:function(t,e){Q(this,8,t,$,e,arguments[2])}});b(A,y),b(w,_),o(w[v],a.VIEW,!0),r[y]=A,r[_]=w},{"./_an-instance":14,"./_array-fill":17,"./_descriptors":35,"./_fails":41,"./_global":45,"./_hide":47,"./_library":64,"./_object-dp":74,"./_object-gopn":78,"./_redefine-all":92,"./_set-to-string-tag":97,"./_to-index":111,"./_to-integer":112,"./_to-length":114,"./_typed":119}],119:[function(t,e,r){for(var i,n=t("./_global"),s=t("./_hide"),a=t("./_uid"),o=a("typed_array"),l=a("view"),u=!(!n.ArrayBuffer||!n.DataView),c=u,p=0,m="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(i=n[m[p++]])?(s(i.prototype,o,!0),s(i.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:o,VIEW:l}},{"./_global":45,"./_hide":47,"./_uid":120}],120:[function(t,e,r){var i=0,n=Math.random();e.exports=function(t){return"Symbol(".concat(t===undefined?"":t,")_",(++i+n).toString(36))}},{}],121:[function(t,e,r){var i=t("./_global").navigator;e.exports=i&&i.userAgent||""},{"./_global":45}],122:[function(t,e,r){var i=t("./_is-object");e.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" citationRequired!");return t}},{"./_is-object":56}],123:[function(t,e,r){var i=t("./_global"),n=t("./_core"),s=t("./_library"),a=t("./_wks-ext"),o=t("./_object-dp").f;e.exports=function(t){var e=n.Symbol||(n.Symbol=s?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||o(e,t,{value:a.f(t)})}},{"./_core":29,"./_global":45,"./_library":64,"./_object-dp":74,"./_wks-ext":124}],124:[function(t,e,r){r.f=t("./_wks")},{"./_wks":125}],125:[function(t,e,r){var i=t("./_shared")("wks"),n=t("./_uid"),s=t("./_global").Symbol,a="function"==typeof s;(e.exports=function(t){return i[t]||(i[t]=a&&s[t]||(a?s:n)("Symbol."+t))}).store=i},{"./_global":45,"./_shared":99,"./_uid":120}],126:[function(t,e,r){var i=t("./_classof"),n=t("./_wks")("iterator"),s=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){if(t!=undefined)return t[n]||t["@@iterator"]||s[i(t)]}},{"./_classof":24,"./_core":29,"./_iterators":63,"./_wks":125}],127:[function(t,e,r){var i=t("./_export");i(i.P,"Array",{copyWithin:t("./_array-copy-within")}),t("./_add-to-unscopables")("copyWithin")},{"./_add-to-unscopables":13,"./_array-copy-within":16,"./_export":39}],128:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_array-methods")(4);i(i.P+i.F*!t("./_strict-method")([].every,!0),"Array",{every:function(t){return n(this,t,arguments[1])}})},{"./_array-methods":19,"./_export":39,"./_strict-method":101}],129:[function(t,e,r){var i=t("./_export");i(i.P,"Array",{fill:t("./_array-fill")}),t("./_add-to-unscopables")("fill")},{"./_add-to-unscopables":13,"./_array-fill":17,"./_export":39}],130:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_array-methods")(2);i(i.P+i.F*!t("./_strict-method")([].filter,!0),"Array",{filter:function(t){return n(this,t,arguments[1])}})},{"./_array-methods":19,"./_export":39,"./_strict-method":101}],131:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_array-methods")(6),s="findIndex",a=!0;s in[]&&Array(1)[s](function(){a=!1}),i(i.P+i.F*a,"Array",{findIndex:function(t){return n(this,t,1=t.length?(this._t=undefined,n(1)):n(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},{"./_add-to-unscopables":13,"./_iter-define":60,"./_iter-step":62,"./_iterators":63,"./_to-iobject":113}],138:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_to-iobject"),s=[].join;i(i.P+i.F*(t("./_iobject")!=Object||!t("./_strict-method")(s)),"Array",{join:function(t){return s.call(n(this),t===undefined?",":t)}})},{"./_export":39,"./_iobject":52,"./_strict-method":101,"./_to-iobject":113}],139:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_to-iobject"),s=t("./_to-integer"),a=t("./_to-length"),o=[].lastIndexOf,l=!!o&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(l||!t("./_strict-method")(o)),"Array",{lastIndexOf:function(t){if(l)return o.apply(this,arguments)||0;var e=n(this),r=a(e.length),i=r-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{"./_export":39}],162:[function(t,e,r){var i=t("./_export"),n=Math.exp;i(i.S,"Math",{cosh:function(t){return(n(t=+t)+n(-t))/2}})},{"./_export":39}],163:[function(t,e,r){var i=t("./_export"),n=t("./_math-expm1");i(i.S+i.F*(n!=Math.expm1),"Math",{expm1:n})},{"./_export":39,"./_math-expm1":65}],164:[function(t,e,r){var i=t("./_export");i(i.S,"Math",{fround:t("./_math-fround")})},{"./_export":39,"./_math-fround":66}],165:[function(t,e,r){var i=t("./_export"),l=Math.abs;i(i.S,"Math",{hypot:function(t,e){for(var r,i,n=0,s=0,a=arguments.length,o=0;s>>16)*a+s*(r&n>>>16)<<16>>>0)}})},{"./_export":39,"./_fails":41}],167:[function(t,e,r){var i=t("./_export");i(i.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{"./_export":39}],168:[function(t,e,r){var i=t("./_export");i(i.S,"Math",{log1p:t("./_math-log1p")})},{"./_export":39,"./_math-log1p":67}],169:[function(t,e,r){var i=t("./_export");i(i.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{"./_export":39}],170:[function(t,e,r){var i=t("./_export");i(i.S,"Math",{sign:t("./_math-sign")})},{"./_export":39,"./_math-sign":68}],171:[function(t,e,r){var i=t("./_export"),n=t("./_math-expm1"),s=Math.exp;i(i.S+i.F*t("./_fails")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(n(t)-n(-t))/2:(s(t-1)-s(-t-1))*(Math.E/2)}})},{"./_export":39,"./_fails":41,"./_math-expm1":65}],172:[function(t,e,r){var i=t("./_export"),n=t("./_math-expm1"),s=Math.exp;i(i.S,"Math",{tanh:function(t){var e=n(t=+t),r=n(-t);return e==Infinity?1:r==Infinity?-1:(e-r)/(s(t)+s(-t))}})},{"./_export":39,"./_math-expm1":65}],173:[function(t,e,r){var i=t("./_export");i(i.S,"Math",{trunc:function(t){return(0A;A++)n(d,v=x[A])&&!n(h,v)&&p(h,v,u(d,v));(h.prototype=g).constructor=h,t("./_redefine")(i,f,h)}},{"./_cof":25,"./_descriptors":35,"./_fails":41,"./_global":45,"./_has":46,"./_inherit-if-citationRequired":50,"./_object-create":73,"./_object-dp":74,"./_object-gopd":76,"./_object-gopn":78,"./_redefine":93,"./_string-trim":107,"./_to-primitive":116}],175:[function(t,e,r){var i=t("./_export");i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},{"./_export":39}],176:[function(t,e,r){var i=t("./_export"),n=t("./_global").isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&n(t)}})},{"./_export":39,"./_global":45}],177:[function(t,e,r){var i=t("./_export");i(i.S,"Number",{isInteger:t("./_is-integer")})},{"./_export":39,"./_is-integer":55}],178:[function(t,e,r){var i=t("./_export");i(i.S,"Number",{isNaN:function(t){return t!=t}})},{"./_export":39}],179:[function(t,e,r){var i=t("./_export"),n=t("./_is-integer"),s=Math.abs;i(i.S,"Number",{isSafeInteger:function(t){return n(t)&&s(t)<=9007199254740991}})},{"./_export":39,"./_is-integer":55}],180:[function(t,e,r){var i=t("./_export");i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{"./_export":39}],181:[function(t,e,r){var i=t("./_export");i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{"./_export":39}],182:[function(t,e,r){var i=t("./_export"),n=t("./_parse-float");i(i.S+i.F*(Number.parseFloat!=n),"Number",{parseFloat:n})},{"./_export":39,"./_parse-float":87}],183:[function(t,e,r){var i=t("./_export"),n=t("./_parse-int");i(i.S+i.F*(Number.parseInt!=n),"Number",{parseInt:n})},{"./_export":39,"./_parse-int":88}],184:[function(t,e,r){"use strict";var i=t("./_export"),u=t("./_to-integer"),c=t("./_a-number-value"),p=t("./_string-repeat"),n=1..toFixed,s=Math.floor,a=[0,0,0,0,0,0],m="Number.toFixed: incorrect invocation!",f=function(t,e){for(var r=-1,i=e;++r<6;)i+=t*a[r],a[r]=i%1e7,i=s(i/1e7)},h=function(t){for(var e=6,r=0;0<=--e;)r+=a[e],a[e]=s(r/t),r=r%t*1e7},d=function(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==a[t]){var r=String(a[t]);e=""===e?r:e+p.call("0",7-r.length)+r}return e},g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)};i(i.P+i.F*(!!n&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!t("./_fails")(function(){n.call({})})),"Number",{toFixed:function(t){var e,r,i,n,s=c(this,m),a=u(t),o="",l="0";if(a<0||20t;)e(i[t++]);p._c=[],p._n=!1,r&&!p._h&&R(p)})}},R=function(s){b.call(l,function(){var t,e,r,i=s._v,n=F(s);if(n&&(t=v(function(){I?j.emit("unhandledRejection",i,s):(e=l.onunhandledrejection)?e({promise:s,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),s._h=I||F(s)?2:1),s._a=undefined,n&&t.e)throw t.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(e){b.call(l,function(){var t;I?j.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},M=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),P(e,!0))},B=function(r){var i,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===r)throw E("Promise can't be resolved itself");(i=D(r))?y(function(){var t={_w:n,_d:!1};try{i.call(r,u(B,t,1),u(M,t,1))}catch(e){M.call(t,e)}}):(n._v=r,n._s=1,P(n,!1))}catch(t){M.call({_w:n,_d:!1},t)}}};C||(k=function(t){h(this,k,w,"_h"),f(t),r.call(this);try{t(u(B,this,1),u(M,this,1))}catch(e){M.call(this,e)}},(r=function(t){this._c=[],this._a=undefined,this._s=0,this._d=!1,this._v=undefined,this._h=0,this._n=!1}).prototype=i("./_redefine-all")(k.prototype,{then:function(t,e){var r=N(g(this,k));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=I?j.domain:undefined,this._c.push(r),this._a&&this._a.push(r),this._s&&P(this,!1),r.promise},"catch":function(t){return this.then(undefined,t)}}),s=function(){var t=new r;this.promise=t,this.resolve=u(B,t,1),this.reject=u(M,t,1)},_.f=N=function(t){return t===k||t===a?new s(t):n(t)}),p(p.G+p.W+p.F*!C,{Promise:k}),i("./_set-to-string-tag")(k,w),i("./_set-species")(w),a=i("./_core")[w],p(p.S+p.F*!C,w,{reject:function(t){var e=N(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(o||!C),w,{resolve:function(t){return A(o&&this===a?k:this,t)}}),p(p.S+p.F*!(C&&i("./_iter-detect")(function(t){k.all(t)["catch"](T)})),w,{all:function(t){var a=this,e=N(a),o=e.resolve,l=e.reject,r=v(function(){var i=[],n=0,s=1;d(t,!1,function(t){var e=n++,r=!1;i.push(undefined),s++,a.resolve(t).then(function(t){r||(r=!0,i[e]=t,--s||o(i))},l)}),--s||o(i)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=N(e),i=r.reject,n=v(function(){d(t,!1,function(t){e.resolve(t).then(r.resolve,i)})});return n.e&&i(n.v),r.promise}})},{"./_a-function":11,"./_an-instance":14,"./_classof":24,"./_core":29,"./_ctx":31,"./_export":39,"./_for-of":44,"./_global":45,"./_is-object":56,"./_iter-detect":61,"./_library":64,"./_microtask":70,"./_new-promise-capability":71,"./_perform":89,"./_promise-resolve":90,"./_redefine-all":92,"./_set-species":96,"./_set-to-string-tag":97,"./_species-constructor":100,"./_task":109,"./_user-agent":121,"./_wks":125}],206:[function(t,e,r){var i=t("./_export"),s=t("./_a-function"),a=t("./_an-object"),o=(t("./_global").Reflect||{}).apply,l=Function.apply;i(i.S+i.F*!t("./_fails")(function(){o(function(){})}),"Reflect",{apply:function(t,e,r){var i=s(t),n=a(r);return o?o(i,e,n):l.call(i,e,n)}})},{"./_a-function":11,"./_an-object":15,"./_export":39,"./_fails":41,"./_global":45}],207:[function(t,e,r){var i=t("./_export"),o=t("./_object-create"),l=t("./_a-function"),u=t("./_an-object"),c=t("./_is-object"),n=t("./_fails"),p=t("./_bind"),m=(t("./_global").Reflect||{}).construct,f=n(function(){function t(){}return!(m(function(){},[],t)instanceof t)}),h=!n(function(){m(function(){})});i(i.S+i.F*(f||h),"Reflect",{construct:function(t,e){l(t),u(e);var r=arguments.length<3?t:l(arguments[2]);if(h&&!f)return m(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(p.apply(t,i))}var n=r.prototype,s=o(c(n)?n:Object.prototype),a=Function.apply.call(t,s,e);return c(a)?a:s}})},{"./_a-function":11,"./_an-object":15,"./_bind":23,"./_export":39,"./_fails":41,"./_global":45,"./_is-object":56,"./_object-create":73}],208:[function(t,e,r){var n=t("./_object-dp"),i=t("./_export"),s=t("./_an-object"),a=t("./_to-primitive");i(i.S+i.F*t("./_fails")(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,r){s(t),e=a(e,!0),s(r);try{return n.f(t,e,r),!0}catch(i){return!1}}})},{"./_an-object":15,"./_export":39,"./_fails":41,"./_object-dp":74,"./_to-primitive":116}],209:[function(t,e,r){var i=t("./_export"),n=t("./_object-gopd").f,s=t("./_an-object");i(i.S,"Reflect",{deleteProperty:function(t,e){var r=n(s(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{"./_an-object":15,"./_export":39,"./_object-gopd":76}],210:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_an-object"),s=function(t){this._t=n(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)};t("./_iter-create")(s,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:undefined,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),i(i.S,"Reflect",{enumerate:function(t){return new s(t)}})},{"./_an-object":15,"./_export":39,"./_iter-create":59}],211:[function(t,e,r){var i=t("./_object-gopd"),n=t("./_export"),s=t("./_an-object");n(n.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return i.f(s(t),e)}})},{"./_an-object":15,"./_export":39,"./_object-gopd":76}],212:[function(t,e,r){var i=t("./_export"),n=t("./_object-gpo"),s=t("./_an-object");i(i.S,"Reflect",{getPrototypeOf:function(t){return n(s(t))}})},{"./_an-object":15,"./_export":39,"./_object-gpo":80}],213:[function(t,e,r){var s=t("./_object-gopd"),a=t("./_object-gpo"),o=t("./_has"),i=t("./_export"),l=t("./_is-object"),u=t("./_an-object");i(i.S,"Reflect",{get:function c(t,e){var r,i,n=arguments.length<3?t:arguments[2];return u(t)===n?t[e]:(r=s.f(t,e))?o(r,"value")?r.value:r.get!==undefined?r.get.call(n):undefined:l(i=a(t))?c(i,e,n):void 0}})},{"./_an-object":15,"./_export":39,"./_has":46,"./_is-object":56,"./_object-gopd":76,"./_object-gpo":80}],214:[function(t,e,r){var i=t("./_export");i(i.S,"Reflect",{has:function(t,e){return e in t}})},{"./_export":39}],215:[function(t,e,r){var i=t("./_export"),n=t("./_an-object"),s=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(t){return n(t),!s||s(t)}})},{"./_an-object":15,"./_export":39}],216:[function(t,e,r){var i=t("./_export");i(i.S,"Reflect",{ownKeys:t("./_own-keys")})},{"./_export":39,"./_own-keys":86}],217:[function(t,e,r){var i=t("./_export"),n=t("./_an-object"),s=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(t){n(t);try{return s&&s(t),!0}catch(e){return!1}}})},{"./_an-object":15,"./_export":39}],218:[function(t,e,r){var i=t("./_export"),n=t("./_set-proto");n&&i(i.S,"Reflect",{setPrototypeOf:function(t,e){n.check(t,e);try{return n.set(t,e),!0}catch(r){return!1}}})},{"./_export":39,"./_set-proto":95}],219:[function(t,e,r){var o=t("./_object-dp"),l=t("./_object-gopd"),u=t("./_object-gpo"),c=t("./_has"),i=t("./_export"),p=t("./_property-desc"),m=t("./_an-object"),f=t("./_is-object");i(i.S,"Reflect",{set:function h(t,e,r){var i,n,s=arguments.length<4?t:arguments[3],a=l.f(m(t),e);if(!a){if(f(n=u(t)))return h(n,e,r,s);a=p(0)}if(c(a,"value")){if(!1===a.writable||!f(s))return!1;if(i=l.f(s,e)){if(i.get||i.set||!1===i.writable)return!1;i.value=r,o.f(s,e,i)}else o.f(s,e,p(0,r));return!0}return a.set!==undefined&&(a.set.call(s,r),!0)}})},{"./_an-object":15,"./_export":39,"./_has":46,"./_is-object":56,"./_object-dp":74,"./_object-gopd":76,"./_object-gpo":80,"./_property-desc":91}],220:[function(t,e,r){var i=t("./_global"),s=t("./_inherit-if-citationRequired"),n=t("./_object-dp").f,a=t("./_object-gopn").f,o=t("./_is-regexp"),l=t("./_flags"),u=i.RegExp,c=u,p=u.prototype,m=/a/g,f=/a/g,h=new u(m)!==m;if(t("./_descriptors")&&(!h||t("./_fails")(function(){return f[t("./_wks")("match")]=!1,u(m)!=m||u(f)==f||"/a/i"!=u(m,"i")}))){u=function(t,e){var r=this instanceof u,i=o(t),n=e===undefined;return!r&&i&&t.constructor===u&&n?t:s(h?new c(i&&!n?t.source:t,e):c((i=t instanceof u)?t.source:t,i&&n?l.call(t):e),r?this:p,u)};for(var d=function(e){e in u||n(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},g=a(c),b=0;g.length>b;)d(g[b++]);(p.constructor=u).prototype=p,t("./_redefine")(i,"RegExp",u)}t("./_set-species")("RegExp")},{"./_descriptors":35,"./_fails":41,"./_flags":43,"./_global":45,"./_inherit-if-citationRequired":50,"./_is-regexp":57,"./_object-dp":74,"./_object-gopn":78,"./_redefine":93,"./_set-species":96,"./_wks":125}],221:[function(t,e,r){t("./_descriptors")&&"g"!=/./g.flags&&t("./_object-dp").f(RegExp.prototype,"flags",{configurable:!0,get:t("./_flags")})},{"./_descriptors":35,"./_flags":43,"./_object-dp":74}],222:[function(t,e,r){t("./_fix-re-wks")("match",1,function(i,n,t){return[function(t){"use strict";var e=i(this),r=t==undefined?undefined:t[n];return r!==undefined?r.call(t,e):new RegExp(t)[n](String(e))},t]})},{"./_fix-re-wks":42}],223:[function(t,e,r){t("./_fix-re-wks")("replace",2,function(n,s,a){return[function(t,e){"use strict";var r=n(this),i=t==undefined?undefined:t[s];return i!==undefined?i.call(t,r,e):a.call(String(r),t,e)},a]})},{"./_fix-re-wks":42}],224:[function(t,e,r){t("./_fix-re-wks")("search",1,function(i,n,t){return[function(t){"use strict";var e=i(this),r=t==undefined?undefined:t[n];return r!==undefined?r.call(t,e):new RegExp(t)[n](String(e))},t]})},{"./_fix-re-wks":42}],225:[function(e,t,r){e("./_fix-re-wks")("split",2,function(n,s,a){"use strict";var f=e("./_is-regexp"),h=a,d=[].push,t="split",g="length",b="lastIndex";if("c"=="abbc"[t](/(b)*/)[1]||4!="test"[t](/(?:)/,-1)[g]||2!="ab"[t](/(?:ab)*/)[g]||4!="."[t](/(.?)(.?)/)[g]||1<"."[t](/()()/)[g]||""[t](/.?/)[g]){var y=/()??/.exec("")[1]===undefined;a=function(t,e){var r=String(this);if(t===undefined&&0===e)return[];if(!f(t))return h.call(r,t,e);var i,n,s,a,o,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,p=e===undefined?4294967295:e>>>0,m=new RegExp(t.source,u+"g");for(y||(i=new RegExp("^"+m.source+"$(?!\\s)",u));(n=m.exec(r))&&!(c<(s=n.index+n[0][g])&&(l.push(r.slice(c,n.index)),!y&&1=p));)m[b]===n.index&&m[b]++;return c===r[g]?!a&&m.test("")||l.push(""):l.push(r.slice(c)),l[g]>p?l.slice(0,p):l}}else"0"[t](undefined,0)[g]&&(a=function(t,e){return t===undefined&&0===e?[]:h.call(this,t,e)});return[function(t,e){var r=n(this),i=t==undefined?undefined:t[s];return i!==undefined?i.call(t,r,e):a.call(String(r),t,e)},a]})},{"./_fix-re-wks":42,"./_is-regexp":57}],226:[function(e,t,r){"use strict";e("./es6.regexp.flags");var i=e("./_an-object"),n=e("./_flags"),s=e("./_descriptors"),a="toString",o=/./[a],l=function(t){e("./_redefine")(RegExp.prototype,a,t,!0)};e("./_fails")(function(){return"/a/b"!=o.call({source:"a",flags:"b"})})?l(function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!s&&t instanceof RegExp?n.call(t):undefined)}):o.name!=a&&l(function(){return o.call(this)})},{"./_an-object":15,"./_descriptors":35,"./_fails":41,"./_flags":43,"./_redefine":93,"./es6.regexp.flags":221}],227:[function(t,e,r){"use strict";var i=t("./_collection-strong"),n=t("./_validate-collection");e.exports=t("./_collection")("Set",function(t){return function(){return t(this,0>10),e%1024+56320))}return r.join("")}})},{"./_export":39,"./_to-absolute-index":110}],238:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_string-context"),s="includes";i(i.P+i.F*t("./_fails-is-regexp")(s),"String",{includes:function(t){return!!~n(this,t,s).indexOf(t,1=e.length?{value:undefined,done:!0}:(t=i(e,r),this._i+=t.length,{value:t,done:!1})})},{"./_iter-define":60,"./_string-at":102}],241:[function(t,e,r){"use strict";t("./_string-html")("link",function(e){return function(t){return e(this,"a","href",t)}})},{"./_string-html":104}],242:[function(t,e,r){var i=t("./_export"),a=t("./_to-iobject"),o=t("./_to-length");i(i.S,"String",{raw:function(t){for(var e=a(t.raw),r=o(e.length),i=arguments.length,n=[],s=0;sn;)a(B,e=r[n++])||e==R||e==l||i.push(e);return i},Z=function(t){for(var e,r=t===z,i=T(r?U:v(t)),n=[],s=0;i.length>s;)!a(B,e=i[s++])||r&&!a(z,e)||n.push(B[e]);return n};q||(o((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=m(0et;)f(tt[et++]);for(var rt=S(f.store),it=0;rt.length>it;)d(rt[it++]);s(s.S+s.F*!q,"Symbol",{"for":function(t){return a(M,t+="")?M[t]:M[t]=N(t)},keyFor:function(t){if(!W(t))throw TypeError(t+" is not a symbol!");for(var e in M)if(M[e]===t)return e},useSetter:function(){$=!0},useSimple:function(){$=!1}}),s(s.S+s.F*!q,"Object",{create:function(t,e){return e===undefined?w(t):H(w(t),e)},defineProperty:Q,defineProperties:H,getOwnPropertyDescriptor:K,getOwnPropertyNames:Y,getOwnPropertySymbols:Z}),C&&s(s.S+s.F*(!q||u(function(){var t=N();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){for(var e,r,i=[t],n=1;arguments.length>n;)i.push(arguments[n++]);if(r=e=i[1],(_(e)||t!==undefined)&&!W(t))return b(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!W(e))return e}),i[1]=e,D.apply(C,i)}}),N[P][F]||t("./_hide")(N[P],F,N[P].valueOf),p(N,"Symbol"),p(Math,"Math",!0),p(i.JSON,"JSON",!0)},{"./_an-object":15,"./_descriptors":35,"./_enum-keys":38,"./_export":39,"./_fails":41,"./_global":45,"./_has":46,"./_hide":47,"./_is-array":54,"./_is-object":56,"./_library":64,"./_meta":69,"./_object-create":73,"./_object-dp":74,"./_object-gopd":76,"./_object-gopn":78,"./_object-gopn-ext":77,"./_object-gops":79,"./_object-keys":82,"./_object-pie":83,"./_property-desc":91,"./_redefine":93,"./_set-to-string-tag":97,"./_shared":99,"./_to-iobject":113,"./_to-primitive":116,"./_uid":120,"./_wks":125,"./_wks-define":123,"./_wks-ext":124}],251:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_typed"),s=t("./_typed-buffer"),u=t("./_an-object"),c=t("./_to-absolute-index"),p=t("./_to-length"),a=t("./_is-object"),o=t("./_global").ArrayBuffer,m=t("./_species-constructor"),f=s.ArrayBuffer,h=s.DataView,l=n.ABV&&o.isView,d=f.prototype.slice,g=n.VIEW,b="ArrayBuffer";i(i.G+i.W+i.F*(o!==f),{ArrayBuffer:f}),i(i.S+i.F*!n.CONSTR,b,{isView:function(t){return l&&l(t)||a(t)&&g in t}}),i(i.P+i.U+i.F*t("./_fails")(function(){return!new f(2).slice(1,undefined).byteLength}),b,{slice:function(t,e){if(d!==undefined&&e===undefined)return d.call(u(this),t);for(var r=u(this).byteLength,i=c(t,r),n=c(e===undefined?r:e,r),s=new(m(this,f))(p(n-i)),a=new h(this),o=new h(s),l=0;io;)(r=n(i,e=s[o++]))!==undefined&&p(a,e,r);return a}})},{"./_create-property":30,"./_export":39,"./_object-gopd":76,"./_own-keys":86,"./_to-iobject":113}],267:[function(t,e,r){var i=t("./_export"),n=t("./_object-to-array")(!1);i(i.S,"Object",{values:function(t){return n(t)}})},{"./_export":39,"./_object-to-array":85}],268:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_core"),s=t("./_global"),a=t("./_species-constructor"),o=t("./_promise-resolve");i(i.P+i.R,"Promise",{"finally":function(e){var r=a(this,n.Promise||s.Promise),t="function"==typeof e;return this.then(t?function(t){return o(r,e()).then(function(){return t})}:e,t?function(t){return o(r,e()).then(function(){throw t})}:e)}})},{"./_core":29,"./_export":39,"./_global":45,"./_promise-resolve":90,"./_species-constructor":100}],269:[function(t,e,r){"use strict";var i=t("./_export"),n=t("./_string-pad"),s=t("./_user-agent");i(i.P+i.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(s),"String",{padEnd:function(t){return n(this,t,1+i[1]&&0<+i[1]?i.pop():i.shift()}return[i.pop(),r]}return null},m=function m(t){return"string"==typeof t&&/^-?\d+$/.test(t)?[t]:null},f=function h(t){var e=n(t)||a(t)||o(t)||c(t)||p(t)||s(t)||m(t);return e?{"date-parts":[e=e.map(function(t){return parseInt(t)})]}:{raw:t}};r["default"]=f},{}],278:[function(t,e,r){"use strict";function n(t,e){return function r(t){if(Array.isArray(t))return t}(t)||function u(t,e){var r=[],i=!0,n=!1,s=undefined;try{for(var a,o=t[Symbol.iterator]();!(i=(a=o.next()).done)&&(r.push(a.value),!e||r.length!==e);i=!0);}catch(l){n=!0,s=l}finally{try{i||null==o["return"]||o["return"]()}finally{if(n)throw s}}return r}(t,e)||function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=void 0;var i=function s(t){var e=n(t["date-parts"],1)[0],r=1e&&t.length");-1");return e[e.length-1]+=t,e},demoteNoiseWords:function(t,e,r){var i=t.locale[t.opt.lang].opts["leading-noise-words"];if(e&&r){(e=e.split(/\s+/)).reverse();for(var n=[],s=e.length-1;-1 ')}),n.length?function(t){for(var e=0,r=n.length;e/,"")).replace(//g,"")).replace(/^\s+/g,"")).replace(/\s+$/g,""):t},At.parseXml=function(t){var e={children:[]},n=[e.children];function p(t){return t.split("&").join("&").split(""").join('"').split(">").join(">").split("<").join("<").replace(/&#([0-9]{1,6});/gi,function(t,e){var r=parseInt(e,10);return String.fromCharCode(r)}).replace(/&#x([a-f0-9]{1,6});/gi,function(t,e){var r=parseInt(e,16);return String.fromCharCode(r)})}function m(t){var e=RegExp("^<([^\t />]+)"),r=t.match(e);return r?r[1]:null}function s(t){var e={};e.name=m(t),e.attrs={};var r,i,n,s,a=function c(t){var e=t.match(/([^\'\"=\x09 ]+)=(?:\"[^\"]*\"|\'[^\']*\')/g);if(e)for(var r=0,i=e.length;r")+1))).children=[function r(t){return p(t.match(/^.*>([^<]*)<.*$/)[1])}(t)],a(e)):"/>"===t.slice(-2)?(e=s(t),"term"===m(t)&&e.children.push(""),a(e)):"[\x09 ]+<").replace(/<\!--.*?-->/g,"")).split("><"),r=null,i=0,n=e.length;i"),"number"!=typeof r&&("',vancouver:'',harvard1:''}},{}],348:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.templates=r["default"]=void 0;var i=s(t("../../../util/register")),n=s(t("./styles.json"));function s(t){return t&&t.__esModule?t:{"default":t}}var a=new i["default"](n["default"]);r.templates=a;var o=function l(t){return a.has(t)?a.get(t):a.get("apa")};r["default"]=o},{"../../../util/register":405,"./styles.json":347}],349:[function(t,e,r){"use strict";var i=t("../../plugins/"),n=function o(t){{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e["default"]=t,e}}(t("./modules"));for(var s in n){var a=n[s];(0,i.add)(s,{output:a})}},{"../../plugins/":399,"./modules":352}],350:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=r.getJsonWrapper=void 0;var s=function f(t){return t&&t.__esModule?t:{"default":t}}(t("../../util/deepCopy.js")),a=t("../dict");function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return function r(t){if(Array.isArray(t))return t}(t)||function u(t,e){var r=[],i=!0,n=!1,s=undefined;try{for(var a,o=t[Symbol.iterator]();!(i=(a=o.next()).done)&&(r.push(a.value),!e||r.length!==e);i=!0);}catch(l){n=!0,s=l}finally{try{i||null==o["return"]||o["return"]()}finally{if(n)throw s}}return r}(t,e)||function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l=function l(t,e,r){return t+(e"),''):"}"===t?(1===n.length&&e!==i.length-2&&(s=!1),n.pop()):void 0;var r=c[t.slice(1,-1)];return n.push("")),"<".concat(r,">")}),s&&(i.splice(0,2),i.splice(-2,2)),i.join("")},m={address:"publisher-place",author:!0,booktitle:"container-title",doi:"DOI",date:"issued",edition:!0,editor:!0,isbn:"ISBN",issn:"ISSN",issue:"issue",journal:"container-title",language:!0,location:"publisher-place",note:!0,number:"issue",numpages:"number-of-pages",pages:"page",pmid:"PMID",pmcid:"PMCID",publisher:!0,series:"collection-title",title:!0,url:"URL",volume:!0,year:"issued:date-parts.0.0",month:"issued:date-parts.0.1",day:"issued:date-parts.0.2",crossref:!1,keywords:!1},f=function f(t,e){if(!m.hasOwnProperty(t))return logger.info("[set]","Unknown property: ".concat(t)),undefined;if(!1===m[t])return undefined;var r=!0===m[t]?t:m[t];return[r,function(t,e){switch(r){case"author":case"editor":return u(e);case"issued":return o(e);case"edition":return e;case"issued:date-parts.0.1":return parseFloat(e)?e:a.findIndex(function(t){return t.test(e)})+1;case"page":return e.replace(/[\u2014\u2013]/,"-");case"title":return p(e);default:return e.replace(/[{}]/g,"")}}(0,e)]};r["default"]=r.parse=f},{"../../date":358,"../../name":397}],374:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=r.parse=void 0;var u=i(t("../../../util/stack")),c=i(t("./tokens.json"));function i(t){return t&&t.__esModule?t:{"default":t}}var n=/\\url|\\href|{\\[a-zA-Z]+}|\$\\[a-zA-Z]+\$|\$[_^]{[0-9()+=\-n]}\$|`{2,3}|'{2,3}|-{2,3}|[!?]!|!\?|{\\~}|\\[#$%&~_^\\{}]|{\\(?:[a-z] |[`"'^~=.])\\?[a-zA-Z]}|[\s\S]/g,p=/^\s$/,m=/^[@{}"=,\\]$/,f={'"':'"',"{":"}","":""},h=function h(t){return(t=t.replace(/(\\[`"'^~=.]){\\?([A-Za-z])}/g,"{$1$2}").replace(/(\\[a-z]) ?{\\?([A-Za-z])}/g,"{$1 $2}")).match(n)},d=function d(t){var e=[],r=h(t),a=new u["default"](r);try{for(a.consumeWhitespace();a.tokensLeft();){a.consumeToken("@",{spaced:!1}),a.consumeWhitespace();var i=a.consume([p,m],{inverse:!0}).toLowerCase();a.consumeToken("{");var n=a.consume([p,m],{inverse:!0});a.consumeToken(",");for(var o={},l=function l(){var t=a.consume([p,"="],{inverse:!0}).toLowerCase();a.consumeToken("=");var e=a.consume(/^({|"|)$/g),r=f[e];if(!f.hasOwnProperty(e))throw new SyntaxError("Unexpected field delimiter at index ".concat(a.index,". Expected ")+"".concat(Object.keys(f).map(function(t){return'"'.concat(t,'"')}).join(", "),'; got "').concat(e,'"'));var i=function i(t){if(c["default"].hasOwnProperty(t))return c["default"][t];if(t.match(/^\\[#$%&~_^\\{}]$/))return t.slice(1);if(1s)throw new SyntaxError("Too many ".concat(f.getPatternText(t)));return l&&(m=m.map(l)),u&&(m=m.filter(u)),m.join("")}}],[{key:"getPatternText",value:function(t){return'"'.concat(t instanceof RegExp?t.source:t,'"')}},{key:"getMatchCallback",value:function(e){if(Array.isArray(e)){var t=e.map(f.getMatchCallback);return function(e){return t.some(function(t){return t(e)})}}return e instanceof Function?e:e instanceof RegExp?function(t){return e.test(t)}:function(t){return e===t}}}]),f}();r["default"]=i},{}],407:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"cite",{enumerable:!0,get:function(){return i.version}}),Object.defineProperty(r,"citeproc",{enumerable:!0,get:function(){return n.PROCESSOR_VERSION}});var i=t("../package.json"),n=t("citeproc")},{"../package.json":320,citeproc:282}],"citation-js":[function(t,e,r){"use strict";t("@babel/polyfill"),t("./logger");var i=m(t("./Cite/static")),n=m(t("./plugins/index")),s=m(t("./get/index")),a=m(t("./parse/index")),o=m(t("./util/index")),l=m(t("./version")),u=function h(t){return t&&t.__esModule?t:{"default":t}}(t("./Cite/index")),c=m(t("./get/modules/csl/locales")),p=m(t("./get/modules/csl/styles"));function m(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e["default"]=t,e}var f={engine:t("./get/modules/csl/engines").fetchEngine,style:p["default"],locale:c["default"],item:function(t){return function(e){return t.find(function(t){return t.id===e})}},register:{addTemplate:p.templates.add.bind(p.templates),getTemplate:p.templates.get.bind(p.templates),hasTemplate:p.templates.has.bind(p.templates),addLocale:c.locales.add.bind(c.locales),getLocale:c.locales.get.bind(c.locales),hasLocale:c.locales.has.bind(c.locales)}};Object.assign(u["default"],i,{plugins:n,get:s,CSL:f,parse:a,util:o,version:l,input:a.chain,inputAsync:a.chainAsync}),e.exports=u["default"]},{"./Cite/index":323,"./Cite/static":328,"./get/index":332,"./get/modules/csl/engines":343,"./get/modules/csl/locales":346,"./get/modules/csl/styles":348,"./logger":356,"./parse/index":359,"./plugins/index":399,"./util/index":404,"./version":407,"@babel/polyfill":1}]},{},[]);