UNPKG

aws-amplify

Version:

AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.

1 lines • 894 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("aws-amplify",[],t):"object"==typeof exports?exports["aws-amplify"]=t():e["aws-amplify"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=171)}([function(e,t,n){var r={util:n(5)};({}).toString(),e.exports=r,r.util.update(r,{VERSION:"2.329.0",Signers:{},Protocol:{Json:n(47),Query:n(76),Rest:n(34),RestJson:n(78),RestXml:n(79)},XML:{Builder:n(178),Parser:null},JSON:{Builder:n(48),Parser:n(49)},Model:{Api:n(80),Operation:n(81),Shape:n(29),Paginator:n(82),ResourceWaiter:n(83)},apiLoader:n(183)}),n(84),n(184),n(187),n(87),n(188),n(192),n(194),n(195),n(196),n(202),r.events=new r.SequentialExecutor},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});var i=n(33),o=n(6),a=n(38);r(n(33));var s=n(241);t.ClientDevice=s.default;var u=n(6);t.ConsoleLogger=u.ConsoleLogger,t.Logger=u.ConsoleLogger,r(n(243));var c=n(244);t.Hub=c.default;var l=n(245);t.I18n=l.default;var p=n(25);t.JS=p.default;var d=n(247);t.Signer=d.default;var f=n(248);t.Parser=f.default;var h=n(94);t.FacebookOAuth=h.FacebookOAuth,t.GoogleOAuth=h.GoogleOAuth,r(n(251));var m=n(252);t.Credentials=m.default;var y=n(253);t.ServiceWorker=y.default;var g=n(53);t.StorageHelper=g.default,t.MemoryStorage=g.MemoryStorage;var v=n(95);t.Platform=v.default;var b=n(95);t.Constants={userAgent:b.default.userAgent},t.default=a.default;var S=new o.ConsoleLogger("Core");i.AWS.util?i.AWS.util.userAgent=function(){return t.Constants.userAgent}:i.AWS.config?i.AWS.config.update({customUserAgent:t.Constants.userAgent}):S.warn("No AWS.config")},function(e,t,n){"use strict";var r=n(21);n.d(t,"a",function(){return r.a});var i=n(312);n.d(t,"e",function(){return i.a});var o=n(126);n.d(t,"c",function(){return o.a});var a=n(123);n.d(t,"d",function(){return a.a});var s=n(313);n.d(t,"b",function(){return s.a})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return a(e)||u(e)||l(e)||d(e)||h(e)||y(e)||v(e)||S(e)}function o(e){return i(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL type."),e}function a(e){return Object(W.a)(e,te)}function s(e){return a(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Scalar type."),e}function u(e){return Object(W.a)(e,ne)}function c(e){return u(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Object type."),e}function l(e){return Object(W.a)(e,re)}function p(e){return l(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Interface type."),e}function d(e){return Object(W.a)(e,ie)}function f(e){return d(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Union type."),e}function h(e){return Object(W.a)(e,oe)}function m(e){return h(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Enum type."),e}function y(e){return Object(W.a)(e,ae)}function g(e){return y(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Input Object type."),e}function v(e){return Object(W.a)(e,$.a)}function b(e){return v(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL List type."),e}function S(e){return Object(W.a)(e,$.b)}function _(e){return S(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Non-Null type."),e}function E(e){return a(e)||h(e)||y(e)||P(e)&&E(e.ofType)}function I(e){return E(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL input type."),e}function C(e){return a(e)||u(e)||l(e)||d(e)||h(e)||P(e)&&C(e.ofType)}function T(e){return C(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL output type."),e}function w(e){return a(e)||h(e)}function N(e){return w(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL leaf type."),e}function A(e){return u(e)||l(e)||d(e)}function O(e){return A(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL composite type."),e}function k(e){return l(e)||d(e)}function R(e){return k(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL abstract type."),e}function P(e){return v(e)||S(e)}function x(e){return P(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL wrapping type."),e}function D(e){return i(e)&&!S(e)}function U(e){return D(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL nullable type."),e}function j(e){if(e)return S(e)?e.ofType:e}function M(e){return a(e)||u(e)||l(e)||d(e)||h(e)||y(e)}function L(e){return M(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL named type."),e}function q(e){if(e){for(var t=e;P(t);)t=t.ofType;return t}}function B(e){return"function"==typeof e?e():e}function F(e,t){var n=B(t)||[];return Array.isArray(n)||Object(J.a)(0,e.name+" interfaces must be an Array or a function which returns an Array."),n}function V(e,t){var n=B(t)||{};K(n)||Object(J.a)(0,e.name+" fields must be an object with field names as keys or a function which returns such an object.");var r=Object.create(null);return Object.keys(n).forEach(function(t){var i=n[t];K(i)||Object(J.a)(0,e.name+"."+t+" field config must be an object"),i.hasOwnProperty("isDeprecated")&&Object(J.a)(0,e.name+"."+t+' should provide "deprecationReason" instead of "isDeprecated".');var o=ee({},i,{isDeprecated:Boolean(i.deprecationReason),name:t});z(o.resolve)||Object(J.a)(0,e.name+"."+t+" field resolver must be a function if provided, but got: "+String(o.resolve)+".");var a=i.args;a?(K(a)||Object(J.a)(0,e.name+"."+t+" args must be an object with argument names as keys."),o.args=Object.keys(a).map(function(e){var t=a[e];return{name:e,description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,astNode:t.astNode}})):o.args=[],r[t]=o}),r}function K(e){return e&&"object"===(void 0===e?"undefined":Z(e))&&!Array.isArray(e)}function z(e){return null==e||"function"==typeof e}function G(e,t){var n=B(t)||[];return Array.isArray(n)||Object(J.a)(0,"Must provide Array of types or a function which returns such an array for Union "+e.name+"."),n}function H(e,t){return K(t)||Object(J.a)(0,e.name+" values must be an object with value names as keys."),Object.keys(t).map(function(n){var r=t[n];return K(r)||Object(J.a)(0,e.name+"."+n+' must refer to an object with a "value" key representing an internal value but got: '+String(r)+"."),r.hasOwnProperty("isDeprecated")&&Object(J.a)(0,e.name+"."+n+' should provide "deprecationReason" instead of "isDeprecated".'),{name:n,description:r.description,isDeprecated:Boolean(r.deprecationReason),deprecationReason:r.deprecationReason,astNode:r.astNode,value:r.hasOwnProperty("value")?r.value:n}})}t.N=i,t.u=o,t.M=a,t.t=s,t.K=u,t.r=c,t.E=l,t.l=p,t.O=d,t.v=f,t.B=h,t.i=m,t.C=y,t.j=g,t.G=v,t.n=b,t.I=S,t.p=_,t.D=E,t.k=I,t.L=C,t.s=T,t.F=w,t.m=N,t.A=A,t.h=O,t.z=k,t.g=R,t.P=P,t.w=x,t.J=D,t.q=U,t.y=j,t.H=M,t.o=L,t.x=q,n.d(t,"e",function(){return te}),n.d(t,"d",function(){return ne}),n.d(t,"c",function(){return re}),n.d(t,"f",function(){return ie}),n.d(t,"a",function(){return oe}),n.d(t,"b",function(){return ae});var W=n(62),J=n(8),Y=n(10),Q=n(4),X=n(122),$=n(11),Z="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},ee=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},te=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this._scalarConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name."),"function"!=typeof t.serialize&&Object(J.a)(0,this.name+' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.'),(t.parseValue||t.parseLiteral)&&("function"!=typeof t.parseValue||"function"!=typeof t.parseLiteral)&&Object(J.a)(0,this.name+' must provide both "parseValue" and "parseLiteral" functions.')}return e.prototype.serialize=function(e){return(0,this._scalarConfig.serialize)(e)},e.prototype.parseValue=function(e){var t=this._scalarConfig.parseValue;if(!Object(Y.a)(e))return t?t(e):e},e.prototype.parseLiteral=function(e,t){var n=this._scalarConfig.parseLiteral;return n?n(e,t):Object(X.a)(e,t)},e.prototype.toString=function(){return this.name},e}();te.prototype.toJSON=te.prototype.inspect=te.prototype.toString;var ne=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this.extensionASTNodes=t.extensionASTNodes,this.isTypeOf=t.isTypeOf,this._typeConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name."),t.isTypeOf&&"function"!=typeof t.isTypeOf&&Object(J.a)(0,this.name+' must provide "isTypeOf" as a function.')}return e.prototype.getFields=function(){return this._fields||(this._fields=V(this,this._typeConfig.fields))},e.prototype.getInterfaces=function(){return this._interfaces||(this._interfaces=F(this,this._typeConfig.interfaces))},e.prototype.toString=function(){return this.name},e}();ne.prototype.toJSON=ne.prototype.inspect=ne.prototype.toString;var re=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this.extensionASTNodes=t.extensionASTNodes,this.resolveType=t.resolveType,this._typeConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name."),t.resolveType&&"function"!=typeof t.resolveType&&Object(J.a)(0,this.name+' must provide "resolveType" as a function.')}return e.prototype.getFields=function(){return this._fields||(this._fields=V(this,this._typeConfig.fields))},e.prototype.toString=function(){return this.name},e}();re.prototype.toJSON=re.prototype.inspect=re.prototype.toString;var ie=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this.resolveType=t.resolveType,this._typeConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name."),t.resolveType&&"function"!=typeof t.resolveType&&Object(J.a)(0,this.name+' must provide "resolveType" as a function.')}return e.prototype.getTypes=function(){return this._types||(this._types=G(this,this._typeConfig.types))},e.prototype.toString=function(){return this.name},e}();ie.prototype.toJSON=ie.prototype.inspect=ie.prototype.toString;var oe=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this._enumConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name.")}return e.prototype.getValues=function(){return this._values||(this._values=H(this,this._enumConfig.values))},e.prototype.getValue=function(e){return this._getNameLookup()[e]},e.prototype.serialize=function(e){var t=this._getValueLookup().get(e);if(t)return t.name},e.prototype.parseValue=function(e){if("string"==typeof e){var t=this._getNameLookup()[e];if(t)return t.value}},e.prototype.parseLiteral=function(e,t){if(e.kind===Q.a.ENUM){var n=this._getNameLookup()[e.value];if(n)return n.value}},e.prototype._getValueLookup=function(){if(!this._valueLookup){var e=new Map;this.getValues().forEach(function(t){e.set(t.value,t)}),this._valueLookup=e}return this._valueLookup},e.prototype._getNameLookup=function(){if(!this._nameLookup){var e=Object.create(null);this.getValues().forEach(function(t){e[t.name]=t}),this._nameLookup=e}return this._nameLookup},e.prototype.toString=function(){return this.name},e}();oe.prototype.toJSON=oe.prototype.inspect=oe.prototype.toString;var ae=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this._typeConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name.")}return e.prototype.getFields=function(){return this._fields||(this._fields=this._defineFieldMap())},e.prototype._defineFieldMap=function(){var e=this,t=B(this._typeConfig.fields)||{};K(t)||Object(J.a)(0,this.name+" fields must be an object with field names as keys or a function which returns such an object.");var n=Object.create(null);return Object.keys(t).forEach(function(r){var i=ee({},t[r],{name:r});i.hasOwnProperty("resolve")&&Object(J.a)(0,e.name+"."+r+" field type has a resolve property, but Input Types cannot define resolvers."),n[r]=i}),n},e.prototype.toString=function(){return this.name},e}();ae.prototype.toJSON=ae.prototype.toString,ae.prototype.inspect=ae.prototype.toString},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",VARIABLE:"Variable",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension",DIRECTIVE_DEFINITION:"DirectiveDefinition"})},function(e,t,n){(function(t,r){var i,o={environment:"nodejs",engine:function(){if(o.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=t.platform+"/"+t.version;return t.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+t.env.AWS_EXECUTION_ENV),e},userAgent:function(){var e=o.environment,t="aws-sdk-"+e+"/"+n(0).VERSION;return"nodejs"===e&&(t+=" "+o.engine()),t},isBrowser:function(){return t&&t.browser},isNode:function(){return!o.isBrowser()},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return o.arrayEach(e.split("/"),function(e){t.push(o.uriEscape(e))}),t.join("/")},urlParse:function(e){return o.url.parse(e)},urlFormat:function(e){return o.url.format(e)},queryStringParse:function(e){return o.querystring.parse(e)},queryParamsToString:function(e){var t=[],n=o.uriEscape,r=Object.keys(e).sort();return o.arrayEach(r,function(r){var i=e[r],a=n(r),s=a+"=";if(Array.isArray(i)){var u=[];o.arrayEach(i,function(e){u.push(n(e))}),s=a+"="+u.sort().join("&"+a+"=")}else void 0!==i&&null!==i&&(s=a+"="+n(i));t.push(s)}),t.join("&")},readFileSync:function(e){return o.isBrowser()?null:n(51).readFileSync(e,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw o.error(new Error("Cannot base64 encode number "+e));return null===e||void 0===e?e:("function"==typeof o.Buffer.from&&o.Buffer.from!==Uint8Array.from?o.Buffer.from(e):new o.Buffer(e)).toString("base64")},decode:function(e){if("number"==typeof e)throw o.error(new Error("Cannot base64 decode number "+e));return null===e||void 0===e?e:"function"==typeof o.Buffer.from&&o.Buffer.from!==Uint8Array.from?o.Buffer.from(e,"base64"):new o.Buffer(e,"base64")}},buffer:{toStream:function(e){o.Buffer.isBuffer(e)||(e=new o.Buffer(e));var t=new o.stream.Readable,n=0;return t._read=function(r){if(n>=e.length)return t.push(null);var i=n+r;i>e.length&&(i=e.length),t.push(e.slice(n,i)),n=i},t},concat:function(e){var t,n=0,r=0,i=null;for(t=0;t<e.length;t++)n+=e[t].length;for(i=new o.Buffer(n),t=0;t<e.length;t++)e[t].copy(i,r),r+=e[t].length;return i}},string:{byteLength:function(e){if(null===e||void 0===e)return 0;if("string"==typeof e&&(e=new o.Buffer(e)),"number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("string"==typeof e.path)return n(51).lstatSync(e.path).size;throw o.error(new Error("Cannot determine length of "+e),{object:e})},upperFirst:function(e){return e[0].toUpperCase()+e.substr(1)},lowerFirst:function(e){return e[0].toLowerCase()+e.substr(1)}},ini:{parse:function(e){var t,n={};return o.arrayEach(e.split(/\r?\n/),function(e){e=e.split(/(^|\s)[;#]/)[0];var r=e.match(/^\s*\[([^\[\]]+)\]\s*$/);if(r)t=r[1];else if(t){var i=e.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);i&&(n[t]=n[t]||{},n[t][i[1]]=i[2])}}),n}},fn:{noop:function(){},makeAsync:function(e,t){return t&&t<=e.length?e:function(){var t=Array.prototype.slice.call(arguments,0);t.pop()(e.apply(null,t))}}},date:{getDate:function(){return i||(i=n(0)),i.config.systemClockOffset?new Date((new Date).getTime()+i.config.systemClockOffset):new Date},iso8601:function(e){return void 0===e&&(e=o.date.getDate()),e.toISOString().replace(/\.\d{3}Z$/,"Z")},rfc822:function(e){return void 0===e&&(e=o.date.getDate()),e.toUTCString()},unixTimestamp:function(e){return void 0===e&&(e=o.date.getDate()),e.getTime()/1e3},from:function(e){return"number"==typeof e?new Date(1e3*e):new Date(e)},format:function(e,t){return t||(t="iso8601"),o.date[t](o.date.from(e))},parseTimestamp:function(e){if("number"==typeof e)return new Date(1e3*e);if(e.match(/^\d+$/))return new Date(1e3*e);if(e.match(/^\d{4}/))return new Date(e);if(e.match(/^\w{3},/))return new Date(e);throw o.error(new Error("unhandled timestamp format: "+e),{code:"TimestampParserError"})}},crypto:{crc32Table:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],crc32:function(e){var t=o.crypto.crc32Table,n=-1;"string"==typeof e&&(e=new o.Buffer(e));for(var r=0;r<e.length;r++){n=n>>>8^t[255&(n^e.readUInt8(r))]}return(-1^n)>>>0},hmac:function(e,t,n,r){return n||(n="binary"),"buffer"===n&&(n=void 0),r||(r="sha256"),"string"==typeof t&&(t=new o.Buffer(t)),o.crypto.lib.createHmac(r,e).update(t).digest(n)},md5:function(e,t,n){return o.crypto.hash("md5",e,t,n)},sha256:function(e,t,n){return o.crypto.hash("sha256",e,t,n)},hash:function(e,t,n,r){var i=o.crypto.createHash(e);n||(n="binary"),"buffer"===n&&(n=void 0),"string"==typeof t&&(t=new o.Buffer(t));var a=o.arraySliceFn(t),s=o.Buffer.isBuffer(t);if(o.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(s=!0),r&&"object"==typeof t&&"function"==typeof t.on&&!s)t.on("data",function(e){i.update(e)}),t.on("error",function(e){r(e)}),t.on("end",function(){r(null,i.digest(n))});else{if(!r||!a||s||"undefined"==typeof FileReader){o.isBrowser()&&"object"==typeof t&&!s&&(t=new o.Buffer(new Uint8Array(t)));var u=i.update(t).digest(n);return r&&r(null,u),u}var c=0,l=new FileReader;l.onerror=function(){r(new Error("Failed to read data."))},l.onload=function(){var e=new o.Buffer(new Uint8Array(l.result));i.update(e),c+=e.length,l._continueReading()},l._continueReading=function(){if(c>=t.size)return void r(null,i.digest(n));var e=c+524288;e>t.size&&(e=t.size),l.readAsArrayBuffer(a.call(t,c,e))},l._continueReading()}},toHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push(("0"+e.charCodeAt(n).toString(16)).substr(-2,2));return t.join("")},createHash:function(e){return o.crypto.lib.createHash(e)}},abort:{},each:function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=t.call(this,n,e[n]);if(r===o.abort)break}},arrayEach:function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=t.call(this,e[n],parseInt(n,10));if(r===o.abort)break}},update:function(e,t){return o.each(t,function(t,n){e[t]=n}),e},merge:function(e,t){return o.update(o.copy(e),t)},copy:function(e){if(null===e||void 0===e)return e;var t={};for(var n in e)t[n]=e[n];return t},isEmpty:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},arraySliceFn:function(e){var t=e.slice||e.webkitSlice||e.mozSlice;return"function"==typeof t?t:null},isType:function(e,t){return"function"==typeof t&&(t=o.typeName(t)),Object.prototype.toString.call(e)==="[object "+t+"]"},typeName:function(e){if(Object.prototype.hasOwnProperty.call(e,"name"))return e.name;var t=e.toString(),n=t.match(/^\s*function (.+)\(/);return n?n[1]:t},error:function(e,t){var n=null;return"string"==typeof e.message&&""!==e.message&&("string"==typeof t||t&&t.message)&&(n=o.copy(e),n.message=e.message),e.message=e.message||null,"string"==typeof t?e.message=t:"object"==typeof t&&null!==t&&(o.update(e,t),t.message&&(e.message=t.message),(t.code||t.name)&&(e.code=t.code||t.name),t.stack&&(e.stack=t.stack)),"function"==typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.time=new Date,n&&(e.originalError=n),e},inherit:function(e,t){var n=null;if(void 0===t)t=e,e=Object,n={};else{var r=function(){};r.prototype=e.prototype,n=new r}return t.constructor===Object&&(t.constructor=function(){if(e!==Object)return e.apply(this,arguments)}),t.constructor.prototype=n,o.update(t.constructor.prototype,t),t.constructor.__super__=e,t.constructor},mixin:function(){for(var e=arguments[0],t=1;t<arguments.length;t++)for(var n in arguments[t].prototype){var r=arguments[t].prototype[n];"constructor"!==n&&(e.prototype[n]=r)}return e},hideProperties:function(e,t){"function"==typeof Object.defineProperty&&o.arrayEach(t,function(t){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0})})},property:function(e,t,n,r,i){var o={configurable:!0,enumerable:void 0===r||r};"function"!=typeof n||i?(o.value=n,o.writable=!0):o.get=n,Object.defineProperty(e,t,o)},memoizedProperty:function(e,t,n,r){var i=null;o.property(e,t,function(){return null===i&&(i=n()),i},r)},hoistPayloadMember:function(e){var t=e.request,n=t.operation,r=t.service.api.operations[n],i=r.output;if(i.payload&&!r.hasEventOutput){var a=i.members[i.payload],s=e.data[i.payload];"structure"===a.type&&o.each(s,function(t,n){o.property(e.data,t,n,!1)})}},computeSha256:function(e,t){if(o.isNode()){var r=o.stream.Stream,i=n(51);if(e instanceof r){if("string"!=typeof e.path)return t(new Error("Non-file stream objects are not supported with SigV4"));var a={};"number"==typeof e.start&&(a.start=e.start),"number"==typeof e.end&&(a.end=e.end),e=i.createReadStream(e.path,a)}}o.crypto.sha256(e,"hex",function(e,n){e?t(e):t(null,n)})},isClockSkewed:function(e){if(e)return o.property(i.config,"isClockSkewed",Math.abs((new Date).getTime()-e)>=3e5,!1),i.config.isClockSkewed},applyClockOffset:function(e){e&&(i.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){var n=!1;void 0===t&&i&&i.config&&(t=i.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t&&(n=!0),Array.isArray(e)||(e=[e]);for(var r=0;r<e.length;r++){var o=e[r];n?o.deletePromisesFromClass&&o.deletePromisesFromClass():o.addPromisesToClass&&o.addPromisesToClass(t)}},promisifyMethod:function(e,t){return function(){var n=this;return new t(function(t,r){n[e](function(e,n){e?r(e):t(n)})})}},isDualstackAvailable:function(e){if(!e)return!1;var t=n(203);return"string"!=typeof e&&(e=e.serviceIdentifier),!("string"!=typeof e||!t.hasOwnProperty(e))&&!!t[e].dualstackAvailable},calculateRetryDelay:function(e,t){t||(t={});var n=t.customBackoff||null;if("function"==typeof n)return n(e);var r="number"==typeof t.base?t.base:100;return Math.random()*(Math.pow(2,e)*r)},handleRequestWithRetries:function(e,t,n){t||(t={});var r=i.HttpClient.getInstance(),a=t.httpOptions||{},s=0,u=function(e){var r=t.maxRetries||0;if(e&&"TimeoutError"===e.code&&(e.retryable=!0),e&&e.retryable&&s<r){s++;var i=o.calculateRetryDelay(s,t.retryDelayOptions);setTimeout(c,i+(e.retryAfter||0))}else n(e)},c=function(){var t="";r.handleRequest(e,a,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var r=e.statusCode;if(r<300)n(null,t);else{var i=1e3*parseInt(e.headers["retry-after"],10)||0,a=o.error(new Error,{retryable:r>=500||429===r});i&&a.retryable&&(a.retryAfter=i),u(a)}})},u)};i.util.defer(c)},uuid:{v4:function(){return n(204).v4()}},convertPayloadToString:function(e){var t=e.request,n=t.operation,r=t.service.api.operations[n].output||{};r.payload&&e.data[r.payload]&&(e.data[r.payload]=e.data[r.payload].toString())},defer:function(e){"object"==typeof t&&"function"==typeof t.nextTick?t.nextTick(e):"function"==typeof r?r(e):setTimeout(e,0)},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};e.exports=o}).call(t,n(13),n(175).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(240))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return Object(p.a)(e,m)}function o(e,t){if(!t)return e;if(Object(s.P)(t))return o(e,t.ofType);if(e[t.name])return e[t.name]!==t&&Object(d.a)(0,'Schema must contain unique named types but contains multiple types named "'+t.name+'".'),e;e[t.name]=t;var n=e;return Object(s.O)(t)&&(n=t.getTypes().reduce(o,n)),Object(s.K)(t)&&(n=t.getInterfaces().reduce(o,n)),(Object(s.K)(t)||Object(s.E)(t))&&Object(f.a)(t.getFields()).forEach(function(e){if(e.args){var t=e.args.map(function(e){return e.type});n=t.reduce(o,n)}n=o(n,e.type)}),Object(s.C)(t)&&Object(f.a)(t.getFields()).forEach(function(e){n=o(n,e.type)}),n}function a(e,t){return Object(u.f)(t)?t.args.reduce(function(e,t){return o(e,t.type)},e):e}t.b=i,n.d(t,"a",function(){return m});var s=n(3),u=n(12),c=n(14),l=n(28),p=n(62),d=n(8),f=n(24),h="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},m=function(){function e(t){var n=this;r(this,e),t&&t.assumeValid?this.__validationErrors=[]:("object"!==(void 0===t?"undefined":h(t))&&Object(d.a)(0,"Must provide configuration object."),t.types&&!Array.isArray(t.types)&&Object(d.a)(0,'"types" must be Array if provided but got: '+String(t.types)+"."),t.directives&&!Array.isArray(t.directives)&&Object(d.a)(0,'"directives" must be Array if provided but got: '+String(t.directives)+"."),t.allowedLegacyNames&&!Array.isArray(t.allowedLegacyNames)&&Object(d.a)(0,'"allowedLegacyNames" must be Array if provided but got: '+String(t.allowedLegacyNames)+"."),this.__allowedLegacyNames=t.allowedLegacyNames),this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=t.directives||u.h,this.astNode=t.astNode;var i=[this.getQueryType(),this.getMutationType(),this.getSubscriptionType(),c.j],l=t.types;l&&(i=i.concat(l));var p=Object.create(null);p=i.reduce(o,p),p=this._directives.reduce(a,p),this._typeMap=p,this._implementations=Object.create(null),Object.keys(this._typeMap).forEach(function(e){var t=n._typeMap[e];Object(s.K)(t)&&t.getInterfaces().forEach(function(e){var r=n._implementations[e.name];r?r.push(t):n._implementations[e.name]=[t]})})}return e.prototype.getQueryType=function(){return this._queryType},e.prototype.getMutationType=function(){return this._mutationType},e.prototype.getSubscriptionType=function(){return this._subscriptionType},e.prototype.getTypeMap=function(){return this._typeMap},e.prototype.getType=function(e){return this.getTypeMap()[e]},e.prototype.getPossibleTypes=function(e){return Object(s.O)(e)?e.getTypes():this._implementations[e.name]},e.prototype.isPossibleType=function(e,t){var n=this._possibleTypeMap;if(n||(this._possibleTypeMap=n=Object.create(null)),!n[e.name]){var r=this.getPossibleTypes(e);Array.isArray(r)||Object(d.a)(0,"Could not find possible implementing types for "+e.name+" in schema. Check that schema.types is defined and is an array of all possible types in the schema."),n[e.name]=r.reduce(function(e,t){return e[t.name]=!0,e},Object.create(null))}return Boolean(n[e.name][t.name])},e.prototype.getDirectives=function(){return this._directives},e.prototype.getDirective=function(e){return Object(l.a)(this.getDirectives(),function(t){return t.name===e})},e}()},function(e,t,n){"use strict";function r(e,t){if(!e)throw new Error(t)}t.a=r},function(e,t,n){"use strict";function r(e){return"[object Array]"===C.call(e)}function i(e){return"[object ArrayBuffer]"===C.call(e)}function o(e){return"undefined"!=typeof FormData&&e instanceof FormData}function a(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function s(e){return"string"==typeof e}function u(e){return"number"==typeof e}function c(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function p(e){return"[object Date]"===C.call(e)}function d(e){return"[object File]"===C.call(e)}function f(e){return"[object Blob]"===C.call(e)}function h(e){return"[object Function]"===C.call(e)}function m(e){return l(e)&&h(e.pipe)}function y(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function g(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function v(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function S(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=S(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)b(arguments[n],e);return t}function _(e,t,n){return b(t,function(t,r){e[r]=n&&"function"==typeof t?E(t,n):t}),e}var E=n(161),I=n(353),C=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:i,isBuffer:I,isFormData:o,isArrayBufferView:a,isString:s,isNumber:u,isObject:l,isUndefined:c,isDate:p,isFile:d,isBlob:f,isFunction:h,isStream:m,isURLSearchParams:y,isStandardBrowserEnv:v,forEach:b,merge:S,extend:_,trim:g}},function(e,t,n){"use strict";function r(e){return void 0===e||e!==e}t.a=r},function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);this.ofType=Object(o.u)(e)}function i(e){if(!(this instanceof i))return new i(e);this.ofType=Object(o.q)(e)}t.a=r,t.b=i;var o=n(3),a=r.prototype;a.toString=a.toJSON=a.inspect=function(){return"["+String(this.ofType)+"]"};var s=i.prototype;s.toString=s.toJSON=s.inspect=function(){return String(this.ofType)+"!"}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return Object(u.a)(e,p)}function o(e){return y.some(function(t){return t.name===e.name})}t.f=i,n.d(t,"c",function(){return p}),n.d(t,"d",function(){return d}),n.d(t,"e",function(){return f}),n.d(t,"a",function(){return h}),n.d(t,"b",function(){return m}),n.d(t,"h",function(){return y}),t.g=o;var a=n(11),s=n(19),u=n(62),c=n(8),l=n(26),p=function e(t){r(this,e),this.name=t.name,this.description=t.description,this.locations=t.locations,this.astNode=t.astNode,t.name||Object(c.a)(0,"Directive must be named."),Array.isArray(t.locations)||Object(c.a)(0,"Must provide locations for directive.");var n=t.args;n?(Array.isArray(n)&&Object(c.a)(0,"@"+t.name+" args must be an object with argument names as keys."),this.args=Object.keys(n).map(function(e){var t=n[e];return{name:e,description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,astNode:t.astNode}})):this.args=[]},d=new p({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[l.a.FIELD,l.a.FRAGMENT_SPREAD,l.a.INLINE_FRAGMENT],args:{if:{type:Object(a.b)(s.a),description:"Included when true."}}}),f=new p({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[l.a.FIELD,l.a.FRAGMENT_SPREAD,l.a.INLINE_FRAGMENT],args:{if:{type:Object(a.b)(s.a),description:"Skipped when true."}}}),h="No longer supported",m=new p({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[l.a.FIELD_DEFINITION,l.a.ENUM_VALUE],args:{reason:{type:s.e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).",defaultValue:h}}}),y=[d,f,m]},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function o(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):y=-1,h.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++y<t;)f&&f[y].run();y=-1,t=h.length}f=null,m=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var l,p,d=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(e){p=r}}();var f,h=[],m=!1,y=-1;d.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];h.push(new u(e,t)),1!==h.length||m||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=c,d.addListener=c,d.once=c,d.off=c,d.removeListener=c,d.removeAllListeners=c,d.emit=c,d.prependListener=c,d.prependOnceListener=c,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return Object(u.H)(e)&&(e.name===d.name||e.name===f.name||e.name===h.name||e.name===m.name||e.name===y.name||e.name===g.name||e.name===v.name||e.name===S.name)}n.d(t,"j",function(){return d}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"k",function(){return m}),n.d(t,"h",function(){return y}),n.d(t,"i",function(){return g}),n.d(t,"g",function(){return v}),n.d(t,"b",function(){return b}),n.d(t,"l",function(){return S}),n.d(t,"a",function(){return _}),n.d(t,"c",function(){return E}),n.d(t,"d",function(){return I}),n.d(t,"m",function(){return C}),t.n=r;var i=n(10),o=n(24),a=n(63),s=n(20),u=n(3),c=n(11),l=n(19),p=n(26),d=new u.d({name:"__Schema",isIntrospection:!0,description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{types:{description:"A list of all types supported by this server.",type:Object(c.b)(Object(c.a)(Object(c.b)(m))),resolve:function(e){return Object(o.a)(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:Object(c.b)(m),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:m,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:m,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:Object(c.b)(Object(c.a)(Object(c.b)(f))),resolve:function(e){return e.getDirectives()}}}}}),f=new u.d({name:"__Directive",isIntrospection:!0,description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:Object(c.b)(l.e)},description:{type:l.e},locations:{type:Object(c.b)(Object(c.a)(Object(c.b)(h)))},args:{type:Object(c.b)(Object(c.a)(Object(c.b)(g))),resolve:function(e){return e.args||[]}},onOperation:{deprecationReason:"Use `locations`.",type:Object(c.b)(l.a),resolve:function(e){return-1!==e.locations.indexOf(p.a.QUERY)||-1!==e.locations.indexOf(p.a.MUTATION)||-1!==e.locations.indexOf(p.a.SUBSCRIPTION)}},onFragment:{deprecationReason:"Use `locations`.",type:Object(c.b)(l.a),resolve:function(e){return-1!==e.locations.indexOf(p.a.FRAGMENT_SPREAD)||-1!==e.locations.indexOf(p.a.INLINE_FRAGMENT)||-1!==e.locations.indexOf(p.a.FRAGMENT_DEFINITION)}},onField:{deprecationReason:"Use `locations`.",type:Object(c.b)(l.a),resolve:function(e){return-1!==e.locations.indexOf(p.a.FIELD)}}}}}),h=new u.a({name:"__DirectiveLocation",isIntrospection:!0,description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:p.a.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:p.a.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:p.a.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:p.a.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:p.a.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:p.a.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:p.a.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},SCHEMA:{value:p.a.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:p.a.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:p.a.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:p.a.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:p.a.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:p.a.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:p.a.UNION,description:"Location adjacent to a union definition."},ENUM:{value:p.a.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:p.a.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:p.a.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:p.a.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),m=new u.d({name:"__Type",isIntrospection:!0,description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:Object(c.b)(S),resolve:function(e){if(Object(u.M)(e))return b.SCALAR;if(Object(u.K)(e))return b.OBJECT;if(Object(u.E)(e))return b.INTERFACE;if(Object(u.O)(e))return b.UNION;if(Object(u.B)(e))return b.ENUM;if(Object(u.C)(e))return b.INPUT_OBJECT;if(Object(u.G)(e))return b.LIST;if(Object(u.I)(e))return b.NON_NULL;throw new Error("Unknown kind of type: "+e)}},name:{type:l.e},description:{type:l.e},fields:{type:Object(c.a)(Object(c.b)(y)),args:{includeDeprecated:{type:l.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.K)(e)||Object(u.E)(e)){var r=Object(o.a)(e.getFields());return n||(r=r.filter(function(e){return!e.deprecationReason})),r}return null}},interfaces:{type:Object(c.a)(Object(c.b)(m)),resolve:function(e){if(Object(u.K)(e))return e.getInterfaces()}},possibleTypes:{type:Object(c.a)(Object(c.b)(m)),resolve:function(e,t,n,r){var i=r.schema;if(Object(u.z)(e))return i.getPossibleTypes(e)}},enumValues:{type:Object(c.a)(Object(c.b)(v)),args:{includeDeprecated:{type:l.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.B)(e)){var r=e.getValues();return n||(r=r.filter(function(e){return!e.deprecationReason})),r}}},inputFields:{type:Object(c.a)(Object(c.b)(g)),resolve:function(e){if(Object(u.C)(e))return Object(o.a)(e.getFields())}},ofType:{type:m}}}}),y=new u.d({name:"__Field",isIntrospection:!0,description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:Object(c.b)(l.e)},description:{type:l.e},args:{type:Object(c.b)(Object(c.a)(Object(c.b)(g))),resolve:function(e){return e.args||[]}},type:{type:Object(c.b)(m)},isDeprecated:{type:Object(c.b)(l.a)},deprecationReason:{type:l.e}}}}),g=new u.d({name:"__InputValue",isIntrospection:!0,description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:Object(c.b)(l.e)},description:{type:l.e},type:{type:Object(c.b)(m)},defaultValue:{type:l.e,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){return Object(i.a)(e.defaultValue)?null:Object(s.a)(Object(a.a)(e.defaultValue,e.type))}}}}}),v=new u.d({name:"__EnumValue",isIntrospection:!0,description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:Object(c.b)(l.e)},description:{type:l.e},isDeprecated:{type:Object(c.b)(l.a)},deprecationReason:{type:l.e}}}}),b={SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"},S=new u.a({name:"__TypeKind",isIntrospection:!0,description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:b.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:b.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:b.INTERFACE,description:"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields."},UNION:{value:b.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:b.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:b.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:b.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:b.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),_={name:"__schema",type:Object(c.b)(d),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema}},E={name:"__type",type:m,description:"Request the type information of a single type.",args:[{name:"name",type:Object(c.b)(l.e)}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)}},I={name:"__typename",type:Object(c.b)(l.e),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name}},C=[d,f,h,m,y,g,v,S]},function(e,t,n){"use strict";function r(e,t){var n=void 0;if(t.kind===i.a.LIST_TYPE)return(n=r(e,t.type))&&Object(o.a)(n);if(t.kind===i.a.NON_NULL_TYPE)return(n=r(e,t.type))&&Object(o.b)(n);if(t.kind===i.a.NAMED_TYPE)return e.getType(t.name.value);throw new Error("Unexpected type kind: "+t.kind+".")}t.a=r;var i=n(4),o=n(11)},function(e,t,n){(function(t){var r=n(5);r.crypto.lib=n(207),r.Buffer=n(18).Buffer,r.url=n(36),r.querystring=n(92),r.realClock=n(219),r.environment="js",r.createEventStream=n(220).createEventStream;var i=n(0);e.exports=i,n(85),n(86),n(226),n(230),n(231),n(236),i.XML.Parser=n(237),n(238),void 0===t&&(t={browser:!0})}).call(t,n(13))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";(function(e){function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(r()<t)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=o.prototype):(null===e&&(e=new o(t)),e.length=t),e}function o(e,t,n){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(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 c(this,e)}return a(this,e,t,n)}function a(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?d(e,t,n,r):"string"==typeof t?l(e,t,n):f(e,t)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t,n,r){return s(t),t<=0?i(e,t):void 0!==n?"string"==typeof r?i(e,t).fill(n,r):i(e,t).fill(n):i(e,t)}function c(e,t){if(s(t),e=i(e,t<0?0:0|h(t)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function l(e,t,n){if