diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..235b56c6a --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +!.vscode +.DS_STORE + +.env +node_modules +yarn-error.log +dist +built +package-lock.json \ No newline at end of file diff --git a/app/src/components/Cart.tsx b/app/src/components/Cart.tsx index 5391824cd..86b8b5675 100644 --- a/app/src/components/Cart.tsx +++ b/app/src/components/Cart.tsx @@ -8,15 +8,16 @@ interface CartSidebarProps { export const CartSidebar = styled.div` ${(props: CartSidebarProps) => css` position: fixed; - right: ${props.open ? '0px' : '-360px'}; + right: ${props.open ? '0px' : '-500px'}; top: 1; - max-width: 340px; + max-width: 500px; max-height: 100vh; min-height: 100vh; overflow: scroll; background-color: ${props.theme.color.white}; box-shadow: -5px 0 5px rgba(0, 0, 0, 0.1); transition: 250ms linear; + width: 500px; ::-webkit-scrollbar { width: 0px; background: transparent; @@ -32,6 +33,9 @@ export const CartSidebar = styled.div` margin: ${props.theme.layout.spacing.small}; margin-top: ${props.theme.layout.spacing.small} !important; } + ${props.theme.mediaQueries.mobile} { + max-width: 340px; + } `} ` diff --git a/proxy/lambda-build/graphql.js b/proxy/lambda-build/graphql.js index 78ffa5503..95a683f8b 100644 --- a/proxy/lambda-build/graphql.js +++ b/proxy/lambda-build/graphql.js @@ -16,14 +16,20 @@ n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: r }) }), (n.r = function(e) { - 'undefined' != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: 'Module' }), + 'undefined' != typeof Symbol && + Symbol.toStringTag && + Object.defineProperty(e, Symbol.toStringTag, { value: 'Module' }), Object.defineProperty(e, '__esModule', { value: !0 }) }), (n.t = function(e, t) { if ((1 & t && (e = n(e)), 8 & t)) return e if (4 & t && 'object' == typeof e && e && e.__esModule) return e var r = Object.create(null) - if ((n.r(r), Object.defineProperty(r, 'default', { enumerable: !0, value: e }), 2 & t && 'string' != typeof e)) + if ( + (n.r(r), + Object.defineProperty(r, 'default', { enumerable: !0, value: e }), + 2 & t && 'string' != typeof e) + ) for (var l in e) n.d( r, @@ -86,91 +92,229 @@ return e } function _(e, t, n) { - return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e + return ( + t in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ) } function g(e) { return b(e) || w(e) || D(e) || L(e) || S(e) || j(e) || N(e) || P(e) } function v(e) { - return g(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL type.')), e + return ( + g(e) || + Object(s.a)( + 0, + 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL type.'), + ), + e + ) } function b(e) { return Object(o.a)(e, le) } function T(e) { - return b(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL Scalar type.')), e + return ( + b(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL Scalar type.', + ), + ), + e + ) } function w(e) { return Object(o.a)(e, ue) } function O(e) { - return w(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL Object type.')), e + return ( + w(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL Object type.', + ), + ), + e + ) } function D(e) { return Object(o.a)(e, de) } function E(e) { - return D(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL Interface type.')), e + return ( + D(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL Interface type.', + ), + ), + e + ) } function L(e) { return Object(o.a)(e, fe) } function M(e) { - return L(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL Union type.')), e + return ( + L(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL Union type.', + ), + ), + e + ) } function S(e) { return Object(o.a)(e, pe) } function k(e) { - return S(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL Enum type.')), e + return ( + S(e) || + Object(s.a)( + 0, + 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL Enum type.'), + ), + e + ) } function j(e) { return Object(o.a)(e, he) } function C(e) { - return j(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL Input Object type.')), e + return ( + j(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL Input Object type.', + ), + ), + e + ) } function N(e) { return Object(o.a)(e, W) } function A(e) { - return N(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL List type.')), e + return ( + N(e) || + Object(s.a)( + 0, + 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL List type.'), + ), + e + ) } function P(e) { return Object(o.a)(e, G) } function x(e) { - return P(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL Non-Null type.')), e + return ( + P(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL Non-Null type.', + ), + ), + e + ) } function Y(e) { return b(e) || S(e) || j(e) || ($(e) && Y(e.ofType)) } function I(e) { - return Y(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL input type.')), e + return ( + Y(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL input type.', + ), + ), + e + ) } function F(e) { return b(e) || w(e) || D(e) || L(e) || S(e) || ($(e) && F(e.ofType)) } function R(e) { - return F(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL output type.')), e + return ( + F(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL output type.', + ), + ), + e + ) } function B(e) { return b(e) || S(e) } function H(e) { - return B(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL leaf type.')), e + return ( + B(e) || + Object(s.a)( + 0, + 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL leaf type.'), + ), + e + ) } function V(e) { return w(e) || D(e) || L(e) } function Q(e) { - return V(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL composite type.')), e + return ( + V(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL composite type.', + ), + ), + e + ) } function U(e) { return D(e) || L(e) } function q(e) { - return U(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL abstract type.')), e + return ( + U(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL abstract type.', + ), + ), + e + ) } function W(e) { if (!(this instanceof W)) return new W(e) @@ -184,13 +328,33 @@ return N(e) || P(e) } function z(e) { - return $(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL wrapping type.')), e + return ( + $(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL wrapping type.', + ), + ), + e + ) } function J(e) { return g(e) && !P(e) } function K(e) { - return J(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL nullable type.')), e + return ( + J(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL nullable type.', + ), + ), + e + ) } function Z(e) { if (e) return P(e) ? e.ofType : e @@ -199,7 +363,17 @@ return b(e) || w(e) || D(e) || L(e) || S(e) || j(e) } function ee(e) { - return X(e) || Object(s.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL named type.')), e + return ( + X(e) || + Object(s.a)( + 0, + 'Expected '.concat( + Object(a.a)(e), + ' to be a GraphQL named type.', + ), + ), + e + ) } function te(e) { if (e) { @@ -389,8 +563,15 @@ ), ), e.parseLiteral && - ('function' != typeof e.parseValue || 'function' != typeof e.parseLiteral) && - Object(s.a)(0, ''.concat(this.name, ' must provide both "parseValue" and "parseLiteral" functions.')) + ('function' != typeof e.parseValue || + 'function' != typeof e.parseLiteral) && + Object(s.a)( + 0, + ''.concat( + this.name, + ' must provide both "parseValue" and "parseLiteral" functions.', + ), + ) } var t = e.prototype return ( @@ -424,7 +605,13 @@ var t = ne(e.interfaces) || [] return ( Array.isArray(t) || - Object(s.a)(0, ''.concat(e.name, ' interfaces must be an Array or a function which returns an Array.')), + Object(s.a)( + 0, + ''.concat( + e.name, + ' interfaces must be an Array or a function which returns an Array.', + ), + ), t ) }.bind(void 0, e)), @@ -433,17 +620,27 @@ 'function' != typeof e.isTypeOf && Object(s.a)( 0, - ''.concat(this.name, ' must provide "isTypeOf" as a function, ') + - 'but got: '.concat(Object(a.a)(e.isTypeOf), '.'), + ''.concat( + this.name, + ' must provide "isTypeOf" as a function, ', + ) + 'but got: '.concat(Object(a.a)(e.isTypeOf), '.'), ) } var t = e.prototype return ( (t.getFields = function() { - return 'function' == typeof this._fields && (this._fields = this._fields()), this._fields + return ( + 'function' == typeof this._fields && + (this._fields = this._fields()), + this._fields + ) }), (t.getInterfaces = function() { - return 'function' == typeof this._interfaces && (this._interfaces = this._interfaces()), this._interfaces + return ( + 'function' == typeof this._interfaces && + (this._interfaces = this._interfaces()), + this._interfaces + ) }), (t.toConfig = function() { return { @@ -468,24 +665,49 @@ oe(t) || Object(s.a)( 0, - ''.concat(e.name, ' fields must be an object with field names as keys or a function which returns such an object.'), + ''.concat( + e.name, + ' fields must be an object with field names as keys or a function which returns such an object.', + ), ), Object(f.a)(t, function(t, n) { - oe(t) || Object(s.a)(0, ''.concat(e.name, '.').concat(n, ' field config must be an object')), + oe(t) || + Object(s.a)( + 0, + '' + .concat(e.name, '.') + .concat(n, ' field config must be an object'), + ), 'isDeprecated' in t && Object(s.a)( 0, - ''.concat(e.name, '.').concat(n, ' should provide "deprecationReason" instead of "isDeprecated".'), + '' + .concat(e.name, '.') + .concat( + n, + ' should provide "deprecationReason" instead of "isDeprecated".', + ), ), null != t.resolve && 'function' != typeof t.resolve && Object(s.a)( 0, - ''.concat(e.name, '.').concat(n, ' field resolver must be a function if ') + + '' + .concat(e.name, '.') + .concat(n, ' field resolver must be a function if ') + 'provided, but got: '.concat(Object(a.a)(t.resolve), '.'), ) var l = t.args || {} - oe(l) || Object(s.a)(0, ''.concat(e.name, '.').concat(n, ' args must be an object with argument names as keys.')) + oe(l) || + Object(s.a)( + 0, + '' + .concat(e.name, '.') + .concat( + n, + ' args must be an object with argument names as keys.', + ), + ) var u = Object(r.a)(l).map(function(e) { var t = e[0], n = e[1] @@ -497,7 +719,11 @@ astNode: n.astNode, } }) - return y({}, t, { isDeprecated: Boolean(t.deprecationReason), name: n, args: u }) + return y({}, t, { + isDeprecated: Boolean(t.deprecationReason), + name: n, + args: u, + }) }) ) } @@ -524,7 +750,12 @@ return e.name }, function(e) { - return { type: e.type, defaultValue: e.defaultValue, description: e.description, astNode: e.astNode } + return { + type: e.type, + defaultValue: e.defaultValue, + description: e.description, + astNode: e.astNode, + } }, ) } @@ -545,14 +776,20 @@ 'function' != typeof e.resolveType && Object(s.a)( 0, - ''.concat(this.name, ' must provide "resolveType" as a function, ') + - 'but got: '.concat(Object(a.a)(e.resolveType), '.'), + ''.concat( + this.name, + ' must provide "resolveType" as a function, ', + ) + 'but got: '.concat(Object(a.a)(e.resolveType), '.'), ) } var t = e.prototype return ( (t.getFields = function() { - return 'function' == typeof this._fields && (this._fields = this._fields()), this._fields + return ( + 'function' == typeof this._fields && + (this._fields = this._fields()), + this._fields + ) }), (t.toConfig = function() { return { @@ -584,7 +821,10 @@ Array.isArray(t) || Object(s.a)( 0, - 'Must provide Array of types or a function which returns such an array for Union '.concat(e.name, '.'), + 'Must provide Array of types or a function which returns such an array for Union '.concat( + e.name, + '.', + ), ), t ) @@ -594,14 +834,19 @@ 'function' != typeof e.resolveType && Object(s.a)( 0, - ''.concat(this.name, ' must provide "resolveType" as a function, ') + - 'but got: '.concat(Object(a.a)(e.resolveType), '.'), + ''.concat( + this.name, + ' must provide "resolveType" as a function, ', + ) + 'but got: '.concat(Object(a.a)(e.resolveType), '.'), ) } var t = e.prototype return ( (t.getTypes = function() { - return 'function' == typeof this._types && (this._types = this._types()), this._types + return ( + 'function' == typeof this._types && (this._types = this._types()), + this._types + ) }), (t.toConfig = function() { return { @@ -627,33 +872,54 @@ (this.description = e.description), (this.astNode = e.astNode), (this.extensionASTNodes = re(e.extensionASTNodes)), - (this._values = ((t = this), - oe((n = e.values)) || Object(s.a)(0, ''.concat(t.name, ' values must be an object with value names as keys.')), - Object(r.a)(n).map(function(e) { - var n = e[0], - r = e[1] - return ( - oe(r) || - Object(s.a)( - 0, - ''.concat(t.name, '.').concat(n, ' must refer to an object with a "value" key ') + - 'representing an internal value but got: '.concat(Object(a.a)(r), '.'), - ), - 'isDeprecated' in r && - Object(s.a)( - 0, - ''.concat(t.name, '.').concat(n, ' should provide "deprecationReason" instead of "isDeprecated".'), + (this._values = + ((t = this), + oe((n = e.values)) || + Object(s.a)( + 0, + ''.concat( + t.name, + ' values must be an object with value names as keys.', ), - { - name: n, - description: r.description, - isDeprecated: Boolean(r.deprecationReason), - deprecationReason: r.deprecationReason, - astNode: r.astNode, - value: 'value' in r ? r.value : n, - } - ) - }))), + ), + Object(r.a)(n).map(function(e) { + var n = e[0], + r = e[1] + return ( + oe(r) || + Object(s.a)( + 0, + '' + .concat(t.name, '.') + .concat( + n, + ' must refer to an object with a "value" key ', + ) + + 'representing an internal value but got: '.concat( + Object(a.a)(r), + '.', + ), + ), + 'isDeprecated' in r && + Object(s.a)( + 0, + '' + .concat(t.name, '.') + .concat( + n, + ' should provide "deprecationReason" instead of "isDeprecated".', + ), + ), + { + name: n, + description: r.description, + isDeprecated: Boolean(r.deprecationReason), + deprecationReason: r.deprecationReason, + astNode: r.astNode, + value: 'value' in r ? r.value : n, + } + ) + }))), (this._valueLookup = new Map( this._values.map(function(e) { return [e.value, e] @@ -695,7 +961,12 @@ return e.name }, function(e) { - return { description: e.description, value: e.value, deprecationReason: e.deprecationReason, astNode: e.astNode } + return { + description: e.description, + value: e.value, + deprecationReason: e.deprecationReason, + astNode: e.astNode, + } }, ) return { @@ -737,7 +1008,10 @@ 0, '' .concat(e.name, '.') - .concat(n, ' field has a resolve property, but Input Types cannot define resolvers.'), + .concat( + n, + ' field has a resolve property, but Input Types cannot define resolvers.', + ), ), y({}, t, { name: n }) ) @@ -749,11 +1023,20 @@ var t = e.prototype return ( (t.getFields = function() { - return 'function' == typeof this._fields && (this._fields = this._fields()), this._fields + return ( + 'function' == typeof this._fields && + (this._fields = this._fields()), + this._fields + ) }), (t.toConfig = function() { var e = Object(f.a)(this.getFields(), function(e) { - return { description: e.description, type: e.type, defaultValue: e.defaultValue, astNode: e.astNode } + return { + description: e.description, + type: e.type, + defaultValue: e.defaultValue, + astNode: e.astNode, + } }) return { name: this.name, @@ -838,7 +1121,10 @@ return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) @@ -872,8 +1158,18 @@ return (function(e, t) { if (0 === e.length) return '[]' if (t.length > i) return '[Array]' - for (var n = Math.min(u, e.length), r = e.length - n, l = [], o = 0; o < n; ++o) l.push(a(e[o], t)) - 1 === r ? l.push('... 1 more item') : r > 1 && l.push('... '.concat(r, ' more items')) + for ( + var n = Math.min(u, e.length), + r = e.length - n, + l = [], + o = 0; + o < n; + ++o + ) + l.push(a(e[o], t)) + 1 === r + ? l.push('... 1 more item') + : r > 1 && l.push('... '.concat(r, ' more items')) return '[' + l.join(', ') + ']' })(e, n) return (function(e, t) { @@ -887,7 +1183,10 @@ .call(e) .replace(/^\[object /, '') .replace(/]$/, '') - if ('Object' === t && 'function' == typeof e.constructor) { + if ( + 'Object' === t && + 'function' == typeof e.constructor + ) { var n = e.constructor.name if ('string' == typeof n) return n } @@ -951,19 +1250,31 @@ return t.apply(null, arguments) } function u(e) { - return e instanceof Array || '[object Array]' === Object.prototype.toString.call(e) + return ( + e instanceof Array || + '[object Array]' === Object.prototype.toString.call(e) + ) } function i(e) { - return null != e && '[object Object]' === Object.prototype.toString.call(e) + return ( + null != e && + '[object Object]' === Object.prototype.toString.call(e) + ) } function o(e) { return void 0 === e } function a(e) { - return 'number' == typeof e || '[object Number]' === Object.prototype.toString.call(e) + return ( + 'number' == typeof e || + '[object Number]' === Object.prototype.toString.call(e) + ) } function s(e) { - return e instanceof Date || '[object Date]' === Object.prototype.toString.call(e) + return ( + e instanceof Date || + '[object Date]' === Object.prototype.toString.call(e) + ) } function c(e, t) { var n, @@ -976,7 +1287,11 @@ } function f(e, t) { for (var n in t) d(t, n) && (e[n] = t[n]) - return d(t, 'toString') && (e.toString = t.toString), d(t, 'valueOf') && (e.valueOf = t.valueOf), e + return ( + d(t, 'toString') && (e.toString = t.toString), + d(t, 'valueOf') && (e.valueOf = t.valueOf), + e + ) } function p(e, t, n, r) { return jt(e, t, n, r, !0).utc() @@ -1021,7 +1336,12 @@ !t.userInvalidated && (!t.meridiem || (t.meridiem && n)) if ( - (e._strict && (l = l && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour), + (e._strict && + (l = + l && + 0 === t.charsLeftOver && + 0 === t.unusedTokens.length && + void 0 === t.bigHour), null != Object.isFrozen && Object.isFrozen(e)) ) return l @@ -1036,7 +1356,11 @@ r = Array.prototype.some ? Array.prototype.some : function(e) { - for (var t = Object(this), n = t.length >>> 0, r = 0; r < n; r++) + for ( + var t = Object(this), n = t.length >>> 0, r = 0; + r < n; + r++ + ) if (r in t && e.call(this, t[r], r, t)) return !0 return !1 } @@ -1044,7 +1368,8 @@ function g(e, t) { var n, r, l if ( - (o(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), + (o(t._isAMomentObject) || + (e._isAMomentObject = t._isAMomentObject), o(t._i) || (e._i = t._i), o(t._f) || (e._f = t._f), o(t._l) || (e._l = t._l), @@ -1056,7 +1381,8 @@ o(t._locale) || (e._locale = t._locale), _.length > 0) ) - for (n = 0; n < _.length; n++) (r = _[n]), o((l = t[r])) || (e[r] = l) + for (n = 0; n < _.length; n++) + (r = _[n]), o((l = t[r])) || (e[r] = l) return e } var v = !1 @@ -1082,7 +1408,8 @@ l = Math.min(e.length, t.length), u = Math.abs(e.length - t.length), i = 0 - for (r = 0; r < l; r++) ((n && e[r] !== t[r]) || (!n && O(e[r]) !== O(t[r]))) && i++ + for (r = 0; r < l; r++) + ((n && e[r] !== t[r]) || (!n && O(e[r]) !== O(t[r]))) && i++ return i + u } function E(e) { @@ -1094,15 +1421,26 @@ function L(e, t) { var n = !0 return f(function() { - if ((null != l.deprecationHandler && l.deprecationHandler(null, e), n)) { + if ( + (null != l.deprecationHandler && l.deprecationHandler(null, e), + n) + ) { for (var r, u = [], i = 0; i < arguments.length; i++) { if (((r = ''), 'object' == typeof arguments[i])) { - for (var o in ((r += '\n[' + i + '] '), arguments[0])) r += o + ': ' + arguments[0][o] + ', ' + for (var o in ((r += '\n[' + i + '] '), arguments[0])) + r += o + ': ' + arguments[0][o] + ', ' r = r.slice(0, -2) } else r = arguments[i] u.push(r) } - E(e + '\nArguments: ' + Array.prototype.slice.call(u).join('') + '\n' + new Error().stack), (n = !1) + E( + e + + '\nArguments: ' + + Array.prototype.slice.call(u).join('') + + '\n' + + new Error().stack, + ), + (n = !1) } return t.apply(this, arguments) }, t) @@ -1110,17 +1448,25 @@ var M, S = {} function k(e, t) { - null != l.deprecationHandler && l.deprecationHandler(e, t), S[e] || (E(t), (S[e] = !0)) + null != l.deprecationHandler && l.deprecationHandler(e, t), + S[e] || (E(t), (S[e] = !0)) } function j(e) { - return e instanceof Function || '[object Function]' === Object.prototype.toString.call(e) + return ( + e instanceof Function || + '[object Function]' === Object.prototype.toString.call(e) + ) } function C(e, t) { var n, r = f({}, e) for (n in t) d(t, n) && - (i(e[n]) && i(t[n]) ? ((r[n] = {}), f(r[n], e[n]), f(r[n], t[n])) : null != t[n] ? (r[n] = t[n]) : delete r[n]) + (i(e[n]) && i(t[n]) + ? ((r[n] = {}), f(r[n], e[n]), f(r[n], t[n])) + : null != t[n] + ? (r[n] = t[n]) + : delete r[n]) for (n in e) d(e, n) && !d(t, n) && i(e[n]) && (r[n] = f({}, r[n])) return r } @@ -1201,11 +1547,14 @@ for (t = 0, n = l.length; t < n; t++) Q[l[t]] ? (l[t] = Q[l[t]]) - : (l[t] = (r = l[t]).match(/\[[\s\S]/) ? r.replace(/^\[|\]$/g, '') : r.replace(/\\/g, '')) + : (l[t] = (r = l[t]).match(/\[[\s\S]/) + ? r.replace(/^\[|\]$/g, '') + : r.replace(/\\/g, '')) return function(t) { var r, u = '' - for (r = 0; r < n; r++) u += j(l[r]) ? l[r].call(t, e) : l[r] + for (r = 0; r < n; r++) + u += j(l[r]) ? l[r].call(t, e) : l[r] return u } })(t)), @@ -1217,7 +1566,8 @@ function r(e) { return t.longDateFormat(e) || e } - for (H.lastIndex = 0; n >= 0 && H.test(e); ) (e = e.replace(H, r)), (H.lastIndex = 0), (n -= 1) + for (H.lastIndex = 0; n >= 0 && H.test(e); ) + (e = e.replace(H, r)), (H.lastIndex = 0), (n -= 1) return e } var G = /\d/, @@ -1249,9 +1599,17 @@ ? se[e](t._strict, t._locale) : new RegExp( fe( - e.replace('\\', '').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function(e, t, n, r, l) { - return t || n || r || l - }), + e + .replace('\\', '') + .replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function( + e, + t, + n, + r, + l, + ) { + return t || n || r || l + }), ), ) } @@ -1331,24 +1689,38 @@ ke = je('FullYear', !0) function je(e, t) { return function(n) { - return null != n ? (Ne(this, e, n), l.updateOffset(this, t), this) : Ce(this, e) + return null != n + ? (Ne(this, e, n), l.updateOffset(this, t), this) + : Ce(this, e) } } function Ce(e, t) { - return e.isValid() ? e._d['get' + (e._isUTC ? 'UTC' : '') + t]() : NaN + return e.isValid() + ? e._d['get' + (e._isUTC ? 'UTC' : '') + t]() + : NaN } function Ne(e, t, n) { e.isValid() && !isNaN(n) && - ('FullYear' === t && Me(e.year()) && 1 === e.month() && 29 === e.date() - ? e._d['set' + (e._isUTC ? 'UTC' : '') + t](n, e.month(), Ae(n, e.month())) + ('FullYear' === t && + Me(e.year()) && + 1 === e.month() && + 29 === e.date() + ? e._d['set' + (e._isUTC ? 'UTC' : '') + t]( + n, + e.month(), + Ae(n, e.month()), + ) : e._d['set' + (e._isUTC ? 'UTC' : '') + t](n)) } function Ae(e, t) { if (isNaN(e) || isNaN(t)) return NaN var n, r = ((t % (n = 12)) + n) % n - return (e += (t - r) / 12), 1 === r ? (Me(e) ? 29 : 28) : 31 - ((r % 7) % 2) + return ( + (e += (t - r) / 12), + 1 === r ? (Me(e) ? 29 : 28) : 31 - ((r % 7) % 2) + ) } ;(Se = Array.prototype.indexOf ? Array.prototype.indexOf @@ -1384,7 +1756,9 @@ null != l ? (t[ge] = l) : (h(n).invalidMonth = e) }) var Pe = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, - xe = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + xe = 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_', + ), Ye = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_') function Ie(e, t) { var n @@ -1392,10 +1766,16 @@ if ('string' == typeof t) if (/^\d+$/.test(t)) t = O(t) else if (!a((t = e.localeData().monthsParse(t)))) return e - return (n = Math.min(e.date(), Ae(e.year(), t))), e._d['set' + (e._isUTC ? 'UTC' : '') + 'Month'](t, n), e + return ( + (n = Math.min(e.date(), Ae(e.year(), t))), + e._d['set' + (e._isUTC ? 'UTC' : '') + 'Month'](t, n), + e + ) } function Fe(e) { - return null != e ? (Ie(this, e), l.updateOffset(this, !0), this) : Ce(this, 'Month') + return null != e + ? (Ie(this, e), l.updateOffset(this, !0), this) + : Ce(this, 'Month') } var Re = ae, Be = ae @@ -1414,18 +1794,27 @@ l.push(this.months(n, '')), u.push(this.months(n, '')), u.push(this.monthsShort(n, '')) - for (r.sort(e), l.sort(e), u.sort(e), t = 0; t < 12; t++) (r[t] = fe(r[t])), (l[t] = fe(l[t])) + for (r.sort(e), l.sort(e), u.sort(e), t = 0; t < 12; t++) + (r[t] = fe(r[t])), (l[t] = fe(l[t])) for (t = 0; t < 24; t++) u[t] = fe(u[t]) ;(this._monthsRegex = new RegExp('^(' + u.join('|') + ')', 'i')), (this._monthsShortRegex = this._monthsRegex), - (this._monthsStrictRegex = new RegExp('^(' + l.join('|') + ')', 'i')), - (this._monthsShortStrictRegex = new RegExp('^(' + r.join('|') + ')', 'i')) + (this._monthsStrictRegex = new RegExp( + '^(' + l.join('|') + ')', + 'i', + )), + (this._monthsShortStrictRegex = new RegExp( + '^(' + r.join('|') + ')', + 'i', + )) } function Ve(e) { var t if (e < 100 && e >= 0) { var n = Array.prototype.slice.call(arguments) - ;(n[0] = e + 400), (t = new Date(Date.UTC.apply(null, n))), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e) + ;(n[0] = e + 400), + (t = new Date(Date.UTC.apply(null, n))), + isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e) } else t = new Date(Date.UTC.apply(null, arguments)) return t } @@ -1441,7 +1830,11 @@ a = Qe(e, r, l), s = 1 + 7 * (t - 1) + o + a return ( - s <= 0 ? (i = Le((u = e - 1)) + s) : s > Le(e) ? ((u = e + 1), (i = s - Le(e))) : ((u = e), (i = s)), + s <= 0 + ? (i = Le((u = e - 1)) + s) + : s > Le(e) + ? ((u = e + 1), (i = s - Le(e))) + : ((u = e), (i = s)), { year: u, dayOfYear: i } ) } @@ -1517,7 +1910,9 @@ me(['d', 'e', 'E'], function(e, t, n, r) { t[r] = O(e) }) - var $e = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + var $e = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_', + ), ze = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), Je = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), Ke = ae, @@ -1552,9 +1947,18 @@ ;(this._weekdaysRegex = new RegExp('^(' + s.join('|') + ')', 'i')), (this._weekdaysShortRegex = this._weekdaysRegex), (this._weekdaysMinRegex = this._weekdaysRegex), - (this._weekdaysStrictRegex = new RegExp('^(' + a.join('|') + ')', 'i')), - (this._weekdaysShortStrictRegex = new RegExp('^(' + o.join('|') + ')', 'i')), - (this._weekdaysMinStrictRegex = new RegExp('^(' + i.join('|') + ')', 'i')) + (this._weekdaysStrictRegex = new RegExp( + '^(' + a.join('|') + ')', + 'i', + )), + (this._weekdaysShortStrictRegex = new RegExp( + '^(' + o.join('|') + ')', + 'i', + )), + (this._weekdaysMinStrictRegex = new RegExp( + '^(' + i.join('|') + ')', + 'i', + )) } function tt() { return this.hours() % 12 || 12 @@ -1576,13 +1980,20 @@ return '' + tt.apply(this) + R(this.minutes(), 2) }), U('hmmss', 0, 0, function() { - return '' + tt.apply(this) + R(this.minutes(), 2) + R(this.seconds(), 2) + return ( + '' + + tt.apply(this) + + R(this.minutes(), 2) + + R(this.seconds(), 2) + ) }), U('Hmm', 0, 0, function() { return '' + this.hours() + R(this.minutes(), 2) }), U('Hmmss', 0, 0, function() { - return '' + this.hours() + R(this.minutes(), 2) + R(this.seconds(), 2) + return ( + '' + this.hours() + R(this.minutes(), 2) + R(this.seconds(), 2) + ) }), nt('a', !0), nt('A', !1), @@ -1613,12 +2024,17 @@ }), he('hmm', function(e, t, n) { var r = e.length - 2 - ;(t[be] = O(e.substr(0, r))), (t[Te] = O(e.substr(r))), (h(n).bigHour = !0) + ;(t[be] = O(e.substr(0, r))), + (t[Te] = O(e.substr(r))), + (h(n).bigHour = !0) }), he('hmmss', function(e, t, n) { var r = e.length - 4, l = e.length - 2 - ;(t[be] = O(e.substr(0, r))), (t[Te] = O(e.substr(r, 2))), (t[we] = O(e.substr(l))), (h(n).bigHour = !0) + ;(t[be] = O(e.substr(0, r))), + (t[Te] = O(e.substr(r, 2))), + (t[we] = O(e.substr(l))), + (h(n).bigHour = !0) }), he('Hmm', function(e, t, n) { var r = e.length - 2 @@ -1627,7 +2043,9 @@ he('Hmmss', function(e, t, n) { var r = e.length - 4, l = e.length - 2 - ;(t[be] = O(e.substr(0, r))), (t[Te] = O(e.substr(r, 2))), (t[we] = O(e.substr(l))) + ;(t[be] = O(e.substr(0, r))), + (t[Te] = O(e.substr(r, 2))), + (t[we] = O(e.substr(l))) }) var lt, ut = je('Hours', !0), @@ -1696,7 +2114,9 @@ ? (lt = n) : 'undefined' != typeof console && console.warn && - console.warn('Locale ' + e + ' not found. Did you forget to load it?')), + console.warn( + 'Locale ' + e + ' not found. Did you forget to load it?', + )), lt._abbr ) } @@ -1714,7 +2134,11 @@ if (null != ot[t.parentLocale]) r = ot[t.parentLocale]._config else { if (null == (n = ct(t.parentLocale))) - return at[t.parentLocale] || (at[t.parentLocale] = []), at[t.parentLocale].push({ name: e, config: t }), null + return ( + at[t.parentLocale] || (at[t.parentLocale] = []), + at[t.parentLocale].push({ name: e, config: t }), + null + ) r = n._config } return ( @@ -1731,14 +2155,23 @@ } function pt(e) { var t - if ((e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)) return lt + if ( + (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) + ) + return lt if (!u(e)) { if ((t = ct(e))) return t e = [e] } return (function(e) { for (var t, n, r, l, u = 0; u < e.length; ) { - for (l = st(e[u]).split('-'), t = l.length, n = (n = st(e[u + 1])) ? n.split('-') : null; t > 0; ) { + for ( + l = st(e[u]).split('-'), + t = l.length, + n = (n = st(e[u + 1])) ? n.split('-') : null; + t > 0; + + ) { if ((r = ct(l.slice(0, t).join('-')))) return r if (n && n.length >= t && D(l, n, !0) >= t - 1) break t-- @@ -1759,7 +2192,10 @@ ? ge : n[ve] < 1 || n[ve] > Ae(n[_e], n[ge]) ? ve - : n[be] < 0 || n[be] > 24 || (24 === n[be] && (0 !== n[Te] || 0 !== n[we] || 0 !== n[Oe])) + : n[be] < 0 || + n[be] > 24 || + (24 === n[be] && + (0 !== n[Te] || 0 !== n[we] || 0 !== n[Oe])) ? be : n[Te] < 0 || n[Te] > 59 ? Te @@ -1819,11 +2255,14 @@ ? (h(e)._overflowWeeks = !0) : null != a ? (h(e)._overflowWeekday = !0) - : ((o = Ue(n, r, l, u, i)), (e._a[_e] = o.year), (e._dayOfYear = o.dayOfYear)) + : ((o = Ue(n, r, l, u, i)), + (e._a[_e] = o.year), + (e._dayOfYear = o.dayOfYear)) })(e), null != e._dayOfYear && ((i = mt(e._a[_e], r[_e])), - (e._dayOfYear > Le(i) || 0 === e._dayOfYear) && (h(e)._overflowDayOfYear = !0), + (e._dayOfYear > Le(i) || 0 === e._dayOfYear) && + (h(e)._overflowDayOfYear = !0), (n = Ve(i, 0, e._dayOfYear)), (e._a[ge] = n.getUTCMonth()), (e._a[ve] = n.getUTCDate())), @@ -1832,24 +2271,34 @@ ++t ) e._a[t] = o[t] = r[t] - for (; t < 7; t++) e._a[t] = o[t] = null == e._a[t] ? (2 === t ? 1 : 0) : e._a[t] - 24 === e._a[be] && 0 === e._a[Te] && 0 === e._a[we] && 0 === e._a[Oe] && ((e._nextDay = !0), (e._a[be] = 0)), + for (; t < 7; t++) + e._a[t] = o[t] = null == e._a[t] ? (2 === t ? 1 : 0) : e._a[t] + 24 === e._a[be] && + 0 === e._a[Te] && + 0 === e._a[we] && + 0 === e._a[Oe] && + ((e._nextDay = !0), (e._a[be] = 0)), (e._d = (e._useUTC ? Ve : function(e, t, n, r, l, u, i) { var o return ( e < 100 && e >= 0 - ? ((o = new Date(e + 400, t, n, r, l, u, i)), isFinite(o.getFullYear()) && o.setFullYear(e)) + ? ((o = new Date(e + 400, t, n, r, l, u, i)), + isFinite(o.getFullYear()) && o.setFullYear(e)) : (o = new Date(e, t, n, r, l, u, i)), o ) } ).apply(null, o)), (u = e._useUTC ? e._d.getUTCDay() : e._d.getDay()), - null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), + null != e._tzm && + e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[be] = 24), - e._w && void 0 !== e._w.d && e._w.d !== u && (h(e).weekdayMismatch = !0) + e._w && + void 0 !== e._w.d && + e._w.d !== u && + (h(e).weekdayMismatch = !0) } } var _t = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, @@ -1917,7 +2366,18 @@ var t = parseInt(e, 10) return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t } - var Lt = { UT: 0, GMT: 0, EDT: -240, EST: -300, CDT: -300, CST: -360, MDT: -360, MST: -420, PDT: -420, PST: -480 } + var Lt = { + UT: 0, + GMT: 0, + EDT: -240, + EST: -300, + CDT: -300, + CST: -360, + MDT: -360, + MST: -420, + PDT: -420, + PST: -480, + } function Mt(e) { var t, n, @@ -1934,21 +2394,29 @@ .replace(/\s\s*$/, ''), ) if (a) { - var s = ((t = a[4]), - (n = a[3]), - (r = a[2]), - (l = a[5]), - (u = a[6]), - (i = a[7]), - (o = [Et(t), Ye.indexOf(n), parseInt(r, 10), parseInt(l, 10), parseInt(u, 10)]), - i && o.push(parseInt(i, 10)), - o) + var s = + ((t = a[4]), + (n = a[3]), + (r = a[2]), + (l = a[5]), + (u = a[6]), + (i = a[7]), + (o = [ + Et(t), + Ye.indexOf(n), + parseInt(r, 10), + parseInt(l, 10), + parseInt(u, 10), + ]), + i && o.push(parseInt(i, 10)), + o) if ( !(function(e, t, n) { if (e) { var r = ze.indexOf(e), l = new Date(t[0], t[1], t[2]).getDay() - if (r !== l) return (h(n).weekdayMismatch = !0), (n._isValid = !1), !1 + if (r !== l) + return (h(n).weekdayMismatch = !0), (n._isValid = !1), !1 } return !0 })(a[1], s, e) @@ -1980,18 +2448,27 @@ o = '' + e._i, a = o.length, s = 0 - for (r = W(e._f, e._locale).match(B) || [], t = 0; t < r.length; t++) + for ( + r = W(e._f, e._locale).match(B) || [], t = 0; + t < r.length; + t++ + ) (u = r[t]), (n = (o.match(de(u, e)) || [])[0]) && - ((i = o.substr(0, o.indexOf(n))).length > 0 && h(e).unusedInput.push(i), + ((i = o.substr(0, o.indexOf(n))).length > 0 && + h(e).unusedInput.push(i), (o = o.slice(o.indexOf(n) + n.length)), (s += n.length)), Q[u] - ? (n ? (h(e).empty = !1) : h(e).unusedTokens.push(u), ye(u, n, e)) + ? (n ? (h(e).empty = !1) : h(e).unusedTokens.push(u), + ye(u, n, e)) : e._strict && !n && h(e).unusedTokens.push(u) ;(h(e).charsLeftOver = a - s), o.length > 0 && h(e).unusedInput.push(o), - e._a[be] <= 12 && !0 === h(e).bigHour && e._a[be] > 0 && (h(e).bigHour = void 0), + e._a[be] <= 12 && + !0 === h(e).bigHour && + e._a[be] > 0 && + (h(e).bigHour = void 0), (h(e).parsedDateParts = e._a.slice(0)), (h(e).meridiem = e._meridiem), (e._a[be] = (function(e, t, n) { @@ -2001,7 +2478,9 @@ : null != e.meridiemHour ? e.meridiemHour(t, n) : null != e.isPM - ? ((r = e.isPM(n)) && t < 12 && (t += 12), r || 12 !== t || (t = 0), t) + ? ((r = e.isPM(n)) && t < 12 && (t += 12), + r || 12 !== t || (t = 0), + t) : t })(e._locale, e._a[be], e._meridiem)), yt(e), @@ -2024,7 +2503,11 @@ : u(n) ? (function(e) { var t, n, r, l, u - if (0 === e._f.length) return (h(e).invalidFormat = !0), void (e._d = new Date(NaN)) + if (0 === e._f.length) + return ( + (h(e).invalidFormat = !0), + void (e._d = new Date(NaN)) + ) for (l = 0; l < e._f.length; l++) (u = 0), (t = g({}, e)), @@ -2054,7 +2537,9 @@ !1 === e._isValid && (delete e._isValid, Mt(e), - !1 === e._isValid && (delete e._isValid, l.createFromInputFallback(e)))) + !1 === e._isValid && + (delete e._isValid, + l.createFromInputFallback(e)))) : (e._d = new Date(+t[1])) })(e) : u(t) @@ -2067,7 +2552,15 @@ if (!e._d) { var t = Y(e._i) ;(e._a = c( - [t.year, t.month, t.day || t.date, t.hour, t.minute, t.second, t.millisecond], + [ + t.year, + t.month, + t.day || t.date, + t.hour, + t.minute, + t.second, + t.millisecond, + ], function(e) { return e && parseInt(e, 10) }, @@ -2090,7 +2583,8 @@ (!0 !== n && !1 !== n) || ((r = n), (n = void 0)), ((i(e) && (function(e) { - if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length + if (Object.getOwnPropertyNames) + return 0 === Object.getOwnPropertyNames(e).length var t for (t in e) if (e.hasOwnProperty(t)) return !1 return !0 @@ -2103,7 +2597,8 @@ (a._i = e), (a._f = t), (a._strict = r), - (o = new b(ht(kt(a))))._nextDay && (o.add(1, 'd'), (o._nextDay = void 0)), + (o = new b(ht(kt(a))))._nextDay && + (o.add(1, 'd'), (o._nextDay = void 0)), o ) } @@ -2122,23 +2617,43 @@ 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', function() { var e = Ct.apply(null, arguments) - return this.isValid() && e.isValid() ? (e < this ? this : e) : y() + return this.isValid() && e.isValid() + ? e < this + ? this + : e + : y() }, ), At = L( 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', function() { var e = Ct.apply(null, arguments) - return this.isValid() && e.isValid() ? (e > this ? this : e) : y() + return this.isValid() && e.isValid() + ? e > this + ? this + : e + : y() }, ) function Pt(e, t) { var n, r - if ((1 === t.length && u(t[0]) && (t = t[0]), !t.length)) return Ct() - for (n = t[0], r = 1; r < t.length; ++r) (t[r].isValid() && !t[r][e](n)) || (n = t[r]) + if ((1 === t.length && u(t[0]) && (t = t[0]), !t.length)) + return Ct() + for (n = t[0], r = 1; r < t.length; ++r) + (t[r].isValid() && !t[r][e](n)) || (n = t[r]) return n } - var xt = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'] + var xt = [ + 'year', + 'quarter', + 'month', + 'week', + 'day', + 'hour', + 'minute', + 'second', + 'millisecond', + ] function Yt(e) { var t = Y(e), n = t.year || 0, @@ -2151,7 +2666,9 @@ s = t.second || 0, c = t.millisecond || 0 ;(this._isValid = (function(e) { - for (var t in e) if (-1 === Se.call(xt, t) || (null != e[t] && isNaN(e[t]))) return !1 + for (var t in e) + if (-1 === Se.call(xt, t) || (null != e[t] && isNaN(e[t]))) + return !1 for (var n = !1, r = 0; r < xt.length; ++r) if (e[xt[r]]) { if (n) return !1 @@ -2176,7 +2693,10 @@ U(e, 0, 0, function() { var e = this.utcOffset(), n = '+' - return e < 0 && ((e = -e), (n = '-')), n + R(~~(e / 60), 2) + t + R(~~e % 60, 2) + return ( + e < 0 && ((e = -e), (n = '-')), + n + R(~~(e / 60), 2) + t + R(~~e % 60, 2) + ) }) } Rt('Z', ':'), @@ -2199,7 +2719,8 @@ var n, r return t._isUTC ? ((n = t.clone()), - (r = (T(e) || s(e) ? e.valueOf() : Ct(e).valueOf()) - n.valueOf()), + (r = + (T(e) || s(e) ? e.valueOf() : Ct(e).valueOf()) - n.valueOf()), n._d.setTime(n._d.valueOf() + r), l.updateOffset(n, !1), n) @@ -2230,7 +2751,14 @@ ? ((s = {}), t ? (s[t] = e) : (s.milliseconds = e)) : (c = qt.exec(e)) ? ((n = '-' === c[1] ? -1 : 1), - (s = { y: 0, d: O(c[ve]) * n, h: O(c[be]) * n, m: O(c[Te]) * n, s: O(c[we]) * n, ms: O(Ft(1e3 * c[Oe])) * n })) + (s = { + y: 0, + d: O(c[ve]) * n, + h: O(c[be]) * n, + m: O(c[Te]) * n, + s: O(c[we]) * n, + ms: O(Ft(1e3 * c[Oe])) * n, + })) : (c = Wt.exec(e)) ? ((n = '-' === c[1] ? -1 : 1), (s = { @@ -2253,7 +2781,8 @@ ? ((i = Vt(i, u)), u.isBefore(i) ? (o = zt(u, i)) - : (((o = zt(i, u)).milliseconds = -o.milliseconds), (o.months = -o.months)), + : (((o = zt(i, u)).milliseconds = -o.milliseconds), + (o.months = -o.months)), o) : { milliseconds: 0, months: 0 }), ((s = {}).ms = l.milliseconds), @@ -2325,16 +2854,21 @@ u = e.clone().add(l, 'months') return ( t - u < 0 - ? ((n = e.clone().add(l - 1, 'months')), (r = (t - u) / (u - n))) - : ((n = e.clone().add(l + 1, 'months')), (r = (t - u) / (n - u))), + ? ((n = e.clone().add(l - 1, 'months')), + (r = (t - u) / (u - n))) + : ((n = e.clone().add(l + 1, 'months')), + (r = (t - u) / (n - u))), -(l + r) || 0 ) } function tn(e) { var t - return void 0 === e ? this._locale._abbr : (null != (t = pt(e)) && (this._locale = t), this) + return void 0 === e + ? this._locale._abbr + : (null != (t = pt(e)) && (this._locale = t), this) } - ;(l.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'), (l.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]') + ;(l.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'), + (l.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]') var nn = L( 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', function(e) { @@ -2352,10 +2886,14 @@ return ((e % t) + t) % t } function cn(e, t, n) { - return e < 100 && e >= 0 ? new Date(e + 400, t, n) - an : new Date(e, t, n).valueOf() + return e < 100 && e >= 0 + ? new Date(e + 400, t, n) - an + : new Date(e, t, n).valueOf() } function dn(e, t, n) { - return e < 100 && e >= 0 ? Date.UTC(e + 400, t, n) - an : Date.UTC(e, t, n) + return e < 100 && e >= 0 + ? Date.UTC(e + 400, t, n) - an + : Date.UTC(e, t, n) } function fn(e, t) { U(0, [e, e.length], 0, t) @@ -2369,7 +2907,12 @@ function(e, t, n, r, l) { var u = Ue(e, t, n, r, l), i = Ve(u.year, 0, u.dayOfYear) - return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this + return ( + this.year(i.getUTCFullYear()), + this.month(i.getUTCMonth()), + this.date(i.getUTCDate()), + this + ) }.call(this, e, t, n, r, l)) } U(0, ['gg', 2], 0, function() { @@ -2413,7 +2956,9 @@ ce('D', Z), ce('DD', Z, $), ce('Do', function(e, t) { - return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient + return e + ? t._dayOfMonthOrdinalParse || t._ordinalParse + : t._dayOfMonthOrdinalParseLenient }), he(['D', 'DD'], ve), he('Do', function(e, t) { @@ -2435,7 +2980,12 @@ ce('mm', Z, $), he(['m', 'mm'], Te) var mn = je('Minutes', !1) - U('s', ['ss', 2], 0, 'second'), P('second', 's'), F('second', 15), ce('s', Z), ce('ss', Z, $), he(['s', 'ss'], we) + U('s', ['ss', 2], 0, 'second'), + P('second', 's'), + F('second', 15), + ce('s', Z), + ce('ss', Z, $), + he(['s', 'ss'], we) var yn, _n = je('Seconds', !1) for ( @@ -2490,7 +3040,9 @@ r = Vt(n, this).startOf('day'), u = l.calendarFormat(this, r) || 'sameElse', i = t && (j(t[u]) ? t[u].call(this, n) : t[u]) - return this.format(i || this.localeData().calendar(u, this, Ct(n))) + return this.format( + i || this.localeData().calendar(u, this, Ct(n)), + ) }), (bn.clone = function() { return new b(this) @@ -2499,7 +3051,9 @@ var r, l, u if (!this.isValid()) return NaN if (!(r = Vt(e, this)).isValid()) return NaN - switch (((l = 6e4 * (r.utcOffset() - this.utcOffset())), (t = x(t)))) { + switch ( + ((l = 6e4 * (r.utcOffset() - this.utcOffset())), (t = x(t))) + ) { case 'year': u = en(this, r) / 12 break @@ -2531,30 +3085,50 @@ }), (bn.endOf = function(e) { var t - if (void 0 === (e = x(e)) || 'millisecond' === e || !this.isValid()) return this + if ( + void 0 === (e = x(e)) || + 'millisecond' === e || + !this.isValid() + ) + return this var n = this._isUTC ? dn : cn switch (e) { case 'year': t = n(this.year() + 1, 0, 1) - 1 break case 'quarter': - t = n(this.year(), this.month() - (this.month() % 3) + 3, 1) - 1 + t = + n(this.year(), this.month() - (this.month() % 3) + 3, 1) - 1 break case 'month': t = n(this.year(), this.month() + 1, 1) - 1 break case 'week': - t = n(this.year(), this.month(), this.date() - this.weekday() + 7) - 1 + t = + n( + this.year(), + this.month(), + this.date() - this.weekday() + 7, + ) - 1 break case 'isoWeek': - t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1 + t = + n( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + 7, + ) - 1 break case 'day': case 'date': t = n(this.year(), this.month(), this.date() + 1) - 1 break case 'hour': - ;(t = this._d.valueOf()), (t += on - sn(t + (this._isUTC ? 0 : this.utcOffset() * un), on) - 1) + ;(t = this._d.valueOf()), + (t += + on - + sn(t + (this._isUTC ? 0 : this.utcOffset() * un), on) - + 1) break case 'minute': ;(t = this._d.valueOf()), (t += un - sn(t, un) - 1) @@ -2570,7 +3144,8 @@ return this.localeData().postformat(t) }), (bn.from = function(e, t) { - return this.isValid() && ((T(e) && e.isValid()) || Ct(e).isValid()) + return this.isValid() && + ((T(e) && e.isValid()) || Ct(e).isValid()) ? Gt({ to: this, from: e }) .locale(this.locale()) .humanize(!t) @@ -2580,7 +3155,8 @@ return this.from(Ct(), e) }), (bn.to = function(e, t) { - return this.isValid() && ((T(e) && e.isValid()) || Ct(e).isValid()) + return this.isValid() && + ((T(e) && e.isValid()) || Ct(e).isValid()) ? Gt({ from: this, to: e }) .locale(this.locale()) .humanize(!t) @@ -2623,7 +3199,9 @@ u = T(t) ? t : Ct(t) return ( !!(this.isValid() && l.isValid() && u.isValid()) && - (('(' === (r = r || '()')[0] ? this.isAfter(l, n) : !this.isBefore(l, n)) && + (('(' === (r = r || '()')[0] + ? this.isAfter(l, n) + : !this.isBefore(l, n)) && (')' === r[1] ? this.isBefore(u, n) : !this.isAfter(u, n))) ) }), @@ -2684,7 +3262,12 @@ }), (bn.startOf = function(e) { var t - if (void 0 === (e = x(e)) || 'millisecond' === e || !this.isValid()) return this + if ( + void 0 === (e = x(e)) || + 'millisecond' === e || + !this.isValid() + ) + return this var n = this._isUTC ? dn : cn switch (e) { case 'year': @@ -2700,14 +3283,19 @@ t = n(this.year(), this.month(), this.date() - this.weekday()) break case 'isoWeek': - t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1)) + t = n( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1), + ) break case 'day': case 'date': t = n(this.year(), this.month(), this.date()) break case 'hour': - ;(t = this._d.valueOf()), (t -= sn(t + (this._isUTC ? 0 : this.utcOffset() * un), on)) + ;(t = this._d.valueOf()), + (t -= sn(t + (this._isUTC ? 0 : this.utcOffset() * un), on)) break case 'minute': ;(t = this._d.valueOf()), (t -= sn(t, un)) @@ -2720,7 +3308,15 @@ (bn.subtract = Xt), (bn.toArray = function() { var e = this - return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()] + return [ + e.year(), + e.month(), + e.date(), + e.hour(), + e.minute(), + e.second(), + e.millisecond(), + ] }), (bn.toObject = function() { var e = this @@ -2742,18 +3338,34 @@ var t = !0 !== e, n = t ? this.clone().utc() : this return n.year() < 0 || n.year() > 9999 - ? q(n, t ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ') + ? q( + n, + t + ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' + : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ', + ) : j(Date.prototype.toISOString) ? t ? this.toDate().toISOString() - : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace('Z', q(n, 'Z')) - : q(n, t ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ') + : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3) + .toISOString() + .replace('Z', q(n, 'Z')) + : q( + n, + t + ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' + : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ', + ) }), (bn.inspect = function() { - if (!this.isValid()) return 'moment.invalid(/* ' + this._i + ' */)' + if (!this.isValid()) + return 'moment.invalid(/* ' + this._i + ' */)' var e = 'moment', t = '' - this.isLocal() || ((e = 0 === this.utcOffset() ? 'moment.utc' : 'moment.parseZone'), (t = 'Z')) + this.isLocal() || + ((e = + 0 === this.utcOffset() ? 'moment.utc' : 'moment.parseZone'), + (t = 'Z')) var n = '[' + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY', l = t + '[")]' @@ -2774,20 +3386,35 @@ return this._d.valueOf() - 6e4 * (this._offset || 0) }), (bn.creationData = function() { - return { input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict } + return { + input: this._i, + format: this._f, + locale: this._locale, + isUTC: this._isUTC, + strict: this._strict, + } }), (bn.year = ke), (bn.isLeapYear = function() { return Me(this.year()) }), (bn.weekYear = function(e) { - return pn.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy) + return pn.call( + this, + e, + this.week(), + this.weekday(), + this.localeData()._week.dow, + this.localeData()._week.doy, + ) }), (bn.isoWeekYear = function(e) { return pn.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4) }), (bn.quarter = bn.quarters = function(e) { - return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + (this.month() % 3)) + return null == e + ? Math.ceil((this.month() + 1) / 3) + : this.month(3 * (e - 1) + (this.month() % 3)) }), (bn.month = Fe), (bn.daysInMonth = function() { @@ -2834,14 +3461,22 @@ if (!this.isValid()) return null != e ? this : NaN if (null != e) { var t = (function(e, t) { - return 'string' == typeof e ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e + return 'string' == typeof e + ? t.weekdaysParse(e) % 7 || 7 + : isNaN(e) + ? null + : e })(e, this.localeData()) return this.day(this.day() % 7 ? t : t - 7) } return this.day() || 7 }), (bn.dayOfYear = function(e) { - var t = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1 + var t = + Math.round( + (this.clone().startOf('day') - this.clone().startOf('year')) / + 864e5, + ) + 1 return null == e ? t : this.add(e - t, 'd') }), (bn.hour = bn.hours = ut), @@ -2865,7 +3500,9 @@ (!t || this._changeInProgress ? Kt(this, Gt(e - u, 'm'), 1, !1) : this._changeInProgress || - ((this._changeInProgress = !0), l.updateOffset(this, !0), (this._changeInProgress = null))), + ((this._changeInProgress = !0), + l.updateOffset(this, !0), + (this._changeInProgress = null))), this ) } @@ -2875,7 +3512,13 @@ return this.utcOffset(0, e) }), (bn.local = function(e) { - return this._isUTC && (this.utcOffset(0, e), (this._isUTC = !1), e && this.subtract(Qt(this), 'm')), this + return ( + this._isUTC && + (this.utcOffset(0, e), + (this._isUTC = !1), + e && this.subtract(Qt(this), 'm')), + this + ) }), (bn.parseZone = function() { if (null != this._tzm) this.utcOffset(this._tzm, !1, !0) @@ -2886,7 +3529,11 @@ return this }), (bn.hasAlignedHourOffset = function(e) { - return !!this.isValid() && ((e = e ? Ct(e).utcOffset() : 0), (this.utcOffset() - e) % 60 == 0) + return ( + !!this.isValid() && + ((e = e ? Ct(e).utcOffset() : 0), + (this.utcOffset() - e) % 60 == 0) + ) }), (bn.isDST = function() { return ( @@ -2914,13 +3561,26 @@ (bn.zoneName = function() { return this._isUTC ? 'Coordinated Universal Time' : '' }), - (bn.dates = L('dates accessor is deprecated. Use date instead.', hn)), - (bn.months = L('months accessor is deprecated. Use month instead', Fe)), - (bn.years = L('years accessor is deprecated. Use year instead', ke)), + (bn.dates = L( + 'dates accessor is deprecated. Use date instead.', + hn, + )), + (bn.months = L( + 'months accessor is deprecated. Use month instead', + Fe, + )), + (bn.years = L( + 'years accessor is deprecated. Use year instead', + ke, + )), (bn.zone = L( 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', function(e, t) { - return null != e ? ('string' != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset() + return null != e + ? ('string' != typeof e && (e = -e), + this.utcOffset(e, t), + this) + : -this.utcOffset() }, )), (bn.isDSTShifted = L( @@ -2930,7 +3590,8 @@ var e = {} if ((g(e, this), (e = kt(e))._a)) { var t = e._isUTC ? p(e._a) : Ct(e._a) - this._isDSTShifted = this.isValid() && D(e._a, t.toArray()) > 0 + this._isDSTShifted = + this.isValid() && D(e._a, t.toArray()) > 0 } else this._isDSTShifted = !1 return this._isDSTShifted }, @@ -2942,7 +3603,8 @@ return l[n](u, e) } function Dn(e, t, n) { - if ((a(e) && ((t = e), (e = void 0)), (e = e || ''), null != t)) return On(e, t, n, 'month') + if ((a(e) && ((t = e), (e = void 0)), (e = e || ''), null != t)) + return On(e, t, n, 'month') var r, l = [] for (r = 0; r < 12; r++) l[r] = On(e, r, n, 'month') @@ -2951,7 +3613,10 @@ function En(e, t, n, r) { 'boolean' == typeof e ? (a(t) && ((n = t), (t = void 0)), (t = t || '')) - : ((n = t = e), (e = !1), a(t) && ((n = t), (t = void 0)), (t = t || '')) + : ((n = t = e), + (e = !1), + a(t) && ((n = t), (t = void 0)), + (t = t || '')) var l, u = pt(), i = e ? u._week.dow : 0 @@ -2969,9 +3634,12 @@ n = this._longDateFormat[e.toUpperCase()] return t || !n ? t - : ((this._longDateFormat[e] = n.replace(/MMMM|MM|DD|dddd/g, function(e) { - return e.slice(1) - })), + : ((this._longDateFormat[e] = n.replace( + /MMMM|MM|DD|dddd/g, + function(e) { + return e.slice(1) + }, + )), this._longDateFormat[e]) }), (wn.invalidDate = function() { @@ -2995,14 +3663,21 @@ for (n in e) j((t = e[n])) ? (this[n] = t) : (this['_' + n] = t) ;(this._config = e), (this._dayOfMonthOrdinalParseLenient = new RegExp( - (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + '|' + /\d{1,2}/.source, + (this._dayOfMonthOrdinalParse.source || + this._ordinalParse.source) + + '|' + + /\d{1,2}/.source, )) }), (wn.months = function(e, t) { return e ? u(this._months) ? this._months[e.month()] - : this._months[(this._months.isFormat || Pe).test(t) ? 'format' : 'standalone'][e.month()] + : this._months[ + (this._months.isFormat || Pe).test(t) + ? 'format' + : 'standalone' + ][e.month()] : u(this._months) ? this._months : this._months.standalone @@ -3011,7 +3686,9 @@ return e ? u(this._monthsShort) ? this._monthsShort[e.month()] - : this._monthsShort[Pe.test(t) ? 'format' : 'standalone'][e.month()] + : this._monthsShort[Pe.test(t) ? 'format' : 'standalone'][ + e.month() + ] : u(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone @@ -3025,10 +3702,23 @@ u, i = e.toLocaleLowerCase() if (!this._monthsParse) - for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r) + for ( + this._monthsParse = [], + this._longMonthsParse = [], + this._shortMonthsParse = [], + r = 0; + r < 12; + ++r + ) (u = p([2e3, r])), - (this._shortMonthsParse[r] = this.monthsShort(u, '').toLocaleLowerCase()), - (this._longMonthsParse[r] = this.months(u, '').toLocaleLowerCase()) + (this._shortMonthsParse[r] = this.monthsShort( + u, + '', + ).toLocaleLowerCase()), + (this._longMonthsParse[r] = this.months( + u, + '', + ).toLocaleLowerCase()) return n ? 'MMM' === t ? -1 !== (l = Se.call(this._shortMonthsParse, i)) @@ -3050,7 +3740,10 @@ : null }.call(this, e, t, n) for ( - this._monthsParse || ((this._monthsParse = []), (this._longMonthsParse = []), (this._shortMonthsParse = [])), + this._monthsParse || + ((this._monthsParse = []), + (this._longMonthsParse = []), + (this._shortMonthsParse = [])), r = 0; r < 12; r++ @@ -3059,30 +3752,51 @@ ((l = p([2e3, r])), n && !this._longMonthsParse[r] && - ((this._longMonthsParse[r] = new RegExp('^' + this.months(l, '').replace('.', '') + '$', 'i')), - (this._shortMonthsParse[r] = new RegExp('^' + this.monthsShort(l, '').replace('.', '') + '$', 'i'))), + ((this._longMonthsParse[r] = new RegExp( + '^' + this.months(l, '').replace('.', '') + '$', + 'i', + )), + (this._shortMonthsParse[r] = new RegExp( + '^' + this.monthsShort(l, '').replace('.', '') + '$', + 'i', + ))), n || this._monthsParse[r] || - ((u = '^' + this.months(l, '') + '|^' + this.monthsShort(l, '')), - (this._monthsParse[r] = new RegExp(u.replace('.', ''), 'i'))), + ((u = + '^' + + this.months(l, '') + + '|^' + + this.monthsShort(l, '')), + (this._monthsParse[r] = new RegExp( + u.replace('.', ''), + 'i', + ))), n && 'MMMM' === t && this._longMonthsParse[r].test(e)) ) return r - if (n && 'MMM' === t && this._shortMonthsParse[r].test(e)) return r + if (n && 'MMM' === t && this._shortMonthsParse[r].test(e)) + return r if (!n && this._monthsParse[r].test(e)) return r } }), (wn.monthsRegex = function(e) { return this._monthsParseExact - ? (d(this, '_monthsRegex') || He.call(this), e ? this._monthsStrictRegex : this._monthsRegex) + ? (d(this, '_monthsRegex') || He.call(this), + e ? this._monthsStrictRegex : this._monthsRegex) : (d(this, '_monthsRegex') || (this._monthsRegex = Be), - this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex) + this._monthsStrictRegex && e + ? this._monthsStrictRegex + : this._monthsRegex) }), (wn.monthsShortRegex = function(e) { return this._monthsParseExact - ? (d(this, '_monthsRegex') || He.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) - : (d(this, '_monthsShortRegex') || (this._monthsShortRegex = Re), - this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex) + ? (d(this, '_monthsRegex') || He.call(this), + e ? this._monthsShortStrictRegex : this._monthsShortRegex) + : (d(this, '_monthsShortRegex') || + (this._monthsShortRegex = Re), + this._monthsShortStrictRegex && e + ? this._monthsShortStrictRegex + : this._monthsShortRegex) }), (wn.week = function(e) { return qe(e, this._week.dow, this._week.doy).week @@ -3096,14 +3810,26 @@ (wn.weekdays = function(e, t) { var n = u(this._weekdays) ? this._weekdays - : this._weekdays[e && !0 !== e && this._weekdays.isFormat.test(t) ? 'format' : 'standalone'] + : this._weekdays[ + e && !0 !== e && this._weekdays.isFormat.test(t) + ? 'format' + : 'standalone' + ] return !0 === e ? Ge(n, this._week.dow) : e ? n[e.day()] : n }), (wn.weekdaysMin = function(e) { - return !0 === e ? Ge(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin + return !0 === e + ? Ge(this._weekdaysMin, this._week.dow) + : e + ? this._weekdaysMin[e.day()] + : this._weekdaysMin }), (wn.weekdaysShort = function(e) { - return !0 === e ? Ge(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort + return !0 === e + ? Ge(this._weekdaysShort, this._week.dow) + : e + ? this._weekdaysShort[e.day()] + : this._weekdaysShort }), (wn.weekdaysParse = function(e, t, n) { var r, l, u @@ -3114,11 +3840,27 @@ u, i = e.toLocaleLowerCase() if (!this._weekdaysParse) - for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r) + for ( + this._weekdaysParse = [], + this._shortWeekdaysParse = [], + this._minWeekdaysParse = [], + r = 0; + r < 7; + ++r + ) (u = p([2e3, 1]).day(r)), - (this._minWeekdaysParse[r] = this.weekdaysMin(u, '').toLocaleLowerCase()), - (this._shortWeekdaysParse[r] = this.weekdaysShort(u, '').toLocaleLowerCase()), - (this._weekdaysParse[r] = this.weekdays(u, '').toLocaleLowerCase()) + (this._minWeekdaysParse[r] = this.weekdaysMin( + u, + '', + ).toLocaleLowerCase()), + (this._shortWeekdaysParse[r] = this.weekdaysShort( + u, + '', + ).toLocaleLowerCase()), + (this._weekdaysParse[r] = this.weekdays( + u, + '', + ).toLocaleLowerCase()) return n ? 'dddd' === t ? -1 !== (l = Se.call(this._weekdaysParse, i)) @@ -3169,37 +3911,70 @@ ((l = p([2e3, 1]).day(r)), n && !this._fullWeekdaysParse[r] && - ((this._fullWeekdaysParse[r] = new RegExp('^' + this.weekdays(l, '').replace('.', '\\.?') + '$', 'i')), - (this._shortWeekdaysParse[r] = new RegExp('^' + this.weekdaysShort(l, '').replace('.', '\\.?') + '$', 'i')), - (this._minWeekdaysParse[r] = new RegExp('^' + this.weekdaysMin(l, '').replace('.', '\\.?') + '$', 'i'))), + ((this._fullWeekdaysParse[r] = new RegExp( + '^' + this.weekdays(l, '').replace('.', '\\.?') + '$', + 'i', + )), + (this._shortWeekdaysParse[r] = new RegExp( + '^' + + this.weekdaysShort(l, '').replace('.', '\\.?') + + '$', + 'i', + )), + (this._minWeekdaysParse[r] = new RegExp( + '^' + this.weekdaysMin(l, '').replace('.', '\\.?') + '$', + 'i', + ))), this._weekdaysParse[r] || - ((u = '^' + this.weekdays(l, '') + '|^' + this.weekdaysShort(l, '') + '|^' + this.weekdaysMin(l, '')), - (this._weekdaysParse[r] = new RegExp(u.replace('.', ''), 'i'))), + ((u = + '^' + + this.weekdays(l, '') + + '|^' + + this.weekdaysShort(l, '') + + '|^' + + this.weekdaysMin(l, '')), + (this._weekdaysParse[r] = new RegExp( + u.replace('.', ''), + 'i', + ))), n && 'dddd' === t && this._fullWeekdaysParse[r].test(e)) ) return r - if (n && 'ddd' === t && this._shortWeekdaysParse[r].test(e)) return r - if (n && 'dd' === t && this._minWeekdaysParse[r].test(e)) return r + if (n && 'ddd' === t && this._shortWeekdaysParse[r].test(e)) + return r + if (n && 'dd' === t && this._minWeekdaysParse[r].test(e)) + return r if (!n && this._weekdaysParse[r].test(e)) return r } }), (wn.weekdaysRegex = function(e) { return this._weekdaysParseExact - ? (d(this, '_weekdaysRegex') || et.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) + ? (d(this, '_weekdaysRegex') || et.call(this), + e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (d(this, '_weekdaysRegex') || (this._weekdaysRegex = Ke), - this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex) + this._weekdaysStrictRegex && e + ? this._weekdaysStrictRegex + : this._weekdaysRegex) }), (wn.weekdaysShortRegex = function(e) { return this._weekdaysParseExact - ? (d(this, '_weekdaysRegex') || et.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) - : (d(this, '_weekdaysShortRegex') || (this._weekdaysShortRegex = Ze), - this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) + ? (d(this, '_weekdaysRegex') || et.call(this), + e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) + : (d(this, '_weekdaysShortRegex') || + (this._weekdaysShortRegex = Ze), + this._weekdaysShortStrictRegex && e + ? this._weekdaysShortStrictRegex + : this._weekdaysShortRegex) }), (wn.weekdaysMinRegex = function(e) { return this._weekdaysParseExact - ? (d(this, '_weekdaysRegex') || et.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) - : (d(this, '_weekdaysMinRegex') || (this._weekdaysMinRegex = Xe), - this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) + ? (d(this, '_weekdaysRegex') || et.call(this), + e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) + : (d(this, '_weekdaysMinRegex') || + (this._weekdaysMinRegex = Xe), + this._weekdaysMinStrictRegex && e + ? this._weekdaysMinStrictRegex + : this._weekdaysMinRegex) }), (wn.isPM = function(e) { return 'p' === (e + '').toLowerCase().charAt(0) @@ -3211,16 +3986,36 @@ dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, ordinal: function(e) { var t = e % 10, - n = 1 === O((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 === O((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, }), - (l.lang = L('moment.lang is deprecated. Use moment.locale instead.', dt)), - (l.langData = L('moment.langData is deprecated. Use moment.localeData instead.', pt)) + (l.lang = L( + 'moment.lang is deprecated. Use moment.locale instead.', + dt, + )), + (l.langData = L( + 'moment.langData is deprecated. Use moment.localeData instead.', + pt, + )) var Ln = Math.abs function Mn(e, t, n, r) { var l = Gt(t, n) - return (e._milliseconds += r * l._milliseconds), (e._days += r * l._days), (e._months += r * l._months), e._bubble() + return ( + (e._milliseconds += r * l._milliseconds), + (e._days += r * l._days), + (e._months += r * l._months), + e._bubble() + ) } function Sn(e) { return e < 0 ? Math.floor(e) : Math.ceil(e) @@ -3327,7 +4122,9 @@ n, r = this._milliseconds if ('month' === (e = x(e)) || 'quarter' === e || 'year' === e) - switch (((t = this._days + r / 864e5), (n = this._months + kn(t)), e)) { + switch ( + ((t = this._days + r / 864e5), (n = this._months + kn(t)), e) + ) { case 'month': return n case 'quarter': @@ -3364,7 +4161,10 @@ (er.asYears = Bn), (er.valueOf = function() { return this.isValid() - ? this._milliseconds + 864e5 * this._days + (this._months % 12) * 2592e6 + 31536e6 * O(this._months / 12) + ? this._milliseconds + + 864e5 * this._days + + (this._months % 12) * 2592e6 + + 31536e6 * O(this._months / 12) : NaN }), (er._bubble = function() { @@ -3378,7 +4178,9 @@ o = this._months, a = this._data return ( - (u >= 0 && i >= 0 && o >= 0) || (u <= 0 && i <= 0 && o <= 0) || ((u += 864e5 * Sn(jn(o) + i)), (i = 0), (o = 0)), + (u >= 0 && i >= 0 && o >= 0) || + (u <= 0 && i <= 0 && o <= 0) || + ((u += 864e5 * Sn(jn(o) + i)), (i = 0), (o = 0)), (a.milliseconds = u % 1e3), (e = w(u / 1e3)), (a.seconds = e % 60), @@ -3452,7 +4254,10 @@ (er.toJSON = Xn), (er.locale = tn), (er.localeData = rn), - (er.toIsoString = L('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', Xn)), + (er.toIsoString = L( + 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', + Xn, + )), (er.lang = nn), U('X', 0, 0, 'unix'), U('x', 0, 0, 'valueOf'), @@ -3508,8 +4313,16 @@ var n, r, l = it - null != (r = ct(e)) && (l = r._config), (t = C(l, t)), ((n = new N(t)).parentLocale = ot[e]), (ot[e] = n), dt(e) - } else null != ot[e] && (null != ot[e].parentLocale ? (ot[e] = ot[e].parentLocale) : null != ot[e] && delete ot[e]) + null != (r = ct(e)) && (l = r._config), + (t = C(l, t)), + ((n = new N(t)).parentLocale = ot[e]), + (ot[e] = n), + dt(e) + } else + null != ot[e] && + (null != ot[e].parentLocale + ? (ot[e] = ot[e].parentLocale) + : null != ot[e] && delete ot[e]) return ot[e] }), (l.locales = function() { @@ -3520,10 +4333,17 @@ }), (l.normalizeUnits = x), (l.relativeTimeRounding = function(e) { - return void 0 === e ? zn : 'function' == typeof e && ((zn = e), !0) + return void 0 === e + ? zn + : 'function' == typeof e && ((zn = e), !0) }), (l.relativeTimeThreshold = function(e, t) { - return void 0 !== Jn[e] && (void 0 === t ? Jn[e] : ((Jn[e] = t), 's' === e && (Jn.ss = t - 1), !0)) + return ( + void 0 !== Jn[e] && + (void 0 === t + ? Jn[e] + : ((Jn[e] = t), 's' === e && (Jn.ss = t - 1), !0)) + ) }), (l.calendarFormat = function(e, t) { var n = e.diff(t, 'days', !0) @@ -3570,7 +4390,13 @@ l = n(68), u = n(76) function i(e, t, n, u, o, a, s) { - var c = Array.isArray(t) ? (0 !== t.length ? t : void 0) : t ? [t] : void 0, + var c = Array.isArray(t) + ? 0 !== t.length + ? t + : void 0 + : t + ? [t] + : void 0, d = n if (!d && c) { var f = c[0] @@ -3590,7 +4416,9 @@ })) : c && (p = c.reduce(function(e, t) { - return t.loc && e.push(Object(l.a)(t.loc.source, t.loc.start)), e + return ( + t.loc && e.push(Object(l.a)(t.loc.source, t.loc.start)), e + ) }, [])) var m = s if (null == m && null != a) { @@ -3608,10 +4436,18 @@ extensions: { value: m || void 0, enumerable: Boolean(m) }, }), a && a.stack - ? Object.defineProperty(this, 'stack', { value: a.stack, writable: !0, configurable: !0 }) + ? Object.defineProperty(this, 'stack', { + value: a.stack, + writable: !0, + configurable: !0, + }) : Error.captureStackTrace ? Error.captureStackTrace(this, i) - : Object.defineProperty(this, 'stack', { value: Error().stack, writable: !0, configurable: !0 }) + : Object.defineProperty(this, 'stack', { + value: Error().stack, + writable: !0, + configurable: !0, + }) } function o(e) { var t = e.message @@ -3620,7 +4456,11 @@ r = !1, l = void 0 try { - for (var i, o = e.nodes[Symbol.iterator](); !(n = (i = o.next()).done); n = !0) { + for ( + var i, o = e.nodes[Symbol.iterator](); + !(n = (i = o.next()).done); + n = !0 + ) { var a = i.value a.loc && (t += '\n\n' + Object(u.a)(a.loc)) } @@ -3638,7 +4478,11 @@ c = !1, d = void 0 try { - for (var f, p = e.locations[Symbol.iterator](); !(s = (f = p.next()).done); s = !0) { + for ( + var f, p = e.locations[Symbol.iterator](); + !(s = (f = p.next()).done); + s = !0 + ) { var h = f.value t += '\n\n' + Object(u.b)(e.source, h) } @@ -3682,7 +4526,10 @@ return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) @@ -3694,7 +4541,9 @@ throw ((t = null === e ? 'null' - : 'object' === (t = r(e)) && e.constructor && e.constructor.hasOwnProperty('name') + : 'object' === (t = r(e)) && + e.constructor && + e.constructor.hasOwnProperty('name') ? e.constructor.name : 'a '.concat(t)), new TypeError('Expected string but received '.concat(t, '.'))) @@ -3706,7 +4555,12 @@ function(e, t, n) { 'use strict' n.r(t) - var r = Object.freeze({ major: 14, minor: 4, patch: 2, preReleaseTag: null }), + var r = Object.freeze({ + major: 14, + minor: 4, + patch: 2, + preReleaseTag: null, + }), l = n(26), u = n(80), i = n(40), @@ -3745,7 +4599,8 @@ fieldResolver: o, typeResolver: a, }) - if (Object(l.a)(s)) throw new Error('GraphQL execution failed to complete synchronously.') + if (Object(l.a)(s)) + throw new Error('GraphQL execution failed to complete synchronously.') return s } function d(e) { @@ -3832,17 +4687,28 @@ return s.next().then(c, u) }, return: function() { - return r ? r.call(s).then(c, u) : Promise.resolve({ value: void 0, done: !0 }) + return r + ? r.call(s).then(c, u) + : Promise.resolve({ value: void 0, done: !0 }) }, throw: function(e) { - return 'function' == typeof s.throw ? s.throw(e).then(c, u) : Promise.reject(e).catch(l) + return 'function' == typeof s.throw + ? s.throw(e).then(c, u) + : Promise.reject(e).catch(l) }, }), (o = S.$$asyncIterator), (a = function() { return this }), - o in i ? Object.defineProperty(i, o, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : (i[o] = a), + o in i + ? Object.defineProperty(i, o, { + value: a, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (i[o] = a), i ) } @@ -3896,12 +4762,22 @@ var o = Object(a.c)(e, t, n, r, l, u, i) if (Array.isArray(o)) return Promise.resolve({ errors: o }) var s = Object(x.a)(e, o.operation), - c = Object(a.e)(o, s, o.operation.selectionSet, Object.create(null), Object.create(null)), + c = Object(a.e)( + o, + s, + o.operation.selectionSet, + Object.create(null), + Object.create(null), + ), d = Object.keys(c)[0], f = c[d], p = f[0].name.value, h = Object(a.i)(e, s, p) - if (!h) throw new j.a('The subscription field "'.concat(p, '" is not defined.'), f) + if (!h) + throw new j.a( + 'The subscription field "'.concat(p, '" is not defined.'), + f, + ) var m = h.subscribe || o.fieldResolver, y = Object(a.a)(void 0, d), _ = Object(a.d)(o, h, f, s, y), @@ -3909,7 +4785,10 @@ return Promise.resolve(g).then(function(e) { if (e instanceof Error) throw Object(C.a)(e, f, Object(a.k)(y)) if (Object(S.isAsyncIterable)(e)) return e - throw new Error('Subscription field must return Async Iterable. Received: ' + Object(k.a)(e)) + throw new Error( + 'Subscription field must return Async Iterable. Received: ' + + Object(k.a)(e), + ) }) } catch (e) { return Promise.reject(e) @@ -4629,28 +5508,32 @@ }, }, queryType: { - description: 'The type that query operations will be rooted at.', + description: + 'The type that query operations will be rooted at.', type: Object(o.e)(p), resolve: function(e) { return e.getQueryType() }, }, mutationType: { - description: 'If this server supports mutation, the type that mutation operations will be rooted at.', + description: + 'If this server supports mutation, the type that mutation operations will be rooted at.', type: p, resolve: function(e) { return e.getMutationType() }, }, subscriptionType: { - description: 'If this server support subscription, the type that subscription operations will be rooted at.', + description: + 'If this server support subscription, the type that subscription operations will be rooted at.', type: p, resolve: function(e) { return e.getSubscriptionType() }, }, directives: { - description: 'A list of all directives supported by this server.', + description: + 'A list of all directives supported by this server.', type: Object(o.e)(Object(o.d)(Object(o.e)(d))), resolve: function(e) { return e.getDirectives() @@ -4697,27 +5580,83 @@ description: 'A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.', values: { - QUERY: { value: s.a.QUERY, description: 'Location adjacent to a query operation.' }, - MUTATION: { value: s.a.MUTATION, description: 'Location adjacent to a mutation operation.' }, - SUBSCRIPTION: { value: s.a.SUBSCRIPTION, description: 'Location adjacent to a subscription operation.' }, - FIELD: { value: s.a.FIELD, description: 'Location adjacent to a field.' }, - FRAGMENT_DEFINITION: { value: s.a.FRAGMENT_DEFINITION, description: 'Location adjacent to a fragment definition.' }, - FRAGMENT_SPREAD: { value: s.a.FRAGMENT_SPREAD, description: 'Location adjacent to a fragment spread.' }, - INLINE_FRAGMENT: { value: s.a.INLINE_FRAGMENT, description: 'Location adjacent to an inline fragment.' }, - VARIABLE_DEFINITION: { value: s.a.VARIABLE_DEFINITION, description: 'Location adjacent to a variable definition.' }, - SCHEMA: { value: s.a.SCHEMA, description: 'Location adjacent to a schema definition.' }, - SCALAR: { value: s.a.SCALAR, description: 'Location adjacent to a scalar definition.' }, - OBJECT: { value: s.a.OBJECT, description: 'Location adjacent to an object type definition.' }, - FIELD_DEFINITION: { value: s.a.FIELD_DEFINITION, description: 'Location adjacent to a field definition.' }, - ARGUMENT_DEFINITION: { value: s.a.ARGUMENT_DEFINITION, description: 'Location adjacent to an argument definition.' }, - INTERFACE: { value: s.a.INTERFACE, description: 'Location adjacent to an interface definition.' }, - UNION: { value: s.a.UNION, description: 'Location adjacent to a union definition.' }, - ENUM: { value: s.a.ENUM, description: 'Location adjacent to an enum definition.' }, - ENUM_VALUE: { value: s.a.ENUM_VALUE, description: 'Location adjacent to an enum value definition.' }, - INPUT_OBJECT: { value: s.a.INPUT_OBJECT, description: 'Location adjacent to an input object type definition.' }, + QUERY: { + value: s.a.QUERY, + description: 'Location adjacent to a query operation.', + }, + MUTATION: { + value: s.a.MUTATION, + description: 'Location adjacent to a mutation operation.', + }, + SUBSCRIPTION: { + value: s.a.SUBSCRIPTION, + description: 'Location adjacent to a subscription operation.', + }, + FIELD: { + value: s.a.FIELD, + description: 'Location adjacent to a field.', + }, + FRAGMENT_DEFINITION: { + value: s.a.FRAGMENT_DEFINITION, + description: 'Location adjacent to a fragment definition.', + }, + FRAGMENT_SPREAD: { + value: s.a.FRAGMENT_SPREAD, + description: 'Location adjacent to a fragment spread.', + }, + INLINE_FRAGMENT: { + value: s.a.INLINE_FRAGMENT, + description: 'Location adjacent to an inline fragment.', + }, + VARIABLE_DEFINITION: { + value: s.a.VARIABLE_DEFINITION, + description: 'Location adjacent to a variable definition.', + }, + SCHEMA: { + value: s.a.SCHEMA, + description: 'Location adjacent to a schema definition.', + }, + SCALAR: { + value: s.a.SCALAR, + description: 'Location adjacent to a scalar definition.', + }, + OBJECT: { + value: s.a.OBJECT, + description: 'Location adjacent to an object type definition.', + }, + FIELD_DEFINITION: { + value: s.a.FIELD_DEFINITION, + description: 'Location adjacent to a field definition.', + }, + ARGUMENT_DEFINITION: { + value: s.a.ARGUMENT_DEFINITION, + description: 'Location adjacent to an argument definition.', + }, + INTERFACE: { + value: s.a.INTERFACE, + description: 'Location adjacent to an interface definition.', + }, + UNION: { + value: s.a.UNION, + description: 'Location adjacent to a union definition.', + }, + ENUM: { + value: s.a.ENUM, + description: 'Location adjacent to an enum definition.', + }, + ENUM_VALUE: { + value: s.a.ENUM_VALUE, + description: 'Location adjacent to an enum value definition.', + }, + INPUT_OBJECT: { + value: s.a.INPUT_OBJECT, + description: + 'Location adjacent to an input object type definition.', + }, INPUT_FIELD_DEFINITION: { value: s.a.INPUT_FIELD_DEFINITION, - description: 'Location adjacent to an input object field definition.', + description: + 'Location adjacent to an input object field definition.', }, }, }), @@ -4738,7 +5677,9 @@ if (Object(o.F)(e)) return _.INPUT_OBJECT if (Object(o.J)(e)) return _.LIST if (Object(o.L)(e)) return _.NON_NULL - throw new Error('Unexpected type: "'.concat(Object(l.a)(e), '".')) + throw new Error( + 'Unexpected type: "'.concat(Object(l.a)(e), '".'), + ) }, }, name: { @@ -4887,7 +5828,8 @@ }, defaultValue: { type: a.e, - description: 'A GraphQL-formatted string representing the default value for this input value.', + description: + 'A GraphQL-formatted string representing the default value for this input value.', resolve: function(e) { var t = Object(u.a)(e.defaultValue, e.type) return t ? Object(i.print)(t) : null @@ -4941,25 +5883,48 @@ }), g = new o.a({ name: '__TypeKind', - description: 'An enum describing what kind of type a given `__Type` is.', + description: + 'An enum describing what kind of type a given `__Type` is.', values: { - SCALAR: { value: _.SCALAR, description: 'Indicates this type is a scalar.' }, + SCALAR: { + value: _.SCALAR, + description: 'Indicates this type is a scalar.', + }, OBJECT: { value: _.OBJECT, - description: 'Indicates this type is an object. `fields` and `interfaces` are valid fields.', + description: + 'Indicates this type is an object. `fields` and `interfaces` are valid fields.', }, INTERFACE: { value: _.INTERFACE, - description: 'Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.', + description: + 'Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.', + }, + UNION: { + value: _.UNION, + description: + 'Indicates this type is a union. `possibleTypes` is a valid field.', + }, + ENUM: { + value: _.ENUM, + description: + 'Indicates this type is an enum. `enumValues` is a valid field.', }, - UNION: { value: _.UNION, description: 'Indicates this type is a union. `possibleTypes` is a valid field.' }, - ENUM: { value: _.ENUM, description: 'Indicates this type is an enum. `enumValues` is a valid field.' }, INPUT_OBJECT: { value: _.INPUT_OBJECT, - description: 'Indicates this type is an input object. `inputFields` is a valid field.', + description: + 'Indicates this type is an input object. `inputFields` is a valid field.', + }, + LIST: { + value: _.LIST, + description: + 'Indicates this type is a list. `ofType` is a valid field.', + }, + NON_NULL: { + value: _.NON_NULL, + description: + 'Indicates this type is a non-null. `ofType` is a valid field.', }, - LIST: { value: _.LIST, description: 'Indicates this type is a list. `ofType` is a valid field.' }, - NON_NULL: { value: _.NON_NULL, description: 'Indicates this type is a non-null. `ofType` is a valid field.' }, }, }), v = { @@ -5049,13 +6014,28 @@ if ('boolean' == typeof e) return e ? 1 : 0 var t = e if (('string' == typeof e && '' !== e && (t = Number(e)), !u(t))) - throw new TypeError('Int cannot represent non-integer value: '.concat(Object(i.a)(e))) - if (t > c || t < d) throw new TypeError('Int cannot represent non 32-bit signed integer value: '.concat(Object(i.a)(e))) + throw new TypeError( + 'Int cannot represent non-integer value: '.concat(Object(i.a)(e)), + ) + if (t > c || t < d) + throw new TypeError( + 'Int cannot represent non 32-bit signed integer value: '.concat( + Object(i.a)(e), + ), + ) return t }, parseValue: function(e) { - if (!u(e)) throw new TypeError('Int cannot represent non-integer value: '.concat(Object(i.a)(e))) - if (e > c || e < d) throw new TypeError('Int cannot represent non 32-bit signed integer value: '.concat(Object(i.a)(e))) + if (!u(e)) + throw new TypeError( + 'Int cannot represent non-integer value: '.concat(Object(i.a)(e)), + ) + if (e > c || e < d) + throw new TypeError( + 'Int cannot represent non 32-bit signed integer value: '.concat( + Object(i.a)(e), + ), + ) return e }, parseLiteral: function(e) { @@ -5073,15 +6053,26 @@ if ('boolean' == typeof e) return e ? 1 : 0 var t = e if (('string' == typeof e && '' !== e && (t = Number(e)), !l(t))) - throw new TypeError('Float cannot represent non numeric value: '.concat(Object(i.a)(e))) + throw new TypeError( + 'Float cannot represent non numeric value: '.concat( + Object(i.a)(e), + ), + ) return t }, parseValue: function(e) { - if (!l(e)) throw new TypeError('Float cannot represent non numeric value: '.concat(Object(i.a)(e))) + if (!l(e)) + throw new TypeError( + 'Float cannot represent non numeric value: '.concat( + Object(i.a)(e), + ), + ) return e }, parseLiteral: function(e) { - return e.kind === s.a.FLOAT || e.kind === s.a.INT ? parseFloat(e.value) : void 0 + return e.kind === s.a.FLOAT || e.kind === s.a.INT + ? parseFloat(e.value) + : void 0 }, }) function h(e) { @@ -5103,10 +6094,17 @@ if ('string' == typeof t) return t if ('boolean' == typeof t) return t ? 'true' : 'false' if (l(t)) return t.toString() - throw new TypeError('String cannot represent value: '.concat(Object(i.a)(e))) + throw new TypeError( + 'String cannot represent value: '.concat(Object(i.a)(e)), + ) }, parseValue: function(e) { - if ('string' != typeof e) throw new TypeError('String cannot represent a non string value: '.concat(Object(i.a)(e))) + if ('string' != typeof e) + throw new TypeError( + 'String cannot represent a non string value: '.concat( + Object(i.a)(e), + ), + ) return e }, parseLiteral: function(e) { @@ -5119,10 +6117,19 @@ serialize: function(e) { if ('boolean' == typeof e) return e if (l(e)) return 0 !== e - throw new TypeError('Boolean cannot represent a non boolean value: '.concat(Object(i.a)(e))) + throw new TypeError( + 'Boolean cannot represent a non boolean value: '.concat( + Object(i.a)(e), + ), + ) }, parseValue: function(e) { - if ('boolean' != typeof e) throw new TypeError('Boolean cannot represent a non boolean value: '.concat(Object(i.a)(e))) + if ('boolean' != typeof e) + throw new TypeError( + 'Boolean cannot represent a non boolean value: '.concat( + Object(i.a)(e), + ), + ) return e }, parseLiteral: function(e) { @@ -5137,15 +6144,21 @@ var t = h(e) if ('string' == typeof t) return t if (u(t)) return String(t) - throw new TypeError('ID cannot represent value: '.concat(Object(i.a)(e))) + throw new TypeError( + 'ID cannot represent value: '.concat(Object(i.a)(e)), + ) }, parseValue: function(e) { if ('string' == typeof e) return e if (u(e)) return e.toString() - throw new TypeError('ID cannot represent value: '.concat(Object(i.a)(e))) + throw new TypeError( + 'ID cannot represent value: '.concat(Object(i.a)(e)), + ) }, parseLiteral: function(e) { - return e.kind === s.a.STRING || e.kind === s.a.INT ? e.value : void 0 + return e.kind === s.a.STRING || e.kind === s.a.INT + ? e.value + : void 0 }, }), g = Object.freeze([m, f, p, y, _]) @@ -5184,15 +6197,31 @@ l = { Name: [], Document: ['definitions'], - OperationDefinition: ['name', 'variableDefinitions', 'directives', 'selectionSet'], - VariableDefinition: ['variable', 'type', 'defaultValue', 'directives'], + OperationDefinition: [ + 'name', + 'variableDefinitions', + 'directives', + 'selectionSet', + ], + VariableDefinition: [ + 'variable', + 'type', + 'defaultValue', + 'directives', + ], Variable: ['name'], SelectionSet: ['selections'], Field: ['alias', 'name', 'arguments', 'directives', 'selectionSet'], Argument: ['name', 'value'], FragmentSpread: ['name', 'directives'], InlineFragment: ['typeCondition', 'directives', 'selectionSet'], - FragmentDefinition: ['name', 'variableDefinitions', 'typeCondition', 'directives', 'selectionSet'], + FragmentDefinition: [ + 'name', + 'variableDefinitions', + 'typeCondition', + 'directives', + 'selectionSet', + ], IntValue: [], FloatValue: [], StringValue: [], @@ -5209,15 +6238,48 @@ SchemaDefinition: ['directives', 'operationTypes'], OperationTypeDefinition: ['type'], ScalarTypeDefinition: ['description', 'name', 'directives'], - ObjectTypeDefinition: ['description', 'name', 'interfaces', 'directives', 'fields'], - FieldDefinition: ['description', 'name', 'arguments', 'type', 'directives'], - InputValueDefinition: ['description', 'name', 'type', 'defaultValue', 'directives'], - InterfaceTypeDefinition: ['description', 'name', 'directives', 'fields'], + ObjectTypeDefinition: [ + 'description', + 'name', + 'interfaces', + 'directives', + 'fields', + ], + FieldDefinition: [ + 'description', + 'name', + 'arguments', + 'type', + 'directives', + ], + InputValueDefinition: [ + 'description', + 'name', + 'type', + 'defaultValue', + 'directives', + ], + InterfaceTypeDefinition: [ + 'description', + 'name', + 'directives', + 'fields', + ], UnionTypeDefinition: ['description', 'name', 'directives', 'types'], EnumTypeDefinition: ['description', 'name', 'directives', 'values'], EnumValueDefinition: ['description', 'name', 'directives'], - InputObjectTypeDefinition: ['description', 'name', 'directives', 'fields'], - DirectiveDefinition: ['description', 'name', 'arguments', 'locations'], + InputObjectTypeDefinition: [ + 'description', + 'name', + 'directives', + 'fields', + ], + DirectiveDefinition: [ + 'description', + 'name', + 'arguments', + 'locations', + ], SchemaExtension: ['directives', 'operationTypes'], ScalarTypeExtension: ['name', 'directives'], ObjectTypeExtension: ['name', 'interfaces', 'directives', 'fields'], @@ -5228,7 +6290,8 @@ }, u = Object.freeze({}) function i(e, t) { - var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : l, + var n = + arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : l, i = void 0, a = Array.isArray(e), s = [e], @@ -5244,7 +6307,12 @@ var v = ++d === s.length, b = v && 0 !== f.length if (v) { - if (((h = 0 === _.length ? void 0 : y[y.length - 1]), (p = m), (m = _.pop()), b)) { + if ( + ((h = 0 === _.length ? void 0 : y[y.length - 1]), + (p = m), + (m = _.pop()), + b) + ) { if (a) p = p.slice() else { for (var T = {}, w = 0, O = Object.keys(p); w < O.length; w++) { @@ -5256,12 +6324,18 @@ for (var E = 0, L = 0; L < f.length; L++) { var M = f[L][0], S = f[L][1] - a && (M -= E), a && null === S ? (p.splice(M, 1), E++) : (p[M] = S) + a && (M -= E), + a && null === S ? (p.splice(M, 1), E++) : (p[M] = S) } } - ;(d = i.index), (s = i.keys), (f = i.edits), (a = i.inArray), (i = i.prev) + ;(d = i.index), + (s = i.keys), + (f = i.edits), + (a = i.inArray), + (i = i.prev) } else { - if (((h = m ? (a ? d : s[d]) : void 0), null == (p = m ? m[h] : g))) continue + if (((h = m ? (a ? d : s[d]) : void 0), null == (p = m ? m[h] : g))) + continue m && y.push(h) } var k = void 0 @@ -5406,7 +6480,10 @@ r = e.arguments, l = e.directives, u = e.selectionSet - return a([c('', t, ': ') + n + c('(', a(r, ', '), ')'), a(l, ' '), u], ' ') + return a( + [c('', t, ': ') + n + c('(', a(r, ', '), ')'), a(l, ' '), u], + ' ', + ) }, Argument: function(e) { return e.name + ': ' + e.value @@ -5427,7 +6504,9 @@ l = e.directives, u = e.selectionSet return ( - 'fragment '.concat(t).concat(c('(', a(r, ', '), ')'), ' ') + 'on '.concat(n, ' ').concat(c('', a(l, ' '), ' ')) + u + 'fragment '.concat(t).concat(c('(', a(r, ', '), ')'), ' ') + + 'on '.concat(n, ' ').concat(c('', a(l, ' '), ' ')) + + u ) }, IntValue: function(e) { @@ -5438,7 +6517,9 @@ }, StringValue: function(e, t) { var n = e.value - return e.block ? Object(l.c)(n, 'description' === t ? '' : ' ') : JSON.stringify(n) + return e.block + ? Object(l.c)(n, 'description' === t ? '' : ' ') + : JSON.stringify(n) }, BooleanValue: function(e) { return e.value ? 'true' : 'false' @@ -5486,14 +6567,23 @@ n = e.interfaces, r = e.directives, l = e.fields - return a(['type', t, c('implements ', a(n, ' & ')), a(r, ' '), s(l)], ' ') + return a( + ['type', t, c('implements ', a(n, ' & ')), a(r, ' '), s(l)], + ' ', + ) }), FieldDefinition: o(function(e) { var t = e.name, n = e.arguments, r = e.type, l = e.directives - return t + (p(n) ? c('(\n', d(a(n, '\n')), '\n)') : c('(', a(n, ', '), ')')) + ': ' + r + c(' ', a(l, ' ')) + return ( + t + + (p(n) ? c('(\n', d(a(n, '\n')), '\n)') : c('(', a(n, ', '), ')')) + + ': ' + + r + + c(' ', a(l, ' ')) + ) }), InputValueDefinition: o(function(e) { var t = e.name, @@ -5512,7 +6602,15 @@ var t = e.name, n = e.directives, r = e.types - return a(['union', t, a(n, ' '), r && 0 !== r.length ? '= ' + a(r, ' | ') : ''], ' ') + return a( + [ + 'union', + t, + a(n, ' '), + r && 0 !== r.length ? '= ' + a(r, ' | ') : '', + ], + ' ', + ) }), EnumTypeDefinition: o(function(e) { var t = e.name, @@ -5556,7 +6654,10 @@ n = e.interfaces, r = e.directives, l = e.fields - return a(['extend type', t, c('implements ', a(n, ' & ')), a(r, ' '), s(l)], ' ') + return a( + ['extend type', t, c('implements ', a(n, ' & ')), a(r, ' '), s(l)], + ' ', + ) }, InterfaceTypeExtension: function(e) { var t = e.name, @@ -5568,7 +6669,15 @@ var t = e.name, n = e.directives, r = e.types - return a(['extend union', t, a(n, ' '), r && 0 !== r.length ? '= ' + a(r, ' | ') : ''], ' ') + return a( + [ + 'extend union', + t, + a(n, ' '), + r && 0 !== r.length ? '= ' + a(r, ' | ') : '', + ], + ' ', + ) }, EnumTypeExtension: function(e) { var t = e.name, @@ -5656,7 +6765,14 @@ return Object(s.a)(e, m) } function h(e) { - return p(e) || Object(c.a)(0, 'Expected '.concat(Object(d.a)(e), ' to be a GraphQL directive.')), e + return ( + p(e) || + Object(c.a)( + 0, + 'Expected '.concat(Object(d.a)(e), ' to be a GraphQL directive.'), + ), + e + ) } var m = (function() { function e(e) { @@ -5666,10 +6782,17 @@ (this.isRepeatable = null != e.isRepeatable && e.isRepeatable), (this.astNode = e.astNode), e.name || Object(c.a)(0, 'Directive must be named.'), - Array.isArray(e.locations) || Object(c.a)(0, '@'.concat(e.name, ' locations must be an Array.')) + Array.isArray(e.locations) || + Object(c.a)(0, '@'.concat(e.name, ' locations must be an Array.')) var t = e.args || {} ;(!Object(l.a)(t) || Array.isArray(t)) && - Object(c.a)(0, '@'.concat(e.name, ' args must be an object with argument names as keys.')), + Object(c.a)( + 0, + '@'.concat( + e.name, + ' args must be an object with argument names as keys.', + ), + ), (this.args = Object(r.a)(t).map(function(e) { var t = e[0], n = e[1] @@ -5703,20 +6826,27 @@ Object(o.a)(m), Object(a.a)(m) var y = new m({ name: 'include', - description: 'Directs the executor to include this field or fragment only when the `if` argument is true.', + description: + 'Directs the executor to include this field or fragment only when the `if` argument is true.', locations: [f.a.FIELD, f.a.FRAGMENT_SPREAD, f.a.INLINE_FRAGMENT], - args: { if: { type: Object(u.e)(i.a), description: 'Included when true.' } }, + args: { + if: { type: Object(u.e)(i.a), description: 'Included when true.' }, + }, }), _ = new m({ name: 'skip', - description: 'Directs the executor to skip this field or fragment when the `if` argument is true.', + description: + 'Directs the executor to skip this field or fragment when the `if` argument is true.', locations: [f.a.FIELD, f.a.FRAGMENT_SPREAD, f.a.INLINE_FRAGMENT], - args: { if: { type: Object(u.e)(i.a), description: 'Skipped when true.' } }, + args: { + if: { type: Object(u.e)(i.a), description: 'Skipped when true.' }, + }, }), g = 'No longer supported', v = new m({ name: 'deprecated', - description: 'Marks an element of a GraphQL schema as no longer supported.', + description: + 'Marks an element of a GraphQL schema as no longer supported.', locations: [f.a.FIELD_DEFINITION, f.a.ENUM_VALUE], args: { reason: { @@ -5777,24 +6907,34 @@ and limitations under the License. function n() { this.constructor = e } - r(e, t), (e.prototype = null === t ? Object.create(t) : ((n.prototype = t.prototype), new n())) + r(e, t), + (e.prototype = + null === t + ? Object.create(t) + : ((n.prototype = t.prototype), new n())) } var u = function() { return (u = Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } function i(e, t) { var n = {} - for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]) + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && + t.indexOf(r) < 0 && + (n[r] = e[r]) if (null != e && 'function' == typeof Object.getOwnPropertySymbols) { var l = 0 for (r = Object.getOwnPropertySymbols(e); l < r.length; l++) - t.indexOf(r[l]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[l]) && (n[r[l]] = e[r[l]]) + t.indexOf(r[l]) < 0 && + Object.prototype.propertyIsEnumerable.call(e, r[l]) && + (n[r[l]] = e[r[l]]) } return n } @@ -5822,7 +6962,12 @@ and limitations under the License. var r = e.call( this, - 'number' == typeof n ? l + ': ' + n + ' (see https://github.com/apollographql/invariant-packages)' : n, + 'number' == typeof n + ? l + + ': ' + + n + + ' (see https://github.com/apollographql/invariant-packages)' + : n, ) || this return (r.framesToPop = 1), (r.name = l), i(r, t.prototype), r } @@ -5880,10 +7025,17 @@ and limitations under the License. return u(e) || s(e) || d(e) } function u(e) { - return e.kind === r.a.OPERATION_DEFINITION || e.kind === r.a.FRAGMENT_DEFINITION + return ( + e.kind === r.a.OPERATION_DEFINITION || + e.kind === r.a.FRAGMENT_DEFINITION + ) } function i(e) { - return e.kind === r.a.FIELD || e.kind === r.a.FRAGMENT_SPREAD || e.kind === r.a.INLINE_FRAGMENT + return ( + e.kind === r.a.FIELD || + e.kind === r.a.FRAGMENT_SPREAD || + e.kind === r.a.INLINE_FRAGMENT + ) } function o(e) { return ( @@ -5899,10 +7051,18 @@ and limitations under the License. ) } function a(e) { - return e.kind === r.a.NAMED_TYPE || e.kind === r.a.LIST_TYPE || e.kind === r.a.NON_NULL_TYPE + return ( + e.kind === r.a.NAMED_TYPE || + e.kind === r.a.LIST_TYPE || + e.kind === r.a.NON_NULL_TYPE + ) } function s(e) { - return e.kind === r.a.SCHEMA_DEFINITION || c(e) || e.kind === r.a.DIRECTIVE_DEFINITION + return ( + e.kind === r.a.SCHEMA_DEFINITION || + c(e) || + e.kind === r.a.DIRECTIVE_DEFINITION + ) } function c(e) { return ( @@ -5937,7 +7097,10 @@ and limitations under the License. return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) @@ -5959,8 +7122,10 @@ and limitations under the License. u = n(0) function i(e, t) { var n - if (t.kind === l.a.LIST_TYPE) return (n = i(e, t.type)) && Object(u.d)(n) - if (t.kind === l.a.NON_NULL_TYPE) return (n = i(e, t.type)) && Object(u.e)(n) + if (t.kind === l.a.LIST_TYPE) + return (n = i(e, t.type)) && Object(u.d)(n) + if (t.kind === l.a.NON_NULL_TYPE) + return (n = i(e, t.type)) && Object(u.e)(n) if (t.kind === l.a.NAMED_TYPE) return e.getType(t.name.value) throw new Error('Unexpected type node: "'.concat(Object(r.a)(t), '".')) } @@ -6061,8 +7226,11 @@ and limitations under the License. l = s(e) if (l) { for (var u; !(u = l.next()).done; ) - if ((t.call(n, u.value, r++, e), r > 9999999)) throw new TypeError('Near-infinite iteration.') - } else if (o(e)) for (; r < e.length; r++) e.hasOwnProperty(r) && t.call(n, e[r], r, e) + if ((t.call(n, u.value, r++, e), r > 9999999)) + throw new TypeError('Near-infinite iteration.') + } else if (o(e)) + for (; r < e.length; r++) + e.hasOwnProperty(r) && t.call(n, e[r], r, e) } } ;(f.prototype[u] = function() { @@ -6182,7 +7350,13 @@ and limitations under the License. if (Array.isArray(s)) return { errors: s } var d = (function(e, t, n) { var r = Object(f.a)(e.schema, t), - l = M(e, r, t.selectionSet, Object.create(null), Object.create(null)), + l = M( + e, + r, + t.selectionSet, + Object.create(null), + Object.create(null), + ), u = void 0 try { var i = @@ -6228,7 +7402,9 @@ and limitations under the License. return n.then(function(n) { return e(t, n) }) - return 0 === t.errors.length ? { data: n } : { errors: t.errors, data: n } + return 0 === t.errors.length + ? { data: n } + : { errors: t.errors, data: n } })(s, d) } function w(e) { @@ -6249,11 +7425,17 @@ and limitations under the License. ) } function E(e, t, n, r, u, i, a, s) { - for (var c, d, f = [], p = !1, y = Object.create(null), _ = 0; _ < t.definitions.length; _++) { + for ( + var c, d, f = [], p = !1, y = Object.create(null), _ = 0; + _ < t.definitions.length; + _++ + ) { var g = t.definitions[_] switch (g.kind) { case h.a.OPERATION_DEFINITION: - !i && c ? (p = !0) : (!i || (g.name && g.name.value === i)) && (c = g) + !i && c + ? (p = !0) + : (!i || (g.name && g.name.value === i)) && (c = g) break case h.a.FRAGMENT_DEFINITION: y[g.name.value] = g @@ -6261,13 +7443,22 @@ and limitations under the License. } if ( (c - ? p && f.push(new l.a('Must provide operation name if query contains multiple operations.')) + ? p && + f.push( + new l.a( + 'Must provide operation name if query contains multiple operations.', + ), + ) : i ? f.push(new l.a('Unknown operation named "'.concat(i, '".'))) : f.push(new l.a('Must provide an operation.')), c) ) { - var v = Object(m.getVariableValues)(e, c.variableDefinitions || [], u || {}) + var v = Object(m.getVariableValues)( + e, + c.variableDefinitions || [], + u || {}, + ) v.errors ? f.push.apply(f, v.errors) : (d = v.coerced) } return 0 !== f.length @@ -6287,7 +7478,11 @@ and limitations under the License. }) } function L(e, t, n, r, l) { - for (var u = Object.create(null), i = !1, o = 0, a = Object.keys(l); o < a.length; ++o) { + for ( + var u = Object.create(null), i = !1, o = 0, a = Object.keys(l); + o < a.length; + ++o + ) { var s = a[o], d = j(e, t, n, l[s], O(r, s)) void 0 !== d && ((u[s] = d), !i && Object(c.a)(d) && (i = !0)) @@ -6369,14 +7564,21 @@ and limitations under the License. } function N(e, t, n, r, l, u) { try { - var i = r(l, Object(m.getArgumentValues)(t, n[0], e.variableValues), e.contextValue, u) + var i = r( + l, + Object(m.getArgumentValues)(t, n[0], e.variableValues), + e.contextValue, + u, + ) return Object(c.a)(i) ? i.then(void 0, A) : i } catch (e) { return A(e) } } function A(e) { - return e instanceof Error ? e : new Error('Unexpected error value: ' + Object(i.a)(e)) + return e instanceof Error + ? e + : new Error('Unexpected error value: ' + Object(i.a)(e)) } function P(e, t, n, r, l, u) { try { @@ -6407,7 +7609,11 @@ and limitations under the License. if (Object(y.L)(t)) { var f = Y(e, t.ofType, n, l, u, d) if (null === f) - throw new Error('Cannot return null for non-nullable field '.concat(l.parentType.name, '.').concat(l.fieldName, '.')) + throw new Error( + 'Cannot return null for non-nullable field ' + .concat(l.parentType.name, '.') + .concat(l.fieldName, '.'), + ) return f } if (Object(s.a)(d)) return null @@ -6416,7 +7622,9 @@ and limitations under the License. Object(r.isCollection)(i) || Object(o.a)( 0, - 'Expected Iterable, but did not find one for field '.concat(l.parentType.name, '.').concat(l.fieldName, '.'), + 'Expected Iterable, but did not find one for field ' + .concat(l.parentType.name, '.') + .concat(l.fieldName, '.'), ) var a = t.ofType, s = !1, @@ -6435,7 +7643,10 @@ and limitations under the License. e.serialize || Object(o.a)(0, 'Missing serialize method on type') var n = e.serialize(t) if (Object(a.a)(n)) - throw new Error('Expected a value of type "'.concat(Object(i.a)(e), '" but ') + 'received: '.concat(Object(i.a)(t))) + throw new Error( + 'Expected a value of type "'.concat(Object(i.a)(e), '" but ') + + 'received: '.concat(Object(i.a)(t)), + ) return n })(t, d) if (Object(y.C)(t)) @@ -6450,17 +7661,27 @@ and limitations under the License. return F(e, I(a, e, t, n, r, u), n, r, l, u) })(e, t, n, l, u, d) if (Object(y.N)(t)) return F(e, t, n, l, u, d) - throw new Error('Cannot complete value of unexpected output type: "'.concat(Object(i.a)(t), '".')) + throw new Error( + 'Cannot complete value of unexpected output type: "'.concat( + Object(i.a)(t), + '".', + ), + ) } function I(e, t, n, r, u, o) { var a = 'string' == typeof e ? t.schema.getType(e) : e if (!Object(y.N)(a)) throw new l.a( 'Abstract type ' - .concat(n.name, ' must resolve to an Object type at runtime for field ') + .concat( + n.name, + ' must resolve to an Object type at runtime for field ', + ) .concat(u.parentType.name, '.') .concat(u.fieldName, ' with ') + - 'value '.concat(Object(i.a)(o), ', received "').concat(Object(i.a)(a), '". ') + + 'value ' + .concat(Object(i.a)(o), ', received "') + .concat(Object(i.a)(a), '". ') + 'Either the '.concat( n.name, ' type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.', @@ -6468,7 +7689,12 @@ and limitations under the License. r, ) if (!t.schema.isPossibleType(n, a)) - throw new l.a('Runtime Object type "'.concat(a.name, '" is not a possible type for "').concat(n.name, '".'), r) + throw new l.a( + 'Runtime Object type "' + .concat(a.name, '" is not a possible type for "') + .concat(n.name, '".'), + r, + ) return a } function F(e, t, n, r, l, u) { @@ -6484,7 +7710,12 @@ and limitations under the License. return B(e, t, n, l, u) } function R(e, t, n) { - return new l.a('Expected value of type "'.concat(e.name, '" but got: ').concat(Object(i.a)(t), '.'), n) + return new l.a( + 'Expected value of type "' + .concat(e.name, '" but got: ') + .concat(Object(i.a)(t), '.'), + n, + ) } function B(e, t, n, r, l) { return L(e, t, l, r, Q(e, t, n)) @@ -6524,30 +7755,40 @@ and limitations under the License. }) var H, V, - Q = ((H = function(e, t, n) { - for (var r = Object.create(null), l = Object.create(null), u = 0; u < n.length; u++) { - var i = n[u].selectionSet - i && (r = M(e, t, i, r, l)) - } - return r - }), - function(e, t, n) { - V || (V = new WeakMap()) - var r, - l = V.get(e) - if (l) { - if ((r = l.get(t))) { - var u = r.get(n) - if (void 0 !== u) return u + Q = + ((H = function(e, t, n) { + for ( + var r = Object.create(null), l = Object.create(null), u = 0; + u < n.length; + u++ + ) { + var i = n[u].selectionSet + i && (r = M(e, t, i, r, l)) } - } else (l = new WeakMap()), V.set(e, l) - r || ((r = new WeakMap()), l.set(t, r)) - var i = H(e, t, n) - return r.set(n, i), i - }) + return r + }), + function(e, t, n) { + V || (V = new WeakMap()) + var r, + l = V.get(e) + if (l) { + if ((r = l.get(t))) { + var u = r.get(n) + if (void 0 !== u) return u + } + } else (l = new WeakMap()), V.set(e, l) + r || ((r = new WeakMap()), l.set(t, r)) + var i = H(e, t, n) + return r.set(n, i), i + }) var U = function(e, t, n, r) { - if (Object(d.a)(e) && 'string' == typeof e.__typename) return e.__typename - for (var l = n.schema.getPossibleTypes(r), u = [], i = 0; i < l.length; i++) { + if (Object(d.a)(e) && 'string' == typeof e.__typename) + return e.__typename + for ( + var l = n.schema.getPossibleTypes(r), u = [], i = 0; + i < l.length; + i++ + ) { var o = l[i] if (o.isTypeOf) { var a = o.isTypeOf(e, t, n) @@ -6626,7 +7867,9 @@ and limitations under the License. } function s(e, t) { var n = Object.getOwnPropertyDescriptor(e, 'name') - n && n.configurable && ((n.value = t), Object.defineProperty(e, 'name', n)) + n && + n.configurable && + ((n.value = t), Object.defineProperty(e, 'name', n)) } ;(e.exports = function e() { var t @@ -6642,17 +7885,28 @@ and limitations under the License. n = s break case 'number': - ;(l = s), 0 !== o && r('non-first-argument status code; replace with createError(' + s + ', ...)') + ;(l = s), + 0 !== o && + r( + 'non-first-argument status code; replace with createError(' + + s + + ', ...)', + ) break case 'object': i = s } } - 'number' == typeof l && (l < 400 || l >= 600) && r('non-error status code; use only 4xx or 5xx status codes') + 'number' == typeof l && + (l < 400 || l >= 600) && + r('non-error status code; use only 4xx or 5xx status codes') ;('number' != typeof l || (!u[l] && (l < 400 || l >= 600))) && (l = 500) var c = e[l] || e[a(l)] - t || ((t = c ? new c(n) : new Error(n || u[l])), Error.captureStackTrace(t, e)) - ;(c && t instanceof c && t.status === l) || ((t.expose = l < 500), (t.status = t.statusCode = l)) + t || + ((t = c ? new c(n) : new Error(n || u[l])), + Error.captureStackTrace(t, e)) + ;(c && t instanceof c && t.status === l) || + ((t.expose = l < 500), (t.status = t.statusCode = l)) for (var d in i) 'status' !== d && 'statusCode' !== d && (t[d] = i[d]) return t }), @@ -6676,12 +7930,29 @@ and limitations under the License. return ( Error.captureStackTrace(i, o), l(i, o.prototype), - Object.defineProperty(i, 'message', { enumerable: !0, configurable: !0, value: t, writable: !0 }), - Object.defineProperty(i, 'name', { enumerable: !1, configurable: !0, value: r, writable: !0 }), + Object.defineProperty(i, 'message', { + enumerable: !0, + configurable: !0, + value: t, + writable: !0, + }), + Object.defineProperty(i, 'name', { + enumerable: !1, + configurable: !0, + value: r, + writable: !0, + }), i ) } - return i(o, e), s(o, r), (o.prototype.status = n), (o.prototype.statusCode = n), (o.prototype.expose = !0), o + return ( + i(o, e), + s(o, r), + (o.prototype.status = n), + (o.prototype.statusCode = n), + (o.prototype.expose = !0), + o + ) })(n, c, t) break case 500: @@ -6693,17 +7964,37 @@ and limitations under the License. return ( Error.captureStackTrace(i, o), l(i, o.prototype), - Object.defineProperty(i, 'message', { enumerable: !0, configurable: !0, value: t, writable: !0 }), - Object.defineProperty(i, 'name', { enumerable: !1, configurable: !0, value: r, writable: !0 }), + Object.defineProperty(i, 'message', { + enumerable: !0, + configurable: !0, + value: t, + writable: !0, + }), + Object.defineProperty(i, 'name', { + enumerable: !1, + configurable: !0, + value: r, + writable: !0, + }), i ) } - return i(o, e), s(o, r), (o.prototype.status = n), (o.prototype.statusCode = n), (o.prototype.expose = !1), o + return ( + i(o, e), + s(o, r), + (o.prototype.status = n), + (o.prototype.statusCode = n), + (o.prototype.expose = !1), + o + ) })(n, c, t) } r && ((e[t] = r), (e[c] = r)) }), - (e["I'mateapot"] = r.function(e.ImATeapot, '"I\'mateapot"; use "ImATeapot" instead')) + (e["I'mateapot"] = r.function( + e.ImATeapot, + '"I\'mateapot"; use "ImATeapot" instead', + )) })(e.exports, u.codes, e.exports.HttpError) }, function(e, t, n) { @@ -6755,7 +8046,11 @@ and limitations under the License. i = !1, o = void 0 try { - for (var a, s = t[Symbol.iterator](); !(u = (a = s.next()).done); u = !0) { + for ( + var a, s = t[Symbol.iterator](); + !(u = (a = s.next()).done); + u = !0 + ) { var c = a.value, d = l(e, c) d <= Math.max(r, c.length / 2, 1) && (n[c] = d) @@ -6788,7 +8083,11 @@ and limitations under the License. for (n = 1; n <= o; n++) for (r = 1; r <= a; r++) { var s = u[n - 1] === i[r - 1] ? 0 : 1 - ;(l[n][r] = Math.min(l[n - 1][r] + 1, l[n][r - 1] + 1, l[n - 1][r - 1] + s)), + ;(l[n][r] = Math.min( + l[n - 1][r] + 1, + l[n][r - 1] + 1, + l[n - 1][r - 1] + s, + )), n > 1 && r > 1 && u[n - 1] === i[r - 2] && @@ -6823,8 +8122,13 @@ and limitations under the License. }) var r = n(96) function l(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : e.prototype.toString - ;(e.prototype.toJSON = t), (e.prototype.inspect = t), r.a && (e.prototype[r.a] = t) + var t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : e.prototype.toString + ;(e.prototype.toJSON = t), + (e.prototype.inspect = t), + r.a && (e.prototype[r.a] = t) } }, function(e, t) { @@ -6859,7 +8163,8 @@ and limitations under the License. ? u(e, t.ofType, n) : Object(r.J)(n) ? !!Object(r.J)(t) && u(e, t.ofType, n.ofType) - : !Object(r.J)(t) && !!(Object(r.C)(n) && Object(r.N)(t) && e.isPossibleType(n, t))) + : !Object(r.J)(t) && + !!(Object(r.C)(n) && Object(r.N)(t) && e.isPossibleType(n, t))) ) } function i(e, t, n) { @@ -6900,25 +8205,44 @@ and limitations under the License. return Object(d.a)(e, m) } function h(e) { - return p(e) || Object(f.a)(0, 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL schema.')), e + return ( + p(e) || + Object(f.a)( + 0, + 'Expected '.concat(Object(a.a)(e), ' to be a GraphQL schema.'), + ), + e + ) } var m = (function() { function e(e) { e && e.assumeValid ? (this.__validationErrors = []) : ((this.__validationErrors = void 0), - Object(u.a)(e) || Object(f.a)(0, 'Must provide configuration object.'), + Object(u.a)(e) || + Object(f.a)(0, 'Must provide configuration object.'), e.types && !Array.isArray(e.types) && - Object(f.a)(0, '"types" must be Array if provided but got: '.concat(Object(a.a)(e.types), '.')), + Object(f.a)( + 0, + '"types" must be Array if provided but got: '.concat( + Object(a.a)(e.types), + '.', + ), + ), e.directives && !Array.isArray(e.directives) && - Object(f.a)(0, '"directives" must be Array if provided but got: ' + ''.concat(Object(a.a)(e.directives), '.')), + Object(f.a)( + 0, + '"directives" must be Array if provided but got: ' + + ''.concat(Object(a.a)(e.directives), '.'), + ), e.allowedLegacyNames && !Array.isArray(e.allowedLegacyNames) && Object(f.a)( 0, - '"allowedLegacyNames" must be Array if provided but got: ' + ''.concat(Object(a.a)(e.allowedLegacyNames), '.'), + '"allowedLegacyNames" must be Array if provided but got: ' + + ''.concat(Object(a.a)(e.allowedLegacyNames), '.'), )), (this.__allowedLegacyNames = e.allowedLegacyNames || []), (this._queryType = e.query), @@ -6927,7 +8251,12 @@ and limitations under the License. (this._directives = e.directives || o.i), (this.astNode = e.astNode), (this.extensionASTNodes = e.extensionASTNodes) - var t = [this.getQueryType(), this.getMutationType(), this.getSubscriptionType(), s.j], + var t = [ + this.getQueryType(), + this.getMutationType(), + this.getSubscriptionType(), + s.j, + ], n = e.types n && (t = t.concat(n)) var r = Object.create(null) @@ -6940,14 +8269,22 @@ and limitations under the License. d = !1, p = void 0 try { - for (var h, m = Object(l.a)(this._typeMap)[Symbol.iterator](); !(c = (h = m.next()).done); c = !0) { + for ( + var h, m = Object(l.a)(this._typeMap)[Symbol.iterator](); + !(c = (h = m.next()).done); + c = !0 + ) { var g = h.value if (Object(i.N)(g)) { var v = !0, b = !1, T = void 0 try { - for (var w, O = g.getInterfaces()[Symbol.iterator](); !(v = (w = O.next()).done); v = !0) { + for ( + var w, O = g.getInterfaces()[Symbol.iterator](); + !(v = (w = O.next()).done); + v = !0 + ) { var D = w.value if (Object(i.H)(D)) { var E = this._implementations[D.name] @@ -6963,7 +8300,10 @@ and limitations under the License. if (b) throw T } } - } else Object(i.C)(g) && !this._implementations[g.name] && (this._implementations[g.name] = []) + } else + Object(i.C)(g) && + !this._implementations[g.name] && + (this._implementations[g.name] = []) } } catch (e) { ;(d = !0), (p = e) @@ -7037,7 +8377,8 @@ and limitations under the License. e[t.name] !== t && Object(f.a)( 0, - 'Schema must contain uniquely named types but contains multiple ' + 'types named "'.concat(t.name, '".'), + 'Schema must contain uniquely named types but contains multiple ' + + 'types named "'.concat(t.name, '".'), ), e ) @@ -7052,7 +8393,11 @@ and limitations under the License. u = !1, o = void 0 try { - for (var a, s = Object(l.a)(t.getFields())[Symbol.iterator](); !(r = (a = s.next()).done); r = !0) { + for ( + var a, s = Object(l.a)(t.getFields())[Symbol.iterator](); + !(r = (a = s.next()).done); + r = !0 + ) { var c = a.value if (c.args) n = c.args @@ -7077,7 +8422,11 @@ and limitations under the License. p = !1, h = void 0 try { - for (var m, _ = Object(l.a)(t.getFields())[Symbol.iterator](); !(d = (m = _.next()).done); d = !0) { + for ( + var m, _ = Object(l.a)(t.getFields())[Symbol.iterator](); + !(d = (m = _.next()).done); + d = !0 + ) { n = y(n, m.value.type) } } catch (e) { @@ -7143,10 +8492,17 @@ and limitations under the License. c = n(9) function d(e, t) { var n = 'string' == typeof e ? new u.a(e) : e - if (!(n instanceof u.a)) throw new TypeError('Must provide Source. Received: '.concat(Object(r.a)(n))) + if (!(n instanceof u.a)) + throw new TypeError( + 'Must provide Source. Received: '.concat(Object(r.a)(n)), + ) return (function(e) { var t = e.token - return { kind: s.a.DOCUMENT, definitions: ue(e, o.a.SOF, m, o.a.EOF), loc: J(e, t) } + return { + kind: s.a.DOCUMENT, + definitions: ue(e, o.a.SOF, m, o.a.EOF), + loc: J(e, t), + } })(Object(a.a)(n, t || {})) } function f(e, t) { @@ -7194,9 +8550,16 @@ and limitations under the License. var t = e.token te(e, 'extend'), te(e, 'schema') var n = N(e, !0), - r = Z(e, o.a.BRACE_L) ? ue(e, o.a.BRACE_L, R, o.a.BRACE_R) : [] + r = Z(e, o.a.BRACE_L) + ? ue(e, o.a.BRACE_L, R, o.a.BRACE_R) + : [] if (0 === n.length && 0 === r.length) throw re(e) - return { kind: s.a.SCHEMA_EXTENSION, directives: n, operationTypes: r, loc: J(e, t) } + return { + kind: s.a.SCHEMA_EXTENSION, + directives: n, + operationTypes: r, + loc: J(e, t), + } })(e) case 'scalar': return (function(e) { @@ -7205,7 +8568,12 @@ and limitations under the License. var n = h(e), r = N(e, !0) if (0 === r.length) throw re(e) - return { kind: s.a.SCALAR_TYPE_EXTENSION, name: n, directives: r, loc: J(e, t) } + return { + kind: s.a.SCALAR_TYPE_EXTENSION, + name: n, + directives: r, + loc: J(e, t), + } })(e) case 'type': return (function(e) { @@ -7215,8 +8583,16 @@ and limitations under the License. r = B(e), l = N(e, !0), u = H(e) - if (0 === r.length && 0 === l.length && 0 === u.length) throw re(e) - return { kind: s.a.OBJECT_TYPE_EXTENSION, name: n, interfaces: r, directives: l, fields: u, loc: J(e, t) } + if (0 === r.length && 0 === l.length && 0 === u.length) + throw re(e) + return { + kind: s.a.OBJECT_TYPE_EXTENSION, + name: n, + interfaces: r, + directives: l, + fields: u, + loc: J(e, t), + } })(e) case 'interface': return (function(e) { @@ -7226,7 +8602,13 @@ and limitations under the License. r = N(e, !0), l = H(e) if (0 === r.length && 0 === l.length) throw re(e) - return { kind: s.a.INTERFACE_TYPE_EXTENSION, name: n, directives: r, fields: l, loc: J(e, t) } + return { + kind: s.a.INTERFACE_TYPE_EXTENSION, + name: n, + directives: r, + fields: l, + loc: J(e, t), + } })(e) case 'union': return (function(e) { @@ -7236,7 +8618,13 @@ and limitations under the License. r = N(e, !0), l = q(e) if (0 === r.length && 0 === l.length) throw re(e) - return { kind: s.a.UNION_TYPE_EXTENSION, name: n, directives: r, types: l, loc: J(e, t) } + return { + kind: s.a.UNION_TYPE_EXTENSION, + name: n, + directives: r, + types: l, + loc: J(e, t), + } })(e) case 'enum': return (function(e) { @@ -7246,7 +8634,13 @@ and limitations under the License. r = N(e, !0), l = W(e) if (0 === r.length && 0 === l.length) throw re(e) - return { kind: s.a.ENUM_TYPE_EXTENSION, name: n, directives: r, values: l, loc: J(e, t) } + return { + kind: s.a.ENUM_TYPE_EXTENSION, + name: n, + directives: r, + values: l, + loc: J(e, t), + } })(e) case 'input': return (function(e) { @@ -7256,7 +8650,13 @@ and limitations under the License. r = N(e, !0), l = $(e) if (0 === r.length && 0 === l.length) throw re(e) - return { kind: s.a.INPUT_OBJECT_TYPE_EXTENSION, name: n, directives: r, fields: l, loc: J(e, t) } + return { + kind: s.a.INPUT_OBJECT_TYPE_EXTENSION, + name: n, + directives: r, + fields: l, + loc: J(e, t), + } })(e) } throw re(e, t) @@ -7278,7 +8678,9 @@ and limitations under the License. case 'fragment': return (function(e) { var t = e.token - if ((te(e, 'fragment'), e.options.experimentalFragmentVariables)) + if ( + (te(e, 'fragment'), e.options.experimentalFragmentVariables) + ) return { kind: s.a.FRAGMENT_DEFINITION, name: M(e), @@ -7356,11 +8758,17 @@ and limitations under the License. } function T(e) { var t = e.token - return X(e, o.a.DOLLAR), { kind: s.a.VARIABLE, name: h(e), loc: J(e, t) } + return ( + X(e, o.a.DOLLAR), { kind: s.a.VARIABLE, name: h(e), loc: J(e, t) } + ) } function w(e) { var t = e.token - return { kind: s.a.SELECTION_SET, selections: ue(e, o.a.BRACE_L, O, o.a.BRACE_R), loc: J(e, t) } + return { + kind: s.a.SELECTION_SET, + selections: ue(e, o.a.BRACE_L, O, o.a.BRACE_R), + loc: J(e, t), + } } function O(e) { return Z(e, o.a.SPREAD) @@ -7368,7 +8776,13 @@ and limitations under the License. var t = e.token X(e, o.a.SPREAD) var n = ne(e, 'on') - if (!n && Z(e, o.a.NAME)) return { kind: s.a.FRAGMENT_SPREAD, name: M(e), directives: N(e, !1), loc: J(e, t) } + if (!n && Z(e, o.a.NAME)) + return { + kind: s.a.FRAGMENT_SPREAD, + name: M(e), + directives: N(e, !1), + loc: J(e, t), + } return { kind: s.a.INLINE_FRAGMENT, typeCondition: n ? x(e) : void 0, @@ -7401,11 +8815,19 @@ and limitations under the License. function E(e) { var t = e.token, n = h(e) - return X(e, o.a.COLON), { kind: s.a.ARGUMENT, name: n, value: S(e, !1), loc: J(e, t) } + return ( + X(e, o.a.COLON), + { kind: s.a.ARGUMENT, name: n, value: S(e, !1), loc: J(e, t) } + ) } function L(e) { var t = e.token - return { kind: s.a.ARGUMENT, name: h(e), value: (X(e, o.a.COLON), j(e)), loc: J(e, t) } + return { + kind: s.a.ARGUMENT, + name: h(e), + value: (X(e, o.a.COLON), j(e)), + loc: J(e, t), + } } function M(e) { if ('on' === e.token.value) throw re(e) @@ -7418,7 +8840,11 @@ and limitations under the License. return (function(e, t) { var n = e.token, r = t ? j : C - return { kind: s.a.LIST, values: le(e, o.a.BRACKET_L, r, o.a.BRACKET_R), loc: J(e, n) } + return { + kind: s.a.LIST, + values: le(e, o.a.BRACKET_L, r, o.a.BRACKET_R), + loc: J(e, n), + } })(e, t) case o.a.BRACE_L: return (function(e, t) { @@ -7432,7 +8858,15 @@ and limitations under the License. return (function(e, t) { var n = e.token, r = h(e) - return X(e, o.a.COLON), { kind: s.a.OBJECT_FIELD, name: r, value: S(e, t), loc: J(e, n) } + return ( + X(e, o.a.COLON), + { + kind: s.a.OBJECT_FIELD, + name: r, + value: S(e, t), + loc: J(e, n), + } + ) })(e, t) }, o.a.BRACE_R, @@ -7443,13 +8877,16 @@ and limitations under the License. case o.a.INT: return e.advance(), { kind: s.a.INT, value: n.value, loc: J(e, n) } case o.a.FLOAT: - return e.advance(), { kind: s.a.FLOAT, value: n.value, loc: J(e, n) } + return ( + e.advance(), { kind: s.a.FLOAT, value: n.value, loc: J(e, n) } + ) case o.a.STRING: case o.a.BLOCK_STRING: return k(e) case o.a.NAME: return 'true' === n.value || 'false' === n.value - ? (e.advance(), { kind: s.a.BOOLEAN, value: 'true' === n.value, loc: J(e, n) }) + ? (e.advance(), + { kind: s.a.BOOLEAN, value: 'true' === n.value, loc: J(e, n) }) : 'null' === n.value ? (e.advance(), { kind: s.a.NULL, loc: J(e, n) }) : (e.advance(), { kind: s.a.ENUM, value: n.value, loc: J(e, n) }) @@ -7460,7 +8897,15 @@ and limitations under the License. } function k(e) { var t = e.token - return e.advance(), { kind: s.a.STRING, value: t.value, block: t.kind === o.a.BLOCK_STRING, loc: J(e, t) } + return ( + e.advance(), + { + kind: s.a.STRING, + value: t.value, + block: t.kind === o.a.BLOCK_STRING, + loc: J(e, t), + } + ) } function j(e) { return S(e, !0) @@ -7474,16 +8919,23 @@ and limitations under the License. } function A(e, t) { var n = e.token - return X(e, o.a.AT), { kind: s.a.DIRECTIVE, name: h(e), arguments: D(e, t), loc: J(e, n) } + return ( + X(e, o.a.AT), + { kind: s.a.DIRECTIVE, name: h(e), arguments: D(e, t), loc: J(e, n) } + ) } function P(e) { var t, n = e.token return ( ee(e, o.a.BRACKET_L) - ? ((t = P(e)), X(e, o.a.BRACKET_R), (t = { kind: s.a.LIST_TYPE, type: t, loc: J(e, n) })) + ? ((t = P(e)), + X(e, o.a.BRACKET_R), + (t = { kind: s.a.LIST_TYPE, type: t, loc: J(e, n) })) : (t = x(e)), - ee(e, o.a.BANG) ? { kind: s.a.NON_NULL_TYPE, type: t, loc: J(e, n) } : t + ee(e, o.a.BANG) + ? { kind: s.a.NON_NULL_TYPE, type: t, loc: J(e, n) } + : t ) } function x(e) { @@ -7500,7 +8952,12 @@ and limitations under the License. te(e, 'schema') var n = N(e, !0), r = ue(e, o.a.BRACE_L, R, o.a.BRACE_R) - return { kind: s.a.SCHEMA_DEFINITION, directives: n, operationTypes: r, loc: J(e, t) } + return { + kind: s.a.SCHEMA_DEFINITION, + directives: n, + operationTypes: r, + loc: J(e, t), + } })(e) case 'scalar': return (function(e) { @@ -7509,7 +8966,13 @@ and limitations under the License. te(e, 'scalar') var r = h(e), l = N(e, !0) - return { kind: s.a.SCALAR_TYPE_DEFINITION, description: n, name: r, directives: l, loc: J(e, t) } + return { + kind: s.a.SCALAR_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + loc: J(e, t), + } })(e) case 'type': return (function(e) { @@ -7538,7 +9001,14 @@ and limitations under the License. var r = h(e), l = N(e, !0), u = H(e) - return { kind: s.a.INTERFACE_TYPE_DEFINITION, description: n, name: r, directives: l, fields: u, loc: J(e, t) } + return { + kind: s.a.INTERFACE_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + fields: u, + loc: J(e, t), + } })(e) case 'union': return (function(e) { @@ -7548,7 +9018,14 @@ and limitations under the License. var r = h(e), l = N(e, !0), u = q(e) - return { kind: s.a.UNION_TYPE_DEFINITION, description: n, name: r, directives: l, types: u, loc: J(e, t) } + return { + kind: s.a.UNION_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + types: u, + loc: J(e, t), + } })(e) case 'enum': return (function(e) { @@ -7558,7 +9035,14 @@ and limitations under the License. var r = h(e), l = N(e, !0), u = W(e) - return { kind: s.a.ENUM_TYPE_DEFINITION, description: n, name: r, directives: l, values: u, loc: J(e, t) } + return { + kind: s.a.ENUM_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + values: u, + loc: J(e, t), + } })(e) case 'input': return (function(e) { @@ -7568,7 +9052,14 @@ and limitations under the License. var r = h(e), l = N(e, !0), u = $(e) - return { kind: s.a.INPUT_OBJECT_TYPE_DEFINITION, description: n, name: r, directives: l, fields: u, loc: J(e, t) } + return { + kind: s.a.INPUT_OBJECT_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + fields: u, + loc: J(e, t), + } })(e) case 'directive': return (function(e) { @@ -7611,7 +9102,12 @@ and limitations under the License. n = g(e) X(e, o.a.COLON) var r = x(e) - return { kind: s.a.OPERATION_TYPE_DEFINITION, operation: n, type: r, loc: J(e, t) } + return { + kind: s.a.OPERATION_TYPE_DEFINITION, + operation: n, + type: r, + loc: J(e, t), + } } function B(e) { var t = [] @@ -7619,12 +9115,17 @@ and limitations under the License. ee(e, o.a.AMP) do { t.push(x(e)) - } while (ee(e, o.a.AMP) || (e.options.allowLegacySDLImplementsInterfaces && Z(e, o.a.NAME))) + } while ( + ee(e, o.a.AMP) || + (e.options.allowLegacySDLImplementsInterfaces && Z(e, o.a.NAME)) + ) } return t } function H(e) { - return e.options.allowLegacySDLEmptyFields && Z(e, o.a.BRACE_L) && e.lookahead().kind === o.a.BRACE_R + return e.options.allowLegacySDLEmptyFields && + Z(e, o.a.BRACE_L) && + e.lookahead().kind === o.a.BRACE_R ? (e.advance(), e.advance(), []) : Z(e, o.a.BRACE_L) ? ue(e, o.a.BRACE_L, V, o.a.BRACE_R) @@ -7638,7 +9139,15 @@ and limitations under the License. X(e, o.a.COLON) var u = P(e), i = N(e, !0) - return { kind: s.a.FIELD_DEFINITION, description: n, name: r, arguments: l, type: u, directives: i, loc: J(e, t) } + return { + kind: s.a.FIELD_DEFINITION, + description: n, + name: r, + arguments: l, + type: u, + directives: i, + loc: J(e, t), + } } function Q(e) { return Z(e, o.a.PAREN_L) ? ue(e, o.a.PAREN_L, U, o.a.PAREN_R) : [] @@ -7680,7 +9189,13 @@ and limitations under the License. n = F(e), r = h(e), l = N(e, !0) - return { kind: s.a.ENUM_VALUE_DEFINITION, description: n, name: r, directives: l, loc: J(e, t) } + return { + kind: s.a.ENUM_VALUE_DEFINITION, + description: n, + name: r, + directives: l, + loc: J(e, t), + } } function $(e) { return Z(e, o.a.BRACE_L) ? ue(e, o.a.BRACE_L, U, o.a.BRACE_R) : [] @@ -7695,7 +9210,11 @@ and limitations under the License. if (!e.options.noLocation) return new K(t, e.lastToken, e.source) } function K(e, t, n) { - ;(this.start = e.start), (this.end = t.end), (this.startToken = e), (this.endToken = t), (this.source = n) + ;(this.start = e.start), + (this.end = t.end), + (this.startToken = e), + (this.endToken = t), + (this.source = n) } function Z(e, t) { return e.token.kind === t @@ -7703,7 +9222,11 @@ and limitations under the License. function X(e, t) { var n = e.token if (n.kind === t) return e.advance(), n - throw Object(i.a)(e.source, n.start, 'Expected '.concat(t, ', found ').concat(Object(a.b)(n))) + throw Object(i.a)( + e.source, + n.start, + 'Expected '.concat(t, ', found ').concat(Object(a.b)(n)), + ) } function ee(e, t) { var n = e.token @@ -7712,7 +9235,11 @@ and limitations under the License. function te(e, t) { var n = e.token if (n.kind !== o.a.NAME || n.value !== t) - throw Object(i.a)(e.source, n.start, 'Expected "'.concat(t, '", found ').concat(Object(a.b)(n))) + throw Object(i.a)( + e.source, + n.start, + 'Expected "'.concat(t, '", found ').concat(Object(a.b)(n)), + ) e.advance() } function ne(e, t) { @@ -7721,7 +9248,11 @@ and limitations under the License. } function re(e, t) { var n = t || e.token - return Object(i.a)(e.source, n.start, 'Unexpected '.concat(Object(a.b)(n))) + return Object(i.a)( + e.source, + n.start, + 'Unexpected '.concat(Object(a.b)(n)), + ) } function le(e, t, n, r) { X(e, t) @@ -7754,7 +9285,16 @@ and limitations under the License. i = n(45) function o(e, t) { var n = new f(l.a.SOF, 0, 0, 0, 0, null) - return { source: e, options: t, lastToken: n, token: n, line: 1, lineStart: 0, advance: a, lookahead: s } + return { + source: e, + options: t, + lastToken: n, + token: n, + line: 1, + lineStart: 0, + advance: a, + lookahead: s, + } } function a() { return (this.lastToken = this.token), (this.token = this.lookahead()) @@ -7820,7 +9360,9 @@ and limitations under the License. else if (10 === u) ++l, ++n.line, (n.lineStart = l) else { if (13 !== u) break - 10 === e.charCodeAt(l + 1) ? (l += 2) : ++l, ++n.line, (n.lineStart = l) + 10 === e.charCodeAt(l + 1) ? (l += 2) : ++l, + ++n.line, + (n.lineStart = l) } } return l @@ -7851,7 +9393,8 @@ and limitations under the License. case 41: return new f(l.a.PAREN_R, a, a + 1, s, c, t) case 46: - if (46 === r.charCodeAt(a + 1) && 46 === r.charCodeAt(a + 2)) return new f(l.a.SPREAD, a, a + 3, s, c, t) + if (46 === r.charCodeAt(a + 1) && 46 === r.charCodeAt(a + 2)) + return new f(l.a.SPREAD, a, a + 3, s, c, t) break case 58: return new f(l.a.COLON, a, a + 1, s, c, t) @@ -7931,7 +9474,10 @@ and limitations under the License. ; a !== o && !isNaN((s = i.charCodeAt(a))) && - (95 === s || (s >= 48 && s <= 57) || (s >= 65 && s <= 90) || (s >= 97 && s <= 122)); + (95 === s || + (s >= 48 && s <= 57) || + (s >= 65 && s <= 90) || + (s >= 97 && s <= 122)); ) ++a @@ -7956,12 +9502,34 @@ and limitations under the License. 45 === s && (s = a.charCodeAt(++c)) if (48 === s) { if ((s = a.charCodeAt(++c)) >= 48 && s <= 57) - throw Object(u.a)(e, c, 'Invalid number, unexpected digit after 0: '.concat(p(s), '.')) + throw Object(u.a)( + e, + c, + 'Invalid number, unexpected digit after 0: '.concat( + p(s), + '.', + ), + ) } else (c = m(e, c, s)), (s = a.charCodeAt(c)) - 46 === s && ((d = !0), (s = a.charCodeAt(++c)), (c = m(e, c, s)), (s = a.charCodeAt(c))) + 46 === s && + ((d = !0), + (s = a.charCodeAt(++c)), + (c = m(e, c, s)), + (s = a.charCodeAt(c))) ;(69 !== s && 101 !== s) || - ((d = !0), (43 !== (s = a.charCodeAt(++c)) && 45 !== s) || (s = a.charCodeAt(++c)), (c = m(e, c, s))) - return new f(d ? l.a.FLOAT : l.a.INT, t, c, r, i, o, a.slice(t, c)) + ((d = !0), + (43 !== (s = a.charCodeAt(++c)) && 45 !== s) || + (s = a.charCodeAt(++c)), + (c = m(e, c, s))) + return new f( + d ? l.a.FLOAT : l.a.INT, + t, + c, + r, + i, + o, + a.slice(t, c), + ) })(n, a, d, s, c, t) case 34: return 34 === r.charCodeAt(a + 1) && 34 === r.charCodeAt(a + 2) @@ -7972,15 +9540,39 @@ and limitations under the License. h = 0, m = '' for (; c < s.length && !isNaN((h = s.charCodeAt(c))); ) { - if (34 === h && 34 === s.charCodeAt(c + 1) && 34 === s.charCodeAt(c + 2)) - return (m += s.slice(d, c)), new f(l.a.BLOCK_STRING, t, c + 3, n, r, o, Object(i.a)(m)) + if ( + 34 === h && + 34 === s.charCodeAt(c + 1) && + 34 === s.charCodeAt(c + 2) + ) + return ( + (m += s.slice(d, c)), + new f( + l.a.BLOCK_STRING, + t, + c + 3, + n, + r, + o, + Object(i.a)(m), + ) + ) if (h < 32 && 9 !== h && 10 !== h && 13 !== h) - throw Object(u.a)(e, c, 'Invalid character within String: '.concat(p(h), '.')) + throw Object(u.a)( + e, + c, + 'Invalid character within String: '.concat(p(h), '.'), + ) 10 === h ? (++c, ++a.line, (a.lineStart = c)) : 13 === h - ? (10 === s.charCodeAt(c + 1) ? (c += 2) : ++c, ++a.line, (a.lineStart = c)) - : 92 === h && 34 === s.charCodeAt(c + 1) && 34 === s.charCodeAt(c + 2) && 34 === s.charCodeAt(c + 3) + ? (10 === s.charCodeAt(c + 1) ? (c += 2) : ++c, + ++a.line, + (a.lineStart = c)) + : 92 === h && + 34 === s.charCodeAt(c + 1) && + 34 === s.charCodeAt(c + 2) && + 34 === s.charCodeAt(c + 3) ? ((m += s.slice(d, c) + '"""'), (d = c += 4)) : ++c } @@ -7992,11 +9584,29 @@ and limitations under the License. s = a, c = 0, d = '' - for (; a < o.length && !isNaN((c = o.charCodeAt(a))) && 10 !== c && 13 !== c; ) { - if (34 === c) return (d += o.slice(s, a)), new f(l.a.STRING, t, a + 1, n, r, i, d) - if (c < 32 && 9 !== c) throw Object(u.a)(e, a, 'Invalid character within String: '.concat(p(c), '.')) + for ( + ; + a < o.length && + !isNaN((c = o.charCodeAt(a))) && + 10 !== c && + 13 !== c; + + ) { + if (34 === c) + return ( + (d += o.slice(s, a)), + new f(l.a.STRING, t, a + 1, n, r, i, d) + ) + if (c < 32 && 9 !== c) + throw Object(u.a)( + e, + a, + 'Invalid character within String: '.concat(p(c), '.'), + ) if ((++a, 92 === c)) { - switch (((d += o.slice(s, a - 1)), (c = o.charCodeAt(a)))) { + switch ( + ((d += o.slice(s, a - 1)), (c = o.charCodeAt(a))) + ) { case 34: d += '"' break @@ -8022,19 +9632,34 @@ and limitations under the License. d += '\t' break case 117: - var h = ((_ = o.charCodeAt(a + 1)), - (g = o.charCodeAt(a + 2)), - (v = o.charCodeAt(a + 3)), - (b = o.charCodeAt(a + 4)), - (y(_) << 12) | (y(g) << 8) | (y(v) << 4) | y(b)) + var h = + ((_ = o.charCodeAt(a + 1)), + (g = o.charCodeAt(a + 2)), + (v = o.charCodeAt(a + 3)), + (b = o.charCodeAt(a + 4)), + (y(_) << 12) | (y(g) << 8) | (y(v) << 4) | y(b)) if (h < 0) { var m = o.slice(a + 1, a + 5) - throw Object(u.a)(e, a, 'Invalid character escape sequence: \\u'.concat(m, '.')) + throw Object(u.a)( + e, + a, + 'Invalid character escape sequence: \\u'.concat( + m, + '.', + ), + ) } ;(d += String.fromCharCode(h)), (a += 4) break default: - throw Object(u.a)(e, a, 'Invalid character escape sequence: \\'.concat(String.fromCharCode(c), '.')) + throw Object(u.a)( + e, + a, + 'Invalid character escape sequence: \\'.concat( + String.fromCharCode(c), + '.', + ), + ) } s = ++a } @@ -8047,8 +9672,10 @@ and limitations under the License. n, a, (function(e) { - if (e < 32 && 9 !== e && 10 !== e && 13 !== e) return 'Cannot contain the invalid character '.concat(p(e), '.') - if (39 === e) return 'Unexpected single quote character (\'), did you mean to use a double quote (")?' + if (e < 32 && 9 !== e && 10 !== e && 13 !== e) + return 'Cannot contain the invalid character '.concat(p(e), '.') + if (39 === e) + return 'Unexpected single quote character (\'), did you mean to use a double quote (")?' return 'Cannot parse the unexpected character '.concat(p(e), '.') })(d), ) @@ -8063,13 +9690,28 @@ and limitations under the License. } while (i >= 48 && i <= 57) return l } - throw Object(u.a)(e, l, 'Invalid number, expected digit but got: '.concat(p(i), '.')) + throw Object(u.a)( + e, + l, + 'Invalid number, expected digit but got: '.concat(p(i), '.'), + ) } function y(e) { - return e >= 48 && e <= 57 ? e - 48 : e >= 65 && e <= 70 ? e - 55 : e >= 97 && e <= 102 ? e - 87 : -1 + return e >= 48 && e <= 57 + ? e - 48 + : e >= 65 && e <= 70 + ? e - 55 + : e >= 97 && e <= 102 + ? e - 87 + : -1 } Object(r.a)(f, function() { - return { kind: this.kind, value: this.value, line: this.line, column: this.column } + return { + kind: this.kind, + value: this.value, + line: this.line, + column: this.column, + } }) }, function(e, t) { @@ -8124,7 +9766,8 @@ and limitations under the License. return u(e) === e.length } function o(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '', + var t = + arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '', n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], r = -1 === e.indexOf('\n'), l = ' ' === e[0] || '\t' === e[0], @@ -8174,7 +9817,11 @@ and limitations under the License. u = !1, i = void 0 try { - for (var o, a = Object(r.a)(e)[Symbol.iterator](); !(l = (o = a.next()).done); l = !0) { + for ( + var o, a = Object(r.a)(e)[Symbol.iterator](); + !(l = (o = a.next()).done); + l = !0 + ) { var s = o.value, c = s[0], d = s[1] @@ -8222,22 +9869,30 @@ and limitations under the License. var t = e.prototype return ( (t.getType = function() { - if (this._typeStack.length > 0) return this._typeStack[this._typeStack.length - 1] + if (this._typeStack.length > 0) + return this._typeStack[this._typeStack.length - 1] }), (t.getParentType = function() { - if (this._parentTypeStack.length > 0) return this._parentTypeStack[this._parentTypeStack.length - 1] + if (this._parentTypeStack.length > 0) + return this._parentTypeStack[this._parentTypeStack.length - 1] }), (t.getInputType = function() { - if (this._inputTypeStack.length > 0) return this._inputTypeStack[this._inputTypeStack.length - 1] + if (this._inputTypeStack.length > 0) + return this._inputTypeStack[this._inputTypeStack.length - 1] }), (t.getParentInputType = function() { - if (this._inputTypeStack.length > 1) return this._inputTypeStack[this._inputTypeStack.length - 2] + if (this._inputTypeStack.length > 1) + return this._inputTypeStack[this._inputTypeStack.length - 2] }), (t.getFieldDef = function() { - if (this._fieldDefStack.length > 0) return this._fieldDefStack[this._fieldDefStack.length - 1] + if (this._fieldDefStack.length > 0) + return this._fieldDefStack[this._fieldDefStack.length - 1] }), (t.getDefaultValue = function() { - if (this._defaultValueStack.length > 0) return this._defaultValueStack[this._defaultValueStack.length - 1] + if (this._defaultValueStack.length > 0) + return this._defaultValueStack[ + this._defaultValueStack.length - 1 + ] }), (t.getDirective = function() { return this._directive @@ -8272,7 +9927,8 @@ and limitations under the License. ? (c = t.getQueryType()) : 'mutation' === e.operation ? (c = t.getMutationType()) - : 'subscription' === e.operation && (c = t.getSubscriptionType()), + : 'subscription' === e.operation && + (c = t.getSubscriptionType()), this._typeStack.push(Object(u.N)(c) ? c : void 0) break case l.a.INLINE_FRAGMENT: @@ -8301,20 +9957,24 @@ and limitations under the License. case l.a.LIST: var _ = Object(u.B)(this.getInputType()), g = Object(u.J)(_) ? _.ofType : _ - this._defaultValueStack.push(void 0), this._inputTypeStack.push(Object(u.G)(g) ? g : void 0) + this._defaultValueStack.push(void 0), + this._inputTypeStack.push(Object(u.G)(g) ? g : void 0) break case l.a.OBJECT_FIELD: var v, b, T = Object(u.A)(this.getInputType()) - Object(u.F)(T) && (b = T.getFields()[e.name.value]) && (v = b.type), + Object(u.F)(T) && + (b = T.getFields()[e.name.value]) && + (v = b.type), this._defaultValueStack.push(b ? b.defaultValue : void 0), this._inputTypeStack.push(Object(u.G)(v) ? v : void 0) break case l.a.ENUM: var w, O = Object(u.A)(this.getInputType()) - Object(u.E)(O) && (w = O.getValue(e.value)), (this._enumValue = w) + Object(u.E)(O) && (w = O.getValue(e.value)), + (this._enumValue = w) } }), (t.leave = function(e) { @@ -8337,7 +9997,9 @@ and limitations under the License. this._inputTypeStack.pop() break case l.a.ARGUMENT: - ;(this._argument = null), this._defaultValueStack.pop(), this._inputTypeStack.pop() + ;(this._argument = null), + this._defaultValueStack.pop(), + this._inputTypeStack.pop() break case l.a.LIST: case l.a.OBJECT_FIELD: @@ -8406,9 +10068,16 @@ and limitations under the License. w = !1, O = void 0 try { - for (var D, E = b[Symbol.iterator](); !(T = (D = E.next()).done); T = !0) { + for ( + var D, E = b[Symbol.iterator](); + !(T = (D = E.next()).done); + T = !0 + ) { var L = D.value - L.message = 'Variable "$'.concat(h, '" got invalid value ').concat(Object(u.a)(g), '; ') + L.message + L.message = + 'Variable "$' + .concat(h, '" got invalid value ') + .concat(Object(u.a)(g), '; ') + L.message } } catch (e) { ;(w = !0), (O = e) @@ -8426,8 +10095,10 @@ and limitations under the License. r.push( new l.a( y - ? 'Variable "$'.concat(h, '" of non-null type ') + '"'.concat(Object(u.a)(m), '" must not be null.') - : 'Variable "$'.concat(h, '" of required type ') + '"'.concat(Object(u.a)(m), '" was not provided.'), + ? 'Variable "$'.concat(h, '" of non-null type ') + + '"'.concat(Object(u.a)(m), '" must not be null.') + : 'Variable "$'.concat(h, '" of required type ') + + '"'.concat(Object(u.a)(m), '" was not provided.'), d, ), ) @@ -8435,12 +10106,17 @@ and limitations under the License. r.push( new l.a( 'Variable "$'.concat(h, '" expected value of type ') + - '"'.concat(Object(f.print)(d.type), '" which cannot be used as an input type.'), + '"'.concat( + Object(f.print)(d.type), + '" which cannot be used as an input type.', + ), d.type, ), ) } - return 0 === r.length ? { errors: void 0, coerced: i } : { errors: r, coerced: void 0 } + return 0 === r.length + ? { errors: void 0, coerced: i } + : { errors: r, coerced: void 0 } } function m(e, t, n) { var r = {}, @@ -8469,29 +10145,47 @@ and limitations under the License. if ((!T || w) && Object(p.L)(v)) { if (w) throw new l.a( - 'Argument "'.concat(g, '" of non-null type "').concat(Object(u.a)(v), '" ') + 'must not be null.', + 'Argument "' + .concat(g, '" of non-null type "') + .concat(Object(u.a)(v), '" ') + 'must not be null.', b.value, ) if (b && b.value.kind === d.a.VARIABLE) { var D = b.value.name.value throw new l.a( - 'Argument "'.concat(g, '" of required type "').concat(Object(u.a)(v), '" ') + - 'was provided the variable "$'.concat(D, '" which was not provided a runtime value.'), + 'Argument "' + .concat(g, '" of required type "') + .concat(Object(u.a)(v), '" ') + + 'was provided the variable "$'.concat( + D, + '" which was not provided a runtime value.', + ), b.value, ) } - throw new l.a('Argument "'.concat(g, '" of required type "').concat(Object(u.a)(v), '" ') + 'was not provided.', t) + throw new l.a( + 'Argument "' + .concat(g, '" of required type "') + .concat(Object(u.a)(v), '" ') + 'was not provided.', + t, + ) } if (T) if (b.value.kind === d.a.NULL) r[g] = null else if (b.value.kind === d.a.VARIABLE) { var E = b.value.name.value - n || Object(i.a)(0, 'Must exist for hasValue to be true.'), (r[g] = n[E]) + n || Object(i.a)(0, 'Must exist for hasValue to be true.'), + (r[g] = n[E]) } else { var L = b.value, M = Object(c.a)(L, v, n) if (void 0 === M) - throw new l.a('Argument "'.concat(g, '" has invalid value ').concat(Object(f.print)(L), '.'), b.value) + throw new l.a( + 'Argument "' + .concat(g, '" has invalid value ') + .concat(Object(f.print)(L), '.'), + b.value, + ) r[g] = M } } else r[g] = y.defaultValue @@ -8543,7 +10237,11 @@ and limitations under the License. y = !1, _ = void 0 try { - for (var g, v = e.values[Symbol.iterator](); !(m = (g = v.next()).done); m = !0) { + for ( + var g, v = e.values[Symbol.iterator](); + !(m = (g = v.next()).done); + m = !0 + ) { var b = g.value if (c(b, n)) { if (Object(a.L)(p)) return @@ -8579,7 +10277,11 @@ and limitations under the License. L = !1, M = void 0 try { - for (var S, k = Object(r.a)(t.getFields())[Symbol.iterator](); !(E = (S = k.next()).done); E = !0) { + for ( + var S, k = Object(r.a)(t.getFields())[Symbol.iterator](); + !(E = (S = k.next()).done); + E = !0 + ) { var j = S.value, C = D[j.name] if (C && !c(C.value, n)) { @@ -8616,7 +10318,9 @@ and limitations under the License. if (Object(i.a)(P)) return return P } - throw new Error('Unexpected input type: "'.concat(Object(l.a)(t), '".')) + throw new Error( + 'Unexpected input type: "'.concat(Object(l.a)(t), '".'), + ) } } function c(e, t) { @@ -8634,8 +10338,16 @@ and limitations under the License. ;(this.body = e), (this.name = t || 'GraphQL request'), (this.locationOffset = n || { line: 1, column: 1 }), - this.locationOffset.line > 0 || Object(r.a)(0, 'line in locationOffset is 1-indexed and must be positive'), - this.locationOffset.column > 0 || Object(r.a)(0, 'column in locationOffset is 1-indexed and must be positive') + this.locationOffset.line > 0 || + Object(r.a)( + 0, + 'line in locationOffset is 1-indexed and must be positive', + ), + this.locationOffset.column > 0 || + Object(r.a)( + 0, + 'column in locationOffset is 1-indexed and must be positive', + ) } Object(l.a)(u) }, @@ -8715,10 +10427,19 @@ and limitations under the License. g = !1, v = void 0 try { - for (var b, T = Object(l.a)(t.getFields())[Symbol.iterator](); !(_ = (b = T.next()).done); _ = !0) { + for ( + var b, T = Object(l.a)(t.getFields())[Symbol.iterator](); + !(_ = (b = T.next()).done); + _ = !0 + ) { var w = b.value, O = f(e[w.name], w.type) - O && y.push({ kind: s.a.OBJECT_FIELD, name: { kind: s.a.NAME, value: w.name }, value: O }) + O && + y.push({ + kind: s.a.OBJECT_FIELD, + name: { kind: s.a.NAME, value: w.name }, + value: O, + }) } } catch (e) { ;(g = !0), (v = e) @@ -8737,7 +10458,9 @@ and limitations under the License. if ('boolean' == typeof D) return { kind: s.a.BOOLEAN, value: D } if ('number' == typeof D) { var E = String(D) - return p.test(E) ? { kind: s.a.INT, value: E } : { kind: s.a.FLOAT, value: E } + return p.test(E) + ? { kind: s.a.INT, value: E } + : { kind: s.a.FLOAT, value: E } } if ('string' == typeof D) return Object(c.E)(t) @@ -8745,7 +10468,9 @@ and limitations under the License. : t === d.c && p.test(D) ? { kind: s.a.INT, value: D } : { kind: s.a.STRING, value: D } - throw new TypeError('Cannot convert value to AST: '.concat(Object(u.a)(D))) + throw new TypeError( + 'Cannot convert value to AST: '.concat(Object(u.a)(D)), + ) } throw new Error('Unexpected input type: "'.concat(Object(u.a)(t), '".')) } @@ -8778,7 +10503,11 @@ and limitations under the License. function r(e) { for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]) } - Object.defineProperty(t, '__esModule', { value: !0 }), r(n(83)), r(n(467)), r(n(471)), r(n(211)) + Object.defineProperty(t, '__esModule', { value: !0 }), + r(n(83)), + r(n(467)), + r(n(471)), + r(n(211)) var l = n(102) t.SchemaDirectiveVisitor = l.SchemaDirectiveVisitor }, @@ -8817,23 +10546,36 @@ and limitations under the License. function i(e, t, n) { return l(e, t, n) } - l.from && l.alloc && l.allocUnsafe && l.allocUnsafeSlow ? (e.exports = r) : (u(r, t), (t.Buffer = i)), + l.from && l.alloc && l.allocUnsafe && l.allocUnsafeSlow + ? (e.exports = r) + : (u(r, t), (t.Buffer = i)), u(l, i), (i.from = function(e, t, n) { - if ('number' == typeof e) throw new TypeError('Argument must not be a number') + if ('number' == typeof e) + throw new TypeError('Argument must not be a number') return l(e, t, n) }), (i.alloc = function(e, t, n) { - if ('number' != typeof e) throw new TypeError('Argument must be a number') + if ('number' != typeof e) + throw new TypeError('Argument must be a number') var r = l(e) - return void 0 !== t ? ('string' == typeof n ? r.fill(t, n) : r.fill(t)) : r.fill(0), r + return ( + void 0 !== t + ? 'string' == typeof n + ? r.fill(t, n) + : r.fill(t) + : r.fill(0), + r + ) }), (i.allocUnsafe = function(e) { - if ('number' != typeof e) throw new TypeError('Argument must be a number') + if ('number' != typeof e) + throw new TypeError('Argument must be a number') return l(e) }), (i.allocUnsafeSlow = function(e) { - if ('number' != typeof e) throw new TypeError('Argument must be a number') + if ('number' != typeof e) + throw new TypeError('Argument must be a number') return r.SlowBuffer(e) }) }, @@ -8860,7 +10602,8 @@ and limitations under the License. 'use strict' var r = t function l(e, t, n) { - for (var r = Object.keys(t), l = 0; l < r.length; ++l) (void 0 !== e[r[l]] && n) || (e[r[l]] = t[r[l]]) + for (var r = Object.keys(t), l = 0; l < r.length; ++l) + (void 0 !== e[r[l]] && n) || (e[r[l]] = t[r[l]]) return e } function u(e) { @@ -8873,7 +10616,9 @@ and limitations under the License. }), Error.captureStackTrace ? Error.captureStackTrace(this, t) - : Object.defineProperty(this, 'stack', { value: new Error().stack || '' }), + : Object.defineProperty(this, 'stack', { + value: new Error().stack || '', + }), n && l(this, n) } return ( @@ -8904,7 +10649,11 @@ and limitations under the License. this), (r.emptyArray = Object.freeze ? Object.freeze([]) : []), (r.emptyObject = Object.freeze ? Object.freeze({}) : {}), - (r.isNode = Boolean(r.global.process && r.global.process.versions && r.global.process.versions.node)), + (r.isNode = Boolean( + r.global.process && + r.global.process.versions && + r.global.process.versions.node, + )), (r.isInteger = Number.isInteger || function(e) { @@ -8920,7 +10669,8 @@ and limitations under the License. var n = e[t] return ( !(null == n || !e.hasOwnProperty(t)) && - ('object' != typeof n || (Array.isArray(n) ? n.length : Object.keys(n).length) > 0) + ('object' != typeof n || + (Array.isArray(n) ? n.length : Object.keys(n).length) > 0) ) }), (r.Buffer = (function() { @@ -8945,7 +10695,10 @@ and limitations under the License. : new Uint8Array(e) }), (r.Array = 'undefined' != typeof Uint8Array ? Uint8Array : Array), - (r.Long = (r.global.dcodeIO && r.global.dcodeIO.Long) || r.global.Long || r.inquire('long')), + (r.Long = + (r.global.dcodeIO && r.global.dcodeIO.Long) || + r.global.Long || + r.inquire('long')), (r.key2Re = /^true|false|0|1$/), (r.key32Re = /^-?(?:0|[1-9][0-9]*)$/), (r.key64Re = /^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/), @@ -8954,7 +10707,9 @@ and limitations under the License. }), (r.longFromHash = function(e, t) { var n = r.LongBits.fromHash(e) - return r.Long ? r.Long.fromBits(n.lo, n.hi, t) : n.toNumber(Boolean(t)) + return r.Long + ? r.Long.fromBits(n.lo, n.hi, t) + : n.toNumber(Boolean(t)) }), (r.merge = l), (r.lcFirst = function(e) { @@ -8966,7 +10721,8 @@ and limitations under the License. for (var t = {}, n = 0; n < e.length; ++n) t[e[n]] = 1 return function() { for (var e = Object.keys(this), n = e.length - 1; n > -1; --n) - if (1 === t[e[n]] && void 0 !== this[e[n]] && null !== this[e[n]]) return e[n] + if (1 === t[e[n]] && void 0 !== this[e[n]] && null !== this[e[n]]) + return e[n] } }), (r.oneOfSetter = function(e) { @@ -8974,7 +10730,12 @@ and limitations under the License. for (var n = 0; n < e.length; ++n) e[n] !== t && delete this[e[n]] } }), - (r.toJSONOptions = { longs: String, enums: String, bytes: String, json: !0 }), + (r.toJSONOptions = { + longs: String, + enums: String, + bytes: String, + json: !0, + }), (r._configure = function() { var e = r.Buffer e @@ -8995,7 +10756,10 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function() { - var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, + var e = + arguments.length > 0 && void 0 !== arguments[0] + ? arguments[0] + : {}, t = arguments.length > 1 ? arguments[1] : void 0 for (var n in t) void 0 === e[n] && (e[n] = t[n]) return e @@ -9009,7 +10773,11 @@ and limitations under the License. function(e, t, n) { 'use strict' function r(e, t) { - for (var n, r = /\r\n|[\n\r]/g, l = 1, u = t + 1; (n = r.exec(e.body)) && n.index < t; ) + for ( + var n, r = /\r\n|[\n\r]/g, l = 1, u = t + 1; + (n = r.exec(e.body)) && n.index < t; + + ) (l += 1), (u = t + 1 - (n.index + n[0].length)) return { line: l, column: u } } @@ -9039,8 +10807,14 @@ and limitations under the License. o = n(116), a = n(97) function s(e, t) { - var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : o.specifiedRules, - s = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : new i.a(e) + var n = + arguments.length > 2 && void 0 !== arguments[2] + ? arguments[2] + : o.specifiedRules, + s = + arguments.length > 3 && void 0 !== arguments[3] + ? arguments[3] + : new i.a(e) t || Object(r.a)(0, 'Must provide document'), Object(u.a)(e) var c = new a.b(e, t, s), d = Object(l.visitInParallel)( @@ -9048,10 +10822,15 @@ and limitations under the License. return e(c) }), ) - return Object(l.visit)(t, Object(l.visitWithTypeInfo)(s, d)), c.getErrors() + return ( + Object(l.visit)(t, Object(l.visitWithTypeInfo)(s, d)), c.getErrors() + ) } function c(e, t) { - var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : o.specifiedSDLRules, + var n = + arguments.length > 2 && void 0 !== arguments[2] + ? arguments[2] + : o.specifiedSDLRules, r = new a.a(e, t), u = n.map(function(e) { return e(r) @@ -9100,7 +10879,10 @@ and limitations under the License. })[0] || null ) } - 'function' == typeof WeakMap && 'object' == typeof navigator && navigator.product, Object.prototype.toString + 'function' == typeof WeakMap && + 'object' == typeof navigator && + navigator.product, + Object.prototype.toString Object.prototype.hasOwnProperty Object.create({}) n.d(t, 'ApolloLink', function() { @@ -9182,7 +10964,10 @@ and limitations under the License. Object.defineProperty(t, 'setContext', { enumerable: !1, value: function(e) { - n = 'function' == typeof e ? Object(u.a)({}, n, e(n)) : Object(u.a)({}, n, e) + n = + 'function' == typeof e + ? Object(u.a)({}, n, e(n)) + : Object(u.a)({}, n, e) }, }), Object.defineProperty(t, 'getContext', { @@ -9231,7 +11016,9 @@ and limitations under the License. return e(t) ? l.request(t) || r.a.of() : u.request(t) || r.a.of() }) : new b(function(t, n) { - return e(t) ? l.request(t, n) || r.a.of() : u.request(t, n) || r.a.of() + return e(t) + ? l.request(t, n) || r.a.of() + : u.request(t, n) || r.a.of() }) } var v = function(e, t) { @@ -9287,11 +11074,24 @@ and limitations under the License. operationName: e.operationName, query: e.query, } - return t.operationName || (t.operationName = 'string' != typeof t.query ? o(t.query) : ''), t + return ( + t.operationName || + (t.operationName = + 'string' != typeof t.query ? o(t.query) : ''), + t + ) })( (function(e) { for ( - var t = ['query', 'operationName', 'variables', 'extensions', 'context'], n = 0, r = Object.keys(e); + var t = [ + 'query', + 'operationName', + 'variables', + 'extensions', + 'context', + ], + n = 0, + r = Object.keys(e); n < r.length; n++ ) { @@ -9309,12 +11109,24 @@ and limitations under the License. function(e, t, n) { var r = n(62).Buffer function l(e, t) { - ;(this._block = r.alloc(e)), (this._finalSize = t), (this._blockSize = e), (this._len = 0) + ;(this._block = r.alloc(e)), + (this._finalSize = t), + (this._blockSize = e), + (this._len = 0) } ;(l.prototype.update = function(e, t) { 'string' == typeof e && ((t = t || 'utf8'), (e = r.from(e, t))) - for (var n = this._block, l = this._blockSize, u = e.length, i = this._len, o = 0; o < u; ) { - for (var a = i % l, s = Math.min(u - o, l - a), c = 0; c < s; c++) n[a + c] = e[o + c] + for ( + var n = this._block, + l = this._blockSize, + u = e.length, + i = this._len, + o = 0; + o < u; + + ) { + for (var a = i % l, s = Math.min(u - o, l - a), c = 0; c < s; c++) + n[a + c] = e[o + c] ;(o += s), (i += s) % l == 0 && this._update(n) } return (this._len += u), this @@ -9323,13 +11135,15 @@ and limitations under the License. var t = this._len % this._blockSize ;(this._block[t] = 128), this._block.fill(0, t + 1), - t >= this._finalSize && (this._update(this._block), this._block.fill(0)) + t >= this._finalSize && + (this._update(this._block), this._block.fill(0)) var n = 8 * this._len if (n <= 4294967295) this._block.writeUInt32BE(n, this._blockSize - 4) else { var r = (4294967295 & n) >>> 0, l = (n - r) / 4294967296 - this._block.writeUInt32BE(l, this._blockSize - 8), this._block.writeUInt32BE(r, this._blockSize - 4) + this._block.writeUInt32BE(l, this._blockSize - 8), + this._block.writeUInt32BE(r, this._blockSize - 4) } this._update(this._block) var u = this._hash() @@ -9369,7 +11183,19 @@ and limitations under the License. return 'string' == typeof l ? l : e } ;(t.parseParams = function(e) { - for (var t = [], n = 'key', r = '', o = !1, a = !1, s = 0, c = '', d = 0, f = e.length; d < f; ++d) { + for ( + var t = [], + n = 'key', + r = '', + o = !1, + a = !1, + s = 0, + c = '', + d = 0, + f = e.length; + d < f; + ++d + ) { if ('\\' === e[d] && o) { if (!a) { a = !0 @@ -9383,17 +11209,27 @@ and limitations under the License. } a = !1 } else { - if ((a && o && (c += '\\'), (a = !1), ('charset' === n || 'lang' === n) && "'" === e[d])) { - 'charset' === n ? ((n = 'lang'), (r = c.substring(1))) : (n = 'value'), (c = '') + if ( + (a && o && (c += '\\'), + (a = !1), + ('charset' === n || 'lang' === n) && "'" === e[d]) + ) { + 'charset' === n + ? ((n = 'lang'), (r = c.substring(1))) + : (n = 'value'), + (c = '') continue } if ('key' === n && ('*' === e[d] || '=' === e[d]) && t.length) { - ;(n = '*' === e[d] ? 'charset' : 'value'), (t[s] = [c, void 0]), (c = '') + ;(n = '*' === e[d] ? 'charset' : 'value'), + (t[s] = [c, void 0]), + (c = '') continue } if (!o && ';' === e[d]) { ;(n = 'key'), - r && (c.length && (c = i(c.replace(l, u), 'binary', r)), (r = '')), + r && + (c.length && (c = i(c.replace(l, u), 'binary', r)), (r = '')), void 0 === t[s] ? (t[s] = c) : (t[s][1] = c), (c = ''), ++s @@ -9403,7 +11239,11 @@ and limitations under the License. } c += e[d] } - return r && c.length && (c = i(c.replace(l, u), 'binary', r)), void 0 === t[s] ? c && (t[s] = c) : (t[s][1] = c), t + return ( + r && c.length && (c = i(c.replace(l, u), 'binary', r)), + void 0 === t[s] ? c && (t[s] = c) : (t[s][1] = c), + t + ) }), (t.decodeText = i) var o = [ @@ -9541,14 +11381,23 @@ and limitations under the License. this.buffer = void 0 } ;(s.prototype.write = function(e) { - for (var t = '', n = 0, r = 0, l = (e = e.replace(a, ' ')).length; n < l; ++n) + for ( + var t = '', n = 0, r = 0, l = (e = e.replace(a, ' ')).length; + n < l; + ++n + ) void 0 !== this.buffer ? o[e.charCodeAt(n)] ? ((this.buffer += e[n]), ++r, - 2 === this.buffer.length && ((t += String.fromCharCode(parseInt(this.buffer, 16))), (this.buffer = void 0))) + 2 === this.buffer.length && + ((t += String.fromCharCode(parseInt(this.buffer, 16))), + (this.buffer = void 0))) : ((t += '%' + this.buffer), (this.buffer = void 0), --n) - : '%' === e[n] && (n > r && ((t += e.substring(r, n)), (r = n)), (this.buffer = ''), ++r) + : '%' === e[n] && + (n > r && ((t += e.substring(r, n)), (r = n)), + (this.buffer = ''), + ++r) return r < l && void 0 === this.buffer && (t += e.substring(r)), t }), (s.prototype.reset = function() { @@ -9600,15 +11449,21 @@ and limitations under the License. b = n(37) function T(e, t) { var n - ;(e && e.kind === h.a.DOCUMENT) || Object(u.a)(0, 'Must provide valid Document AST'), - (t && (t.assumeValid || t.assumeValidSDL)) || Object(s.assertValidSDL)(e) + ;(e && e.kind === h.a.DOCUMENT) || + Object(u.a)(0, 'Must provide valid Document AST'), + (t && (t.assumeValid || t.assumeValidSDL)) || + Object(s.assertValidSDL)(e) var l = [], i = [], o = !0, a = !1, c = void 0 try { - for (var d, f = e.definitions[Symbol.iterator](); !(o = (d = f.next()).done); o = !0) { + for ( + var d, f = e.definitions[Symbol.iterator](); + !(o = (d = f.next()).done); + o = !0 + ) { var p = d.value p.kind === h.a.SCHEMA_DEFINITION ? (n = p) @@ -9627,7 +11482,11 @@ and limitations under the License. } var y = new O(t, function(e) { var t = g[e] - return t || Object(u.a)(0, 'Type "'.concat(e, '" not found in document.')), t + return ( + t || + Object(u.a)(0, 'Type "'.concat(e, '" not found in document.')), + t + ) }), g = D(l, function(e) { return y.buildType(e) @@ -9639,7 +11498,11 @@ and limitations under the License. r = !1, l = void 0 try { - for (var u, i = e.operationTypes[Symbol.iterator](); !(n = (u = i.next()).done); n = !0) { + for ( + var u, i = e.operationTypes[Symbol.iterator](); + !(n = (u = i.next()).done); + n = !0 + ) { var o = u.value t[o.operation] = o.type.name.value } @@ -9654,7 +11517,11 @@ and limitations under the License. } return t })(n) - : { query: 'Query', mutation: 'Mutation', subscription: 'Subscription' }, + : { + query: 'Query', + mutation: 'Mutation', + subscription: 'Subscription', + }, T = i.map(function(e) { return y.buildDirective(e) }) @@ -9730,14 +11597,28 @@ and limitations under the License. }), (t.buildArg = function(e) { var t = this.getWrappedType(e.type) - return { type: t, description: L(e, this._options), defaultValue: Object(a.a)(e.defaultValue, t), astNode: e } + return { + type: t, + description: L(e, this._options), + defaultValue: Object(a.a)(e.defaultValue, t), + astNode: e, + } }), (t.buildInputField = function(e) { var t = this.getWrappedType(e.type) - return { type: t, description: L(e, this._options), defaultValue: Object(a.a)(e.defaultValue, t), astNode: e } + return { + type: t, + description: L(e, this._options), + defaultValue: Object(a.a)(e.defaultValue, t), + astNode: e, + } }), (t.buildEnumValue = function(e) { - return { description: L(e, this._options), deprecationReason: E(e), astNode: e } + return { + description: L(e, this._options), + deprecationReason: E(e), + astNode: e, + } }), (t.buildType = function(e) { var t = e.name.value @@ -9756,7 +11637,12 @@ and limitations under the License. case h.a.INPUT_OBJECT_TYPE_DEFINITION: return this._makeInputObjectDef(e) } - throw new Error('Unexpected type definition node: "'.concat(Object(l.a)(e), '".')) + throw new Error( + 'Unexpected type definition node: "'.concat( + Object(l.a)(e), + '".', + ), + ) }), (t._makeTypeDef = function(e) { var t = this, @@ -9778,7 +11664,13 @@ and limitations under the License. }) } : Object.create(null) - return new y.f({ name: e.name.value, description: L(e, this._options), interfaces: l, fields: u, astNode: e }) + return new y.f({ + name: e.name.value, + description: L(e, this._options), + interfaces: l, + fields: u, + astNode: e, + }) }), (t._makeInterfaceDef = function(e) { var t = this, @@ -9791,7 +11683,12 @@ and limitations under the License. }) } : Object.create(null) - return new y.c({ name: e.name.value, description: L(e, this._options), fields: r, astNode: e }) + return new y.c({ + name: e.name.value, + description: L(e, this._options), + fields: r, + astNode: e, + }) }), (t._makeEnumDef = function(e) { var t = this, @@ -9816,10 +11713,19 @@ and limitations under the License. }) } : [] - return new y.h({ name: e.name.value, description: L(e, this._options), types: r, astNode: e }) + return new y.h({ + name: e.name.value, + description: L(e, this._options), + types: r, + astNode: e, + }) }), (t._makeScalarDef = function(e) { - return new y.g({ name: e.name.value, description: L(e, this._options), astNode: e }) + return new y.g({ + name: e.name.value, + description: L(e, this._options), + astNode: e, + }) }), (t._makeInputObjectDef = function(e) { var t = this, @@ -9861,7 +11767,16 @@ and limitations under the License. if (!t) return var n = [], r = t.startToken.prev - for (; r && r.kind === d.a.COMMENT && r.next && r.prev && r.line + 1 === r.next.line && r.line !== r.prev.line; ) { + for ( + ; + r && + r.kind === d.a.COMMENT && + r.next && + r.prev && + r.line + 1 === r.next.line && + r.line !== r.prev.line; + + ) { var l = String(r.value) n.push(l), (r = r.prev) } @@ -9901,7 +11816,12 @@ and limitations under the License. f = r.split(/\r\n|[\n\r]/g), p = f[l] if (p.length > 120) { - for (var h = Math.floor(c / 80), m = c % 80, y = [], _ = 0; _ < p.length; _ += 80) y.push(p.slice(_, _ + 80)) + for ( + var h = Math.floor(c / 80), m = c % 80, y = [], _ = 0; + _ < p.length; + _ += 80 + ) + y.push(p.slice(_, _ + 80)) return ( d + i( @@ -9914,7 +11834,15 @@ and limitations under the License. ) ) } - return d + i([[''.concat(a - 1), f[l - 1]], [''.concat(a), p], ['', o(c - 1) + '^'], [''.concat(a + 1), f[l + 1]]]) + return ( + d + + i([ + [''.concat(a - 1), f[l - 1]], + [''.concat(a), p], + ['', o(c - 1) + '^'], + [''.concat(a + 1), f[l + 1]], + ]) + ) } function i(e) { var t = e.filter(function(e) { @@ -9957,15 +11885,28 @@ and limitations under the License. function f(e, t, n, c) { if (Object(d.L)(t)) return null == e - ? h([_('Expected non-nullable type '.concat(Object(u.a)(t), ' not to be null'), n, c)]) + ? h([ + _( + 'Expected non-nullable type '.concat( + Object(u.a)(t), + ' not to be null', + ), + n, + c, + ), + ]) : f(e, t.ofType, n, c) if (null == e) return p(null) if (Object(d.R)(t)) try { var v = t.parseValue(e) - return Object(i.a)(v) ? h([_('Expected type '.concat(t.name), n, c)]) : p(v) + return Object(i.a)(v) + ? h([_('Expected type '.concat(t.name), n, c)]) + : p(v) } catch (e) { - return h([_('Expected type '.concat(t.name), n, c, ' ' + e.message, e)]) + return h([ + _('Expected type '.concat(t.name), n, c, ' ' + e.message, e), + ]) } if (Object(d.E)(t)) { if ('string' == typeof e) { @@ -9997,7 +11938,10 @@ and limitations under the License. return E.errors ? E : p([E.value]) } if (Object(d.F)(t)) { - if (!Object(a.a)(e)) return h([_('Expected type '.concat(t.name, ' to be an object'), n, c)]) + if (!Object(a.a)(e)) + return h([ + _('Expected type '.concat(t.name, ' to be an object'), n, c), + ]) var L, M = {}, S = t.getFields(), @@ -10005,7 +11949,11 @@ and limitations under the License. j = !1, C = void 0 try { - for (var N, A = Object(l.a)(S)[Symbol.iterator](); !(k = (N = A.next()).done); k = !0) { + for ( + var N, A = Object(l.a)(S)[Symbol.iterator](); + !(k = (N = A.next()).done); + k = !0 + ) { var P = N.value, x = e[P.name] if (Object(i.a)(x)) @@ -10015,7 +11963,10 @@ and limitations under the License. L, _( 'Field '.concat(g(y(c, P.name)), ' of required ') + - 'type '.concat(Object(u.a)(P.type), ' was not provided'), + 'type '.concat( + Object(u.a)(P.type), + ' was not provided', + ), n, ), )) @@ -10038,7 +11989,17 @@ and limitations under the License. var R = F[I] if (!S[R]) { var B = Object(s.a)(R, Object.keys(S)) - L = m(L, _('Field "'.concat(R, '" is not defined by type ').concat(t.name), n, c, Object(o.a)(B))) + L = m( + L, + _( + 'Field "' + .concat(R, '" is not defined by type ') + .concat(t.name), + n, + c, + Object(o.a)(B), + ), + ) } } return L ? h(L) : p(M) @@ -10060,10 +12021,19 @@ and limitations under the License. function _(e, t, n, r, l) { var u = g(n), i = e - return u && (i += ' at ' + u), (i += r ? '.' + r : '.'), new c.a(i, t, void 0, void 0, void 0, l) + return ( + u && (i += ' at ' + u), + (i += r ? '.' + r : '.'), + new c.a(i, t, void 0, void 0, void 0, l) + ) } function g(e) { - for (var t = '', n = e; n; ) (t = ('string' == typeof n.key ? '.' + n.key : '[' + String(n.key) + ']') + t), (n = n.prev) + for (var t = '', n = e; n; ) + (t = + ('string' == typeof n.key + ? '.' + n.key + : '[' + String(n.key) + ']') + t), + (n = n.prev) return t ? 'value' + t : '' } }, @@ -10076,7 +12046,11 @@ and limitations under the License. function l(e, t) { if ('query' === t.operation) { var n = e.getQueryType() - if (!n) throw new r.a('Schema does not define the required query root type.', t) + if (!n) + throw new r.a( + 'Schema does not define the required query root type.', + t, + ) return n } if ('mutation' === t.operation) { @@ -10086,10 +12060,14 @@ and limitations under the License. } if ('subscription' === t.operation) { var u = e.getSubscriptionType() - if (!u) throw new r.a('Schema is not configured for subscriptions.', t) + if (!u) + throw new r.a('Schema is not configured for subscriptions.', t) return u } - throw new r.a('Can only have query, mutation and subscription operations.', t) + throw new r.a( + 'Can only have query, mutation and subscription operations.', + t, + ) } }, function(e, t, n) { @@ -10101,7 +12079,14 @@ and limitations under the License. function l(e, t, n) { return e && Array.isArray(e.path) ? e - : new r.a(e && e.message, (e && e.nodes) || t, e && e.source, e && e.positions, n, e) + : new r.a( + e && e.message, + (e && e.nodes) || t, + e && e.source, + e && e.positions, + n, + e, + ) } }, function(e, t, n) { @@ -10132,20 +12117,28 @@ and limitations under the License. n = t.getQueryType() n ? Object(o.N)(n) || - e.reportError('Query root type must be Object type, it cannot be '.concat(Object(d.a)(n), '.'), g(t, n, 'query')) + e.reportError( + 'Query root type must be Object type, it cannot be '.concat( + Object(d.a)(n), + '.', + ), + g(t, n, 'query'), + ) : e.reportError('Query root type must be provided.', t.astNode) var r = t.getMutationType() r && !Object(o.N)(r) && e.reportError( - 'Mutation root type must be Object type if provided, it cannot be ' + ''.concat(Object(d.a)(r), '.'), + 'Mutation root type must be Object type if provided, it cannot be ' + + ''.concat(Object(d.a)(r), '.'), g(t, r, 'mutation'), ) var l = t.getSubscriptionType() l && !Object(o.N)(l) && e.reportError( - 'Subscription root type must be Object type if provided, it cannot be ' + ''.concat(Object(d.a)(l), '.'), + 'Subscription root type must be Object type if provided, it cannot be ' + + ''.concat(Object(d.a)(l), '.'), g(t, l, 'subscription'), ) })(t), @@ -10154,7 +12147,11 @@ and limitations under the License. n = !1, r = void 0 try { - for (var l, u = e.schema.getDirectives()[Symbol.iterator](); !(t = (l = u.next()).done); t = !0) { + for ( + var l, u = e.schema.getDirectives()[Symbol.iterator](); + !(t = (l = u.next()).done); + t = !0 + ) { var i = l.value if (Object(a.g)(i)) { v(e, i) @@ -10171,7 +12168,9 @@ and limitations under the License. if ((v(e, t), s[n])) return ( e.reportError( - 'Argument @'.concat(i.name, '(').concat(n, ':) can only be defined once.'), + 'Argument @' + .concat(i.name, '(') + .concat(n, ':) can only be defined once.'), i.astNode && i.args .filter(function(e) { @@ -10188,7 +12187,9 @@ and limitations under the License. ;(s[n] = !0), Object(o.G)(t.type) || e.reportError( - 'The type of @'.concat(i.name, '(').concat(n, ':) must be Input Type ') + + 'The type of @' + .concat(i.name, '(') + .concat(n, ':) must be Input Type ') + 'but got: '.concat(Object(d.a)(t.type), '.'), t.astNode, ) @@ -10207,7 +12208,11 @@ and limitations under the License. if (f) throw p } } - } else e.reportError('Expected directive but got: '.concat(Object(d.a)(i), '.'), i && i.astNode) + } else + e.reportError( + 'Expected directive but got: '.concat(Object(d.a)(i), '.'), + i && i.astNode, + ) } } catch (e) { ;(n = !0), (r = e) @@ -10233,7 +12238,11 @@ and limitations under the License. var c = !1 var d = void 0 try { - for (var f, p = a[Symbol.iterator](); !(s = (f = p.next()).done); s = !0) { + for ( + var f, p = a[Symbol.iterator](); + !(s = (f = p.next()).done); + s = !0 + ) { var h = f.value if (Object(o.L)(h.type) && Object(o.F)(h.type.ofType)) { var m = h.type.ofType, @@ -10246,7 +12255,10 @@ and limitations under the License. }).join('.') e.reportError( 'Cannot reference Input Object "' - .concat(m.name, '" within itself through a series of non-null fields: "') + .concat( + m.name, + '" within itself through a series of non-null fields: "', + ) .concat(g, '".'), _.map(function(e) { return e.astNode @@ -10273,7 +12285,11 @@ and limitations under the License. l = !1, i = void 0 try { - for (var a, c = Object(u.a)(n)[Symbol.iterator](); !(r = (a = c.next()).done); r = !0) { + for ( + var a, c = Object(u.a)(n)[Symbol.iterator](); + !(r = (a = c.next()).done); + r = !0 + ) { var f = a.value Object(o.K)(f) ? (Object(s.n)(f) || v(e, f), @@ -10286,7 +12302,13 @@ and limitations under the License. : Object(o.E)(f) ? D(e, f) : Object(o.F)(f) && (E(e, f), t(f))) - : e.reportError('Expected GraphQL named type but got: '.concat(Object(d.a)(f), '.'), f && f.astNode) + : e.reportError( + 'Expected GraphQL named type but got: '.concat( + Object(d.a)(f), + '.', + ), + f && f.astNode, + ) } } catch (e) { ;(l = !0), (i = e) @@ -10339,7 +12361,11 @@ and limitations under the License. u = !1, i = void 0 try { - for (var o, a = r[Symbol.iterator](); !(l = (o = a.next()).done); l = !0) { + for ( + var o, a = r[Symbol.iterator](); + !(l = (o = a.next()).done); + l = !0 + ) { var s = o.value if (s.operation === n) return s.type } @@ -10362,17 +12388,27 @@ and limitations under the License. } function b(e, t) { var n = Object(u.a)(t.getFields()) - 0 === n.length && e.reportError('Type '.concat(t.name, ' must define one or more fields.'), L(t)) + 0 === n.length && + e.reportError( + 'Type '.concat(t.name, ' must define one or more fields.'), + L(t), + ) var r = !0, l = !1, i = void 0 try { - for (var a, s = n[Symbol.iterator](); !(r = (a = s.next()).done); r = !0) { + for ( + var a, s = n[Symbol.iterator](); + !(r = (a = s.next()).done); + r = !0 + ) { var c = a.value v(e, c), Object(o.O)(c.type) || e.reportError( - 'The type of '.concat(t.name, '.').concat(c.name, ' must be Output Type ') + + 'The type of ' + .concat(t.name, '.') + .concat(c.name, ' must be Output Type ') + 'but got: '.concat(Object(d.a)(c.type), '.'), c.astNode && c.astNode.type, ) @@ -10407,7 +12443,8 @@ and limitations under the License. 'The type of ' .concat(t.name, '.') .concat(c.name, '(') - .concat(r, ':) must be Input ') + 'Type but got: '.concat(Object(d.a)(n.type), '.'), + .concat(r, ':) must be Input ') + + 'Type but got: '.concat(Object(d.a)(n.type), '.'), n.astNode && n.astNode.type, ) }, @@ -10442,15 +12479,26 @@ and limitations under the License. l = !1, u = void 0 try { - for (var i, a = t.getInterfaces()[Symbol.iterator](); !(r = (i = a.next()).done); r = !0) { + for ( + var i, a = t.getInterfaces()[Symbol.iterator](); + !(r = (i = a.next()).done); + r = !0 + ) { var s = i.value Object(o.H)(s) ? n[s.name] - ? e.reportError('Type '.concat(t.name, ' can only implement ').concat(s.name, ' once.'), S(t, s)) + ? e.reportError( + 'Type ' + .concat(t.name, ' can only implement ') + .concat(s.name, ' once.'), + S(t, s), + ) : ((n[s.name] = !0), w(e, t, s)) : e.reportError( - 'Type '.concat(Object(d.a)(t), ' must only implement Interface types, ') + - 'it cannot implement '.concat(Object(d.a)(s), '.'), + 'Type '.concat( + Object(d.a)(t), + ' must only implement Interface types, ', + ) + 'it cannot implement '.concat(Object(d.a)(s), '.'), S(t, s), ) } @@ -10471,7 +12519,11 @@ and limitations under the License. s = !1, c = void 0 try { - for (var f, p = Object(i.a)(u)[Symbol.iterator](); !(a = (f = p.next()).done); a = !0) { + for ( + var f, p = Object(i.a)(u)[Symbol.iterator](); + !(a = (f = p.next()).done); + a = !0 + ) { var m = f.value, y = m[0], _ = m[1], @@ -10479,7 +12531,9 @@ and limitations under the License. if (g) { Object(h.c)(e.schema, g.type, _.type) || e.reportError( - 'Interface field '.concat(n.name, '.').concat(y, ' expects type ') + + 'Interface field ' + .concat(n.name, '.') + .concat(y, ' expects type ') + '' .concat(Object(d.a)(_.type), ' but ') .concat(t.name, '.') @@ -10518,13 +12572,19 @@ and limitations under the License. .concat(n.name, '.') .concat(y, '(') .concat(u, ':) ') + - 'expects type '.concat(Object(d.a)(l.type), ' but ') + + 'expects type '.concat( + Object(d.a)(l.type), + ' but ', + ) + '' .concat(t.name, '.') .concat(y, '(') .concat(u, ':) is type ') + ''.concat(Object(d.a)(i.type), '.'), - [l.astNode && l.astNode.type, i.astNode && i.astNode.type], + [ + l.astNode && l.astNode.type, + i.astNode && i.astNode.type, + ], ) }, D = _.args[Symbol.iterator](); @@ -10558,7 +12618,10 @@ and limitations under the License. 'Object field ' .concat(t.name, '.') .concat(y, ' includes required argument ') - .concat(u, ' that is missing from the Interface field ') + .concat( + u, + ' that is missing from the Interface field ', + ) .concat(n.name, '.') .concat(y, '.'), [l.astNode, _.astNode], @@ -10599,21 +12662,39 @@ and limitations under the License. } function O(e, t) { var n = t.getTypes() - 0 === n.length && e.reportError('Union type '.concat(t.name, ' must define one or more member types.'), L(t)) + 0 === n.length && + e.reportError( + 'Union type '.concat( + t.name, + ' must define one or more member types.', + ), + L(t), + ) var r = Object.create(null), l = !0, u = !1, i = void 0 try { - for (var a, s = n[Symbol.iterator](); !(l = (a = s.next()).done); l = !0) { + for ( + var a, s = n[Symbol.iterator](); + !(l = (a = s.next()).done); + l = !0 + ) { var c = a.value r[c.name] - ? e.reportError('Union type '.concat(t.name, ' can only include type ').concat(c.name, ' once.'), k(t, c.name)) + ? e.reportError( + 'Union type ' + .concat(t.name, ' can only include type ') + .concat(c.name, ' once.'), + k(t, c.name), + ) : ((r[c.name] = !0), Object(o.N)(c) || e.reportError( - 'Union type '.concat(t.name, ' can only include Object types, ') + - 'it cannot include '.concat(Object(d.a)(c), '.'), + 'Union type '.concat( + t.name, + ' can only include Object types, ', + ) + 'it cannot include '.concat(Object(d.a)(c), '.'), k(t, String(c)), )) } @@ -10629,17 +12710,30 @@ and limitations under the License. } function D(e, t) { var n = t.getValues() - 0 === n.length && e.reportError('Enum type '.concat(t.name, ' must define one or more values.'), L(t)) + 0 === n.length && + e.reportError( + 'Enum type '.concat(t.name, ' must define one or more values.'), + L(t), + ) var r = !0, l = !1, u = void 0 try { - for (var i, o = n[Symbol.iterator](); !(r = (i = o.next()).done); r = !0) { + for ( + var i, o = n[Symbol.iterator](); + !(r = (i = o.next()).done); + r = !0 + ) { var a = i.value, s = a.name v(e, a), ('true' !== s && 'false' !== s && 'null' !== s) || - e.reportError('Enum type '.concat(t.name, ' cannot include value: ').concat(s, '.'), a.astNode) + e.reportError( + 'Enum type ' + .concat(t.name, ' cannot include value: ') + .concat(s, '.'), + a.astNode, + ) } } catch (e) { ;(l = !0), (u = e) @@ -10653,17 +12747,30 @@ and limitations under the License. } function E(e, t) { var n = Object(u.a)(t.getFields()) - 0 === n.length && e.reportError('Input Object type '.concat(t.name, ' must define one or more fields.'), L(t)) + 0 === n.length && + e.reportError( + 'Input Object type '.concat( + t.name, + ' must define one or more fields.', + ), + L(t), + ) var r = !0, l = !1, i = void 0 try { - for (var a, s = n[Symbol.iterator](); !(r = (a = s.next()).done); r = !0) { + for ( + var a, s = n[Symbol.iterator](); + !(r = (a = s.next()).done); + r = !0 + ) { var c = a.value v(e, c), Object(o.G)(c.type) || e.reportError( - 'The type of '.concat(t.name, '.').concat(c.name, ' must be Input Type ') + + 'The type of ' + .concat(t.name, '.') + .concat(c.name, ' must be Input Type ') + 'but got: '.concat(Object(d.a)(c.type), '.'), c.astNode && c.astNode.type, ) @@ -10730,14 +12837,16 @@ and limitations under the License. var a = n(449) t.convertNodeHttpToRequest = a.convertNodeHttpToRequest var s = n(196) - ;(t.createPlaygroundOptions = s.createPlaygroundOptions), (t.defaultPlaygroundOptions = s.defaultPlaygroundOptions) + ;(t.createPlaygroundOptions = s.createPlaygroundOptions), + (t.defaultPlaygroundOptions = s.defaultPlaygroundOptions) var c = n(450) ;(t.ApolloServerBase = c.ApolloServerBase), r(n(604)), r(n(605)) const d = l(n(606)) t.gql = d.default const f = l(n(131)) var p = n(607) - ;(t.processFileUploads = p.default), (t.GraphQLUpload = f.default ? n(152).GraphQLUpload : void 0) + ;(t.processFileUploads = p.default), + (t.GraphQLUpload = f.default ? n(152).GraphQLUpload : void 0) }, function(e, t, n) { 'use strict' @@ -10804,9 +12913,16 @@ and limitations under the License. i = !1, o = void 0 try { - for (var s, d = l.removed[Symbol.iterator](); !(u = (s = d.next()).done); u = !0) { + for ( + var s, d = l.removed[Symbol.iterator](); + !(u = (s = d.next()).done); + u = !0 + ) { var f = s.value - n.push({ type: c.TYPE_REMOVED, description: ''.concat(f.name, ' was removed.') }) + n.push({ + type: c.TYPE_REMOVED, + description: ''.concat(f.name, ' was removed.'), + }) } } catch (e) { ;(i = !0), (o = e) @@ -10821,7 +12937,11 @@ and limitations under the License. h = !1, b = void 0 try { - for (var T, w = l.persisted[Symbol.iterator](); !(p = (T = w.next()).done); p = !0) { + for ( + var T, w = l.persisted[Symbol.iterator](); + !(p = (T = w.next()).done); + p = !0 + ) { var D = T.value, L = D[0], M = D[1] @@ -10838,7 +12958,9 @@ and limitations under the License. : L.constructor !== M.constructor && n.push({ type: c.TYPE_CHANGED_KIND, - description: ''.concat(L.name, ' changed from ') + ''.concat(O(L), ' to ').concat(O(M), '.'), + description: + ''.concat(L.name, ' changed from ') + + ''.concat(O(L), ' to ').concat(O(M), '.'), }) } } catch (e) { @@ -10859,9 +12981,16 @@ and limitations under the License. u = !1, i = void 0 try { - for (var o, s = r.removed[Symbol.iterator](); !(l = (o = s.next()).done); l = !0) { + for ( + var o, s = r.removed[Symbol.iterator](); + !(l = (o = s.next()).done); + l = !0 + ) { var d = o.value - n.push({ type: c.DIRECTIVE_REMOVED, description: ''.concat(d.name, ' was removed.') }) + n.push({ + type: c.DIRECTIVE_REMOVED, + description: ''.concat(d.name, ' was removed.'), + }) } } catch (e) { ;(u = !0), (i = e) @@ -10876,7 +13005,11 @@ and limitations under the License. p = !1, h = void 0 try { - for (var m, y = r.persisted[Symbol.iterator](); !(f = (m = y.next()).done); f = !0) { + for ( + var m, y = r.persisted[Symbol.iterator](); + !(f = (m = y.next()).done); + f = !0 + ) { var _ = m.value, g = _[0], v = _[1], @@ -10885,12 +13018,18 @@ and limitations under the License. w = !1, O = void 0 try { - for (var D, L = b.added[Symbol.iterator](); !(T = (D = L.next()).done); T = !0) { + for ( + var D, L = b.added[Symbol.iterator](); + !(T = (D = L.next()).done); + T = !0 + ) { var M = D.value Object(a.P)(M) && n.push({ type: c.REQUIRED_DIRECTIVE_ARG_ADDED, - description: 'A required arg '.concat(M.name, ' on directive ').concat(g.name, ' was added.'), + description: 'A required arg ' + .concat(M.name, ' on directive ') + .concat(g.name, ' was added.'), }) } } catch (e) { @@ -10906,11 +13045,17 @@ and limitations under the License. k = !1, j = void 0 try { - for (var C, N = b.removed[Symbol.iterator](); !(S = (C = N.next()).done); S = !0) { + for ( + var C, N = b.removed[Symbol.iterator](); + !(S = (C = N.next()).done); + S = !0 + ) { var A = C.value n.push({ type: c.DIRECTIVE_ARG_REMOVED, - description: ''.concat(A.name, ' was removed from ').concat(g.name, '.'), + description: '' + .concat(A.name, ' was removed from ') + .concat(g.name, '.'), }) } } catch (e) { @@ -10926,12 +13071,18 @@ and limitations under the License. x = !1, Y = void 0 try { - for (var I, F = g.locations[Symbol.iterator](); !(P = (I = F.next()).done); P = !0) { + for ( + var I, F = g.locations[Symbol.iterator](); + !(P = (I = F.next()).done); + P = !0 + ) { var R = I.value ;-1 === v.locations.indexOf(R) && n.push({ type: c.DIRECTIVE_LOCATION_REMOVED, - description: ''.concat(R, ' was removed from ').concat(g.name, '.'), + description: '' + .concat(R, ' was removed from ') + .concat(g.name, '.'), }) } } catch (e) { @@ -10964,16 +13115,24 @@ and limitations under the License. i = !1, o = void 0 try { - for (var s, f = l.added[Symbol.iterator](); !(u = (s = f.next()).done); u = !0) { + for ( + var s, f = l.added[Symbol.iterator](); + !(u = (s = f.next()).done); + u = !0 + ) { var p = s.value Object(a.Q)(p) ? n.push({ type: c.REQUIRED_INPUT_FIELD_ADDED, - description: 'A required field '.concat(p.name, ' on input type ').concat(e.name, ' was added.'), + description: 'A required field ' + .concat(p.name, ' on input type ') + .concat(e.name, ' was added.'), }) : n.push({ type: d.OPTIONAL_INPUT_FIELD_ADDED, - description: 'An optional field '.concat(p.name, ' on input type ').concat(e.name, ' was added.'), + description: 'An optional field ' + .concat(p.name, ' on input type ') + .concat(e.name, ' was added.'), }) } } catch (e) { @@ -10989,9 +13148,18 @@ and limitations under the License. m = !1, y = void 0 try { - for (var _, g = l.removed[Symbol.iterator](); !(h = (_ = g.next()).done); h = !0) { + for ( + var _, g = l.removed[Symbol.iterator](); + !(h = (_ = g.next()).done); + h = !0 + ) { var v = _.value - n.push({ type: c.FIELD_REMOVED, description: ''.concat(e.name, '.').concat(v.name, ' was removed.') }) + n.push({ + type: c.FIELD_REMOVED, + description: '' + .concat(e.name, '.') + .concat(v.name, ' was removed.'), + }) } } catch (e) { ;(m = !0), (y = e) @@ -11006,7 +13174,11 @@ and limitations under the License. T = !1, O = void 0 try { - for (var D, L = l.persisted[Symbol.iterator](); !(b = (D = L.next()).done); b = !0) { + for ( + var D, L = l.persisted[Symbol.iterator](); + !(b = (D = L.next()).done); + b = !0 + ) { var M = D.value, S = M[0], k = M[1] @@ -11036,11 +13208,17 @@ and limitations under the License. u = !1, i = void 0 try { - for (var o, a = r.added[Symbol.iterator](); !(l = (o = a.next()).done); l = !0) { + for ( + var o, a = r.added[Symbol.iterator](); + !(l = (o = a.next()).done); + l = !0 + ) { var s = o.value n.push({ type: d.TYPE_ADDED_TO_UNION, - description: ''.concat(s.name, ' was added to union type ').concat(e.name, '.'), + description: '' + .concat(s.name, ' was added to union type ') + .concat(e.name, '.'), }) } } catch (e) { @@ -11056,11 +13234,17 @@ and limitations under the License. p = !1, h = void 0 try { - for (var m, y = r.removed[Symbol.iterator](); !(f = (m = y.next()).done); f = !0) { + for ( + var m, y = r.removed[Symbol.iterator](); + !(f = (m = y.next()).done); + f = !0 + ) { var _ = m.value n.push({ type: c.TYPE_REMOVED_FROM_UNION, - description: ''.concat(_.name, ' was removed from union type ').concat(e.name, '.'), + description: '' + .concat(_.name, ' was removed from union type ') + .concat(e.name, '.'), }) } } catch (e) { @@ -11081,11 +13265,17 @@ and limitations under the License. u = !1, i = void 0 try { - for (var o, a = r.added[Symbol.iterator](); !(l = (o = a.next()).done); l = !0) { + for ( + var o, a = r.added[Symbol.iterator](); + !(l = (o = a.next()).done); + l = !0 + ) { var s = o.value n.push({ type: d.VALUE_ADDED_TO_ENUM, - description: ''.concat(s.name, ' was added to enum type ').concat(e.name, '.'), + description: '' + .concat(s.name, ' was added to enum type ') + .concat(e.name, '.'), }) } } catch (e) { @@ -11101,11 +13291,17 @@ and limitations under the License. p = !1, h = void 0 try { - for (var m, y = r.removed[Symbol.iterator](); !(f = (m = y.next()).done); f = !0) { + for ( + var m, y = r.removed[Symbol.iterator](); + !(f = (m = y.next()).done); + f = !0 + ) { var _ = m.value n.push({ type: c.VALUE_REMOVED_FROM_ENUM, - description: ''.concat(_.name, ' was removed from enum type ').concat(e.name, '.'), + description: '' + .concat(_.name, ' was removed from enum type ') + .concat(e.name, '.'), }) } } catch (e) { @@ -11126,11 +13322,17 @@ and limitations under the License. u = !1, i = void 0 try { - for (var o, a = r.added[Symbol.iterator](); !(l = (o = a.next()).done); l = !0) { + for ( + var o, a = r.added[Symbol.iterator](); + !(l = (o = a.next()).done); + l = !0 + ) { var s = o.value n.push({ type: d.INTERFACE_ADDED_TO_OBJECT, - description: ''.concat(s.name, ' added to interfaces implemented by ').concat(e.name, '.'), + description: '' + .concat(s.name, ' added to interfaces implemented by ') + .concat(e.name, '.'), }) } } catch (e) { @@ -11146,11 +13348,17 @@ and limitations under the License. p = !1, h = void 0 try { - for (var m, y = r.removed[Symbol.iterator](); !(f = (m = y.next()).done); f = !0) { + for ( + var m, y = r.removed[Symbol.iterator](); + !(f = (m = y.next()).done); + f = !0 + ) { var _ = m.value n.push({ type: c.INTERFACE_REMOVED_FROM_OBJECT, - description: ''.concat(e.name, ' no longer implements interface ').concat(_.name, '.'), + description: '' + .concat(e.name, ' no longer implements interface ') + .concat(_.name, '.'), }) } } catch (e) { @@ -11171,9 +13379,18 @@ and limitations under the License. i = !1, o = void 0 try { - for (var a, s = l.removed[Symbol.iterator](); !(u = (a = s.next()).done); u = !0) { + for ( + var a, s = l.removed[Symbol.iterator](); + !(u = (a = s.next()).done); + u = !0 + ) { var d = a.value - n.push({ type: c.FIELD_REMOVED, description: ''.concat(e.name, '.').concat(d.name, ' was removed.') }) + n.push({ + type: c.FIELD_REMOVED, + description: '' + .concat(e.name, '.') + .concat(d.name, ' was removed.'), + }) } } catch (e) { ;(i = !0), (o = e) @@ -11188,7 +13405,11 @@ and limitations under the License. p = !1, h = void 0 try { - for (var m, y = l.persisted[Symbol.iterator](); !(f = (m = y.next()).done); f = !0) { + for ( + var m, y = l.persisted[Symbol.iterator](); + !(f = (m = y.next()).done); + f = !0 + ) { var _ = m.value, g = _[0], v = _[1] @@ -11197,8 +13418,12 @@ and limitations under the License. n.push({ type: c.FIELD_CHANGED_KIND, description: - ''.concat(e.name, '.').concat(g.name, ' changed type from ') + - ''.concat(String(g.type), ' to ').concat(String(v.type), '.'), + '' + .concat(e.name, '.') + .concat(g.name, ' changed type from ') + + '' + .concat(String(g.type), ' to ') + .concat(String(v.type), '.'), }) } } catch (e) { @@ -11219,7 +13444,11 @@ and limitations under the License. i = !1, o = void 0 try { - for (var s, f = l.removed[Symbol.iterator](); !(u = (s = f.next()).done); u = !0) { + for ( + var s, f = l.removed[Symbol.iterator](); + !(u = (s = f.next()).done); + u = !0 + ) { var p = s.value r.push({ type: c.ARG_REMOVED, @@ -11242,7 +13471,11 @@ and limitations under the License. m = !1, y = void 0 try { - for (var _, g = l.persisted[Symbol.iterator](); !(h = (_ = g.next()).done); h = !0) { + for ( + var _, g = l.persisted[Symbol.iterator](); + !(h = (_ = g.next()).done); + h = !0 + ) { var v = _.value, b = v[0], T = v[1] @@ -11277,7 +13510,8 @@ and limitations under the License. '' .concat(e.name, '.') .concat(t.name, ' arg ') - .concat(b.name, ' has changed type from ') + ''.concat(String(b.type), ' to ').concat(String(T.type), '.'), + .concat(b.name, ' has changed type from ') + + ''.concat(String(b.type), ' to ').concat(String(T.type), '.'), }) } } catch (e) { @@ -11293,7 +13527,11 @@ and limitations under the License. S = !1, k = void 0 try { - for (var j, C = l.added[Symbol.iterator](); !(M = (j = C.next()).done); M = !0) { + for ( + var j, C = l.added[Symbol.iterator](); + !(M = (j = C.next()).done); + M = !0 + ) { var N = j.value Object(a.P)(N) ? r.push({ @@ -11324,16 +13562,19 @@ and limitations under the License. } function T(e, t) { return Object(a.J)(e) - ? (Object(a.J)(t) && T(e.ofType, t.ofType)) || (Object(a.L)(t) && T(e, t.ofType)) + ? (Object(a.J)(t) && T(e.ofType, t.ofType)) || + (Object(a.L)(t) && T(e, t.ofType)) : Object(a.L)(e) ? Object(a.L)(t) && T(e.ofType, t.ofType) - : (Object(a.K)(t) && e.name === t.name) || (Object(a.L)(t) && T(e, t.ofType)) + : (Object(a.K)(t) && e.name === t.name) || + (Object(a.L)(t) && T(e, t.ofType)) } function w(e, t) { return Object(a.J)(e) ? Object(a.J)(t) && w(e.ofType, t.ofType) : Object(a.L)(e) - ? (Object(a.L)(t) && w(e.ofType, t.ofType)) || (!Object(a.L)(t) && w(e.ofType, t)) + ? (Object(a.L)(t) && w(e.ofType, t.ofType)) || + (!Object(a.L)(t) && w(e.ofType, t)) : Object(a.K)(t) && e.name === t.name } function O(e) { @@ -11363,7 +13604,11 @@ and limitations under the License. s = !1, c = void 0 try { - for (var d, f = e[Symbol.iterator](); !(a = (d = f.next()).done); a = !0) { + for ( + var d, f = e[Symbol.iterator](); + !(a = (d = f.next()).done); + a = !0 + ) { var p = d.value, h = o[p.name] void 0 === h ? r.push(p) : u.push([p, h]) @@ -11381,7 +13626,11 @@ and limitations under the License. y = !1, _ = void 0 try { - for (var g, v = t[Symbol.iterator](); !(m = (g = v.next()).done); m = !0) { + for ( + var g, v = t[Symbol.iterator](); + !(m = (g = v.next()).done); + m = !0 + ) { var b = g.value void 0 === i[b.name] && n.push(b) } @@ -11408,19 +13657,24 @@ and limitations under the License. var l, u, i = t + '.' + n - e.resolve = ((l = e.resolve), - (u = i), - void 0 === l && (l = r.defaultFieldResolver), - function(e, t, n, r) { - var i = l(e, t, n, r) - if (void 0 === i) throw new Error('Resolve function for "' + u + '" returned undefined') - return i - }) + e.resolve = + ((l = e.resolve), + (u = i), + void 0 === l && (l = r.defaultFieldResolver), + function(e, t, n, r) { + var i = l(e, t, n, r) + if (void 0 === i) + throw new Error( + 'Resolve function for "' + u + '" returned undefined', + ) + return i + }) }) } function a(e, t) { if (!t) throw new Error('Must provide a logger') - if ('function' != typeof t.log) throw new Error('Logger.log must be a function') + if ('function' != typeof t.log) + throw new Error('Logger.log must be a function') i.forEachField(e, function(e, n, r) { var l = n + '.' + r e.resolve = i.decorateWithLogger(e.resolve, t, l) @@ -11444,7 +13698,10 @@ and limitations under the License. b = void 0 === v ? {} : v, T = e.inheritResolversFromInterfaces, w = void 0 !== T && T - if ('object' != typeof h) throw new i.SchemaError('Expected `resolverValidationOptions` to be an object') + if ('object' != typeof h) + throw new i.SchemaError( + 'Expected `resolverValidationOptions` to be an object', + ) if (!t) throw new i.SchemaError('Must provide typeDefs') if (!r) throw new i.SchemaError('Must provide resolvers') var O = Array.isArray(r) @@ -11465,7 +13722,8 @@ and limitations under the License. i.assertResolveFunctionsPresent(D, h), f || o(D), c && a(D, c), - 'function' == typeof r.__schema && i.addSchemaLevelResolveFunction(D, r.__schema), + 'function' == typeof r.__schema && + i.addSchemaLevelResolveFunction(D, r.__schema), s && i.attachConnectorsToContext(D, s), y && i.attachDirectiveResolvers(D, y), g && l.SchemaDirectiveVisitor.visitSchemaDirectives(D, g), @@ -11511,7 +13769,10 @@ and limitations under the License. return ( Object.keys(d).map(function(a) { var s = d[a] - if (l.isNamedType(s) && '__' !== l.getNamedType(s).name.slice(0, 2)) { + if ( + l.isNamedType(s) && + '__' !== l.getNamedType(s).name.slice(0, 2) + ) { var c = (function(e, t) { var n = [r.TYPE] if (e instanceof l.GraphQLObjectType) { @@ -11528,12 +13789,21 @@ and limitations under the License. e instanceof l.GraphQLInputObjectType ? n.push(r.INPUT_OBJECT_TYPE) : e instanceof l.GraphQLInterfaceType - ? n.push(r.COMPOSITE_TYPE, r.ABSTRACT_TYPE, r.INTERFACE_TYPE) + ? n.push( + r.COMPOSITE_TYPE, + r.ABSTRACT_TYPE, + r.INTERFACE_TYPE, + ) : e instanceof l.GraphQLUnionType - ? n.push(r.COMPOSITE_TYPE, r.ABSTRACT_TYPE, r.UNION_TYPE) + ? n.push( + r.COMPOSITE_TYPE, + r.ABSTRACT_TYPE, + r.UNION_TYPE, + ) : e instanceof l.GraphQLEnumType ? n.push(r.ENUM_TYPE) - : e instanceof l.GraphQLScalarType && n.push(r.SCALAR_TYPE) + : e instanceof l.GraphQLScalarType && + n.push(r.SCALAR_TYPE) return n })(s, e), f = (function(e, t) { @@ -11545,7 +13815,12 @@ and limitations under the License. })(t, c) if (f) { var p = f(s, e) - i[a] = void 0 === p ? u.recreateType(s, o, !n) : null === p ? null : u.recreateType(p, o, !n) + i[a] = + void 0 === p + ? u.recreateType(s, o, !n) + : null === p + ? null + : u.recreateType(p, o, !n) } else i[a] = u.recreateType(s, o, !n) } }), @@ -11621,7 +13896,16 @@ and limitations under the License. } function d(e, t) { var n = t(e.type) - return null === n ? null : [e.name, { type: n, defaultValue: e.defaultValue, description: e.description }] + return null === n + ? null + : [ + e.name, + { + type: n, + defaultValue: e.defaultValue, + description: e.description, + }, + ] } function f(e, t) { var n = {} @@ -11634,7 +13918,12 @@ and limitations under the License. ) } function p(e, t) { - return { type: t(e.type), defaultValue: e.defaultValue, description: e.description, astNode: e.astNode } + return { + type: t(e.type), + defaultValue: e.defaultValue, + description: e.description, + astNode: e.astNode, + } } ;(t.recreateType = function(e, t, n) { if (e instanceof r.GraphQLObjectType) { @@ -11708,7 +13997,12 @@ and limitations under the License. astNode: e.astNode, } }), - new r.GraphQLEnumType({ name: e.name, description: e.description, astNode: e.astNode, values: p }) + new r.GraphQLEnumType({ + name: e.name, + description: e.description, + astNode: e.astNode, + values: p, + }) ) } if (e instanceof r.GraphQLScalarType) @@ -11743,8 +14037,10 @@ and limitations under the License. (t.createResolveType = function(e) { var t = function(n) { var l - if (n instanceof r.GraphQLList) return null === (l = t(n.ofType)) ? null : new r.GraphQLList(l) - if (n instanceof r.GraphQLNonNull) return null === (l = t(n.ofType)) ? null : new r.GraphQLNonNull(l) + if (n instanceof r.GraphQLList) + return null === (l = t(n.ofType)) ? null : new r.GraphQLList(l) + if (n instanceof r.GraphQLNonNull) + return null === (l = t(n.ofType)) ? null : new r.GraphQLNonNull(l) if (!r.isNamedType(n)) return n var u = r.getNamedType(n).name switch (u) { @@ -11796,7 +14092,8 @@ and limitations under the License. try { return o(e, t, n) } catch (e) {} - if ('get' in n || 'set' in n) throw TypeError('Accessors not supported') + if ('get' in n || 'set' in n) + throw TypeError('Accessors not supported') return 'value' in n && (e[t] = n.value), e } }, @@ -11844,10 +14141,22 @@ and limitations under the License. return ( 'string' != typeof e && Object(l.a)(0, 'Expected string'), e.length > 1 && '_' === e[0] && '_' === e[1] - ? new r.a('Name "'.concat(e, '" must not begin with "__", which is reserved by GraphQL introspection.'), t) + ? new r.a( + 'Name "'.concat( + e, + '" must not begin with "__", which is reserved by GraphQL introspection.', + ), + t, + ) : u.test(e) ? void 0 - : new r.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e, '" does not.'), t) + : new r.a( + 'Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat( + e, + '" does not.', + ), + t, + ) ) } }, @@ -11860,7 +14169,10 @@ and limitations under the License. t ? 'description' : '', '\n locations\n args {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ', ) - .concat(t ? 'description' : '', '\n fields(includeDeprecated: true) {\n name\n ') + .concat( + t ? 'description' : '', + '\n fields(includeDeprecated: true) {\n name\n ', + ) .concat( t ? 'description' : '', '\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ', @@ -11977,8 +14289,17 @@ and limitations under the License. Error.captureStackTrace(this, this.constructor) } let p - Object.defineProperties(d.prototype, { size: { enumerable: !0 }, type: { enumerable: !0 }, slice: { enumerable: !0 } }), - Object.defineProperty(d.prototype, Symbol.toStringTag, { value: 'Blob', writable: !1, enumerable: !1, configurable: !0 }), + Object.defineProperties(d.prototype, { + size: { enumerable: !0 }, + type: { enumerable: !0 }, + slice: { enumerable: !0 }, + }), + Object.defineProperty(d.prototype, Symbol.toStringTag, { + value: 'Blob', + writable: !1, + enumerable: !1, + configurable: !0, + }), (f.prototype = Object.create(Error.prototype)), (f.prototype.constructor = f), (f.prototype.name = 'FetchError') @@ -11989,7 +14310,8 @@ and limitations under the License. m = r.PassThrough function y(e) { var t = this, - n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, + n = + arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, l = n.size let u = void 0 === l ? 0 : l var i = n.timeout @@ -12013,17 +14335,26 @@ and limitations under the License. const n = 'AbortError' === e.name ? e - : new f(`Invalid response body while trying to fetch ${t.url}: ${e.message}`, 'system', e) + : new f( + `Invalid response body while trying to fetch ${t.url}: ${e.message}`, + 'system', + e, + ) t[h].error = n }) } function _() { var e = this - if (this[h].disturbed) return y.Promise.reject(new TypeError(`body used already for: ${this.url}`)) - if (((this[h].disturbed = !0), this[h].error)) return y.Promise.reject(this[h].error) + if (this[h].disturbed) + return y.Promise.reject( + new TypeError(`body used already for: ${this.url}`), + ) + if (((this[h].disturbed = !0), this[h].error)) + return y.Promise.reject(this[h].error) let t = this.body if (null === t) return y.Promise.resolve(Buffer.alloc(0)) - if ((v(t) && (t = t.stream()), Buffer.isBuffer(t))) return y.Promise.resolve(t) + if ((v(t) && (t = t.stream()), Buffer.isBuffer(t))) + return y.Promise.resolve(t) if (!(t instanceof r)) return y.Promise.resolve(Buffer.alloc(0)) let n = [], l = 0, @@ -12032,17 +14363,37 @@ and limitations under the License. let o e.timeout && (o = setTimeout(function() { - ;(u = !0), i(new f(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`, 'body-timeout')) + ;(u = !0), + i( + new f( + `Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`, + 'body-timeout', + ), + ) }, e.timeout)), t.on('error', function(t) { 'AbortError' === t.name ? ((u = !0), i(t)) - : i(new f(`Invalid response body while trying to fetch ${e.url}: ${t.message}`, 'system', t)) + : i( + new f( + `Invalid response body while trying to fetch ${e.url}: ${t.message}`, + 'system', + t, + ), + ) }), t.on('data', function(t) { if (!u && null !== t) { if (e.size && l + t.length > e.size) - return (u = !0), void i(new f(`content size at ${e.url} over limit: ${e.size}`, 'max-size')) + return ( + (u = !0), + void i( + new f( + `content size at ${e.url} over limit: ${e.size}`, + 'max-size', + ), + ) + ) ;(l += t.length), n.push(t) } }), @@ -12052,7 +14403,13 @@ and limitations under the License. try { r(Buffer.concat(n, l)) } catch (t) { - i(new f(`Could not create Buffer from response body for ${e.url}: ${t.message}`, 'system', t)) + i( + new f( + `Could not create Buffer from response body for ${e.url}: ${t.message}`, + 'system', + t, + ), + ) } } }) @@ -12092,7 +14449,12 @@ and limitations under the License. return ( l instanceof r && 'function' != typeof l.getBoundary && - ((t = new m()), (n = new m()), l.pipe(t), l.pipe(n), (e[h].body = t), (l = n)), + ((t = new m()), + (n = new m()), + l.pipe(t), + l.pipe(n), + (e[h].body = t), + (l = n)), l ) } @@ -12127,7 +14489,8 @@ and limitations under the License. ? t.length : t && 'function' == typeof t.getLengthSync && - ((t._lengthRetrievers && 0 == t._lengthRetrievers.length) || (t.hasKnownLength && t.hasKnownLength())) + ((t._lengthRetrievers && 0 == t._lengthRetrievers.length) || + (t.hasKnownLength && t.hasKnownLength())) ? t.getLengthSync() : null } @@ -12146,7 +14509,9 @@ and limitations under the License. blob() { let e = (this.headers && this.headers.get('content-type')) || '' return _.call(this).then(function(t) { - return Object.assign(new d([], { type: e.toLowerCase() }), { [s]: t }) + return Object.assign(new d([], { type: e.toLowerCase() }), { + [s]: t, + }) }) }, json() { @@ -12155,7 +14520,12 @@ and limitations under the License. try { return JSON.parse(t.toString()) } catch (t) { - return y.Promise.reject(new f(`invalid json response body at ${e.url} reason: ${t.message}`, 'invalid-json')) + return y.Promise.reject( + new f( + `invalid json response body at ${e.url} reason: ${t.message}`, + 'invalid-json', + ), + ) } }) }, @@ -12172,19 +14542,25 @@ and limitations under the License. return _.call(this).then(function(t) { return (function(e, t) { if ('function' != typeof p) - throw new Error('The package `encoding` must be installed to use the textConverted() function') + throw new Error( + 'The package `encoding` must be installed to use the textConverted() function', + ) const n = t.get('content-type') let r, l, u = 'utf-8' n && (r = /charset=([^;]*)/i.exec(n)) - ;(l = e.slice(0, 1024).toString()), !r && l && (r = / 0 && void 0 !== arguments[0] ? arguments[0] : void 0 + let e = + arguments.length > 0 && void 0 !== arguments[0] + ? arguments[0] + : void 0 if (((this[S] = Object.create(null)), e instanceof k)) { const t = e.raw(), n = Object.keys(t) for (const e of n) for (const n of t[e]) this.append(e, n) } else if (null == e); else { - if ('object' != typeof e) throw new TypeError('Provided initializer must be an object') + if ('object' != typeof e) + throw new TypeError('Provided initializer must be an object') { const t = e[Symbol.iterator] if (null != t) { - if ('function' != typeof t) throw new TypeError('Header pairs must be iterable') + if ('function' != typeof t) + throw new TypeError('Header pairs must be iterable') const n = [] for (const t of e) { - if ('object' != typeof t || 'function' != typeof t[Symbol.iterator]) + if ( + 'object' != typeof t || + 'function' != typeof t[Symbol.iterator] + ) throw new TypeError('Each header pair must be iterable') n.push(Array.from(t)) } for (const e of n) { - if (2 !== e.length) throw new TypeError('Each header pair must be a name/value tuple') + if (2 !== e.length) + throw new TypeError( + 'Each header pair must be a name/value tuple', + ) this.append(e[0], e[1]) } } else @@ -12257,7 +14646,10 @@ and limitations under the License. return void 0 === t ? null : this[S][t].join(', ') } forEach(e) { - let t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : void 0, + let t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : void 0, n = j(this), r = 0 for (; r < n.length; ) { @@ -12299,7 +14691,10 @@ and limitations under the License. } } function j(e) { - let t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 'key+value' + let t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : 'key+value' return Object.keys(e[S]) .sort() .map( @@ -12342,13 +14737,16 @@ and limitations under the License. const A = Object.setPrototypeOf( { next() { - if (!this || Object.getPrototypeOf(this) !== A) throw new TypeError('Value of `this` is not a HeadersIterator') + if (!this || Object.getPrototypeOf(this) !== A) + throw new TypeError('Value of `this` is not a HeadersIterator') var e = this[C] const t = e.target, n = e.kind, r = e.index, l = j(t, n) - return r >= l.length ? { value: void 0, done: !0 } : ((this[C].index = r + 1), { value: l[r], done: !1 }) + return r >= l.length + ? { value: void 0, done: !0 } + : ((this[C].index = r + 1), { value: l[r], done: !1 }) }, }, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())), @@ -12358,13 +14756,24 @@ and limitations under the License. n = M(e[S], 'Host') return void 0 !== n && (t[n] = t[n][0]), t } - Object.defineProperty(A, Symbol.toStringTag, { value: 'HeadersIterator', writable: !1, enumerable: !1, configurable: !0 }) + Object.defineProperty(A, Symbol.toStringTag, { + value: 'HeadersIterator', + writable: !1, + enumerable: !1, + configurable: !0, + }) const x = Symbol('Response internals'), Y = l.STATUS_CODES class I { constructor() { - let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null, - t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {} + let e = + arguments.length > 0 && void 0 !== arguments[0] + ? arguments[0] + : null, + t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : {} y.call(this, e, t) const n = t.status || 200, r = new k(t.headers) @@ -12372,7 +14781,13 @@ and limitations under the License. const t = T(e) t && r.append('Content-Type', t) } - this[x] = { url: t.url, status: n, statusText: t.statusText || Y[n], headers: r, counter: t.counter } + this[x] = { + url: t.url, + status: n, + statusText: t.statusText || Y[n], + headers: r, + counter: t.counter, + } } get url() { return this[x].url || '' @@ -12429,13 +14844,26 @@ and limitations under the License. class Q { constructor(e) { let t, - n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {} - V(e) ? (t = R(e.url)) : ((t = e && e.href ? R(e.href) : R(`${e}`)), (e = {})) + n = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : {} + V(e) + ? (t = R(e.url)) + : ((t = e && e.href ? R(e.href) : R(`${e}`)), (e = {})) let r = n.method || e.method || 'GET' - if (((r = r.toUpperCase()), (null != n.body || (V(e) && null !== e.body)) && ('GET' === r || 'HEAD' === r))) + if ( + ((r = r.toUpperCase()), + (null != n.body || (V(e) && null !== e.body)) && + ('GET' === r || 'HEAD' === r)) + ) throw new TypeError('Request with GET/HEAD method cannot have body') - let l = null != n.body ? n.body : V(e) && null !== e.body ? b(e) : null - y.call(this, l, { timeout: n.timeout || e.timeout || 0, size: n.size || e.size || 0 }) + let l = + null != n.body ? n.body : V(e) && null !== e.body ? b(e) : null + y.call(this, l, { + timeout: n.timeout || e.timeout || 0, + size: n.size || e.size || 0, + }) const u = new k(n.headers || e.headers || {}) if (null != l && !u.has('Content-Type')) { const e = T(l) @@ -12450,10 +14878,26 @@ and limitations under the License. return !(!t || 'AbortSignal' !== t.constructor.name) })(i)) ) - throw new TypeError('Expected signal to be an instanceof AbortSignal') - ;(this[F] = { method: r, redirect: n.redirect || e.redirect || 'follow', headers: u, parsedURL: t, signal: i }), - (this.follow = void 0 !== n.follow ? n.follow : void 0 !== e.follow ? e.follow : 20), - (this.compress = void 0 !== n.compress ? n.compress : void 0 === e.compress || e.compress), + throw new TypeError( + 'Expected signal to be an instanceof AbortSignal', + ) + ;(this[F] = { + method: r, + redirect: n.redirect || e.redirect || 'follow', + headers: u, + parsedURL: t, + signal: i, + }), + (this.follow = + void 0 !== n.follow + ? n.follow + : void 0 !== e.follow + ? e.follow + : 20), + (this.compress = + void 0 !== n.compress + ? n.compress + : void 0 === e.compress || e.compress), (this.counter = n.counter || e.counter || 0), (this.agent = n.agent || e.agent) } @@ -12477,7 +14921,10 @@ and limitations under the License. } } function U(e) { - Error.call(this, e), (this.type = 'aborted'), (this.message = e), Error.captureStackTrace(this, this.constructor) + Error.call(this, e), + (this.type = 'aborted'), + (this.message = e), + Error.captureStackTrace(this, this.constructor) } y.mixIn(Q.prototype), Object.defineProperty(Q.prototype, Symbol.toStringTag, { @@ -12500,7 +14947,10 @@ and limitations under the License. const q = r.PassThrough, W = u.resolve function G(e, t) { - if (!G.Promise) throw new Error('native promise missing, set fetch.Promise to your favorite alternative') + if (!G.Promise) + throw new Error( + 'native promise missing, set fetch.Promise to your favorite alternative', + ) return ( (y.Promise = G.Promise), new G.Promise(function(n, u) { @@ -12508,24 +14958,45 @@ and limitations under the License. s = (function(e) { const t = e[F].parsedURL, n = new k(e[F].headers) - if ((n.has('Accept') || n.set('Accept', '*/*'), !t.protocol || !t.hostname)) + if ( + (n.has('Accept') || n.set('Accept', '*/*'), + !t.protocol || !t.hostname) + ) throw new TypeError('Only absolute URLs are supported') - if (!/^https?:$/.test(t.protocol)) throw new TypeError('Only HTTP(S) protocols are supported') + if (!/^https?:$/.test(t.protocol)) + throw new TypeError('Only HTTP(S) protocols are supported') if (e.signal && e.body instanceof r.Readable && !H) - throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8') + throw new Error( + 'Cancellation of streamed requests with AbortSignal is not supported in node < 8', + ) let l = null - if ((null == e.body && /^(POST|PUT)$/i.test(e.method) && (l = '0'), null != e.body)) { + if ( + (null == e.body && + /^(POST|PUT)$/i.test(e.method) && + (l = '0'), + null != e.body) + ) { const t = w(e) 'number' == typeof t && (l = String(t)) } l && n.set('Content-Length', l), - n.has('User-Agent') || n.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'), - e.compress && !n.has('Accept-Encoding') && n.set('Accept-Encoding', 'gzip,deflate') + n.has('User-Agent') || + n.set( + 'User-Agent', + 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)', + ), + e.compress && + !n.has('Accept-Encoding') && + n.set('Accept-Encoding', 'gzip,deflate') let u = e.agent return ( 'function' == typeof u && (u = u(t)), n.has('Connection') || u || n.set('Connection', 'close'), - Object.assign({}, t, { method: e.method, headers: P(n), agent: u }) + Object.assign({}, t, { + method: e.method, + headers: P(n), + agent: u, + }) ) })(a), c = ('https:' === s.protocol ? i : l).request, @@ -12533,7 +15004,9 @@ and limitations under the License. let p = null const h = function() { let e = new U('The user aborted a request.') - u(e), a.body && a.body instanceof r.Readable && a.body.destroy(e), p && p.body && p.body.emit('error', e) + u(e), + a.body && a.body instanceof r.Readable && a.body.destroy(e), + p && p.body && p.body.emit('error', e) } if (d && d.aborted) return void h() const m = function() { @@ -12548,11 +15021,19 @@ and limitations under the License. a.timeout && y.once('socket', function(e) { _ = setTimeout(function() { - u(new f(`network timeout at: ${a.url}`, 'request-timeout')), g() + u(new f(`network timeout at: ${a.url}`, 'request-timeout')), + g() }, a.timeout) }), y.on('error', function(e) { - u(new f(`request to ${a.url} failed, reason: ${e.message}`, 'system', e)), g() + u( + new f( + `request to ${a.url} failed, reason: ${e.message}`, + 'system', + e, + ), + ), + g() }), y.on('response', function(e) { clearTimeout(_) @@ -12561,7 +15042,11 @@ and limitations under the License. for (const n of Object.keys(e)) if (!O.test(n)) if (Array.isArray(e[n])) - for (const r of e[n]) D.test(r) || (void 0 === t[S][n] ? (t[S][n] = [r]) : t[S][n].push(r)) + for (const r of e[n]) + D.test(r) || + (void 0 === t[S][n] + ? (t[S][n] = [r]) + : t[S][n].push(r)) else D.test(e[n]) || (t[S][n] = [e[n]]) return t })(e.headers) @@ -12570,7 +15055,15 @@ and limitations under the License. l = null === r ? null : W(a.url, r) switch (a.redirect) { case 'error': - return u(new f(`redirect mode is set to error: ${a.url}`, 'no-redirect')), void g() + return ( + u( + new f( + `redirect mode is set to error: ${a.url}`, + 'no-redirect', + ), + ), + void g() + ) case 'manual': if (null !== l) try { @@ -12582,7 +15075,15 @@ and limitations under the License. case 'follow': if (null === l) break if (a.counter >= a.follow) - return u(new f(`maximum redirect reached at: ${a.url}`, 'max-redirect')), void g() + return ( + u( + new f( + `maximum redirect reached at: ${a.url}`, + 'max-redirect', + ), + ), + void g() + ) const r = { headers: new k(a.headers), follow: a.follow, @@ -12595,9 +15096,19 @@ and limitations under the License. timeout: a.timeout, } return 303 !== e.statusCode && a.body && null === w(a) - ? (u(new f('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')), void g()) - : ((303 !== e.statusCode && ((301 !== e.statusCode && 302 !== e.statusCode) || 'POST' !== a.method)) || - ((r.method = 'GET'), (r.body = void 0), r.headers.delete('content-length')), + ? (u( + new f( + 'Cannot follow redirect with body being a readable stream', + 'unsupported-redirect', + ), + ), + void g()) + : ((303 !== e.statusCode && + ((301 !== e.statusCode && 302 !== e.statusCode) || + 'POST' !== a.method)) || + ((r.method = 'GET'), + (r.body = void 0), + r.headers.delete('content-length')), n(G(new Q(l, r))), void g()) } @@ -12616,23 +15127,52 @@ and limitations under the License. counter: a.counter, }, i = t.get('Content-Encoding') - if (!a.compress || 'HEAD' === a.method || null === i || 204 === e.statusCode || 304 === e.statusCode) + if ( + !a.compress || + 'HEAD' === a.method || + null === i || + 204 === e.statusCode || + 304 === e.statusCode + ) return (p = new I(r, l)), void n(p) const s = { flush: o.Z_SYNC_FLUSH, finishFlush: o.Z_SYNC_FLUSH } - if ('gzip' == i || 'x-gzip' == i) return (r = r.pipe(o.createGunzip(s))), (p = new I(r, l)), void n(p) + if ('gzip' == i || 'x-gzip' == i) + return ( + (r = r.pipe(o.createGunzip(s))), + (p = new I(r, l)), + void n(p) + ) if ('deflate' != i && 'x-deflate' != i) { - if ('br' == i && 'function' == typeof o.createBrotliDecompress) - return (r = r.pipe(o.createBrotliDecompress())), (p = new I(r, l)), void n(p) + if ( + 'br' == i && + 'function' == typeof o.createBrotliDecompress + ) + return ( + (r = r.pipe(o.createBrotliDecompress())), + (p = new I(r, l)), + void n(p) + ) ;(p = new I(r, l)), n(p) } else { e.pipe(new q()).once('data', function(e) { - ;(r = 8 == (15 & e[0]) ? r.pipe(o.createInflate()) : r.pipe(o.createInflateRaw())), (p = new I(r, l)), n(p) + ;(r = + 8 == (15 & e[0]) + ? r.pipe(o.createInflate()) + : r.pipe(o.createInflateRaw())), + (p = new I(r, l)), + n(p) }) } }), (function(e, t) { const n = t.body - null === n ? e.end() : v(n) ? n.stream().pipe(e) : Buffer.isBuffer(n) ? (e.write(n), e.end()) : n.pipe(e) + null === n + ? e.end() + : v(n) + ? n.stream().pipe(e) + : Buffer.isBuffer(n) + ? (e.write(n), e.end()) + : n.pipe(e) })(y, a) }) ) @@ -12648,7 +15188,10 @@ and limitations under the License. }, function(e, t, n) { 'use strict' - var r = 'function' == typeof Symbol && 'function' == typeof Symbol.for ? Symbol.for('nodejs.util.inspect.custom') : void 0 + var r = + 'function' == typeof Symbol && 'function' == typeof Symbol.for + ? Symbol.for('nodejs.util.inspect.custom') + : void 0 t.a = r }, function(e, t, n) { @@ -12663,7 +15206,9 @@ and limitations under the License. l = n(1), u = n(48) function i(e, t) { - ;(e.prototype = Object.create(t.prototype)), (e.prototype.constructor = e), (e.__proto__ = t) + ;(e.prototype = Object.create(t.prototype)), + (e.prototype.constructor = e), + (e.__proto__ = t) } var o = (function() { function e(e) { @@ -12688,9 +15233,16 @@ and limitations under the License. var t = this._fragments return ( t || - (this._fragments = t = this.getDocument().definitions.reduce(function(e, t) { - return t.kind === l.a.FRAGMENT_DEFINITION && (e[t.name.value] = t), e - }, Object.create(null))), + (this._fragments = t = this.getDocument().definitions.reduce( + function(e, t) { + return ( + t.kind === l.a.FRAGMENT_DEFINITION && + (e[t.name.value] = t), + e + ) + }, + Object.create(null), + )), t[e] ) }), @@ -12704,9 +15256,15 @@ and limitations under the License. i = !1, o = void 0 try { - for (var a, s = r.selections[Symbol.iterator](); !(u = (a = s.next()).done); u = !0) { + for ( + var a, s = r.selections[Symbol.iterator](); + !(u = (a = s.next()).done); + u = !0 + ) { var c = a.value - c.kind === l.a.FRAGMENT_SPREAD ? t.push(c) : c.selectionSet && n.push(c.selectionSet) + c.kind === l.a.FRAGMENT_SPREAD + ? t.push(c) + : c.selectionSet && n.push(c.selectionSet) } } catch (e) { ;(i = !0), (o = e) @@ -12726,13 +15284,21 @@ and limitations under the License. var t = this._recursivelyReferencedFragments.get(e) if (!t) { t = [] - for (var n = Object.create(null), r = [e.selectionSet]; 0 !== r.length; ) { + for ( + var n = Object.create(null), r = [e.selectionSet]; + 0 !== r.length; + + ) { var l = r.pop(), u = !0, i = !1, o = void 0 try { - for (var a, s = this.getFragmentSpreads(l)[Symbol.iterator](); !(u = (a = s.next()).done); u = !0) { + for ( + var a, s = this.getFragmentSpreads(l)[Symbol.iterator](); + !(u = (a = s.next()).done); + u = !0 + ) { var c = a.value.name.value if (!0 !== n[c]) { n[c] = !0 @@ -12799,7 +15365,11 @@ and limitations under the License. return !1 }, Variable: function(e) { - n.push({ node: e, type: l.getInputType(), defaultValue: l.getDefaultValue() }) + n.push({ + node: e, + type: l.getInputType(), + defaultValue: l.getDefaultValue(), + }) }, }), ), @@ -12817,7 +15387,10 @@ and limitations under the License. l = void 0 try { for ( - var u, i = this.getRecursivelyReferencedFragments(e)[Symbol.iterator](); + var u, + i = this.getRecursivelyReferencedFragments(e)[ + Symbol.iterator + ](); !(n = (u = i.next()).done); n = !0 ) { @@ -12893,7 +15466,10 @@ and limitations under the License. a = o.get('env') i.a.resolve(e, `${a}.jzon`) o.load({ - shopify: { shopName: 'jemmawynne-development', accessToken: 'f50903d30045eaffacf14aa2dc37f167' }, + shopify: { + shopName: 'jemmawynne-development', + accessToken: 'f50903d30045eaffacf14aa2dc37f167', + }, sanity: { projectId: 'caazz4uw', dataset: 'production' }, }) }.call(this, '/')) @@ -12914,7 +15490,8 @@ and limitations under the License. Object.keys(n).forEach((e) => { this[e] = n[e] }), - this.name || Object.defineProperty(this, 'name', { value: 'ApolloError' }), + this.name || + Object.defineProperty(this, 'name', { value: 'ApolloError' }), (this.extensions = { code: t }) } } @@ -12931,27 +15508,37 @@ and limitations under the License. }) return ( (n.extensions = Object.assign({}, e.extensions, { - code: (e.extensions && e.extensions.code) || 'INTERNAL_SERVER_ERROR', - exception: Object.assign({}, e.extensions && e.extensions.exception, e.originalError), + code: + (e.extensions && e.extensions.code) || 'INTERNAL_SERVER_ERROR', + exception: Object.assign( + {}, + e.extensions && e.extensions.exception, + e.originalError, + ), })), delete n.extensions.exception.extensions, t && !n.extensions.exception.stacktrace && (n.extensions.exception.stacktrace = - (e.originalError && e.originalError.stack && e.originalError.stack.split('\n')) || + (e.originalError && + e.originalError.stack && + e.originalError.stack.split('\n')) || (e.stack && e.stack.split('\n'))), - 0 === Object.keys(n.extensions.exception).length && delete n.extensions.exception, + 0 === Object.keys(n.extensions.exception).length && + delete n.extensions.exception, n ) } function i(e, t) { - const n = t && t.errorClass ? new t.errorClass(e.message) : new l(e.message) + const n = + t && t.errorClass ? new t.errorClass(e.message) : new l(e.message) return ( Object.keys(e).forEach((t) => { n[t] = e[t] }), (n.extensions = Object.assign({}, n.extensions, e.extensions)), - n.extensions.code || (n.extensions.code = (t && t.code) || 'INTERNAL_SERVER_ERROR'), + n.extensions.code || + (n.extensions.code = (t && t.code) || 'INTERNAL_SERVER_ERROR'), Object.defineProperty(n, 'originalError', { value: {} }), Object.getOwnPropertyNames(e).forEach((t) => { Object.defineProperty(n.originalError, t, { value: e[t] }) @@ -12962,46 +15549,62 @@ and limitations under the License. ;(t.ApolloError = l), (t.toApolloError = function(e, t = 'INTERNAL_SERVER_ERROR') { let n = e - return n.extensions ? (n.extensions.code = t) : (n.extensions = { code: t }), n + return ( + n.extensions + ? (n.extensions.code = t) + : (n.extensions = { code: t }), + n + ) }), (t.fromGraphQLError = i) t.SyntaxError = class extends l { constructor(e) { - super(e, 'GRAPHQL_PARSE_FAILED'), Object.defineProperty(this, 'name', { value: 'SyntaxError' }) + super(e, 'GRAPHQL_PARSE_FAILED'), + Object.defineProperty(this, 'name', { value: 'SyntaxError' }) } } t.ValidationError = class extends l { constructor(e) { - super(e, 'GRAPHQL_VALIDATION_FAILED'), Object.defineProperty(this, 'name', { value: 'ValidationError' }) + super(e, 'GRAPHQL_VALIDATION_FAILED'), + Object.defineProperty(this, 'name', { value: 'ValidationError' }) } } t.AuthenticationError = class extends l { constructor(e) { - super(e, 'UNAUTHENTICATED'), Object.defineProperty(this, 'name', { value: 'AuthenticationError' }) + super(e, 'UNAUTHENTICATED'), + Object.defineProperty(this, 'name', { + value: 'AuthenticationError', + }) } } t.ForbiddenError = class extends l { constructor(e) { - super(e, 'FORBIDDEN'), Object.defineProperty(this, 'name', { value: 'ForbiddenError' }) + super(e, 'FORBIDDEN'), + Object.defineProperty(this, 'name', { value: 'ForbiddenError' }) } } class o extends l { constructor() { super('PersistedQueryNotFound', 'PERSISTED_QUERY_NOT_FOUND'), - Object.defineProperty(this, 'name', { value: 'PersistedQueryNotFoundError' }) + Object.defineProperty(this, 'name', { + value: 'PersistedQueryNotFoundError', + }) } } t.PersistedQueryNotFoundError = o class a extends l { constructor() { super('PersistedQueryNotSupported', 'PERSISTED_QUERY_NOT_SUPPORTED'), - Object.defineProperty(this, 'name', { value: 'PersistedQueryNotSupportedError' }) + Object.defineProperty(this, 'name', { + value: 'PersistedQueryNotSupportedError', + }) } } t.PersistedQueryNotSupportedError = a ;(t.UserInputError = class extends l { constructor(e, t) { - super(e, 'BAD_USER_INPUT', t), Object.defineProperty(this, 'name', { value: 'UserInputError' }) + super(e, 'BAD_USER_INPUT', t), + Object.defineProperty(this, 'name', { value: 'UserInputError' }) } }), (t.formatApolloErrors = function(e, t) { @@ -13024,13 +15627,19 @@ and limitations under the License. return e })(n(e)) } catch (e) { - return u(l ? e : i(new r.GraphQLError('Internal server error')), l) + return u( + l ? e : i(new r.GraphQLError('Internal server error')), + l, + ) } }) : o }), (t.hasPersistedQueryError = function(e) { - return !!Array.isArray(e) && e.some((e) => e instanceof o || e instanceof a) + return ( + !!Array.isArray(e) && + e.some((e) => e instanceof o || e instanceof a) + ) }) }, function(e, t, n) { @@ -13120,7 +15729,10 @@ and limitations under the License. var r = e.getMutationType() r && t.push(' mutation: '.concat(r.name)) var l = e.getSubscriptionType() - return l && t.push(' subscription: '.concat(l.name)), 'schema {\n'.concat(t.join('\n'), '\n}') + return ( + l && t.push(' subscription: '.concat(l.name)), + 'schema {\n'.concat(t.join('\n'), '\n}') + ) } } function g(e, t) { @@ -13170,7 +15782,15 @@ and limitations under the License. function v(e, t) { return b( Object(l.a)(t.getFields()).map(function(t, n) { - return D(e, t, ' ', !n) + ' ' + t.name + T(e, t.args, ' ') + ': ' + String(t.type) + O(t) + return ( + D(e, t, ' ', !n) + + ' ' + + t.name + + T(e, t.args, ' ') + + ': ' + + String(t.type) + + O(t) + ) }), ) } @@ -13178,7 +15798,8 @@ and limitations under the License. return 0 !== e.length ? ' {\n' + e.join('\n') + '\n}' : '' } function T(e, t) { - var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : '' + var n = + arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : '' return 0 === t.length ? '' : t.every(function(e) { @@ -13204,28 +15825,39 @@ and limitations under the License. if (!e.isDeprecated) return '' var t = e.deprecationReason, n = Object(i.a)(t, c.e) - return n && '' !== t && t !== d.a ? ' @deprecated(reason: ' + Object(o.print)(n) + ')' : ' @deprecated' + return n && '' !== t && t !== d.a + ? ' @deprecated(reason: ' + Object(o.print)(n) + ')' + : ' @deprecated' } function D(e, t) { - var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : '', + var n = + arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : '', l = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3] if (!t.description) return '' var u, i, o, - s = ((u = t.description), - (i = 120 - n.length), - (o = u.split('\n')), - Object(r.a)(o, function(e) { - return e.length < i + 5 - ? e - : (function(e, t) { - var n = e.split(new RegExp('((?: |^).{15,'.concat(t - 40, '}(?= |$))'))) - if (n.length < 4) return [e] - for (var r = [n[0] + n[1] + n[2]], l = 3; l < n.length; l += 2) r.push(n[l].slice(1) + n[l + 1]) - return r - })(e, i) - })) + s = + ((u = t.description), + (i = 120 - n.length), + (o = u.split('\n')), + Object(r.a)(o, function(e) { + return e.length < i + 5 + ? e + : (function(e, t) { + var n = e.split( + new RegExp('((?: |^).{15,'.concat(t - 40, '}(?= |$))')), + ) + if (n.length < 4) return [e] + for ( + var r = [n[0] + n[1] + n[2]], l = 3; + l < n.length; + l += 2 + ) + r.push(n[l].slice(1) + n[l + 1]) + return r + })(e, i) + })) if (e && e.commentDescriptions) return (function(e, t, n) { var r = t && !n ? '\n' : '', @@ -13233,7 +15865,11 @@ and limitations under the License. u = !1, i = void 0 try { - for (var o, a = e[Symbol.iterator](); !(l = (o = a.next()).done); l = !0) { + for ( + var o, a = e[Symbol.iterator](); + !(l = (o = a.next()).done); + l = !0 + ) { var s = o.value r += '' === s ? t + '#\n' : t + '# ' + s + '\n' } @@ -13250,7 +15886,11 @@ and limitations under the License. })(s, n, l) var c = s.join('\n'), d = c.length > 70 - return (n && !l ? '\n' + n : n) + Object(a.c)(c, '', d).replace(/\n/g, '\n' + n) + '\n' + return ( + (n && !l ? '\n' + n : n) + + Object(a.c)(c, '', d).replace(/\n/g, '\n' + n) + + '\n' + ) } }, function(e, t, n) { @@ -13272,7 +15912,11 @@ and limitations under the License. function n() { this.constructor = e } - r(e, t), (e.prototype = null === t ? Object.create(t) : ((n.prototype = t.prototype), new n())) + r(e, t), + (e.prototype = + null === t + ? Object.create(t) + : ((n.prototype = t.prototype), new n())) }) Object.defineProperty(t, '__esModule', { value: !0 }) var u = n(8), @@ -13284,7 +15928,9 @@ and limitations under the License. (e.implementsVisitorMethod = function(t) { if (!t.startsWith('visit')) return !1 var n = this.prototype[t] - return 'function' == typeof n && (this === e || n !== e.prototype[t]) + return ( + 'function' == typeof n && (this === e || n !== e.prototype[t]) + ) }), (e.prototype.visitSchema = function(e) {}), (e.prototype.visitScalar = function(e) {}), @@ -13302,13 +15948,16 @@ and limitations under the License. })() function s(e, t) { function n(e, n) { - for (var r = [], l = 2; l < arguments.length; l++) r[l - 2] = arguments[l] + for (var r = [], l = 2; l < arguments.length; l++) + r[l - 2] = arguments[l] return ( t(n, e).every(function(t) { var l = t[e].apply(t, [n].concat(r)) if (void 0 === l) return !0 if ('visitSchema' === e || n instanceof u.GraphQLSchema) - throw new Error('Method ' + e + ' cannot replace schema with ' + l) + throw new Error( + 'Method ' + e + ' cannot replace schema with ' + l, + ) return null === l ? ((n = null), !1) : ((n = l), !0) }), n @@ -13321,7 +15970,10 @@ and limitations under the License. r && r.args && p(r.args, function(t) { - return n('visitArgumentDefinition', t, { field: r, objectType: e }) + return n('visitArgumentDefinition', t, { + field: r, + objectType: e, + }) }), r ) @@ -13382,7 +16034,8 @@ and limitations under the License. if (!t.startsWith('__')) { var n = e.name if (!n.startsWith('__')) { - if (o.call(i, n)) throw new Error('Duplicate schema type name ' + n) + if (o.call(i, n)) + throw new Error('Duplicate schema type name ' + n) i[n] = e } } @@ -13417,7 +16070,8 @@ and limitations under the License. p(r.getTypes(), function(e) { return n(e) }) - else if (!(r instanceof u.GraphQLEnumType)) throw new Error('Unexpected schema type: ' + r) + else if (!(r instanceof u.GraphQLEnumType)) + throw new Error('Unexpected schema type: ' + r) })(e), e ) @@ -13432,7 +16086,8 @@ and limitations under the License. } function n(t) { if (t instanceof u.GraphQLList) t = new u.GraphQLList(n(t.ofType)) - else if (t instanceof u.GraphQLNonNull) t = new u.GraphQLNonNull(n(t.ofType)) + else if (t instanceof u.GraphQLNonNull) + t = new u.GraphQLNonNull(n(t.ofType)) else if (u.isNamedType(t)) { var r = t, l = e.getType(r.name) @@ -13484,7 +16139,15 @@ and limitations under the License. l.arguments.forEach(function(e) { f[e.name.value] = h(e.value) })), - s.push(new d({ name: c, args: f, visitedType: u, schema: e, context: n })) + s.push( + new d({ + name: c, + args: f, + visitedType: u, + schema: e, + context: n, + }), + ) } } }), @@ -13517,12 +16180,23 @@ and limitations under the License. return ( 'visit' + e.replace(/([^_]*)_?/g, function(e, t) { - return t.charAt(0).toUpperCase() + t.slice(1).toLowerCase() + return ( + t.charAt(0).toUpperCase() + t.slice(1).toLowerCase() + ) }) ) })(e) - if (a.implementsVisitorMethod(t) && !r.implementsVisitorMethod(t)) - throw new Error('SchemaDirectiveVisitor for @' + n + ' must implement ' + t + ' method') + if ( + a.implementsVisitorMethod(t) && + !r.implementsVisitorMethod(t) + ) + throw new Error( + 'SchemaDirectiveVisitor for @' + + n + + ' must implement ' + + t + + ' method', + ) }) } }), @@ -13541,7 +16215,8 @@ and limitations under the License. var n = 0 Object.keys(e).forEach(function(r) { var l = t(e[r], r) - if (void 0 !== l) return null === l ? (delete e[r], void n++) : void (e[r] = l) + if (void 0 !== l) + return null === l ? (delete e[r], void n++) : void (e[r] = l) }), n > 0 && Array.isArray(e) && @@ -13582,7 +16257,10 @@ and limitations under the License. function r(e) { for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]) } - Object.defineProperty(t, '__esModule', { value: !0 }), n(491), r(n(531)), r(n(534)) + Object.defineProperty(t, '__esModule', { value: !0 }), + n(491), + r(n(531)), + r(n(534)) }, function(e, t, n) { var r = n(43), @@ -13617,7 +16295,12 @@ and limitations under the License. }, function(e, t) { e.exports = function(e, t) { - return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t } + return { + enumerable: !(1 & e), + configurable: !(2 & e), + writable: !(4 & e), + value: t, + } } }, function(e, t, n) { @@ -13648,7 +16331,8 @@ and limitations under the License. ;(r.Traces.encode = function(e, t) { const n = u(e, t), r = e.encodedTraces - if (null != r && r.length) for (let e = 0; e < r.length; ++e) n.uint32(10), n.bytes(r[e]) + if (null != r && r.length) + for (let e = 0; e < r.length; ++e) n.uint32(10), n.bytes(r[e]) return n }), (e.exports = r) @@ -13721,14 +16405,20 @@ and limitations under the License. if ( ((this._maxPayload = 0 | n), (this._options = e || {}), - (this._threshold = void 0 !== this._options.threshold ? this._options.threshold : 1024), + (this._threshold = + void 0 !== this._options.threshold + ? this._options.threshold + : 1024), (this._isServer = !!t), (this._deflate = null), (this._inflate = null), (this.params = null), !y) ) { - const e = void 0 !== this._options.concurrencyLimit ? this._options.concurrencyLimit : 10 + const e = + void 0 !== this._options.concurrencyLimit + ? this._options.concurrencyLimit + : 10 y = new r({ concurrency: e }) } } @@ -13738,52 +16428,74 @@ and limitations under the License. offer() { const e = {} return ( - this._options.serverNoContextTakeover && (e.server_no_context_takeover = !0), - this._options.clientNoContextTakeover && (e.client_no_context_takeover = !0), - this._options.serverMaxWindowBits && (e.server_max_window_bits = this._options.serverMaxWindowBits), + this._options.serverNoContextTakeover && + (e.server_no_context_takeover = !0), + this._options.clientNoContextTakeover && + (e.client_no_context_takeover = !0), + this._options.serverMaxWindowBits && + (e.server_max_window_bits = this._options.serverMaxWindowBits), this._options.clientMaxWindowBits ? (e.client_max_window_bits = this._options.clientMaxWindowBits) - : null == this._options.clientMaxWindowBits && (e.client_max_window_bits = !0), + : null == this._options.clientMaxWindowBits && + (e.client_max_window_bits = !0), e ) } accept(e) { return ( (e = this.normalizeParams(e)), - (this.params = this._isServer ? this.acceptAsServer(e) : this.acceptAsClient(e)), + (this.params = this._isServer + ? this.acceptAsServer(e) + : this.acceptAsClient(e)), this.params ) } cleanup() { - this._inflate && (this._inflate[c] ? (this._inflate[d] = !0) : (this._inflate.close(), (this._inflate = null))), - this._deflate && (this._deflate[c] ? (this._deflate[d] = !0) : (this._deflate.close(), (this._deflate = null))) + this._inflate && + (this._inflate[c] + ? (this._inflate[d] = !0) + : (this._inflate.close(), (this._inflate = null))), + this._deflate && + (this._deflate[c] + ? (this._deflate[d] = !0) + : (this._deflate.close(), (this._deflate = null))) } acceptAsServer(e) { const t = this._options, n = e.find( (e) => !( - (!1 === t.serverNoContextTakeover && e.server_no_context_takeover) || + (!1 === t.serverNoContextTakeover && + e.server_no_context_takeover) || (e.server_max_window_bits && (!1 === t.serverMaxWindowBits || - ('number' == typeof t.serverMaxWindowBits && t.serverMaxWindowBits > e.server_max_window_bits))) || - ('number' == typeof t.clientMaxWindowBits && !e.client_max_window_bits) + ('number' == typeof t.serverMaxWindowBits && + t.serverMaxWindowBits > e.server_max_window_bits))) || + ('number' == typeof t.clientMaxWindowBits && + !e.client_max_window_bits) ), ) - if (!n) throw new Error('None of the extension offers can be accepted') + if (!n) + throw new Error('None of the extension offers can be accepted') return ( t.serverNoContextTakeover && (n.server_no_context_takeover = !0), t.clientNoContextTakeover && (n.client_no_context_takeover = !0), - 'number' == typeof t.serverMaxWindowBits && (n.server_max_window_bits = t.serverMaxWindowBits), + 'number' == typeof t.serverMaxWindowBits && + (n.server_max_window_bits = t.serverMaxWindowBits), 'number' == typeof t.clientMaxWindowBits ? (n.client_max_window_bits = t.clientMaxWindowBits) - : (!0 !== n.client_max_window_bits && !1 !== t.clientMaxWindowBits) || delete n.client_max_window_bits, + : (!0 !== n.client_max_window_bits && + !1 !== t.clientMaxWindowBits) || + delete n.client_max_window_bits, n ) } acceptAsClient(e) { const t = e[0] - if (!1 === this._options.clientNoContextTakeover && t.client_no_context_takeover) + if ( + !1 === this._options.clientNoContextTakeover && + t.client_no_context_takeover + ) throw new Error('Unexpected parameter "client_no_context_takeover"') if (t.client_max_window_bits) { if ( @@ -13791,9 +16503,12 @@ and limitations under the License. ('number' == typeof this._options.clientMaxWindowBits && t.client_max_window_bits > this._options.clientMaxWindowBits) ) - throw new Error('Unexpected or invalid parameter "client_max_window_bits"') + throw new Error( + 'Unexpected or invalid parameter "client_max_window_bits"', + ) } else - 'number' == typeof this._options.clientMaxWindowBits && (t.client_max_window_bits = this._options.clientMaxWindowBits) + 'number' == typeof this._options.clientMaxWindowBits && + (t.client_max_window_bits = this._options.clientMaxWindowBits) return t } normalizeParams(e) { @@ -13801,21 +16516,39 @@ and limitations under the License. e.forEach((e) => { Object.keys(e).forEach((t) => { var n = e[t] - if (n.length > 1) throw new Error(`Parameter "${t}" must have only a single value`) + if (n.length > 1) + throw new Error( + `Parameter "${t}" must have only a single value`, + ) if (((n = n[0]), 'client_max_window_bits' === t)) { if (!0 !== n) { const e = +n - if (!Number.isInteger(e) || e < 8 || e > 15) throw new TypeError(`Invalid value for parameter "${t}": ${n}`) + if (!Number.isInteger(e) || e < 8 || e > 15) + throw new TypeError( + `Invalid value for parameter "${t}": ${n}`, + ) n = e - } else if (!this._isServer) throw new TypeError(`Invalid value for parameter "${t}": ${n}`) + } else if (!this._isServer) + throw new TypeError( + `Invalid value for parameter "${t}": ${n}`, + ) } else if ('server_max_window_bits' === t) { const e = +n - if (!Number.isInteger(e) || e < 8 || e > 15) throw new TypeError(`Invalid value for parameter "${t}": ${n}`) + if (!Number.isInteger(e) || e < 8 || e > 15) + throw new TypeError( + `Invalid value for parameter "${t}": ${n}`, + ) n = e } else { - if ('client_no_context_takeover' !== t && 'server_no_context_takeover' !== t) + if ( + 'client_no_context_takeover' !== t && + 'server_no_context_takeover' !== t + ) throw new Error(`Unknown parameter "${t}"`) - if (!0 !== n) throw new TypeError(`Invalid value for parameter "${t}": ${n}`) + if (!0 !== n) + throw new TypeError( + `Invalid value for parameter "${t}": ${n}`, + ) } e[t] = n }) @@ -13841,8 +16574,15 @@ and limitations under the License. const r = this._isServer ? 'client' : 'server' if (!this._inflate) { const e = `${r}_max_window_bits`, - t = 'number' != typeof this.params[e] ? l.Z_DEFAULT_WINDOWBITS : this.params[e] - ;(this._inflate = l.createInflateRaw(Object.assign({}, this._options.zlibInflateOptions, { windowBits: t }))), + t = + 'number' != typeof this.params[e] + ? l.Z_DEFAULT_WINDOWBITS + : this.params[e] + ;(this._inflate = l.createInflateRaw( + Object.assign({}, this._options.zlibInflateOptions, { + windowBits: t, + }), + )), (this._inflate[s] = this), (this._inflate[f] = 0), (this._inflate[h] = []), @@ -13855,11 +16595,15 @@ and limitations under the License. t && this._inflate.write(o), this._inflate.flush(() => { const e = this._inflate[m] - if (e) return this._inflate.close(), (this._inflate = null), void n(e) + if (e) + return this._inflate.close(), (this._inflate = null), void n(e) const l = u.concat(this._inflate[h], this._inflate[f]) - ;(t && this.params[`${r}_no_context_takeover`]) || this._inflate[d] + ;(t && this.params[`${r}_no_context_takeover`]) || + this._inflate[d] ? (this._inflate.close(), (this._inflate = null)) - : ((this._inflate[c] = !1), (this._inflate[f] = 0), (this._inflate[h] = [])), + : ((this._inflate[c] = !1), + (this._inflate[f] = 0), + (this._inflate[h] = [])), n(null, l) }) } @@ -13868,11 +16612,19 @@ and limitations under the License. const r = this._isServer ? 'server' : 'client' if (!this._deflate) { const e = `${r}_max_window_bits`, - t = 'number' != typeof this.params[e] ? l.Z_DEFAULT_WINDOWBITS : this.params[e] + t = + 'number' != typeof this.params[e] + ? l.Z_DEFAULT_WINDOWBITS + : this.params[e] ;(this._deflate = l.createDeflateRaw( - Object.assign({ memLevel: this._options.memLevel, level: this._options.level }, this._options.zlibDeflateOptions, { - windowBits: t, - }), + Object.assign( + { + memLevel: this._options.memLevel, + level: this._options.level, + }, + this._options.zlibDeflateOptions, + { windowBits: t }, + ), )), (this._deflate[f] = 0), (this._deflate[h] = []), @@ -13883,9 +16635,12 @@ and limitations under the License. this._deflate.flush(l.Z_SYNC_FLUSH, () => { var e = u.concat(this._deflate[h], this._deflate[f]) t && (e = e.slice(0, e.length - 4)), - (t && this.params[`${r}_no_context_takeover`]) || this._deflate[d] + (t && this.params[`${r}_no_context_takeover`]) || + this._deflate[d] ? (this._deflate.close(), (this._deflate = null)) - : ((this._deflate[c] = !1), (this._deflate[f] = 0), (this._deflate[h] = [])), + : ((this._deflate[c] = !1), + (this._deflate[f] = 0), + (this._deflate[h] = [])), n(null, e) }) } @@ -13895,7 +16650,8 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function e(t) { - var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '' + var n = + arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '' ;(0, l.default)(t) n = String(n) if (!n) return e(t, 4) || e(t, 6) @@ -13996,10 +16752,32 @@ and limitations under the License. t.decimal = u var i = ['AU', 'GB', 'HK', 'IN', 'NZ', 'ZA', 'ZM'] t.englishLocales = i - for (var o, a = 0; a < i.length; a++) (r[(o = 'en-'.concat(i[a]))] = r['en-US']), (l[o] = l['en-US']), (u[o] = u['en-US']) - var s = ['AE', 'BH', 'DZ', 'EG', 'IQ', 'JO', 'KW', 'LB', 'LY', 'MA', 'QM', 'QA', 'SA', 'SD', 'SY', 'TN', 'YE'] + for (var o, a = 0; a < i.length; a++) + (r[(o = 'en-'.concat(i[a]))] = r['en-US']), + (l[o] = l['en-US']), + (u[o] = u['en-US']) + var s = [ + 'AE', + 'BH', + 'DZ', + 'EG', + 'IQ', + 'JO', + 'KW', + 'LB', + 'LY', + 'MA', + 'QM', + 'QA', + 'SA', + 'SD', + 'SY', + 'TN', + 'YE', + ] t.arabicLocales = s - for (var c, d = 0; d < s.length; d++) (r[(c = 'ar-'.concat(s[d]))] = r.ar), (l[c] = l.ar), (u[c] = u.ar) + for (var c, d = 0; d < s.length; d++) + (r[(c = 'ar-'.concat(s[d]))] = r.ar), (l[c] = l.ar), (u[c] = u.ar) var f = [] t.dotDecimal = f var p = [ @@ -14102,16 +16880,23 @@ and limitations under the License. c = n(29), d = n(32) function f(e, t, n) { - return 'Expected type '.concat(e, ', found ').concat(t) + (n ? '; '.concat(n) : '.') + return ( + 'Expected type '.concat(e, ', found ').concat(t) + + (n ? '; '.concat(n) : '.') + ) } function p(e, t, n) { - return 'Expected type '.concat(e, ', found ').concat(t, '.') + Object(c.a)('the enum value', n) + return ( + 'Expected type '.concat(e, ', found ').concat(t, '.') + + Object(c.a)('the enum value', n) + ) } function h(e) { return { NullValue: function(t) { var n = e.getInputType() - Object(i.L)(n) && e.reportError(new l.a(f(Object(o.a)(n), Object(u.print)(t)), t)) + Object(i.L)(n) && + e.reportError(new l.a(f(Object(o.a)(n), Object(u.print)(t)), t)) }, ListValue: function(t) { var n = Object(i.B)(e.getParentInputType()) @@ -14130,7 +16915,11 @@ and limitations under the License. p = !1, h = void 0 try { - for (var y, _ = Object(r.a)(n.getFields())[Symbol.iterator](); !(f = (y = _.next()).done); f = !0) { + for ( + var y, _ = Object(r.a)(n.getFields())[Symbol.iterator](); + !(f = (y = _.next()).done); + f = !0 + ) { var g = y.value if (!d[g.name] && Object(i.Q)(g)) { var v = Object(o.a)(g.type) @@ -14170,7 +16959,9 @@ and limitations under the License. ((n = o.name), (r = t.name.value), (u = a), - 'Field "'.concat(r, '" is not defined by type ').concat(n, '.') + Object(c.a)(u)), + 'Field "' + .concat(r, '" is not defined by type ') + .concat(n, '.') + Object(c.a)(u)), t, ), ) @@ -14178,7 +16969,12 @@ and limitations under the License. }, EnumValue: function(t) { var n = Object(i.A)(e.getInputType()) - Object(i.E)(n) ? n.getValue(t.value) || e.reportError(new l.a(p(n.name, Object(u.print)(t), y(n, t)), t)) : m(e, t) + Object(i.E)(n) + ? n.getValue(t.value) || + e.reportError( + new l.a(p(n.name, Object(u.print)(t), y(n, t)), t), + ) + : m(e, t) }, IntValue: function(t) { return m(e, t) @@ -14201,12 +16997,24 @@ and limitations under the License. if (Object(i.R)(r)) try { var s = r.parseLiteral(t, void 0) - Object(a.a)(s) && e.reportError(new l.a(f(Object(o.a)(n), Object(u.print)(t)), t)) + Object(a.a)(s) && + e.reportError(new l.a(f(Object(o.a)(n), Object(u.print)(t)), t)) } catch (r) { - e.reportError(new l.a(f(Object(o.a)(n), Object(u.print)(t), r.message), t, void 0, void 0, void 0, r)) + e.reportError( + new l.a( + f(Object(o.a)(n), Object(u.print)(t), r.message), + t, + void 0, + void 0, + void 0, + r, + ), + ) } else { - var c = Object(i.E)(r) ? p(Object(o.a)(n), Object(u.print)(t), y(r, t)) : f(Object(o.a)(n), Object(u.print)(t)) + var c = Object(i.E)(r) + ? p(Object(o.a)(n), Object(u.print)(t), y(r, t)) + : f(Object(o.a)(n), Object(u.print)(t)) e.reportError(new l.a(c, t)) } } @@ -14253,16 +17061,24 @@ and limitations under the License. return 'There can be only one '.concat(e, ' type in schema.') } function N(e) { - return 'Type for '.concat(e, ' already defined in the schema. It cannot be redefined.') + return 'Type for '.concat( + e, + ' already defined in the schema. It cannot be redefined.', + ) } var A = n(0) function P(e, t) { - return 'Enum value "'.concat(e, '.').concat(t, '" can only be defined once.') + return 'Enum value "' + .concat(e, '.') + .concat(t, '" can only be defined once.') } function x(e, t) { return 'Enum value "' .concat(e, '.') - .concat(t, '" already exists in the schema. It cannot also be defined in this type extension.') + .concat( + t, + '" already exists in the schema. It cannot also be defined in this type extension.', + ) } function Y(e, t) { return 'Field "'.concat(e, '.').concat(t, '" can only be defined once.') @@ -14270,27 +17086,44 @@ and limitations under the License. function I(e, t) { return 'Field "' .concat(e, '.') - .concat(t, '" already exists in the schema. It cannot also be defined in this type extension.') + .concat( + t, + '" already exists in the schema. It cannot also be defined in this type extension.', + ) } function F(e, t) { - return !!(Object(A.N)(e) || Object(A.H)(e) || Object(A.F)(e)) && e.getFields()[t] + return ( + !!(Object(A.N)(e) || Object(A.H)(e) || Object(A.F)(e)) && + e.getFields()[t] + ) } var R, B = n(29), H = n(32) function V(e, t, n) { - return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e + return ( + t in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ) } function Q(e, t) { return 'Cannot extend non-'.concat(t, ' type "').concat(e, '".') } - var U = (V((R = {}), l.a.SCALAR_TYPE_DEFINITION, l.a.SCALAR_TYPE_EXTENSION), - V(R, l.a.OBJECT_TYPE_DEFINITION, l.a.OBJECT_TYPE_EXTENSION), - V(R, l.a.INTERFACE_TYPE_DEFINITION, l.a.INTERFACE_TYPE_EXTENSION), - V(R, l.a.UNION_TYPE_DEFINITION, l.a.UNION_TYPE_EXTENSION), - V(R, l.a.ENUM_TYPE_DEFINITION, l.a.ENUM_TYPE_EXTENSION), - V(R, l.a.INPUT_OBJECT_TYPE_DEFINITION, l.a.INPUT_OBJECT_TYPE_EXTENSION), - R) + var U = + (V((R = {}), l.a.SCALAR_TYPE_DEFINITION, l.a.SCALAR_TYPE_EXTENSION), + V(R, l.a.OBJECT_TYPE_DEFINITION, l.a.OBJECT_TYPE_EXTENSION), + V(R, l.a.INTERFACE_TYPE_DEFINITION, l.a.INTERFACE_TYPE_EXTENSION), + V(R, l.a.UNION_TYPE_DEFINITION, l.a.UNION_TYPE_EXTENSION), + V(R, l.a.ENUM_TYPE_DEFINITION, l.a.ENUM_TYPE_EXTENSION), + V(R, l.a.INPUT_OBJECT_TYPE_DEFINITION, l.a.INPUT_OBJECT_TYPE_EXTENSION), + R) function q(e) { switch (e) { case l.a.SCALAR_TYPE_EXTENSION: @@ -14324,12 +17157,20 @@ and limitations under the License. o = !1, a = void 0 try { - for (var s, c = t.definitions[Symbol.iterator](); !(i = (s = c.next()).done); i = !0) { + for ( + var s, c = t.definitions[Symbol.iterator](); + !(i = (s = c.next()).done); + i = !0 + ) { var d = s.value Object(u.b)(d) || e.reportError( new r.a( - ((n = d.kind === l.a.SCHEMA_DEFINITION || d.kind === l.a.SCHEMA_EXTENSION ? 'schema' : d.name.value), + ((n = + d.kind === l.a.SCHEMA_DEFINITION || + d.kind === l.a.SCHEMA_EXTENSION + ? 'schema' + : d.name.value), 'The '.concat(n, ' definition is not executable.')), d, ), @@ -14377,20 +17218,40 @@ and limitations under the License. G = Object.freeze([ function(e) { var t = e.getSchema(), - n = t && (t.astNode || t.getQueryType() || t.getMutationType() || t.getSubscriptionType()), + n = + t && + (t.astNode || + t.getQueryType() || + t.getMutationType() || + t.getSubscriptionType()), l = 0 return { SchemaDefinition: function(t) { n - ? e.reportError(new r.a('Cannot define a new schema within a schema extension.', t)) - : (l > 0 && e.reportError(new r.a('Must provide only one schema definition.', t)), ++l) + ? e.reportError( + new r.a( + 'Cannot define a new schema within a schema extension.', + t, + ), + ) + : (l > 0 && + e.reportError( + new r.a('Must provide only one schema definition.', t), + ), + ++l) }, } }, function(e) { var t = e.getSchema(), n = Object.create(null), - l = t ? { query: t.getQueryType(), mutation: t.getMutationType(), subscription: t.getSubscriptionType() } : {} + l = t + ? { + query: t.getQueryType(), + mutation: t.getMutationType(), + subscription: t.getSubscriptionType(), + } + : {} return { SchemaDefinition: u, SchemaExtension: u } function u(t) { if (t.operationTypes) { @@ -14398,11 +17259,19 @@ and limitations under the License. i = !1, o = void 0 try { - for (var a, s = (t.operationTypes || [])[Symbol.iterator](); !(u = (a = s.next()).done); u = !0) { + for ( + var a, s = (t.operationTypes || [])[Symbol.iterator](); + !(u = (a = s.next()).done); + u = !0 + ) { var c = a.value, d = c.operation, f = n[d] - l[d] ? e.reportError(new r.a(N(d), c)) : f ? e.reportError(new r.a(C(d), [f, c])) : (n[d] = c) + l[d] + ? e.reportError(new r.a(N(d), c)) + : f + ? e.reportError(new r.a(C(d), [f, c])) + : (n[d] = c) } } catch (e) { ;(i = !0), (o = e) @@ -14436,7 +17305,10 @@ and limitations under the License. ? e.reportError( new r.a( (function(e) { - return 'There can be only one type named "'.concat(e, '".') + return 'There can be only one type named "'.concat( + e, + '".', + ) })(u), [t[u], l.name], ), @@ -14470,7 +17342,11 @@ and limitations under the License. a = !1, s = void 0 try { - for (var c, d = t.values[Symbol.iterator](); !(o = (c = d.next()).done); o = !0) { + for ( + var c, d = t.values[Symbol.iterator](); + !(o = (c = d.next()).done); + o = !0 + ) { var f = c.value, p = f.name.value, h = n[u] @@ -14513,7 +17389,11 @@ and limitations under the License. a = !1, s = void 0 try { - for (var c, d = t.fields[Symbol.iterator](); !(o = (c = d.next()).done); o = !0) { + for ( + var c, d = t.fields[Symbol.iterator](); + !(o = (c = d.next()).done); + o = !0 + ) { var f = c.value, p = f.name.value F(n[u], p) @@ -14547,7 +17427,10 @@ and limitations under the License. ? e.reportError( new r.a( (function(e) { - return 'There can be only one directive named "'.concat(e, '".') + return 'There can be only one directive named "'.concat( + e, + '".', + ) })(u), [t[u], l.name], ), @@ -14558,7 +17441,10 @@ and limitations under the License. e.reportError( new r.a( (function(e) { - return 'Directive "'.concat(e, '" already exists in the schema. It cannot be redefined.') + return 'Directive "'.concat( + e, + '" already exists in the schema. It cannot be redefined.', + ) })(u), l.name, ), @@ -14576,7 +17462,11 @@ and limitations under the License. o = !1, a = void 0 try { - for (var s, c = e.getDocument().definitions[Symbol.iterator](); !(i = (s = c.next()).done); i = !0) { + for ( + var s, c = e.getDocument().definitions[Symbol.iterator](); + !(i = (s = c.next()).done); + i = !0 + ) { var d = s.value Object(u.d)(d) && (n[d.name.value] = d) } @@ -14606,20 +17496,21 @@ and limitations under the License. var c = U[a.kind] c !== u.kind && e.reportError(new r.a(Q(o, q(c)), [a, u])) } else if (s) { - var d = ((i = s), - Object(A.R)(i) - ? l.a.SCALAR_TYPE_EXTENSION - : Object(A.N)(i) - ? l.a.OBJECT_TYPE_EXTENSION - : Object(A.H)(i) - ? l.a.INTERFACE_TYPE_EXTENSION - : Object(A.T)(i) - ? l.a.UNION_TYPE_EXTENSION - : Object(A.E)(i) - ? l.a.ENUM_TYPE_EXTENSION - : Object(A.F)(i) - ? l.a.INPUT_OBJECT_TYPE_EXTENSION - : void 0) + var d = + ((i = s), + Object(A.R)(i) + ? l.a.SCALAR_TYPE_EXTENSION + : Object(A.N)(i) + ? l.a.OBJECT_TYPE_EXTENSION + : Object(A.H)(i) + ? l.a.INTERFACE_TYPE_EXTENSION + : Object(A.T)(i) + ? l.a.UNION_TYPE_EXTENSION + : Object(A.E)(i) + ? l.a.ENUM_TYPE_EXTENSION + : Object(A.F)(i) + ? l.a.INPUT_OBJECT_TYPE_EXTENSION + : void 0) d !== u.kind && e.reportError(new r.a(Q(o, q(d)), u)) } else { var f = Object.keys(n) @@ -14629,7 +17520,10 @@ and limitations under the License. new r.a( (function(e, t) { return ( - 'Cannot extend type "'.concat(e, '" because it is not defined.') + + 'Cannot extend type "'.concat( + e, + '" because it is not defined.', + ) + Object(B.a)( t.map(function(e) { return '"'.concat(e, '"') @@ -14661,7 +17555,8 @@ and limitations under the License. (function() { var e = {} try { - for (var t in (o(e, 'x', { enumerable: !1, value: e }), e)) return !1 + for (var t in (o(e, 'x', { enumerable: !1, value: e }), e)) + return !1 return e.x === e } catch (e) { return !1 @@ -14669,8 +17564,18 @@ and limitations under the License. })(), s = function(e, t, n, r) { var l - ;(t in e && ('function' != typeof (l = r) || '[object Function]' !== u.call(l) || !r())) || - (a ? o(e, t, { configurable: !0, enumerable: !1, value: n, writable: !0 }) : (e[t] = n)) + ;(t in e && + ('function' != typeof (l = r) || + '[object Function]' !== u.call(l) || + !r())) || + (a + ? o(e, t, { + configurable: !0, + enumerable: !1, + value: n, + writable: !0, + }) + : (e[t] = n)) }, c = function(e, t) { var n = arguments.length > 2 ? arguments[2] : {}, @@ -14735,8 +17640,10 @@ and limitations under the License. o = 'undefined' == typeof Uint8Array ? void 0 : u(Uint8Array), a = { '$ %Array%': Array, - '$ %ArrayBuffer%': 'undefined' == typeof ArrayBuffer ? void 0 : ArrayBuffer, - '$ %ArrayBufferPrototype%': 'undefined' == typeof ArrayBuffer ? void 0 : ArrayBuffer.prototype, + '$ %ArrayBuffer%': + 'undefined' == typeof ArrayBuffer ? void 0 : ArrayBuffer, + '$ %ArrayBufferPrototype%': + 'undefined' == typeof ArrayBuffer ? void 0 : ArrayBuffer.prototype, '$ %ArrayIteratorPrototype%': l ? u([][Symbol.iterator]()) : void 0, '$ %ArrayPrototype%': Array.prototype, '$ %ArrayProto_entries%': Array.prototype.entries, @@ -14749,12 +17656,14 @@ and limitations under the License. '$ %AsyncGenerator%': void 0, '$ %AsyncGeneratorFunction%': void 0, '$ %AsyncGeneratorPrototype%': void 0, - '$ %AsyncIteratorPrototype%': i && l && Symbol.asyncIterator ? i[Symbol.asyncIterator]() : void 0, + '$ %AsyncIteratorPrototype%': + i && l && Symbol.asyncIterator ? i[Symbol.asyncIterator]() : void 0, '$ %Atomics%': 'undefined' == typeof Atomics ? void 0 : Atomics, '$ %Boolean%': Boolean, '$ %BooleanPrototype%': Boolean.prototype, '$ %DataView%': 'undefined' == typeof DataView ? void 0 : DataView, - '$ %DataViewPrototype%': 'undefined' == typeof DataView ? void 0 : DataView.prototype, + '$ %DataViewPrototype%': + 'undefined' == typeof DataView ? void 0 : DataView.prototype, '$ %Date%': Date, '$ %DatePrototype%': Date.prototype, '$ %decodeURI%': decodeURI, @@ -14766,29 +17675,46 @@ and limitations under the License. '$ %eval%': eval, '$ %EvalError%': EvalError, '$ %EvalErrorPrototype%': EvalError.prototype, - '$ %Float32Array%': 'undefined' == typeof Float32Array ? void 0 : Float32Array, - '$ %Float32ArrayPrototype%': 'undefined' == typeof Float32Array ? void 0 : Float32Array.prototype, - '$ %Float64Array%': 'undefined' == typeof Float64Array ? void 0 : Float64Array, - '$ %Float64ArrayPrototype%': 'undefined' == typeof Float64Array ? void 0 : Float64Array.prototype, + '$ %Float32Array%': + 'undefined' == typeof Float32Array ? void 0 : Float32Array, + '$ %Float32ArrayPrototype%': + 'undefined' == typeof Float32Array + ? void 0 + : Float32Array.prototype, + '$ %Float64Array%': + 'undefined' == typeof Float64Array ? void 0 : Float64Array, + '$ %Float64ArrayPrototype%': + 'undefined' == typeof Float64Array + ? void 0 + : Float64Array.prototype, '$ %Function%': Function, '$ %FunctionPrototype%': Function.prototype, '$ %Generator%': void 0, '$ %GeneratorFunction%': void 0, '$ %GeneratorPrototype%': void 0, '$ %Int8Array%': 'undefined' == typeof Int8Array ? void 0 : Int8Array, - '$ %Int8ArrayPrototype%': 'undefined' == typeof Int8Array ? void 0 : Int8Array.prototype, - '$ %Int16Array%': 'undefined' == typeof Int16Array ? void 0 : Int16Array, - '$ %Int16ArrayPrototype%': 'undefined' == typeof Int16Array ? void 0 : Int8Array.prototype, - '$ %Int32Array%': 'undefined' == typeof Int32Array ? void 0 : Int32Array, - '$ %Int32ArrayPrototype%': 'undefined' == typeof Int32Array ? void 0 : Int32Array.prototype, + '$ %Int8ArrayPrototype%': + 'undefined' == typeof Int8Array ? void 0 : Int8Array.prototype, + '$ %Int16Array%': + 'undefined' == typeof Int16Array ? void 0 : Int16Array, + '$ %Int16ArrayPrototype%': + 'undefined' == typeof Int16Array ? void 0 : Int8Array.prototype, + '$ %Int32Array%': + 'undefined' == typeof Int32Array ? void 0 : Int32Array, + '$ %Int32ArrayPrototype%': + 'undefined' == typeof Int32Array ? void 0 : Int32Array.prototype, '$ %isFinite%': isFinite, '$ %isNaN%': isNaN, '$ %IteratorPrototype%': l ? u(u([][Symbol.iterator]())) : void 0, '$ %JSON%': JSON, '$ %JSONParse%': JSON.parse, '$ %Map%': 'undefined' == typeof Map ? void 0 : Map, - '$ %MapIteratorPrototype%': 'undefined' != typeof Map && l ? u(new Map()[Symbol.iterator]()) : void 0, - '$ %MapPrototype%': 'undefined' == typeof Map ? void 0 : Map.prototype, + '$ %MapIteratorPrototype%': + 'undefined' != typeof Map && l + ? u(new Map()[Symbol.iterator]()) + : void 0, + '$ %MapPrototype%': + 'undefined' == typeof Map ? void 0 : Map.prototype, '$ %Math%': Math, '$ %Number%': Number, '$ %NumberPrototype%': Number.prototype, @@ -14799,11 +17725,16 @@ and limitations under the License. '$ %parseFloat%': parseFloat, '$ %parseInt%': parseInt, '$ %Promise%': 'undefined' == typeof Promise ? void 0 : Promise, - '$ %PromisePrototype%': 'undefined' == typeof Promise ? void 0 : Promise.prototype, - '$ %PromiseProto_then%': 'undefined' == typeof Promise ? void 0 : Promise.prototype.then, - '$ %Promise_all%': 'undefined' == typeof Promise ? void 0 : Promise.all, - '$ %Promise_reject%': 'undefined' == typeof Promise ? void 0 : Promise.reject, - '$ %Promise_resolve%': 'undefined' == typeof Promise ? void 0 : Promise.resolve, + '$ %PromisePrototype%': + 'undefined' == typeof Promise ? void 0 : Promise.prototype, + '$ %PromiseProto_then%': + 'undefined' == typeof Promise ? void 0 : Promise.prototype.then, + '$ %Promise_all%': + 'undefined' == typeof Promise ? void 0 : Promise.all, + '$ %Promise_reject%': + 'undefined' == typeof Promise ? void 0 : Promise.reject, + '$ %Promise_resolve%': + 'undefined' == typeof Promise ? void 0 : Promise.resolve, '$ %Proxy%': 'undefined' == typeof Proxy ? void 0 : Proxy, '$ %RangeError%': RangeError, '$ %RangeErrorPrototype%': RangeError.prototype, @@ -14813,10 +17744,20 @@ and limitations under the License. '$ %RegExp%': RegExp, '$ %RegExpPrototype%': RegExp.prototype, '$ %Set%': 'undefined' == typeof Set ? void 0 : Set, - '$ %SetIteratorPrototype%': 'undefined' != typeof Set && l ? u(new Set()[Symbol.iterator]()) : void 0, - '$ %SetPrototype%': 'undefined' == typeof Set ? void 0 : Set.prototype, - '$ %SharedArrayBuffer%': 'undefined' == typeof SharedArrayBuffer ? void 0 : SharedArrayBuffer, - '$ %SharedArrayBufferPrototype%': 'undefined' == typeof SharedArrayBuffer ? void 0 : SharedArrayBuffer.prototype, + '$ %SetIteratorPrototype%': + 'undefined' != typeof Set && l + ? u(new Set()[Symbol.iterator]()) + : void 0, + '$ %SetPrototype%': + 'undefined' == typeof Set ? void 0 : Set.prototype, + '$ %SharedArrayBuffer%': + 'undefined' == typeof SharedArrayBuffer + ? void 0 + : SharedArrayBuffer, + '$ %SharedArrayBufferPrototype%': + 'undefined' == typeof SharedArrayBuffer + ? void 0 + : SharedArrayBuffer.prototype, '$ %String%': String, '$ %StringIteratorPrototype%': l ? u(''[Symbol.iterator]()) : void 0, '$ %StringPrototype%': String.prototype, @@ -14829,26 +17770,47 @@ and limitations under the License. '$ %TypedArrayPrototype%': o ? o.prototype : void 0, '$ %TypeError%': TypeError, '$ %TypeErrorPrototype%': TypeError.prototype, - '$ %Uint8Array%': 'undefined' == typeof Uint8Array ? void 0 : Uint8Array, - '$ %Uint8ArrayPrototype%': 'undefined' == typeof Uint8Array ? void 0 : Uint8Array.prototype, - '$ %Uint8ClampedArray%': 'undefined' == typeof Uint8ClampedArray ? void 0 : Uint8ClampedArray, - '$ %Uint8ClampedArrayPrototype%': 'undefined' == typeof Uint8ClampedArray ? void 0 : Uint8ClampedArray.prototype, - '$ %Uint16Array%': 'undefined' == typeof Uint16Array ? void 0 : Uint16Array, - '$ %Uint16ArrayPrototype%': 'undefined' == typeof Uint16Array ? void 0 : Uint16Array.prototype, - '$ %Uint32Array%': 'undefined' == typeof Uint32Array ? void 0 : Uint32Array, - '$ %Uint32ArrayPrototype%': 'undefined' == typeof Uint32Array ? void 0 : Uint32Array.prototype, + '$ %Uint8Array%': + 'undefined' == typeof Uint8Array ? void 0 : Uint8Array, + '$ %Uint8ArrayPrototype%': + 'undefined' == typeof Uint8Array ? void 0 : Uint8Array.prototype, + '$ %Uint8ClampedArray%': + 'undefined' == typeof Uint8ClampedArray + ? void 0 + : Uint8ClampedArray, + '$ %Uint8ClampedArrayPrototype%': + 'undefined' == typeof Uint8ClampedArray + ? void 0 + : Uint8ClampedArray.prototype, + '$ %Uint16Array%': + 'undefined' == typeof Uint16Array ? void 0 : Uint16Array, + '$ %Uint16ArrayPrototype%': + 'undefined' == typeof Uint16Array ? void 0 : Uint16Array.prototype, + '$ %Uint32Array%': + 'undefined' == typeof Uint32Array ? void 0 : Uint32Array, + '$ %Uint32ArrayPrototype%': + 'undefined' == typeof Uint32Array ? void 0 : Uint32Array.prototype, '$ %URIError%': URIError, '$ %URIErrorPrototype%': URIError.prototype, '$ %WeakMap%': 'undefined' == typeof WeakMap ? void 0 : WeakMap, - '$ %WeakMapPrototype%': 'undefined' == typeof WeakMap ? void 0 : WeakMap.prototype, + '$ %WeakMapPrototype%': + 'undefined' == typeof WeakMap ? void 0 : WeakMap.prototype, '$ %WeakSet%': 'undefined' == typeof WeakSet ? void 0 : WeakSet, - '$ %WeakSetPrototype%': 'undefined' == typeof WeakSet ? void 0 : WeakSet.prototype, + '$ %WeakSetPrototype%': + 'undefined' == typeof WeakSet ? void 0 : WeakSet.prototype, } e.exports = function(e, t) { - if (arguments.length > 1 && 'boolean' != typeof t) throw new TypeError('"allowMissing" argument must be a boolean') + if (arguments.length > 1 && 'boolean' != typeof t) + throw new TypeError('"allowMissing" argument must be a boolean') var n = '$ ' + e - if (!(n in a)) throw new SyntaxError('intrinsic ' + e + ' does not exist!') - if (void 0 === a[n] && !t) throw new TypeError('intrinsic ' + e + ' exists, but is not available. Please file an issue!') + if (!(n in a)) + throw new SyntaxError('intrinsic ' + e + ' does not exist!') + if (void 0 === a[n] && !t) + throw new TypeError( + 'intrinsic ' + + e + + ' exists, but is not available. Please file an issue!', + ) return a[n] } }, @@ -14865,7 +17827,11 @@ and limitations under the License. u = !1, i = void 0 try { - for (var o, a = e.definitions[Symbol.iterator](); !(l = (o = a.next()).done); l = !0) { + for ( + var o, a = e.definitions[Symbol.iterator](); + !(l = (o = a.next()).done); + l = !0 + ) { var s = o.value if (s.kind === r.a.OPERATION_DEFINITION) if (t) { @@ -14949,9 +17915,13 @@ and limitations under the License. var r = n(8) t.default = function(e, t) { var n = e.__typename - if (!n) throw new Error('Did not fetch typename for object, unable to resolve interface.') + if (!n) + throw new Error( + 'Did not fetch typename for object, unable to resolve interface.', + ) var l = t.getType(n) - if (!(l instanceof r.GraphQLObjectType)) throw new Error('__typename did not match an object type: ' + n) + if (!(l instanceof r.GraphQLObjectType)) + throw new Error('__typename did not match an object type: ' + n) return l } }, @@ -14965,7 +17935,12 @@ and limitations under the License. if (!e) return null var a = i.getResponseKeyFromInfo(o), s = u.getErrorsFromParent(e, a) - if ('OWN' === s.kind) throw l.locatedError(new Error(s.error.message), o.fieldNodes, r.responsePathAsArray(o.path)) + if ('OWN' === s.kind) + throw l.locatedError( + new Error(s.error.message), + o.fieldNodes, + r.responsePathAsArray(o.path), + ) var c = e[a] return ( null == c && (c = e[o.fieldName]), @@ -15017,7 +17992,11 @@ and limitations under the License. function n() { this.constructor = e } - r(e, t), (e.prototype = null === t ? Object.create(t) : ((n.prototype = t.prototype), new n())) + r(e, t), + (e.prototype = + null === t + ? Object.create(t) + : ((n.prototype = t.prototype), new n())) }), u = (this && this.__assign) || @@ -15026,7 +18005,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -15061,14 +18041,20 @@ and limitations under the License. r), ) } - ;('undefined' != typeof global && 'Symbol' in global) || ('undefined' != typeof window && 'Symbol' in window) + ;('undefined' != typeof global && 'Symbol' in global) || + ('undefined' != typeof window && 'Symbol' in window) ? (t.ERROR_SYMBOL = Symbol('subSchemaErrors')) : (t.ERROR_SYMBOL = '@@__subSchemaErrors'), (t.annotateWithChildrenErrors = s), (t.getErrorsFromParent = function(e, n) { - for (var r = [], l = 0, u = (e && e[t.ERROR_SYMBOL]) || []; l < u.length; l++) { + for ( + var r = [], l = 0, u = (e && e[t.ERROR_SYMBOL]) || []; + l < u.length; + l++ + ) { var i = u[l] - if (!i.path || (1 === i.path.length && i.path[0] === n)) return { kind: 'OWN', error: i } + if (!i.path || (1 === i.path.length && i.path[0] === n)) + return { kind: 'OWN', error: i } i.path[0] === n && r.push(i) } return { kind: 'CHILDREN', errors: r } @@ -15081,9 +18067,15 @@ and limitations under the License. return l(t, e), t })(Error) t.checkResultAndHandleErrors = function(e, t, n) { - if ((n || (n = a.getResponseKeyFromInfo(t)), e.errors && (!e.data || null == e.data[n]))) { + if ( + (n || (n = a.getResponseKeyFromInfo(t)), + e.errors && (!e.data || null == e.data[n])) + ) { var r = - 1 === e.errors.length && ((l = e.errors[0]).result || l.extensions || (l.originalError && l.originalError.result)) + 1 === e.errors.length && + ((l = e.errors[0]).result || + l.extensions || + (l.originalError && l.originalError.result)) ? e.errors[0] : new c( e.errors @@ -15162,7 +18154,12 @@ and limitations under the License. if ( ((n = 1), r && - (l = 2 & u[0] ? r.return : u[0] ? r.throw || ((l = r.return) && l.call(r), 0) : r.next) && + (l = + 2 & u[0] + ? r.return + : u[0] + ? r.throw || ((l = r.return) && l.call(r), 0) + : r.next) && !(l = l.call(r, u[1])).done) ) return l @@ -15180,11 +18177,17 @@ and limitations under the License. ;(u = i.ops.pop()), i.trys.pop() continue default: - if (!(l = (l = i.trys).length > 0 && l[l.length - 1]) && (6 === u[0] || 2 === u[0])) { + if ( + !(l = (l = i.trys).length > 0 && l[l.length - 1]) && + (6 === u[0] || 2 === u[0]) + ) { i = 0 continue } - if (3 === u[0] && (!l || (u[1] > l[0] && u[1] < l[3]))) { + if ( + 3 === u[0] && + (!l || (u[1] > l[0] && u[1] < l[3])) + ) { i.label = u[1] break } @@ -15223,7 +18226,8 @@ and limitations under the License. p = n(210), h = n(478) t.default = function(e) { - for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n] + for (var t = [], n = 1; n < arguments.length; n++) + t[n - 1] = arguments[n] if (e instanceof u.GraphQLSchema) throw new Error( 'Passing positional arguments to delegateToSchema is a deprecated. Please pass named parameters instead.', @@ -15247,7 +18251,8 @@ and limitations under the License. ;(o = o.concat(t)), (a = a.concat(e.arguments || [])) }) var s = null - o.length > 0 && (s = { kind: u.Kind.SELECTION_SET, selections: o }) + o.length > 0 && + (s = { kind: u.Kind.SELECTION_SET, selections: o }) var c = { kind: u.Kind.FIELD, alias: null, @@ -15256,8 +18261,17 @@ and limitations under the License. name: { kind: u.Kind.NAME, value: e }, }, d = { kind: u.Kind.SELECTION_SET, selections: [c] }, - f = { kind: u.Kind.OPERATION_DEFINITION, operation: t, variableDefinitions: l, selectionSet: d, name: i } - return { kind: u.Kind.DOCUMENT, definitions: [f].concat(r) } + f = { + kind: u.Kind.OPERATION_DEFINITION, + operation: t, + variableDefinitions: l, + selectionSet: d, + name: i, + } + return { + kind: u.Kind.DOCUMENT, + definitions: [f].concat(r), + } })( e.fieldName, m, @@ -15269,28 +18283,53 @@ and limitations under the License. t.operation.name, )), (_ = { document: y, variables: t.variableValues }), - (g = (e.transforms || []).concat([new f.default(t.schema, e.schema)])), - t.mergeInfo && t.mergeInfo.fragments && g.push(new p.default(e.schema, t.mergeInfo.fragments)), + (g = (e.transforms || []).concat([ + new f.default(t.schema, e.schema), + ])), + t.mergeInfo && + t.mergeInfo.fragments && + g.push(new p.default(e.schema, t.mergeInfo.fragments)), (g = g.concat([ new o.default(e.schema, r), new a.default(e.schema), new s.default(e.schema), new c.default(t, e.fieldName), ])), - u.isEnumType(e.info.returnType) && (g = g.concat(new h.default(e.info.returnType))), + u.isEnumType(e.info.returnType) && + (g = g.concat(new h.default(e.info.returnType))), (v = i.applyRequestTransforms(_, g)), - !e.skipValidation && (b = u.validate(e.schema, v.document)).length > 0) + !e.skipValidation && + (b = u.validate(e.schema, v.document)).length > 0) ) throw b return 'query' !== m && 'mutation' !== m ? [3, 2] - : ((T = i.applyResultTransforms), [4, u.execute(e.schema, v.document, t.rootValue, e.context, v.variables)]) + : ((T = i.applyResultTransforms), + [ + 4, + u.execute( + e.schema, + v.document, + t.rootValue, + e.context, + v.variables, + ), + ]) case 1: return [2, T.apply(void 0, [l.sent(), g])] case 2: return 'subscription' !== m ? [3, 4] - : [4, u.subscribe(e.schema, v.document, t.rootValue, e.context, v.variables)] + : [ + 4, + u.subscribe( + e.schema, + v.document, + t.rootValue, + e.context, + v.variables, + ), + ] case 3: return ( (w = l.sent()), @@ -15359,11 +18398,18 @@ and limitations under the License. Object.keys(u).forEach(function(e) { var r = u[e], l = t(e, r) - void 0 === l ? (o[e] = i.fieldToFieldConfig(r, n, !0)) : null !== l && (l.name ? (o[l.name] = l.field) : (o[e] = l)) + void 0 === l + ? (o[e] = i.fieldToFieldConfig(r, n, !0)) + : null !== l && (l.name ? (o[l.name] = l.field) : (o[e] = l)) }), l.default(o) ? null - : new r.GraphQLObjectType({ name: e.name, description: e.description, astNode: e.astNode, fields: o }) + : new r.GraphQLObjectType({ + name: e.name, + description: e.description, + astNode: e.astNode, + fields: o, + }) ) } t.default = o @@ -15379,7 +18425,9 @@ and limitations under the License. const l = r(n(192)), u = (() => { if (l.default) { - const [e, t] = process.versions.node.split('.', 2).map((e) => parseInt(e, 10)) + const [e, t] = process.versions.node + .split('.', 2) + .map((e) => parseInt(e, 10)) return !(e < 8 || (8 === e && t < 5)) } return !1 @@ -15623,9 +18671,12 @@ and limitations under the License. e.exports = function(e, t) { if (!r(e)) return e var n, l - if (t && 'function' == typeof (n = e.toString) && !r((l = n.call(e)))) return l - if ('function' == typeof (n = e.valueOf) && !r((l = n.call(e)))) return l - if (!t && 'function' == typeof (n = e.toString) && !r((l = n.call(e)))) return l + if (t && 'function' == typeof (n = e.toString) && !r((l = n.call(e)))) + return l + if ('function' == typeof (n = e.valueOf) && !r((l = n.call(e)))) + return l + if (!t && 'function' == typeof (n = e.toString) && !r((l = n.call(e)))) + return l throw TypeError("Can't convert object to primitive value") } }, @@ -15789,7 +18840,11 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e) { - return (0, l.default)(e), (e = Date.parse(e)), isNaN(e) ? null : new Date(e) + return ( + (0, l.default)(e), + (e = Date.parse(e)), + isNaN(e) ? null : new Date(e) + ) }) var r, l = (r = n(7)) && r.__esModule ? r : { default: r } @@ -15804,7 +18859,10 @@ and limitations under the License. return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) @@ -15812,7 +18870,10 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e) { 'object' === r(e) && null !== e - ? (e = 'function' == typeof e.toString ? e.toString() : '[object Object]') + ? (e = + 'function' == typeof e.toString + ? e.toString() + : '[object Object]') : (null == e || (isNaN(e) && !e.length)) && (e = '') return String(e) }), @@ -15824,15 +18885,28 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { ;(0, r.default)(e), - (t = (0, l.default)(t, i)).allow_trailing_dot && '.' === e[e.length - 1] && (e = e.substring(0, e.length - 1)) - for (var n = e.split('.'), u = 0; u < n.length; u++) if (n[u].length > 63) return !1 + (t = (0, l.default)(t, i)).allow_trailing_dot && + '.' === e[e.length - 1] && + (e = e.substring(0, e.length - 1)) + for (var n = e.split('.'), u = 0; u < n.length; u++) + if (n[u].length > 63) return !1 if (t.require_tld) { var o = n.pop() - if (!n.length || !/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(o)) return !1 - if (/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(o)) return !1 + if ( + !n.length || + !/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(o) + ) + return !1 + if (/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(o)) + return !1 } for (var a, s = 0; s < n.length; s++) { - if (((a = n[s]), t.allow_underscores && (a = a.replace(/_/g, '')), !/^[a-z\u00a1-\uffff0-9-]+$/i.test(a))) return !1 + if ( + ((a = n[s]), + t.allow_underscores && (a = a.replace(/_/g, '')), + !/^[a-z\u00a1-\uffff0-9-]+$/i.test(a)) + ) + return !1 if (/[\uff01-\uff5e]/.test(a)) return !1 if ('-' === a[0] || '-' === a[a.length - 1]) return !1 } @@ -15848,7 +18922,8 @@ and limitations under the License. }, function(e, t, n) { 'use strict' - Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = void 0) + Object.defineProperty(t, '__esModule', { value: !0 }), + (t.default = void 0) var r = function(e, t) { return e.some(function(e) { return t === e @@ -15896,20 +18971,29 @@ and limitations under the License. return this.once('open', function() { this._read(e) }) - if (this._writeStream.finished || this._writeStream.closed) return super._read(e) + if (this._writeStream.finished || this._writeStream.closed) + return super._read(e) const t = this._writeStream.bytesWritten - this.bytesRead if (0 === t) { const t = () => { - this._writeStream.removeListener('finish', t), this._writeStream.removeListener('write', t), this._read(e) + this._writeStream.removeListener('finish', t), + this._writeStream.removeListener('write', t), + this._read(e) } - return this._writeStream.addListener('finish', t), void this._writeStream.addListener('write', t) + return ( + this._writeStream.addListener('finish', t), + void this._writeStream.addListener('write', t) + ) } return super._read(Math.min(e, t)) } _destroy(e, t) { 'number' == typeof this.fd ? o.close(this.fd, (n) => { - t(n || e), (this.fd = null), (this.closed = !0), this.emit('close') + t(n || e), + (this.fd = null), + (this.closed = !0), + this.emit('close') }) : this.once('open', this._destroy.bind(this, e, t)) } @@ -15946,7 +19030,10 @@ and limitations under the License. i.randomBytes(16, (e, t) => { e ? this.destroy(e) - : ((this.path = s.join(a.tmpdir(), `capacitor-${t.toString('hex')}.tmp`)), + : ((this.path = s.join( + a.tmpdir(), + `capacitor-${t.toString('hex')}.tmp`, + )), o.open(this.path, 'wx', this.mode, (e, t) => { e ? this.destroy(e) @@ -15964,11 +19051,16 @@ and limitations under the License. }) } _destroy(e, t) { - if ('number' != typeof this.fd) return void this.once('open', this._destroy.bind(this, e, t)) - process.removeListener('exit', this._cleanupSync), process.removeListener('SIGINT', this._cleanupSync) + if ('number' != typeof this.fd) + return void this.once('open', this._destroy.bind(this, e, t)) + process.removeListener('exit', this._cleanupSync), + process.removeListener('SIGINT', this._cleanupSync) const n = (e) => { o.unlink(this.path, (n) => { - t(n || e), (this.fd = null), (this.closed = !0), this.emit('close') + t(n || e), + (this.fd = null), + (this.closed = !0), + this.emit('close') }) } 'number' != typeof this.fd @@ -15978,17 +19070,27 @@ and limitations under the License. }) } destroy(e, t) { - if ((e && (this.error = e), this.destroyed)) return super.destroy(e, t) - if (('function' == typeof t && this.once('close', t.bind(this, e)), 0 !== this._readStreams.size)) { - if (((this._destroyPending = !0), e)) for (let t of this._readStreams) t.destroy(e) + if ((e && (this.error = e), this.destroyed)) + return super.destroy(e, t) + if ( + ('function' == typeof t && this.once('close', t.bind(this, e)), + 0 !== this._readStreams.size) + ) { + if (((this._destroyPending = !0), e)) + for (let t of this._readStreams) t.destroy(e) } else super.destroy(e, t) } createReadStream(e) { - if (this.destroyed) throw new c('A ReadStream cannot be created from a destroyed WriteStream.') + if (this.destroyed) + throw new c( + 'A ReadStream cannot be created from a destroyed WriteStream.', + ) const t = new d(this, e) this._readStreams.add(t) const n = () => { - this._deleteReadStream(t), t.removeListener('end', n), t.removeListener('close', n) + this._deleteReadStream(t), + t.removeListener('end', n), + t.removeListener('close', n) } return t.addListener('end', n), t.addListener('close', n), t } @@ -16015,7 +19117,15 @@ and limitations under the License. this.promise.catch(() => {}) } } - const b = (e, t, { maxFieldSize: n = 1e6, maxFileSize: r = 1 / 0, maxFiles: i = 1 / 0 } = {}) => + const b = ( + e, + t, + { + maxFieldSize: n = 1e6, + maxFileSize: r = 1 / 0, + maxFiles: i = 1 / 0, + } = {}, + ) => new Promise((o, a) => { let s, c, @@ -16024,10 +19134,14 @@ and limitations under the License. T, w = !1, O = !1 - const D = new u({ headers: e.headers, limits: { fieldSize: n, fields: 2, fileSize: r, files: i } }), + const D = new u({ + headers: e.headers, + limits: { fieldSize: n, fields: 2, fileSize: r, files: i }, + }), E = (t) => { if (!s) { - if ((a((s = t)), D.destroy(), c && c.destroy(s), T)) for (const e of T.values()) e.file || e.reject(s) + if ((a((s = t)), D.destroy(), c && c.destroy(s), T)) + for (const e of T.values()) e.file || e.reject(s) e.unpipe(D), setImmediate(() => { e.resume() @@ -16035,7 +19149,9 @@ and limitations under the License. } }, L = () => { - if (!O && ((O = !0), T)) for (const e of T.values()) e.file && e.file.capacitor.destroy() + if (!O && ((O = !0), T)) + for (const e of T.values()) + e.file && e.file.capacitor.destroy() } D.on('field', (e, t) => { if (!s) @@ -16044,26 +19160,60 @@ and limitations under the License. try { d = JSON.parse(t) } catch (e) { - return E(p(400, `Invalid JSON in the ‘operations’ multipart field (${m}).`)) + return E( + p( + 400, + `Invalid JSON in the ‘operations’ multipart field (${m}).`, + ), + ) } - if (!y(d) && !Array.isArray(d)) return E(p(400, `Invalid type for the ‘operations’ multipart field (${m}).`)) + if (!y(d) && !Array.isArray(d)) + return E( + p( + 400, + `Invalid type for the ‘operations’ multipart field (${m}).`, + ), + ) b = h(d) break case 'map': { - if (!d) return E(p(400, `Misordered multipart fields; ‘map’ should follow ‘operations’ (${m}).`)) + if (!d) + return E( + p( + 400, + `Misordered multipart fields; ‘map’ should follow ‘operations’ (${m}).`, + ), + ) let e try { e = JSON.parse(t) } catch (e) { - return E(p(400, `Invalid JSON in the ‘map’ multipart field (${m}).`)) + return E( + p( + 400, + `Invalid JSON in the ‘map’ multipart field (${m}).`, + ), + ) } - if (!y(e)) return E(p(400, `Invalid type for the ‘map’ multipart field (${m}).`)) + if (!y(e)) + return E( + p( + 400, + `Invalid type for the ‘map’ multipart field (${m}).`, + ), + ) const n = Object.entries(e) - if (n.length > i) return E(p(413, `${i} max file uploads exceeded.`)) + if (n.length > i) + return E(p(413, `${i} max file uploads exceeded.`)) T = new Map() for (const [e, t] of n) { if (!Array.isArray(t)) - return E(p(400, `Invalid type for the ‘map’ multipart field entry key ‘${e}’ array (${m}).`)) + return E( + p( + 400, + `Invalid type for the ‘map’ multipart field entry key ‘${e}’ array (${m}).`, + ), + ) T.set(e, new v()) for (const [n, r] of t.entries()) { if (!_(r)) @@ -16091,7 +19241,16 @@ and limitations under the License. }), D.on('file', (e, t, n, r, u) => { if (s) return void g(t) - if (!T) return g(t), E(p(400, `Misordered multipart fields; files should follow ‘map’ (${m}).`)) + if (!T) + return ( + g(t), + E( + p( + 400, + `Misordered multipart fields; files should follow ‘map’ (${m}).`, + ), + ) + ) ;(c = t), t.on('end', () => { c === t && (c = null) @@ -16103,7 +19262,11 @@ and limitations under the License. t.unpipe(), t.resume() }), t.on('limit', () => { - c === t && (c = null), t.unpipe(), o.destroy(p(413, 'File truncated as it exceeds the size limit.')) + c === t && (c = null), + t.unpipe(), + o.destroy( + p(413, 'File truncated as it exceeds the size limit.'), + ) }), t.on('error', (e) => { c === t && (c = null), t.unpipe(), o.destroy(s || e) @@ -16128,11 +19291,18 @@ and limitations under the License. Object.defineProperty(a, 'capacitor', { value: o }), i.resolve(a) }), - D.once('filesLimit', () => E(p(413, `${i} max file uploads exceeded.`))), + D.once('filesLimit', () => + E(p(413, `${i} max file uploads exceeded.`)), + ), D.once('finish', () => { - if ((e.unpipe(D), e.resume(), !d)) return E(p(400, `Missing multipart field ‘operations’ (${m}).`)) - if (!T) return E(p(400, `Missing multipart field ‘map’ (${m}).`)) - for (const e of T.values()) e.file || e.reject(p(400, 'File missing in the request.')) + if ((e.unpipe(D), e.resume(), !d)) + return E( + p(400, `Missing multipart field ‘operations’ (${m}).`), + ) + if (!T) + return E(p(400, `Missing multipart field ‘map’ (${m}).`)) + for (const e of T.values()) + e.file || e.reject(p(400, 'File missing in the request.')) }), D.once('error', E), t.once('finish', L), @@ -16141,7 +19311,13 @@ and limitations under the License. w = !0 }), e.once('close', () => { - w || E(p(499, 'Request disconnected during file upload stream parsing.')) + w || + E( + p( + 499, + 'Request disconnected during file upload stream parsing.', + ), + ) }), e.pipe(D) }), @@ -16205,12 +19381,16 @@ and limitations under the License. }), u = [] return (function e(t) { - if ((t && t.toJSON && 'function' == typeof t.toJSON && (t = t.toJSON()), void 0 !== t)) { + if ( + (t && t.toJSON && 'function' == typeof t.toJSON && (t = t.toJSON()), + void 0 !== t) + ) { if ('number' == typeof t) return isFinite(t) ? '' + t : 'null' if ('object' != typeof t) return JSON.stringify(t) var n, i if (Array.isArray(t)) { - for (i = '[', n = 0; n < t.length; n++) n && (i += ','), (i += e(t[n]) || 'null') + for (i = '[', n = 0; n < t.length; n++) + n && (i += ','), (i += e(t[n]) || 'null') return i + ']' } if (null === t) return 'null' @@ -16250,7 +19430,11 @@ and limitations under the License. c = !1, d = void 0 try { - for (var f, p = e.getDocument().definitions[Symbol.iterator](); !(s = (f = p.next()).done); s = !0) { + for ( + var f, p = e.getDocument().definitions[Symbol.iterator](); + !(s = (f = p.next()).done); + s = !0 + ) { var h = f.value Object(i.d)(h) && (o[h.name.value] = !0) } @@ -16270,7 +19454,13 @@ and limitations under the License. h = t.name.value if (!n[h] && !o[h]) { var y = f[2] || c, - _ = ((p = y), Boolean(p && !Array.isArray(p) && (Object(i.g)(p) || Object(i.h)(p)))) + _ = + ((p = y), + Boolean( + p && + !Array.isArray(p) && + (Object(i.g)(p) || Object(i.h)(p)), + )) if ( _ && (function(e) { @@ -16319,7 +19509,11 @@ and limitations under the License. s = !1, c = void 0 try { - for (var d, f = o[Symbol.iterator](); !(a = (d = f.next()).done); a = !0) { + for ( + var d, f = o[Symbol.iterator](); + !(a = (d = f.next()).done); + a = !0 + ) { var p = d.value t[p.name] = p.locations } @@ -16337,7 +19531,11 @@ and limitations under the License. y = !1, _ = void 0 try { - for (var g, v = h[Symbol.iterator](); !(m = (g = v.next()).done); m = !0) { + for ( + var g, v = h[Symbol.iterator](); + !(m = (g = v.next()).done); + m = !0 + ) { var b = g.value b.kind === l.a.DIRECTIVE_DEFINITION && (t[b.name.value] = b.locations.map(function(e) { @@ -16409,7 +19607,9 @@ and limitations under the License. return u.a.INPUT_OBJECT case l.a.INPUT_VALUE_DEFINITION: var n = e[e.length - 3] - return n.kind === l.a.INPUT_OBJECT_TYPE_DEFINITION ? u.a.INPUT_FIELD_DEFINITION : u.a.ARGUMENT_DEFINITION + return n.kind === l.a.INPUT_OBJECT_TYPE_DEFINITION + ? u.a.INPUT_FIELD_DEFINITION + : u.a.ARGUMENT_DEFINITION } })(s) f && @@ -16417,12 +19617,15 @@ and limitations under the License. e.reportError( new r.a( (function(e, t) { - return 'Directive "'.concat(e, '" may not be used on ').concat(t, '.') + return 'Directive "' + .concat(e, '" may not be used on ') + .concat(t, '.') })(c, f), n, ), ) - } else e.reportError(new r.a('Unknown directive "'.concat(c, '".'), n)) + } else + e.reportError(new r.a('Unknown directive "'.concat(c, '".'), n)) }, } } @@ -16436,7 +19639,10 @@ and limitations under the License. l = n(1), u = n(15) function i(e) { - return 'The directive "'.concat(e, '" can only be used once at this location.') + return 'The directive "'.concat( + e, + '" can only be used once at this location.', + ) } function o(e) { var t = Object.create(null), @@ -16446,7 +19652,11 @@ and limitations under the License. s = !1, c = void 0 try { - for (var d, f = o[Symbol.iterator](); !(a = (d = f.next()).done); a = !0) { + for ( + var d, f = o[Symbol.iterator](); + !(a = (d = f.next()).done); + a = !0 + ) { var p = d.value t[p.name] = !p.isRepeatable } @@ -16464,9 +19674,14 @@ and limitations under the License. y = !1, _ = void 0 try { - for (var g, v = h[Symbol.iterator](); !(m = (g = v.next()).done); m = !0) { + for ( + var g, v = h[Symbol.iterator](); + !(m = (g = v.next()).done); + m = !0 + ) { var b = g.value - b.kind === l.a.DIRECTIVE_DEFINITION && (t[b.name.value] = !b.repeatable) + b.kind === l.a.DIRECTIVE_DEFINITION && + (t[b.name.value] = !b.repeatable) } } catch (e) { ;(y = !0), (_ = e) @@ -16486,10 +19701,17 @@ and limitations under the License. a = !1, s = void 0 try { - for (var c, d = l[Symbol.iterator](); !(o = (c = d.next()).done); o = !0) { + for ( + var c, d = l[Symbol.iterator](); + !(o = (c = d.next()).done); + o = !0 + ) { var f = c.value, p = f.name.value - t[p] && (u[p] ? e.reportError(new r.a(i(p), [u[p], f])) : (u[p] = f)) + t[p] && + (u[p] + ? e.reportError(new r.a(i(p), [u[p], f])) + : (u[p] = f)) } } catch (e) { ;(a = !0), (s = e) @@ -16519,7 +19741,17 @@ and limitations under the License. i = n(1), o = n(15) function a(e, t, n) { - return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e + return ( + t in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ) } function s(e, t, n) { return ( @@ -16587,7 +19819,11 @@ and limitations under the License. c = !1, d = void 0 try { - for (var f, p = u[Symbol.iterator](); !(a = (f = p.next()).done); a = !0) { + for ( + var f, p = u[Symbol.iterator](); + !(a = (f = p.next()).done); + a = !0 + ) { var h = f.value t[h.name] = h.args.map(function(e) { return e.name @@ -16607,7 +19843,11 @@ and limitations under the License. _ = !1, g = void 0 try { - for (var v, b = m[Symbol.iterator](); !(y = (v = b.next()).done); y = !0) { + for ( + var v, b = m[Symbol.iterator](); + !(y = (v = b.next()).done); + y = !0 + ) { var T = v.value T.kind === i.a.DIRECTIVE_DEFINITION && (t[T.name.value] = T.arguments @@ -16634,7 +19874,11 @@ and limitations under the License. a = !1, c = void 0 try { - for (var d, f = n.arguments[Symbol.iterator](); !(o = (d = f.next()).done); o = !0) { + for ( + var d, f = n.arguments[Symbol.iterator](); + !(o = (d = f.next()).done); + o = !0 + ) { var p = d.value, h = p.name.value if (-1 === i.indexOf(h)) { @@ -16679,7 +19923,10 @@ and limitations under the License. ? e.reportError( new r.a( (function(e) { - return 'There can be only one argument named "'.concat(e, '".') + return 'There can be only one argument named "'.concat( + e, + '".', + ) })(l), [t[l], n.name], ), @@ -16707,7 +19954,17 @@ and limitations under the License. a = n(14), s = n(15) function c(e, t, n) { - return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e + return ( + t in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ) } function d(e, t, n) { return 'Directive "@' @@ -16747,7 +20004,11 @@ and limitations under the License. p = !1, h = void 0 try { - for (var m, y = n.args[Symbol.iterator](); !(f = (m = y.next()).done); f = !0) { + for ( + var m, y = n.args[Symbol.iterator](); + !(f = (m = y.next()).done); + f = !0 + ) { var _ = m.value !d[_.name] && Object(o.P)(_) && @@ -16759,7 +20020,10 @@ and limitations under the License. 'Field "' .concat(l, '" argument "') .concat(a, '" of type "') - .concat(s, '" is required, but it was not provided.')), + .concat( + s, + '" is required, but it was not provided.', + )), t, ), ) @@ -16785,7 +20049,11 @@ and limitations under the License. p = !1, m = void 0 try { - for (var y, _ = c[Symbol.iterator](); !(f = (y = _.next()).done); f = !0) { + for ( + var y, _ = c[Symbol.iterator](); + !(f = (y = _.next()).done); + f = !0 + ) { var g = y.value t[g.name] = Object(i.a)(g.args.filter(o.P), function(e) { return e.name @@ -16805,12 +20073,19 @@ and limitations under the License. T = !1, w = void 0 try { - for (var O, D = v[Symbol.iterator](); !(b = (O = D.next()).done); b = !0) { + for ( + var O, D = v[Symbol.iterator](); + !(b = (O = D.next()).done); + b = !0 + ) { var E = O.value E.kind === l.a.DIRECTIVE_DEFINITION && - (t[E.name.value] = Object(i.a)(E.arguments ? E.arguments.filter(h) : [], function(e) { - return e.name.value - })) + (t[E.name.value] = Object(i.a)( + E.arguments ? E.arguments.filter(h) : [], + function(e) { + return e.name.value + }, + )) } } catch (e) { ;(T = !0), (w = e) @@ -16840,7 +20115,16 @@ and limitations under the License. var m = h[p] if (!f[m]) { var y = s[m].type - e.reportError(new r.a(d(l, m, Object(o.S)(y) ? Object(u.a)(y) : Object(a.print)(y)), n)) + e.reportError( + new r.a( + d( + l, + m, + Object(o.S)(y) ? Object(u.a)(y) : Object(a.print)(y), + ), + n, + ), + ) } } }, @@ -16875,7 +20159,10 @@ and limitations under the License. ? e.reportError( new r.a( (function(e) { - return 'There can be only one input field named "'.concat(e, '".') + return 'There can be only one input field named "'.concat( + e, + '".', + ) })(l), [n[l], t.name], ), @@ -16941,7 +20228,10 @@ and limitations under the License. ) throw new TypeError('util.promisify requires a true ES5 environment') var r = n(416) - if ('function' != typeof Promise) throw new TypeError('`Promise` must be globally available for util.promisify to work.') + if ('function' != typeof Promise) + throw new TypeError( + '`Promise` must be globally available for util.promisify to work.', + ) var l = Function.call.bind(Array.prototype.slice), u = Function.call.bind(Array.prototype.concat), i = Function.call.bind(Array.prototype.forEach), @@ -16950,13 +20240,28 @@ and limitations under the License. s = o ? Symbol('customPromisifyArgs') : null ;(e.exports = function(e) { if ('function' != typeof e) { - var t = new TypeError('The "original" argument must be of type function') - throw ((t.name = 'TypeError [ERR_INVALID_ARG_TYPE]'), (t.code = 'ERR_INVALID_ARG_TYPE'), t) + var t = new TypeError( + 'The "original" argument must be of type function', + ) + throw ((t.name = 'TypeError [ERR_INVALID_ARG_TYPE]'), + (t.code = 'ERR_INVALID_ARG_TYPE'), + t) } if (o && e[a]) { var n = e[a] - if ('function' != typeof n) throw new TypeError('The [util.promisify.custom] property must be a function') - return Object.defineProperty(n, a, { configurable: !0, enumerable: !1, value: n, writable: !1 }), n + if ('function' != typeof n) + throw new TypeError( + 'The [util.promisify.custom] property must be a function', + ) + return ( + Object.defineProperty(n, a, { + configurable: !0, + enumerable: !1, + value: n, + writable: !1, + }), + n + ) } var c = e[s], d = function() { @@ -16981,7 +20286,12 @@ and limitations under the License. } return ( Object.setPrototypeOf(d, Object.getPrototypeOf(e)), - Object.defineProperty(d, a, { configurable: !0, enumerable: !1, value: d, writable: !1 }), + Object.defineProperty(d, a, { + configurable: !0, + enumerable: !1, + value: d, + writable: !1, + }), Object.defineProperties(d, r(e)) ) }), @@ -17005,7 +20315,9 @@ and limitations under the License. d = r.IsCallable(u) && r.IsCallable(i) e.exports = function(e) { if ((r.RequireObjectCoercible(e), !d)) - throw new TypeError('getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor') + throw new TypeError( + 'getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor', + ) var t = r.ToObject(e) return s( c(t), @@ -17019,7 +20331,14 @@ and limitations under the License. ((r = e), (i = n), (o = a), - l && i in r ? l(r, i, { configurable: !0, enumerable: !0, value: o, writable: !0 }) : (r[i] = o)), + l && i in r + ? l(r, i, { + configurable: !0, + enumerable: !0, + value: o, + writable: !0, + }) + : (r[i] = o)), e ) }, @@ -17052,7 +20371,10 @@ and limitations under the License. for (var r in t) if (i(t, r) && !n[r]) return !1 var u = i(t, '[[Value]]'), o = i(t, '[[Get]]') || i(t, '[[Set]]') - if (u && o) throw new l('Property Descriptors may not be both accessor and data descriptors') + if (u && o) + throw new l( + 'Property Descriptors may not be both accessor and data descriptors', + ) return !0 }, } @@ -17106,7 +20428,9 @@ and limitations under the License. 'use strict' var r = n(166) e.exports = function() { - return 'function' == typeof Object.getOwnPropertyDescriptors ? Object.getOwnPropertyDescriptors : r + return 'function' == typeof Object.getOwnPropertyDescriptors + ? Object.getOwnPropertyDescriptors + : r } }, function(e, t, n) { @@ -17154,13 +20478,33 @@ and limitations under the License. o = n(189) class a extends Error { constructor(e, t, n = !1, r) { - super(t), (this.name = 'HttpQueryError'), (this.statusCode = e), (this.isGraphQLError = n), (this.headers = r) + super(t), + (this.name = 'HttpQueryError'), + (this.statusCode = e), + (this.isGraphQLError = n), + (this.headers = r) } } function s(e, t, n) { const r = { 'Content-Type': 'application/json' }, - l = i.hasPersistedQueryError(t) ? Object.assign({}, r, { 'Cache-Control': 'private, no-cache, must-revalidate' }) : r - throw new a(e, h({ errors: n ? i.formatApolloErrors(t, { debug: n.debug, formatter: n.formatError }) : t }), !0, l) + l = i.hasPersistedQueryError(t) + ? Object.assign({}, r, { + 'Cache-Control': 'private, no-cache, must-revalidate', + }) + : r + throw new a( + e, + h({ + errors: n + ? i.formatApolloErrors(t, { + debug: n.debug, + formatter: n.formatError, + }) + : t, + }), + !0, + l, + ) } function c(e, t) { return r(this, void 0, void 0, function*() { @@ -17168,18 +20512,29 @@ and limitations under the License. switch (t.method) { case 'POST': if (!t.query || 0 === Object.keys(t.query).length) - throw new a(500, 'POST body missing. Did you forget use body-parser middleware?') + throw new a( + 500, + 'POST body missing. Did you forget use body-parser middleware?', + ) n = t.query break case 'GET': - if (!t.query || 0 === Object.keys(t.query).length) throw new a(400, 'GET query missing.') + if (!t.query || 0 === Object.keys(t.query).length) + throw new a(400, 'GET query missing.') n = t.query break default: - throw new a(405, 'Apollo Server supports only GET/POST requests.', !1, { Allow: 'GET, POST' }) + throw new a( + 405, + 'Apollo Server supports only GET/POST requests.', + !1, + { Allow: 'GET, POST' }, + ) } function u(t) { - const n = ((r = e.context), Object.assign(Object.create(Object.getPrototypeOf(r)), r)) + const n = + ((r = e.context), + Object.assign(Object.create(Object.getPrototypeOf(r)), r)) var r return { request: t, @@ -17215,12 +20570,18 @@ and limitations under the License. try { const t = u(r), n = yield o.processGraphQLRequest(e, t) - if (n.errors && void 0 === n.data) return s((n.http && n.http.status) || 400, n.errors) - if (n.http) for (const [e, t] of n.http.headers) c.headers[e] = t + if (n.errors && void 0 === n.data) + return s((n.http && n.http.status) || 400, n.errors) + if (n.http) + for (const [e, t] of n.http.headers) c.headers[e] = t m = h(p(n)) } catch (t) { - if (t instanceof o.InvalidGraphQLRequestError) throw new a(400, t.message) - if (t instanceof i.PersistedQueryNotSupportedError || t instanceof i.PersistedQueryNotFoundError) + if (t instanceof o.InvalidGraphQLRequestError) + throw new a(400, t.message) + if ( + t instanceof i.PersistedQueryNotSupportedError || + t instanceof i.PersistedQueryNotFoundError + ) return s(200, [t], e) throw t } @@ -17229,7 +20590,13 @@ and limitations under the License. if (t instanceof a) throw t return s(500, [t], e) } - return (c.headers['Content-Length'] = Buffer.byteLength(m, 'utf8').toString()), { graphqlResponse: m, responseInit: c } + return ( + (c.headers['Content-Length'] = Buffer.byteLength( + m, + 'utf8', + ).toString()), + { graphqlResponse: m, responseInit: c } + ) }) } function d(e, t) { @@ -17256,7 +20623,13 @@ and limitations under the License. } catch (e) { throw new a(400, 'Variables are invalid JSON.') } - return { query: n, operationName: l, variables: u, extensions: r, http: e } + return { + query: n, + operationName: l, + variables: u, + extensions: r, + http: e, + } } ;(t.HttpQueryError = a), (t.throwHttpGraphQLError = s), @@ -17273,13 +20646,18 @@ and limitations under the License. s(500, [e], { debug: !1 }) ) } - if ((void 0 === n.debug && (n.debug = !1), 'function' == typeof n.context)) + if ( + (void 0 === n.debug && (n.debug = !1), + 'function' == typeof n.context) + ) try { n.context() } catch (e) { return ( (e.message = `Context creation failed: ${e.message}`), - e.extensions && e.extensions.code && 'INTERNAL_SERVER_ERROR' !== e.extensions.code + e.extensions && + e.extensions.code && + 'INTERNAL_SERVER_ERROR' !== e.extensions.code ? s(400, [e], n) : s(500, [e], n) ) @@ -17314,7 +20692,9 @@ and limitations under the License. requestDidStart: () => ({ didResolveOperation({ request: e, operation: t }) { if (e.http && 'GET' === e.http.method && 'query' !== t.operation) - throw new a(405, 'GET supports only query operation', !1, { Allow: 'POST' }) + throw new a(405, 'GET supports only query operation', !1, { + Allow: 'POST', + }) }, }), } @@ -17374,7 +20754,9 @@ and limitations under the License. n = e.locations, l = e.path, u = e.extensions - return u ? { message: t, locations: n, path: l, extensions: u } : { message: t, locations: n, path: l } + return u + ? { message: t, locations: n, path: l, extensions: u } + : { message: t, locations: n, path: l } } }, function(e, t, n) { @@ -17429,10 +20811,17 @@ and limitations under the License. if (e && e.name && e.kind) switch (e.kind) { case p.b.SCALAR: - return (n = e), new d.g({ name: n.name, description: n.description }) + return ( + (n = e), + new d.g({ name: n.name, description: n.description }) + ) case p.b.OBJECT: return (function(e) { - if (!e.interfaces) throw new Error('Introspection result missing interfaces: ' + Object(l.a)(e)) + if (!e.interfaces) + throw new Error( + 'Introspection result missing interfaces: ' + + Object(l.a)(e), + ) return new d.f({ name: e.name, description: e.description, @@ -17457,7 +20846,11 @@ and limitations under the License. ) case p.b.UNION: return (function(e) { - if (!e.possibleTypes) throw new Error('Introspection result missing possibleTypes: ' + Object(l.a)(e)) + if (!e.possibleTypes) + throw new Error( + 'Introspection result missing possibleTypes: ' + + Object(l.a)(e), + ) return new d.h({ name: e.name, description: e.description, @@ -17468,7 +20861,11 @@ and limitations under the License. })(e) case p.b.ENUM: return (function(e) { - if (!e.enumValues) throw new Error('Introspection result missing enumValues: ' + Object(l.a)(e)) + if (!e.enumValues) + throw new Error( + 'Introspection result missing enumValues: ' + + Object(l.a)(e), + ) return new d.a({ name: e.name, description: e.description, @@ -17478,14 +20875,21 @@ and limitations under the License. return e.name }, function(e) { - return { description: e.description, deprecationReason: e.deprecationReason } + return { + description: e.description, + deprecationReason: e.deprecationReason, + } }, ), }) })(e) case p.b.INPUT_OBJECT: return (function(e) { - if (!e.inputFields) throw new Error('Introspection result missing inputFields: ' + Object(l.a)(e)) + if (!e.inputFields) + throw new Error( + 'Introspection result missing inputFields: ' + + Object(l.a)(e), + ) return new d.b({ name: e.name, description: e.description, @@ -17517,9 +20921,22 @@ and limitations under the License. T = n.subscriptionType ? D(n.subscriptionType) : null, w = n.directives ? n.directives.map(function(e) { - if (!e.args) throw new Error('Introspection result missing directive args: ' + Object(l.a)(e)) - if (!e.locations) throw new Error('Introspection result missing directive locations: ' + Object(l.a)(e)) - return new f.c({ name: e.name, description: e.description, locations: e.locations.slice(), args: M(e.args) }) + if (!e.args) + throw new Error( + 'Introspection result missing directive args: ' + + Object(l.a)(e), + ) + if (!e.locations) + throw new Error( + 'Introspection result missing directive locations: ' + + Object(l.a)(e), + ) + return new f.c({ + name: e.name, + description: e.description, + locations: e.locations.slice(), + args: M(e.args), + }) }) : [] return new c.a({ @@ -17534,16 +20951,19 @@ and limitations under the License. function O(e) { if (e.kind === p.b.LIST) { var t = e.ofType - if (!t) throw new Error('Decorated type deeper than introspection query.') + if (!t) + throw new Error('Decorated type deeper than introspection query.') return Object(d.d)(O(t)) } if (e.kind === p.b.NON_NULL) { var n = e.ofType - if (!n) throw new Error('Decorated type deeper than introspection query.') + if (!n) + throw new Error('Decorated type deeper than introspection query.') var r = O(n) return Object(d.e)(Object(d.t)(r)) } - if (!e.name) throw new Error('Unknown type reference: ' + Object(l.a)(e)) + if (!e.name) + throw new Error('Unknown type reference: ' + Object(l.a)(e)) return (function(e) { var t = m[e] if (!t) @@ -17565,22 +20985,34 @@ and limitations under the License. return Object(d.o)(t) } function L(e) { - if (!e.fields) throw new Error('Introspection result missing fields: ' + Object(l.a)(e)) + if (!e.fields) + throw new Error( + 'Introspection result missing fields: ' + Object(l.a)(e), + ) return Object(i.a)( e.fields, function(e) { return e.name }, function(e) { - if (!e.args) throw new Error('Introspection result missing field args: ' + Object(l.a)(e)) + if (!e.args) + throw new Error( + 'Introspection result missing field args: ' + Object(l.a)(e), + ) return { description: e.description, deprecationReason: e.deprecationReason, - type: ((t = e.type), - (n = O(t)), - Object(d.O)(n) || - Object(u.a)(0, 'Introspection must provide output type for fields, but received: ' + Object(l.a)(n) + '.'), - n), + type: + ((t = e.type), + (n = O(t)), + Object(d.O)(n) || + Object(u.a)( + 0, + 'Introspection must provide output type for fields, but received: ' + + Object(l.a)(n) + + '.', + ), + n), args: M(e.args), } var t, n @@ -17601,11 +21033,18 @@ and limitations under the License. var t = O(e) return ( Object(d.G)(t) || - Object(u.a)(0, 'Introspection must provide input type for arguments, but received: ' + Object(l.a)(t) + '.'), + Object(u.a)( + 0, + 'Introspection must provide input type for arguments, but received: ' + + Object(l.a)(t) + + '.', + ), t ) })(e.type), - n = e.defaultValue ? Object(a.a)(Object(s.c)(e.defaultValue), t) : void 0 + n = e.defaultValue + ? Object(a.a)(Object(s.c)(e.defaultValue), t) + : void 0 return { description: e.description, type: t, defaultValue: n } } } @@ -17647,12 +21086,24 @@ and limitations under the License. return e } function v(e, t, n) { - return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e + return ( + t in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ) } function b(e, t, n) { Object(d.b)(e), - (t && t.kind === y.a.DOCUMENT) || Object(i.a)(0, 'Must provide valid Document AST'), - (n && (n.assumeValid || n.assumeValidSDL)) || Object(c.assertValidSDLExtension)(t, e) + (t && t.kind === y.a.DOCUMENT) || + Object(i.a)(0, 'Must provide valid Document AST'), + (n && (n.assumeValid || n.assumeValidSDL)) || + Object(c.assertValidSDLExtension)(t, e) var v, b = [], T = Object.create(null), @@ -17662,7 +21113,11 @@ and limitations under the License. E = !1, L = void 0 try { - for (var M, S = t.definitions[Symbol.iterator](); !(D = (M = S.next()).done); D = !0) { + for ( + var M, S = t.definitions[Symbol.iterator](); + !(D = (M = S.next()).done); + D = !0 + ) { var k = M.value if (k.kind === y.a.SCHEMA_DEFINITION) v = k else if (k.kind === y.a.SCHEMA_EXTENSION) O.push(k) @@ -17682,7 +21137,14 @@ and limitations under the License. if (E) throw L } } - if (0 === Object.keys(T).length && 0 === b.length && 0 === w.length && 0 === O.length && !v) return e + if ( + 0 === Object.keys(T).length && + 0 === b.length && + 0 === w.length && + 0 === O.length && + !v + ) + return e var N = e.toConfig(), A = new s.a(n, function(e) { var t = P[e] @@ -17701,7 +21163,11 @@ and limitations under the License. Y = !1, I = void 0 try { - for (var F, R = N.types[Symbol.iterator](); !(x = (F = R.next()).done); x = !0) { + for ( + var F, R = N.types[Symbol.iterator](); + !(x = (F = R.next()).done); + x = !0 + ) { var B = F.value P[B.name] = fe(B) } @@ -17724,7 +21190,11 @@ and limitations under the License. Q = !1, U = void 0 try { - for (var q, W = v.operationTypes[Symbol.iterator](); !(V = (q = W.next()).done); V = !0) { + for ( + var q, W = v.operationTypes[Symbol.iterator](); + !(V = (q = W.next()).done); + V = !0 + ) { var G = q.value, $ = G.operation, z = G.type @@ -17747,7 +21217,11 @@ and limitations under the License. ee = !1, te = void 0 try { - for (var ne, re = Z.operationTypes[Symbol.iterator](); !(X = (ne = re.next()).done); X = !0) { + for ( + var ne, re = Z.operationTypes[Symbol.iterator](); + !(X = (ne = re.next()).done); + X = !0 + ) { var le = ne.value, ue = le.operation, ie = le.type @@ -17771,19 +21245,24 @@ and limitations under the License. mutation: de(H.mutation), subscription: de(H.subscription), types: Object(l.a)(P), - directives: ((oe = e.getDirectives().map(pe)), - oe || Object(i.a)(0, 'schema must have default directives'), - oe.concat( - w.map(function(e) { - return A.buildDirective(e) - }), - )), + directives: + ((oe = e.getDirectives().map(pe)), + oe || Object(i.a)(0, 'schema must have default directives'), + oe.concat( + w.map(function(e) { + return A.buildDirective(e) + }), + )), astNode: v || N.astNode, extensionASTNodes: N.extensionASTNodes.concat(O), allowedLegacyNames: ae, }) function se(e) { - return Object(h.J)(e) ? new h.d(se(e.ofType)) : Object(h.L)(e) ? new h.e(se(e.ofType)) : ce(e) + return Object(h.J)(e) + ? new h.d(se(e.ofType)) + : Object(h.L)(e) + ? new h.e(se(e.ofType)) + : ce(e) } function ce(e) { return P[e.name] @@ -17797,7 +21276,9 @@ and limitations under the License. return (function(e) { var t = e.toConfig(), n = T[t.name] || [] - return new h.g(g({}, t, { extensionASTNodes: t.extensionASTNodes.concat(n) })) + return new h.g( + g({}, t, { extensionASTNodes: t.extensionASTNodes.concat(n) }), + ) })(e) if (Object(h.N)(e)) return (function(e) { @@ -17986,7 +21467,17 @@ and limitations under the License. return e } function d(e, t, n) { - return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = n), e + return ( + t in e + ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[t] = n), + e + ) } function f(e) { var t = e.toConfig(), @@ -18069,7 +21560,11 @@ and limitations under the License. }), ) function d(e) { - return Object(a.J)(e) ? new a.d(d(e.ofType)) : Object(a.L)(e) ? new a.e(d(e.ofType)) : f(e) + return Object(a.J)(e) + ? new a.d(d(e.ofType)) + : Object(a.L)(e) + ? new a.e(d(e.ofType)) + : f(e) } function f(e) { return n[e.name] @@ -18152,7 +21647,9 @@ and limitations under the License. c = new r.a(n, void 0, e), d = new a.b(n, s, c), f = Object(o.a)(d) - return Object(u.visit)(t, Object(u.visitWithTypeInfo)(c, f)), d.getErrors() + return ( + Object(u.visit)(t, Object(u.visitWithTypeInfo)(c, f)), d.getErrors() + ) } }, function(e, t, n) { @@ -18235,8 +21732,15 @@ and limitations under the License. o = n(45) function a(e) { var t = 'string' == typeof e ? new l.a(e) : e - if (!(t instanceof l.a)) throw new TypeError('Must provide string or Source. Received: '.concat(Object(r.a)(t))) - for (var n = t.body, o = Object(i.a)(t), a = '', c = !1; o.advance().kind !== u.a.EOF; ) { + if (!(t instanceof l.a)) + throw new TypeError( + 'Must provide string or Source. Received: '.concat(Object(r.a)(t)), + ) + for ( + var n = t.body, o = Object(i.a)(t), a = '', c = !1; + o.advance().kind !== u.a.EOF; + + ) { var d = o.token, f = d.kind, p = !Object(i.c)(d) @@ -18252,7 +21756,10 @@ and limitations under the License. r = n.split(/\r\n|[\n\r]/g) Object(o.b)(r) > 0 && (n = '\n' + n) var l = n[n.length - 1] - return (('"' === l && '\\"""' !== n.slice(-4)) || '\\' === l) && (n += '\n'), '"""' + n + '"""' + return ( + (('"' === l && '\\"""' !== n.slice(-4)) || '\\' === l) && (n += '\n'), + '"""' + n + '"""' + ) } }, function(e, t, n) { @@ -18277,7 +21784,15 @@ and limitations under the License. var l = o.getParentType() if (l) { var u = t.deprecationReason - n.push(new r.a('The field '.concat(l.name, '.').concat(t.name, ' is deprecated.') + (u ? ' ' + u : ''), e)) + n.push( + new r.a( + 'The field ' + .concat(l.name, '.') + .concat(t.name, ' is deprecated.') + + (u ? ' ' + u : ''), + e, + ), + ) } } }, @@ -18288,7 +21803,13 @@ and limitations under the License. if (l) { var i = t.deprecationReason n.push( - new r.a('The enum value '.concat(l.name, '.').concat(t.name, ' is deprecated.') + (i ? ' ' + i : ''), e), + new r.a( + 'The enum value ' + .concat(l.name, '.') + .concat(t.name, ' is deprecated.') + + (i ? ' ' + i : ''), + e, + ), ) } } @@ -18334,7 +21855,8 @@ and limitations under the License. function(e) { if (e && e.__esModule) return e var t = {} - if (null != e) for (var n in e) Object.hasOwnProperty.call(e, n) && (t[n] = e[n]) + if (null != e) + for (var n in e) Object.hasOwnProperty.call(e, n) && (t[n] = e[n]) return (t.default = e), t }, u = @@ -18370,7 +21892,9 @@ and limitations under the License. const t = e.extensions ? e.extensions.map((e) => e()) : [] return ( e.tracing && t.push(new c.TracingExtension()), - e.cacheControl && ((l = new s.CacheControlExtension(e.cacheControl)), t.push(l)), + e.cacheControl && + ((l = new s.CacheControlExtension(e.cacheControl)), + t.push(l)), new a.GraphQLExtensionStack(t) ) })() @@ -18389,7 +21913,8 @@ and limitations under the License. if (e.dataSources) { const t = n.context, r = e.dataSources() - for (const e of Object.values(r)) e.initialize && e.initialize({ context: t, cache: n.cache }) + for (const e of Object.values(r)) + e.initialize && e.initialize({ context: t, cache: n.cache }) if ('dataSources' in t) throw new Error( 'Please use the dataSources config option instead of putting dataSources on the context yourself.', @@ -18403,23 +21928,39 @@ and limitations under the License. let b, T, { query: w, extensions: O } = v - if (((g.persistedQueryHit = !1), (g.persistedQueryRegister = !1), O && O.persistedQuery)) { - if (!e.persistedQueries || !e.persistedQueries.cache) throw new d.PersistedQueryNotSupportedError() - if (1 !== O.persistedQuery.version) throw new f.InvalidGraphQLRequestError('Unsupported persisted query version') + if ( + ((g.persistedQueryHit = !1), + (g.persistedQueryRegister = !1), + O && O.persistedQuery) + ) { + if (!e.persistedQueries || !e.persistedQueries.cache) + throw new d.PersistedQueryNotSupportedError() + if (1 !== O.persistedQuery.version) + throw new f.InvalidGraphQLRequestError( + 'Unsupported persisted query version', + ) if ( - ((T = e.persistedQueries.cache) instanceof h.PrefixingKeyValueCache || + ((T = e.persistedQueries.cache) instanceof + h.PrefixingKeyValueCache || (T = new h.PrefixingKeyValueCache(T, t.APQ_CACHE_PREFIX)), (b = O.persistedQuery.sha256Hash), void 0 === w) ) { - if (!(w = yield T.get(b))) throw new d.PersistedQueryNotFoundError() + if (!(w = yield T.get(b))) + throw new d.PersistedQueryNotFoundError() g.persistedQueryHit = !0 } else { - if (b !== _(w)) throw new f.InvalidGraphQLRequestError('provided sha does not match query') + if (b !== _(w)) + throw new f.InvalidGraphQLRequestError( + 'provided sha does not match query', + ) g.persistedQueryRegister = !0 } } else { - if (!w) throw new f.InvalidGraphQLRequestError('Must provide query string.') + if (!w) + throw new f.InvalidGraphQLRequestError( + 'Must provide query string.', + ) b = _(w) } ;(n.queryHash = b), (n.source = w) @@ -18439,7 +21980,10 @@ and limitations under the License. try { n.document = yield e.documentStore.get(b) } catch (e) { - console.warn('An error occurred while attempting to read from the documentStore.', e) + console.warn( + 'An error occurred while attempting to read from the documentStore.', + e, + ) } if (!n.document) { const t = yield m.invokeDidStartHook('parsingDidStart', n) @@ -18470,19 +22014,23 @@ and limitations under the License. if (0 !== l.length) return r(l), yield M(l, d.ValidationError) r(), e.documentStore && - Promise.resolve(e.documentStore.set(b, n.document)).catch((e) => - console.warn('Could not store validated document.', e), + Promise.resolve(e.documentStore.set(b, n.document)).catch( + (e) => + console.warn('Could not store validated document.', e), ) } const t = i.getOperationAST(n.document, v.operationName) - ;(n.operation = t || void 0), (n.operationName = (t && t.name && t.name.value) || null) + ;(n.operation = t || void 0), + (n.operationName = (t && t.name && t.name.value) || null) try { yield m.invokeHookAsync('didResolveOperation', n) } catch (e) { if (e instanceof y.HttpQueryError) throw e return yield M(e) } - g.persistedQueryRegister && T && Promise.resolve(T.set(b, w)).catch(console.warn) + g.persistedQueryRegister && + T && + Promise.resolve(T.set(b, w)).catch(console.warn) let a = yield m.invokeHooksUntilNonNull('responseForOperation', n) if (null == a) { const t = yield m.invokeDidStartHook('executionDidStart', n) @@ -18493,7 +22041,10 @@ and limitations under the License. l = { schema: e.schema, document: r, - rootValue: 'function' == typeof e.rootValue ? e.rootValue(r) : e.rootValue, + rootValue: + 'function' == typeof e.rootValue + ? e.rootValue(r) + : e.rootValue, contextValue: t.context, variableValues: n.variables, operationName: n.operationName, @@ -18501,13 +22052,19 @@ and limitations under the License. }, i = u.executionDidStart({ executionArgs: l }) try { - return e.executor ? yield e.executor(t) : yield o.execute(l) + return e.executor + ? yield e.executor(t) + : yield o.execute(l) } finally { i() } }) })(n) - l.errors && (yield L(l.errors)), (a = Object.assign({}, l, { errors: l.errors ? S(l.errors) : void 0 })), t() + l.errors && (yield L(l.errors)), + (a = Object.assign({}, l, { + errors: l.errors ? S(l.errors) : void 0, + })), + t() } catch (e) { return t(e), yield M(e) } @@ -18517,7 +22074,10 @@ and limitations under the License. ? l.overrideOverallCachePolicy(n.overallCachePolicy) : (n.overallCachePolicy = l.computeOverallCachePolicy())) const s = u.format() - if ((Object.keys(s).length > 0 && (a.extensions = s), e.formatResponse)) { + if ( + (Object.keys(s).length > 0 && (a.extensions = s), + e.formatResponse) + ) { const t = e.formatResponse(a, { context: n.context }) null != t && (a = t) } @@ -18529,7 +22089,11 @@ and limitations under the License. return r(this, void 0, void 0, function*() { return ( (n.response = u.willSendResponse({ - graphqlResponse: Object.assign({}, n.response, { errors: e.errors, data: e.data, extensions: e.extensions }), + graphqlResponse: Object.assign({}, n.response, { + errors: e.errors, + data: e.data, + extensions: e.extensions, + }), context: n.context, }).graphqlResponse), yield m.invokeHookAsync('willSendResponse', n), @@ -18539,17 +22103,33 @@ and limitations under the License. } function L(e) { return r(this, void 0, void 0, function*() { - return (n.errors = e), u.didEncounterErrors(e), yield m.invokeHookAsync('didEncounterErrors', n) + return ( + (n.errors = e), + u.didEncounterErrors(e), + yield m.invokeHookAsync('didEncounterErrors', n) + ) }) } function M(e, t) { return r(this, void 0, void 0, function*() { const n = Array.isArray(e) ? e : [e] - return yield L(n), E({ errors: S(n.map((e) => d.fromGraphQLError(e, t && { errorClass: t }))) }) + return ( + yield L(n), + E({ + errors: S( + n.map((e) => + d.fromGraphQLError(e, t && { errorClass: t }), + ), + ), + }) + ) }) } function S(t) { - return d.formatApolloErrors(t, { formatter: e.formatError, debug: n.debug }) + return d.formatApolloErrors(t, { + formatter: e.formatError, + debug: n.debug, + }) } }) }) @@ -18572,7 +22152,8 @@ and limitations under the License. (o.__fields || (o.__fields = {}), (o.__fields[i.fieldName] = i.fieldNodes), (d = o.__whenObjectResolved) || - ((d = Promise.resolve().then(() => c(e, o.__fields, l, i))), (o.__whenObjectResolved = d))) + ((d = Promise.resolve().then(() => c(e, o.__fields, l, i))), + (o.__whenObjectResolved = d))) try { const o = t || (a && a.fieldResolver) || r.defaultFieldResolver let c @@ -18599,18 +22180,27 @@ and limitations under the License. this.extensions = e } requestDidStart(e) { - return this.handleDidStart((t) => t.requestDidStart && t.requestDidStart(e)) + return this.handleDidStart( + (t) => t.requestDidStart && t.requestDidStart(e), + ) } parsingDidStart(e) { - return this.handleDidStart((t) => t.parsingDidStart && t.parsingDidStart(e)) + return this.handleDidStart( + (t) => t.parsingDidStart && t.parsingDidStart(e), + ) } validationDidStart() { - return this.handleDidStart((e) => e.validationDidStart && e.validationDidStart()) + return this.handleDidStart( + (e) => e.validationDidStart && e.validationDidStart(), + ) } executionDidStart(e) { return ( - e.executionArgs.fieldResolver && (this.fieldResolver = e.executionArgs.fieldResolver), - this.handleDidStart((t) => t.executionDidStart && t.executionDidStart(e)) + e.executionArgs.fieldResolver && + (this.fieldResolver = e.executionArgs.fieldResolver), + this.handleDidStart( + (t) => t.executionDidStart && t.executionDidStart(e), + ) ) } didEncounterErrors(e) { @@ -18676,7 +22266,10 @@ and limitations under the License. const n = e.getTypeMap() Object.keys(n).forEach((e) => { const l = n[e] - if (!r.getNamedType(l).name.startsWith('__') && l instanceof r.GraphQLObjectType) { + if ( + !r.getNamedType(l).name.startsWith('__') && + l instanceof r.GraphQLObjectType + ) { const n = l.getFields() Object.keys(n).forEach((r) => { const l = n[r] @@ -18707,7 +22300,8 @@ and limitations under the License. ;((t = e.exports = function(e) { e = e.toLowerCase() var n = t[e] - if (!n) throw new Error(e + ' is not supported (we accept pull requests)') + if (!n) + throw new Error(e + ' is not supported (we accept pull requests)') return new n() }).sha = n(443)), (t.sha1 = n(446)), @@ -18797,10 +22391,18 @@ and limitations under the License. return (e & t) | (n & (e | t)) } function d(e) { - return ((e >>> 2) | (e << 30)) ^ ((e >>> 13) | (e << 19)) ^ ((e >>> 22) | (e << 10)) + return ( + ((e >>> 2) | (e << 30)) ^ + ((e >>> 13) | (e << 19)) ^ + ((e >>> 22) | (e << 10)) + ) } function f(e) { - return ((e >>> 6) | (e << 26)) ^ ((e >>> 11) | (e << 21)) ^ ((e >>> 25) | (e << 7)) + return ( + ((e >>> 6) | (e << 26)) ^ + ((e >>> 11) | (e << 21)) ^ + ((e >>> 25) | (e << 7)) + ) } function p(e) { return ((e >>> 7) | (e << 25)) ^ ((e >>> 18) | (e << 14)) ^ (e >>> 3) @@ -18839,14 +22441,23 @@ and limitations under the License. for (; _ < 64; ++_) n[_] = 0 | - (((((t = n[_ - 2]) >>> 17) | (t << 15)) ^ ((t >>> 19) | (t << 13)) ^ (t >>> 10)) + + (((((t = n[_ - 2]) >>> 17) | (t << 15)) ^ + ((t >>> 19) | (t << 13)) ^ + (t >>> 10)) + n[_ - 7] + p(n[_ - 15]) + n[_ - 16]) for (var g = 0; g < 64; ++g) { var v = (y + f(a) + s(a, h, m) + i[g] + n[g]) | 0, b = (d(r) + c(r, l, u)) | 0 - ;(y = m), (m = h), (h = a), (a = (o + v) | 0), (o = u), (u = l), (l = r), (r = (v + b) | 0) + ;(y = m), + (m = h), + (h = a), + (a = (o + v) | 0), + (o = u), + (u = l), + (l = r), + (r = (v + b) | 0) } ;(this._a = (r + this._a) | 0), (this._b = (l + this._b) | 0), @@ -19050,22 +22661,38 @@ and limitations under the License. return (e & t) | (n & (e | t)) } function d(e, t) { - return ((e >>> 28) | (t << 4)) ^ ((t >>> 2) | (e << 30)) ^ ((t >>> 7) | (e << 25)) + return ( + ((e >>> 28) | (t << 4)) ^ + ((t >>> 2) | (e << 30)) ^ + ((t >>> 7) | (e << 25)) + ) } function f(e, t) { - return ((e >>> 14) | (t << 18)) ^ ((e >>> 18) | (t << 14)) ^ ((t >>> 9) | (e << 23)) + return ( + ((e >>> 14) | (t << 18)) ^ + ((e >>> 18) | (t << 14)) ^ + ((t >>> 9) | (e << 23)) + ) } function p(e, t) { return ((e >>> 1) | (t << 31)) ^ ((e >>> 8) | (t << 24)) ^ (e >>> 7) } function h(e, t) { - return ((e >>> 1) | (t << 31)) ^ ((e >>> 8) | (t << 24)) ^ ((e >>> 7) | (t << 25)) + return ( + ((e >>> 1) | (t << 31)) ^ + ((e >>> 8) | (t << 24)) ^ + ((e >>> 7) | (t << 25)) + ) } function m(e, t) { return ((e >>> 19) | (t << 13)) ^ ((t >>> 29) | (e << 3)) ^ (e >>> 6) } function y(e, t) { - return ((e >>> 19) | (t << 13)) ^ ((t >>> 29) | (e << 3)) ^ ((e >>> 6) | (t << 26)) + return ( + ((e >>> 19) | (t << 13)) ^ + ((t >>> 29) | (e << 3)) ^ + ((e >>> 6) | (t << 26)) + ) } function _(e, t) { return e >>> 0 < t >>> 0 ? 1 : 0 @@ -19129,7 +22756,13 @@ and limitations under the License. F = t[S - 32 + 1], R = (N + Y) | 0, B = (C + x + _(R, N)) | 0 - ;(B = ((B = (B + A + _((R = (R + P) | 0), P)) | 0) + I + _((R = (R + F) | 0), F)) | 0), (t[S] = B), (t[S + 1] = R) + ;(B = + ((B = (B + A + _((R = (R + P) | 0), P)) | 0) + + I + + _((R = (R + F) | 0), F)) | + 0), + (t[S] = B), + (t[S + 1] = R) } for (var H = 0; H < 160; H += 2) { ;(B = t[H]), (R = t[H + 1]) @@ -19146,7 +22779,11 @@ and limitations under the License. Z = (M + G) | 0, X = (v + W + _(Z, M)) | 0 X = - ((X = ((X = (X + J + _((Z = (Z + K) | 0), K)) | 0) + $ + _((Z = (Z + z) | 0), z)) | 0) + + ((X = + ((X = (X + J + _((Z = (Z + K) | 0), K)) | 0) + + $ + + _((Z = (Z + z) | 0), z)) | + 0) + B + _((Z = (Z + R) | 0), R)) | 0 @@ -19216,7 +22853,8 @@ and limitations under the License. 'tracing.hideTracingResponse': !0, 'queryPlan.hideQueryPlanResponse': !0, 'editor.fontSize': 14, - 'editor.fontFamily': "'Source Code Pro', 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace", + 'editor.fontFamily': + "'Source Code Pro', 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace", 'request.credentials': 'omit', }, }), @@ -19224,7 +22862,13 @@ and limitations under the License. if (void 0 === e || !e) return const n = 'boolean' == typeof e ? {} : e || {}, r = n.hasOwnProperty('settings') - ? { settings: Object.assign({}, t.defaultPlaygroundOptions.settings, n.settings) } + ? { + settings: Object.assign( + {}, + t.defaultPlaygroundOptions.settings, + n.settings, + ), + } : { settings: void 0 } return Object.assign({}, t.defaultPlaygroundOptions, n, r) }) @@ -19254,7 +22898,13 @@ and limitations under the License. function(e, t, n) { Object.defineProperty(t, '__esModule', { value: !0 }) var r = n(8) - ;(t.specifiedScalarTypes = [r.GraphQLString, r.GraphQLInt, r.GraphQLFloat, r.GraphQLBoolean, r.GraphQLID]), + ;(t.specifiedScalarTypes = [ + r.GraphQLString, + r.GraphQLInt, + r.GraphQLFloat, + r.GraphQLBoolean, + r.GraphQLID, + ]), (t.default = function(e) { return ( r.isNamedType(e) && @@ -19269,7 +22919,9 @@ and limitations under the License. function(e, t) { Object.defineProperty(t, '__esModule', { value: !0 }), (t.getResponseKeyFromInfo = function(e) { - return e.fieldNodes[0].alias ? e.fieldNodes[0].alias.value : e.fieldName + return e.fieldNodes[0].alias + ? e.fieldNodes[0].alias.value + : e.fieldName }) }, function(e, t, n) { @@ -19279,7 +22931,8 @@ and limitations under the License. } }, function(e, t) { - for (var n = [], r = 0; r < 256; ++r) n[r] = (r + 256).toString(16).substr(1) + for (var n = [], r = 0; r < 256; ++r) + n[r] = (r + 256).toString(16).substr(1) e.exports = function(e, t) { var r = t || 0, l = n @@ -19334,7 +22987,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -19390,12 +23044,18 @@ and limitations under the License. (t[e.name] = { kind: l.Kind.ARGUMENT, name: { kind: l.Kind.NAME, value: e.name }, - value: { kind: l.Kind.VARIABLE, name: { kind: l.Kind.NAME, value: r } }, + value: { + kind: l.Kind.VARIABLE, + name: { kind: l.Kind.NAME, value: r }, + }, }), o.push(r), (c[r] = { kind: l.Kind.VARIABLE_DEFINITION, - variable: { kind: l.Kind.VARIABLE, name: { kind: l.Kind.NAME, value: r } }, + variable: { + kind: l.Kind.VARIABLE, + name: { kind: l.Kind.NAME, value: r }, + }, type: i(e.type), }) } @@ -19415,7 +23075,10 @@ and limitations under the License. return c[e] }), ), - selectionSet: { kind: l.Kind.SELECTION_SET, selections: d }, + selectionSet: { + kind: l.Kind.SELECTION_SET, + selections: d, + }, }) ) }), @@ -19424,7 +23087,10 @@ and limitations under the License. Object.keys(a).forEach(function(e) { c[a[e]] = n[e] }), - { document: r({}, t, { definitions: s.concat(o) }), newVariables: c } + { + document: r({}, t, { definitions: s.concat(o) }), + newVariables: c, + } ) })(this.schema, e.document, this.args), n = t.document, @@ -19437,12 +23103,16 @@ and limitations under the License. function i(e) { if (e instanceof l.GraphQLNonNull) { var t = i(e.ofType) - if (t.kind === l.Kind.LIST_TYPE || t.kind === l.Kind.NAMED_TYPE) return { kind: l.Kind.NON_NULL_TYPE, type: t } + if (t.kind === l.Kind.LIST_TYPE || t.kind === l.Kind.NAMED_TYPE) + return { kind: l.Kind.NON_NULL_TYPE, type: t } throw new Error('Incorrent inner non-null type') } return e instanceof l.GraphQLList ? { kind: l.Kind.LIST_TYPE, type: i(e.ofType) } - : { kind: l.Kind.NAMED_TYPE, name: { kind: l.Kind.NAME, value: e.toString() } } + : { + kind: l.Kind.NAMED_TYPE, + name: { kind: l.Kind.NAME, value: e.toString() }, + } } t.default = u }, @@ -19454,7 +23124,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -19535,7 +23206,11 @@ and limitations under the License. ) c() - return { usedVariables: i, newFragments: a, fragmentSet: t } + return { + usedVariables: i, + newFragments: a, + fragmentSet: t, + } })(e, f, c, d, u), _ = y.usedVariables, g = y.newFragments, @@ -19573,9 +23248,15 @@ and limitations under the License. (((o = {})[l.Kind.FIELD] = { enter: function(e) { var t = a(d[d.length - 1]) - if (t instanceof l.GraphQLObjectType || t instanceof l.GraphQLInterfaceType) { + if ( + t instanceof l.GraphQLObjectType || + t instanceof l.GraphQLInterfaceType + ) { var n = t.getFields(), - u = '__typename' === e.name.value ? l.TypeNameMetaFieldDef : n[e.name.value] + u = + '__typename' === e.name.value + ? l.TypeNameMetaFieldDef + : n[e.name.value] if (!u) return null d.push(u.type) var i = (u.args || []).map(function(e) { @@ -19585,14 +23266,21 @@ and limitations under the License. var o = e.arguments.filter(function(e) { return -1 !== i.indexOf(e.name.value) }) - if (o.length !== e.arguments.length) return r({}, e, { arguments: o }) + if (o.length !== e.arguments.length) + return r({}, e, { arguments: o }) } - } else t instanceof l.GraphQLUnionType && '__typename' === e.name.value && d.push(l.TypeNameMetaFieldDef.type) + } else + t instanceof l.GraphQLUnionType && + '__typename' === e.name.value && + d.push(l.TypeNameMetaFieldDef.type) }, leave: function(e) { var t, n = a(d.pop()) - if (n instanceof l.GraphQLObjectType || n instanceof l.GraphQLInterfaceType) { + if ( + n instanceof l.GraphQLObjectType || + n instanceof l.GraphQLInterfaceType + ) { var r = (e.selectionSet && e.selectionSet.selections) || null if (!r || 0 === r.length) return ( @@ -19640,7 +23328,12 @@ and limitations under the License. } } function a(e) { - for (var t = e; t instanceof l.GraphQLNonNull || t instanceof l.GraphQLList; ) t = t.ofType + for ( + var t = e; + t instanceof l.GraphQLNonNull || t instanceof l.GraphQLList; + + ) + t = t.ofType return t } function s() { @@ -19662,7 +23355,11 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }) var r = n(8) t.default = function(e, t, n) { - return t === n || (!(!r.isCompositeType(t) || !r.isCompositeType(n)) && r.doTypesOverlap(e, t, n)) + return ( + t === n || + (!(!r.isCompositeType(t) || !r.isCompositeType(n)) && + r.doTypesOverlap(e, t, n)) + ) } }, function(e, t, n) { @@ -19673,7 +23370,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -19697,11 +23395,18 @@ and limitations under the License. n = e.selections if ( (t && - (t instanceof l.GraphQLInterfaceType || t instanceof l.GraphQLUnionType) && + (t instanceof l.GraphQLInterfaceType || + t instanceof l.GraphQLUnionType) && !n.find(function(e) { - return e.kind === l.Kind.FIELD && '__typename' === e.name.value + return ( + e.kind === l.Kind.FIELD && + '__typename' === e.name.value + ) }) && - (n = n.concat({ kind: l.Kind.FIELD, name: { kind: l.Kind.NAME, value: '__typename' } })), + (n = n.concat({ + kind: l.Kind.FIELD, + name: { kind: l.Kind.NAME, value: '__typename' }, + })), n !== e.selections) ) return r({}, e, { selections: n }) @@ -19741,7 +23446,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -19775,14 +23481,15 @@ and limitations under the License. r ) })(e, t)), - (this.reverseMapping = ((n = this.mapping), - (r = {}), - Object.keys(n).forEach(function(e) { - n[e].forEach(function(t) { - r[t] || (r[t] = []), r[t].push(e) - }) - }), - r)) + (this.reverseMapping = + ((n = this.mapping), + (r = {}), + Object.keys(n).forEach(function(e) { + n[e].forEach(function(t) { + r[t] || (r[t] = []), r[t].push(e) + }) + }), + r)) } return ( (e.prototype.transformRequest = function(e) { @@ -19817,10 +23524,14 @@ and limitations under the License. var r = { kind: l.Kind.FRAGMENT_DEFINITION, name: { kind: l.Kind.NAME, value: n }, - typeCondition: { kind: l.Kind.NAMED_TYPE, name: { kind: l.Kind.NAME, value: t } }, + typeCondition: { + kind: l.Kind.NAMED_TYPE, + name: { kind: l.Kind.NAME, value: t }, + }, selectionSet: e.selectionSet, } - f.push(r), p[e.name.value].push({ fragmentName: n, typeName: t }) + f.push(r), + p[e.name.value].push({ fragmentName: n, typeName: t }) })) }) var h = r({}, i, { definitions: a.concat(f) }), @@ -19841,7 +23552,10 @@ and limitations under the License. u.default(e, a, e.getType(t)) && o.push({ kind: l.Kind.INLINE_FRAGMENT, - typeCondition: { kind: l.Kind.NAMED_TYPE, name: { kind: l.Kind.NAME, value: t } }, + typeCondition: { + kind: l.Kind.NAMED_TYPE, + name: { kind: l.Kind.NAME, value: t }, + }, selectionSet: n.selectionSet, }) }) @@ -19852,11 +23566,22 @@ and limitations under the License. s.forEach(function(t) { var n = t.typeName u.default(e, a, e.getType(n)) && - o.push({ kind: l.Kind.FRAGMENT_SPREAD, name: { kind: l.Kind.NAME, value: t.fragmentName } }) + o.push({ + kind: l.Kind.FRAGMENT_SPREAD, + name: { + kind: l.Kind.NAME, + value: t.fragmentName, + }, + }) }) } }), - a && n[a.name] && o.push({ kind: l.Kind.FIELD, name: { kind: l.Kind.NAME, value: '__typename' } }), + a && + n[a.name] && + o.push({ + kind: l.Kind.FIELD, + name: { kind: l.Kind.NAME, value: '__typename' }, + }), o.length !== i.selections.length) ) return r({}, i, { selections: o }) @@ -19864,7 +23589,12 @@ and limitations under the License. o), ), ) - })(this.targetSchema, this.mapping, this.reverseMapping, e.document) + })( + this.targetSchema, + this.mapping, + this.reverseMapping, + e.document, + ) return r({}, e, { document: t }) }), e @@ -19880,7 +23610,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -19895,7 +23626,9 @@ and limitations under the License. o = i(l.fragment), a = o.typeCondition.name.value ;(this.mapping[a] = this.mapping[a] || {}), - this.mapping[a][u] ? this.mapping[a][u].push(o) : (this.mapping[a][u] = [o]) + this.mapping[a][u] + ? this.mapping[a][u].push(o) + : (this.mapping[a][u] = [o]) } } return ( @@ -19943,9 +23676,18 @@ and limitations under the License. for (var t = 0, n = l.parse(e).definitions; t < n.length; t++) { var r = n[t] if (r.kind === l.Kind.FRAGMENT_DEFINITION) - return { kind: l.Kind.INLINE_FRAGMENT, typeCondition: r.typeCondition, selectionSet: r.selectionSet } + return { + kind: l.Kind.INLINE_FRAGMENT, + typeCondition: r.typeCondition, + selectionSet: r.selectionSet, + } } - for (var u = 0, i = l.parse('{' + e + '}').definitions[0].selectionSet.selections; u < i.length; u++) { + for ( + var u = 0, + i = l.parse('{' + e + '}').definitions[0].selectionSet.selections; + u < i.length; + u++ + ) { var o = i[u] if (o.kind === l.Kind.INLINE_FRAGMENT) return o } @@ -19956,35 +23698,43 @@ and limitations under the License. u = t.reduce(function(e, t) { return e.concat(t.selectionSet.selections) }, []), - i = ((n = u.reduce(function(e, t) { - var n, l, u - switch (t.kind) { - case 'Field': - return t.alias - ? e.hasOwnProperty(t.alias.value) + i = + ((n = u.reduce(function(e, t) { + var n, l, u + switch (t.kind) { + case 'Field': + return t.alias + ? e.hasOwnProperty(t.alias.value) + ? e + : r({}, e, (((n = {})[t.alias.value] = t), n)) + : e.hasOwnProperty(t.name.value) ? e - : r({}, e, (((n = {})[t.alias.value] = t), n)) - : e.hasOwnProperty(t.name.value) - ? e - : r({}, e, (((l = {})[t.name.value] = t), l)) - case 'FragmentSpread': - return e.hasOwnProperty(t.name.value) ? e : r({}, e, (((u = {})[t.name.value] = t), u)) - case 'InlineFragment': - if (e.__fragment) { - var i = e.__fragment - return r({}, e, { __fragment: o(i.typeCondition.name.value, [i, t]) }) - } - return r({}, e, { __fragment: t }) - default: - return e - } - }, {})), - Object.keys(n).reduce(function(e, t) { - return e.concat(n[t]) - }, [])) + : r({}, e, (((l = {})[t.name.value] = t), l)) + case 'FragmentSpread': + return e.hasOwnProperty(t.name.value) + ? e + : r({}, e, (((u = {})[t.name.value] = t), u)) + case 'InlineFragment': + if (e.__fragment) { + var i = e.__fragment + return r({}, e, { + __fragment: o(i.typeCondition.name.value, [i, t]), + }) + } + return r({}, e, { __fragment: t }) + default: + return e + } + }, {})), + Object.keys(n).reduce(function(e, t) { + return e.concat(n[t]) + }, [])) return { kind: l.Kind.INLINE_FRAGMENT, - typeCondition: { kind: l.Kind.NAMED_TYPE, name: { kind: l.Kind.NAME, value: e } }, + typeCondition: { + kind: l.Kind.NAMED_TYPE, + name: { kind: l.Kind.NAME, value: e }, + }, selectionSet: { kind: l.Kind.SELECTION_SET, selections: i }, } } @@ -20112,8 +23862,14 @@ and limitations under the License. s = !!l && !!l.enumerable, c = !!l && !!l.noTargetGet 'function' == typeof n && - ('string' != typeof t || i(n, 'name') || u(n, 'name', t), (d(n).source = f.join('string' == typeof t ? t : ''))), - e !== r ? (a ? !c && e[t] && (s = !0) : delete e[t], s ? (e[t] = n) : u(e, t, n)) : s ? (e[t] = n) : o(t, n) + ('string' != typeof t || i(n, 'name') || u(n, 'name', t), + (d(n).source = f.join('string' == typeof t ? t : ''))), + e !== r + ? (a ? !c && e[t] && (s = !0) : delete e[t], + s ? (e[t] = n) : u(e, t, n)) + : s + ? (e[t] = n) + : o(t, n) })(Function.prototype, 'toString', function() { return ('function' == typeof this && c(this).source) || a.call(this) }) @@ -20171,7 +23927,8 @@ and limitations under the License. getterFor: function(e) { return function(t) { var n - if (!a(t) || (n = l(t)).type !== e) throw TypeError('Incompatible receiver, ' + e + ' required') + if (!a(t) || (n = l(t)).type !== e) + throw TypeError('Incompatible receiver, ' + e + ' required') return n } }, @@ -20181,7 +23938,12 @@ and limitations under the License. var n = 0, r = Math.random() e.exports = function(e) { - return 'Symbol(' + String(void 0 === e ? '' : e) + ')_' + (++n + r).toString(36) + return ( + 'Symbol(' + + String(void 0 === e ? '' : e) + + ')_' + + (++n + r).toString(36) + ) } }, function(e, t, n) { @@ -20191,7 +23953,9 @@ and limitations under the License. return 'function' == typeof e ? e : void 0 } e.exports = function(e, t) { - return arguments.length < 2 ? u(r[e]) || u(l[e]) : (r[e] && r[e][t]) || (l[e] && l[e][t]) + return arguments.length < 2 + ? u(r[e]) || u(l[e]) + : (r[e] && r[e][t]) || (l[e] && l[e][t]) } }, function(e, t, n) { @@ -20220,9 +23984,11 @@ and limitations under the License. i = function(e, t, n, o, a, s, c, d) { for (var f, p = a, h = 0, m = !!c && u(c, d, 3); h < o; ) { if (h in n) { - if (((f = m ? m(n[h], h, t) : n[h]), s > 0 && r(f))) p = i(e, t, f, l(f.length), p, s - 1) - 1 + if (((f = m ? m(n[h], h, t) : n[h]), s > 0 && r(f))) + p = i(e, t, f, l(f.length), p, s - 1) - 1 else { - if (p >= 9007199254740991) throw TypeError('Exceed the acceptable array length') + if (p >= 9007199254740991) + throw TypeError('Exceed the acceptable array length') e[p] = f } p++ @@ -20243,7 +24009,8 @@ and limitations under the License. }, function(e, t) { e.exports = function(e) { - if ('function' != typeof e) throw TypeError(String(e) + ' is not a function') + if ('function' != typeof e) + throw TypeError(String(e) + ' is not a function') return e } }, @@ -20255,7 +24022,8 @@ and limitations under the License. var n return ( l(e) && - ('function' != typeof (n = e.constructor) || (n !== Array && !l(n.prototype)) + ('function' != typeof (n = e.constructor) || + (n !== Array && !l(n.prototype)) ? r(n) && null === (n = n[u]) && (n = void 0) : (n = void 0)), new (void 0 === n ? Array : n)(0 === t ? 0 : t) @@ -20294,7 +24062,12 @@ and limitations under the License. function(e, t) { var n return ( - null !== e ? ((c.prototype = r(e)), (n = new c()), (c.prototype = null), (n[s] = e)) : (n = d()), + null !== e + ? ((c.prototype = r(e)), + (n = new c()), + (c.prototype = null), + (n[s] = e)) + : (n = d()), void 0 === t ? n : l(n, t) ) }), @@ -20320,7 +24093,10 @@ and limitations under the License. c = n(137), d = s('iterator'), f = !1 - ;[].keys && ('next' in (u = [].keys()) ? (l = i(i(u))) !== Object.prototype && (r = l) : (f = !0)), + ;[].keys && + ('next' in (u = [].keys()) + ? (l = i(i(u))) !== Object.prototype && (r = l) + : (f = !0)), null == r && (r = {}), c || a(r, d) || @@ -20343,7 +24119,8 @@ and limitations under the License. (e = l(e)), r(e, o) ? e[o] - : 'function' == typeof e.constructor && e instanceof e.constructor + : 'function' == typeof e.constructor && + e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? a @@ -20356,7 +24133,9 @@ and limitations under the License. l = n(55), u = n(56)('toStringTag') e.exports = function(e, t, n) { - e && !l((e = n ? e : e.prototype), u) && r(e, u, { configurable: !0, value: t }) + e && + !l((e = n ? e : e.prototype), u) && + r(e, u, { configurable: !0, value: t }) } }, function(e, t, n) { @@ -20413,10 +24192,16 @@ and limitations under the License. } function s() {} function c(e) { - ;(this.head = e.head), (this.tail = e.tail), (this.len = e.len), (this.next = e.states) + ;(this.head = e.head), + (this.tail = e.tail), + (this.len = e.len), + (this.next = e.states) } function d() { - ;(this.len = 0), (this.head = new a(s, 0, 0)), (this.tail = this.head), (this.states = null) + ;(this.len = 0), + (this.head = new a(s, 0, 0)), + (this.tail = this.head), + (this.states = null) } function f(e, t, n) { t[n] = 255 & e @@ -20425,12 +24210,18 @@ and limitations under the License. ;(this.len = e), (this.next = void 0), (this.val = t) } function h(e, t, n) { - for (; e.hi; ) (t[n++] = (127 & e.lo) | 128), (e.lo = ((e.lo >>> 7) | (e.hi << 25)) >>> 0), (e.hi >>>= 7) + for (; e.hi; ) + (t[n++] = (127 & e.lo) | 128), + (e.lo = ((e.lo >>> 7) | (e.hi << 25)) >>> 0), + (e.hi >>>= 7) for (; e.lo > 127; ) (t[n++] = (127 & e.lo) | 128), (e.lo = e.lo >>> 7) t[n++] = e.lo } function m(e, t, n) { - ;(t[n] = 255 & e), (t[n + 1] = (e >>> 8) & 255), (t[n + 2] = (e >>> 16) & 255), (t[n + 3] = e >>> 24) + ;(t[n] = 255 & e), + (t[n + 1] = (e >>> 8) & 255), + (t[n + 2] = (e >>> 16) & 255), + (t[n + 3] = e >>> 24) } ;(d.create = l.Buffer ? function() { @@ -20444,9 +24235,12 @@ and limitations under the License. (d.alloc = function(e) { return new l.Array(e) }), - l.Array !== Array && (d.alloc = l.pool(d.alloc, l.Array.prototype.subarray)), + l.Array !== Array && + (d.alloc = l.pool(d.alloc, l.Array.prototype.subarray)), (d.prototype._push = function(e, t, n) { - return (this.tail = this.tail.next = new a(e, t, n)), (this.len += t), this + return ( + (this.tail = this.tail.next = new a(e, t, n)), (this.len += t), this + ) }), (p.prototype = Object.create(a.prototype)), (p.prototype.fn = function(e, t, n) { @@ -20456,7 +24250,15 @@ and limitations under the License. (d.prototype.uint32 = function(e) { return ( (this.len += (this.tail = this.tail.next = new p( - (e >>>= 0) < 128 ? 1 : e < 16384 ? 2 : e < 2097152 ? 3 : e < 268435456 ? 4 : 5, + (e >>>= 0) < 128 + ? 1 + : e < 16384 + ? 2 + : e < 2097152 + ? 3 + : e < 268435456 + ? 4 + : 5, e, )).len), this @@ -20516,7 +24318,12 @@ and limitations under the License. return t ? this.uint32(t)._push(o.write, t, e) : this._push(f, 1, 0) }), (d.prototype.fork = function() { - return (this.states = new c(this)), (this.head = this.tail = new a(s, 0, 0)), (this.len = 0), this + return ( + (this.states = new c(this)), + (this.head = this.tail = new a(s, 0, 0)), + (this.len = 0), + this + ) }), (d.prototype.reset = function() { return ( @@ -20533,10 +24340,18 @@ and limitations under the License. var e = this.head, t = this.tail, n = this.len - return this.reset().uint32(n), n && ((this.tail.next = e.next), (this.tail = t), (this.len += n)), this + return ( + this.reset().uint32(n), + n && ((this.tail.next = e.next), (this.tail = t), (this.len += n)), + this + ) }), (d.prototype.finish = function() { - for (var e = this.head.next, t = this.constructor.alloc(this.len), n = 0; e; ) + for ( + var e = this.head.next, t = this.constructor.alloc(this.len), n = 0; + e; + + ) e.fn(e.val, t, n), (n += e.len), (e = e.next) return t }), @@ -20552,7 +24367,9 @@ and limitations under the License. u = l.LongBits, i = l.utf8 function o(e, t) { - return RangeError('index out of range: ' + e.pos + ' + ' + (t || 1) + ' > ' + e.len) + return RangeError( + 'index out of range: ' + e.pos + ' + ' + (t || 1) + ' > ' + e.len, + ) } function a(e) { ;(this.buf = e), (this.pos = 0), (this.len = e.length) @@ -20574,12 +24391,22 @@ and limitations under the License. if (!(this.len - this.pos > 4)) { for (; t < 3; ++t) { if (this.pos >= this.len) throw o(this) - if (((e.lo = (e.lo | ((127 & this.buf[this.pos]) << (7 * t))) >>> 0), this.buf[this.pos++] < 128)) return e + if ( + ((e.lo = (e.lo | ((127 & this.buf[this.pos]) << (7 * t))) >>> 0), + this.buf[this.pos++] < 128) + ) + return e } - return (e.lo = (e.lo | ((127 & this.buf[this.pos++]) << (7 * t))) >>> 0), e + return ( + (e.lo = (e.lo | ((127 & this.buf[this.pos++]) << (7 * t))) >>> 0), e + ) } for (; t < 4; ++t) - if (((e.lo = (e.lo | ((127 & this.buf[this.pos]) << (7 * t))) >>> 0), this.buf[this.pos++] < 128)) return e + if ( + ((e.lo = (e.lo | ((127 & this.buf[this.pos]) << (7 * t))) >>> 0), + this.buf[this.pos++] < 128) + ) + return e if ( ((e.lo = (e.lo | ((127 & this.buf[this.pos]) << 28)) >>> 0), (e.hi = (e.hi | ((127 & this.buf[this.pos]) >> 4)) >>> 0), @@ -20588,16 +24415,29 @@ and limitations under the License. return e if (((t = 0), this.len - this.pos > 4)) { for (; t < 5; ++t) - if (((e.hi = (e.hi | ((127 & this.buf[this.pos]) << (7 * t + 3))) >>> 0), this.buf[this.pos++] < 128)) return e + if ( + ((e.hi = + (e.hi | ((127 & this.buf[this.pos]) << (7 * t + 3))) >>> 0), + this.buf[this.pos++] < 128) + ) + return e } else for (; t < 5; ++t) { if (this.pos >= this.len) throw o(this) - if (((e.hi = (e.hi | ((127 & this.buf[this.pos]) << (7 * t + 3))) >>> 0), this.buf[this.pos++] < 128)) return e + if ( + ((e.hi = + (e.hi | ((127 & this.buf[this.pos]) << (7 * t + 3))) >>> 0), + this.buf[this.pos++] < 128) + ) + return e } throw Error('invalid varint encoding') } function f(e, t) { - return (e[t - 4] | (e[t - 3] << 8) | (e[t - 2] << 16) | (e[t - 1] << 24)) >>> 0 + return ( + (e[t - 4] | (e[t - 3] << 8) | (e[t - 2] << 16) | (e[t - 1] << 24)) >>> + 0 + ) } function p() { if (this.pos + 8 > this.len) throw o(this, 8) @@ -20610,17 +24450,40 @@ and limitations under the License. })(e) } : c), - (a.prototype._slice = l.Array.prototype.subarray || l.Array.prototype.slice), - (a.prototype.uint32 = ((s = 4294967295), - function() { - if (((s = (127 & this.buf[this.pos]) >>> 0), this.buf[this.pos++] < 128)) return s - if (((s = (s | ((127 & this.buf[this.pos]) << 7)) >>> 0), this.buf[this.pos++] < 128)) return s - if (((s = (s | ((127 & this.buf[this.pos]) << 14)) >>> 0), this.buf[this.pos++] < 128)) return s - if (((s = (s | ((127 & this.buf[this.pos]) << 21)) >>> 0), this.buf[this.pos++] < 128)) return s - if (((s = (s | ((15 & this.buf[this.pos]) << 28)) >>> 0), this.buf[this.pos++] < 128)) return s - if ((this.pos += 5) > this.len) throw ((this.pos = this.len), o(this, 10)) - return s - })), + (a.prototype._slice = + l.Array.prototype.subarray || l.Array.prototype.slice), + (a.prototype.uint32 = + ((s = 4294967295), + function() { + if ( + ((s = (127 & this.buf[this.pos]) >>> 0), + this.buf[this.pos++] < 128) + ) + return s + if ( + ((s = (s | ((127 & this.buf[this.pos]) << 7)) >>> 0), + this.buf[this.pos++] < 128) + ) + return s + if ( + ((s = (s | ((127 & this.buf[this.pos]) << 14)) >>> 0), + this.buf[this.pos++] < 128) + ) + return s + if ( + ((s = (s | ((127 & this.buf[this.pos]) << 21)) >>> 0), + this.buf[this.pos++] < 128) + ) + return s + if ( + ((s = (s | ((15 & this.buf[this.pos]) << 28)) >>> 0), + this.buf[this.pos++] < 128) + ) + return s + if ((this.pos += 5) > this.len) + throw ((this.pos = this.len), o(this, 10)) + return s + })), (a.prototype.int32 = function() { return 0 | this.uint32() }), @@ -20749,17 +24612,20 @@ and limitations under the License. startTiming() { if (this.startHrTime) throw u('startTiming called twice!') if (this.stopped) throw u('startTiming called after stopTiming!') - ;(this.trace.startTime = s(new Date())), (this.startHrTime = process.hrtime()) + ;(this.trace.startTime = s(new Date())), + (this.startHrTime = process.hrtime()) } stopTiming() { - if (!this.startHrTime) throw u('stopTiming called before startTiming!') + if (!this.startHrTime) + throw u('stopTiming called before startTiming!') if (this.stopped) throw u('stopTiming called twice!') ;(this.trace.durationNs = i(process.hrtime(this.startHrTime))), (this.trace.endTime = s(new Date())), (this.stopped = !0) } willResolveField(e) { - if (!this.startHrTime) throw u('willResolveField called before startTiming!') + if (!this.startHrTime) + throw u('willResolveField called before startTiming!') if (this.stopped) throw u('willResolveField called after stopTiming!') const t = e.path, n = this.newNode(t) @@ -20767,7 +24633,9 @@ and limitations under the License. (n.type = e.returnType.toString()), (n.parentType = e.parentType.toString()), (n.startTime = i(process.hrtime(this.startHrTime))), - 'string' == typeof t.key && t.key !== e.fieldName && (n.originalFieldName = e.fieldName), + 'string' == typeof t.key && + t.key !== e.fieldName && + (n.originalFieldName = e.fieldName), () => { n.endTime = i(process.hrtime(this.startHrTime)) } @@ -20783,7 +24651,10 @@ and limitations under the License. (function(e) { return new l.Trace.Error({ message: e.message, - location: (e.locations || []).map(({ line: e, column: t }) => new l.Trace.Location({ line: e, column: t })), + location: (e.locations || []).map( + ({ line: e, column: t }) => + new l.Trace.Location({ line: e, column: t }), + ), json: JSON.stringify(e), }) })(t), @@ -20791,12 +24662,19 @@ and limitations under the License. }) } addProtobufError(e, t) { - if (!this.startHrTime) throw u('addProtobufError called before startTiming!') + if (!this.startHrTime) + throw u('addProtobufError called before startTiming!') if (this.stopped) throw u('addProtobufError called after stopTiming!') let n = this.rootNode if (e) { const t = this.nodes.get(e.join('.')) - t ? (n = t) : console.warn(`Could not find node with path ${e.join('.')}; defaulting to put errors on root node.`) + t + ? (n = t) + : console.warn( + `Could not find node with path ${e.join( + '.', + )}; defaulting to put errors on root node.`, + ) } n.error.push(t) } @@ -20840,7 +24718,10 @@ and limitations under the License. function s(e) { const t = +e, n = t % 1e3 - return new l.google.protobuf.Timestamp({ seconds: (t - n) / 1e3, nanos: 1e6 * n }) + return new l.google.protobuf.Timestamp({ + seconds: (t - n) / 1e3, + nanos: 1e6 * n, + }) } }, function(e, t, n) { @@ -20889,7 +24770,9 @@ and limitations under the License. (u.prototype.push = function(e, t) { var n, r for ( - Buffer.isBuffer(e) || (e = new Buffer(e, 'binary')), r = e.length, this._bufpos = t || 0; + Buffer.isBuffer(e) || (e = new Buffer(e, 'binary')), + r = e.length, + this._bufpos = t || 0; n !== r && this.matches < this.maxMatches; ) @@ -20906,11 +24789,16 @@ and limitations under the License. a = this._lookbehind if (u < 0) { for (; u < 0 && u <= t - r; ) { - if ((c = this._sbmh_lookup_char(e, u + r - 1)) === i && this._sbmh_memcmp(e, u, r - 1)) + if ( + (c = this._sbmh_lookup_char(e, u + r - 1)) === i && + this._sbmh_memcmp(e, u, r - 1) + ) return ( (this._lookbehind_size = 0), ++this.matches, - u > -this._lookbehind_size ? this.emit('info', !0, a, 0, this._lookbehind_size + u) : this.emit('info', !0), + u > -this._lookbehind_size + ? this.emit('info', !0, a, 0, this._lookbehind_size + u) + : this.emit('info', !0), (this._bufpos = u + r), u + r ) @@ -20929,14 +24817,21 @@ and limitations under the License. t ) } - this.emit('info', !1, a, 0, this._lookbehind_size), (this._lookbehind_size = 0) + this.emit('info', !1, a, 0, this._lookbehind_size), + (this._lookbehind_size = 0) } for (u >= 0 && (u += this._bufpos); u <= t - r; ) { var c - if ((c = e[u + r - 1]) === i && e[u] === n[0] && l(n, 0, e, u, r - 1)) + if ( + (c = e[u + r - 1]) === i && + e[u] === n[0] && + l(n, 0, e, u, r - 1) + ) return ( ++this.matches, - u > 0 ? this.emit('info', !0, e, this._bufpos, u) : this.emit('info', !0), + u > 0 + ? this.emit('info', !0, e, this._bufpos, u) + : this.emit('info', !0), (this._bufpos = u + r), u + r ) @@ -20944,9 +24839,14 @@ and limitations under the License. } if (u < t) { for (; u < t && (e[u] !== n[0] || !l(e, u, n, 0, t - u)); ) ++u - u < t && (e.copy(a, 0, u, u + (t - u)), (this._lookbehind_size = t - u)) + u < t && + (e.copy(a, 0, u, u + (t - u)), (this._lookbehind_size = t - u)) } - return u > 0 && this.emit('info', !1, e, this._bufpos, u < t ? u : t), (this._bufpos = t), t + return ( + u > 0 && this.emit('info', !1, e, this._bufpos, u < t ? u : t), + (this._bufpos = t), + t + ) }), (u.prototype._sbmh_lookup_char = function(e, t) { return t < 0 ? this._lookbehind[this._lookbehind_size + t] : e[t] @@ -20973,7 +24873,14 @@ and limitations under the License. enumerable: !0, get: function() { var r = n() - return Object.defineProperty(e, t, { configurable: !0, enumerable: !0, value: r }), r + return ( + Object.defineProperty(e, t, { + configurable: !0, + enumerable: !0, + value: r, + }), + r + ) }, }) } @@ -20990,7 +24897,11 @@ and limitations under the License. (Error.stackTraceLimit = 2), Error.captureStackTrace(t) var l = t.stack.slice() - return (Error.prepareStackTrace = r), (Error.stackTraceLimit = e), l[0].toString ? u : n(580) + return ( + (Error.prepareStackTrace = r), + (Error.stackTraceLimit = e), + l[0].toString ? u : n(580) + ) }), l(e.exports, 'eventListenerCount', function() { return r.listenerCount || n(581) @@ -21039,39 +24950,53 @@ and limitations under the License. (this._sender = null), (this._socket = null), null !== e && - (Array.isArray(t) ? (t = t.join(', ')) : 'object' == typeof t && null !== t && ((n = t), (t = void 0)), + (Array.isArray(t) + ? (t = t.join(', ')) + : 'object' == typeof t && null !== t && ((n = t), (t = void 0)), function(e, t, n) { if ( - ((n = Object.assign({ protocolVersion: g[1], perMessageDeflate: !0 }, n, { - createConnection: void 0, - socketPath: void 0, - hostname: void 0, - protocol: void 0, - timeout: void 0, - method: void 0, - auth: void 0, - host: void 0, - path: void 0, - port: void 0, - })), + ((n = Object.assign( + { protocolVersion: g[1], perMessageDeflate: !0 }, + n, + { + createConnection: void 0, + socketPath: void 0, + hostname: void 0, + protocol: void 0, + timeout: void 0, + method: void 0, + auth: void 0, + host: void 0, + path: void 0, + port: void 0, + }, + )), -1 === g.indexOf(n.protocolVersion)) ) throw new RangeError( - `Unsupported protocol version: ${n.protocolVersion} ` + `(supported versions: ${g.join(', ')})`, + `Unsupported protocol version: ${n.protocolVersion} ` + + `(supported versions: ${g.join(', ')})`, ) var r ;(this._isServer = !1), - 'object' == typeof e && void 0 !== e.href ? ((r = e), (this.url = e.href)) : ((r = s.parse(e)), (this.url = e)) + 'object' == typeof e && void 0 !== e.href + ? ((r = e), (this.url = e.href)) + : ((r = s.parse(e)), (this.url = e)) const o = 'ws+unix:' === r.protocol - if (!(r.host || (o && r.pathname))) throw new Error(`Invalid URL: ${this.url}`) + if (!(r.host || (o && r.pathname))) + throw new Error(`Invalid URL: ${this.url}`) const a = 'wss:' === r.protocol || 'https:' === r.protocol, d = l.randomBytes(16).toString('base64'), h = a ? u : i, - m = r.search ? `${r.pathname || '/'}${r.search}` : r.pathname || '/' + m = r.search + ? `${r.pathname || '/'}${r.search}` + : r.pathname || '/' var y ;(n.createConnection = a ? w : T), (n.port = r.port || (a ? 443 : 80)), - (n.host = r.hostname.startsWith('[') ? r.hostname.slice(1, -1) : r.hostname), + (n.host = r.hostname.startsWith('[') + ? r.hostname.slice(1, -1) + : r.hostname), (n.headers = Object.assign( { 'Sec-WebSocket-Version': n.protocolVersion, @@ -21083,53 +25008,92 @@ and limitations under the License. )), (n.path = m), n.perMessageDeflate && - ((y = new c(!0 !== n.perMessageDeflate ? n.perMessageDeflate : {}, !1)), - (n.headers['Sec-WebSocket-Extensions'] = f.format({ [c.extensionName]: y.offer() }))) + ((y = new c( + !0 !== n.perMessageDeflate ? n.perMessageDeflate : {}, + !1, + )), + (n.headers['Sec-WebSocket-Extensions'] = f.format({ + [c.extensionName]: y.offer(), + }))) t && (n.headers['Sec-WebSocket-Protocol'] = t) n.origin && - (n.protocolVersion < 13 ? (n.headers['Sec-WebSocket-Origin'] = n.origin) : (n.headers.Origin = n.origin)) - r.auth ? (n.auth = r.auth) : (r.username || r.password) && (n.auth = `${r.username}:${r.password}`) + (n.protocolVersion < 13 + ? (n.headers['Sec-WebSocket-Origin'] = n.origin) + : (n.headers.Origin = n.origin)) + r.auth + ? (n.auth = r.auth) + : (r.username || r.password) && + (n.auth = `${r.username}:${r.password}`) if (o) { const e = m.split(':') - null == n.agent && process.versions.modules < 57 ? (n._socketPath = e[0]) : (n.socketPath = e[0]), + null == n.agent && process.versions.modules < 57 + ? (n._socketPath = e[0]) + : (n.socketPath = e[0]), (n.path = e[1]) } var _ = (this._req = h.get(n)) - n.handshakeTimeout && _.setTimeout(n.handshakeTimeout, () => O(this, _, 'Opening handshake has timed out')) + n.handshakeTimeout && + _.setTimeout(n.handshakeTimeout, () => + O(this, _, 'Opening handshake has timed out'), + ) _.on('error', (e) => { this._req.aborted || - ((_ = this._req = null), (this.readyState = b.CLOSING), this.emit('error', e), this.emitClose()) + ((_ = this._req = null), + (this.readyState = b.CLOSING), + this.emit('error', e), + this.emitClose()) }), _.on('response', (e) => { - this.emit('unexpected-response', _, e) || O(this, _, `Unexpected server response: ${e.statusCode}`) + this.emit('unexpected-response', _, e) || + O(this, _, `Unexpected server response: ${e.statusCode}`) }), _.on('upgrade', (e, n, r) => { - if ((this.emit('upgrade', e), this.readyState !== b.CONNECTING)) return + if ( + (this.emit('upgrade', e), + this.readyState !== b.CONNECTING) + ) + return _ = this._req = null const u = l .createHash('sha1') .update(d + p.GUID, 'binary') .digest('base64') - if (e.headers['sec-websocket-accept'] !== u) return void O(this, n, 'Invalid Sec-WebSocket-Accept header') + if (e.headers['sec-websocket-accept'] !== u) + return void O( + this, + n, + 'Invalid Sec-WebSocket-Accept header', + ) const i = e.headers['sec-websocket-protocol'], o = (t || '').split(/, */) var a if ( (!t && i - ? (a = 'Server sent a subprotocol but none was requested') + ? (a = + 'Server sent a subprotocol but none was requested') : t && !i ? (a = 'Server sent no subprotocol') - : i && -1 === o.indexOf(i) && (a = 'Server sent an invalid subprotocol'), + : i && + -1 === o.indexOf(i) && + (a = 'Server sent an invalid subprotocol'), a) ) O(this, n, a) else { if ((i && (this.protocol = i), y)) try { - const t = f.parse(e.headers['sec-websocket-extensions']) - t[c.extensionName] && (y.accept(t[c.extensionName]), (this._extensions[c.extensionName] = y)) + const t = f.parse( + e.headers['sec-websocket-extensions'], + ) + t[c.extensionName] && + (y.accept(t[c.extensionName]), + (this._extensions[c.extensionName] = y)) } catch (e) { - return void O(this, n, 'Invalid Sec-WebSocket-Extensions header') + return void O( + this, + n, + 'Invalid Sec-WebSocket-Extensions header', + ) } this.setSocket(n, r, 0) } @@ -21152,10 +25116,14 @@ and limitations under the License. return this._binaryType } set binaryType(e) { - p.BINARY_TYPES.indexOf(e) < 0 || ((this._binaryType = e), this._receiver && (this._receiver._binaryType = e)) + p.BINARY_TYPES.indexOf(e) < 0 || + ((this._binaryType = e), + this._receiver && (this._receiver._binaryType = e)) } get bufferedAmount() { - return this._socket ? (this._socket.bufferSize || 0) + this._sender._bufferedBytes : 0 + return this._socket + ? (this._socket.bufferSize || 0) + this._sender._bufferedBytes + : 0 } get extensions() { return Object.keys(this._extensions).join() @@ -21186,7 +25154,8 @@ and limitations under the License. emitClose() { ;(this.readyState = b.CLOSED), this._socket - ? (this._extensions[c.extensionName] && this._extensions[c.extensionName].cleanup(), + ? (this._extensions[c.extensionName] && + this._extensions[c.extensionName].cleanup(), this._receiver.removeAllListeners(), this.emit('close', this._closeCode, this._closeMessage)) : this.emit('close', this._closeCode, this._closeMessage) @@ -21194,7 +25163,8 @@ and limitations under the License. close(e, t) { if (this.readyState !== b.CLOSED) { if (this.readyState === b.CONNECTING) { - const e = 'WebSocket was closed before the connection was established' + const e = + 'WebSocket was closed before the connection was established' return O(this, this._req, e) } this.readyState !== b.CLOSING @@ -21204,17 +25174,27 @@ and limitations under the License. ((this._closeFrameSent = !0), this._socket.writable && (this._closeFrameReceived && this._socket.end(), - (this._closeTimer = setTimeout(this._socket.destroy.bind(this._socket), v)))) + (this._closeTimer = setTimeout( + this._socket.destroy.bind(this._socket), + v, + )))) })) - : this._closeFrameSent && this._closeFrameReceived && this._socket.end() + : this._closeFrameSent && + this._closeFrameReceived && + this._socket.end() } } ping(e, t, n) { if ( - ('function' == typeof e ? ((n = e), (e = t = void 0)) : 'function' == typeof t && ((n = t), (t = void 0)), + ('function' == typeof e + ? ((n = e), (e = t = void 0)) + : 'function' == typeof t && ((n = t), (t = void 0)), this.readyState !== b.OPEN) ) { - const e = new Error(`WebSocket is not open: readyState ${this.readyState} ` + `(${y[this.readyState]})`) + const e = new Error( + `WebSocket is not open: readyState ${this.readyState} ` + + `(${y[this.readyState]})`, + ) if (n) return n(e) throw e } @@ -21224,10 +25204,15 @@ and limitations under the License. } pong(e, t, n) { if ( - ('function' == typeof e ? ((n = e), (e = t = void 0)) : 'function' == typeof t && ((n = t), (t = void 0)), + ('function' == typeof e + ? ((n = e), (e = t = void 0)) + : 'function' == typeof t && ((n = t), (t = void 0)), this.readyState !== b.OPEN) ) { - const e = new Error(`WebSocket is not open: readyState ${this.readyState} ` + `(${y[this.readyState]})`) + const e = new Error( + `WebSocket is not open: readyState ${this.readyState} ` + + `(${y[this.readyState]})`, + ) if (n) return n(e) throw e } @@ -21236,22 +25221,39 @@ and limitations under the License. this._sender.pong(e || p.EMPTY_BUFFER, t, n) } send(e, t, n) { - if (('function' == typeof t && ((n = t), (t = {})), this.readyState !== b.OPEN)) { - const e = new Error(`WebSocket is not open: readyState ${this.readyState} ` + `(${y[this.readyState]})`) + if ( + ('function' == typeof t && ((n = t), (t = {})), + this.readyState !== b.OPEN) + ) { + const e = new Error( + `WebSocket is not open: readyState ${this.readyState} ` + + `(${y[this.readyState]})`, + ) if (n) return n(e) throw e } 'number' == typeof e && (e = e.toString()) - const r = Object.assign({ binary: 'string' != typeof e, mask: !this._isServer, compress: !0, fin: !0 }, t) - this._extensions[c.extensionName] || (r.compress = !1), this._sender.send(e || p.EMPTY_BUFFER, r, n) + const r = Object.assign( + { + binary: 'string' != typeof e, + mask: !this._isServer, + compress: !0, + fin: !0, + }, + t, + ) + this._extensions[c.extensionName] || (r.compress = !1), + this._sender.send(e || p.EMPTY_BUFFER, r, n) } terminate() { if (this.readyState !== b.CLOSED) { if (this.readyState === b.CONNECTING) { - const e = 'WebSocket was closed before the connection was established' + const e = + 'WebSocket was closed before the connection was established' return O(this, this._req, e) } - this._socket && ((this.readyState = b.CLOSING), this._socket.destroy()) + this._socket && + ((this.readyState = b.CLOSING), this._socket.destroy()) } } } @@ -21259,15 +25261,23 @@ and limitations under the License. return (e.path = e.socketPath || e._socketPath || void 0), o.connect(e) } function w(e) { - return (e.path = e.socketPath || e._socketPath || void 0), (e.servername = e.servername || e.host), a.connect(e) + return ( + (e.path = e.socketPath || e._socketPath || void 0), + (e.servername = e.servername || e.host), + a.connect(e) + ) } function O(e, t, n) { e.readyState = b.CLOSING const r = new Error(n) Error.captureStackTrace(r, O), t.setHeader - ? (t.abort(), t.once('abort', e.emitClose.bind(e)), e.emit('error', r)) - : (t.destroy(r), t.once('error', e.emit.bind(e, 'error')), t.once('close', e.emitClose.bind(e))) + ? (t.abort(), + t.once('abort', e.emitClose.bind(e)), + e.emit('error', r)) + : (t.destroy(r), + t.once('error', e.emit.bind(e, 'error')), + t.once('close', e.emitClose.bind(e))) } function D(e, t) { const n = this[_] @@ -21312,7 +25322,8 @@ and limitations under the License. this.removeListener('data', N), (this[_] = void 0), clearTimeout(e._closeTimer), - e._receiver._writableState.finished || e._receiver._writableState.errorEmitted + e._receiver._writableState.finished || + e._receiver._writableState.errorEmitted ? e.emitClose() : (e._receiver.on('error', M), e._receiver.on('finish', M)) } @@ -21325,7 +25336,9 @@ and limitations under the License. } function P() { const e = this[_] - this.removeListener('error', P), this.on('error', p.NOOP), e && ((e.readyState = b.CLOSING), this.destroy()) + this.removeListener('error', P), + this.on('error', p.NOOP), + e && ((e.readyState = b.CLOSING), this.destroy()) } y.forEach((e, t) => { b[y[t]] = t @@ -21334,11 +25347,13 @@ and limitations under the License. Object.defineProperty(b.prototype, `on${e}`, { get() { const t = this.listeners(e) - for (var n = 0; n < t.length; n++) if (t[n]._listener) return t[n]._listener + for (var n = 0; n < t.length; n++) + if (t[n]._listener) return t[n]._listener }, set(t) { const n = this.listeners(e) - for (var r = 0; r < n.length; r++) n[r]._listener && this.removeListener(e, n[r]) + for (var r = 0; r < n.length; r++) + n[r]._listener && this.removeListener(e, n[r]) this.addEventListener(e, t) }, }) @@ -21495,7 +25510,12 @@ and limitations under the License. .concat( Object.keys(e).map((t) => { var n = e[t] - return Array.isArray(n) || (n = [n]), n.map((e) => (!0 === e ? t : `${t}=${e}`)).join('; ') + return ( + Array.isArray(n) || (n = [n]), + n + .map((e) => (!0 === e ? t : `${t}=${e}`)) + .join('; ') + ) }), ) .join('; '), @@ -21508,15 +25528,21 @@ and limitations under the License. parse: function(e) { const t = {} if (void 0 === e || '' === e) return t - for (var n, u, i = {}, o = !1, a = !1, s = !1, c = -1, d = -1, f = 0; f < e.length; f++) { + for ( + var n, u, i = {}, o = !1, a = !1, s = !1, c = -1, d = -1, f = 0; + f < e.length; + f++ + ) { const h = e.charCodeAt(f) if (void 0 === n) if (-1 === d && 1 === r[h]) -1 === c && (c = f) else if (32 === h || 9 === h) -1 === d && -1 !== c && (d = f) else { - if (59 !== h && 44 !== h) throw new SyntaxError(`Unexpected character at index ${f}`) + if (59 !== h && 44 !== h) + throw new SyntaxError(`Unexpected character at index ${f}`) { - if (-1 === c) throw new SyntaxError(`Unexpected character at index ${f}`) + if (-1 === c) + throw new SyntaxError(`Unexpected character at index ${f}`) ;-1 === d && (d = f) const r = e.slice(c, d) 44 === h ? (l(t, r, i), (i = {})) : (n = r), (c = d = -1) @@ -21526,27 +25552,36 @@ and limitations under the License. if (-1 === d && 1 === r[h]) -1 === c && (c = f) else if (32 === h || 9 === h) -1 === d && -1 !== c && (d = f) else if (59 === h || 44 === h) { - if (-1 === c) throw new SyntaxError(`Unexpected character at index ${f}`) - ;-1 === d && (d = f), l(i, e.slice(c, d), !0), 44 === h && (l(t, n, i), (i = {}), (n = void 0)), (c = d = -1) + if (-1 === c) + throw new SyntaxError(`Unexpected character at index ${f}`) + ;-1 === d && (d = f), + l(i, e.slice(c, d), !0), + 44 === h && (l(t, n, i), (i = {}), (n = void 0)), + (c = d = -1) } else { - if (61 !== h || -1 === c || -1 !== d) throw new SyntaxError(`Unexpected character at index ${f}`) + if (61 !== h || -1 === c || -1 !== d) + throw new SyntaxError(`Unexpected character at index ${f}`) ;(u = e.slice(c, f)), (c = d = -1) } else if (a) { - if (1 !== r[h]) throw new SyntaxError(`Unexpected character at index ${f}`) + if (1 !== r[h]) + throw new SyntaxError(`Unexpected character at index ${f}`) ;-1 === c ? (c = f) : o || (o = !0), (a = !1) } else if (s) if (1 === r[h]) -1 === c && (c = f) else if (34 === h && -1 !== c) (s = !1), (d = f) else { - if (92 !== h) throw new SyntaxError(`Unexpected character at index ${f}`) + if (92 !== h) + throw new SyntaxError(`Unexpected character at index ${f}`) a = !0 } else if (34 === h && 61 === e.charCodeAt(f - 1)) s = !0 else if (-1 === d && 1 === r[h]) -1 === c && (c = f) else if (-1 === c || (32 !== h && 9 !== h)) { - if (59 !== h && 44 !== h) throw new SyntaxError(`Unexpected character at index ${f}`) - if (-1 === c) throw new SyntaxError(`Unexpected character at index ${f}`) + if (59 !== h && 44 !== h) + throw new SyntaxError(`Unexpected character at index ${f}`) + if (-1 === c) + throw new SyntaxError(`Unexpected character at index ${f}`) ;-1 === d && (d = f) var p = e.slice(c, d) o && ((p = p.replace(/\\/g, '')), (o = !1)), @@ -21559,7 +25594,15 @@ and limitations under the License. if (-1 === c || s) throw new SyntaxError('Unexpected end of input') ;-1 === d && (d = f) const h = e.slice(c, d) - return void 0 === n ? l(t, h, {}) : (void 0 === u ? l(i, h, !0) : l(i, u, o ? h.replace(/\\/g, '') : h), l(t, n, i)), t + return ( + void 0 === n + ? l(t, h, {}) + : (void 0 === u + ? l(i, h, !0) + : l(i, u, o ? h.replace(/\\/g, '') : h), + l(t, n, i)), + t + ) }, } }, @@ -21581,7 +25624,11 @@ and limitations under the License. return Error.captureStackTrace(l, h), (l[o.kStatusCode] = r), l } function m(e, t) { - return 1 === e.length ? e[0] : e.length > 1 ? u.concat(e, t) : o.EMPTY_BUFFER + return 1 === e.length + ? e[0] + : e.length > 1 + ? u.concat(e, t) + : o.EMPTY_BUFFER } e.exports = class extends r.Writable { constructor(e, t, n) { @@ -21607,10 +25654,13 @@ and limitations under the License. } _write(e, t, n) { if (8 === this._opcode) return n() - ;(this._bufferedBytes += e.length), this._buffers.push(e), this.startLoop(n) + ;(this._bufferedBytes += e.length), + this._buffers.push(e), + this.startLoop(n) } consume(e) { - if (((this._bufferedBytes -= e), e === this._buffers[0].length)) return this._buffers.shift() + if (((this._bufferedBytes -= e), e === this._buffers[0].length)) + return this._buffers.shift() if (e < this._buffers[0].length) { const t = this._buffers[0] return (this._buffers[0] = t.slice(e)), t.slice(0, e) @@ -21620,7 +25670,8 @@ and limitations under the License. const n = this._buffers[0] e >= n.length ? this._buffers.shift().copy(t, t.length - e) - : (n.copy(t, t.length - e, 0, e), (this._buffers[0] = n.slice(e))), + : (n.copy(t, t.length - e, 0, e), + (this._buffers[0] = n.slice(e))), (e -= n.length) } while (e > 0) return t @@ -21654,28 +25705,62 @@ and limitations under the License. getInfo() { if (this._bufferedBytes < 2) return void (this._loop = !1) const e = this.consume(2) - if (0 != (48 & e[0])) return (this._loop = !1), h(RangeError, 'RSV2 and RSV3 must be clear', !0, 1002) + if (0 != (48 & e[0])) + return ( + (this._loop = !1), + h(RangeError, 'RSV2 and RSV3 must be clear', !0, 1002) + ) const t = 64 == (64 & e[0]) - if (t && !this._extensions[l.extensionName]) return (this._loop = !1), h(RangeError, 'RSV1 must be clear', !0, 1002) + if (t && !this._extensions[l.extensionName]) + return ( + (this._loop = !1), h(RangeError, 'RSV1 must be clear', !0, 1002) + ) if ( ((this._fin = 128 == (128 & e[0])), (this._opcode = 15 & e[0]), (this._payloadLength = 127 & e[1]), 0 === this._opcode) ) { - if (t) return (this._loop = !1), h(RangeError, 'RSV1 must be clear', !0, 1002) - if (!this._fragmented) return (this._loop = !1), h(RangeError, 'invalid opcode 0', !0, 1002) + if (t) + return ( + (this._loop = !1), h(RangeError, 'RSV1 must be clear', !0, 1002) + ) + if (!this._fragmented) + return ( + (this._loop = !1), h(RangeError, 'invalid opcode 0', !0, 1002) + ) this._opcode = this._fragmented } else if (1 === this._opcode || 2 === this._opcode) { - if (this._fragmented) return (this._loop = !1), h(RangeError, `invalid opcode ${this._opcode}`, !0, 1002) + if (this._fragmented) + return ( + (this._loop = !1), + h(RangeError, `invalid opcode ${this._opcode}`, !0, 1002) + ) this._compressed = t } else { if (!(this._opcode > 7 && this._opcode < 11)) - return (this._loop = !1), h(RangeError, `invalid opcode ${this._opcode}`, !0, 1002) - if (!this._fin) return (this._loop = !1), h(RangeError, 'FIN must be set', !0, 1002) - if (t) return (this._loop = !1), h(RangeError, 'RSV1 must be clear', !0, 1002) + return ( + (this._loop = !1), + h(RangeError, `invalid opcode ${this._opcode}`, !0, 1002) + ) + if (!this._fin) + return ( + (this._loop = !1), h(RangeError, 'FIN must be set', !0, 1002) + ) + if (t) + return ( + (this._loop = !1), h(RangeError, 'RSV1 must be clear', !0, 1002) + ) if (this._payloadLength > 125) - return (this._loop = !1), h(RangeError, `invalid payload length ${this._payloadLength}`, !0, 1002) + return ( + (this._loop = !1), + h( + RangeError, + `invalid payload length ${this._payloadLength}`, + !0, + 1002, + ) + ) } if ( (this._fin || this._fragmented || (this._fragmented = this._opcode), @@ -21689,7 +25774,11 @@ and limitations under the License. } } getPayloadLength16() { - if (!(this._bufferedBytes < 2)) return (this._payloadLength = this.consume(2).readUInt16BE(0)), this.haveLength() + if (!(this._bufferedBytes < 2)) + return ( + (this._payloadLength = this.consume(2).readUInt16BE(0)), + this.haveLength() + ) this._loop = !1 } getPayloadLength64() { @@ -21697,8 +25786,15 @@ and limitations under the License. const e = this.consume(8), t = e.readUInt32BE(0) return t > Math.pow(2, 21) - 1 - ? ((this._loop = !1), h(RangeError, 'Unsupported WebSocket frame: payload length > 2^53 - 1', !1, 1009)) - : ((this._payloadLength = t * Math.pow(2, 32) + e.readUInt32BE(4)), this.haveLength()) + ? ((this._loop = !1), + h( + RangeError, + 'Unsupported WebSocket frame: payload length > 2^53 - 1', + !1, + 1009, + )) + : ((this._payloadLength = t * Math.pow(2, 32) + e.readUInt32BE(4)), + this.haveLength()) } haveLength() { if ( @@ -21707,29 +25803,42 @@ and limitations under the License. ((this._totalPayloadLength += this._payloadLength), this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) ) - return (this._loop = !1), h(RangeError, 'Max payload size exceeded', !1, 1009) + return ( + (this._loop = !1), + h(RangeError, 'Max payload size exceeded', !1, 1009) + ) this._masked ? (this._state = d) : (this._state = f) } getMask() { - this._bufferedBytes < 4 ? (this._loop = !1) : ((this._mask = this.consume(4)), (this._state = f)) + this._bufferedBytes < 4 + ? (this._loop = !1) + : ((this._mask = this.consume(4)), (this._state = f)) } getData(e) { var t = o.EMPTY_BUFFER if (this._payloadLength) { - if (this._bufferedBytes < this._payloadLength) return void (this._loop = !1) - ;(t = this.consume(this._payloadLength)), this._masked && u.unmask(t, this._mask) + if (this._bufferedBytes < this._payloadLength) + return void (this._loop = !1) + ;(t = this.consume(this._payloadLength)), + this._masked && u.unmask(t, this._mask) } return this._opcode > 7 ? this.controlMessage(t) : this._compressed ? ((this._state = p), void this.decompress(t, e)) - : (t.length && ((this._messageLength = this._totalPayloadLength), this._fragments.push(t)), this.dataMessage()) + : (t.length && + ((this._messageLength = this._totalPayloadLength), + this._fragments.push(t)), + this.dataMessage()) } decompress(e, t) { this._extensions[l.extensionName].decompress(e, this._fin, (e, n) => { if (e) return t(e) if (n.length) { - if (((this._messageLength += n.length), this._messageLength > this._maxPayload && this._maxPayload > 0)) + if ( + ((this._messageLength += n.length), + this._messageLength > this._maxPayload && this._maxPayload > 0) + ) return t(h(RangeError, 'Max payload size exceeded', !1, 1009)) this._fragments.push(n) } @@ -21754,14 +25863,19 @@ and limitations under the License. 'nodebuffer' === this._binaryType ? m(r, n) : 'arraybuffer' === this._binaryType - ? 0 === (t = m(r, n)).byteOffset && t.byteLength === t.buffer.byteLength + ? 0 === (t = m(r, n)).byteOffset && + t.byteLength === t.buffer.byteLength ? t.buffer : t.buffer.slice(t.byteOffset, t.byteOffset + t.byteLength) : r), this.emit('message', e) } else { const e = m(r, n) - if (!i.isValidUTF8(e)) return (this._loop = !1), h(Error, 'invalid UTF-8 sequence', !0, 1007) + if (!i.isValidUTF8(e)) + return ( + (this._loop = !1), + h(Error, 'invalid UTF-8 sequence', !0, 1007) + ) this.emit('message', e.toString()) } } @@ -21769,15 +25883,21 @@ and limitations under the License. this._state = a } controlMessage(e) { - if (8 !== this._opcode) 9 === this._opcode ? this.emit('ping', e) : this.emit('pong', e), (this._state = a) - else if (((this._loop = !1), 0 === e.length)) this.emit('conclude', 1005, ''), this.end() + if (8 !== this._opcode) + 9 === this._opcode ? this.emit('ping', e) : this.emit('pong', e), + (this._state = a) + else if (((this._loop = !1), 0 === e.length)) + this.emit('conclude', 1005, ''), this.end() else { - if (1 === e.length) return h(RangeError, 'invalid payload length 1', !0, 1002) + if (1 === e.length) + return h(RangeError, 'invalid payload length 1', !0, 1002) { const t = e.readUInt16BE(0) - if (!i.isValidStatusCode(t)) return h(RangeError, `invalid status code ${t}`, !0, 1002) + if (!i.isValidStatusCode(t)) + return h(RangeError, `invalid status code ${t}`, !0, 1002) const n = e.slice(2) - if (!i.isValidUTF8(n)) return h(Error, 'invalid UTF-8 sequence', !0, 1007) + if (!i.isValidUTF8(n)) + return h(Error, 'invalid UTF-8 sequence', !0, 1007) this.emit('conclude', t, n.toString()), this.end() } } @@ -21797,7 +25917,9 @@ and limitations under the License. } catch (e) { t.isValidUTF8 = () => !0 } - t.isValidStatusCode = (e) => (e >= 1e3 && e <= 1013 && 1004 !== e && 1005 !== e && 1006 !== e) || (e >= 3e3 && e <= 4999) + t.isValidStatusCode = (e) => + (e >= 1e3 && e <= 1013 && 1004 !== e && 1005 !== e && 1006 !== e) || + (e >= 3e3 && e <= 4999) }, function(e, t, n) { 'use strict' @@ -21820,12 +25942,17 @@ and limitations under the License. const n = e.length < 1024 || (t.mask && t.readOnly) var l = t.mask ? 6 : 2, i = e.length - e.length >= 65536 ? ((l += 8), (i = 127)) : e.length > 125 && ((l += 2), (i = 126)) + e.length >= 65536 + ? ((l += 8), (i = 127)) + : e.length > 125 && ((l += 2), (i = 126)) const o = Buffer.allocUnsafe(n ? e.length + l : l) if ( ((o[0] = t.fin ? 128 | t.opcode : t.opcode), t.rsv1 && (o[0] |= 64), - 126 === i ? o.writeUInt16BE(e.length, 2) : 127 === i && (o.writeUInt32BE(0, 2), o.writeUInt32BE(e.length, 6)), + 126 === i + ? o.writeUInt16BE(e.length, 2) + : 127 === i && + (o.writeUInt32BE(0, 2), o.writeUInt32BE(e.length, 6)), !t.mask) ) return (o[1] = i), n ? (e.copy(o, l), [o]) : [o, e] @@ -21836,7 +25963,9 @@ and limitations under the License. (o[l - 3] = a[1]), (o[l - 2] = a[2]), (o[l - 1] = a[3]), - n ? (u.mask(e, a, o, l, e.length), [o]) : (u.mask(e, a, e, 0, e.length), [o, e]) + n + ? (u.mask(e, a, o, l, e.length), [o]) + : (u.mask(e, a, e, 0, e.length), [o, e]) ) } close(e, t, n, r) { @@ -21844,15 +25973,25 @@ and limitations under the License. if (void 0 === e) l = o.EMPTY_BUFFER else { if ('number' != typeof e || !i.isValidStatusCode(e)) - throw new TypeError('First argument must be a valid error code number') + throw new TypeError( + 'First argument must be a valid error code number', + ) void 0 === t || '' === t ? (l = Buffer.allocUnsafe(2)).writeUInt16BE(e, 0) - : ((l = Buffer.allocUnsafe(2 + Buffer.byteLength(t))).writeUInt16BE(e, 0), l.write(t, 2)) + : ((l = Buffer.allocUnsafe( + 2 + Buffer.byteLength(t), + )).writeUInt16BE(e, 0), + l.write(t, 2)) } - this._deflating ? this.enqueue([this.doClose, l, n, r]) : this.doClose(l, n, r) + this._deflating + ? this.enqueue([this.doClose, l, n, r]) + : this.doClose(l, n, r) } doClose(e, t, n) { - this.sendFrame(a.frame(e, { fin: !0, rsv1: !1, opcode: 8, mask: t, readOnly: !1 }), n) + this.sendFrame( + a.frame(e, { fin: !0, rsv1: !1, opcode: 8, mask: t, readOnly: !1 }), + n, + ) } ping(e, t, n) { var r = !0 @@ -21862,10 +26001,15 @@ and limitations under the License. : ArrayBuffer.isView(e) ? (e = s(e)) : ((e = Buffer.from(e)), (r = !1))), - this._deflating ? this.enqueue([this.doPing, e, t, r, n]) : this.doPing(e, t, r, n) + this._deflating + ? this.enqueue([this.doPing, e, t, r, n]) + : this.doPing(e, t, r, n) } doPing(e, t, n, r) { - this.sendFrame(a.frame(e, { fin: !0, rsv1: !1, opcode: 9, mask: t, readOnly: n }), r) + this.sendFrame( + a.frame(e, { fin: !0, rsv1: !1, opcode: 9, mask: t, readOnly: n }), + r, + ) } pong(e, t, n) { var r = !0 @@ -21875,10 +26019,15 @@ and limitations under the License. : ArrayBuffer.isView(e) ? (e = s(e)) : ((e = Buffer.from(e)), (r = !1))), - this._deflating ? this.enqueue([this.doPong, e, t, r, n]) : this.doPong(e, t, r, n) + this._deflating + ? this.enqueue([this.doPong, e, t, r, n]) + : this.doPong(e, t, r, n) } doPong(e, t, n, r) { - this.sendFrame(a.frame(e, { fin: !0, rsv1: !1, opcode: 10, mask: t, readOnly: n }), r) + this.sendFrame( + a.frame(e, { fin: !0, rsv1: !1, opcode: 10, mask: t, readOnly: n }), + r, + ) } send(e, t, n) { var r = t.binary ? 2 : 1, @@ -21893,21 +26042,44 @@ and limitations under the License. const o = this._extensions[l.extensionName] if ( (this._firstFragment - ? ((this._firstFragment = !1), u && o && (u = e.length >= o._threshold), (this._compress = u)) + ? ((this._firstFragment = !1), + u && o && (u = e.length >= o._threshold), + (this._compress = u)) : ((u = !1), (r = 0)), t.fin && (this._firstFragment = !0), o) ) { - const l = { fin: t.fin, rsv1: u, opcode: r, mask: t.mask, readOnly: i } - this._deflating ? this.enqueue([this.dispatch, e, this._compress, l, n]) : this.dispatch(e, this._compress, l, n) - } else this.sendFrame(a.frame(e, { fin: t.fin, rsv1: !1, opcode: r, mask: t.mask, readOnly: i }), n) + const l = { + fin: t.fin, + rsv1: u, + opcode: r, + mask: t.mask, + readOnly: i, + } + this._deflating + ? this.enqueue([this.dispatch, e, this._compress, l, n]) + : this.dispatch(e, this._compress, l, n) + } else + this.sendFrame( + a.frame(e, { + fin: t.fin, + rsv1: !1, + opcode: r, + mask: t.mask, + readOnly: i, + }), + n, + ) } dispatch(e, t, n, r) { if (!t) return void this.sendFrame(a.frame(e, n), r) const u = this._extensions[l.extensionName] ;(this._deflating = !0), u.compress(e, n.fin, (e, t) => { - ;(n.readOnly = !1), this.sendFrame(a.frame(t, n), r), (this._deflating = !1), this.dequeue() + ;(n.readOnly = !1), + this.sendFrame(a.frame(t, n), r), + (this._deflating = !1), + this.dequeue() }) } dequeue() { @@ -21920,12 +26092,16 @@ and limitations under the License. ;(this._bufferedBytes += e[1].length), this._queue.push(e) } sendFrame(e, t) { - 2 === e.length ? (this._socket.write(e[0]), this._socket.write(e[1], t)) : this._socket.write(e[0], t) + 2 === e.length + ? (this._socket.write(e[0]), this._socket.write(e[1], t)) + : this._socket.write(e[0], t) } } function s(e) { const t = Buffer.from(e.buffer) - return e.byteLength !== e.buffer.byteLength ? t.slice(e.byteOffset, e.byteOffset + e.byteLength) : t + return e.byteLength !== e.buffer.byteLength + ? t.slice(e.byteOffset, e.byteOffset + e.byteLength) + : t } e.exports = a }, @@ -21933,7 +26109,12 @@ and limitations under the License. const r = n(615) e.exports = { isSpaceSeparator: (e) => r.Space_Separator.test(e), - isIdStartChar: (e) => (e >= 'a' && e <= 'z') || (e >= 'A' && e <= 'Z') || '$' === e || '_' === e || r.ID_Start.test(e), + isIdStartChar: (e) => + (e >= 'a' && e <= 'z') || + (e >= 'A' && e <= 'Z') || + '$' === e || + '_' === e || + r.ID_Start.test(e), isIdContinueChar: (e) => (e >= 'a' && e <= 'z') || (e >= 'A' && e <= 'Z') || @@ -21962,7 +26143,10 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { var n, r - ;(0, l.default)(e), 'object' === u(t) ? ((n = t.min || 0), (r = t.max)) : ((n = arguments[1]), (r = arguments[2])) + ;(0, l.default)(e), + 'object' === u(t) + ? ((n = t.min || 0), (r = t.max)) + : ((n = arguments[1]), (r = arguments[2])) var i = encodeURI(e).split(/%..|./).length - 1 return i >= n && (void 0 === r || i <= r) }) @@ -21975,7 +26159,10 @@ and limitations under the License. return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) @@ -21987,7 +26174,11 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { ;(0, l.default)(e) - var n = (t = t || {}).hasOwnProperty('allow_leading_zeroes') && !t.allow_leading_zeroes ? u : i, + var n = + (t = t || {}).hasOwnProperty('allow_leading_zeroes') && + !t.allow_leading_zeroes + ? u + : i, r = !t.hasOwnProperty('min') || e >= t.min, o = !t.hasOwnProperty('max') || e <= t.max, a = !t.hasOwnProperty('lt') || e < t.lt, @@ -22052,7 +26243,11 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { ;(0, l.default)(e) - for (var n = t ? new RegExp('['.concat(t, ']')) : /\s/, r = e.length - 1; r >= 0 && n.test(e[r]); r--); + for ( + var n = t ? new RegExp('['.concat(t, ']')) : /\s/, r = e.length - 1; + r >= 0 && n.test(e[r]); + r-- + ); return r < e.length ? e.substr(0, r + 1) : e }) var r, @@ -22063,7 +26258,10 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { - return (0, l.default)(e), e.replace(new RegExp('['.concat(t, ']+'), 'g'), '') + return ( + (0, l.default)(e), + e.replace(new RegExp('['.concat(t, ']+'), 'g'), '') + ) }) var r, l = (r = n(7)) && r.__esModule ? r : { default: r } @@ -22073,9 +26271,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('af', { - months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), - monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), - weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), + months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split( + '_', + ), + weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split( + '_', + ), weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), meridiemParse: /vm|nm/i, @@ -22128,18 +26332,92 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '١', 2: '٢', 3: '٣', 4: '٤', 5: '٥', 6: '٦', 7: '٧', 8: '٨', 9: '٩', 0: '٠' }, - n = { '١': '1', '٢': '2', '٣': '3', '٤': '4', '٥': '5', '٦': '6', '٧': '7', '٨': '8', '٩': '9', '٠': '0' }, + var t = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + n = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, r = function(e) { - return 0 === e ? 0 : 1 === e ? 1 : 2 === e ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 ? 4 : 5 + return 0 === e + ? 0 + : 1 === e + ? 1 + : 2 === e + ? 2 + : e % 100 >= 3 && e % 100 <= 10 + ? 3 + : e % 100 >= 11 + ? 4 + : 5 }, l = { - s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], - m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], - h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], - d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], - M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], - y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'], + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], }, u = function(e) { return function(t, n, u, i) { @@ -22148,11 +26426,26 @@ and limitations under the License. return 2 === o && (a = a[n ? 0 : 1]), a.replace(/%d/i, t) } }, - i = ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] + i = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ] e.defineLocale('ar', { months: i, monthsShort: i, - weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( + '_', + ), weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, @@ -22217,9 +26510,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ar-dz', { - months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_', + ), + monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_', + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( + '_', + ), weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'), weekdaysParseExact: !0, @@ -22263,9 +26562,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ar-kw', { - months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), - monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), - weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_', + ), + monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_', + ), + weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( + '_', + ), weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, @@ -22308,17 +26613,80 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6', 7: '7', 8: '8', 9: '9', 0: '0' }, + var t = { + 1: '1', + 2: '2', + 3: '3', + 4: '4', + 5: '5', + 6: '6', + 7: '7', + 8: '8', + 9: '9', + 0: '0', + }, n = function(e) { - return 0 === e ? 0 : 1 === e ? 1 : 2 === e ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 ? 4 : 5 + return 0 === e + ? 0 + : 1 === e + ? 1 + : 2 === e + ? 2 + : e % 100 >= 3 && e % 100 <= 10 + ? 3 + : e % 100 >= 11 + ? 4 + : 5 }, r = { - s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], - m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], - h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], - d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], - M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], - y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'], + s: [ + 'أقل من ثانية', + 'ثانية واحدة', + ['ثانيتان', 'ثانيتين'], + '%d ثوان', + '%d ثانية', + '%d ثانية', + ], + m: [ + 'أقل من دقيقة', + 'دقيقة واحدة', + ['دقيقتان', 'دقيقتين'], + '%d دقائق', + '%d دقيقة', + '%d دقيقة', + ], + h: [ + 'أقل من ساعة', + 'ساعة واحدة', + ['ساعتان', 'ساعتين'], + '%d ساعات', + '%d ساعة', + '%d ساعة', + ], + d: [ + 'أقل من يوم', + 'يوم واحد', + ['يومان', 'يومين'], + '%d أيام', + '%d يومًا', + '%d يوم', + ], + M: [ + 'أقل من شهر', + 'شهر واحد', + ['شهران', 'شهرين'], + '%d أشهر', + '%d شهرا', + '%d شهر', + ], + y: [ + 'أقل من عام', + 'عام واحد', + ['عامان', 'عامين'], + '%d أعوام', + '%d عامًا', + '%d عام', + ], }, l = function(e) { return function(t, l, u, i) { @@ -22327,11 +26695,26 @@ and limitations under the License. return 2 === o && (a = a[l ? 0 : 1]), a.replace(/%d/i, t) } }, - u = ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'] + u = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر', + ] e.defineLocale('ar-ly', { months: u, monthsShort: u, - weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( + '_', + ), weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, @@ -22392,9 +26775,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ar-ma', { - months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), - monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), - weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_', + ), + monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( + '_', + ), + weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( + '_', + ), weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, @@ -22437,12 +26826,40 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '١', 2: '٢', 3: '٣', 4: '٤', 5: '٥', 6: '٦', 7: '٧', 8: '٨', 9: '٩', 0: '٠' }, - n = { '١': '1', '٢': '2', '٣': '3', '٤': '4', '٥': '5', '٦': '6', '٧': '7', '٨': '8', '٩': '9', '٠': '0' } + var t = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + n = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + } e.defineLocale('ar-sa', { - months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_', + ), + monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_', + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( + '_', + ), weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, @@ -22507,9 +26924,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ar-tn', { - months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_', + ), + monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( + '_', + ), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( + '_', + ), weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, @@ -22573,9 +26996,15 @@ and limitations under the License. 90: '-ıncı', } e.defineLocale('az', { - months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), - monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), - weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'), + months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split( + '_', + ), + monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split( + '_', + ), + weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split( + '_', + ), weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), weekdaysParseExact: !0, @@ -22616,7 +27045,13 @@ and limitations under the License. return /^(gündüz|axşam)$/.test(e) }, meridiem: function(e, t, n) { - return e < 4 ? 'gecə' : e < 12 ? 'səhər' : e < 17 ? 'gündüz' : 'axşam' + return e < 4 + ? 'gecə' + : e < 12 + ? 'səhər' + : e < 17 + ? 'gündüz' + : 'axşam' }, dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, ordinal: function(e) { @@ -22656,7 +27091,11 @@ and limitations under the License. ' ' + ((r = +e), (l = u[n].split('_')), - r % 10 == 1 && r % 100 != 11 ? l[0] : r % 10 >= 2 && r % 10 <= 4 && (r % 100 < 10 || r % 100 >= 20) ? l[1] : l[2]) + r % 10 == 1 && r % 100 != 11 + ? l[0] + : r % 10 >= 2 && r % 10 <= 4 && (r % 100 < 10 || r % 100 >= 20) + ? l[1] + : l[2]) } e.defineLocale('be', { months: { @@ -22667,10 +27106,16 @@ and limitations under the License. '_', ), }, - monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split( + '_', + ), weekdays: { - format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'), - standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'), + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split( + '_', + ), + standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split( + '_', + ), isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/, }, weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), @@ -22725,7 +27170,13 @@ and limitations under the License. return /^(дня|вечара)$/.test(e) }, meridiem: function(e, t, n) { - return e < 4 ? 'ночы' : e < 12 ? 'раніцы' : e < 17 ? 'дня' : 'вечара' + return e < 4 + ? 'ночы' + : e < 12 + ? 'раніцы' + : e < 17 + ? 'дня' + : 'вечара' }, dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/, ordinal: function(e, t) { @@ -22735,7 +27186,11 @@ and limitations under the License. case 'DDD': case 'w': case 'W': - return (e % 10 != 2 && e % 10 != 3) || e % 100 == 12 || e % 100 == 13 ? e + '-ы' : e + '-і' + return (e % 10 != 2 && e % 10 != 3) || + e % 100 == 12 || + e % 100 == 13 + ? e + '-ы' + : e + '-і' case 'D': return e + '-га' default: @@ -22750,9 +27205,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('bg', { - months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'), - monthsShort: 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), - weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'), + months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split( + '_', + ), + monthsShort: 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split( + '_', + ), + weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split( + '_', + ), weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), longDateFormat: { @@ -22828,7 +27289,9 @@ and limitations under the License. months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split( '_', ), - monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), + monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split( + '_', + ), weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), @@ -22871,12 +27334,40 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '১', 2: '২', 3: '৩', 4: '৪', 5: '৫', 6: '৬', 7: '৭', 8: '৮', 9: '৯', 0: '০' }, - n = { '১': '1', '২': '2', '৩': '3', '৪': '4', '৫': '5', '৬': '6', '৭': '7', '৮': '8', '৯': '9', '০': '0' } + var t = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০', + }, + n = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0', + } e.defineLocale('bn', { - months: 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), - monthsShort: 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), - weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'), + months: 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( + '_', + ), + monthsShort: 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split( + '_', + ), + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( + '_', + ), weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), weekdaysMin: 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), longDateFormat: { @@ -22923,10 +27414,25 @@ and limitations under the License. }, meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, meridiemHour: function(e, t) { - return 12 === e && (e = 0), ('রাত' === t && e >= 4) || ('দুপুর' === t && e < 5) || 'বিকাল' === t ? e + 12 : e + return ( + 12 === e && (e = 0), + ('রাত' === t && e >= 4) || + ('দুপুর' === t && e < 5) || + 'বিকাল' === t + ? e + 12 + : e + ) }, meridiem: function(e, t, n) { - return e < 4 ? 'রাত' : e < 10 ? 'সকাল' : e < 17 ? 'দুপুর' : e < 20 ? 'বিকাল' : 'রাত' + return e < 4 + ? 'রাত' + : e < 10 + ? 'সকাল' + : e < 17 + ? 'দুপুর' + : e < 20 + ? 'বিকাল' + : 'রাত' }, week: { dow: 0, doy: 6 }, }) @@ -22935,8 +27441,30 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '༡', 2: '༢', 3: '༣', 4: '༤', 5: '༥', 6: '༦', 7: '༧', 8: '༨', 9: '༩', 0: '༠' }, - n = { '༡': '1', '༢': '2', '༣': '3', '༤': '4', '༥': '5', '༦': '6', '༧': '7', '༨': '8', '༩': '9', '༠': '0' } + var t = { + 1: '༡', + 2: '༢', + 3: '༣', + 4: '༤', + 5: '༥', + 6: '༦', + 7: '༧', + 8: '༨', + 9: '༩', + 0: '༠', + }, + n = { + '༡': '1', + '༢': '2', + '༣': '3', + '༤': '4', + '༥': '5', + '༦': '6', + '༧': '7', + '༨': '8', + '༩': '9', + '༠': '0', + } e.defineLocale('bo', { months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( '_', @@ -22944,9 +27472,15 @@ and limitations under the License. monthsShort: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( '_', ), - weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'), - weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), - weekdaysMin: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), + weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split( + '_', + ), + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split( + '_', + ), + weekdaysMin: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split( + '_', + ), longDateFormat: { LT: 'A h:mm', LTS: 'A h:mm:ss', @@ -22991,10 +27525,25 @@ and limitations under the License. }, meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, meridiemHour: function(e, t) { - return 12 === e && (e = 0), ('མཚན་མོ' === t && e >= 4) || ('ཉིན་གུང' === t && e < 5) || 'དགོང་དག' === t ? e + 12 : e + return ( + 12 === e && (e = 0), + ('མཚན་མོ' === t && e >= 4) || + ('ཉིན་གུང' === t && e < 5) || + 'དགོང་དག' === t + ? e + 12 + : e + ) }, meridiem: function(e, t, n) { - return e < 4 ? 'མཚན་མོ' : e < 10 ? 'ཞོགས་ཀས' : e < 17 ? 'ཉིན་གུང' : e < 20 ? 'དགོང་དག' : 'མཚན་མོ' + return e < 4 + ? 'མཚན་མོ' + : e < 10 + ? 'ཞོགས་ཀས' + : e < 17 + ? 'ཉིན་གུང' + : e < 20 + ? 'དགོང་དག' + : 'མཚན་མོ' }, week: { dow: 0, doy: 6 }, }) @@ -23011,15 +27560,21 @@ and limitations under the License. return 2 === t ? (function(e) { var t = { m: 'v', b: 'v', d: 'z' } - return void 0 === t[e.charAt(0)] ? e : t[e.charAt(0)] + e.substring(1) + return void 0 === t[e.charAt(0)] + ? e + : t[e.charAt(0)] + e.substring(1) })(e) : e })({ mm: 'munutenn', MM: 'miz', dd: 'devezh' }[n], e) ) } e.defineLocale('br', { - months: "Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split('_'), - monthsShort: "Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split('_'), + months: "Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split( + '_', + ), + monthsShort: "Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split( + '_', + ), weekdays: "Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split('_'), weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), @@ -23087,28 +27642,59 @@ and limitations under the License. var r = e + ' ' switch (n) { case 'ss': - return (r += 1 === e ? 'sekunda' : 2 === e || 3 === e || 4 === e ? 'sekunde' : 'sekundi') + return (r += + 1 === e + ? 'sekunda' + : 2 === e || 3 === e || 4 === e + ? 'sekunde' + : 'sekundi') case 'm': return t ? 'jedna minuta' : 'jedne minute' case 'mm': - return (r += 1 === e ? 'minuta' : 2 === e || 3 === e || 4 === e ? 'minute' : 'minuta') + return (r += + 1 === e + ? 'minuta' + : 2 === e || 3 === e || 4 === e + ? 'minute' + : 'minuta') case 'h': return t ? 'jedan sat' : 'jednog sata' case 'hh': - return (r += 1 === e ? 'sat' : 2 === e || 3 === e || 4 === e ? 'sata' : 'sati') + return (r += + 1 === e + ? 'sat' + : 2 === e || 3 === e || 4 === e + ? 'sata' + : 'sati') case 'dd': return (r += 1 === e ? 'dan' : 'dana') case 'MM': - return (r += 1 === e ? 'mjesec' : 2 === e || 3 === e || 4 === e ? 'mjeseca' : 'mjeseci') + return (r += + 1 === e + ? 'mjesec' + : 2 === e || 3 === e || 4 === e + ? 'mjeseca' + : 'mjeseci') case 'yy': - return (r += 1 === e ? 'godina' : 2 === e || 3 === e || 4 === e ? 'godine' : 'godina') + return (r += + 1 === e + ? 'godina' + : 2 === e || 3 === e || 4 === e + ? 'godine' + : 'godina') } } e.defineLocale('bs', { - months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), - monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), + months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split( + '_', + ), + monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_', + ), weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), weekdaysParseExact: !0, @@ -23182,15 +27768,21 @@ and limitations under the License. 'use strict' e.defineLocale('ca', { months: { - standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'), + standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split( + '_', + ), format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split( '_', ), isFormat: /D[oD]?(\s)+MMMM/, }, - monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split('_'), + monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'), + weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split( + '_', + ), weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'), weekdaysParseExact: !0, @@ -23219,7 +27811,11 @@ and limitations under the License. return '[ahir a ' + (1 !== this.hours() ? 'les' : 'la') + '] LT' }, lastWeek: function() { - return '[el] dddd [passat a ' + (1 !== this.hours() ? 'les' : 'la') + '] LT' + return ( + '[el] dddd [passat a ' + + (1 !== this.hours() ? 'les' : 'la') + + '] LT' + ) }, sameElse: 'L', }, @@ -23241,7 +27837,16 @@ and limitations under the License. }, dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, ordinal: function(e, t) { - var n = 1 === e ? 'r' : 2 === e ? 'n' : 3 === e ? 'r' : 4 === e ? 't' : 'è' + var n = + 1 === e + ? 'r' + : 2 === e + ? 'n' + : 3 === e + ? 'r' + : 4 === e + ? 't' + : 'è' return ('w' !== t && 'W' !== t) || (n = 'a'), e + n }, week: { dow: 1, doy: 4 }, @@ -23251,7 +27856,9 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'), + var t = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split( + '_', + ), n = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), r = [ /^led/i, @@ -23277,7 +27884,9 @@ and limitations under the License. case 's': return t || r ? 'pár sekund' : 'pár sekundami' case 'ss': - return t || r ? l + (u(e) ? 'sekundy' : 'sekund') : l + 'sekundami' + return t || r + ? l + (u(e) ? 'sekundy' : 'sekund') + : l + 'sekundami' case 'm': return t ? 'minuta' : r ? 'minutu' : 'minutou' case 'mm': @@ -23310,7 +27919,9 @@ and limitations under the License. monthsParse: r, longMonthsParse: r, shortMonthsParse: r, - weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split( + '_', + ), weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'), longDateFormat: { @@ -23387,9 +27998,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('cv', { - months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'), - monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), - weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'), + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split( + '_', + ), + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split( + '_', + ), + weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split( + '_', + ), weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), longDateFormat: { @@ -23410,7 +28027,11 @@ and limitations under the License. }, relativeTime: { future: function(e) { - var t = /сехет$/i.exec(e) ? 'рен' : /ҫул$/i.exec(e) ? 'тан' : 'ран' + var t = /сехет$/i.exec(e) + ? 'рен' + : /ҫул$/i.exec(e) + ? 'тан' + : 'ран' return e + t }, past: '%s каялла', @@ -23437,9 +28058,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('cy', { - months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), - monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), - weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'), + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split( + '_', + ), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split( + '_', + ), + weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split( + '_', + ), weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), weekdaysParseExact: !0, @@ -23481,7 +28108,10 @@ and limitations under the License. n = '' return ( t > 20 - ? (n = 40 === t || 50 === t || 60 === t || 80 === t || 100 === t ? 'fed' : 'ain') + ? (n = + 40 === t || 50 === t || 60 === t || 80 === t || 100 === t + ? 'fed' + : 'ain') : t > 0 && (n = [ '', @@ -23517,9 +28147,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('da', { - months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), - monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), - weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split( + '_', + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split( + '_', + ), + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split( + '_', + ), weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'), weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), longDateFormat: { @@ -23577,10 +28213,16 @@ and limitations under the License. return t ? l[n][0] : l[n][1] } e.defineLocale('de', { - months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), - monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_', + ), + monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_', + ), weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), weekdaysParseExact: !0, @@ -23639,10 +28281,16 @@ and limitations under the License. return t ? l[n][0] : l[n][1] } e.defineLocale('de-at', { - months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), - monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_', + ), + monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_', + ), weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), weekdaysParseExact: !0, @@ -23701,10 +28349,16 @@ and limitations under the License. return t ? l[n][0] : l[n][1] } e.defineLocale('de-ch', { - months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), - monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_', + ), + monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( + '_', + ), weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), weekdaysParseExact: !0, @@ -23763,7 +28417,15 @@ and limitations under the License. 'ނޮވެމްބަރު', 'ޑިސެމްބަރު', ], - n = ['އާދިއްތަ', 'ހޯމަ', 'އަންގާރަ', 'ބުދަ', 'ބުރާސްފަތި', 'ހުކުރު', 'ހޮނިހިރު'] + n = [ + 'އާދިއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު', + ] e.defineLocale('dv', { months: t, monthsShort: t, @@ -23831,13 +28493,18 @@ and limitations under the License. ), months: function(e, t) { return e - ? 'string' == typeof t && /D/.test(t.substring(0, t.indexOf('MMMM'))) + ? 'string' == typeof t && + /D/.test(t.substring(0, t.indexOf('MMMM'))) ? this._monthsGenitiveEl[e.month()] : this._monthsNominativeEl[e.month()] : this._monthsNominativeEl }, - monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), - weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'), + monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split( + '_', + ), + weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split( + '_', + ), weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), meridiem: function(e, t, n) { @@ -23875,7 +28542,9 @@ and limitations under the License. r = this._calendarEl[e], l = t && t.hours() return ( - ((n = r) instanceof Function || '[object Function]' === Object.prototype.toString.call(n)) && (r = r.apply(t)), + ((n = r) instanceof Function || + '[object Function]' === Object.prototype.toString.call(n)) && + (r = r.apply(t)), r.replace('{}', l % 12 == 1 ? 'στη' : 'στις') ) }, @@ -23905,9 +28574,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('en-SG', { - months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( + '_', + ), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_', + ), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { @@ -23945,7 +28620,16 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 == ~~((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, week: { dow: 1, doy: 4 }, @@ -23956,9 +28640,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('en-au', { - months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( + '_', + ), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_', + ), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { @@ -23996,7 +28686,16 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 == ~~((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, week: { dow: 1, doy: 4 }, @@ -24007,9 +28706,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('en-ca', { - months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( + '_', + ), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_', + ), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { @@ -24047,7 +28752,16 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 == ~~((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, }) @@ -24057,9 +28771,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('en-gb', { - months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( + '_', + ), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_', + ), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { @@ -24097,7 +28817,16 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 == ~~((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, week: { dow: 1, doy: 4 }, @@ -24108,9 +28837,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('en-ie', { - months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( + '_', + ), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_', + ), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { @@ -24148,7 +28883,16 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 == ~~((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, week: { dow: 1, doy: 4 }, @@ -24159,9 +28903,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('en-il', { - months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( + '_', + ), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_', + ), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { @@ -24198,7 +28948,16 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 == ~~((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, }) @@ -24208,9 +28967,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('en-nz', { - months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( + '_', + ), + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_', + ), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { @@ -24248,7 +29013,16 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 == ~~((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, week: { dow: 1, doy: 4 }, @@ -24259,9 +29033,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('eo', { - months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'), - monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'), - weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'), + months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split( + '_', + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split( + '_', + ), + weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split( + '_', + ), weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), longDateFormat: { @@ -24312,12 +29092,29 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), + var t = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_', + ), n = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), - r = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i], + r = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], l = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i e.defineLocale('es', { - months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_', + ), monthsShort: function(e, r) { return e ? (/-MMM-/.test(r) ? n[e.month()] : t[e.month()]) : t }, @@ -24328,7 +29125,9 @@ and limitations under the License. monthsParse: r, longMonthsParse: r, shortMonthsParse: r, - weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split( + '_', + ), weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), weekdaysParseExact: !0, @@ -24354,7 +29153,11 @@ and limitations under the License. return '[ayer a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, lastWeek: function() { - return '[el] dddd [pasado a la' + (1 !== this.hours() ? 's' : '') + '] LT' + return ( + '[el] dddd [pasado a la' + + (1 !== this.hours() ? 's' : '') + + '] LT' + ) }, sameElse: 'L', }, @@ -24383,12 +29186,29 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), + var t = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_', + ), n = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), - r = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i], + r = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], l = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i e.defineLocale('es-do', { - months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_', + ), monthsShort: function(e, r) { return e ? (/-MMM-/.test(r) ? n[e.month()] : t[e.month()]) : t }, @@ -24399,7 +29219,9 @@ and limitations under the License. monthsParse: r, longMonthsParse: r, shortMonthsParse: r, - weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split( + '_', + ), weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), weekdaysParseExact: !0, @@ -24425,7 +29247,11 @@ and limitations under the License. return '[ayer a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, lastWeek: function() { - return '[el] dddd [pasado a la' + (1 !== this.hours() ? 's' : '') + '] LT' + return ( + '[el] dddd [pasado a la' + + (1 !== this.hours() ? 's' : '') + + '] LT' + ) }, sameElse: 'L', }, @@ -24454,12 +29280,29 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), + var t = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_', + ), n = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), - r = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i], + r = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], l = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i e.defineLocale('es-us', { - months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_', + ), monthsShort: function(e, r) { return e ? (/-MMM-/.test(r) ? n[e.month()] : t[e.month()]) : t }, @@ -24470,7 +29313,9 @@ and limitations under the License. monthsParse: r, longMonthsParse: r, shortMonthsParse: r, - weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split( + '_', + ), weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), weekdaysParseExact: !0, @@ -24496,7 +29341,11 @@ and limitations under the License. return '[ayer a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, lastWeek: function() { - return '[el] dddd [pasado a la' + (1 !== this.hours() ? 's' : '') + '] LT' + return ( + '[el] dddd [pasado a la' + + (1 !== this.hours() ? 's' : '') + + '] LT' + ) }, sameElse: 'L', }, @@ -24542,9 +29391,15 @@ and limitations under the License. return t ? (l[n][2] ? l[n][2] : l[n][1]) : r ? l[n][0] : l[n][1] } e.defineLocale('et', { - months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'), - monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), - weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'), + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split( + '_', + ), + monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split( + '_', + ), + weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split( + '_', + ), weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), longDateFormat: { @@ -24589,10 +29444,16 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('eu', { - months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'), - monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'), + months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split( + '_', + ), + monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'), + weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split( + '_', + ), weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), weekdaysParseExact: !0, @@ -24641,13 +29502,43 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '۱', 2: '۲', 3: '۳', 4: '۴', 5: '۵', 6: '۶', 7: '۷', 8: '۸', 9: '۹', 0: '۰' }, - n = { '۱': '1', '۲': '2', '۳': '3', '۴': '4', '۵': '5', '۶': '6', '۷': '7', '۸': '8', '۹': '9', '۰': '0' } + var t = { + 1: '۱', + 2: '۲', + 3: '۳', + 4: '۴', + 5: '۵', + 6: '۶', + 7: '۷', + 8: '۸', + 9: '۹', + 0: '۰', + }, + n = { + '۱': '1', + '۲': '2', + '۳': '3', + '۴': '4', + '۵': '5', + '۶': '6', + '۷': '7', + '۸': '8', + '۹': '9', + '۰': '0', + } e.defineLocale('fa', { - months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), - monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), - weekdays: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه'.split('_'), - weekdaysShort: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه'.split('_'), + months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_', + ), + monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( + '_', + ), + weekdays: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه'.split( + '_', + ), + weekdaysShort: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه'.split( + '_', + ), weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'), weekdaysParseExact: !0, longDateFormat: { @@ -24712,8 +29603,21 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '), - n = ['nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', t[7], t[8], t[9]] + var t = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split( + ' ', + ), + n = [ + 'nolla', + 'yhden', + 'kahden', + 'kolmen', + 'neljän', + 'viiden', + 'kuuden', + t[7], + t[8], + t[9], + ] function r(e, r, l, u) { var i = '' switch (l) { @@ -24757,8 +29661,12 @@ and limitations under the License. months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split( '_', ), - monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), - weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'), + monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split( + '_', + ), + weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split( + '_', + ), weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), longDateFormat: { @@ -24807,9 +29715,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('fo', { - months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'), - monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), - weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'), + months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split( + '_', + ), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split( + '_', + ), + weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split( + '_', + ), weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), longDateFormat: { @@ -24854,10 +29768,16 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('fr', { - months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), - monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_', + ), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split( + '_', + ), weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), weekdaysParseExact: !0, @@ -24917,10 +29837,16 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('fr-ca', { - months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), - monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_', + ), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split( + '_', + ), weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), weekdaysParseExact: !0, @@ -24978,10 +29904,16 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('fr-ch', { - months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), - monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( + '_', + ), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split( + '_', + ), weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), weekdaysParseExact: !0, @@ -25039,15 +29971,21 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), + var t = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split( + '_', + ), n = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_') e.defineLocale('fy', { - months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), + months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split( + '_', + ), monthsShort: function(e, r) { return e ? (/-MMM-/.test(r) ? n[e.month()] : t[e.month()]) : t }, monthsParseExact: !0, - weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'), + weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split( + '_', + ), weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), weekdaysParseExact: !0, @@ -25109,9 +30047,30 @@ and limitations under the License. 'Samhain', 'Nollaig', ], - monthsShort: ['Eaná', 'Feab', 'Márt', 'Aibr', 'Beal', 'Méit', 'Iúil', 'Lúna', 'Meán', 'Deai', 'Samh', 'Noll'], + monthsShort: [ + 'Eaná', + 'Feab', + 'Márt', + 'Aibr', + 'Beal', + 'Méit', + 'Iúil', + 'Lúna', + 'Meán', + 'Deai', + 'Samh', + 'Noll', + ], monthsParseExact: !0, - weekdays: ['Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Satharn'], + weekdays: [ + 'Dé Domhnaigh', + 'Dé Luain', + 'Dé Máirt', + 'Dé Céadaoin', + 'Déardaoin', + 'Dé hAoine', + 'Dé Satharn', + ], weekdaysShort: ['Dom', 'Lua', 'Mái', 'Céa', 'Déa', 'hAo', 'Sat'], weekdaysMin: ['Do', 'Lu', 'Má', 'Ce', 'Dé', 'hA', 'Sa'], longDateFormat: { @@ -25173,9 +30132,30 @@ and limitations under the License. 'An t-Samhain', 'An Dùbhlachd', ], - monthsShort: ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'], + monthsShort: [ + 'Faoi', + 'Gear', + 'Màrt', + 'Gibl', + 'Cèit', + 'Ògmh', + 'Iuch', + 'Lùn', + 'Sult', + 'Dàmh', + 'Samh', + 'Dùbh', + ], monthsParseExact: !0, - weekdays: ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'], + weekdays: [ + 'Didòmhnaich', + 'Diluain', + 'Dimàirt', + 'Diciadain', + 'Diardaoin', + 'Dihaoine', + 'Disathairne', + ], weekdaysShort: ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], weekdaysMin: ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'], longDateFormat: { @@ -25223,10 +30203,16 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('gl', { - months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'), - monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'), + months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split( + '_', + ), + monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split( + '_', + ), weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), weekdaysParseExact: !0, @@ -25252,7 +30238,9 @@ and limitations under the License. return '[onte ' + (1 !== this.hours() ? 'á' : 'a') + '] LT' }, lastWeek: function() { - return '[o] dddd [pasado ' + (1 !== this.hours() ? 'ás' : 'a') + '] LT' + return ( + '[o] dddd [pasado ' + (1 !== this.hours() ? 'ás' : 'a') + '] LT' + ) }, sameElse: 'L', }, @@ -25301,10 +30289,16 @@ and limitations under the License. return t ? l[n][0] : l[n][1] } e.defineLocale('gom-latn', { - months: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'), - monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), + months: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split( + '_', + ), + monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split( + '_', + ), monthsParseExact: !0, - weekdays: "Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split('_'), + weekdays: "Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split( + '_', + ), weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), weekdaysParseExact: !0, @@ -25377,7 +30371,15 @@ and limitations under the License. ) }, meridiem: function(e, t, n) { - return e < 4 ? 'rati' : e < 12 ? 'sokalli' : e < 16 ? 'donparam' : e < 20 ? 'sanje' : 'rati' + return e < 4 + ? 'rati' + : e < 12 + ? 'sokalli' + : e < 16 + ? 'donparam' + : e < 20 + ? 'sanje' + : 'rati' }, }) })(n(4)) @@ -25385,13 +30387,41 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '૧', 2: '૨', 3: '૩', 4: '૪', 5: '૫', 6: '૬', 7: '૭', 8: '૮', 9: '૯', 0: '૦' }, - n = { '૧': '1', '૨': '2', '૩': '3', '૪': '4', '૫': '5', '૬': '6', '૭': '7', '૮': '8', '૯': '9', '૦': '0' } + var t = { + 1: '૧', + 2: '૨', + 3: '૩', + 4: '૪', + 5: '૫', + 6: '૬', + 7: '૭', + 8: '૮', + 9: '૯', + 0: '૦', + }, + n = { + '૧': '1', + '૨': '2', + '૩': '3', + '૪': '4', + '૫': '5', + '૬': '6', + '૭': '7', + '૮': '8', + '૯': '9', + '૦': '0', + } e.defineLocale('gu', { - months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'), - monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'), + months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split( + '_', + ), + monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'), + weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split( + '_', + ), weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), longDateFormat: { @@ -25456,7 +30486,15 @@ and limitations under the License. ) }, meridiem: function(e, t, n) { - return e < 4 ? 'રાત' : e < 10 ? 'સવાર' : e < 17 ? 'બપોર' : e < 20 ? 'સાંજ' : 'રાત' + return e < 4 + ? 'રાત' + : e < 10 + ? 'સવાર' + : e < 17 + ? 'બપોર' + : e < 20 + ? 'સાંજ' + : 'રાત' }, week: { dow: 0, doy: 6 }, }) @@ -25466,8 +30504,12 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('he', { - months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), - monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), + months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split( + '_', + ), + monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split( + '_', + ), weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'), @@ -25512,7 +30554,11 @@ and limitations under the License. }, y: 'שנה', yy: function(e) { - return 2 === e ? 'שנתיים' : e % 10 == 0 && 10 !== e ? e + ' שנה' : e + ' שנים' + return 2 === e + ? 'שנתיים' + : e % 10 == 0 && 10 !== e + ? e + ' שנה' + : e + ' שנים' }, }, meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, @@ -25540,13 +30586,41 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '१', 2: '२', 3: '३', 4: '४', 5: '५', 6: '६', 7: '७', 8: '८', 9: '९', 0: '०' }, - n = { '१': '1', '२': '2', '३': '3', '४': '4', '५': '5', '६': '6', '७': '7', '८': '8', '९': '9', '०': '0' } + var t = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + n = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + } e.defineLocale('hi', { - months: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'), - monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + months: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split( + '_', + ), + monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split( + '_', + ), weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), longDateFormat: { @@ -25611,7 +30685,15 @@ and limitations under the License. ) }, meridiem: function(e, t, n) { - return e < 4 ? 'रात' : e < 10 ? 'सुबह' : e < 17 ? 'दोपहर' : e < 20 ? 'शाम' : 'रात' + return e < 4 + ? 'रात' + : e < 10 + ? 'सुबह' + : e < 17 + ? 'दोपहर' + : e < 20 + ? 'शाम' + : 'रात' }, week: { dow: 0, doy: 6 }, }) @@ -25624,21 +30706,46 @@ and limitations under the License. var r = e + ' ' switch (n) { case 'ss': - return (r += 1 === e ? 'sekunda' : 2 === e || 3 === e || 4 === e ? 'sekunde' : 'sekundi') + return (r += + 1 === e + ? 'sekunda' + : 2 === e || 3 === e || 4 === e + ? 'sekunde' + : 'sekundi') case 'm': return t ? 'jedna minuta' : 'jedne minute' case 'mm': - return (r += 1 === e ? 'minuta' : 2 === e || 3 === e || 4 === e ? 'minute' : 'minuta') + return (r += + 1 === e + ? 'minuta' + : 2 === e || 3 === e || 4 === e + ? 'minute' + : 'minuta') case 'h': return t ? 'jedan sat' : 'jednog sata' case 'hh': - return (r += 1 === e ? 'sat' : 2 === e || 3 === e || 4 === e ? 'sata' : 'sati') + return (r += + 1 === e + ? 'sat' + : 2 === e || 3 === e || 4 === e + ? 'sata' + : 'sati') case 'dd': return (r += 1 === e ? 'dan' : 'dana') case 'MM': - return (r += 1 === e ? 'mjesec' : 2 === e || 3 === e || 4 === e ? 'mjeseca' : 'mjeseci') + return (r += + 1 === e + ? 'mjesec' + : 2 === e || 3 === e || 4 === e + ? 'mjeseca' + : 'mjeseci') case 'yy': - return (r += 1 === e ? 'godina' : 2 === e || 3 === e || 4 === e ? 'godine' : 'godina') + return (r += + 1 === e + ? 'godina' + : 2 === e || 3 === e || 4 === e + ? 'godine' + : 'godina') } } e.defineLocale('hr', { @@ -25650,9 +30757,13 @@ and limitations under the License. '_', ), }, - monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'), + monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_', + ), weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), weekdaysParseExact: !0, @@ -25724,7 +30835,9 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ') + var t = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split( + ' ', + ) function n(e, t, n, r) { var l = e switch (n) { @@ -25759,9 +30872,15 @@ and limitations under the License. return (e ? '' : '[múlt] ') + '[' + t[this.day()] + '] LT[-kor]' } e.defineLocale('hu', { - months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'), - monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'), - weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split( + '_', + ), + monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split( + '_', + ), + weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split( + '_', + ), weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), longDateFormat: { @@ -25825,8 +30944,12 @@ and limitations under the License. '_', ), }, - monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), - weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'), + monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split( + '_', + ), + weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split( + '_', + ), weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), longDateFormat: { @@ -25870,7 +30993,13 @@ and limitations under the License. return /^(ցերեկվա|երեկոյան)$/.test(e) }, meridiem: function(e) { - return e < 4 ? 'գիշերվա' : e < 12 ? 'առավոտվա' : e < 17 ? 'ցերեկվա' : 'երեկոյան' + return e < 4 + ? 'գիշերվա' + : e < 12 + ? 'առավոտվա' + : e < 17 + ? 'ցերեկվա' + : 'երեկոյան' }, dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, ordinal: function(e, t) { @@ -25892,8 +31021,12 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('id', { - months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'), - monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'), + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split( + '_', + ), weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), @@ -25909,11 +31042,25 @@ and limitations under the License. meridiemHour: function(e, t) { return ( 12 === e && (e = 0), - 'pagi' === t ? e : 'siang' === t ? (e >= 11 ? e : e + 12) : 'sore' === t || 'malam' === t ? e + 12 : void 0 + 'pagi' === t + ? e + : 'siang' === t + ? e >= 11 + ? e + : e + 12 + : 'sore' === t || 'malam' === t + ? e + 12 + : void 0 ) }, meridiem: function(e, t, n) { - return e < 11 ? 'pagi' : e < 15 ? 'siang' : e < 19 ? 'sore' : 'malam' + return e < 11 + ? 'pagi' + : e < 15 + ? 'siang' + : e < 19 + ? 'sore' + : 'malam' }, calendar: { sameDay: '[Hari ini pukul] LT', @@ -25955,17 +31102,31 @@ and limitations under the License. case 's': return n || l ? 'nokkrar sekúndur' : 'nokkrum sekúndum' case 'ss': - return t(e) ? u + (n || l ? 'sekúndur' : 'sekúndum') : u + 'sekúnda' + return t(e) + ? u + (n || l ? 'sekúndur' : 'sekúndum') + : u + 'sekúnda' case 'm': return n ? 'mínúta' : 'mínútu' case 'mm': - return t(e) ? u + (n || l ? 'mínútur' : 'mínútum') : n ? u + 'mínúta' : u + 'mínútu' + return t(e) + ? u + (n || l ? 'mínútur' : 'mínútum') + : n + ? u + 'mínúta' + : u + 'mínútu' case 'hh': - return t(e) ? u + (n || l ? 'klukkustundir' : 'klukkustundum') : u + 'klukkustund' + return t(e) + ? u + (n || l ? 'klukkustundir' : 'klukkustundum') + : u + 'klukkustund' case 'd': return n ? 'dagur' : l ? 'dag' : 'degi' case 'dd': - return t(e) ? (n ? u + 'dagar' : u + (l ? 'daga' : 'dögum')) : n ? u + 'dagur' : u + (l ? 'dag' : 'degi') + return t(e) + ? n + ? u + 'dagar' + : u + (l ? 'daga' : 'dögum') + : n + ? u + 'dagur' + : u + (l ? 'dag' : 'degi') case 'M': return n ? 'mánuður' : l ? 'mánuð' : 'mánuði' case 'MM': @@ -25979,13 +31140,21 @@ and limitations under the License. case 'y': return n || l ? 'ár' : 'ári' case 'yy': - return t(e) ? u + (n || l ? 'ár' : 'árum') : u + (n || l ? 'ár' : 'ári') + return t(e) + ? u + (n || l ? 'ár' : 'árum') + : u + (n || l ? 'ár' : 'ári') } } e.defineLocale('is', { - months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'), - monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), - weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'), + months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split( + '_', + ), + monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split( + '_', + ), + weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split( + '_', + ), weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), longDateFormat: { @@ -26030,9 +31199,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('it', { - months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), - monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), - weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_', + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split( + '_', + ), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_', + ), weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), longDateFormat: { @@ -26086,9 +31261,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('it-ch', { - months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), - monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), - weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( + '_', + ), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split( + '_', + ), + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split( + '_', + ), weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), longDateFormat: { @@ -26142,9 +31323,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ja', { - months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), - monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), - weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_', + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_', + ), + weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split( + '_', + ), weekdaysShort: '日_月_火_水_木_金_土'.split('_'), weekdaysMin: '日_月_火_水_木_金_土'.split('_'), longDateFormat: { @@ -26212,8 +31399,12 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('jv', { - months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'), - monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split( + '_', + ), weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), @@ -26229,11 +31420,25 @@ and limitations under the License. meridiemHour: function(e, t) { return ( 12 === e && (e = 0), - 'enjing' === t ? e : 'siyang' === t ? (e >= 11 ? e : e + 12) : 'sonten' === t || 'ndalu' === t ? e + 12 : void 0 + 'enjing' === t + ? e + : 'siyang' === t + ? e >= 11 + ? e + : e + 12 + : 'sonten' === t || 'ndalu' === t + ? e + 12 + : void 0 ) }, meridiem: function(e, t, n) { - return e < 11 ? 'enjing' : e < 15 ? 'siyang' : e < 19 ? 'sonten' : 'ndalu' + return e < 11 + ? 'enjing' + : e < 15 + ? 'siyang' + : e < 19 + ? 'sonten' + : 'ndalu' }, calendar: { sameDay: '[Dinten puniko pukul] LT', @@ -26275,10 +31480,16 @@ and limitations under the License. '_', ), }, - monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split( + '_', + ), weekdays: { - standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'), - format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'), + standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split( + '_', + ), + format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split( + '_', + ), isFormat: /(წინა|შემდეგ)/, }, weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), @@ -26301,7 +31512,9 @@ and limitations under the License. }, relativeTime: { future: function(e) { - return /(წამი|წუთი|საათი|წელი)/.test(e) ? e.replace(/ი$/, 'ში') : e + 'ში' + return /(წამი|წუთი|საათი|წელი)/.test(e) + ? e.replace(/ი$/, 'ში') + : e + 'ში' }, past: function(e) { return /(წამი|წუთი|საათი|დღე|თვე)/.test(e) @@ -26325,7 +31538,13 @@ and limitations under the License. }, dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, ordinal: function(e) { - return 0 === e ? e : 1 === e ? e + '-ლი' : e < 20 || (e <= 100 && e % 20 == 0) || e % 100 == 0 ? 'მე-' + e : e + '-ე' + return 0 === e + ? e + : 1 === e + ? e + '-ლი' + : e < 20 || (e <= 100 && e % 20 == 0) || e % 100 == 0 + ? 'მე-' + e + : e + '-ე' }, week: { dow: 1, doy: 7 }, }) @@ -26357,9 +31576,15 @@ and limitations under the License. 100: '-ші', } e.defineLocale('kk', { - months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'), - monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), - weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'), + months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split( + '_', + ), + monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split( + '_', + ), + weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split( + '_', + ), weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'), longDateFormat: { @@ -26407,11 +31632,37 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '១', 2: '២', 3: '៣', 4: '៤', 5: '៥', 6: '៦', 7: '៧', 8: '៨', 9: '៩', 0: '០' }, - n = { '១': '1', '២': '2', '៣': '3', '៤': '4', '៥': '5', '៦': '6', '៧': '7', '៨': '8', '៩': '9', '០': '0' } + var t = { + 1: '១', + 2: '២', + 3: '៣', + 4: '៤', + 5: '៥', + 6: '៦', + 7: '៧', + 8: '៨', + 9: '៩', + 0: '០', + }, + n = { + '១': '1', + '២': '2', + '៣': '3', + '៤': '4', + '៥': '5', + '៦': '6', + '៧': '7', + '៨': '8', + '៩': '9', + '០': '0', + } e.defineLocale('km', { - months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), - monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_', + ), + monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( + '_', + ), weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), @@ -26474,13 +31725,41 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '೧', 2: '೨', 3: '೩', 4: '೪', 5: '೫', 6: '೬', 7: '೭', 8: '೮', 9: '೯', 0: '೦' }, - n = { '೧': '1', '೨': '2', '೩': '3', '೪': '4', '೫': '5', '೬': '6', '೭': '7', '೮': '8', '೯': '9', '೦': '0' } + var t = { + 1: '೧', + 2: '೨', + 3: '೩', + 4: '೪', + 5: '೫', + 6: '೬', + 7: '೭', + 8: '೮', + 9: '೯', + 0: '೦', + }, + n = { + '೧': '1', + '೨': '2', + '೩': '3', + '೪': '4', + '೫': '5', + '೬': '6', + '೭': '7', + '೮': '8', + '೯': '9', + '೦': '0', + } e.defineLocale('kn', { - months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split('_'), - monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split('_'), + months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split( + '_', + ), + monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split('_'), + weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split( + '_', + ), weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), longDateFormat: { @@ -26545,7 +31824,15 @@ and limitations under the License. ) }, meridiem: function(e, t, n) { - return e < 4 ? 'ರಾತ್ರಿ' : e < 10 ? 'ಬೆಳಿಗ್ಗೆ' : e < 17 ? 'ಮಧ್ಯಾಹ್ನ' : e < 20 ? 'ಸಂಜೆ' : 'ರಾತ್ರಿ' + return e < 4 + ? 'ರಾತ್ರಿ' + : e < 10 + ? 'ಬೆಳಿಗ್ಗೆ' + : e < 17 + ? 'ಮಧ್ಯಾಹ್ನ' + : e < 20 + ? 'ಸಂಜೆ' + : 'ರಾತ್ರಿ' }, dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/, ordinal: function(e) { @@ -26559,9 +31846,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ko', { - months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), - monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), - weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split( + '_', + ), + monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split( + '_', + ), + weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split( + '_', + ), weekdaysShort: '일_월_화_수_목_금_토'.split('_'), weekdaysMin: '일_월_화_수_목_금_토'.split('_'), longDateFormat: { @@ -26629,8 +31922,30 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '١', 2: '٢', 3: '٣', 4: '٤', 5: '٥', 6: '٦', 7: '٧', 8: '٨', 9: '٩', 0: '٠' }, - n = { '١': '1', '٢': '2', '٣': '3', '٤': '4', '٥': '5', '٦': '6', '٧': '7', '٨': '8', '٩': '9', '٠': '0' }, + var t = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠', + }, + n = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0', + }, r = [ 'کانونی دووەم', 'شوبات', @@ -26648,8 +31963,12 @@ and limitations under the License. e.defineLocale('ku', { months: r, monthsShort: r, - weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split('_'), - weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'), + weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split( + '_', + ), + weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split( + '_', + ), weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'), weekdaysParseExact: !0, longDateFormat: { @@ -26735,9 +32054,15 @@ and limitations under the License. 100: '-чү', } e.defineLocale('ky', { - months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), - monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'), - weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'), + months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_', + ), + monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split( + '_', + ), + weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split( + '_', + ), weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), longDateFormat: { @@ -26811,10 +32136,16 @@ and limitations under the License. return n((e /= 1e3)) } e.defineLocale('lb', { - months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), - monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split( + '_', + ), + monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'), + weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split( + '_', + ), weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), weekdaysParseExact: !0, @@ -26872,8 +32203,12 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('lo', { - months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), - monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), + months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_', + ), + monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( + '_', + ), weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), @@ -26969,10 +32304,16 @@ and limitations under the License. ), isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/, }, - monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split( + '_', + ), weekdays: { - format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'), - standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'), + format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split( + '_', + ), + standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split( + '_', + ), isFormat: /dddd HH:mm/, }, weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), @@ -27002,7 +32343,11 @@ and limitations under the License. future: 'po %s', past: 'prieš %s', s: function(e, t, n, r) { - return t ? 'kelios sekundės' : r ? 'kelių sekundžių' : 'kelias sekundes' + return t + ? 'kelios sekundės' + : r + ? 'kelių sekundžių' + : 'kelias sekundes' }, ss: u, m: n, @@ -27041,7 +32386,13 @@ and limitations under the License. yy: 'gada_gadiem_gads_gadi'.split('_'), } function n(e, t, n) { - return n ? (t % 10 == 1 && t % 100 != 11 ? e[2] : e[3]) : t % 10 == 1 && t % 100 != 11 ? e[0] : e[1] + return n + ? t % 10 == 1 && t % 100 != 11 + ? e[2] + : e[3] + : t % 10 == 1 && t % 100 != 11 + ? e[0] + : e[1] } function r(e, r, l) { return e + ' ' + n(t[l], e, r) @@ -27053,8 +32404,12 @@ and limitations under the License. months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split( '_', ), - monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), - weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'), + monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split( + '_', + ), + weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split( + '_', + ), weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), weekdaysParseExact: !0, @@ -27117,14 +32472,24 @@ and limitations under the License. }, translate: function(e, n, r) { var l = t.words[r] - return 1 === r.length ? (n ? l[0] : l[1]) : e + ' ' + t.correctGrammaticalCase(e, l) + return 1 === r.length + ? n + ? l[0] + : l[1] + : e + ' ' + t.correctGrammaticalCase(e, l) }, } e.defineLocale('me', { - months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), - monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_', + ), + monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( + '_', + ), weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), weekdaysParseExact: !0, @@ -27197,12 +32562,16 @@ and limitations under the License. months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split( '_', ), - monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'), + monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split( + '_', + ), monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, - weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split( + '_', + ), weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), longDateFormat: { @@ -27247,9 +32616,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('mk', { - months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'), - monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), - weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'), + months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split( + '_', + ), + monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split( + '_', + ), + weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split( + '_', + ), weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'), weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'), longDateFormat: { @@ -27322,10 +32697,16 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ml', { - months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'), - monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'), + months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split( + '_', + ), + monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'), + weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split( + '_', + ), weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), longDateFormat: { @@ -27362,10 +32743,25 @@ and limitations under the License. }, meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, meridiemHour: function(e, t) { - return 12 === e && (e = 0), ('രാത്രി' === t && e >= 4) || 'ഉച്ച കഴിഞ്ഞ്' === t || 'വൈകുന്നേരം' === t ? e + 12 : e + return ( + 12 === e && (e = 0), + ('രാത്രി' === t && e >= 4) || + 'ഉച്ച കഴിഞ്ഞ്' === t || + 'വൈകുന്നേരം' === t + ? e + 12 + : e + ) }, meridiem: function(e, t, n) { - return e < 4 ? 'രാത്രി' : e < 12 ? 'രാവിലെ' : e < 17 ? 'ഉച്ച കഴിഞ്ഞ്' : e < 20 ? 'വൈകുന്നേരം' : 'രാത്രി' + return e < 4 + ? 'രാത്രി' + : e < 12 + ? 'രാവിലെ' + : e < 17 + ? 'ഉച്ച കഴിഞ്ഞ്' + : e < 20 + ? 'വൈകുന്നേരം' + : 'രാത്രി' }, }) })(n(4)) @@ -27402,7 +32798,9 @@ and limitations under the License. months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split( '_', ), - monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split('_'), + monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split( + '_', + ), monthsParseExact: !0, weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'), weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'), @@ -27464,8 +32862,30 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '१', 2: '२', 3: '३', 4: '४', 5: '५', 6: '६', 7: '७', 8: '८', 9: '९', 0: '०' }, - n = { '१': '1', '२': '2', '३': '3', '४': '4', '५': '5', '६': '6', '७': '7', '८': '8', '९': '9', '०': '0' } + var t = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + n = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + } function r(e, t, n, r) { var l = '' if (t) @@ -27547,10 +32967,16 @@ and limitations under the License. return l.replace(/%d/i, e) } e.defineLocale('mr', { - months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'), - monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'), + months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( + '_', + ), + monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split( + '_', + ), weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), longDateFormat: { @@ -27615,7 +33041,15 @@ and limitations under the License. ) }, meridiem: function(e, t, n) { - return e < 4 ? 'रात्री' : e < 10 ? 'सकाळी' : e < 17 ? 'दुपारी' : e < 20 ? 'सायंकाळी' : 'रात्री' + return e < 4 + ? 'रात्री' + : e < 10 + ? 'सकाळी' + : e < 17 + ? 'दुपारी' + : e < 20 + ? 'सायंकाळी' + : 'रात्री' }, week: { dow: 0, doy: 6 }, }) @@ -27625,8 +33059,12 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ms', { - months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), - monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split( + '_', + ), weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), @@ -27642,11 +33080,25 @@ and limitations under the License. meridiemHour: function(e, t) { return ( 12 === e && (e = 0), - 'pagi' === t ? e : 'tengahari' === t ? (e >= 11 ? e : e + 12) : 'petang' === t || 'malam' === t ? e + 12 : void 0 + 'pagi' === t + ? e + : 'tengahari' === t + ? e >= 11 + ? e + : e + 12 + : 'petang' === t || 'malam' === t + ? e + 12 + : void 0 ) }, meridiem: function(e, t, n) { - return e < 11 ? 'pagi' : e < 15 ? 'tengahari' : e < 19 ? 'petang' : 'malam' + return e < 11 + ? 'pagi' + : e < 15 + ? 'tengahari' + : e < 19 + ? 'petang' + : 'malam' }, calendar: { sameDay: '[Hari ini pukul] LT', @@ -27680,8 +33132,12 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ms-my', { - months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), - monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split( + '_', + ), weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), @@ -27697,11 +33153,25 @@ and limitations under the License. meridiemHour: function(e, t) { return ( 12 === e && (e = 0), - 'pagi' === t ? e : 'tengahari' === t ? (e >= 11 ? e : e + 12) : 'petang' === t || 'malam' === t ? e + 12 : void 0 + 'pagi' === t + ? e + : 'tengahari' === t + ? e >= 11 + ? e + : e + 12 + : 'petang' === t || 'malam' === t + ? e + 12 + : void 0 ) }, meridiem: function(e, t, n) { - return e < 11 ? 'pagi' : e < 15 ? 'tengahari' : e < 19 ? 'petang' : 'malam' + return e < 11 + ? 'pagi' + : e < 15 + ? 'tengahari' + : e < 19 + ? 'petang' + : 'malam' }, calendar: { sameDay: '[Hari ini pukul] LT', @@ -27735,9 +33205,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('mt', { - months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'), - monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'), - weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'), + months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split( + '_', + ), + monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split( + '_', + ), + weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split( + '_', + ), weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'), weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'), longDateFormat: { @@ -27781,12 +33257,40 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '၁', 2: '၂', 3: '၃', 4: '၄', 5: '၅', 6: '၆', 7: '၇', 8: '၈', 9: '၉', 0: '၀' }, - n = { '၁': '1', '၂': '2', '၃': '3', '၄': '4', '၅': '5', '၆': '6', '၇': '7', '၈': '8', '၉': '9', '၀': '0' } + var t = { + 1: '၁', + 2: '၂', + 3: '၃', + 4: '၄', + 5: '၅', + 6: '၆', + 7: '၇', + 8: '၈', + 9: '၉', + 0: '၀', + }, + n = { + '၁': '1', + '၂': '2', + '၃': '3', + '၄': '4', + '၅': '5', + '၆': '6', + '၇': '7', + '၈': '8', + '၉': '9', + '၀': '0', + } e.defineLocale('my', { - months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'), - monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), - weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'), + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split( + '_', + ), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split( + '_', + ), + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split( + '_', + ), weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), longDateFormat: { @@ -27839,10 +33343,16 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('nb', { - months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), - monthsShort: 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_', + ), + monthsShort: 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split( + '_', + ), weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), weekdaysParseExact: !0, @@ -27887,13 +33397,41 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '१', 2: '२', 3: '३', 4: '४', 5: '५', 6: '६', 7: '७', 8: '८', 9: '९', 0: '०' }, - n = { '१': '1', '२': '2', '३': '3', '४': '4', '५': '5', '६': '6', '७': '7', '८': '8', '९': '9', '०': '0' } + var t = { + 1: '१', + 2: '२', + 3: '३', + 4: '४', + 5: '५', + 6: '६', + 7: '७', + 8: '८', + 9: '९', + 0: '०', + }, + n = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0', + } e.defineLocale('ne', { - months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'), - monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'), + months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split( + '_', + ), + monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'), + weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split( + '_', + ), weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'), weekdaysParseExact: !0, @@ -27935,7 +33473,15 @@ and limitations under the License. ) }, meridiem: function(e, t, n) { - return e < 3 ? 'राति' : e < 12 ? 'बिहान' : e < 16 ? 'दिउँसो' : e < 20 ? 'साँझ' : 'राति' + return e < 3 + ? 'राति' + : e < 12 + ? 'बिहान' + : e < 16 + ? 'दिउँसो' + : e < 20 + ? 'साँझ' + : 'राति' }, calendar: { sameDay: '[आज] LT', @@ -27968,7 +33514,9 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + var t = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split( + '_', + ), n = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), r = [ /^jan/i, @@ -27986,7 +33534,9 @@ and limitations under the License. ], l = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i e.defineLocale('nl', { - months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_', + ), monthsShort: function(e, r) { return e ? (/-MMM-/.test(r) ? n[e.month()] : t[e.month()]) : t }, @@ -27997,7 +33547,9 @@ and limitations under the License. monthsParse: r, longMonthsParse: r, shortMonthsParse: r, - weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split( + '_', + ), weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), weekdaysParseExact: !0, @@ -28044,7 +33596,9 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + var t = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split( + '_', + ), n = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), r = [ /^jan/i, @@ -28062,7 +33616,9 @@ and limitations under the License. ], l = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i e.defineLocale('nl-be', { - months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( + '_', + ), monthsShort: function(e, r) { return e ? (/-MMM-/.test(r) ? n[e.month()] : t[e.month()]) : t }, @@ -28073,7 +33629,9 @@ and limitations under the License. monthsParse: r, longMonthsParse: r, shortMonthsParse: r, - weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split( + '_', + ), weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), weekdaysParseExact: !0, @@ -28121,9 +33679,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('nn', { - months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), - monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), - weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( + '_', + ), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split( + '_', + ), + weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split( + '_', + ), weekdaysShort: 'sun_mån_tys_ons_tor_fre_lau'.split('_'), weekdaysMin: 'su_må_ty_on_to_fr_lø'.split('_'), longDateFormat: { @@ -28167,12 +33731,40 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '੧', 2: '੨', 3: '੩', 4: '੪', 5: '੫', 6: '੬', 7: '੭', 8: '੮', 9: '੯', 0: '੦' }, - n = { '੧': '1', '੨': '2', '੩': '3', '੪': '4', '੫': '5', '੬': '6', '੭': '7', '੮': '8', '੯': '9', '੦': '0' } + var t = { + 1: '੧', + 2: '੨', + 3: '੩', + 4: '੪', + 5: '੫', + 6: '੬', + 7: '੭', + 8: '੮', + 9: '੯', + 0: '੦', + }, + n = { + '੧': '1', + '੨': '2', + '੩': '3', + '੪': '4', + '੫': '5', + '੬': '6', + '੭': '7', + '੮': '8', + '੯': '9', + '੦': '0', + } e.defineLocale('pa-in', { - months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), - monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), - weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'), + months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_', + ), + monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( + '_', + ), + weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split( + '_', + ), weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), longDateFormat: { @@ -28237,7 +33829,15 @@ and limitations under the License. ) }, meridiem: function(e, t, n) { - return e < 4 ? 'ਰਾਤ' : e < 10 ? 'ਸਵੇਰ' : e < 17 ? 'ਦੁਪਹਿਰ' : e < 20 ? 'ਸ਼ਾਮ' : 'ਰਾਤ' + return e < 4 + ? 'ਰਾਤ' + : e < 10 + ? 'ਸਵੇਰ' + : e < 17 + ? 'ਦੁਪਹਿਰ' + : e < 20 + ? 'ਸ਼ਾਮ' + : 'ਰਾਤ' }, week: { dow: 0, doy: 6 }, }) @@ -28246,8 +33846,12 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'), - n = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_') + var t = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split( + '_', + ), + n = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split( + '_', + ) function r(e) { return e % 10 < 5 && e % 10 > 1 && ~~(e / 10) % 10 != 1 } @@ -28280,8 +33884,12 @@ and limitations under the License. : t[e.month()] : t }, - monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), - weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split( + '_', + ), + weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split( + '_', + ), weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), longDateFormat: { @@ -28350,9 +33958,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('pt', { - months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), - monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), - weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), + months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split( + '_', + ), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split( + '_', + ), + weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( + '_', + ), weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), weekdaysParseExact: !0, @@ -28370,7 +33984,9 @@ and limitations under the License. nextWeek: 'dddd [às] LT', lastDay: '[Ontem às] LT', lastWeek: function() { - return 0 === this.day() || 6 === this.day() ? '[Último] dddd [às] LT' : '[Última] dddd [às] LT' + return 0 === this.day() || 6 === this.day() + ? '[Último] dddd [às] LT' + : '[Última] dddd [às] LT' }, sameElse: 'L', }, @@ -28400,9 +34016,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('pt-br', { - months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), - monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), - weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), + months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split( + '_', + ), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split( + '_', + ), + weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( + '_', + ), weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), weekdaysParseExact: !0, @@ -28420,7 +34042,9 @@ and limitations under the License. nextWeek: 'dddd [às] LT', lastDay: '[Ontem às] LT', lastWeek: function() { - return 0 === this.day() || 6 === this.day() ? '[Último] dddd [às] LT' : '[Última] dddd [às] LT' + return 0 === this.day() || 6 === this.day() + ? '[Último] dddd [às] LT' + : '[Última] dddd [às] LT' }, sameElse: 'L', }, @@ -28452,14 +34076,29 @@ and limitations under the License. var r = ' ' return ( (e % 100 >= 20 || (e >= 100 && e % 100 == 0)) && (r = ' de '), - e + r + { ss: 'secunde', mm: 'minute', hh: 'ore', dd: 'zile', MM: 'luni', yy: 'ani' }[n] + e + + r + + { + ss: 'secunde', + mm: 'minute', + hh: 'ore', + dd: 'zile', + MM: 'luni', + yy: 'ani', + }[n] ) } e.defineLocale('ro', { - months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'), - monthsShort: 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'), + months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split( + '_', + ), + monthsShort: 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), + weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split( + '_', + ), weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), longDateFormat: { @@ -28520,21 +34159,52 @@ and limitations under the License. ' ' + ((r = +e), (l = u[n].split('_')), - r % 10 == 1 && r % 100 != 11 ? l[0] : r % 10 >= 2 && r % 10 <= 4 && (r % 100 < 10 || r % 100 >= 20) ? l[1] : l[2]) - } - var n = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i] + r % 10 == 1 && r % 100 != 11 + ? l[0] + : r % 10 >= 2 && + r % 10 <= 4 && + (r % 100 < 10 || r % 100 >= 20) + ? l[1] + : l[2]) + } + var n = [ + /^янв/i, + /^фев/i, + /^мар/i, + /^апр/i, + /^ма[йя]/i, + /^июн/i, + /^июл/i, + /^авг/i, + /^сен/i, + /^окт/i, + /^ноя/i, + /^дек/i, + ] e.defineLocale('ru', { months: { - format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'), - standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), + format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split( + '_', + ), + standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( + '_', + ), }, monthsShort: { - format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'), - standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_'), + format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split( + '_', + ), + standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split( + '_', + ), }, weekdays: { - standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'), - format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'), + standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split( + '_', + ), + format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split( + '_', + ), isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/, }, weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), @@ -28559,7 +34229,10 @@ and limitations under the License. nextDay: '[Завтра, в] LT', lastDay: '[Вчера, в] LT', nextWeek: function(e) { - if (e.week() === this.week()) return 2 === this.day() ? '[Во] dddd, [в] LT' : '[В] dddd, [в] LT' + if (e.week() === this.week()) + return 2 === this.day() + ? '[Во] dddd, [в] LT' + : '[В] dddd, [в] LT' switch (this.day()) { case 0: return '[В следующее] dddd, [в] LT' @@ -28574,7 +34247,10 @@ and limitations under the License. } }, lastWeek: function(e) { - if (e.week() === this.week()) return 2 === this.day() ? '[Во] dddd, [в] LT' : '[В] dddd, [в] LT' + if (e.week() === this.week()) + return 2 === this.day() + ? '[Во] dddd, [в] LT' + : '[В] dddd, [в] LT' switch (this.day()) { case 0: return '[В прошлое] dddd, [в] LT' @@ -28636,7 +34312,20 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = ['جنوري', 'فيبروري', 'مارچ', 'اپريل', 'مئي', 'جون', 'جولاءِ', 'آگسٽ', 'سيپٽمبر', 'آڪٽوبر', 'نومبر', 'ڊسمبر'], + var t = [ + 'جنوري', + 'فيبروري', + 'مارچ', + 'اپريل', + 'مئي', + 'جون', + 'جولاءِ', + 'آگسٽ', + 'سيپٽمبر', + 'آڪٽوبر', + 'نومبر', + 'ڊسمبر', + ], n = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'] e.defineLocale('sd', { months: t, @@ -28700,8 +34389,12 @@ and limitations under the License. months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split( '_', ), - monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), - weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'), + monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split( + '_', + ), + weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split( + '_', + ), weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), weekdaysMin: 's_v_m_g_d_b_L'.split('_'), longDateFormat: { @@ -28746,9 +34439,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('si', { - months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'), - monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'), - weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'), + months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split( + '_', + ), + monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split( + '_', + ), + weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split( + '_', + ), weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), weekdaysParseExact: !0, @@ -28801,7 +34500,9 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'), + var t = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split( + '_', + ), n = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_') function r(e) { return e > 1 && e < 5 @@ -28812,7 +34513,9 @@ and limitations under the License. case 's': return t || l ? 'pár sekúnd' : 'pár sekundami' case 'ss': - return t || l ? u + (r(e) ? 'sekundy' : 'sekúnd') : u + 'sekundami' + return t || l + ? u + (r(e) ? 'sekundy' : 'sekúnd') + : u + 'sekundami' case 'm': return t ? 'minúta' : l ? 'minútu' : 'minútou' case 'mm': @@ -28828,7 +34531,9 @@ and limitations under the License. case 'M': return t || l ? 'mesiac' : 'mesiacom' case 'MM': - return t || l ? u + (r(e) ? 'mesiace' : 'mesiacov') : u + 'mesiacmi' + return t || l + ? u + (r(e) ? 'mesiace' : 'mesiacov') + : u + 'mesiacmi' case 'y': return t || l ? 'rok' : 'rokom' case 'yy': @@ -28838,7 +34543,9 @@ and limitations under the License. e.defineLocale('sk', { months: t, monthsShort: n, - weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split( + '_', + ), weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'), weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'), longDateFormat: { @@ -28975,7 +34682,17 @@ and limitations under the License. return t || r ? 'en dan' : 'enim dnem' case 'dd': return (l += - 1 === e ? (t || r ? 'dan' : 'dnem') : 2 === e ? (t || r ? 'dni' : 'dnevoma') : t || r ? 'dni' : 'dnevi') + 1 === e + ? t || r + ? 'dan' + : 'dnem' + : 2 === e + ? t || r + ? 'dni' + : 'dnevoma' + : t || r + ? 'dni' + : 'dnevi') case 'M': return t || r ? 'en mesec' : 'enim mesecem' case 'MM': @@ -29017,10 +34734,16 @@ and limitations under the License. } } e.defineLocale('sl', { - months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'), - monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'), + months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split( + '_', + ), + monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split( + '_', + ), weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'), weekdaysParseExact: !0, @@ -29094,9 +34817,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('sq', { - months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'), - monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), - weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'), + months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split( + '_', + ), + monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split( + '_', + ), + weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split( + '_', + ), weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), weekdaysParseExact: !0, @@ -29164,14 +34893,24 @@ and limitations under the License. }, translate: function(e, n, r) { var l = t.words[r] - return 1 === r.length ? (n ? l[0] : l[1]) : e + ' ' + t.correctGrammaticalCase(e, l) + return 1 === r.length + ? n + ? l[0] + : l[1] + : e + ' ' + t.correctGrammaticalCase(e, l) }, } e.defineLocale('sr', { - months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), - monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( + '_', + ), + monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'), + weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split( + '_', + ), weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), weekdaysParseExact: !0, @@ -29256,14 +34995,24 @@ and limitations under the License. }, translate: function(e, n, r) { var l = t.words[r] - return 1 === r.length ? (n ? l[0] : l[1]) : e + ' ' + t.correctGrammaticalCase(e, l) + return 1 === r.length + ? n + ? l[0] + : l[1] + : e + ' ' + t.correctGrammaticalCase(e, l) }, } e.defineLocale('sr-cyrl', { - months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'), - monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), + months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split( + '_', + ), + monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'), + weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split( + '_', + ), weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), weekdaysParseExact: !0, @@ -29336,8 +35085,12 @@ and limitations under the License. months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split( '_', ), - monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), - weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'), + monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split( + '_', + ), + weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split( + '_', + ), weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), weekdaysParseExact: !0, @@ -29375,7 +35128,13 @@ and limitations under the License. }, meridiemParse: /ekuseni|emini|entsambama|ebusuku/, meridiem: function(e, t, n) { - return e < 11 ? 'ekuseni' : e < 15 ? 'emini' : e < 19 ? 'entsambama' : 'ebusuku' + return e < 11 + ? 'ekuseni' + : e < 15 + ? 'emini' + : e < 19 + ? 'entsambama' + : 'ebusuku' }, meridiemHour: function(e, t) { return ( @@ -29403,9 +35162,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('sv', { - months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), - monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), - weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split( + '_', + ), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split( + '_', + ), + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split( + '_', + ), weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), longDateFormat: { @@ -29445,7 +35210,14 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(e|a)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'e' : 1 === t ? 'a' : 2 === t ? 'a' : 'e' + n = + 1 == ~~((e % 100) / 10) + ? 'e' + : 1 === t + ? 'a' + : 2 === t + ? 'a' + : 'e' return e + n }, week: { dow: 1, doy: 4 }, @@ -29456,9 +35228,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('sw', { - months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'), - monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), - weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'), + months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split( + '_', + ), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split( + '_', + ), + weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split( + '_', + ), weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), weekdaysParseExact: !0, @@ -29501,13 +35279,43 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = { 1: '௧', 2: '௨', 3: '௩', 4: '௪', 5: '௫', 6: '௬', 7: '௭', 8: '௮', 9: '௯', 0: '௦' }, - n = { '௧': '1', '௨': '2', '௩': '3', '௪': '4', '௫': '5', '௬': '6', '௭': '7', '௮': '8', '௯': '9', '௦': '0' } + var t = { + 1: '௧', + 2: '௨', + 3: '௩', + 4: '௪', + 5: '௫', + 6: '௬', + 7: '௭', + 8: '௮', + 9: '௯', + 0: '௦', + }, + n = { + '௧': '1', + '௨': '2', + '௩': '3', + '௪': '4', + '௫': '5', + '௬': '6', + '௭': '7', + '௮': '8', + '௯': '9', + '௦': '0', + } e.defineLocale('ta', { - months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), - monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), - weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'), - weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'), + months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_', + ), + monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( + '_', + ), + weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split( + '_', + ), + weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split( + '_', + ), weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), longDateFormat: { LT: 'HH:mm', @@ -29574,7 +35382,15 @@ and limitations under the License. meridiemHour: function(e, t) { return ( 12 === e && (e = 0), - 'யாமம்' === t ? (e < 2 ? e : e + 12) : 'வைகறை' === t || 'காலை' === t ? e : 'நண்பகல்' === t && e >= 10 ? e : e + 12 + 'யாமம்' === t + ? e < 2 + ? e + : e + 12 + : 'வைகறை' === t || 'காலை' === t + ? e + : 'நண்பகல்' === t && e >= 10 + ? e + : e + 12 ) }, week: { dow: 0, doy: 6 }, @@ -29585,10 +35401,16 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('te', { - months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'), - monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'), + months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split( + '_', + ), + monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'), + weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split( + '_', + ), weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), longDateFormat: { @@ -29645,7 +35467,15 @@ and limitations under the License. ) }, meridiem: function(e, t, n) { - return e < 4 ? 'రాత్రి' : e < 10 ? 'ఉదయం' : e < 17 ? 'మధ్యాహ్నం' : e < 20 ? 'సాయంత్రం' : 'రాత్రి' + return e < 4 + ? 'రాత్రి' + : e < 10 + ? 'ఉదయం' + : e < 17 + ? 'మధ్యాహ్నం' + : e < 20 + ? 'సాయంత్రం' + : 'రాత్రి' }, week: { dow: 0, doy: 6 }, }) @@ -29655,9 +35485,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('tet', { - months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'), - monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), - weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), + months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split( + '_', + ), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split( + '_', + ), + weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split( + '_', + ), weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), longDateFormat: { @@ -29695,7 +35531,16 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 == ~~((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, week: { dow: 1, doy: 4 }, @@ -29730,9 +35575,15 @@ and limitations under the License. 100: '-ум', } e.defineLocale('tg', { - months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'), - monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), - weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split('_'), + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_', + ), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split( + '_', + ), + weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split( + '_', + ), weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'), weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'), longDateFormat: { @@ -29786,7 +35637,15 @@ and limitations under the License. ) }, meridiem: function(e, t, n) { - return e < 4 ? 'шаб' : e < 11 ? 'субҳ' : e < 16 ? 'рӯз' : e < 19 ? 'бегоҳ' : 'шаб' + return e < 4 + ? 'шаб' + : e < 11 + ? 'субҳ' + : e < 16 + ? 'рӯз' + : e < 19 + ? 'бегоҳ' + : 'шаб' }, dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/, ordinal: function(e) { @@ -29802,11 +35661,17 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('th', { - months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'), - monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'), + months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split( + '_', + ), + monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split( + '_', + ), monthsParseExact: !0, weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), - weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), + weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split( + '_', + ), weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), weekdaysParseExact: !0, longDateFormat: { @@ -29855,9 +35720,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('tl-ph', { - months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'), - monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), - weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'), + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( + '_', + ), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split( + '_', + ), + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split( + '_', + ), weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), longDateFormat: { @@ -29940,9 +35811,15 @@ and limitations under the License. '_', ), monthsParseExact: !0, - weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), - weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), - weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( + '_', + ), + weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( + '_', + ), + weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split( + '_', + ), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', @@ -30025,9 +35902,15 @@ and limitations under the License. 90: "'ıncı", } e.defineLocale('tr', { - months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), - monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), - weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'), + months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split( + '_', + ), + monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split( + '_', + ), + weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split( + '_', + ), weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), longDateFormat: { @@ -30102,9 +35985,15 @@ and limitations under the License. return r ? l[n][0] : t ? l[n][0] : l[n][1] } e.defineLocale('tzl', { - months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'), - monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), - weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split( + '_', + ), + monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split( + '_', + ), + weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split( + '_', + ), weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), longDateFormat: { @@ -30156,11 +36045,21 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('tzm', { - months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), - monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), - weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), - weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), - weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_', + ), + monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( + '_', + ), + weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split( + '_', + ), + weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split( + '_', + ), + weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split( + '_', + ), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', @@ -30201,11 +36100,21 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('tzm-latn', { - months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), - monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), - weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), - weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), - weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_', + ), + monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( + '_', + ), + weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split( + '_', + ), + weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split( + '_', + ), + weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split( + '_', + ), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', @@ -30246,9 +36155,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('ug-cn', { - months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'), - monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'), - weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split('_'), + months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_', + ), + monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( + '_', + ), + weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split( + '_', + ), weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), longDateFormat: { @@ -30360,7 +36275,11 @@ and limitations under the License. ' ' + ((r = +e), (l = u[n].split('_')), - r % 10 == 1 && r % 100 != 11 ? l[0] : r % 10 >= 2 && r % 10 <= 4 && (r % 100 < 10 || r % 100 >= 20) ? l[1] : l[2]) + r % 10 == 1 && r % 100 != 11 + ? l[0] + : r % 10 >= 2 && r % 10 <= 4 && (r % 100 < 10 || r % 100 >= 20) + ? l[1] + : l[2]) } function n(e) { return function() { @@ -30369,19 +36288,30 @@ and limitations under the License. } e.defineLocale('uk', { months: { - format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'), + format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split( + '_', + ), standalone: 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split( '_', ), }, - monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'), + monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split( + '_', + ), weekdays: function(e, t) { var n = { - nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'), - accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'), - genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_'), + nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split( + '_', + ), + accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split( + '_', + ), + genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split( + '_', + ), } - if (!0 === e) return n.nominative.slice(1, 7).concat(n.nominative.slice(0, 1)) + if (!0 === e) + return n.nominative.slice(1, 7).concat(n.nominative.slice(0, 1)) if (!e) return n.nominative var r = /(\[[ВвУу]\]) ?dddd/.test(t) ? 'accusative' @@ -30465,7 +36395,20 @@ and limitations under the License. function(e, t, n) { !(function(e) { 'use strict' - var t = ['جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'], + var t = [ + 'جنوری', + 'فروری', + 'مارچ', + 'اپریل', + 'مئی', + 'جون', + 'جولائی', + 'اگست', + 'ستمبر', + 'اکتوبر', + 'نومبر', + 'دسمبر', + ], n = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'] e.defineLocale('ur', { months: t, @@ -30526,9 +36469,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('uz', { - months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'), - monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), - weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( + '_', + ), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split( + '_', + ), + weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split( + '_', + ), weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), longDateFormat: { @@ -30571,9 +36520,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('uz-latn', { - months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'), - monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), - weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'), + months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split( + '_', + ), + monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split( + '_', + ), + weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split( + '_', + ), weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), longDateFormat: { @@ -30616,10 +36571,16 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('vi', { - months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), - monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'), + months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split( + '_', + ), + monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'), + weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split( + '_', + ), weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), weekdaysParseExact: !0, @@ -30681,9 +36642,13 @@ and limitations under the License. months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split( '_', ), - monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'), + monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split( + '_', + ), monthsParseExact: !0, - weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'), + weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split( + '_', + ), weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), weekdaysParseExact: !0, @@ -30721,7 +36686,16 @@ and limitations under the License. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, ordinal: function(e) { var t = e % 10, - n = 1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th' + n = + 1 == ~~((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th' return e + n }, week: { dow: 1, doy: 4 }, @@ -30732,8 +36706,12 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('yo', { - months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'), - monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), + months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split( + '_', + ), + monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split( + '_', + ), weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), @@ -30779,9 +36757,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('zh-cn', { - months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), - monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), - weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_', + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_', + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split( + '_', + ), weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), weekdaysMin: '日_一_二_三_四_五_六'.split('_'), longDateFormat: { @@ -30800,12 +36784,28 @@ and limitations under the License. meridiemHour: function(e, t) { return ( 12 === e && (e = 0), - '凌晨' === t || '早上' === t || '上午' === t ? e : '下午' === t || '晚上' === t ? e + 12 : e >= 11 ? e : e + 12 + '凌晨' === t || '早上' === t || '上午' === t + ? e + : '下午' === t || '晚上' === t + ? e + 12 + : e >= 11 + ? e + : e + 12 ) }, meridiem: function(e, t, n) { var r = 100 * e + t - return r < 600 ? '凌晨' : r < 900 ? '早上' : r < 1130 ? '上午' : r < 1230 ? '中午' : r < 1800 ? '下午' : '晚上' + return r < 600 + ? '凌晨' + : r < 900 + ? '早上' + : r < 1130 + ? '上午' + : r < 1230 + ? '中午' + : r < 1800 + ? '下午' + : '晚上' }, calendar: { sameDay: '[今天]LT', @@ -30855,9 +36855,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('zh-hk', { - months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), - monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), - weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_', + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_', + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split( + '_', + ), weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), weekdaysMin: '日_一_二_三_四_五_六'.split('_'), longDateFormat: { @@ -30889,7 +36895,17 @@ and limitations under the License. }, meridiem: function(e, t, n) { var r = 100 * e + t - return r < 600 ? '凌晨' : r < 900 ? '早上' : r < 1130 ? '上午' : r < 1230 ? '中午' : r < 1800 ? '下午' : '晚上' + return r < 600 + ? '凌晨' + : r < 900 + ? '早上' + : r < 1130 + ? '上午' + : r < 1230 + ? '中午' + : r < 1800 + ? '下午' + : '晚上' }, calendar: { sameDay: '[今天]LT', @@ -30938,9 +36954,15 @@ and limitations under the License. !(function(e) { 'use strict' e.defineLocale('zh-tw', { - months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), - monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), - weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( + '_', + ), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( + '_', + ), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split( + '_', + ), weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), weekdaysMin: '日_一_二_三_四_五_六'.split('_'), longDateFormat: { @@ -30972,7 +36994,17 @@ and limitations under the License. }, meridiem: function(e, t, n) { var r = 100 * e + t - return r < 600 ? '凌晨' : r < 900 ? '早上' : r < 1130 ? '上午' : r < 1230 ? '中午' : r < 1800 ? '下午' : '晚上' + return r < 600 + ? '凌晨' + : r < 900 + ? '早上' + : r < 1130 + ? '上午' + : r < 1230 + ? '中午' + : r < 1800 + ? '下午' + : '晚上' }, calendar: { sameDay: '[今天] LT', @@ -31055,7 +37087,10 @@ and limitations under the License. ? e.reportError( new r.a( (function(e) { - return 'There can be only one operation named "'.concat(e, '".') + return 'There can be only one operation named "'.concat( + e, + '".', + ) })(l.value), [t[l.value], l], ), @@ -31086,7 +37121,14 @@ and limitations under the License. }).length }, OperationDefinition: function(n) { - !n.name && t > 1 && e.reportError(new r.a('This anonymous operation must be the only defined operation.', n)) + !n.name && + t > 1 && + e.reportError( + new r.a( + 'This anonymous operation must be the only defined operation.', + n, + ), + ) }, } } @@ -31106,7 +37148,10 @@ and limitations under the License. e.reportError( new r.a( (n = t.name && t.name.value) - ? 'Subscription "'.concat(n, '" must select only one top level field.') + ? 'Subscription "'.concat( + n, + '" must select only one top level field.', + ) : 'Anonymous Subscription must select only one top level field.', t.selectionSet.selections.slice(1), ), @@ -31135,7 +37180,10 @@ and limitations under the License. e.reportError( new r.a( (function(e) { - return 'Fragment cannot condition on non composite type "'.concat(e, '".') + return 'Fragment cannot condition on non composite type "'.concat( + e, + '".', + ) })(Object(l.print)(n)), n, ), @@ -31149,7 +37197,9 @@ and limitations under the License. e.reportError( new r.a( (function(e, t) { - return 'Fragment "'.concat(e, '" cannot condition on non composite type "').concat(t, '".') + return 'Fragment "' + .concat(e, '" cannot condition on non composite type "') + .concat(t, '".') })(t.name.value, Object(l.print)(t.typeCondition)), t.typeCondition, ), @@ -31176,7 +37226,9 @@ and limitations under the License. e.reportError( new r.a( (function(e, t) { - return 'Variable "$'.concat(e, '" cannot be non-input type "').concat(t, '".') + return 'Variable "$' + .concat(e, '" cannot be non-input type "') + .concat(t, '".') })(o, Object(l.print)(t.type)), t.type, ), @@ -31205,7 +37257,9 @@ and limitations under the License. e.reportError( new l.a( (function(e, t) { - return 'Field "'.concat(e, '" must not have a selection since type "').concat(t, '" has no subfields.') + return 'Field "' + .concat(e, '" must not have a selection since type "') + .concat(t, '" has no subfields.') })(t.name.value, Object(r.a)(n)), i, ), @@ -31216,7 +37270,10 @@ and limitations under the License. (function(e, t) { return 'Field "' .concat(e, '" of type "') - .concat(t, '" must have a selection of subfields. Did you mean "') + .concat( + t, + '" must have a selection of subfields. Did you mean "', + ) .concat(e, ' { ... }"?') })(t.name.value, Object(r.a)(n)), t, @@ -31250,7 +37307,11 @@ and limitations under the License. o = !1, a = void 0 try { - for (var s, c = e.getPossibleTypes(t)[Symbol.iterator](); !(u = (s = c.next()).done); u = !0) { + for ( + var s, c = e.getPossibleTypes(t)[Symbol.iterator](); + !(u = (s = c.next()).done); + u = !0 + ) { var d = s.value if (d.getFields()[n]) { r.push(d.name) @@ -31258,9 +37319,14 @@ and limitations under the License. p = !1, h = void 0 try { - for (var m, y = d.getInterfaces()[Symbol.iterator](); !(f = (m = y.next()).done); f = !0) { + for ( + var m, y = d.getInterfaces()[Symbol.iterator](); + !(f = (m = y.next()).done); + f = !0 + ) { var _ = m.value - _.getFields()[n] && (l[_.name] = (l[_.name] || 0) + 1) + _.getFields()[n] && + (l[_.name] = (l[_.name] || 0) + 1) } } catch (e) { ;(p = !0), (h = e) @@ -31309,8 +37375,11 @@ and limitations under the License. return '"'.concat(e, '"') }) return ( - 'Cannot query field "'.concat(e, '" on type "').concat(t, '".') + - (Object(u.a)('to use an inline fragment on', l) || Object(u.a)(i)) + 'Cannot query field "' + .concat(e, '" on type "') + .concat(t, '".') + + (Object(u.a)('to use an inline fragment on', l) || + Object(u.a)(i)) ) })(a, n.name, s, c), t, @@ -31337,7 +37406,12 @@ and limitations under the License. var l = n.name.value return ( t[l] - ? e.reportError(new r.a('There can be only one fragment named "'.concat(l, '".'), [t[l], n.name])) + ? e.reportError( + new r.a( + 'There can be only one fragment named "'.concat(l, '".'), + [t[l], n.name], + ), + ) : (t[l] = n.name), !1 ) @@ -31355,7 +37429,10 @@ and limitations under the License. return { FragmentSpread: function(t) { var n = t.name.value - e.getFragment(n) || e.reportError(new r.a('Unknown fragment "'.concat(n, '".'), t.name)) + e.getFragment(n) || + e.reportError( + new r.a('Unknown fragment "'.concat(n, '".'), t.name), + ) }, } } @@ -31381,13 +37458,24 @@ and limitations under the License. }, Document: { leave: function() { - for (var u = Object.create(null), i = 0, o = t; i < o.length; i++) { + for ( + var u = Object.create(null), i = 0, o = t; + i < o.length; + i++ + ) { var a = o[i], s = !0, c = !1, d = void 0 try { - for (var f, p = e.getRecursivelyReferencedFragments(a)[Symbol.iterator](); !(s = (f = p.next()).done); s = !0) { + for ( + var f, + p = e + .getRecursivelyReferencedFragments(a) + [Symbol.iterator](); + !(s = (f = p.next()).done); + s = !0 + ) { u[f.value.name.value] = !0 } } catch (e) { @@ -31494,7 +37582,11 @@ and limitations under the License. var c = !1 var d = void 0 try { - for (var f, p = a[Symbol.iterator](); !(s = (f = p.next()).done); s = !0) { + for ( + var f, p = a[Symbol.iterator](); + !(s = (f = p.next()).done); + s = !0 + ) { var h = f.value, m = h.name.value, y = l[m] @@ -31511,7 +37603,9 @@ and limitations under the License. ((b = m), (w = void 0), (w = (T = v).length ? ' via ' + T.join(', ') : ''), - 'Cannot spread fragment "'.concat(b, '" within itself').concat(w, '.')), + 'Cannot spread fragment "' + .concat(b, '" within itself') + .concat(w, '.')), g, ), ) @@ -31554,7 +37648,10 @@ and limitations under the License. ? e.reportError( new r.a( (function(e) { - return 'There can be only one variable named "'.concat(e, '".') + return 'There can be only one variable named "'.concat( + e, + '".', + ) })(l), [t[l], n.variable.name], ), @@ -31572,7 +37669,9 @@ and limitations under the License. var r = n(5) function l(e, t) { return t - ? 'Variable "$'.concat(e, '" is not defined by operation "').concat(t, '".') + ? 'Variable "$' + .concat(e, '" is not defined by operation "') + .concat(t, '".') : 'Variable "$'.concat(e, '" is not defined.') } function u(e) { @@ -31588,10 +37687,15 @@ and limitations under the License. o = !1, a = void 0 try { - for (var s, c = u[Symbol.iterator](); !(i = (s = c.next()).done); i = !0) { + for ( + var s, c = u[Symbol.iterator](); + !(i = (s = c.next()).done); + i = !0 + ) { var d = s.value.node, f = d.name.value - !0 !== t[f] && e.reportError(new r.a(l(f, n.name && n.name.value), [d, n])) + !0 !== t[f] && + e.reportError(new r.a(l(f, n.name && n.name.value), [d, n])) } } catch (e) { ;(o = !0), (a = e) @@ -31618,7 +37722,9 @@ and limitations under the License. var r = n(5) function l(e, t) { return t - ? 'Variable "$'.concat(e, '" is never used in operation "').concat(t, '".') + ? 'Variable "$' + .concat(e, '" is never used in operation "') + .concat(t, '".') : 'Variable "$'.concat(e, '" is never used.') } function u(e) { @@ -31636,7 +37742,11 @@ and limitations under the License. s = !1, c = void 0 try { - for (var d, f = i[Symbol.iterator](); !(a = (d = f.next()).done); a = !0) { + for ( + var d, f = i[Symbol.iterator](); + !(a = (d = f.next()).done); + a = !0 + ) { u[d.value.node.name.value] = !0 } } catch (e) { @@ -31691,7 +37801,11 @@ and limitations under the License. o = !1, c = void 0 try { - for (var f, p = u[Symbol.iterator](); !(i = (f = p.next()).done); i = !0) { + for ( + var f, p = u[Symbol.iterator](); + !(i = (f = p.next()).done); + i = !0 + ) { var h = f.value, m = h.node, y = h.type, @@ -31701,7 +37815,11 @@ and limitations under the License. if (v && y) { var b = e.getSchema(), T = Object(a.a)(b, v.type) - T && !d(b, T, v.defaultValue, y, _) && e.reportError(new l.a(s(g, Object(r.a)(T), Object(r.a)(y)), [v, m])) + T && + !d(b, T, v.defaultValue, y, _) && + e.reportError( + new l.a(s(g, Object(r.a)(T), Object(r.a)(y)), [v, m]), + ) } } } catch (e) { @@ -31751,13 +37869,16 @@ and limitations under the License. .map(function(t) { var n = t[0], r = t[1] - return 'subfields "'.concat(n, '" conflict because ').concat(e(r)) + return 'subfields "' + .concat(n, '" conflict because ') + .concat(e(r)) }) .join(' and ') return t })(t), '. ', - ) + 'Use different aliases on the fields to fetch both if this was intentional.' + ) + + 'Use different aliases on the fields to fetch both if this was intentional.' ) } function f(e) { @@ -31778,7 +37899,11 @@ and limitations under the License. o = !1, a = void 0 try { - for (var s, c = Object(l.a)(u)[Symbol.iterator](); !(i = (s = c.next()).done); i = !0) { + for ( + var s, c = Object(l.a)(u)[Symbol.iterator](); + !(i = (s = c.next()).done); + i = !0 + ) { var d = s.value, f = d[0], p = d[1] @@ -31801,9 +37926,14 @@ and limitations under the License. })(e, i, t, n, a), 0 !== s.length) ) - for (var c = Object.create(null), d = 0; d < s.length; d++) { + for ( + var c = Object.create(null), d = 0; + d < s.length; + d++ + ) { p(e, i, t, c, n, !1, a, s[d]) - for (var f = d + 1; f < s.length; f++) h(e, i, t, n, !1, s[d], s[f]) + for (var f = d + 1; f < s.length; f++) + h(e, i, t, n, !1, s[d], s[f]) } return i })(e, n, t, e.getParentType(), r); @@ -31879,7 +38009,12 @@ and limitations under the License. if (!T) { var D = f.name.value, E = v.name.value - if (D !== E) return [[u, ''.concat(D, ' and ').concat(E, ' are different fields')], [f], [v]] + if (D !== E) + return [ + [u, ''.concat(D, ' and ').concat(E, ' are different fields')], + [f], + [v], + ] if ( !(function(e, t) { if (e.length !== t.length) return !1 @@ -31889,7 +38024,12 @@ and limitations under the License. u = Object(r.a)(t, function(t) { return t.name.value === e.name.value }) - return !!u && ((n = e.value), (l = u.value), (!n && !l) || Object(a.print)(n) === Object(a.print)(l)) + return ( + !!u && + ((n = e.value), + (l = u.value), + (!n && !l) || Object(a.print)(n) === Object(a.print)(l)) + ) }) })(f.arguments || [], v.arguments || []) ) @@ -31907,7 +38047,16 @@ and limitations under the License. return !1 })(w, O) ) - return [[u, 'they return conflicting types '.concat(Object(i.a)(w), ' and ').concat(Object(i.a)(O))], [f], [v]] + return [ + [ + u, + 'they return conflicting types ' + .concat(Object(i.a)(w), ' and ') + .concat(Object(i.a)(O)), + ], + [f], + [v], + ] var L = f.selectionSet, M = v.selectionSet return L && M @@ -31946,9 +38095,14 @@ and limitations under the License. y = f[0], g = f[1] if ((m(e, a, t, n, r, c, y), 0 !== g.length)) - for (var v = Object.create(null), b = 0; b < g.length; b++) p(e, a, t, v, n, r, c, g[b]) - if (0 !== d.length) for (var T = Object.create(null), w = 0; w < d.length; w++) p(e, a, t, T, n, r, y, d[w]) - for (var O = 0; O < d.length; O++) for (var D = 0; D < g.length; D++) h(e, a, t, n, r, d[O], g[D]) + for (var v = Object.create(null), b = 0; b < g.length; b++) + p(e, a, t, v, n, r, c, g[b]) + if (0 !== d.length) + for (var T = Object.create(null), w = 0; w < d.length; w++) + p(e, a, t, T, n, r, y, d[w]) + for (var O = 0; O < d.length; O++) + for (var D = 0; D < g.length; D++) + h(e, a, t, n, r, d[O], g[D]) return a })(e, t, n, T, Object(s.A)(w), L, Object(s.A)(O), M), u, @@ -32027,7 +38181,9 @@ and limitations under the License. function i(e) { if (!(this instanceof i)) return new i(e) if ( - (void 0 !== e.highWaterMark ? r.call(this, { highWaterMark: e.highWaterMark }) : r.call(this), + (void 0 !== e.highWaterMark + ? r.call(this, { highWaterMark: e.highWaterMark }) + : r.call(this), (this._done = !1), (this._parser = void 0), (this._finished = !1), @@ -32050,7 +38206,11 @@ and limitations under the License. if (((this._parser = void 0), e['content-type'])) { for ( var t, n, r = u(e['content-type']), l = 0; - l < o.length && !(t = 'function' == typeof (n = o[l]).detect ? n.detect(r) : n.detect.test(r[0])); + l < o.length && + !(t = + 'function' == typeof (n = o[l]).detect + ? n.detect(r) + : n.detect.test(r[0])); ++l ); if (t) { @@ -32064,7 +38224,8 @@ and limitations under the License. preservePath: !1, } return ( - this.opts.highWaterMark && (i.highWaterMark = this.opts.highWaterMark), + this.opts.highWaterMark && + (i.highWaterMark = this.opts.highWaterMark), this.opts.fileHwm && (i.fileHwm = this.opts.fileHwm), (i.defCharset = this.opts.defCharset), (i.preservePath = this.opts.preservePath), @@ -32075,7 +38236,8 @@ and limitations under the License. throw new Error('Unsupported content type: ' + e['content-type']) }), (i.prototype._write = function(e, t, n) { - if (!this._parser) return n(new Error('Not ready to parse. Missing Content-Type?')) + if (!this._parser) + return n(new Error('Not ready to parse. Missing Content-Type?')) this._parser.write(e, n) }) var o = [n(574), n(578)] @@ -32087,7 +38249,9 @@ and limitations under the License. 'use strict' 'object' == typeof e.exports ? (e.exports = i()) - : ((l = []), void 0 === (u = 'function' == typeof (r = i) ? r.apply(t, l) : r) || (e.exports = u)) + : ((l = []), + void 0 === (u = 'function' == typeof (r = i) ? r.apply(t, l) : r) || + (e.exports = u)) })(0, function() { 'use strict' var e = Object.prototype.toString @@ -32119,31 +38283,50 @@ and limitations under the License. e = e || {} var i = function(e) { return Object.keys(i).reduce(function(t, n) { - return 'create' === n ? t : ('function' == typeof i[n] && (t[n] = i[n].bind(i, e)), t) + return 'create' === n + ? t + : ('function' == typeof i[n] && (t[n] = i[n].bind(i, e)), t) }, {}) } function o(n, r) { - return e.includeInheritedProps || ('number' == typeof r && Array.isArray(n)) || t(n, r) + return ( + e.includeInheritedProps || + ('number' == typeof r && Array.isArray(n)) || + t(n, r) + ) } function a(e, t) { if (o(e, t)) return e[t] } function s(e, t, n, r) { - if (('number' == typeof t && (t = [t]), !t || 0 === t.length)) return e + if (('number' == typeof t && (t = [t]), !t || 0 === t.length)) + return e if ('string' == typeof t) return s(e, t.split('.').map(u), n, r) var l = t[0], i = a(e, l) return 1 === t.length ? ((void 0 !== i && r) || (e[l] = n), i) - : (void 0 === i && ('number' == typeof t[1] ? (e[l] = []) : (e[l] = {})), s(e[l], t.slice(1), n, r)) + : (void 0 === i && + ('number' == typeof t[1] ? (e[l] = []) : (e[l] = {})), + s(e[l], t.slice(1), n, r)) } return ( (i.has = function(n, r) { - if (('number' == typeof r ? (r = [r]) : 'string' == typeof r && (r = r.split('.')), !r || 0 === r.length)) + if ( + ('number' == typeof r + ? (r = [r]) + : 'string' == typeof r && (r = r.split('.')), + !r || 0 === r.length) + ) return !!n for (var i = 0; i < r.length; i++) { var o = u(r[i]) - if (!(('number' == typeof o && l(n) && o < n.length) || (e.includeInheritedProps ? o in Object(n) : t(n, o)))) + if ( + !( + ('number' == typeof o && l(n) && o < n.length) || + (e.includeInheritedProps ? o in Object(n) : t(n, o)) + ) + ) return !1 n = n[o] } @@ -32184,32 +38367,47 @@ and limitations under the License. }), (i.push = function(e, t) { var n = i.get(e, t) - l(n) || ((n = []), i.set(e, t, n)), n.push.apply(n, Array.prototype.slice.call(arguments, 2)) + l(n) || ((n = []), i.set(e, t, n)), + n.push.apply(n, Array.prototype.slice.call(arguments, 2)) }), (i.coalesce = function(e, t, n) { - for (var r, l = 0, u = t.length; l < u; l++) if (void 0 !== (r = i.get(e, t[l]))) return r + for (var r, l = 0, u = t.length; l < u; l++) + if (void 0 !== (r = i.get(e, t[l]))) return r return n }), (i.get = function(e, t, n) { - if (('number' == typeof t && (t = [t]), !t || 0 === t.length)) return e + if (('number' == typeof t && (t = [t]), !t || 0 === t.length)) + return e if (null == e) return n if ('string' == typeof t) return i.get(e, t.split('.'), n) var r = u(t[0]), l = a(e, r) - return void 0 === l ? n : 1 === t.length ? l : i.get(e[r], t.slice(1), n) + return void 0 === l + ? n + : 1 === t.length + ? l + : i.get(e[r], t.slice(1), n) }), (i.del = function(e, t) { if (('number' == typeof t && (t = [t]), null == e)) return e if (n(t)) return e if ('string' == typeof t) return i.del(e, t.split('.')) var r = u(t[0]) - return o(e, r) ? (1 !== t.length ? i.del(e[r], t.slice(1)) : (l(e) ? e.splice(r, 1) : delete e[r], e)) : e + return o(e, r) + ? 1 !== t.length + ? i.del(e[r], t.slice(1)) + : (l(e) ? e.splice(r, 1) : delete e[r], e) + : e }), i ) } var o = i() - return (o.create = i), (o.withInheritedProps = i({ includeInheritedProps: !0 })), o + return ( + (o.create = i), + (o.withInheritedProps = i({ includeInheritedProps: !0 })), + o + ) }) }, function(e, t, n) { @@ -32262,7 +38460,11 @@ and limitations under the License. s(d(e), 'must be a valid pipe') }, port_or_windows_named_pipe: function(e) { - d(e) || s(c(e), 'must be a windows named pipe or a number within range 0 - 65535') + d(e) || + s( + c(e), + 'must be a windows named pipe or a number within range 0 - 65535', + ) }, url: function(e) { s(u.isURL(e, { require_tld: !1 }), 'must be a URL') @@ -32274,7 +38476,8 @@ and limitations under the License. s(u.isIP(e), 'must be an IP address') }, duration: function(e) { - let t = 'must be a positive integer or human readable string (e.g. 3000, "5 days")' + let t = + 'must be a positive integer or human readable string (e.g. 3000, "5 days")' Number.isInteger(e) ? s(e >= 0, t) : s(e.match(/^(\d)+ (.+)$/), t) }, timestamp: function(e) { @@ -32319,23 +38522,47 @@ and limitations under the License. u ) } - const y = { Object: Object, Array: Array, String: String, Number: Number, Boolean: Boolean, RegExp: RegExp }, + const y = { + Object: Object, + Array: Array, + String: String, + Number: Number, + Boolean: Boolean, + RegExp: RegExp, + }, _ = Object.keys(y), g = _.map(function(e) { return y[e] }) function v(e, t, n, r, l, i, o) { - if ('object' == typeof t && null !== t && !Array.isArray(t) && Object.keys(t).length > 0 && !('default' in t)) + if ( + 'object' == typeof t && + null !== t && + !Array.isArray(t) && + Object.keys(t).length > 0 && + !('default' in t) + ) return ( (n[e] = { properties: {} }), void Object.keys(t).forEach(function(u) { v(u, t[u], n[e].properties, r + '.' + u, l, i, o) }) ) - ;('object' != typeof t || Array.isArray(t) || null === t || 0 == Object.keys(t).length) && (t = { default: t }) + ;('object' != typeof t || + Array.isArray(t) || + null === t || + 0 == Object.keys(t).length) && + (t = { default: t }) let c = a(t) - if (((n[e] = c), c.env && (l[c.env] || (l[c.env] = []), l[c.env].push(r)), c.arg)) { - if (i[c.arg]) throw new Error("'" + r + "' reuses a command-line argument: " + c.arg) + if ( + ((n[e] = c), + c.env && (l[c.env] || (l[c.env] = []), l[c.env].push(r)), + c.arg) + ) { + if (i[c.arg]) + throw new Error( + "'" + r + "' reuses a command-line argument: " + c.arg, + ) i[c.arg] = r } !0 === c.sensitive && o.add(r) @@ -32344,22 +38571,36 @@ and limitations under the License. if (g.indexOf(p) >= 0 || _.indexOf(p) >= 0) { let e = 'string' == typeof p ? y[p] : p ;(d = function(t) { - s(Object.prototype.toString.call(t) == Object.prototype.toString.call(new e()), 'must be of type ' + e.name) + s( + Object.prototype.toString.call(t) == + Object.prototype.toString.call(new e()), + 'must be of type ' + e.name, + ) }), (c.format = e.name.toLowerCase()) } else if ('string' == typeof p) { - if (!f[p]) throw new Error("'" + r + "' uses an unknown format type: " + p) + if (!f[p]) + throw new Error("'" + r + "' uses an unknown format type: " + p) d = f[p] } else if (Array.isArray(p)) d = function(e, t) { - s(u.isIn(t, e), 'must be one of the possible values: ' + JSON.stringify(e)) + s( + u.isIn(t, e), + 'must be one of the possible values: ' + JSON.stringify(e), + ) }.bind(null, p) else if ('function' == typeof p) d = p - else if (p && 'function' != typeof p) throw new Error("'" + r + "': `format` must be a function or a known format type.") + else if (p && 'function' != typeof p) + throw new Error( + "'" + r + "': `format` must be a function or a known format type.", + ) if (!d && !p) { let e = Object.prototype.toString.call(c.default) d = function(t) { - s(Object.prototype.toString.call(t) == e, ' should be of type ' + e.replace(/\[.* |]/g, '')) + s( + Object.prototype.toString.call(t) == e, + ' should be of type ' + e.replace(/\[.* |]/g, ''), + ) } } c._format = function(e) { @@ -32412,7 +38653,13 @@ and limitations under the License. } return r })(e, t) - return null == n ? null : 'string' == typeof n.format ? n.format : null != n.default ? typeof n.default : null + return null == n + ? null + : 'string' == typeof n.format + ? n.format + : null != n.default + ? typeof n.default + : null })(n, e) if ('string' == typeof t) { if (p.hasOwnProperty(l)) return p[l](t, r, e) @@ -32448,7 +38695,8 @@ and limitations under the License. let e = t.split(' ') 1 == e.length ? (t = parseInt(t, 10)) - : (e[1].match(/s$/) || (e[1] += 's'), (t = i.duration(parseInt(e[0], 10), e[1]).valueOf())) + : (e[1].match(/s$/) || (e[1] += 's'), + (t = i.duration(parseInt(e[0], 10), e[1]).valueOf())) break } } @@ -32467,7 +38715,8 @@ and limitations under the License. let l = r.shift() if (n && null == e[l]) (e[l] = {}), (e = e[l]) else { - if (!(l in e)) throw new Error("cannot find configuration param '" + t + "'") + if (!(l in e)) + throw new Error("cannot find configuration param '" + t + "'") e = e[l] } } @@ -32557,10 +38806,18 @@ and limitations under the License. let i = l[t] if (!(t in l)) try { - if ('object' != typeof n.default || Array.isArray(n.default)) throw new Error('missing') + if ( + 'object' != typeof n.default || + Array.isArray(n.default) + ) + throw new Error('missing') i = L(e, t) } catch (e) { - const n = new Error("configuration param '" + t + "' missing from config, did you override its parent?") + const n = new Error( + "configuration param '" + + t + + "' missing from config, did you override its parent?", + ) return void r.missing.push(n) } if ( @@ -32583,13 +38840,21 @@ and limitations under the License. }), n && Object.keys(l).forEach(function(e) { - const t = new Error("configuration param '" + e + "' not declared in the schema") + const t = new Error( + "configuration param '" + + e + + "' not declared in the schema", + ) r.undeclared.push(t) }), r ) })(this._instance, this._schema, e.allowed) - if (t.invalid_type.length + t.undeclared.length + t.missing.length) { + if ( + t.invalid_type.length + + t.undeclared.length + + t.missing.length + ) { let n = this._sensitive, r = function(e) { let t = '' @@ -32598,7 +38863,9 @@ and limitations under the License. let l = e[r] l.fullName && (t += l.fullName + ': '), l.message && (t += l.message), - l.value && !n.has(l.fullName) && (t += ': value was ' + JSON.stringify(l.value)) + l.value && + !n.has(l.fullName) && + (t += ': value was ' + JSON.stringify(l.value)) } return t } @@ -32629,7 +38896,15 @@ and limitations under the License. (n._argv = {}), (n._sensitive = new Set()), Object.keys(n._def).forEach(function(e) { - v(e, n._def[e], n._schema.properties, e, n._env, n._argv, n._sensitive) + v( + e, + n._def[e], + n._schema.properties, + e, + n._env, + n._argv, + n._sensitive, + ) }), (n._instance = {}), (function e(t, n, r) { @@ -32647,9 +38922,16 @@ and limitations under the License. ) } ;(M.addFormat = function(e, t, n) { - if (('object' == typeof e && ((t = e.validate), (n = e.coerce), (e = e.name)), 'function' != typeof t)) - throw new Error('Validation function for ' + e + ' must be a function.') - if (n && 'function' != typeof n) throw new Error('Coerce function for ' + e + ' must be a function.') + if ( + ('object' == typeof e && + ((t = e.validate), (n = e.coerce), (e = e.name)), + 'function' != typeof t) + ) + throw new Error( + 'Validation function for ' + e + ' must be a function.', + ) + if (n && 'function' != typeof n) + throw new Error('Coerce function for ' + e + ' must be a function.') ;(f[e] = t), n && (p[e] = n) }), (M.addFormats = function(e) { @@ -32663,9 +38945,14 @@ and limitations under the License. if (!e) throw new Error('Invalid parser') if (!e.extension) throw new Error('Missing parser.extension') if (!e.parse) throw new Error('Missing parser.parse function') - if ('function' != typeof e.parse) throw new Error('Invalid parser.parse function') - ;(Array.isArray(e.extension) ? e.extension : [e.extension]).forEach(function(t) { - if ('string' != typeof t) throw new Error('Invalid parser.extension') + if ('function' != typeof e.parse) + throw new Error('Invalid parser.parse function') + ;(Array.isArray(e.extension) + ? e.extension + : [e.extension] + ).forEach(function(t) { + if ('string' != typeof t) + throw new Error('Invalid parser.extension') h[t] = e.parse }) }) @@ -32698,7 +38985,9 @@ and limitations under the License. process.versions && 'string' == typeof process.versions.node ) { - const [e] = process.versions.node.split('.', 1).map((e) => parseInt(e, 10)) + const [e] = process.versions.node + .split('.', 1) + .map((e) => parseInt(e, 10)) return e >= 8 } return !1 @@ -32716,7 +39005,13 @@ and limitations under the License. s = function(e) { return o.apply(l, arguments) } - r(s, { custom: o.custom, customPromisifyArgs: o.customPromisifyArgs, getPolyfill: i, implementation: u, shim: a }), + r(s, { + custom: o.custom, + customPromisifyArgs: o.customPromisifyArgs, + getPolyfill: i, + implementation: u, + shim: a, + }), (e.exports = s) }, function(e, t, n) { @@ -32729,7 +39024,15 @@ and limitations under the License. o = Object.prototype.propertyIsEnumerable, a = !o.call({ toString: null }, 'toString'), s = o.call(function() {}, 'prototype'), - c = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'], + c = [ + 'toString', + 'toLocaleString', + 'valueOf', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'constructor', + ], d = function(e) { var t = e.constructor return t && t.prototype === e @@ -32763,7 +39066,12 @@ and limitations under the License. if ('undefined' == typeof window) return !1 for (var e in window) try { - if (!f['$' + e] && l.call(window, e) && null !== window[e] && 'object' == typeof window[e]) + if ( + !f['$' + e] && + l.call(window, e) && + null !== window[e] && + 'object' == typeof window[e] + ) try { d(window[e]) } catch (e) { @@ -32780,11 +39088,16 @@ and limitations under the License. r = i(e), o = t && '[object String]' === u.call(e), f = [] - if (!t && !n && !r) throw new TypeError('Object.keys called on a non-object') + if (!t && !n && !r) + throw new TypeError('Object.keys called on a non-object') var h = s && n - if (o && e.length > 0 && !l.call(e, 0)) for (var m = 0; m < e.length; ++m) f.push(String(m)) - if (r && e.length > 0) for (var y = 0; y < e.length; ++y) f.push(String(y)) - else for (var _ in e) (h && 'prototype' === _) || !l.call(e, _) || f.push(String(_)) + if (o && e.length > 0 && !l.call(e, 0)) + for (var m = 0; m < e.length; ++m) f.push(String(m)) + if (r && e.length > 0) + for (var y = 0; y < e.length; ++y) f.push(String(y)) + else + for (var _ in e) + (h && 'prototype' === _) || !l.call(e, _) || f.push(String(_)) if (a) for ( var g = (function(e) { @@ -32809,7 +39122,8 @@ and limitations under the License. 'use strict' var r = n(117), l = n(166) - r(l, { getPolyfill: n(174), implementation: l, shim: n(431) }), (e.exports = l) + r(l, { getPolyfill: n(174), implementation: l, shim: n(431) }), + (e.exports = l) }, function(e, t, n) { 'use strict' @@ -32822,7 +39136,9 @@ and limitations under the License. u = l(l({}, r), { SameValueNonNumber: function(e, t) { if ('number' == typeof e || typeof e != typeof t) - throw new TypeError('SameValueNonNumber requires two non-number values of the same type.') + throw new TypeError( + 'SameValueNonNumber requires two non-number values of the same type.', + ) return this.SameValue(e, t) }, }) @@ -32873,7 +39189,9 @@ and limitations under the License. Q = d.getOwnPropertyDescriptor, U = d.isExtensible, q = d.defineProperty, - W = ['\t\n\v\f\r   ᠎    ', '          \u2028', '\u2029\ufeff'].join(''), + W = ['\t\n\v\f\r   ᠎    ', '          \u2028', '\u2029\ufeff'].join( + '', + ), G = new RegExp('(^[' + W + ']+)|([' + W + ']+$)', 'g'), $ = E.call(Function.call, c.prototype.replace), z = n(428), @@ -32887,7 +39205,8 @@ and limitations under the License. ToPrimitive: l, ToNumber: function(e) { var t = O(e) ? e : l(e, f) - if ('symbol' == typeof t) throw new o('Cannot convert a Symbol value to a number') + if ('symbol' == typeof t) + throw new o('Cannot convert a Symbol value to a number') if ('string' == typeof t) { if (S(t)) return this.ToNumber(D(M(t, 2), 2)) if (k(t)) return this.ToNumber(D(M(t, 2), 8)) @@ -32918,10 +39237,17 @@ and limitations under the License. if (_(t) || t <= 0) return 0 if (t >= 255) return 255 var n = B(e) - return n + 0.5 < t ? n + 1 : t < n + 0.5 ? n : n % 2 != 0 ? n + 1 : n + return n + 0.5 < t + ? n + 1 + : t < n + 0.5 + ? n + : n % 2 != 0 + ? n + 1 + : n }, ToString: function(e) { - if ('symbol' == typeof e) throw new o('Cannot convert a Symbol value to a string') + if ('symbol' == typeof e) + throw new o('Cannot convert a Symbol value to a string') return c(e) }, ToObject: function(e) { @@ -32977,11 +39303,13 @@ and limitations under the License. return e === t || (_(e) && _(t)) }, GetV: function(e, t) { - if (!this.IsPropertyKey(t)) throw new o('Assertion failed: IsPropertyKey(P) is not true') + if (!this.IsPropertyKey(t)) + throw new o('Assertion failed: IsPropertyKey(P) is not true') return this.ToObject(e)[t] }, GetMethod: function(e, t) { - if (!this.IsPropertyKey(t)) throw new o('Assertion failed: IsPropertyKey(P) is not true') + if (!this.IsPropertyKey(t)) + throw new o('Assertion failed: IsPropertyKey(P) is not true') var n = this.GetV(e, t) if (null != n) { if (!this.IsCallable(n)) throw new o(t + 'is not a function') @@ -32989,18 +39317,22 @@ and limitations under the License. } }, Get: function(e, t) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(O) is not Object') - if (!this.IsPropertyKey(t)) throw new o('Assertion failed: IsPropertyKey(P) is not true') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(O) is not Object') + if (!this.IsPropertyKey(t)) + throw new o('Assertion failed: IsPropertyKey(P) is not true') return e[t] }, Type: function(e) { return 'symbol' == typeof e ? 'Symbol' : z.Type(e) }, SpeciesConstructor: function(e, t) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(O) is not Object') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(O) is not Object') var n = e.constructor if (void 0 === n) return t - if ('Object' !== this.Type(n)) throw new o('O.constructor is not an Object') + if ('Object' !== this.Type(n)) + throw new o('O.constructor is not an Object') var r = m && p.species ? n[p.species] : void 0 if (null == r) return t if (this.IsConstructor(r)) return r @@ -33010,8 +39342,10 @@ and limitations under the License. return ( y(this, 'Property Descriptor', 'Desc', e), this.IsGenericDescriptor(e) || this.IsDataDescriptor(e) - ? (r(e, '[[Value]]') || (e['[[Value]]'] = void 0), r(e, '[[Writable]]') || (e['[[Writable]]'] = !1)) - : (r(e, '[[Get]]') || (e['[[Get]]'] = void 0), r(e, '[[Set]]') || (e['[[Set]]'] = void 0)), + ? (r(e, '[[Value]]') || (e['[[Value]]'] = void 0), + r(e, '[[Writable]]') || (e['[[Writable]]'] = !1)) + : (r(e, '[[Get]]') || (e['[[Get]]'] = void 0), + r(e, '[[Set]]') || (e['[[Set]]'] = void 0)), r(e, '[[Enumerable]]') || (e['[[Enumerable]]'] = !1), r(e, '[[Configurable]]') || (e['[[Configurable]]'] = !1), e @@ -33020,7 +39354,8 @@ and limitations under the License. Set: function(e, t, n, r) { if ('Object' !== this.Type(e)) throw new o('O must be an Object') if (!this.IsPropertyKey(t)) throw new o('P must be a Property Key') - if ('Boolean' !== this.Type(r)) throw new o('Throw must be a Boolean') + if ('Boolean' !== this.Type(r)) + throw new o('Throw must be a Boolean') if (r) return (e[t] = n), !0 try { e[t] = n @@ -33053,24 +39388,31 @@ and limitations under the License. return this.Call(r, e, n) }, GetIterator: function(e, t) { - if (!m) throw new SyntaxError('ES.GetIterator depends on native iterator support.') + if (!m) + throw new SyntaxError( + 'ES.GetIterator depends on native iterator support.', + ) var n = t arguments.length < 2 && (n = this.GetMethod(e, p.iterator)) var r = this.Call(n, e) - if ('Object' !== this.Type(r)) throw new o('iterator must return an object') + if ('Object' !== this.Type(r)) + throw new o('iterator must return an object') return r }, IteratorNext: function(e, t) { var n = this.Invoke(e, 'next', arguments.length < 2 ? [] : [t]) - if ('Object' !== this.Type(n)) throw new o('iterator next must return an object') + if ('Object' !== this.Type(n)) + throw new o('iterator next must return an object') return n }, IteratorComplete: function(e) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(iterResult) is not Object') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(iterResult) is not Object') return this.ToBoolean(this.Get(e, 'done')) }, IteratorValue: function(e) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(iterResult) is not Object') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(iterResult) is not Object') return this.Get(e, 'value') }, IteratorStep: function(e) { @@ -33078,8 +39420,12 @@ and limitations under the License. return !0 !== this.IteratorComplete(t) && t }, IteratorClose: function(e, t) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(iterator) is not Object') - if (!this.IsCallable(t)) throw new o('Assertion failed: completion is not a thunk for a Completion Record') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(iterator) is not Object') + if (!this.IsCallable(t)) + throw new o( + 'Assertion failed: completion is not a thunk for a Completion Record', + ) var n, r = t, l = this.GetMethod(e, 'return') @@ -33089,11 +39435,13 @@ and limitations under the License. } catch (e) { throw ((n = r()), (r = null), e) } - if (((n = r()), (r = null), 'Object' !== this.Type(u))) throw new o('iterator .return must return an object') + if (((n = r()), (r = null), 'Object' !== this.Type(u))) + throw new o('iterator .return must return an object') return n }, CreateIterResultObject: function(e, t) { - if ('Boolean' !== this.Type(t)) throw new o('Assertion failed: Type(done) is not Boolean') + if ('Boolean' !== this.Type(t)) + throw new o('Assertion failed: Type(done) is not Boolean') return { value: e, done: t } }, RegExpExec: function(e, t) { @@ -33108,13 +39456,18 @@ and limitations under the License. return j(e, t) }, ArraySpeciesCreate: function(e, t) { - if (!this.IsInteger(t) || t < 0) throw new o('Assertion failed: length must be an integer >= 0') + if (!this.IsInteger(t) || t < 0) + throw new o('Assertion failed: length must be an integer >= 0') var n, r = 0 === t ? 0 : t if ( (this.IsArray(e) && ((n = this.Get(e, 'constructor')), - 'Object' === this.Type(n) && m && p.species && null === (n = this.Get(n, p.species)) && (n = void 0)), + 'Object' === this.Type(n) && + m && + p.species && + null === (n = this.Get(n, p.species)) && + (n = void 0)), void 0 === n) ) return s(r) @@ -33122,32 +39475,51 @@ and limitations under the License. return new n(r) }, CreateDataProperty: function(e, t, n) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(O) is not Object') - if (!this.IsPropertyKey(t)) throw new o('Assertion failed: IsPropertyKey(P) is not true') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(O) is not Object') + if (!this.IsPropertyKey(t)) + throw new o('Assertion failed: IsPropertyKey(P) is not true') var r = Q(e, t), l = r || 'function' != typeof U || U(e) return ( !(!(!r || (r.writable && r.configurable)) || !l) && - (q(e, t, { configurable: !0, enumerable: !0, value: n, writable: !0 }), !0) + (q(e, t, { + configurable: !0, + enumerable: !0, + value: n, + writable: !0, + }), + !0) ) }, CreateDataPropertyOrThrow: function(e, t, n) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(O) is not Object') - if (!this.IsPropertyKey(t)) throw new o('Assertion failed: IsPropertyKey(P) is not true') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(O) is not Object') + if (!this.IsPropertyKey(t)) + throw new o('Assertion failed: IsPropertyKey(P) is not true') var r = this.CreateDataProperty(e, t, n) if (!r) throw new o('unable to create data property') return r }, ObjectCreate: function(e, t) { - if (null !== e && 'Object' !== this.Type(e)) throw new o('Assertion failed: proto must be null or an object') - if ((arguments.length < 2 ? [] : t).length > 0) throw new a('es-abstract does not yet support internal slots') - if (null === e && !V) throw new a('native Object.create support is required to create null objects') + if (null !== e && 'Object' !== this.Type(e)) + throw new o('Assertion failed: proto must be null or an object') + if ((arguments.length < 2 ? [] : t).length > 0) + throw new a('es-abstract does not yet support internal slots') + if (null === e && !V) + throw new a( + 'native Object.create support is required to create null objects', + ) return V(e) }, AdvanceStringIndex: function(e, t, n) { if ('String' !== this.Type(e)) throw new o('S must be a String') - if (!this.IsInteger(t) || t < 0 || t > v) throw new o('Assertion failed: length must be an integer >= 0 and <= 2**53') - if ('Boolean' !== this.Type(n)) throw new o('Assertion failed: unicode must be a Boolean') + if (!this.IsInteger(t) || t < 0 || t > v) + throw new o( + 'Assertion failed: length must be an integer >= 0 and <= 2**53', + ) + if ('Boolean' !== this.Type(n)) + throw new o('Assertion failed: unicode must be a Boolean') if (!n) return t + 1 if (t + 1 >= e.length) return t + 1 var r = P(e, t) @@ -33156,24 +39528,36 @@ and limitations under the License. return l < 56320 || l > 57343 ? t + 1 : t + 2 }, CreateMethodProperty: function(e, t, n) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(O) is not Object') - if (!this.IsPropertyKey(t)) throw new o('Assertion failed: IsPropertyKey(P) is not true') - return !!q(e, t, { configurable: !0, enumerable: !1, value: n, writable: !0 }) + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(O) is not Object') + if (!this.IsPropertyKey(t)) + throw new o('Assertion failed: IsPropertyKey(P) is not true') + return !!q(e, t, { + configurable: !0, + enumerable: !1, + value: n, + writable: !0, + }) }, DefinePropertyOrThrow: function(e, t, n) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(O) is not Object') - if (!this.IsPropertyKey(t)) throw new o('Assertion failed: IsPropertyKey(P) is not true') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(O) is not Object') + if (!this.IsPropertyKey(t)) + throw new o('Assertion failed: IsPropertyKey(P) is not true') return !!q(e, t, n) }, DeletePropertyOrThrow: function(e, t) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(O) is not Object') - if (!this.IsPropertyKey(t)) throw new o('Assertion failed: IsPropertyKey(P) is not true') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(O) is not Object') + if (!this.IsPropertyKey(t)) + throw new o('Assertion failed: IsPropertyKey(P) is not true') var n = delete e[t] if (!n) throw new TypeError('Attempt to delete property failed.') return n }, EnumerableOwnNames: function(e) { - if ('Object' !== this.Type(e)) throw new o('Assertion failed: Type(O) is not Object') + if ('Object' !== this.Type(e)) + throw new o('Assertion failed: Type(O) is not Object') return u(e) }, thisNumberValue: function(e) { @@ -33198,10 +39582,26 @@ and limitations under the License. e.exports = function(e) { var t = this if ('function' != typeof t || '[object Function]' !== l.call(t)) - throw new TypeError('Function.prototype.bind called on incompatible ' + t) - for (var n, u = r.call(arguments, 1), i = Math.max(0, t.length - u.length), o = [], a = 0; a < i; a++) o.push('$' + a) + throw new TypeError( + 'Function.prototype.bind called on incompatible ' + t, + ) + for ( + var n, + u = r.call(arguments, 1), + i = Math.max(0, t.length - u.length), + o = [], + a = 0; + a < i; + a++ + ) + o.push('$' + a) if ( - ((n = Function('binder', 'return function (' + o.join(',') + '){ return binder.apply(this,arguments); }')(function() { + ((n = Function( + 'binder', + 'return function (' + + o.join(',') + + '){ return binder.apply(this,arguments); }', + )(function() { if (this instanceof n) { var l = t.apply(this, u.concat(r.call(arguments))) return Object(l) === l ? l : this @@ -33211,7 +39611,9 @@ and limitations under the License. t.prototype) ) { var s = function() {} - ;(s.prototype = t.prototype), (n.prototype = new s()), (s.prototype = null) + ;(s.prototype = t.prototype), + (n.prototype = new s()), + (s.prototype = null) } return n } @@ -33232,13 +39634,24 @@ and limitations under the License. var t, n = 'default' if ( - (arguments.length > 1 && (arguments[1] === String ? (n = 'string') : arguments[1] === Number && (n = 'number')), + (arguments.length > 1 && + (arguments[1] === String + ? (n = 'string') + : arguments[1] === Number && (n = 'number')), r && (Symbol.toPrimitive ? (t = (function(e, t) { var n = e[t] if (null != n) { - if (!u(n)) throw new TypeError(n + ' returned for property ' + t + ' of object ' + e + ' is not a function') + if (!u(n)) + throw new TypeError( + n + + ' returned for property ' + + t + + ' of object ' + + e + + ' is not a function', + ) return n } })(e, Symbol.toPrimitive)) @@ -33258,8 +39671,12 @@ and limitations under the License. var n, r, i, - o = 'string' === t ? ['toString', 'valueOf'] : ['valueOf', 'toString'] - for (i = 0; i < o.length; ++i) if (((n = e[o[i]]), u(n) && ((r = n.call(e)), l(r)))) return r + o = + 'string' === t + ? ['toString', 'valueOf'] + : ['valueOf', 'toString'] + for (i = 0; i < o.length; ++i) + if (((n = e[o[i]]), u(n) && ((r = n.call(e)), l(r)))) return r throw new TypeError('No default value') })(e, 'default' === n ? 'number' : n) ) @@ -33315,14 +39732,20 @@ and limitations under the License. e.exports = function() { return ( 'function' == typeof r && - ('function' == typeof Symbol && ('symbol' == typeof r('foo') && ('symbol' == typeof Symbol('bar') && l()))) + ('function' == typeof Symbol && + ('symbol' == typeof r('foo') && + ('symbol' == typeof Symbol('bar') && l()))) ) } }, function(e, t, n) { 'use strict' e.exports = function() { - if ('function' != typeof Symbol || 'function' != typeof Object.getOwnPropertySymbols) return !1 + if ( + 'function' != typeof Symbol || + 'function' != typeof Object.getOwnPropertySymbols + ) + return !1 if ('symbol' == typeof Symbol.iterator) return !0 var e = {}, t = Symbol('test'), @@ -33331,8 +39754,13 @@ and limitations under the License. if ('[object Symbol]' !== Object.prototype.toString.call(t)) return !1 if ('[object Symbol]' !== Object.prototype.toString.call(n)) return !1 for (t in ((e[t] = 42), e)) return !1 - if ('function' == typeof Object.keys && 0 !== Object.keys(e).length) return !1 - if ('function' == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(e).length) return !1 + if ('function' == typeof Object.keys && 0 !== Object.keys(e).length) + return !1 + if ( + 'function' == typeof Object.getOwnPropertyNames && + 0 !== Object.getOwnPropertyNames(e).length + ) + return !1 var r = Object.getOwnPropertySymbols(e) if (1 !== r.length || r[0] !== t) return !1 if (!Object.prototype.propertyIsEnumerable.call(e, t)) return !1 @@ -33372,7 +39800,11 @@ and limitations under the License. }, ToInteger: function(e) { var t = this.ToNumber(e) - return a(t) ? 0 : 0 !== t && s(t) ? c(t) * Math.floor(Math.abs(t)) : t + return a(t) + ? 0 + : 0 !== t && s(t) + ? c(t) * Math.floor(Math.abs(t)) + : t }, ToInt32: function(e) { return this.ToNumber(e) >> 0 @@ -33428,24 +39860,39 @@ and limitations under the License. for (var n in e) if (h(e, n) && !t[n]) return !1 var r = h(e, '[[Value]]'), l = h(e, '[[Get]]') || h(e, '[[Set]]') - if (r && l) throw new u('Property Descriptors may not be both accessor and data descriptors') + if (r && l) + throw new u( + 'Property Descriptors may not be both accessor and data descriptors', + ) return !0 }, IsAccessorDescriptor: function(e) { - return void 0 !== e && (o(this, 'Property Descriptor', 'Desc', e), !(!h(e, '[[Get]]') && !h(e, '[[Set]]'))) + return ( + void 0 !== e && + (o(this, 'Property Descriptor', 'Desc', e), + !(!h(e, '[[Get]]') && !h(e, '[[Set]]'))) + ) }, IsDataDescriptor: function(e) { - return void 0 !== e && (o(this, 'Property Descriptor', 'Desc', e), !(!h(e, '[[Value]]') && !h(e, '[[Writable]]'))) + return ( + void 0 !== e && + (o(this, 'Property Descriptor', 'Desc', e), + !(!h(e, '[[Value]]') && !h(e, '[[Writable]]'))) + ) }, IsGenericDescriptor: function(e) { return ( void 0 !== e && - (o(this, 'Property Descriptor', 'Desc', e), !this.IsAccessorDescriptor(e) && !this.IsDataDescriptor(e)) + (o(this, 'Property Descriptor', 'Desc', e), + !this.IsAccessorDescriptor(e) && !this.IsDataDescriptor(e)) ) }, FromPropertyDescriptor: function(e) { if (void 0 === e) return e - if ((o(this, 'Property Descriptor', 'Desc', e), this.IsDataDescriptor(e))) + if ( + (o(this, 'Property Descriptor', 'Desc', e), + this.IsDataDescriptor(e)) + ) return { value: e['[[Value]]'], writable: !!e['[[Writable]]'], @@ -33459,29 +39906,42 @@ and limitations under the License. enumerable: !!e['[[Enumerable]]'], configurable: !!e['[[Configurable]]'], } - throw new u('FromPropertyDescriptor must be called with a fully populated Property Descriptor') + throw new u( + 'FromPropertyDescriptor must be called with a fully populated Property Descriptor', + ) }, ToPropertyDescriptor: function(e) { - if ('Object' !== this.Type(e)) throw new u('ToPropertyDescriptor requires an object') + if ('Object' !== this.Type(e)) + throw new u('ToPropertyDescriptor requires an object') var t = {} if ( - (h(e, 'enumerable') && (t['[[Enumerable]]'] = this.ToBoolean(e.enumerable)), - h(e, 'configurable') && (t['[[Configurable]]'] = this.ToBoolean(e.configurable)), + (h(e, 'enumerable') && + (t['[[Enumerable]]'] = this.ToBoolean(e.enumerable)), + h(e, 'configurable') && + (t['[[Configurable]]'] = this.ToBoolean(e.configurable)), h(e, 'value') && (t['[[Value]]'] = e.value), - h(e, 'writable') && (t['[[Writable]]'] = this.ToBoolean(e.writable)), + h(e, 'writable') && + (t['[[Writable]]'] = this.ToBoolean(e.writable)), h(e, 'get')) ) { var n = e.get - if (void 0 !== n && !this.IsCallable(n)) throw new TypeError('getter must be a function') + if (void 0 !== n && !this.IsCallable(n)) + throw new TypeError('getter must be a function') t['[[Get]]'] = n } if (h(e, 'set')) { var r = e.set - if (void 0 !== r && !this.IsCallable(r)) throw new u('setter must be a function') + if (void 0 !== r && !this.IsCallable(r)) + throw new u('setter must be a function') t['[[Set]]'] = r } - if ((h(t, '[[Get]]') || h(t, '[[Set]]')) && (h(t, '[[Value]]') || h(t, '[[Writable]]'))) - throw new u('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute') + if ( + (h(t, '[[Get]]') || h(t, '[[Set]]')) && + (h(t, '[[Value]]') || h(t, '[[Writable]]')) + ) + throw new u( + 'Invalid property descriptor. Cannot both specify accessors and a value or writable attribute', + ) return t }, } @@ -33495,13 +39955,20 @@ and limitations under the License. i = function(e) { var t if ( - (t = arguments.length > 1 ? arguments[1] : '[object Date]' === r.call(e) ? String : Number) === String || + (t = + arguments.length > 1 + ? arguments[1] + : '[object Date]' === r.call(e) + ? String + : Number) === String || t === Number ) { var n, i, - o = t === String ? ['toString', 'valueOf'] : ['valueOf', 'toString'] - for (i = 0; i < o.length; ++i) if (u(e[o[i]]) && ((n = e[o[i]]()), l(n))) return n + o = + t === String ? ['toString', 'valueOf'] : ['valueOf', 'toString'] + for (i = 0; i < o.length; ++i) + if (u(e[o[i]]) && ((n = e[o[i]]()), l(n))) return n throw new TypeError('No default value') } throw new TypeError('invalid [[DefaultValue]] hint supplied') @@ -33562,14 +40029,22 @@ and limitations under the License. l = n(175) e.exports = function() { var e = l() - return e !== r.promisify && ((r.promisify = e), Object.defineProperty(r, 'promisify', { value: e })), e + return ( + e !== r.promisify && + ((r.promisify = e), + Object.defineProperty(r, 'promisify', { value: e })), + e + ) } }, function(e, t, n) { 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }) var r = n(94) - ;(t.fetch = r.default), (t.Request = r.Request), (t.Response = r.Response), (t.Headers = r.Headers) + ;(t.fetch = r.default), + (t.Request = r.Request), + (t.Response = r.Response), + (t.Headers = r.Headers) }, function(e, t, n) { 'use strict' @@ -33593,29 +40068,46 @@ and limitations under the License. const n = t.arguments.find((e) => 'maxAge' === e.name.value), r = t.arguments.find((e) => 'scope' === e.name.value) return { - maxAge: n && n.value && 'IntValue' === n.value.kind ? parseInt(n.value.value) : void 0, - scope: r && r.value && 'EnumValue' === r.value.kind ? r.value.value : void 0, + maxAge: + n && n.value && 'IntValue' === n.value.kind + ? parseInt(n.value.value) + : void 0, + scope: + r && r.value && 'EnumValue' === r.value.kind + ? r.value.value + : void 0, } } function i(e, t) { - return t ? { maxAge: void 0 !== t.maxAge ? t.maxAge : e.maxAge, scope: t.scope || e.scope } : e + return t + ? { + maxAge: void 0 !== t.maxAge ? t.maxAge : e.maxAge, + scope: t.scope || e.scope, + } + : e } t.CacheControlExtension = class { constructor(e = {}) { - ;(this.options = e), (this.hints = new Map()), (this.defaultMaxAge = e.defaultMaxAge || 0) + ;(this.options = e), + (this.hints = new Map()), + (this.defaultMaxAge = e.defaultMaxAge || 0) } willResolveField(e, t, n, l) { let o = {} const a = r.getNamedType(l.returnType) - ;(a instanceof r.GraphQLObjectType || a instanceof r.GraphQLInterfaceType) && + ;(a instanceof r.GraphQLObjectType || + a instanceof r.GraphQLInterfaceType) && a.astNode && (o = i(o, u(a.astNode.directives))) const s = l.parentType.getFields()[l.fieldName] s.astNode && (o = i(o, u(s.astNode.directives))), - (a instanceof r.GraphQLObjectType || a instanceof r.GraphQLInterfaceType || !l.path.prev) && + (a instanceof r.GraphQLObjectType || + a instanceof r.GraphQLInterfaceType || + !l.path.prev) && void 0 === o.maxAge && (o.maxAge = this.defaultMaxAge), - (void 0 === o.maxAge && void 0 === o.scope) || this.addHint(l.path, o), + (void 0 === o.maxAge && void 0 === o.scope) || + this.addHint(l.path, o), (l.cacheControl = { setCacheHint: (e) => { this.addHint(l.path, e) @@ -33633,24 +40125,38 @@ and limitations under the License. 'cacheControl', { version: 1, - hints: Array.from(this.hints).map(([e, t]) => Object.assign({ path: [...r.responsePathAsArray(e)] }, t)), + hints: Array.from(this.hints).map(([e, t]) => + Object.assign({ path: [...r.responsePathAsArray(e)] }, t), + ), }, ] } willSendResponse(e) { - if (!this.options.calculateHttpHeaders || !e.graphqlResponse.http || e.graphqlResponse.errors) return + if ( + !this.options.calculateHttpHeaders || + !e.graphqlResponse.http || + e.graphqlResponse.errors + ) + return const t = this.computeOverallCachePolicy() - t && e.graphqlResponse.http.headers.set('Cache-Control', `max-age=${t.maxAge}, ${t.scope.toLowerCase()}`) + t && + e.graphqlResponse.http.headers.set( + 'Cache-Control', + `max-age=${t.maxAge}, ${t.scope.toLowerCase()}`, + ) } overrideOverallCachePolicy(e) { this.overallCachePolicyOverride = e } computeOverallCachePolicy() { - if (this.overallCachePolicyOverride) return this.overallCachePolicyOverride + if (this.overallCachePolicyOverride) + return this.overallCachePolicyOverride let e = void 0, t = l.Public for (const n of this.hints.values()) - void 0 !== n.maxAge && (e = void 0 !== e ? Math.min(e, n.maxAge) : n.maxAge), n.scope === l.Private && (t = l.Private) + void 0 !== n.maxAge && + (e = void 0 !== e ? Math.min(e, n.maxAge) : n.maxAge), + n.scope === l.Private && (t = l.Private) return e ? { maxAge: e, scope: t } : void 0 } } @@ -33667,11 +40173,13 @@ and limitations under the License. this.resolverCalls = [] } requestDidStart() { - ;(this.startWallTime = new Date()), (this.startHrTime = process.hrtime()) + ;(this.startWallTime = new Date()), + (this.startHrTime = process.hrtime()) } executionDidStart() { return () => { - ;(this.duration = process.hrtime(this.startHrTime)), (this.endWallTime = new Date()) + ;(this.duration = process.hrtime(this.startHrTime)), + (this.endWallTime = new Date()) } } willResolveField(e, t, n, r) { @@ -33690,7 +40198,11 @@ and limitations under the License. ) } format() { - if (void 0 !== this.startWallTime && void 0 !== this.endWallTime && void 0 !== this.duration) + if ( + void 0 !== this.startWallTime && + void 0 !== this.endWallTime && + void 0 !== this.duration + ) return [ 'tracing', { @@ -33830,7 +40342,11 @@ and limitations under the License. return Array.isArray(e) || 'string' == typeof e ? e.length : 1 } t.InMemoryLRUCache = class { - constructor({ maxSize: e = 1 / 0, sizeCalculator: t = i, onDispose: n } = {}) { + constructor({ + maxSize: e = 1 / 0, + sizeCalculator: t = i, + onDispose: n, + } = {}) { this.store = new u.default({ max: e, length: t, dispose: n }) } get(e) { @@ -33881,7 +40397,8 @@ and limitations under the License. const t = r.value if (y(e, t)) { if ((g(e, r), !e[o])) return - } else n && (e[p] && (r.value.now = Date.now()), e[d].unshiftNode(r)) + } else + n && (e[p] && (r.value.now = Date.now()), e[d].unshiftNode(r)) return t.value } }, @@ -33900,25 +40417,41 @@ and limitations under the License. g = (e, t) => { if (t) { const n = t.value - e[s] && e[s](n.key, n.value), (e[u] -= n.length), e[f].delete(n.key), e[d].removeNode(t) + e[s] && e[s](n.key, n.value), + (e[u] -= n.length), + e[f].delete(n.key), + e[d].removeNode(t) } } class v { constructor(e, t, n, r, l) { - ;(this.key = e), (this.value = t), (this.length = n), (this.now = r), (this.maxAge = l || 0) + ;(this.key = e), + (this.value = t), + (this.length = n), + (this.now = r), + (this.maxAge = l || 0) } } const b = (e, t, n, r) => { let l = n.value - y(e, l) && (g(e, n), e[o] || (l = void 0)), l && t.call(r, l.value, l.key, e) + y(e, l) && (g(e, n), e[o] || (l = void 0)), + l && t.call(r, l.value, l.key, e) } e.exports = class { constructor(e) { - if (('number' == typeof e && (e = { max: e }), e || (e = {}), e.max && ('number' != typeof e.max || e.max < 0))) + if ( + ('number' == typeof e && (e = { max: e }), + e || (e = {}), + e.max && ('number' != typeof e.max || e.max < 0)) + ) throw new TypeError('max must be a non-negative number') this[l] = e.max || 1 / 0 const t = e.length || h - if (((this[i] = 'function' != typeof t ? h : t), (this[o] = e.stale || !1), e.maxAge && 'number' != typeof e.maxAge)) + if ( + ((this[i] = 'function' != typeof t ? h : t), + (this[o] = e.stale || !1), + e.maxAge && 'number' != typeof e.maxAge) + ) throw new TypeError('maxAge must be a number') ;(this[a] = e.maxAge || 0), (this[s] = e.dispose), @@ -33927,7 +40460,8 @@ and limitations under the License. this.reset() } set max(e) { - if ('number' != typeof e || e < 0) throw new TypeError('max must be a non-negative number') + if ('number' != typeof e || e < 0) + throw new TypeError('max must be a non-negative number') ;(this[l] = e || 1 / 0), _(this) } get max() { @@ -33940,7 +40474,8 @@ and limitations under the License. return this[o] } set maxAge(e) { - if ('number' != typeof e) throw new TypeError('maxAge must be a non-negative number') + if ('number' != typeof e) + throw new TypeError('maxAge must be a non-negative number') ;(this[a] = e), _(this) } get maxAge() { @@ -33986,14 +40521,24 @@ and limitations under the License. return this[d].toArray().map((e) => e.value) } reset() { - this[s] && this[d] && this[d].length && this[d].forEach((e) => this[s](e.key, e.value)), + this[s] && + this[d] && + this[d].length && + this[d].forEach((e) => this[s](e.key, e.value)), (this[f] = new Map()), (this[d] = new r()), (this[u] = 0) } dump() { return this[d] - .map((e) => !y(this, e) && { k: e.key, v: e.value, e: e.now + (e.maxAge || 0) }) + .map( + (e) => + !y(this, e) && { + k: e.key, + v: e.value, + e: e.now + (e.maxAge || 0), + }, + ) .toArray() .filter((e) => e) } @@ -34001,7 +40546,8 @@ and limitations under the License. return this[d] } set(e, t, n) { - if ((n = n || this[a]) && 'number' != typeof n) throw new TypeError('maxAge must be a number') + if ((n = n || this[a]) && 'number' != typeof n) + throw new TypeError('maxAge must be a number') const r = n ? Date.now() : 0, o = this[i](t, e) if (this[f].has(e)) { @@ -34022,7 +40568,11 @@ and limitations under the License. const p = new v(e, t, o, r, n) return p.length > this[l] ? (this[s] && this[s](e, t), !1) - : ((this[u] += p.length), this[d].unshift(p), this[f].set(e, this[d].head), _(this), !0) + : ((this[u] += p.length), + this[d].unshift(p), + this[f].set(e, this[d].head), + _(this), + !0) } has(e) { if (!this[f].has(e)) return !1 @@ -34065,19 +40615,28 @@ and limitations under the License. function r(e) { var t = this if ( - (t instanceof r || (t = new r()), (t.tail = null), (t.head = null), (t.length = 0), e && 'function' == typeof e.forEach) + (t instanceof r || (t = new r()), + (t.tail = null), + (t.head = null), + (t.length = 0), + e && 'function' == typeof e.forEach) ) e.forEach(function(e) { t.push(e) }) - else if (arguments.length > 0) for (var n = 0, l = arguments.length; n < l; n++) t.push(arguments[n]) + else if (arguments.length > 0) + for (var n = 0, l = arguments.length; n < l; n++) t.push(arguments[n]) return t } function l(e, t) { - ;(e.tail = new i(t, e.tail, null, e)), e.head || (e.head = e.tail), e.length++ + ;(e.tail = new i(t, e.tail, null, e)), + e.head || (e.head = e.tail), + e.length++ } function u(e, t) { - ;(e.head = new i(t, null, e.head, e)), e.tail || (e.tail = e.head), e.length++ + ;(e.head = new i(t, null, e.head, e)), + e.tail || (e.tail = e.head), + e.length++ } function i(e, t, n, r) { if (!(this instanceof i)) return new i(e, t, n, r) @@ -34090,7 +40649,8 @@ and limitations under the License. (r.Node = i), (r.create = r), (r.prototype.removeNode = function(e) { - if (e.list !== this) throw new Error('removing node which does not belong to this list') + if (e.list !== this) + throw new Error('removing node which does not belong to this list') var t = e.next, n = e.prev t && (t.prev = n), @@ -34106,43 +40666,67 @@ and limitations under the License. if (e !== this.head) { e.list && e.list.removeNode(e) var t = this.head - ;(e.list = this), (e.next = t), t && (t.prev = e), (this.head = e), this.tail || (this.tail = e), this.length++ + ;(e.list = this), + (e.next = t), + t && (t.prev = e), + (this.head = e), + this.tail || (this.tail = e), + this.length++ } }), (r.prototype.pushNode = function(e) { if (e !== this.tail) { e.list && e.list.removeNode(e) var t = this.tail - ;(e.list = this), (e.prev = t), t && (t.next = e), (this.tail = e), this.head || (this.head = e), this.length++ + ;(e.list = this), + (e.prev = t), + t && (t.next = e), + (this.tail = e), + this.head || (this.head = e), + this.length++ } }), (r.prototype.push = function() { - for (var e = 0, t = arguments.length; e < t; e++) l(this, arguments[e]) + for (var e = 0, t = arguments.length; e < t; e++) + l(this, arguments[e]) return this.length }), (r.prototype.unshift = function() { - for (var e = 0, t = arguments.length; e < t; e++) u(this, arguments[e]) + for (var e = 0, t = arguments.length; e < t; e++) + u(this, arguments[e]) return this.length }), (r.prototype.pop = function() { if (this.tail) { var e = this.tail.value - return (this.tail = this.tail.prev), this.tail ? (this.tail.next = null) : (this.head = null), this.length--, e + return ( + (this.tail = this.tail.prev), + this.tail ? (this.tail.next = null) : (this.head = null), + this.length--, + e + ) } }), (r.prototype.shift = function() { if (this.head) { var e = this.head.value - return (this.head = this.head.next), this.head ? (this.head.prev = null) : (this.tail = null), this.length--, e + return ( + (this.head = this.head.next), + this.head ? (this.head.prev = null) : (this.tail = null), + this.length--, + e + ) } }), (r.prototype.forEach = function(e, t) { t = t || this - for (var n = this.head, r = 0; null !== n; r++) e.call(t, n.value, r, this), (n = n.next) + for (var n = this.head, r = 0; null !== n; r++) + e.call(t, n.value, r, this), (n = n.next) }), (r.prototype.forEachReverse = function(e, t) { t = t || this - for (var n = this.tail, r = this.length - 1; null !== n; r--) e.call(t, n.value, r, this), (n = n.prev) + for (var n = this.tail, r = this.length - 1; null !== n; r--) + e.call(t, n.value, r, this), (n = n.prev) }), (r.prototype.get = function(e) { for (var t = 0, n = this.head; null !== n && t < e; t++) n = n.next @@ -34154,12 +40738,14 @@ and limitations under the License. }), (r.prototype.map = function(e, t) { t = t || this - for (var n = new r(), l = this.head; null !== l; ) n.push(e.call(t, l.value, this)), (l = l.next) + for (var n = new r(), l = this.head; null !== l; ) + n.push(e.call(t, l.value, this)), (l = l.next) return n }), (r.prototype.mapReverse = function(e, t) { t = t || this - for (var n = new r(), l = this.tail; null !== l; ) n.push(e.call(t, l.value, this)), (l = l.prev) + for (var n = new r(), l = this.tail; null !== l; ) + n.push(e.call(t, l.value, this)), (l = l.prev) return n }), (r.prototype.reduce = function(e, t) { @@ -34167,7 +40753,8 @@ and limitations under the License. r = this.head if (arguments.length > 1) n = t else { - if (!this.head) throw new TypeError('Reduce of empty list with no initial value') + if (!this.head) + throw new TypeError('Reduce of empty list with no initial value') ;(r = this.head.next), (n = this.head.value) } for (var l = 0; null !== r; l++) (n = e(n, r.value, l)), (r = r.next) @@ -34178,22 +40765,35 @@ and limitations under the License. r = this.tail if (arguments.length > 1) n = t else { - if (!this.tail) throw new TypeError('Reduce of empty list with no initial value') + if (!this.tail) + throw new TypeError('Reduce of empty list with no initial value') ;(r = this.tail.prev), (n = this.tail.value) } - for (var l = this.length - 1; null !== r; l--) (n = e(n, r.value, l)), (r = r.prev) + for (var l = this.length - 1; null !== r; l--) + (n = e(n, r.value, l)), (r = r.prev) return n }), (r.prototype.toArray = function() { - for (var e = new Array(this.length), t = 0, n = this.head; null !== n; t++) (e[t] = n.value), (n = n.next) + for ( + var e = new Array(this.length), t = 0, n = this.head; + null !== n; + t++ + ) + (e[t] = n.value), (n = n.next) return e }), (r.prototype.toArrayReverse = function() { - for (var e = new Array(this.length), t = 0, n = this.tail; null !== n; t++) (e[t] = n.value), (n = n.prev) + for ( + var e = new Array(this.length), t = 0, n = this.tail; + null !== n; + t++ + ) + (e[t] = n.value), (n = n.prev) return e }), (r.prototype.slice = function(e, t) { - ;(t = t || this.length) < 0 && (t += this.length), (e = e || 0) < 0 && (e += this.length) + ;(t = t || this.length) < 0 && (t += this.length), + (e = e || 0) < 0 && (e += this.length) var n = new r() if (t < e || t < 0) return n e < 0 && (e = 0), t > this.length && (t = this.length) @@ -34202,16 +40802,22 @@ and limitations under the License. return n }), (r.prototype.sliceReverse = function(e, t) { - ;(t = t || this.length) < 0 && (t += this.length), (e = e || 0) < 0 && (e += this.length) + ;(t = t || this.length) < 0 && (t += this.length), + (e = e || 0) < 0 && (e += this.length) var n = new r() if (t < e || t < 0) return n e < 0 && (e = 0), t > this.length && (t = this.length) - for (var l = this.length, u = this.tail; null !== u && l > t; l--) u = u.prev + for (var l = this.length, u = this.tail; null !== u && l > t; l--) + u = u.prev for (; null !== u && l > e; l--, u = u.prev) n.push(u.value) return n }), (r.prototype.reverse = function() { - for (var e = this.head, t = this.tail, n = e; null !== n; n = n.prev) { + for ( + var e = this.head, t = this.tail, n = e; + null !== n; + n = n.prev + ) { var r = n.prev ;(n.prev = n.next), (n.next = r) } @@ -34260,7 +40866,11 @@ and limitations under the License. return (e << 30) | (e >>> 2) } function c(e, t, n, r) { - return 0 === e ? (t & n) | (~t & r) : 2 === e ? (t & n) | (t & r) | (n & r) : t ^ n ^ r + return 0 === e + ? (t & n) | (~t & r) + : 2 === e + ? (t & n) | (t & r) | (n & r) + : t ^ n ^ r } r(a, l), (a.prototype.init = function() { @@ -34275,7 +40885,14 @@ and limitations under the License. }), (a.prototype._update = function(e) { for ( - var t, n = this._w, r = 0 | this._a, l = 0 | this._b, u = 0 | this._c, o = 0 | this._d, a = 0 | this._e, d = 0; + var t, + n = this._w, + r = 0 | this._a, + l = 0 | this._b, + u = 0 | this._c, + o = 0 | this._d, + a = 0 | this._e, + d = 0; d < 16; ++d ) @@ -34283,7 +40900,13 @@ and limitations under the License. for (; d < 80; ++d) n[d] = n[d - 3] ^ n[d - 8] ^ n[d - 14] ^ n[d - 16] for (var f = 0; f < 80; ++f) { var p = ~~(f / 20), - h = 0 | ((((t = r) << 5) | (t >>> 27)) + c(p, l, u, o) + a + n[f] + i[p]) + h = + 0 | + ((((t = r) << 5) | (t >>> 27)) + + c(p, l, u, o) + + a + + n[f] + + i[p]) ;(a = o), (o = u), (u = s(l)), (l = r), (r = h) } ;(this._a = (r + this._a) | 0), @@ -34310,13 +40933,20 @@ and limitations under the License. ? (e.exports = function(e, t) { ;(e.super_ = t), (e.prototype = Object.create(t.prototype, { - constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 }, + constructor: { + value: e, + enumerable: !1, + writable: !0, + configurable: !0, + }, })) }) : (e.exports = function(e, t) { e.super_ = t var n = function() {} - ;(n.prototype = t.prototype), (e.prototype = new n()), (e.prototype.constructor = e) + ;(n.prototype = t.prototype), + (e.prototype = new n()), + (e.prototype.constructor = e) }) }, function(e, t) { @@ -34338,7 +40968,11 @@ and limitations under the License. return (e << 30) | (e >>> 2) } function d(e, t, n, r) { - return 0 === e ? (t & n) | (~t & r) : 2 === e ? (t & n) | (t & r) | (n & r) : t ^ n ^ r + return 0 === e + ? (t & n) | (~t & r) + : 2 === e + ? (t & n) | (t & r) | (n & r) + : t ^ n ^ r } r(a, l), (a.prototype.init = function() { @@ -34353,12 +40987,22 @@ and limitations under the License. }), (a.prototype._update = function(e) { for ( - var t, n = this._w, r = 0 | this._a, l = 0 | this._b, u = 0 | this._c, o = 0 | this._d, a = 0 | this._e, f = 0; + var t, + n = this._w, + r = 0 | this._a, + l = 0 | this._b, + u = 0 | this._c, + o = 0 | this._d, + a = 0 | this._e, + f = 0; f < 16; ++f ) n[f] = e.readInt32BE(4 * f) - for (; f < 80; ++f) n[f] = ((t = n[f - 3] ^ n[f - 8] ^ n[f - 14] ^ n[f - 16]) << 1) | (t >>> 31) + for (; f < 80; ++f) + n[f] = + ((t = n[f - 3] ^ n[f - 8] ^ n[f - 14] ^ n[f - 16]) << 1) | + (t >>> 31) for (var p = 0; p < 80; ++p) { var h = ~~(p / 20), m = (s(r) + d(h, l, u, o) + a + n[p] + i[h]) | 0 @@ -34518,11 +41162,19 @@ and limitations under the License. (this && this.__rest) || function(e, t) { var n = {} - for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]) - if (null != e && 'function' == typeof Object.getOwnPropertySymbols) { + for (var r in e) + Object.prototype.hasOwnProperty.call(e, r) && + t.indexOf(r) < 0 && + (n[r] = e[r]) + if ( + null != e && + 'function' == typeof Object.getOwnPropertySymbols + ) { var l = 0 for (r = Object.getOwnPropertySymbols(e); l < r.length; l++) - t.indexOf(r[l]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[l]) && (n[r[l]] = e[r[l]]) + t.indexOf(r[l]) < 0 && + Object.prototype.propertyIsEnumerable.call(e, r[l]) && + (n[r[l]] = e[r[l]]) } return n }, @@ -34558,7 +41210,8 @@ and limitations under the License. }) function b(e) { const t = process.env.ENGINE_API_KEY || '' - if (!1 !== e) return 'object' == typeof e && e.apiKey ? e.apiKey : t || void 0 + if (!1 !== e) + return 'object' == typeof e && e.apiKey ? e.apiKey : t || void 0 } const T = process && !1 function w(e) { @@ -34614,7 +41267,9 @@ and limitations under the License. 'gateway', ]) if (S && (c || u || d || r)) - throw new Error('Cannot define both `gateway` and any of: `modules`, `schema`, `typeDefs`, or `resolvers`') + throw new Error( + 'Cannot define both `gateway` and any of: `modules`, `schema`, `typeDefs`, or `resolvers`', + ) if ( ((this.parseOptions = p), (this.context = t), @@ -34622,14 +41277,24 @@ and limitations under the License. ('boolean' == typeof h && !h) || void 0 === h) ) { const e = [v] - k.validationRules = k.validationRules ? k.validationRules.concat(e) : e + k.validationRules = k.validationRules + ? k.validationRules.concat(e) + : e } if ( (!1 !== k.cacheControl && ('boolean' == typeof k.cacheControl && !0 === k.cacheControl - ? (k.cacheControl = { stripFormattedExtensions: !1, calculateHttpHeaders: !1, defaultMaxAge: 0 }) + ? (k.cacheControl = { + stripFormattedExtensions: !1, + calculateHttpHeaders: !1, + defaultMaxAge: 0, + }) : (k.cacheControl = Object.assign( - { stripFormattedExtensions: !0, calculateHttpHeaders: !0, defaultMaxAge: 0 }, + { + stripFormattedExtensions: !0, + calculateHttpHeaders: !0, + defaultMaxAge: 0, + }, k.cacheControl, ))), k.cache || (k.cache = new a.InMemoryLRUCache()), @@ -34672,16 +41337,24 @@ and limitations under the License. '', ].join('\n'), ), - new Error('`graphql-upload` is no longer supported on Node.js < v8.5.0. See https://bit.ly/gql-upload-node-6.')) + new Error( + '`graphql-upload` is no longer supported on Node.js < v8.5.0. See https://bit.ly/gql-upload-node-6.', + )) this.uploadsConfig = !0 === E || void 0 === E ? {} : E } else if (E) throw new Error( 'This implementation of ApolloServer does not support file uploads because the environment cannot accept multi-part forms', ) if (O && 'object' == typeof O) { - if (O.maskErrorDetails && O.rewriteError) throw new Error("Can't set both maskErrorDetails and rewriteError!") - if (O.rewriteError && 'function' != typeof O.rewriteError) throw new Error('rewriteError must be a function') - O.maskErrorDetails && ((O.rewriteError = () => new o.GraphQLError('')), delete O.maskErrorDetails) + if (O.maskErrorDetails && O.rewriteError) + throw new Error( + "Can't set both maskErrorDetails and rewriteError!", + ) + if (O.rewriteError && 'function' != typeof O.rewriteError) + throw new Error('rewriteError must be a function') + O.maskErrorDetails && + ((O.rewriteError = () => new o.GraphQLError('')), + delete O.maskErrorDetails) } this.engineServiceId = (function(e) { const t = b(e) @@ -34697,7 +41370,9 @@ and limitations under the License. this.engineServiceId) ) { const { EngineReportingAgent: e } = n(236) - this.engineReportingAgent = new e('object' == typeof O ? O : Object.create(null)) + this.engineReportingAgent = new e( + 'object' == typeof O ? O : Object.create(null), + ) } if (S && !1 !== D) throw new Error( @@ -34717,13 +41392,20 @@ and limitations under the License. ? { path: D } : Object.assign({ path: this.graphqlPath }, D)), (this.subscriptionsPath = this.subscriptionServerOptions.path) - else if (D) throw new Error('This implementation of ApolloServer does not support GraphQL subscriptions.') + else if (D) + throw new Error( + 'This implementation of ApolloServer does not support GraphQL subscriptions.', + ) this.playgroundOptions = f.createPlaygroundOptions(L) const C = this.initSchema() if (C instanceof o.GraphQLSchema) { const e = this.generateSchemaDerivedData(C) - ;(this.schema = e.schema), (this.schemaDerivedData = Promise.resolve(e)) - } else this.schemaDerivedData = C.then((e) => this.generateSchemaDerivedData(e)) + ;(this.schema = e.schema), + (this.schemaDerivedData = Promise.resolve(e)) + } else + this.schemaDerivedData = C.then((e) => + this.generateSchemaDerivedData(e), + ) } setGraphQLPath(e) { this.graphqlPath = e @@ -34741,25 +41423,48 @@ and limitations under the License. } = this.config if (e) { this.toDispose.add( - e.onSchemaChange((e) => (this.schemaDerivedData = Promise.resolve(this.generateSchemaDerivedData(e)))), + e.onSchemaChange( + (e) => + (this.schemaDerivedData = Promise.resolve( + this.generateSchemaDerivedData(e), + )), + ), ) const n = (function(e) { - return !1 === e ? void 0 : 'object' == typeof e && e.schemaTag ? e.schemaTag : process.env.ENGINE_SCHEMA_TAG + return !1 === e + ? void 0 + : 'object' == typeof e && e.schemaTag + ? e.schemaTag + : process.env.ENGINE_SCHEMA_TAG })(t), r = this.engineApiKeyHash && this.engineServiceId - ? Object.assign({ apiKeyHash: this.engineApiKeyHash, graphId: this.engineServiceId }, n && { graphVariant: n }) + ? Object.assign( + { + apiKeyHash: this.engineApiKeyHash, + graphId: this.engineServiceId, + }, + n && { graphVariant: n }, + ) : void 0 - return e.load({ engine: r }).then((e) => ((this.requestOptions.executor = e.executor), e.schema)) + return e + .load({ engine: r }) + .then( + (e) => ((this.requestOptions.executor = e.executor), e.schema), + ) } let c if (r) c = r else if (l) { const { schema: e, errors: t } = g.buildServiceDefinition(l) - if (t && t.length > 0) throw new Error(t.map((e) => e.message).join('\n\n')) + if (t && t.length > 0) + throw new Error(t.map((e) => e.message).join('\n\n')) c = e } else { - if (!u) throw Error('Apollo Server requires either an existing schema, modules or typeDefs') + if (!u) + throw Error( + 'Apollo Server requires either an existing schema, modules or typeDefs', + ) const e = Array.isArray(u) ? u : [u] if ( (h.isDirectiveDefined(e, 'cacheControl') || @@ -34777,12 +41482,19 @@ and limitations under the License. this.uploadsConfig) ) { const { GraphQLUpload: t } = n(152) - Array.isArray(o) ? o.every((e) => !e.Upload) && o.push({ Upload: t }) : o && !o.Upload && (o.Upload = t), + Array.isArray(o) + ? o.every((e) => !e.Upload) && o.push({ Upload: t }) + : o && !o.Upload && (o.Upload = t), e.push(d.gql` scalar Upload `) } - c = i.makeExecutableSchema({ typeDefs: e, schemaDirectives: a, resolvers: o, parseOptions: s }) + c = i.makeExecutableSchema({ + typeDefs: e, + schemaDirectives: a, + resolvers: o, + parseOptions: s, + }) } return c } @@ -34823,7 +41535,10 @@ and limitations under the License. n.serverWillStart({ schema: e, schemaHash: t, - engine: { serviceID: this.engineServiceId, apiKeyHash: this.engineApiKeyHash }, + engine: { + serviceID: this.engineServiceId, + apiKeyHash: this.engineApiKeyHash, + }, persistedQueries: this.requestOptions.persistedQueries, }), ), @@ -34833,23 +41548,39 @@ and limitations under the License. stop() { return r(this, void 0, void 0, function*() { this.toDispose.forEach((e) => e()), - this.subscriptionServer && (yield this.subscriptionServer.close()), - this.engineReportingAgent && (this.engineReportingAgent.stop(), yield this.engineReportingAgent.sendAllReports()) + this.subscriptionServer && + (yield this.subscriptionServer.close()), + this.engineReportingAgent && + (this.engineReportingAgent.stop(), + yield this.engineReportingAgent.sendAllReports()) }) } installSubscriptionHandlers(e) { if (!this.subscriptionServerOptions) { - if (this.config.gateway) throw Error('Subscriptions are not supported when operating as a gateway') + if (this.config.gateway) + throw Error( + 'Subscriptions are not supported when operating as a gateway', + ) throw this.supportsSubscriptions() - ? Error('Subscriptions are disabled, due to subscriptions set to false in the ApolloServer constructor') + ? Error( + 'Subscriptions are disabled, due to subscriptions set to false in the ApolloServer constructor', + ) : Error( 'Subscriptions are not supported, choose an integration, such as apollo-server-express that allows persistent connections', ) } const { SubscriptionServer: t } = n(586), - { onDisconnect: l, onConnect: u, keepAlive: i, path: a } = this.subscriptionServerOptions, + { + onDisconnect: l, + onConnect: u, + keepAlive: i, + path: a, + } = this.subscriptionServerOptions, s = this.schema - if (void 0 === this.schema) throw new Error('Schema undefined during creation of subscription server.') + if (void 0 === this.schema) + throw new Error( + 'Schema undefined during creation of subscription server.', + ) this.subscriptionServer = t.create( { schema: s, @@ -34870,7 +41601,13 @@ and limitations under the License. }) let n = this.context ? this.context : { connection: t } try { - n = 'function' == typeof this.context ? yield this.context({ connection: t, payload: e.payload }) : n + n = + 'function' == typeof this.context + ? yield this.context({ + connection: t, + payload: e.payload, + }) + : n } catch (e) { throw c.formatApolloErrors([e], { formatter: this.requestOptions.formatError, @@ -34899,17 +41636,26 @@ and limitations under the License. return !!o.isScalarType(r) && 'String' == r.name } ensurePluginInstantiation(e) { - e && e.length && (this.plugins = e.map((e) => ('function' == typeof e ? e() : e))) + e && + e.length && + (this.plugins = e.map((e) => ('function' == typeof e ? e() : e))) } initializeDocumentStore() { - return new a.InMemoryLRUCache({ maxSize: 30 * Math.pow(2, 20), sizeCalculator: w }) + return new a.InMemoryLRUCache({ + maxSize: 30 * Math.pow(2, 20), + sizeCalculator: w, + }) } graphQLServerOptions(e) { return r(this, void 0, void 0, function*() { - const { schema: t, documentStore: n, extensions: r } = yield this.schemaDerivedData + const { schema: t, documentStore: n, extensions: r } = yield this + .schemaDerivedData let l = this.context ? this.context : {} try { - l = 'function' == typeof this.context ? yield this.context(e || {}) : l + l = + 'function' == typeof this.context + ? yield this.context(e || {}) + : l } catch (e) { l = () => { throw e @@ -34937,7 +41683,8 @@ and limitations under the License. try { t = yield this.graphQLServerOptions() } catch (e) { - throw ((e.message = `Invalid options provided to ApolloServer: ${e.message}`), new Error(e)) + throw ((e.message = `Invalid options provided to ApolloServer: ${e.message}`), + new Error(e)) } 'function' == typeof t.context && (t.context = t.context()) const n = { @@ -34995,7 +41742,9 @@ and limitations under the License. var u = s.getType(e) if (!u && '__schema' !== e) { if (y) return - throw new r.SchemaError('"' + e + '" defined in resolvers, but not in schema') + throw new r.SchemaError( + '"' + e + '" defined in resolvers, but not in schema', + ) } Object.keys(t).forEach(function(n) { if (n.startsWith('__')) u[n.substring(2)] = t[n] @@ -35004,26 +41753,43 @@ and limitations under the License. if (u instanceof l.GraphQLEnumType) { if (!u.getValue(n)) { if (y) return - throw new r.SchemaError(e + '.' + n + ' was defined in resolvers, but enum is not in schema') + throw new r.SchemaError( + e + + '.' + + n + + ' was defined in resolvers, but enum is not in schema', + ) } - return (v[u.name] = v[u.name] || {}), void (v[u.name][n] = t[n]) + return ( + (v[u.name] = v[u.name] || {}), void (v[u.name][n] = t[n]) + ) } var i = (function(e) { - return e instanceof l.GraphQLObjectType || e instanceof l.GraphQLInterfaceType ? e.getFields() : void 0 + return e instanceof l.GraphQLObjectType || + e instanceof l.GraphQLInterfaceType + ? e.getFields() + : void 0 })(u) if (!i) { if (y) return - throw new r.SchemaError(e + " was defined in resolvers, but it's not an object") + throw new r.SchemaError( + e + " was defined in resolvers, but it's not an object", + ) } if (!i[n]) { if (y) return - throw new r.SchemaError(e + '.' + n + ' defined in resolvers, but not in schema') + throw new r.SchemaError( + e + '.' + n + ' defined in resolvers, but not in schema', + ) } var o = i[n], s = t[n] if ('function' == typeof s) a(o, { resolve: s }) else { - if ('object' != typeof s) throw new r.SchemaError('Resolver ' + e + '.' + n + ' must be object or function') + if ('object' != typeof s) + throw new r.SchemaError( + 'Resolver ' + e + '.' + n + ' must be object or function', + ) a(o, s) } } @@ -35056,7 +41822,9 @@ and limitations under the License. u = {} return ( l.forEach(function(e) { - var n = Object.keys(t).includes(e.name) ? t[e.name] : e.name + var n = Object.keys(t).includes(e.name) + ? t[e.name] + : e.name u[e.name] = { value: n, deprecationReason: e.deprecationReason, @@ -35064,7 +41832,12 @@ and limitations under the License. astNode: e.astNode, } }), - new r.GraphQLEnumType({ name: e.name, description: e.description, astNode: e.astNode, values: u }) + new r.GraphQLEnumType({ + name: e.name, + description: e.description, + astNode: e.astNode, + values: u, + }) ) } return e @@ -35099,15 +41872,20 @@ and limitations under the License. n = Math.random() return function(r, l, u, i) { return ( - i.operation.__runAtMostOnce || (i.operation.__runAtMostOnce = {}), - i.operation.__runAtMostOnce[n] || ((i.operation.__runAtMostOnce[n] = !0), (t = e(r, l, u, i))), + i.operation.__runAtMostOnce || + (i.operation.__runAtMostOnce = {}), + i.operation.__runAtMostOnce[n] || + ((i.operation.__runAtMostOnce[n] = !0), + (t = e(r, l, u, i))), t ) } })(t), u = n.getFields() Object.keys(u).forEach(function(i) { - n === e.getSubscriptionType() ? (u[i].resolve = l(u[i].resolve, t)) : (u[i].resolve = l(u[i].resolve, r)) + n === e.getSubscriptionType() + ? (u[i].resolve = l(u[i].resolve, t)) + : (u[i].resolve = l(u[i].resolve, r)) }) }) } @@ -35118,7 +41896,10 @@ and limitations under the License. l = n(53) function u(e, t, n) { if (e.resolve) { - if ('function' != typeof e.resolve) throw new l.SchemaError('Resolver "' + t + '.' + n + '" must be a function') + if ('function' != typeof e.resolve) + throw new l.SchemaError( + 'Resolver "' + t + '.' + n + '" must be a function', + ) } else console.warn( 'Resolve function missing for "' + @@ -35143,7 +41924,9 @@ and limitations under the License. l.forEachField(e, function(e, t, n) { c && u(e, t, n), i && e.args.length > 0 && u(e, t, n), - !a || r.getNamedType(e.type) instanceof r.GraphQLScalarType || u(e, t, n) + !a || + r.getNamedType(e.type) instanceof r.GraphQLScalarType || + u(e, t, n) }) } }, @@ -35166,7 +41949,11 @@ and limitations under the License. function n() { this.constructor = e } - r(e, t), (e.prototype = null === t ? Object.create(t) : ((n.prototype = t.prototype), new n())) + r(e, t), + (e.prototype = + null === t + ? Object.create(t) + : ((n.prototype = t.prototype), new n())) }), u = (this && this.__awaiter) || @@ -35229,7 +42016,12 @@ and limitations under the License. if ( ((n = 1), r && - (l = 2 & u[0] ? r.return : u[0] ? r.throw || ((l = r.return) && l.call(r), 0) : r.next) && + (l = + 2 & u[0] + ? r.return + : u[0] + ? r.throw || ((l = r.return) && l.call(r), 0) + : r.next) && !(l = l.call(r, u[1])).done) ) return l @@ -35247,11 +42039,17 @@ and limitations under the License. ;(u = i.ops.pop()), i.trys.pop() continue default: - if (!(l = (l = i.trys).length > 0 && l[l.length - 1]) && (6 === u[0] || 2 === u[0])) { + if ( + !(l = (l = i.trys).length > 0 && l[l.length - 1]) && + (6 === u[0] || 2 === u[0]) + ) { i = 0 continue } - if (3 === u[0] && (!l || (u[1] > l[0] && u[1] < l[3]))) { + if ( + 3 === u[0] && + (!l || (u[1] > l[0] && u[1] < l[3])) + ) { i.label = u[1] break } @@ -35282,8 +42080,14 @@ and limitations under the License. var o = n(8), a = n(102) t.default = function(e, t) { - if ('object' != typeof t) throw new Error('Expected directiveResolvers to be of type object, got ' + typeof t) - if (Array.isArray(t)) throw new Error('Expected directiveResolvers to be of type object, got Array') + if ('object' != typeof t) + throw new Error( + 'Expected directiveResolvers to be of type object, got ' + typeof t, + ) + if (Array.isArray(t)) + throw new Error( + 'Expected directiveResolvers to be of type object, got Array', + ) var n = Object.create(null) Object.keys(t).forEach(function(e) { n[e] = (function(n) { @@ -35298,7 +42102,8 @@ and limitations under the License. a = n.resolve || o.defaultFieldResolver, s = this.args n.resolve = function() { - for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t] + for (var e = [], t = 0; t < arguments.length; t++) + e[t] = arguments[t] var o = e[0], c = e[2], d = e[3] @@ -35329,29 +42134,50 @@ and limitations under the License. var r = n(8), l = n(457), u = n(53), - i = l.deprecated({ version: '0.7.0', url: 'https://github.com/apollostack/graphql-tools/issues/140' }, function(e, t) { - if (!(e && e instanceof r.GraphQLSchema)) - throw new Error( - 'schema must be an instance of GraphQLSchema. This error could be caused by installing more than one version of GraphQL-JS', - ) - if ('object' != typeof t) throw new Error('Expected connectors to be of type object, got ' + typeof t) - if (0 === Object.keys(t).length) throw new Error('Expected connectors to not be an empty object') - if (Array.isArray(t)) throw new Error('Expected connectors to be of type object, got Array') - if (e._apolloConnectorsAttached) throw new Error('Connectors already attached to context, cannot attach more than once') - e._apolloConnectorsAttached = !0 - u.addSchemaLevelResolveFunction(e, function(e, n, r) { - if ('object' != typeof r) throw new Error('Cannot attach connector because context is not an object: ' + typeof r) - return ( - void 0 === r.connectors && (r.connectors = {}), - Object.keys(t).forEach(function(e) { - var n = t[e] - if (!n.prototype) throw new Error('Connector must be a function or an class') - r.connectors[e] = new n(r) - }), - e - ) - }) - }) + i = l.deprecated( + { + version: '0.7.0', + url: 'https://github.com/apollostack/graphql-tools/issues/140', + }, + function(e, t) { + if (!(e && e instanceof r.GraphQLSchema)) + throw new Error( + 'schema must be an instance of GraphQLSchema. This error could be caused by installing more than one version of GraphQL-JS', + ) + if ('object' != typeof t) + throw new Error( + 'Expected connectors to be of type object, got ' + typeof t, + ) + if (0 === Object.keys(t).length) + throw new Error('Expected connectors to not be an empty object') + if (Array.isArray(t)) + throw new Error( + 'Expected connectors to be of type object, got Array', + ) + if (e._apolloConnectorsAttached) + throw new Error( + 'Connectors already attached to context, cannot attach more than once', + ) + e._apolloConnectorsAttached = !0 + u.addSchemaLevelResolveFunction(e, function(e, n, r) { + if ('object' != typeof r) + throw new Error( + 'Cannot attach connector because context is not an object: ' + + typeof r, + ) + return ( + void 0 === r.connectors && (r.connectors = {}), + Object.keys(t).forEach(function(e) { + var n = t[e] + if (!n.prototype) + throw new Error('Connector must be a function or an class') + r.connectors[e] = new n(r) + }), + e + ) + }) + }, + ) t.default = i }, function(e, t, n) { @@ -35359,8 +42185,12 @@ and limitations under the License. function r(e, t, n, r, l) { var u = {} return function() { - var i = ((new Error().stack || '').match(/(?:\s+at\s.+){2}\s+at\s(.+)/) || [void 0, ''])[1] - if (!((i = /\)$/.test(i) ? i.match(/[^(]+(?=\)$)/)[0] : i.trim()) in u)) { + var i = ((new Error().stack || '').match( + /(?:\s+at\s.+){2}\s+at\s(.+)/, + ) || [void 0, ''])[1] + if ( + !((i = /\)$/.test(i) ? i.match(/[^(]+(?=\)$)/)[0] : i.trim()) in u) + ) { var o switch (((u[i] = !0), e)) { case 'class': @@ -35388,7 +42218,11 @@ and limitations under the License. function l(e, n, l, u, i, o) { var a = (t.options.getWarner || r)(e, n, u, i, o), s = { - enumerable: (l = l || { writable: !0, enumerable: !1, configurable: !0 }).enumerable, + enumerable: (l = l || { + writable: !0, + enumerable: !1, + configurable: !0, + }).enumerable, configurable: l.configurable, } if (l.get || l.set) @@ -35426,12 +42260,15 @@ and limitations under the License. ) { var f = d[c], p = Object.getOwnPropertyDescriptor(n, f) - p.writable ? (s[f] = n[f]) : p.configurable && Object.defineProperty(s, f, p) + p.writable + ? (s[f] = n[f]) + : p.configurable && Object.defineProperty(s, f, p) } return s } function i() { - for (var e = [], t = 0; t < arguments.length; t++) e[t - 0] = arguments[t] + for (var e = [], t = 0; t < arguments.length; t++) + e[t - 0] = arguments[t] var n = e[e.length - 1] n = 'function' == typeof n ? e.pop() : void 0 var r, @@ -35439,16 +42276,35 @@ and limitations under the License. o, a = e[0] return ( - 'string' == typeof a ? ((r = a), (i = e[1]), (o = e[2])) : a && ((r = a.alternative), (i = a.version), (o = a.url)), + 'string' == typeof a + ? ((r = a), (i = e[1]), (o = e[2])) + : a && ((r = a.alternative), (i = a.version), (o = a.url)), n ? u('function', n, r, i, o) : function(e, t, n) { - if ('string' == typeof t) return l(n && 'function' == typeof n.value ? 'method' : 'property', t, n, r, i, o) + if ('string' == typeof t) + return l( + n && 'function' == typeof n.value ? 'method' : 'property', + t, + n, + r, + i, + o, + ) if ('function' == typeof e) { - for (var a = u('class', e, r, i, o), s = e.name, c = 0, d = Object.getOwnPropertyNames(a); c < d.length; c++) { + for ( + var a = u('class', e, r, i, o), + s = e.name, + c = 0, + d = Object.getOwnPropertyNames(a); + c < d.length; + c++ + ) { var f = d[c], p = Object.getOwnPropertyDescriptor(a, f) - ;(p = l('class', s, p, r, i, o)).writable ? (a[f] = e[f]) : p.configurable && Object.defineProperty(a, f, p) + ;(p = l('class', s, p, r, i, o)).writable + ? (a[f] = e[f]) + : p.configurable && Object.defineProperty(a, f, p) } return a } @@ -35476,7 +42332,9 @@ and limitations under the License. else if ('string' != typeof u) { if (!Array.isArray(u)) { var i = typeof u - throw new l.SchemaError('typeDefs must be a string, array or schema AST, got ' + i) + throw new l.SchemaError( + 'typeDefs must be a string, array or schema AST, got ' + i, + ) } u = l.concatenateTypeDefs(u) } @@ -35508,9 +42366,16 @@ and limitations under the License. return e.getType(t) }) .forEach(function(e) { - if ((e instanceof r.GraphQLUnionType || e instanceof r.GraphQLInterfaceType) && !e.resolveType) { + if ( + (e instanceof r.GraphQLUnionType || + e instanceof r.GraphQLInterfaceType) && + !e.resolveType + ) { if (!1 === t) return - if (!0 === t) throw new l.SchemaError('Type "' + e.name + '" is missing a "resolveType" resolver') + if (!0 === t) + throw new l.SchemaError( + 'Type "' + e.name + '" is missing a "resolveType" resolver', + ) console.warn( 'Type "' + e.name + @@ -35535,7 +42400,10 @@ and limitations under the License. else { if ('string' != typeof t) { var u = typeof t - throw new l.SchemaError('typeDef array must contain only strings and functions, got ' + u) + throw new l.SchemaError( + 'typeDef array must contain only strings and functions, got ' + + u, + ) } i.push(t.trim()) } @@ -35557,7 +42425,9 @@ and limitations under the License. var l = function(e) { var r = new Error() ;(r.stack = e.stack), - n && ((r.originalMessage = e.message), (r.message = 'Error in resolver ' + n + '\n' + e.message)), + n && + ((r.originalMessage = e.message), + (r.message = 'Error in resolver ' + n + '\n' + e.message)), t.log(r) } return function(t, n, r, u) { @@ -35587,7 +42457,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -35620,7 +42491,13 @@ and limitations under the License. i = 'EnumTypeExtension' t.default = function(e) { var t = e.definitions.filter(function(e) { - return e.kind === n || e.kind === r || e.kind === l || e.kind === u || e.kind === i + return ( + e.kind === n || + e.kind === r || + e.kind === l || + e.kind === u || + e.kind === i + ) }) return Object.assign({}, e, { definitions: t }) } @@ -35632,7 +42509,10 @@ and limitations under the License. var n = e.getTypeMap() Object.keys(n).forEach(function(e) { var l = n[e] - if (!r.getNamedType(l).name.startsWith('__') && l instanceof r.GraphQLObjectType) { + if ( + !r.getNamedType(l).name.startsWith('__') && + l instanceof r.GraphQLObjectType + ) { var u = l.getFields() Object.keys(u).forEach(function(n) { var r = u[n] @@ -35661,7 +42541,11 @@ and limitations under the License. function r() { this.constructor = e } - n(e, t), (e.prototype = null === t ? Object.create(t) : ((r.prototype = t.prototype), new r())) + n(e, t), + (e.prototype = + null === t + ? Object.create(t) + : ((r.prototype = t.prototype), new r())) }) Object.defineProperty(t, '__esModule', { value: !0 }) var l = (function(e) { @@ -35683,7 +42567,10 @@ and limitations under the License. return ( void 0 === n && (n = !1), o({ - schema: (l = e instanceof r.GraphQLSchema ? e : u.buildSchemaFromTypeDefinitions(e)), + schema: (l = + e instanceof r.GraphQLSchema + ? e + : u.buildSchemaFromTypeDefinitions(e)), mocks: t, preserveResolvers: n, }), @@ -35702,14 +42589,16 @@ and limitations under the License. o = e.preserveResolvers, f = void 0 !== o && o if (!t) throw new Error('Must provide schema to mock') - if (!(t instanceof r.GraphQLSchema)) throw new Error('Value at "schema" must be of type GraphQLSchema') + if (!(t instanceof r.GraphQLSchema)) + throw new Error('Value at "schema" must be of type GraphQLSchema') if (!a(l)) throw new Error('mocks must be of type Object') var p = new Map() Object.keys(l).forEach(function(e) { p.set(e, l[e]) }), p.forEach(function(e, t) { - if ('function' != typeof e) throw new Error('mockFunctionMap[' + t + '] must be a function') + if ('function' != typeof e) + throw new Error('mockFunctionMap[' + t + '] must be a function') }) var h = function(e, n, l) { return function(n, u, o, c) { @@ -35718,7 +42607,10 @@ and limitations under the License. if (n && void 0 !== n[l]) { var y = void 0 return ( - 'function' == typeof n[l] ? (y = n[l](n, u, o, c)) instanceof d && (y = y.mock(n, u, o, c, f, h)) : (y = n[l]), + 'function' == typeof n[l] + ? (y = n[l](n, u, o, c)) instanceof d && + (y = y.mock(n, u, o, c, f, h)) + : (y = n[l]), p.has(m.name) && (y = (function e(t, n) { if (Array.isArray(n)) @@ -35734,14 +42626,24 @@ and limitations under the License. } if (f instanceof r.GraphQLList || f instanceof r.GraphQLNonNull) return [h(f.ofType)(n, u, o, c), h(f.ofType)(n, u, o, c)] - if (p.has(f.name) && !(f instanceof r.GraphQLUnionType || f instanceof r.GraphQLInterfaceType)) + if ( + p.has(f.name) && + !( + f instanceof r.GraphQLUnionType || + f instanceof r.GraphQLInterfaceType + ) + ) return p.get(f.name)(n, u, o, c) if (f instanceof r.GraphQLObjectType) return {} - if (f instanceof r.GraphQLUnionType || f instanceof r.GraphQLInterfaceType) { + if ( + f instanceof r.GraphQLUnionType || + f instanceof r.GraphQLInterfaceType + ) { var _ = void 0 if (p.has(f.name)) { var g = p.get(f.name)(n, u, o, c) - if (!g || !g.__typename) return Error('Please return a __typename in "' + f.name + '"') + if (!g || !g.__typename) + return Error('Please return a __typename in "' + f.name + '"') _ = t.getType(g.__typename) } else { _ = s(t.getPossibleTypes(f)) @@ -35761,10 +42663,14 @@ and limitations under the License. var n = r.getNullableType(e), l = r.getNamedType(n), u = (function(e) { - return e instanceof r.GraphQLInterfaceType || e instanceof r.GraphQLUnionType ? e.resolveType : void 0 + return e instanceof r.GraphQLInterfaceType || + e instanceof r.GraphQLUnionType + ? e.resolveType + : void 0 })(l) if (t && u && u.length) return - ;(l instanceof r.GraphQLUnionType || l instanceof r.GraphQLInterfaceType) && + ;(l instanceof r.GraphQLUnionType || + l instanceof r.GraphQLInterfaceType) && (l.resolveType = function(e, t, n) { return n.schema.getType(e.__typename) }) @@ -35782,7 +42688,9 @@ and limitations under the License. if ((u || (u = h(e.type, n, l)), f && e.resolve)) { var d = e.resolve e.resolve = function(e, t, n, r) { - return Promise.all([u(e, t, n, r), d(e, t, n, r)]).then(function(e) { + return Promise.all([u(e, t, n, r), d(e, t, n, r)]).then(function( + e, + ) { var t = e[0], n = e[1] if (t instanceof Error) { @@ -35795,10 +42703,12 @@ and limitations under the License. : t : a(t) && a(n) ? (function(e) { - for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n] + for (var t = [], n = 1; n < arguments.length; n++) + t[n - 1] = arguments[n] return ( t.forEach(function(t) { - for (var n = t; n; ) c(e, n), (n = Object.getPrototypeOf(n)) + for (var n = t; n; ) + c(e, n), (n = Object.getPrototypeOf(n)) }), e ) @@ -35819,7 +42729,8 @@ and limitations under the License. } function c(e, t) { Object.getOwnPropertyNames(t).forEach(function(n) { - Object.getOwnPropertyDescriptor(e, n) || Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n)) + Object.getOwnPropertyDescriptor(e, n) || + Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n)) }) } i.set('Int', function() { @@ -35841,14 +42752,19 @@ and limitations under the License. var d = (function() { function e(e, t) { if (((this.len = e), void 0 !== t)) { - if ('function' != typeof t) throw new Error('Second argument to MockList must be a function or undefined') + if ('function' != typeof t) + throw new Error( + 'Second argument to MockList must be a function or undefined', + ) this.wrappedFunction = t } } return ( (e.prototype.mock = function(t, n, l, u, i, o) { var a - a = Array.isArray(this.len) ? new Array(this.randint(this.len[0], this.len[1])) : new Array(this.len) + a = Array.isArray(this.len) + ? new Array(this.randint(this.len[0], this.len[1])) + : new Array(this.len) for (var s = 0; s < a.length; s++) if ('function' == typeof this.wrappedFunction) { var c = this.wrappedFunction(t, n, l, u) @@ -35887,18 +42803,24 @@ and limitations under the License. f = void 0 !== e.clockseq ? e.clockseq : l if (null == d || null == f) { var p = u() - null == d && (d = r = [1 | p[0], p[1], p[2], p[3], p[4], p[5]]), null == f && (f = l = 16383 & ((p[6] << 8) | p[7])) + null == d && (d = r = [1 | p[0], p[1], p[2], p[3], p[4], p[5]]), + null == f && (f = l = 16383 & ((p[6] << 8) | p[7])) } var h = void 0 !== e.msecs ? e.msecs : new Date().getTime(), m = void 0 !== e.nsecs ? e.nsecs : a + 1, y = h - o + (m - a) / 1e4 if ( - (y < 0 && void 0 === e.clockseq && (f = (f + 1) & 16383), (y < 0 || h > o) && void 0 === e.nsecs && (m = 0), m >= 1e4) + (y < 0 && void 0 === e.clockseq && (f = (f + 1) & 16383), + (y < 0 || h > o) && void 0 === e.nsecs && (m = 0), + m >= 1e4) ) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec") ;(o = h), (a = m), (l = f) var _ = (1e4 * (268435455 & (h += 122192928e5)) + m) % 4294967296 - ;(c[s++] = (_ >>> 24) & 255), (c[s++] = (_ >>> 16) & 255), (c[s++] = (_ >>> 8) & 255), (c[s++] = 255 & _) + ;(c[s++] = (_ >>> 24) & 255), + (c[s++] = (_ >>> 16) & 255), + (c[s++] = (_ >>> 8) & 255), + (c[s++] = 255 & _) var g = ((h / 4294967296) * 1e4) & 268435455 ;(c[s++] = (g >>> 8) & 255), (c[s++] = 255 & g), @@ -35915,16 +42837,19 @@ and limitations under the License. l = n(201) e.exports = function(e, t, n) { var u = (t && n) || 0 - 'string' == typeof e && ((t = 'binary' === e ? new Array(16) : null), (e = null)) + 'string' == typeof e && + ((t = 'binary' === e ? new Array(16) : null), (e = null)) var i = (e = e || {}).random || (e.rng || r)() - if (((i[6] = (15 & i[6]) | 64), (i[8] = (63 & i[8]) | 128), t)) for (var o = 0; o < 16; ++o) t[u + o] = i[o] + if (((i[6] = (15 & i[6]) | 64), (i[8] = (63 & i[8]) | 128), t)) + for (var o = 0; o < 16; ++o) t[u + o] = i[o] return t || l(i) } }, function(e, t, n) { Object.defineProperty(t, '__esModule', { value: !0 }) var r = n(472) - ;(t.makeRemoteExecutableSchema = r.default), (t.defaultCreateRemoteResolver = r.createResolver) + ;(t.makeRemoteExecutableSchema = r.default), + (t.defaultCreateRemoteResolver = r.createResolver) var l = n(475) t.introspectSchema = l.default var u = n(476) @@ -35996,7 +42921,12 @@ and limitations under the License. if ( ((n = 1), r && - (l = 2 & u[0] ? r.return : u[0] ? r.throw || ((l = r.return) && l.call(r), 0) : r.next) && + (l = + 2 & u[0] + ? r.return + : u[0] + ? r.throw || ((l = r.return) && l.call(r), 0) + : r.next) && !(l = l.call(r, u[1])).done) ) return l @@ -36014,11 +42944,17 @@ and limitations under the License. ;(u = i.ops.pop()), i.trys.pop() continue default: - if (!(l = (l = i.trys).length > 0 && l[l.length - 1]) && (6 === u[0] || 2 === u[0])) { + if ( + !(l = (l = i.trys).length > 0 && l[l.length - 1]) && + (6 === u[0] || 2 === u[0]) + ) { i = 0 continue } - if (3 === u[0] && (!l || (u[1] > l[0] && u[1] < l[3]))) { + if ( + 3 === u[0] && + (!l || (u[1] > l[0] && u[1] < l[3])) + ) { i.label = u[1] break } @@ -36067,8 +43003,18 @@ and limitations under the License. (t = Object.keys(a.fragments).map(function(e) { return a.fragments[e] })), - (n = { kind: u.Kind.DOCUMENT, definitions: [a.operation].concat(t) }), - [4, e({ query: n, variables: a.variableValues, context: { graphqlContext: o } })] + (n = { + kind: u.Kind.DOCUMENT, + definitions: [a.operation].concat(t), + }), + [ + 4, + e({ + query: n, + variables: a.variableValues, + context: { graphqlContext: o }, + }), + ] ) case 1: return (r = l.sent()), [2, f.checkResultAndHandleErrors(r, a)] @@ -36083,7 +43029,10 @@ and limitations under the License. return l.fragments[e] }), a = { - query: { kind: u.Kind.DOCUMENT, definitions: [l.operation].concat(o) }, + query: { + kind: u.Kind.DOCUMENT, + definitions: [l.operation].concat(o), + }, variables: l.variableValues, context: { graphqlContext: r }, }, @@ -36102,7 +43051,10 @@ and limitations under the License. _ = e.buildSchemaOptions, g = e.printSchemaOptions, v = void 0 === g ? { commentDescriptions: !0 } : g - !f && l && (f = i.default(l)), 'string' == typeof r ? ((n = r), (r = u.buildSchema(n, _))) : (n = u.printSchema(r, v)) + !f && l && (f = i.default(l)), + 'string' == typeof r + ? ((n = r), (r = u.buildSchema(n, _))) + : (n = u.printSchema(r, v)) var b = {}, T = r.getQueryType(), w = T.getFields() @@ -36130,7 +43082,10 @@ and limitations under the License. for ( var j = r.getTypeMap(), C = function(e) { - if (e instanceof u.GraphQLInterfaceType || e instanceof u.GraphQLUnionType) + if ( + e instanceof u.GraphQLInterfaceType || + e instanceof u.GraphQLUnionType + ) k[e.name] = { __resolveType: function(e, t, n) { return c.default(e, n.schema) @@ -36149,7 +43104,13 @@ and limitations under the License. }, !1, )) - else if (e instanceof u.GraphQLObjectType && '__' !== e.name.slice(0, 2) && e !== T && e !== D && e !== M) { + else if ( + e instanceof u.GraphQLObjectType && + '__' !== e.name.slice(0, 2) && + e !== T && + e !== D && + e !== M + ) { var t = {} Object.keys(e.getFields()).forEach(function(e) { t[e] = d.default @@ -36187,7 +43148,8 @@ and limitations under the License. } })() function l(e, t) { - if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function') + if (!(e instanceof t)) + throw new TypeError('Cannot call a class as a function') } var u = function() { return 'function' == typeof Symbol @@ -36205,13 +43167,17 @@ and limitations under the License. function d(e, t) { var n = e[t] if (null != n) { - if ('function' != typeof n) throw new TypeError(n + ' is not a function') + if ('function' != typeof n) + throw new TypeError(n + ' is not a function') return n } } function f(e) { var t = e.constructor - return void 0 !== t && null === (t = t[c]) && (t = void 0), void 0 !== t ? t : w + return ( + void 0 !== t && null === (t = t[c]) && (t = void 0), + void 0 !== t ? t : w + ) } function p(e) { return e instanceof w @@ -36267,7 +43233,9 @@ and limitations under the License. } catch (e) { h(e) } - 'closed' === e._state ? y(e) : 'running' === e._state && (e._state = 'ready') + 'closed' === e._state + ? y(e) + : 'running' === e._state && (e._state = 'ready') } function v(e, t, n) { if ('closed' !== e._state) { @@ -36280,7 +43248,12 @@ and limitations under the License. var t = e._queue if (t) { ;(e._queue = void 0), (e._state = 'ready') - for (var n = 0; n < t.length && (g(e, t[n].type, t[n].value), 'closed' !== e._state); ++n); + for ( + var n = 0; + n < t.length && + (g(e, t[n].type, t[n].value), 'closed' !== e._state); + ++n + ); } })(e) })) @@ -36290,7 +43263,11 @@ and limitations under the License. } var b = (function() { function e(t, n) { - l(this, e), (this._cleanup = void 0), (this._observer = t), (this._queue = void 0), (this._state = 'initializing') + l(this, e), + (this._cleanup = void 0), + (this._observer = t), + (this._queue = void 0), + (this._state = 'initializing') var r = new T(this) try { this._cleanup = n.call(void 0, r) @@ -36353,8 +43330,10 @@ and limitations under the License. })(), w = (t.Observable = (function() { function e(t) { - if ((l(this, e), !(this instanceof e))) throw new TypeError('Observable cannot be called as a function') - if ('function' != typeof t) throw new TypeError('Observable initializer must be a function') + if ((l(this, e), !(this instanceof e))) + throw new TypeError('Observable cannot be called as a function') + if ('function' != typeof t) + throw new TypeError('Observable initializer must be a function') this._subscriber = t } return ( @@ -36365,7 +43344,12 @@ and limitations under the License. key: 'subscribe', value: function(e) { return ( - ('object' == typeof e && null !== e) || (e = { next: e, error: arguments[1], complete: arguments[2] }), + ('object' == typeof e && null !== e) || + (e = { + next: e, + error: arguments[1], + complete: arguments[2], + }), new b(e, this._subscriber) ) }, @@ -36398,7 +43382,8 @@ and limitations under the License. key: 'map', value: function(e) { var t = this - if ('function' != typeof e) throw new TypeError(e + ' is not a function') + if ('function' != typeof e) + throw new TypeError(e + ' is not a function') return new (f(this))(function(n) { return t.subscribe({ next: function(t) { @@ -36423,7 +43408,8 @@ and limitations under the License. key: 'filter', value: function(e) { var t = this - if ('function' != typeof e) throw new TypeError(e + ' is not a function') + if ('function' != typeof e) + throw new TypeError(e + ' is not a function') return new (f(this))(function(n) { return t.subscribe({ next: function(t) { @@ -36448,7 +43434,8 @@ and limitations under the License. key: 'reduce', value: function(e) { var t = this - if ('function' != typeof e) throw new TypeError(e + ' is not a function') + if ('function' != typeof e) + throw new TypeError(e + ' is not a function') var n = f(this), r = arguments.length > 1, l = !1, @@ -36469,7 +43456,10 @@ and limitations under the License. n.error(e) }, complete: function() { - if (!l && !r) return n.error(new TypeError('Cannot reduce an empty sequence')) + if (!l && !r) + return n.error( + new TypeError('Cannot reduce an empty sequence'), + ) n.next(u), n.complete() }, }) @@ -36479,7 +43469,12 @@ and limitations under the License. { key: 'concat', value: function() { - for (var e = this, t = arguments.length, n = Array(t), r = 0; r < t; r++) n[r] = arguments[r] + for ( + var e = this, t = arguments.length, n = Array(t), r = 0; + r < t; + r++ + ) + n[r] = arguments[r] var l = f(this) return new l(function(t) { var r = void 0, @@ -36494,7 +43489,9 @@ and limitations under the License. t.error(e) }, complete: function() { - u === n.length ? ((r = void 0), t.complete()) : e(l.from(n[u++])) + u === n.length + ? ((r = void 0), t.complete()) + : e(l.from(n[u++])) }, }) })(e), @@ -36509,7 +43506,8 @@ and limitations under the License. key: 'flatMap', value: function(e) { var t = this - if ('function' != typeof e) throw new TypeError(e + ' is not a function') + if ('function' != typeof e) + throw new TypeError(e + ' is not a function') var n = f(this) return new n(function(r) { var l = [], @@ -36570,7 +43568,8 @@ and limitations under the License. var r = d(t, s) if (r) { var l = r.call(t) - if (Object(l) !== l) throw new TypeError(l + ' is not an object') + if (Object(l) !== l) + throw new TypeError(l + ' is not an object') return p(l) && l.constructor === n ? l : new n(function(e) { @@ -36585,7 +43584,11 @@ and limitations under the License. l = !1, u = void 0 try { - for (var i, o = r.call(t)[Symbol.iterator](); !(n = (i = o.next()).done); n = !0) { + for ( + var i, o = r.call(t)[Symbol.iterator](); + !(n = (i = o.next()).done); + n = !0 + ) { var a = i.value if ((e.next(a), e.closed)) return } @@ -36606,7 +43609,8 @@ and limitations under the License. return new n(function(e) { m(function() { if (!e.closed) { - for (var n = 0; n < t.length; ++n) if ((e.next(t[n]), e.closed)) return + for (var n = 0; n < t.length; ++n) + if ((e.next(t[n]), e.closed)) return e.complete() } }) @@ -36617,11 +43621,19 @@ and limitations under the License. { key: 'of', value: function() { - for (var t = arguments.length, n = Array(t), r = 0; r < t; r++) n[r] = arguments[r] - return new ('function' == typeof this ? this : e)(function(e) { + for ( + var t = arguments.length, n = Array(t), r = 0; + r < t; + r++ + ) + n[r] = arguments[r] + return new ('function' == typeof this ? this : e)(function( + e, + ) { m(function() { if (!e.closed) { - for (var t = 0; t < n.length; ++t) if ((e.next(n[t]), e.closed)) return + for (var t = 0; t < n.length; ++t) + if ((e.next(n[t]), e.closed)) return e.complete() } }) @@ -36639,7 +43651,11 @@ and limitations under the License. e ) })()) - u() && Object.defineProperty(w, Symbol('extensions'), { value: { symbol: s, hostReportError: h }, configurable: !0 }) + u() && + Object.defineProperty(w, Symbol('extensions'), { + value: { symbol: s, hostReportError: h }, + configurable: !0, + }) }, function(e, t, n) { var r = @@ -36649,7 +43665,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) }, @@ -36714,7 +43731,12 @@ and limitations under the License. if ( ((n = 1), r && - (l = 2 & u[0] ? r.return : u[0] ? r.throw || ((l = r.return) && l.call(r), 0) : r.next) && + (l = + 2 & u[0] + ? r.return + : u[0] + ? r.throw || ((l = r.return) && l.call(r), 0) + : r.next) && !(l = l.call(r, u[1])).done) ) return l @@ -36732,11 +43754,17 @@ and limitations under the License. ;(u = i.ops.pop()), i.trys.pop() continue default: - if (!(l = (l = i.trys).length > 0 && l[l.length - 1]) && (6 === u[0] || 2 === u[0])) { + if ( + !(l = (l = i.trys).length > 0 && l[l.length - 1]) && + (6 === u[0] || 2 === u[0]) + ) { i = 0 continue } - if (3 === u[0] && (!l || (u[1] > l[0] && u[1] < l[3]))) { + if ( + 3 === u[0] && + (!l || (u[1] > l[0] && u[1] < l[3])) + ) { i.label = u[1] break } @@ -36774,12 +43802,17 @@ and limitations under the License. next: function(e) { !(function(e) { var t = e.data - 0 !== n.length ? n.shift()({ value: t, done: !1 }) : o.push({ value: t }) + 0 !== n.length + ? n.shift()({ value: t, done: !1 }) + : o.push({ value: t }) })(e) }, error: function(e) { var t - ;(t = e), 0 !== n.length ? n.shift()({ value: { errors: [t] }, done: !1 }) : o.push({ value: { errors: [t] } }) + ;(t = e), + 0 !== n.length + ? n.shift()({ value: { errors: [t] }, done: !1 }) + : o.push({ value: { errors: [t] } }) }, }), c = function() { @@ -36886,7 +43919,12 @@ and limitations under the License. if ( ((n = 1), r && - (l = 2 & u[0] ? r.return : u[0] ? r.throw || ((l = r.return) && l.call(r), 0) : r.next) && + (l = + 2 & u[0] + ? r.return + : u[0] + ? r.throw || ((l = r.return) && l.call(r), 0) + : r.next) && !(l = l.call(r, u[1])).done) ) return l @@ -36904,11 +43942,17 @@ and limitations under the License. ;(u = i.ops.pop()), i.trys.pop() continue default: - if (!(l = (l = i.trys).length > 0 && l[l.length - 1]) && (6 === u[0] || 2 === u[0])) { + if ( + !(l = (l = i.trys).length > 0 && l[l.length - 1]) && + (6 === u[0] || 2 === u[0]) + ) { i = 0 continue } - if (3 === u[0] && (!l || (u[1] > l[0] && u[1] < l[3]))) { + if ( + 3 === u[0] && + (!l || (u[1] > l[0] && u[1] < l[3])) + ) { i.label = u[1] break } @@ -36945,9 +43989,16 @@ and limitations under the License. return l(this, function(r) { switch (r.label) { case 0: - return e.request && (e = i.default(e)), [4, e({ query: o, context: t })] + return ( + e.request && (e = i.default(e)), + [4, e({ query: o, context: t })] + ) case 1: - if (((n = r.sent()).errors && n.errors.length) || !n.data.__schema) throw n.errors + if ( + ((n = r.sent()).errors && n.errors.length) || + !n.data.__schema + ) + throw n.errors return [2, u.buildClientSchema(n.data)] } }) @@ -36962,7 +44013,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -36995,7 +44047,8 @@ and limitations under the License. b = [], T = [], w = i.createResolveType(function(e) { - if (void 0 === g[e]) throw new Error("Can't find type " + e + '.') + if (void 0 === g[e]) + throw new Error("Can't find type " + e + '.') return g[e] }) t.forEach(function(e) { @@ -37025,13 +44078,18 @@ and limitations under the License. i !== r && f(_, i.name, { schema: e, type: i }) }) - } else if ('string' == typeof e || (e && e.kind === l.Kind.DOCUMENT)) { + } else if ( + 'string' == typeof e || + (e && e.kind === l.Kind.DOCUMENT) + ) { var s = 'string' == typeof e ? l.parse(e) : e s.definitions.forEach(function(e) { var t = a.default(e) t instanceof l.GraphQLDirective && m ? b.push(t) - : !t || t instanceof l.GraphQLDirective || f(_, t.name, { type: t }) + : !t || + t instanceof l.GraphQLDirective || + f(_, t.name, { type: t }) }) var c = u.extractExtensionDefinitions(s) c.definitions.length > 0 && v.push(c) @@ -37064,7 +44122,13 @@ and limitations under the License. if (o[n]) return u } } - throw new Error('Could not find subschema with field `' + t + '.' + n + '`') + throw new Error( + 'Could not find subschema with field `' + + t + + '.' + + n + + '`', + ) })(e, n, r), d = new s.ExpandAbstractTypes(i.schema, c), f = new s.ReplaceFieldWithFragment(c, t) @@ -37086,13 +44150,17 @@ and limitations under the License. })(y, T) n ? 'function' == typeof n - ? (console.warn('Passing functions as resolver parameter is deprecated. Use `info.mergeInfo` instead.'), + ? (console.warn( + 'Passing functions as resolver parameter is deprecated. Use `info.mergeInfo` instead.', + ), (n = n(O))) : Array.isArray(n) && (n = n.reduce(function(e, t) { return ( 'function' == typeof t && - (console.warn('Passing functions as resolver parameter is deprecated. Use `info.mergeInfo` instead.'), + (console.warn( + 'Passing functions as resolver parameter is deprecated. Use `info.mergeInfo` instead.', + ), (t = t(O))), c.default(e, t) ) @@ -37130,22 +44198,26 @@ and limitations under the License. ;(a = r({}, a, l)), Object.keys(l).forEach(function(e) { var t - s[e] = (((t = {})[c] = (function(e, t, n) { - return function(r, l, u, i) { - return i.mergeInfo.delegateToSchema({ - schema: e, - operation: t, - fieldName: n, - args: l, - context: u, - info: i, - }) - } - })(n, o, e)), - t) + s[e] = + (((t = {})[c] = (function(e, t, n) { + return function(r, l, u, i) { + return i.mergeInfo.delegateToSchema({ + schema: e, + operation: t, + fieldName: n, + args: l, + context: u, + info: i, + }) + } + })(n, o, e)), + t) }) }) - var d = new l.GraphQLObjectType({ name: e, fields: i.fieldMapToFieldConfigMap(a, u, !1) }) + var d = new l.GraphQLObjectType({ + name: e, + fields: i.fieldMapToFieldConfigMap(a, u, !1), + }) return { type: d, resolvers: s } } var f = n(t) @@ -37157,7 +44229,8 @@ and limitations under the License. u = void 0 if (l.isNamedType(t)) n = t else { - if (!t.type) throw new Error('Invalid visitType result for type ' + e) + if (!t.type) + throw new Error('Invalid visitType result for type ' + e) ;(n = t.type), (u = t.resolvers) } ;(g[e] = i.recreateType(n, w, !1)), u && (D[e] = u) @@ -37214,7 +44287,10 @@ and limitations under the License. (M = E.getTypeMap()), Object.keys(M).forEach(function(e) { var t = M[e] - if (!l.getNamedType(t).name.startsWith('__') && t instanceof l.GraphQLObjectType) { + if ( + !l.getNamedType(t).name.startsWith('__') && + t instanceof l.GraphQLObjectType + ) { var n = t.getFields() Object.keys(n).forEach(function(t) { var r = n[t] @@ -37273,10 +44349,14 @@ and limitations under the License. return e.next().then(c, s) }, return: function() { - return o ? o.call(e).then(c, s) : Promise.resolve({ value: void 0, done: !0 }) + return o + ? o.call(e).then(c, s) + : Promise.resolve({ value: void 0, done: !0 }) }, throw: function(t) { - return 'function' == typeof e.throw ? e.throw(t).then(c, s) : Promise.reject(t).catch(a) + return 'function' == typeof e.throw + ? e.throw(t).then(c, s) + : Promise.reject(t).catch(a) }, })[r.$$asyncIterator] = function() { return this @@ -37335,7 +44415,11 @@ and limitations under the License. return ( e.forEach(function(e) { var n = a(e.type, 'input') - t[e.name.value] = { type: n, defaultValue: r.valueFromAST(e.defaultValue, n), description: r.getDescription(e, u) } + t[e.name.value] = { + type: n, + defaultValue: r.valueFromAST(e.defaultValue, n), + description: r.getDescription(e, u), + } }), t ) @@ -37351,9 +44435,14 @@ and limitations under the License. } } function s(e, t) { - return new ('object' === t ? r.GraphQLObjectType : 'interface' === t ? r.GraphQLInterfaceType : r.GraphQLInputObjectType)( - { name: e, fields: { __fake: { type: r.GraphQLString } } }, - ) + return new ('object' === t + ? r.GraphQLObjectType + : 'interface' === t + ? r.GraphQLInterfaceType + : r.GraphQLInputObjectType)({ + name: e, + fields: { __fake: { type: r.GraphQLString } }, + }) } t.default = function(e) { switch (e.kind) { @@ -37392,7 +44481,11 @@ and limitations under the License. e.values.forEach(function(e) { t[e.name.value] = { description: r.getDescription(e, u) } }), - new r.GraphQLEnumType({ name: e.name.value, values: t, description: r.getDescription(e, u) }) + new r.GraphQLEnumType({ + name: e.name.value, + values: t, + description: r.getDescription(e, u), + }) ) })(e) case r.Kind.UNION_TYPE_DEFINITION: @@ -37500,12 +44593,21 @@ and limitations under the License. var o, a = i[n], s = 'subscription' === a.operation ? 'subscribe' : 'resolve' - l[u][n] = (((o = {})[s] = (function(e, t, n, l) { - return function(u, i, o, a) { - return r.default({ schema: e, operation: t, fieldName: n, args: {}, context: o, info: a, transforms: l }) - } - })(e, a.operation, a.name, t)), - o) + l[u][n] = + (((o = {})[s] = (function(e, t, n, l) { + return function(u, i, o, a) { + return r.default({ + schema: e, + operation: t, + fieldName: n, + args: {}, + context: o, + info: a, + transforms: l, + }) + } + })(e, a.operation, a.name, t)), + o) }) }), l @@ -37516,7 +44618,12 @@ and limitations under the License. n = e.getMutationType(), r = e.getSubscriptionType(), u = {} - return t && (u[t.name] = l(t, 'query')), n && (u[n.name] = l(n, 'mutation')), r && (u[r.name] = l(r, 'subscription')), u + return ( + t && (u[t.name] = l(t, 'query')), + n && (u[n.name] = l(n, 'mutation')), + r && (u[r.name] = l(r, 'subscription')), + u + ) }), (t.generateMappingFromObjectType = l) }, @@ -37528,7 +44635,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -37553,7 +44661,10 @@ and limitations under the License. return i.visitSchema( e, (((t = {})[i.VisitSchemaKind.TYPE] = function(e) { - if ((!u.default(e) || n.renameBuiltins) && (!(e instanceof l.GraphQLScalarType) || n.renameScalars)) { + if ( + (!u.default(e) || n.renameBuiltins) && + (!(e instanceof l.GraphQLScalarType) || n.renameScalars) + ) { var t = n.renamer(e.name) if (t && t !== e.name) { n.reverseMap[t] = e.name @@ -37574,7 +44685,10 @@ and limitations under the License. e.document, (((t = {})[l.Kind.NAMED_TYPE] = function(e) { var t = e.name.value - if (t in n.reverseMap) return r({}, e, { name: { kind: l.Kind.NAME, value: n.reverseMap[t] } }) + if (t in n.reverseMap) + return r({}, e, { + name: { kind: l.Kind.NAME, value: n.reverseMap[t] }, + }) }), t), ), @@ -37592,7 +44706,9 @@ and limitations under the License. var n = this if ('__typename' === t) return this.renamer(e) if (e && 'object' == typeof e) { - var r = Array.isArray(e) ? [] : Object.create(Object.getPrototypeOf(e)), + var r = Array.isArray(e) + ? [] + : Object.create(Object.getPrototypeOf(e)), l = !1 if ( (Object.keys(e).forEach(function(t) { @@ -37683,7 +44799,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -37707,7 +44824,8 @@ and limitations under the License. e.document, (((t = {})[l.Kind.FIELD] = { enter: function(e) { - if ((a.push(e.name.value), i === JSON.stringify(a))) return (u = e.selectionSet), l.BREAK + if ((a.push(e.name.value), i === JSON.stringify(a))) + return (u = e.selectionSet), l.BREAK }, leave: function(e) { a.pop() @@ -37720,7 +44838,8 @@ and limitations under the License. e.document, (((n = {})[l.Kind.FIELD] = { enter: function(e) { - if ((a.push(e.name.value), o === JSON.stringify(a) && u)) return r({}, e, { selectionSet: u }) + if ((a.push(e.name.value), o === JSON.stringify(a) && u)) + return r({}, e, { selectionSet: u }) }, leave: function(e) { a.pop() @@ -37743,7 +44862,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }).apply(this, arguments) } @@ -37766,7 +44886,10 @@ and limitations under the License. enter: function(e) { if ((i.push(e.name.value), o === JSON.stringify(i))) { var t = n.wrapper(e.selectionSet), - u = t.kind === l.Kind.SELECTION_SET ? t : { kind: l.Kind.SELECTION_SET, selections: [t] } + u = + t.kind === l.Kind.SELECTION_SET + ? t + : { kind: l.Kind.SELECTION_SET, selections: [t] } return r({}, e, { selectionSet: u }) } }, @@ -37819,7 +44942,8 @@ and limitations under the License. 'Wrapped type resolvers should maintain the existing execution dynamics of the resolvers they wrap (i.e. async vs sync) or introspection types should be excluded from wrapping by checking them with `graphql/type`s, `isIntrospectionType` predicate function prior to wrapping.', ].join('\n'), ) - if (!r || !r.data || !r.data.__schema) throw new Error('Unable to generate server introspection document.') + if (!r || !r.data || !r.data.__schema) + throw new Error('Unable to generate server introspection document.') const s = r.data.__schema, c = o.default(s) return a @@ -37837,7 +44961,10 @@ and limitations under the License. (e = Array.isArray(e) ? e : [e]).some( (e) => ( 'string' == typeof e && (e = l.gql(e)), - e.definitions.some((e) => e.kind === r.Kind.DIRECTIVE_DEFINITION && e.name.value === t) + e.definitions.some( + (e) => + e.kind === r.Kind.DIRECTIVE_DEFINITION && e.name.value === t, + ) ), ) }, @@ -37846,7 +44973,10 @@ and limitations under the License. function r(e) { for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]) } - Object.defineProperty(t, '__esModule', { value: !0 }), n(103), r(n(538)), r(n(540)) + Object.defineProperty(t, '__esModule', { value: !0 }), + n(103), + r(n(538)), + r(n(540)) }, function(e, t, n) { 'use strict' @@ -37961,7 +45091,9 @@ and limitations under the License. c = u(i, s) if (e && n != n) { for (; s > c; ) if ((o = a[c++]) != o) return !0 - } else for (; s > c; c++) if ((e || c in a) && a[c] === n) return e || c || 0 + } else + for (; s > c; c++) + if ((e || c in a) && a[c] === n) return e || c || 0 return !e && -1 } } @@ -38016,7 +45148,8 @@ and limitations under the License. ? Object.defineProperties : function(e, t) { u(e) - for (var n, r = i(t), o = r.length, a = 0; o > a; ) l.f(e, (n = r[a++]), t[n]) + for (var n, r = i(t), o = r.length, a = 0; o > a; ) + l.f(e, (n = r[a++]), t[n]) return e } }, @@ -38056,7 +45189,20 @@ and limitations under the License. var t, n = u(this), r = i(n.length) - return o(e), ((t = a(n, 0)).length = l(t, n, n, r, 0, 1, e, arguments.length > 1 ? arguments[1] : void 0)), t + return ( + o(e), + ((t = a(n, 0)).length = l( + t, + n, + n, + r, + 0, + 1, + e, + arguments.length > 1 ? arguments[1] : void 0, + )), + t + ) }, }, ) @@ -38161,7 +45307,11 @@ and limitations under the License. ((b = u(k.call(new e()))), h !== Object.prototype && b.next && - (d || u(b) === h || (i ? i(b, h) : 'function' != typeof b[y] && a(b, y, _)), o(b, D, !0, !0), d && (f[D] = _))), + (d || + u(b) === h || + (i ? i(b, h) : 'function' != typeof b[y] && a(b, y, _)), + o(b, D, !0, !0), + d && (f[D] = _))), 'values' == p && M && 'values' !== M.name && @@ -38173,7 +45323,14 @@ and limitations under the License. (f[t] = S), p) ) - if (((T = { values: O('values'), keys: g ? S : O('keys'), entries: O('entries') }), v)) + if ( + ((T = { + values: O('values'), + keys: g ? S : O('keys'), + entries: O('entries'), + }), + v) + ) for (w in T) (!m && !E && w in L) || s(L, w, T[w]) else r({ target: t, proto: !0, forced: m || E }, T) return T @@ -38191,14 +45348,22 @@ and limitations under the License. } e.exports = function(e, t, n) { var s = t + ' Iterator' - return (e.prototype = l(r, { next: u(1, n) })), i(e, s, !1, !0), (o[s] = a), e + return ( + (e.prototype = l(r, { next: u(1, n) })), + i(e, s, !1, !0), + (o[s] = a), + e + ) } }, function(e, t, n) { var r = n(72) e.exports = !r(function() { function e() {} - return (e.prototype.constructor = null), Object.getPrototypeOf(new e()) !== e.prototype + return ( + (e.prototype.constructor = null), + Object.getPrototypeOf(new e()) !== e.prototype + ) }) }, function(e, t, n) { @@ -38212,7 +45377,11 @@ and limitations under the License. t = !1, n = {} try { - ;(e = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set).call(n, []), (t = n instanceof Array) + ;(e = Object.getOwnPropertyDescriptor( + Object.prototype, + '__proto__', + ).set).call(n, []), + (t = n instanceof Array) } catch (e) {} return function(n, u) { return r(n), l(u), t ? e.call(n, u) : (n.__proto__ = u), n @@ -38223,7 +45392,8 @@ and limitations under the License. function(e, t, n) { var r = n(73) e.exports = function(e) { - if (!r(e) && null !== e) throw TypeError("Can't set " + String(e) + ' as a prototype') + if (!r(e) && null !== e) + throw TypeError("Can't set " + String(e) + ' as a prototype') return e } }, @@ -38271,14 +45441,21 @@ and limitations under the License. g = i(t, n, c ? 2 : 1) if (d) f = e else { - if ('function' != typeof (p = o(e))) throw TypeError('Target is not iterable') + if ('function' != typeof (p = o(e))) + throw TypeError('Target is not iterable') if (l(p)) { - for (h = 0, m = u(e.length); m > h; h++) if ((y = c ? g(r((_ = e[h]))[0], _[1]) : g(e[h])) && y instanceof s) return y + for (h = 0, m = u(e.length); m > h; h++) + if ( + (y = c ? g(r((_ = e[h]))[0], _[1]) : g(e[h])) && + y instanceof s + ) + return y return new s(!1) } f = p.call(e) } - for (; !(_ = f.next()).done; ) if ((y = a(f, g, _.value, c)) && y instanceof s) return y + for (; !(_ = f.next()).done; ) + if ((y = a(f, g, _.value, c)) && y instanceof s) return y return new s(!1) }).stop = function(e) { return new s(!0, e) @@ -38357,13 +45534,18 @@ and limitations under the License. function r(e) { for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]) } - Object.defineProperty(t, '__esModule', { value: !0 }), r(n(532)), r(n(533)) + Object.defineProperty(t, '__esModule', { value: !0 }), + r(n(532)), + r(n(533)) }, function(e, t, n) { 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }) var r = n(94) - ;(t.fetch = r.default), (t.Request = r.Request), (t.Response = r.Response), (t.Headers = r.Headers) + ;(t.fetch = r.default), + (t.Request = r.Request), + (t.Response = r.Response), + (t.Headers = r.Headers) }, function(e, t, n) { 'use strict' @@ -38376,7 +45558,11 @@ and limitations under the License. function r(e) { for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]) } - Object.defineProperty(t, '__esModule', { value: !0 }), r(n(535)), r(n(233)), r(n(536)), r(n(537)) + Object.defineProperty(t, '__esModule', { value: !0 }), + r(n(535)), + r(n(233)), + r(n(536)), + r(n(537)) }, function(e, t, n) { 'use strict' @@ -38407,7 +45593,10 @@ and limitations under the License. function r(e) { for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]) } - Object.defineProperty(t, '__esModule', { value: !0 }), r(n(539)), r(n(234)), r(n(235)) + Object.defineProperty(t, '__esModule', { value: !0 }), + r(n(539)), + r(n(234)), + r(n(235)) }, function(e, t, n) { 'use strict' @@ -38436,7 +45625,8 @@ and limitations under the License. r && ('function' == typeof n ? (r.resolve = n) - : (n.resolve && (r.resolve = n.resolve), n.subscribe && (r.subscribe = n.subscribe))) + : (n.resolve && (r.resolve = n.resolve), + n.subscribe && (r.subscribe = n.subscribe))) } } } @@ -38459,12 +45649,24 @@ and limitations under the License. } else if (e.kind === r.Kind.DIRECTIVE_DEFINITION) { const t = e.name.value a[t] ? a[t].push(e) : (a[t] = [e]) - } else e.kind === r.Kind.SCHEMA_DEFINITION ? s.push(e) : e.kind === r.Kind.SCHEMA_EXTENSION && c.push(e) + } else + e.kind === r.Kind.SCHEMA_DEFINITION + ? s.push(e) + : e.kind === r.Kind.SCHEMA_EXTENSION && c.push(e) } for (const [e, l] of Object.entries(n)) - l.length > 1 && t.push(new r.GraphQLError(`Type "${e}" was defined more than once.`, l)) + l.length > 1 && + t.push( + new r.GraphQLError(`Type "${e}" was defined more than once.`, l), + ) for (const [e, n] of Object.entries(a)) - n.length > 1 && t.push(new r.GraphQLError(`Directive "${e}" was defined more than once.`, n)) + n.length > 1 && + t.push( + new r.GraphQLError( + `Directive "${e}" was defined more than once.`, + n, + ), + ) let d if (s.length > 0 || c.length > 0) { d = {} @@ -38476,23 +45678,50 @@ and limitations under the License. for (const l of t) { const t = l.type.name.value, u = l.operation - if (d[u]) throw new r.GraphQLError(`Must provide only one ${u} type in schema.`, [e]) - if (!n[t] && !o[t]) throw new r.GraphQLError(`Specified ${u} type "${t}" not found in document.`, [e]) + if (d[u]) + throw new r.GraphQLError( + `Must provide only one ${u} type in schema.`, + [e], + ) + if (!n[t] && !o[t]) + throw new r.GraphQLError( + `Specified ${u} type "${t}" not found in document.`, + [e], + ) d[u] = t } - } else d = { query: 'Query', mutation: 'Mutation', subscription: 'Subscription' } + } else + d = { + query: 'Query', + mutation: 'Mutation', + subscription: 'Subscription', + } for (const [e, l] of Object.entries(o)) n[e] || (Object.values(d).includes(e) - ? (n[e] = [{ kind: r.Kind.OBJECT_TYPE_DEFINITION, name: { kind: r.Kind.NAME, value: e } }]) - : t.push(new r.GraphQLError(`Cannot extend type "${e}" because it does not exist in the existing schema.`, l))) + ? (n[e] = [ + { + kind: r.Kind.OBJECT_TYPE_DEFINITION, + name: { kind: r.Kind.NAME, value: e }, + }, + ]) + : t.push( + new r.GraphQLError( + `Cannot extend type "${e}" because it does not exist in the existing schema.`, + l, + ), + )) if (t.length > 0) return { errors: t } try { const t = Object.values(n).flat(), l = Object.values(a).flat() - let u = r.buildASTSchema({ kind: r.Kind.DOCUMENT, definitions: [...t, ...l] }) + let u = r.buildASTSchema({ + kind: r.Kind.DOCUMENT, + definitions: [...t, ...l], + }) const s = Object.values(o).flat() - s.length > 0 && (u = r.extendSchema(u, { kind: r.Kind.DOCUMENT, definitions: s })) + s.length > 0 && + (u = r.extendSchema(u, { kind: r.Kind.DOCUMENT, definitions: s })) for (const t of e) t.resolvers && i(u, t.resolvers) return { schema: u } } catch (e) { @@ -38560,17 +45789,24 @@ and limitations under the License. ) if ( (void 0 !== e.privateVariables && - (null !== e.privateVariables && (e.sendVariableValues = y(e.privateVariables)), delete e.privateVariables), + (null !== e.privateVariables && + (e.sendVariableValues = y(e.privateVariables)), + delete e.privateVariables), void 0 !== e.privateHeaders && e.sendHeaders) ) throw new Error( "You have set both the 'sendHeaders' and the deprecated 'privateHeaders' options. Please only set 'sendHeaders'.", ) void 0 !== e.privateHeaders && - (null !== e.privateHeaders && (e.sendHeaders = y(e.privateHeaders)), delete e.privateHeaders) + (null !== e.privateHeaders && (e.sendHeaders = y(e.privateHeaders)), + delete e.privateHeaders) } function y(e) { - return Array.isArray(e) ? { exceptNames: e } : e ? { none: !0 } : { all: !0 } + return Array.isArray(e) + ? { exceptNames: e } + : e + ? { none: !0 } + : { all: !0 } } ;(t.EngineReportingAgent = class { constructor(e = {}) { @@ -38591,7 +45827,8 @@ and limitations under the License. let e, t = 0 return new d.InMemoryLRUCache({ - sizeCalculator: (e) => Buffer.byteLength(JSON.stringify(e), 'utf8'), + sizeCalculator: (e) => + Buffer.byteLength(JSON.stringify(e), 'utf8'), maxSize: 3 * Math.pow(2, 20), onDispose() { t++, @@ -38612,53 +45849,91 @@ and limitations under the License. })()), (this.sendReportsImmediately = e.sendReportsImmediately), this.sendReportsImmediately || - (this.reportTimer = setInterval(() => this.sendAllReportsAndReportErrors(), this.options.reportIntervalMs || 1e4)), + (this.reportTimer = setInterval( + () => this.sendAllReportsAndReportErrors(), + this.options.reportIntervalMs || 1e4, + )), !1 !== this.options.handleSignals && ['SIGINT', 'SIGTERM'].forEach((e) => { const t = () => r(this, void 0, void 0, function*() { - this.stop(), yield this.sendAllReportsAndReportErrors(), process.kill(process.pid, e) + this.stop(), + yield this.sendAllReportsAndReportErrors(), + process.kill(process.pid, e) }) process.once(e, t), this.signalHandlers.set(e, t) }), m(this.options) } newExtension(e) { - return new c.EngineReportingExtension(this.options, this.addTrace.bind(this), e) + return new c.EngineReportingExtension( + this.options, + this.addTrace.bind(this), + e, + ) } - addTrace({ trace: e, queryHash: t, documentAST: n, operationName: l, queryString: u, schemaHash: i }) { + addTrace({ + trace: e, + queryHash: t, + documentAST: n, + operationName: l, + queryString: u, + schemaHash: i, + }) { return r(this, void 0, void 0, function*() { if (this.stopped) return i in this.reports || ((this.reportHeaders[i] = new o.ReportHeader( - Object.assign({}, p, { schemaHash: i, schemaTag: this.options.schemaTag || process.env.ENGINE_SCHEMA_TAG || '' }), + Object.assign({}, p, { + schemaHash: i, + schemaTag: + this.options.schemaTag || + process.env.ENGINE_SCHEMA_TAG || + '', + }), )), this.resetReport(i)) const r = this.reports[i], a = o.Trace.verify(e) if (a) throw new Error(`Error encoding trace: ${a}`) const s = o.Trace.encode(e).finish(), - c = yield this.getTraceSignature({ queryHash: t, documentAST: n, queryString: u, operationName: l }), + c = yield this.getTraceSignature({ + queryHash: t, + documentAST: n, + queryString: u, + operationName: l, + }), d = `# ${l || '-'}\n${c}` r.tracesPerQuery.hasOwnProperty(d) || - ((r.tracesPerQuery[d] = new o.Traces()), (r.tracesPerQuery[d].encodedTraces = [])), + ((r.tracesPerQuery[d] = new o.Traces()), + (r.tracesPerQuery[d].encodedTraces = [])), r.tracesPerQuery[d].encodedTraces.push(s), (this.reportSizes[i] += s.length + Buffer.byteLength(d)), - (this.sendReportsImmediately || this.reportSizes[i] >= (this.options.maxUncompressedReportSize || 4194304)) && + (this.sendReportsImmediately || + this.reportSizes[i] >= + (this.options.maxUncompressedReportSize || 4194304)) && (yield this.sendReportAndReportErrors(i)) }) } sendAllReports() { return r(this, void 0, void 0, function*() { - yield Promise.all(Object.keys(this.reports).map((e) => this.sendReport(e))) + yield Promise.all( + Object.keys(this.reports).map((e) => this.sendReport(e)), + ) }) } sendReport(e) { return r(this, void 0, void 0, function*() { const t = this.reports[e] - if ((this.resetReport(e), 0 === Object.keys(t.tracesPerQuery).length)) return + if ( + (this.resetReport(e), 0 === Object.keys(t.tracesPerQuery).length) + ) + return yield Promise.resolve(), - this.options.debugPrintReports && console.log(`Engine sending report: ${JSON.stringify(t.toJSON())}`) + this.options.debugPrintReports && + console.log( + `Engine sending report: ${JSON.stringify(t.toJSON())}`, + ) const n = o.FullTracesReport.verify(t) if (n) throw new Error(`Error encoding report: ${n}`) const l = o.FullTracesReport.encode(t).finish(), @@ -38668,7 +45943,10 @@ and limitations under the License. n ? t(n) : e(r) }) }), - c = (this.options.endpointUrl || 'https://engine-report.apollodata.com') + '/api/ingress/traces', + c = + (this.options.endpointUrl || + 'https://engine-report.apollodata.com') + + '/api/ingress/traces', d = yield s .default( () => @@ -38683,49 +45961,77 @@ and limitations under the License. body: u, agent: this.options.requestAgent, }) - if (e.status >= 500 && e.status < 600) throw new Error(`${e.status}: ${e.statusText}`) + if (e.status >= 500 && e.status < 600) + throw new Error(`${e.status}: ${e.statusText}`) return e }), - { retries: this.options.maxAttempts || 5, minTimeout: this.options.minimumRetryDelayMs || 100, factor: 2 }, + { + retries: this.options.maxAttempts || 5, + minTimeout: this.options.minimumRetryDelayMs || 100, + factor: 2, + }, ) .catch((e) => { - throw new Error(`Error sending report to Apollo Engine servers: ${e}`) + throw new Error( + `Error sending report to Apollo Engine servers: ${e}`, + ) }) if (d.status < 200 || d.status >= 300) - throw new Error(`Error sending report to Apollo Engine servers (HTTP status ${d.status}): ${yield d.text()}`) - this.options.debugPrintReports && console.log(`Engine report: status ${d.status}`) + throw new Error( + `Error sending report to Apollo Engine servers (HTTP status ${ + d.status + }): ${yield d.text()}`, + ) + this.options.debugPrintReports && + console.log(`Engine report: status ${d.status}`) }) } stop() { this.signalHandlers.forEach((e, t) => { process.removeListener(t, e) }), - this.reportTimer && (clearInterval(this.reportTimer), (this.reportTimer = void 0)), + this.reportTimer && + (clearInterval(this.reportTimer), (this.reportTimer = void 0)), (this.stopped = !0) } - getTraceSignature({ queryHash: e, operationName: t, documentAST: n, queryString: l }) { + getTraceSignature({ + queryHash: e, + operationName: t, + documentAST: n, + queryString: l, + }) { return r(this, void 0, void 0, function*() { if (!n && !l) throw new Error('No queryString or parsedQuery?') const r = h(e, t), u = yield this.signatureCache.get(r) if (u) return u if (!n) return l - const i = (this.options.calculateSignature || f.defaultEngineReportingSignature)(n, t) + const i = (this.options.calculateSignature || + f.defaultEngineReportingSignature)(n, t) return this.signatureCache.set(r, i), i }) } sendAllReportsAndReportErrors() { return r(this, void 0, void 0, function*() { - yield Promise.all(Object.keys(this.reports).map((e) => this.sendReportAndReportErrors(e))) + yield Promise.all( + Object.keys(this.reports).map((e) => + this.sendReportAndReportErrors(e), + ), + ) }) } sendReportAndReportErrors(e) { return this.sendReport(e).catch((e) => { - this.options.reportErrorFunction ? this.options.reportErrorFunction(e) : console.error(e.message) + this.options.reportErrorFunction + ? this.options.reportErrorFunction(e) + : console.error(e.message) }) } resetReport(e) { - ;(this.reports[e] = new o.FullTracesReport({ header: this.reportHeaders[e] })), (this.reportSizes[e] = 0) + ;(this.reports[e] = new o.FullTracesReport({ + header: this.reportHeaders[e], + })), + (this.reportSizes[e] = 0) } }), (t.signatureCacheKey = h), @@ -38742,7 +46048,9 @@ and limitations under the License. s = u.roots.default || (u.roots.default = {}) ;(s.Trace = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.startTime = null), @@ -38765,7 +46073,9 @@ and limitations under the License. (e.prototype.forbiddenOperation = !1), (e.prototype.originReportedStartTime = null), (e.prototype.originReportedEndTime = null), - (e.prototype.originReportedDurationNs = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.originReportedDurationNs = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.prototype.legacySignatureNeedsResigning = ''), (e.create = function(t) { return new e(t) @@ -38775,46 +46085,88 @@ and limitations under the License. t || (t = o.create()), null != e.endTime && e.hasOwnProperty('endTime') && - s.google.protobuf.Timestamp.encode(e.endTime, t.uint32(26).fork()).ldelim(), + s.google.protobuf.Timestamp.encode( + e.endTime, + t.uint32(26).fork(), + ).ldelim(), null != e.startTime && e.hasOwnProperty('startTime') && - s.google.protobuf.Timestamp.encode(e.startTime, t.uint32(34).fork()).ldelim(), + s.google.protobuf.Timestamp.encode( + e.startTime, + t.uint32(34).fork(), + ).ldelim(), null != e.legacySignatureNeedsResigning && e.hasOwnProperty('legacySignatureNeedsResigning') && t.uint32(42).string(e.legacySignatureNeedsResigning), - null != e.details && e.hasOwnProperty('details') && s.Trace.Details.encode(e.details, t.uint32(50).fork()).ldelim(), - null != e.clientName && e.hasOwnProperty('clientName') && t.uint32(58).string(e.clientName), - null != e.clientVersion && e.hasOwnProperty('clientVersion') && t.uint32(66).string(e.clientVersion), - null != e.clientAddress && e.hasOwnProperty('clientAddress') && t.uint32(74).string(e.clientAddress), - null != e.http && e.hasOwnProperty('http') && s.Trace.HTTP.encode(e.http, t.uint32(82).fork()).ldelim(), - null != e.durationNs && e.hasOwnProperty('durationNs') && t.uint32(88).uint64(e.durationNs), - null != e.root && e.hasOwnProperty('root') && s.Trace.Node.encode(e.root, t.uint32(114).fork()).ldelim(), + null != e.details && + e.hasOwnProperty('details') && + s.Trace.Details.encode(e.details, t.uint32(50).fork()).ldelim(), + null != e.clientName && + e.hasOwnProperty('clientName') && + t.uint32(58).string(e.clientName), + null != e.clientVersion && + e.hasOwnProperty('clientVersion') && + t.uint32(66).string(e.clientVersion), + null != e.clientAddress && + e.hasOwnProperty('clientAddress') && + t.uint32(74).string(e.clientAddress), + null != e.http && + e.hasOwnProperty('http') && + s.Trace.HTTP.encode(e.http, t.uint32(82).fork()).ldelim(), + null != e.durationNs && + e.hasOwnProperty('durationNs') && + t.uint32(88).uint64(e.durationNs), + null != e.root && + e.hasOwnProperty('root') && + s.Trace.Node.encode(e.root, t.uint32(114).fork()).ldelim(), null != e.originReportedStartTime && e.hasOwnProperty('originReportedStartTime') && - s.google.protobuf.Timestamp.encode(e.originReportedStartTime, t.uint32(122).fork()).ldelim(), + s.google.protobuf.Timestamp.encode( + e.originReportedStartTime, + t.uint32(122).fork(), + ).ldelim(), null != e.originReportedEndTime && e.hasOwnProperty('originReportedEndTime') && - s.google.protobuf.Timestamp.encode(e.originReportedEndTime, t.uint32(130).fork()).ldelim(), + s.google.protobuf.Timestamp.encode( + e.originReportedEndTime, + t.uint32(130).fork(), + ).ldelim(), null != e.originReportedDurationNs && e.hasOwnProperty('originReportedDurationNs') && t.uint32(136).uint64(e.originReportedDurationNs), null != e.cachePolicy && e.hasOwnProperty('cachePolicy') && - s.Trace.CachePolicy.encode(e.cachePolicy, t.uint32(146).fork()).ldelim(), - null != e.signature && e.hasOwnProperty('signature') && t.uint32(154).string(e.signature), - null != e.fullQueryCacheHit && e.hasOwnProperty('fullQueryCacheHit') && t.uint32(160).bool(e.fullQueryCacheHit), - null != e.persistedQueryHit && e.hasOwnProperty('persistedQueryHit') && t.uint32(168).bool(e.persistedQueryHit), + s.Trace.CachePolicy.encode( + e.cachePolicy, + t.uint32(146).fork(), + ).ldelim(), + null != e.signature && + e.hasOwnProperty('signature') && + t.uint32(154).string(e.signature), + null != e.fullQueryCacheHit && + e.hasOwnProperty('fullQueryCacheHit') && + t.uint32(160).bool(e.fullQueryCacheHit), + null != e.persistedQueryHit && + e.hasOwnProperty('persistedQueryHit') && + t.uint32(168).bool(e.persistedQueryHit), null != e.persistedQueryRegister && e.hasOwnProperty('persistedQueryRegister') && t.uint32(176).bool(e.persistedQueryRegister), - null != e.clientReferenceId && e.hasOwnProperty('clientReferenceId') && t.uint32(186).string(e.clientReferenceId), + null != e.clientReferenceId && + e.hasOwnProperty('clientReferenceId') && + t.uint32(186).string(e.clientReferenceId), null != e.registeredOperation && e.hasOwnProperty('registeredOperation') && t.uint32(192).bool(e.registeredOperation), - null != e.forbiddenOperation && e.hasOwnProperty('forbiddenOperation') && t.uint32(200).bool(e.forbiddenOperation), + null != e.forbiddenOperation && + e.hasOwnProperty('forbiddenOperation') && + t.uint32(200).bool(e.forbiddenOperation), null != e.queryPlan && e.hasOwnProperty('queryPlan') && - s.Trace.QueryPlanNode.encode(e.queryPlan, t.uint32(210).fork()).ldelim(), + s.Trace.QueryPlanNode.encode( + e.queryPlan, + t.uint32(210).fork(), + ).ldelim(), t ) }), @@ -38823,11 +46175,18 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 4: - r.startTime = s.google.protobuf.Timestamp.decode(e, e.uint32()) + r.startTime = s.google.protobuf.Timestamp.decode( + e, + e.uint32(), + ) break case 3: r.endTime = s.google.protobuf.Timestamp.decode(e, e.uint32()) @@ -38881,10 +46240,16 @@ and limitations under the License. r.forbiddenOperation = e.bool() break case 15: - r.originReportedStartTime = s.google.protobuf.Timestamp.decode(e, e.uint32()) + r.originReportedStartTime = s.google.protobuf.Timestamp.decode( + e, + e.uint32(), + ) break case 16: - r.originReportedEndTime = s.google.protobuf.Timestamp.decode(e, e.uint32()) + r.originReportedEndTime = s.google.protobuf.Timestamp.decode( + e, + e.uint32(), + ) break case 17: r.originReportedDurationNs = e.uint64() @@ -38904,36 +46269,100 @@ and limitations under the License. (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' var t - if (null != e.startTime && e.hasOwnProperty('startTime') && (t = s.google.protobuf.Timestamp.verify(e.startTime))) + if ( + null != e.startTime && + e.hasOwnProperty('startTime') && + (t = s.google.protobuf.Timestamp.verify(e.startTime)) + ) return 'startTime.' + t - if (null != e.endTime && e.hasOwnProperty('endTime') && (t = s.google.protobuf.Timestamp.verify(e.endTime))) + if ( + null != e.endTime && + e.hasOwnProperty('endTime') && + (t = s.google.protobuf.Timestamp.verify(e.endTime)) + ) return 'endTime.' + t if ( null != e.durationNs && e.hasOwnProperty('durationNs') && - !(a.isInteger(e.durationNs) || (e.durationNs && a.isInteger(e.durationNs.low) && a.isInteger(e.durationNs.high))) + !( + a.isInteger(e.durationNs) || + (e.durationNs && + a.isInteger(e.durationNs.low) && + a.isInteger(e.durationNs.high)) + ) ) return 'durationNs: integer|Long expected' - if (null != e.root && e.hasOwnProperty('root') && (t = s.Trace.Node.verify(e.root))) return 'root.' + t - if (null != e.signature && e.hasOwnProperty('signature') && !a.isString(e.signature)) + if ( + null != e.root && + e.hasOwnProperty('root') && + (t = s.Trace.Node.verify(e.root)) + ) + return 'root.' + t + if ( + null != e.signature && + e.hasOwnProperty('signature') && + !a.isString(e.signature) + ) return 'signature: string expected' - if (null != e.details && e.hasOwnProperty('details') && (t = s.Trace.Details.verify(e.details))) return 'details.' + t - if (null != e.clientName && e.hasOwnProperty('clientName') && !a.isString(e.clientName)) + if ( + null != e.details && + e.hasOwnProperty('details') && + (t = s.Trace.Details.verify(e.details)) + ) + return 'details.' + t + if ( + null != e.clientName && + e.hasOwnProperty('clientName') && + !a.isString(e.clientName) + ) return 'clientName: string expected' - if (null != e.clientVersion && e.hasOwnProperty('clientVersion') && !a.isString(e.clientVersion)) + if ( + null != e.clientVersion && + e.hasOwnProperty('clientVersion') && + !a.isString(e.clientVersion) + ) return 'clientVersion: string expected' - if (null != e.clientAddress && e.hasOwnProperty('clientAddress') && !a.isString(e.clientAddress)) + if ( + null != e.clientAddress && + e.hasOwnProperty('clientAddress') && + !a.isString(e.clientAddress) + ) return 'clientAddress: string expected' - if (null != e.clientReferenceId && e.hasOwnProperty('clientReferenceId') && !a.isString(e.clientReferenceId)) + if ( + null != e.clientReferenceId && + e.hasOwnProperty('clientReferenceId') && + !a.isString(e.clientReferenceId) + ) return 'clientReferenceId: string expected' - if (null != e.http && e.hasOwnProperty('http') && (t = s.Trace.HTTP.verify(e.http))) return 'http.' + t - if (null != e.cachePolicy && e.hasOwnProperty('cachePolicy') && (t = s.Trace.CachePolicy.verify(e.cachePolicy))) + if ( + null != e.http && + e.hasOwnProperty('http') && + (t = s.Trace.HTTP.verify(e.http)) + ) + return 'http.' + t + if ( + null != e.cachePolicy && + e.hasOwnProperty('cachePolicy') && + (t = s.Trace.CachePolicy.verify(e.cachePolicy)) + ) return 'cachePolicy.' + t - if (null != e.queryPlan && e.hasOwnProperty('queryPlan') && (t = s.Trace.QueryPlanNode.verify(e.queryPlan))) + if ( + null != e.queryPlan && + e.hasOwnProperty('queryPlan') && + (t = s.Trace.QueryPlanNode.verify(e.queryPlan)) + ) return 'queryPlan.' + t - if (null != e.fullQueryCacheHit && e.hasOwnProperty('fullQueryCacheHit') && 'boolean' != typeof e.fullQueryCacheHit) + if ( + null != e.fullQueryCacheHit && + e.hasOwnProperty('fullQueryCacheHit') && + 'boolean' != typeof e.fullQueryCacheHit + ) return 'fullQueryCacheHit: boolean expected' - if (null != e.persistedQueryHit && e.hasOwnProperty('persistedQueryHit') && 'boolean' != typeof e.persistedQueryHit) + if ( + null != e.persistedQueryHit && + e.hasOwnProperty('persistedQueryHit') && + 'boolean' != typeof e.persistedQueryHit + ) return 'persistedQueryHit: boolean expected' if ( null != e.persistedQueryRegister && @@ -38956,7 +46385,9 @@ and limitations under the License. if ( null != e.originReportedStartTime && e.hasOwnProperty('originReportedStartTime') && - (t = s.google.protobuf.Timestamp.verify(e.originReportedStartTime)) + (t = s.google.protobuf.Timestamp.verify( + e.originReportedStartTime, + )) ) return 'originReportedStartTime.' + t if ( @@ -38984,71 +46415,107 @@ and limitations under the License. if (e instanceof s.Trace) return e var t = new s.Trace() if (null != e.startTime) { - if ('object' != typeof e.startTime) throw TypeError('.Trace.startTime: object expected') + if ('object' != typeof e.startTime) + throw TypeError('.Trace.startTime: object expected') t.startTime = s.google.protobuf.Timestamp.fromObject(e.startTime) } if (null != e.endTime) { - if ('object' != typeof e.endTime) throw TypeError('.Trace.endTime: object expected') + if ('object' != typeof e.endTime) + throw TypeError('.Trace.endTime: object expected') t.endTime = s.google.protobuf.Timestamp.fromObject(e.endTime) } if ( (null != e.durationNs && (a.Long - ? ((t.durationNs = a.Long.fromValue(e.durationNs)).unsigned = !0) + ? ((t.durationNs = a.Long.fromValue( + e.durationNs, + )).unsigned = !0) : 'string' == typeof e.durationNs ? (t.durationNs = parseInt(e.durationNs, 10)) : 'number' == typeof e.durationNs ? (t.durationNs = e.durationNs) : 'object' == typeof e.durationNs && - (t.durationNs = new a.LongBits(e.durationNs.low >>> 0, e.durationNs.high >>> 0).toNumber(!0))), + (t.durationNs = new a.LongBits( + e.durationNs.low >>> 0, + e.durationNs.high >>> 0, + ).toNumber(!0))), null != e.root) ) { - if ('object' != typeof e.root) throw TypeError('.Trace.root: object expected') + if ('object' != typeof e.root) + throw TypeError('.Trace.root: object expected') t.root = s.Trace.Node.fromObject(e.root) } - if ((null != e.signature && (t.signature = String(e.signature)), null != e.details)) { - if ('object' != typeof e.details) throw TypeError('.Trace.details: object expected') + if ( + (null != e.signature && (t.signature = String(e.signature)), + null != e.details) + ) { + if ('object' != typeof e.details) + throw TypeError('.Trace.details: object expected') t.details = s.Trace.Details.fromObject(e.details) } if ( (null != e.clientName && (t.clientName = String(e.clientName)), - null != e.clientVersion && (t.clientVersion = String(e.clientVersion)), - null != e.clientAddress && (t.clientAddress = String(e.clientAddress)), - null != e.clientReferenceId && (t.clientReferenceId = String(e.clientReferenceId)), + null != e.clientVersion && + (t.clientVersion = String(e.clientVersion)), + null != e.clientAddress && + (t.clientAddress = String(e.clientAddress)), + null != e.clientReferenceId && + (t.clientReferenceId = String(e.clientReferenceId)), null != e.http) ) { - if ('object' != typeof e.http) throw TypeError('.Trace.http: object expected') + if ('object' != typeof e.http) + throw TypeError('.Trace.http: object expected') t.http = s.Trace.HTTP.fromObject(e.http) } if (null != e.cachePolicy) { - if ('object' != typeof e.cachePolicy) throw TypeError('.Trace.cachePolicy: object expected') + if ('object' != typeof e.cachePolicy) + throw TypeError('.Trace.cachePolicy: object expected') t.cachePolicy = s.Trace.CachePolicy.fromObject(e.cachePolicy) } if (null != e.queryPlan) { - if ('object' != typeof e.queryPlan) throw TypeError('.Trace.queryPlan: object expected') + if ('object' != typeof e.queryPlan) + throw TypeError('.Trace.queryPlan: object expected') t.queryPlan = s.Trace.QueryPlanNode.fromObject(e.queryPlan) } if ( - (null != e.fullQueryCacheHit && (t.fullQueryCacheHit = Boolean(e.fullQueryCacheHit)), - null != e.persistedQueryHit && (t.persistedQueryHit = Boolean(e.persistedQueryHit)), - null != e.persistedQueryRegister && (t.persistedQueryRegister = Boolean(e.persistedQueryRegister)), - null != e.registeredOperation && (t.registeredOperation = Boolean(e.registeredOperation)), - null != e.forbiddenOperation && (t.forbiddenOperation = Boolean(e.forbiddenOperation)), + (null != e.fullQueryCacheHit && + (t.fullQueryCacheHit = Boolean(e.fullQueryCacheHit)), + null != e.persistedQueryHit && + (t.persistedQueryHit = Boolean(e.persistedQueryHit)), + null != e.persistedQueryRegister && + (t.persistedQueryRegister = Boolean(e.persistedQueryRegister)), + null != e.registeredOperation && + (t.registeredOperation = Boolean(e.registeredOperation)), + null != e.forbiddenOperation && + (t.forbiddenOperation = Boolean(e.forbiddenOperation)), null != e.originReportedStartTime) ) { - if ('object' != typeof e.originReportedStartTime) throw TypeError('.Trace.originReportedStartTime: object expected') - t.originReportedStartTime = s.google.protobuf.Timestamp.fromObject(e.originReportedStartTime) + if ('object' != typeof e.originReportedStartTime) + throw TypeError( + '.Trace.originReportedStartTime: object expected', + ) + t.originReportedStartTime = s.google.protobuf.Timestamp.fromObject( + e.originReportedStartTime, + ) } if (null != e.originReportedEndTime) { - if ('object' != typeof e.originReportedEndTime) throw TypeError('.Trace.originReportedEndTime: object expected') - t.originReportedEndTime = s.google.protobuf.Timestamp.fromObject(e.originReportedEndTime) + if ('object' != typeof e.originReportedEndTime) + throw TypeError('.Trace.originReportedEndTime: object expected') + t.originReportedEndTime = s.google.protobuf.Timestamp.fromObject( + e.originReportedEndTime, + ) } return ( null != e.originReportedDurationNs && (a.Long - ? ((t.originReportedDurationNs = a.Long.fromValue(e.originReportedDurationNs)).unsigned = !0) + ? ((t.originReportedDurationNs = a.Long.fromValue( + e.originReportedDurationNs, + )).unsigned = !0) : 'string' == typeof e.originReportedDurationNs - ? (t.originReportedDurationNs = parseInt(e.originReportedDurationNs, 10)) + ? (t.originReportedDurationNs = parseInt( + e.originReportedDurationNs, + 10, + )) : 'number' == typeof e.originReportedDurationNs ? (t.originReportedDurationNs = e.originReportedDurationNs) : 'object' == typeof e.originReportedDurationNs && @@ -39057,7 +46524,9 @@ and limitations under the License. e.originReportedDurationNs.high >>> 0, ).toNumber(!0))), null != e.legacySignatureNeedsResigning && - (t.legacySignatureNeedsResigning = String(e.legacySignatureNeedsResigning)), + (t.legacySignatureNeedsResigning = String( + e.legacySignatureNeedsResigning, + )), t ) }), @@ -39077,11 +46546,26 @@ and limitations under the License. a.Long) ) { var r = new a.Long(0, 0, !0) - n.durationNs = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.durationNs = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.durationNs = t.longs === String ? '0' : 0 - if (((n.root = null), (n.originReportedStartTime = null), (n.originReportedEndTime = null), a.Long)) { + if ( + ((n.root = null), + (n.originReportedStartTime = null), + (n.originReportedEndTime = null), + a.Long) + ) { r = new a.Long(0, 0, !0) - n.originReportedDurationNs = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.originReportedDurationNs = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.originReportedDurationNs = t.longs === String ? '0' : 0 ;(n.cachePolicy = null), (n.signature = ''), @@ -39096,56 +46580,103 @@ and limitations under the License. return ( null != e.endTime && e.hasOwnProperty('endTime') && - (n.endTime = s.google.protobuf.Timestamp.toObject(e.endTime, t)), + (n.endTime = s.google.protobuf.Timestamp.toObject( + e.endTime, + t, + )), null != e.startTime && e.hasOwnProperty('startTime') && - (n.startTime = s.google.protobuf.Timestamp.toObject(e.startTime, t)), + (n.startTime = s.google.protobuf.Timestamp.toObject( + e.startTime, + t, + )), null != e.legacySignatureNeedsResigning && e.hasOwnProperty('legacySignatureNeedsResigning') && - (n.legacySignatureNeedsResigning = e.legacySignatureNeedsResigning), - null != e.details && e.hasOwnProperty('details') && (n.details = s.Trace.Details.toObject(e.details, t)), - null != e.clientName && e.hasOwnProperty('clientName') && (n.clientName = e.clientName), - null != e.clientVersion && e.hasOwnProperty('clientVersion') && (n.clientVersion = e.clientVersion), - null != e.clientAddress && e.hasOwnProperty('clientAddress') && (n.clientAddress = e.clientAddress), - null != e.http && e.hasOwnProperty('http') && (n.http = s.Trace.HTTP.toObject(e.http, t)), + (n.legacySignatureNeedsResigning = + e.legacySignatureNeedsResigning), + null != e.details && + e.hasOwnProperty('details') && + (n.details = s.Trace.Details.toObject(e.details, t)), + null != e.clientName && + e.hasOwnProperty('clientName') && + (n.clientName = e.clientName), + null != e.clientVersion && + e.hasOwnProperty('clientVersion') && + (n.clientVersion = e.clientVersion), + null != e.clientAddress && + e.hasOwnProperty('clientAddress') && + (n.clientAddress = e.clientAddress), + null != e.http && + e.hasOwnProperty('http') && + (n.http = s.Trace.HTTP.toObject(e.http, t)), null != e.durationNs && e.hasOwnProperty('durationNs') && ('number' == typeof e.durationNs - ? (n.durationNs = t.longs === String ? String(e.durationNs) : e.durationNs) + ? (n.durationNs = + t.longs === String ? String(e.durationNs) : e.durationNs) : (n.durationNs = t.longs === String ? a.Long.prototype.toString.call(e.durationNs) : t.longs === Number - ? new a.LongBits(e.durationNs.low >>> 0, e.durationNs.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.durationNs.low >>> 0, + e.durationNs.high >>> 0, + ).toNumber(!0) : e.durationNs)), - null != e.root && e.hasOwnProperty('root') && (n.root = s.Trace.Node.toObject(e.root, t)), + null != e.root && + e.hasOwnProperty('root') && + (n.root = s.Trace.Node.toObject(e.root, t)), null != e.originReportedStartTime && e.hasOwnProperty('originReportedStartTime') && - (n.originReportedStartTime = s.google.protobuf.Timestamp.toObject(e.originReportedStartTime, t)), + (n.originReportedStartTime = s.google.protobuf.Timestamp.toObject( + e.originReportedStartTime, + t, + )), null != e.originReportedEndTime && e.hasOwnProperty('originReportedEndTime') && - (n.originReportedEndTime = s.google.protobuf.Timestamp.toObject(e.originReportedEndTime, t)), + (n.originReportedEndTime = s.google.protobuf.Timestamp.toObject( + e.originReportedEndTime, + t, + )), null != e.originReportedDurationNs && e.hasOwnProperty('originReportedDurationNs') && ('number' == typeof e.originReportedDurationNs ? (n.originReportedDurationNs = - t.longs === String ? String(e.originReportedDurationNs) : e.originReportedDurationNs) + t.longs === String + ? String(e.originReportedDurationNs) + : e.originReportedDurationNs) : (n.originReportedDurationNs = t.longs === String - ? a.Long.prototype.toString.call(e.originReportedDurationNs) + ? a.Long.prototype.toString.call( + e.originReportedDurationNs, + ) : t.longs === Number - ? new a.LongBits(e.originReportedDurationNs.low >>> 0, e.originReportedDurationNs.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.originReportedDurationNs.low >>> 0, + e.originReportedDurationNs.high >>> 0, + ).toNumber(!0) : e.originReportedDurationNs)), null != e.cachePolicy && e.hasOwnProperty('cachePolicy') && - (n.cachePolicy = s.Trace.CachePolicy.toObject(e.cachePolicy, t)), - null != e.signature && e.hasOwnProperty('signature') && (n.signature = e.signature), - null != e.fullQueryCacheHit && e.hasOwnProperty('fullQueryCacheHit') && (n.fullQueryCacheHit = e.fullQueryCacheHit), - null != e.persistedQueryHit && e.hasOwnProperty('persistedQueryHit') && (n.persistedQueryHit = e.persistedQueryHit), + (n.cachePolicy = s.Trace.CachePolicy.toObject( + e.cachePolicy, + t, + )), + null != e.signature && + e.hasOwnProperty('signature') && + (n.signature = e.signature), + null != e.fullQueryCacheHit && + e.hasOwnProperty('fullQueryCacheHit') && + (n.fullQueryCacheHit = e.fullQueryCacheHit), + null != e.persistedQueryHit && + e.hasOwnProperty('persistedQueryHit') && + (n.persistedQueryHit = e.persistedQueryHit), null != e.persistedQueryRegister && e.hasOwnProperty('persistedQueryRegister') && (n.persistedQueryRegister = e.persistedQueryRegister), - null != e.clientReferenceId && e.hasOwnProperty('clientReferenceId') && (n.clientReferenceId = e.clientReferenceId), + null != e.clientReferenceId && + e.hasOwnProperty('clientReferenceId') && + (n.clientReferenceId = e.clientReferenceId), null != e.registeredOperation && e.hasOwnProperty('registeredOperation') && (n.registeredOperation = e.registeredOperation), @@ -39163,7 +46694,9 @@ and limitations under the License. }), (e.CachePolicy = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } var t, n return ( @@ -39175,8 +46708,12 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.scope && e.hasOwnProperty('scope') && t.uint32(8).int32(e.scope), - null != e.maxAgeNs && e.hasOwnProperty('maxAgeNs') && t.uint32(16).int64(e.maxAgeNs), + null != e.scope && + e.hasOwnProperty('scope') && + t.uint32(8).int32(e.scope), + null != e.maxAgeNs && + e.hasOwnProperty('maxAgeNs') && + t.uint32(16).int64(e.maxAgeNs), t ) }), @@ -39185,7 +46722,12 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.CachePolicy(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.CachePolicy(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: @@ -39201,7 +46743,9 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' @@ -39215,7 +46759,12 @@ and limitations under the License. } return null != e.maxAgeNs && e.hasOwnProperty('maxAgeNs') && - !(a.isInteger(e.maxAgeNs) || (e.maxAgeNs && a.isInteger(e.maxAgeNs.low) && a.isInteger(e.maxAgeNs.high))) + !( + a.isInteger(e.maxAgeNs) || + (e.maxAgeNs && + a.isInteger(e.maxAgeNs.low) && + a.isInteger(e.maxAgeNs.high)) + ) ? 'maxAgeNs: integer|Long expected' : null }), @@ -39238,13 +46787,18 @@ and limitations under the License. return ( null != e.maxAgeNs && (a.Long - ? ((t.maxAgeNs = a.Long.fromValue(e.maxAgeNs)).unsigned = !1) + ? ((t.maxAgeNs = a.Long.fromValue( + e.maxAgeNs, + )).unsigned = !1) : 'string' == typeof e.maxAgeNs ? (t.maxAgeNs = parseInt(e.maxAgeNs, 10)) : 'number' == typeof e.maxAgeNs ? (t.maxAgeNs = e.maxAgeNs) : 'object' == typeof e.maxAgeNs && - (t.maxAgeNs = new a.LongBits(e.maxAgeNs.low >>> 0, e.maxAgeNs.high >>> 0).toNumber())), + (t.maxAgeNs = new a.LongBits( + e.maxAgeNs.low >>> 0, + e.maxAgeNs.high >>> 0, + ).toNumber())), t ) }), @@ -39252,23 +46806,37 @@ and limitations under the License. t || (t = {}) var n = {} if (t.defaults) - if (((n.scope = t.enums === String ? 'UNKNOWN' : 0), a.Long)) { + if ( + ((n.scope = t.enums === String ? 'UNKNOWN' : 0), a.Long) + ) { var r = new a.Long(0, 0, !1) - n.maxAgeNs = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.maxAgeNs = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.maxAgeNs = t.longs === String ? '0' : 0 return ( null != e.scope && e.hasOwnProperty('scope') && - (n.scope = t.enums === String ? s.Trace.CachePolicy.Scope[e.scope] : e.scope), + (n.scope = + t.enums === String + ? s.Trace.CachePolicy.Scope[e.scope] + : e.scope), null != e.maxAgeNs && e.hasOwnProperty('maxAgeNs') && ('number' == typeof e.maxAgeNs - ? (n.maxAgeNs = t.longs === String ? String(e.maxAgeNs) : e.maxAgeNs) + ? (n.maxAgeNs = + t.longs === String ? String(e.maxAgeNs) : e.maxAgeNs) : (n.maxAgeNs = t.longs === String ? a.Long.prototype.toString.call(e.maxAgeNs) : t.longs === Number - ? new a.LongBits(e.maxAgeNs.low >>> 0, e.maxAgeNs.high >>> 0).toNumber() + ? new a.LongBits( + e.maxAgeNs.low >>> 0, + e.maxAgeNs.high >>> 0, + ).toNumber() : e.maxAgeNs)), n ) @@ -39276,18 +46844,20 @@ and limitations under the License. (e.prototype.toJSON = function() { return this.constructor.toObject(this, u.util.toJSONOptions) }), - (e.Scope = ((t = {}), - ((n = Object.create(t))[(t[0] = 'UNKNOWN')] = 0), - (n[(t[1] = 'PUBLIC')] = 1), - (n[(t[2] = 'PRIVATE')] = 2), - n)), + (e.Scope = + ((t = {}), + ((n = Object.create(t))[(t[0] = 'UNKNOWN')] = 0), + (n[(t[1] = 'PUBLIC')] = 1), + (n[(t[2] = 'PRIVATE')] = 2), + n)), e ) })()), (e.Details = (function() { function e(e) { if (((this.variablesJson = {}), (this.variables = {}), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.variablesJson = a.emptyObject), @@ -39298,8 +46868,15 @@ and limitations under the License. return new e(t) }), (e.encode = function(e, t) { - if ((t || (t = o.create()), null != e.variables && e.hasOwnProperty('variables'))) - for (var n = Object.keys(e.variables), r = 0; r < n.length; ++r) + if ( + (t || (t = o.create()), + null != e.variables && e.hasOwnProperty('variables')) + ) + for ( + var n = Object.keys(e.variables), r = 0; + r < n.length; + ++r + ) t.uint32(10) .fork() .uint32(10) @@ -39308,11 +46885,19 @@ and limitations under the License. .bytes(e.variables[n[r]]) .ldelim() if ( - (null != e.rawQuery && e.hasOwnProperty('rawQuery') && t.uint32(18).string(e.rawQuery), - null != e.operationName && e.hasOwnProperty('operationName') && t.uint32(26).string(e.operationName), + (null != e.rawQuery && + e.hasOwnProperty('rawQuery') && + t.uint32(18).string(e.rawQuery), + null != e.operationName && + e.hasOwnProperty('operationName') && + t.uint32(26).string(e.operationName), null != e.variablesJson && e.hasOwnProperty('variablesJson')) ) - for (n = Object.keys(e.variablesJson), r = 0; r < n.length; ++r) + for ( + n = Object.keys(e.variablesJson), r = 0; + r < n.length; + ++r + ) t.uint32(34) .fork() .uint32(10) @@ -39327,12 +46912,19 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n, r = void 0 === t ? e.len : e.pos + t, l = new s.Trace.Details(); e.pos < r; ) { + for ( + var n, + r = void 0 === t ? e.len : e.pos + t, + l = new s.Trace.Details(); + e.pos < r; + + ) { var u = e.uint32() switch (u >>> 3) { case 4: e.skip().pos++, - l.variablesJson === a.emptyObject && (l.variablesJson = {}), + l.variablesJson === a.emptyObject && + (l.variablesJson = {}), (n = e.string()), e.pos++, (l.variablesJson[n] = e.string()) @@ -39357,24 +46949,46 @@ and limitations under the License. return l }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.variablesJson && e.hasOwnProperty('variablesJson')) { - if (!a.isObject(e.variablesJson)) return 'variablesJson: object expected' - for (var t = Object.keys(e.variablesJson), n = 0; n < t.length; ++n) - if (!a.isString(e.variablesJson[t[n]])) return 'variablesJson: string{k:string} expected' + if ( + null != e.variablesJson && + e.hasOwnProperty('variablesJson') + ) { + if (!a.isObject(e.variablesJson)) + return 'variablesJson: object expected' + for ( + var t = Object.keys(e.variablesJson), n = 0; + n < t.length; + ++n + ) + if (!a.isString(e.variablesJson[t[n]])) + return 'variablesJson: string{k:string} expected' } if (null != e.variables && e.hasOwnProperty('variables')) { - if (!a.isObject(e.variables)) return 'variables: object expected' + if (!a.isObject(e.variables)) + return 'variables: object expected' for (t = Object.keys(e.variables), n = 0; n < t.length; ++n) - if (!((e.variables[t[n]] && 'number' == typeof e.variables[t[n]].length) || a.isString(e.variables[t[n]]))) + if ( + !( + (e.variables[t[n]] && + 'number' == typeof e.variables[t[n]].length) || + a.isString(e.variables[t[n]]) + ) + ) return 'variables: buffer{k:string} expected' } - return null != e.rawQuery && e.hasOwnProperty('rawQuery') && !a.isString(e.rawQuery) + return null != e.rawQuery && + e.hasOwnProperty('rawQuery') && + !a.isString(e.rawQuery) ? 'rawQuery: string expected' - : null != e.operationName && e.hasOwnProperty('operationName') && !a.isString(e.operationName) + : null != e.operationName && + e.hasOwnProperty('operationName') && + !a.isString(e.operationName) ? 'operationName: string expected' : null }), @@ -39382,26 +46996,38 @@ and limitations under the License. if (e instanceof s.Trace.Details) return e var t = new s.Trace.Details() if (e.variablesJson) { - if ('object' != typeof e.variablesJson) throw TypeError('.Trace.Details.variablesJson: object expected') + if ('object' != typeof e.variablesJson) + throw TypeError( + '.Trace.Details.variablesJson: object expected', + ) t.variablesJson = {} - for (var n = Object.keys(e.variablesJson), r = 0; r < n.length; ++r) + for ( + var n = Object.keys(e.variablesJson), r = 0; + r < n.length; + ++r + ) t.variablesJson[n[r]] = String(e.variablesJson[n[r]]) } if (e.variables) { - if ('object' != typeof e.variables) throw TypeError('.Trace.Details.variables: object expected') + if ('object' != typeof e.variables) + throw TypeError('.Trace.Details.variables: object expected') t.variables = {} for (n = Object.keys(e.variables), r = 0; r < n.length; ++r) 'string' == typeof e.variables[n[r]] ? a.base64.decode( e.variables[n[r]], - (t.variables[n[r]] = a.newBuffer(a.base64.length(e.variables[n[r]]))), + (t.variables[n[r]] = a.newBuffer( + a.base64.length(e.variables[n[r]]), + )), 0, ) - : e.variables[n[r]].length && (t.variables[n[r]] = e.variables[n[r]]) + : e.variables[n[r]].length && + (t.variables[n[r]] = e.variables[n[r]]) } return ( null != e.rawQuery && (t.rawQuery = String(e.rawQuery)), - null != e.operationName && (t.operationName = String(e.operationName)), + null != e.operationName && + (t.operationName = String(e.operationName)), t ) }), @@ -39410,7 +47036,8 @@ and limitations under the License. var n, r = {} if ( - ((t.objects || t.defaults) && ((r.variables = {}), (r.variablesJson = {})), + ((t.objects || t.defaults) && + ((r.variables = {}), (r.variablesJson = {})), t.defaults && ((r.rawQuery = ''), (r.operationName = '')), e.variables && (n = Object.keys(e.variables)).length) ) { @@ -39418,18 +47045,27 @@ and limitations under the License. for (var l = 0; l < n.length; ++l) r.variables[n[l]] = t.bytes === String - ? a.base64.encode(e.variables[n[l]], 0, e.variables[n[l]].length) + ? a.base64.encode( + e.variables[n[l]], + 0, + e.variables[n[l]].length, + ) : t.bytes === Array ? Array.prototype.slice.call(e.variables[n[l]]) : e.variables[n[l]] } if ( - (null != e.rawQuery && e.hasOwnProperty('rawQuery') && (r.rawQuery = e.rawQuery), - null != e.operationName && e.hasOwnProperty('operationName') && (r.operationName = e.operationName), + (null != e.rawQuery && + e.hasOwnProperty('rawQuery') && + (r.rawQuery = e.rawQuery), + null != e.operationName && + e.hasOwnProperty('operationName') && + (r.operationName = e.operationName), e.variablesJson && (n = Object.keys(e.variablesJson)).length) ) { r.variablesJson = {} - for (l = 0; l < n.length; ++l) r.variablesJson[n[l]] = e.variablesJson[n[l]] + for (l = 0; l < n.length; ++l) + r.variablesJson[n[l]] = e.variablesJson[n[l]] } return r }), @@ -39442,7 +47078,8 @@ and limitations under the License. (e.Error = (function() { function e(e) { if (((this.location = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.message = ''), @@ -39455,13 +47092,23 @@ and limitations under the License. (e.encode = function(e, t) { if ( (t || (t = o.create()), - null != e.message && e.hasOwnProperty('message') && t.uint32(10).string(e.message), + null != e.message && + e.hasOwnProperty('message') && + t.uint32(10).string(e.message), null != e.location && e.location.length) ) - for (var n = 0; n < e.location.length; ++n) s.Trace.Location.encode(e.location[n], t.uint32(18).fork()).ldelim() + for (var n = 0; n < e.location.length; ++n) + s.Trace.Location.encode( + e.location[n], + t.uint32(18).fork(), + ).ldelim() return ( - null != e.timeNs && e.hasOwnProperty('timeNs') && t.uint32(24).uint64(e.timeNs), - null != e.json && e.hasOwnProperty('json') && t.uint32(34).string(e.json), + null != e.timeNs && + e.hasOwnProperty('timeNs') && + t.uint32(24).uint64(e.timeNs), + null != e.json && + e.hasOwnProperty('json') && + t.uint32(34).string(e.json), t ) }), @@ -39470,7 +47117,12 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.Error(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.Error(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: @@ -39493,13 +47145,21 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.message && e.hasOwnProperty('message') && !a.isString(e.message)) return 'message: string expected' + if ( + null != e.message && + e.hasOwnProperty('message') && + !a.isString(e.message) + ) + return 'message: string expected' if (null != e.location && e.hasOwnProperty('location')) { - if (!Array.isArray(e.location)) return 'location: array expected' + if (!Array.isArray(e.location)) + return 'location: array expected' for (var t = 0; t < e.location.length; ++t) { var n = s.Trace.Location.verify(e.location[t]) if (n) return 'location.' + n @@ -39507,20 +47167,32 @@ and limitations under the License. } return null != e.timeNs && e.hasOwnProperty('timeNs') && - !(a.isInteger(e.timeNs) || (e.timeNs && a.isInteger(e.timeNs.low) && a.isInteger(e.timeNs.high))) + !( + a.isInteger(e.timeNs) || + (e.timeNs && + a.isInteger(e.timeNs.low) && + a.isInteger(e.timeNs.high)) + ) ? 'timeNs: integer|Long expected' - : null != e.json && e.hasOwnProperty('json') && !a.isString(e.json) + : null != e.json && + e.hasOwnProperty('json') && + !a.isString(e.json) ? 'json: string expected' : null }), (e.fromObject = function(e) { if (e instanceof s.Trace.Error) return e var t = new s.Trace.Error() - if ((null != e.message && (t.message = String(e.message)), e.location)) { - if (!Array.isArray(e.location)) throw TypeError('.Trace.Error.location: array expected') + if ( + (null != e.message && (t.message = String(e.message)), + e.location) + ) { + if (!Array.isArray(e.location)) + throw TypeError('.Trace.Error.location: array expected') t.location = [] for (var n = 0; n < e.location.length; ++n) { - if ('object' != typeof e.location[n]) throw TypeError('.Trace.Error.location: object expected') + if ('object' != typeof e.location[n]) + throw TypeError('.Trace.Error.location: object expected') t.location[n] = s.Trace.Location.fromObject(e.location[n]) } } @@ -39533,7 +47205,10 @@ and limitations under the License. : 'number' == typeof e.timeNs ? (t.timeNs = e.timeNs) : 'object' == typeof e.timeNs && - (t.timeNs = new a.LongBits(e.timeNs.low >>> 0, e.timeNs.high >>> 0).toNumber(!0))), + (t.timeNs = new a.LongBits( + e.timeNs.low >>> 0, + e.timeNs.high >>> 0, + ).toNumber(!0))), null != e.json && (t.json = String(e.json)), t ) @@ -39541,31 +47216,48 @@ and limitations under the License. (e.toObject = function(e, t) { t || (t = {}) var n = {} - if (((t.arrays || t.defaults) && (n.location = []), t.defaults)) { + if ( + ((t.arrays || t.defaults) && (n.location = []), t.defaults) + ) { if (((n.message = ''), a.Long)) { var r = new a.Long(0, 0, !0) - n.timeNs = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.timeNs = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.timeNs = t.longs === String ? '0' : 0 n.json = '' } if ( - (null != e.message && e.hasOwnProperty('message') && (n.message = e.message), e.location && e.location.length) + (null != e.message && + e.hasOwnProperty('message') && + (n.message = e.message), + e.location && e.location.length) ) { n.location = [] - for (var l = 0; l < e.location.length; ++l) n.location[l] = s.Trace.Location.toObject(e.location[l], t) + for (var l = 0; l < e.location.length; ++l) + n.location[l] = s.Trace.Location.toObject(e.location[l], t) } return ( null != e.timeNs && e.hasOwnProperty('timeNs') && ('number' == typeof e.timeNs - ? (n.timeNs = t.longs === String ? String(e.timeNs) : e.timeNs) + ? (n.timeNs = + t.longs === String ? String(e.timeNs) : e.timeNs) : (n.timeNs = t.longs === String ? a.Long.prototype.toString.call(e.timeNs) : t.longs === Number - ? new a.LongBits(e.timeNs.low >>> 0, e.timeNs.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.timeNs.low >>> 0, + e.timeNs.high >>> 0, + ).toNumber(!0) : e.timeNs)), - null != e.json && e.hasOwnProperty('json') && (n.json = e.json), + null != e.json && + e.hasOwnProperty('json') && + (n.json = e.json), n ) }), @@ -39578,7 +47270,8 @@ and limitations under the License. (e.HTTP = (function() { function e(e) { if (((this.requestHeaders = {}), (this.responseHeaders = {}), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } var t, n return ( @@ -39596,34 +47289,64 @@ and limitations under the License. (e.encode = function(e, t) { if ( (t || (t = o.create()), - null != e.method && e.hasOwnProperty('method') && t.uint32(8).int32(e.method), - null != e.host && e.hasOwnProperty('host') && t.uint32(18).string(e.host), - null != e.path && e.hasOwnProperty('path') && t.uint32(26).string(e.path), - null != e.requestHeaders && e.hasOwnProperty('requestHeaders')) + null != e.method && + e.hasOwnProperty('method') && + t.uint32(8).int32(e.method), + null != e.host && + e.hasOwnProperty('host') && + t.uint32(18).string(e.host), + null != e.path && + e.hasOwnProperty('path') && + t.uint32(26).string(e.path), + null != e.requestHeaders && + e.hasOwnProperty('requestHeaders')) ) - for (var n = Object.keys(e.requestHeaders), r = 0; r < n.length; ++r) + for ( + var n = Object.keys(e.requestHeaders), r = 0; + r < n.length; + ++r + ) t .uint32(34) .fork() .uint32(10) .string(n[r]), - s.Trace.HTTP.Values.encode(e.requestHeaders[n[r]], t.uint32(18).fork()) + s.Trace.HTTP.Values.encode( + e.requestHeaders[n[r]], + t.uint32(18).fork(), + ) .ldelim() .ldelim() - if (null != e.responseHeaders && e.hasOwnProperty('responseHeaders')) - for (n = Object.keys(e.responseHeaders), r = 0; r < n.length; ++r) + if ( + null != e.responseHeaders && + e.hasOwnProperty('responseHeaders') + ) + for ( + n = Object.keys(e.responseHeaders), r = 0; + r < n.length; + ++r + ) t .uint32(42) .fork() .uint32(10) .string(n[r]), - s.Trace.HTTP.Values.encode(e.responseHeaders[n[r]], t.uint32(18).fork()) + s.Trace.HTTP.Values.encode( + e.responseHeaders[n[r]], + t.uint32(18).fork(), + ) .ldelim() .ldelim() return ( - null != e.statusCode && e.hasOwnProperty('statusCode') && t.uint32(48).uint32(e.statusCode), - null != e.secure && e.hasOwnProperty('secure') && t.uint32(64).bool(e.secure), - null != e.protocol && e.hasOwnProperty('protocol') && t.uint32(74).string(e.protocol), + null != e.statusCode && + e.hasOwnProperty('statusCode') && + t.uint32(48).uint32(e.statusCode), + null != e.secure && + e.hasOwnProperty('secure') && + t.uint32(64).bool(e.secure), + null != e.protocol && + e.hasOwnProperty('protocol') && + t.uint32(74).string(e.protocol), t ) }), @@ -39632,7 +47355,13 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n, r = void 0 === t ? e.len : e.pos + t, l = new s.Trace.HTTP(); e.pos < r; ) { + for ( + var n, + r = void 0 === t ? e.len : e.pos + t, + l = new s.Trace.HTTP(); + e.pos < r; + + ) { var u = e.uint32() switch (u >>> 3) { case 1: @@ -39646,17 +47375,25 @@ and limitations under the License. break case 4: e.skip().pos++, - l.requestHeaders === a.emptyObject && (l.requestHeaders = {}), + l.requestHeaders === a.emptyObject && + (l.requestHeaders = {}), (n = e.string()), e.pos++, - (l.requestHeaders[n] = s.Trace.HTTP.Values.decode(e, e.uint32())) + (l.requestHeaders[n] = s.Trace.HTTP.Values.decode( + e, + e.uint32(), + )) break case 5: e.skip().pos++, - l.responseHeaders === a.emptyObject && (l.responseHeaders = {}), + l.responseHeaders === a.emptyObject && + (l.responseHeaders = {}), (n = e.string()), e.pos++, - (l.responseHeaders[n] = s.Trace.HTTP.Values.decode(e, e.uint32())) + (l.responseHeaders[n] = s.Trace.HTTP.Values.decode( + e, + e.uint32(), + )) break case 6: l.statusCode = e.uint32() @@ -39674,7 +47411,9 @@ and limitations under the License. return l }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' @@ -39693,26 +47432,64 @@ and limitations under the License. case 8: case 9: } - if (null != e.host && e.hasOwnProperty('host') && !a.isString(e.host)) return 'host: string expected' - if (null != e.path && e.hasOwnProperty('path') && !a.isString(e.path)) return 'path: string expected' - if (null != e.requestHeaders && e.hasOwnProperty('requestHeaders')) { - if (!a.isObject(e.requestHeaders)) return 'requestHeaders: object expected' - for (var t = Object.keys(e.requestHeaders), n = 0; n < t.length; ++n) { - if ((r = s.Trace.HTTP.Values.verify(e.requestHeaders[t[n]]))) return 'requestHeaders.' + r + if ( + null != e.host && + e.hasOwnProperty('host') && + !a.isString(e.host) + ) + return 'host: string expected' + if ( + null != e.path && + e.hasOwnProperty('path') && + !a.isString(e.path) + ) + return 'path: string expected' + if ( + null != e.requestHeaders && + e.hasOwnProperty('requestHeaders') + ) { + if (!a.isObject(e.requestHeaders)) + return 'requestHeaders: object expected' + for ( + var t = Object.keys(e.requestHeaders), n = 0; + n < t.length; + ++n + ) { + if ( + (r = s.Trace.HTTP.Values.verify(e.requestHeaders[t[n]])) + ) + return 'requestHeaders.' + r } } - if (null != e.responseHeaders && e.hasOwnProperty('responseHeaders')) { - if (!a.isObject(e.responseHeaders)) return 'responseHeaders: object expected' - for (t = Object.keys(e.responseHeaders), n = 0; n < t.length; ++n) { + if ( + null != e.responseHeaders && + e.hasOwnProperty('responseHeaders') + ) { + if (!a.isObject(e.responseHeaders)) + return 'responseHeaders: object expected' + for ( + t = Object.keys(e.responseHeaders), n = 0; + n < t.length; + ++n + ) { var r - if ((r = s.Trace.HTTP.Values.verify(e.responseHeaders[t[n]]))) return 'responseHeaders.' + r + if ( + (r = s.Trace.HTTP.Values.verify(e.responseHeaders[t[n]])) + ) + return 'responseHeaders.' + r } } - return null != e.statusCode && e.hasOwnProperty('statusCode') && !a.isInteger(e.statusCode) + return null != e.statusCode && + e.hasOwnProperty('statusCode') && + !a.isInteger(e.statusCode) ? 'statusCode: integer expected' - : null != e.secure && e.hasOwnProperty('secure') && 'boolean' != typeof e.secure + : null != e.secure && + e.hasOwnProperty('secure') && + 'boolean' != typeof e.secure ? 'secure: boolean expected' - : null != e.protocol && e.hasOwnProperty('protocol') && !a.isString(e.protocol) + : null != e.protocol && + e.hasOwnProperty('protocol') && + !a.isString(e.protocol) ? 'protocol: string expected' : null }), @@ -39761,22 +47538,47 @@ and limitations under the License. t.method = 9 } if ( - (null != e.host && (t.host = String(e.host)), null != e.path && (t.path = String(e.path)), e.requestHeaders) + (null != e.host && (t.host = String(e.host)), + null != e.path && (t.path = String(e.path)), + e.requestHeaders) ) { - if ('object' != typeof e.requestHeaders) throw TypeError('.Trace.HTTP.requestHeaders: object expected') + if ('object' != typeof e.requestHeaders) + throw TypeError( + '.Trace.HTTP.requestHeaders: object expected', + ) t.requestHeaders = {} - for (var n = Object.keys(e.requestHeaders), r = 0; r < n.length; ++r) { - if ('object' != typeof e.requestHeaders[n[r]]) throw TypeError('.Trace.HTTP.requestHeaders: object expected') - t.requestHeaders[n[r]] = s.Trace.HTTP.Values.fromObject(e.requestHeaders[n[r]]) + for ( + var n = Object.keys(e.requestHeaders), r = 0; + r < n.length; + ++r + ) { + if ('object' != typeof e.requestHeaders[n[r]]) + throw TypeError( + '.Trace.HTTP.requestHeaders: object expected', + ) + t.requestHeaders[n[r]] = s.Trace.HTTP.Values.fromObject( + e.requestHeaders[n[r]], + ) } } if (e.responseHeaders) { - if ('object' != typeof e.responseHeaders) throw TypeError('.Trace.HTTP.responseHeaders: object expected') + if ('object' != typeof e.responseHeaders) + throw TypeError( + '.Trace.HTTP.responseHeaders: object expected', + ) t.responseHeaders = {} - for (n = Object.keys(e.responseHeaders), r = 0; r < n.length; ++r) { + for ( + n = Object.keys(e.responseHeaders), r = 0; + r < n.length; + ++r + ) { if ('object' != typeof e.responseHeaders[n[r]]) - throw TypeError('.Trace.HTTP.responseHeaders: object expected') - t.responseHeaders[n[r]] = s.Trace.HTTP.Values.fromObject(e.responseHeaders[n[r]]) + throw TypeError( + '.Trace.HTTP.responseHeaders: object expected', + ) + t.responseHeaders[n[r]] = s.Trace.HTTP.Values.fromObject( + e.responseHeaders[n[r]], + ) } } return ( @@ -39791,7 +47593,8 @@ and limitations under the License. var n, r = {} if ( - ((t.objects || t.defaults) && ((r.requestHeaders = {}), (r.responseHeaders = {})), + ((t.objects || t.defaults) && + ((r.requestHeaders = {}), (r.responseHeaders = {})), t.defaults && ((r.method = t.enums === String ? 'UNKNOWN' : 0), (r.host = ''), @@ -39801,24 +47604,47 @@ and limitations under the License. (r.protocol = '')), null != e.method && e.hasOwnProperty('method') && - (r.method = t.enums === String ? s.Trace.HTTP.Method[e.method] : e.method), - null != e.host && e.hasOwnProperty('host') && (r.host = e.host), - null != e.path && e.hasOwnProperty('path') && (r.path = e.path), - e.requestHeaders && (n = Object.keys(e.requestHeaders)).length) + (r.method = + t.enums === String + ? s.Trace.HTTP.Method[e.method] + : e.method), + null != e.host && + e.hasOwnProperty('host') && + (r.host = e.host), + null != e.path && + e.hasOwnProperty('path') && + (r.path = e.path), + e.requestHeaders && + (n = Object.keys(e.requestHeaders)).length) ) { r.requestHeaders = {} for (var l = 0; l < n.length; ++l) - r.requestHeaders[n[l]] = s.Trace.HTTP.Values.toObject(e.requestHeaders[n[l]], t) + r.requestHeaders[n[l]] = s.Trace.HTTP.Values.toObject( + e.requestHeaders[n[l]], + t, + ) } - if (e.responseHeaders && (n = Object.keys(e.responseHeaders)).length) { + if ( + e.responseHeaders && + (n = Object.keys(e.responseHeaders)).length + ) { r.responseHeaders = {} for (l = 0; l < n.length; ++l) - r.responseHeaders[n[l]] = s.Trace.HTTP.Values.toObject(e.responseHeaders[n[l]], t) + r.responseHeaders[n[l]] = s.Trace.HTTP.Values.toObject( + e.responseHeaders[n[l]], + t, + ) } return ( - null != e.statusCode && e.hasOwnProperty('statusCode') && (r.statusCode = e.statusCode), - null != e.secure && e.hasOwnProperty('secure') && (r.secure = e.secure), - null != e.protocol && e.hasOwnProperty('protocol') && (r.protocol = e.protocol), + null != e.statusCode && + e.hasOwnProperty('statusCode') && + (r.statusCode = e.statusCode), + null != e.secure && + e.hasOwnProperty('secure') && + (r.secure = e.secure), + null != e.protocol && + e.hasOwnProperty('protocol') && + (r.protocol = e.protocol), r ) }), @@ -39828,7 +47654,8 @@ and limitations under the License. (e.Values = (function() { function e(e) { if (((this.value = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.value = a.emptyArray), @@ -39836,8 +47663,11 @@ and limitations under the License. return new e(t) }), (e.encode = function(e, t) { - if ((t || (t = o.create()), null != e.value && e.value.length)) - for (var n = 0; n < e.value.length; ++n) t.uint32(10).string(e.value[n]) + if ( + (t || (t = o.create()), null != e.value && e.value.length) + ) + for (var n = 0; n < e.value.length; ++n) + t.uint32(10).string(e.value[n]) return t }), (e.encodeDelimited = function(e, t) { @@ -39845,11 +47675,17 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.HTTP.Values(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.HTTP.Values(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: - ;(r.value && r.value.length) || (r.value = []), r.value.push(e.string()) + ;(r.value && r.value.length) || (r.value = []), + r.value.push(e.string()) break default: e.skipType(7 & l) @@ -39858,13 +47694,20 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), + this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { - if ('object' != typeof e || null === e) return 'object expected' + if ('object' != typeof e || null === e) + return 'object expected' if (null != e.value && e.hasOwnProperty('value')) { - if (!Array.isArray(e.value)) return 'value: array expected' - for (var t = 0; t < e.value.length; ++t) if (!a.isString(e.value[t])) return 'value: string[] expected' + if (!Array.isArray(e.value)) + return 'value: array expected' + for (var t = 0; t < e.value.length; ++t) + if (!a.isString(e.value[t])) + return 'value: string[] expected' } return null }), @@ -39872,18 +47715,26 @@ and limitations under the License. if (e instanceof s.Trace.HTTP.Values) return e var t = new s.Trace.HTTP.Values() if (e.value) { - if (!Array.isArray(e.value)) throw TypeError('.Trace.HTTP.Values.value: array expected') + if (!Array.isArray(e.value)) + throw TypeError( + '.Trace.HTTP.Values.value: array expected', + ) t.value = [] - for (var n = 0; n < e.value.length; ++n) t.value[n] = String(e.value[n]) + for (var n = 0; n < e.value.length; ++n) + t.value[n] = String(e.value[n]) } return t }), (e.toObject = function(e, t) { t || (t = {}) var n = {} - if (((t.arrays || t.defaults) && (n.value = []), e.value && e.value.length)) { + if ( + ((t.arrays || t.defaults) && (n.value = []), + e.value && e.value.length) + ) { n.value = [] - for (var r = 0; r < e.value.length; ++r) n.value[r] = e.value[r] + for (var r = 0; r < e.value.length; ++r) + n.value[r] = e.value[r] } return n }), @@ -39893,24 +47744,27 @@ and limitations under the License. e ) })()), - (e.Method = ((t = {}), - ((n = Object.create(t))[(t[0] = 'UNKNOWN')] = 0), - (n[(t[1] = 'OPTIONS')] = 1), - (n[(t[2] = 'GET')] = 2), - (n[(t[3] = 'HEAD')] = 3), - (n[(t[4] = 'POST')] = 4), - (n[(t[5] = 'PUT')] = 5), - (n[(t[6] = 'DELETE')] = 6), - (n[(t[7] = 'TRACE')] = 7), - (n[(t[8] = 'CONNECT')] = 8), - (n[(t[9] = 'PATCH')] = 9), - n)), + (e.Method = + ((t = {}), + ((n = Object.create(t))[(t[0] = 'UNKNOWN')] = 0), + (n[(t[1] = 'OPTIONS')] = 1), + (n[(t[2] = 'GET')] = 2), + (n[(t[3] = 'HEAD')] = 3), + (n[(t[4] = 'POST')] = 4), + (n[(t[5] = 'PUT')] = 5), + (n[(t[6] = 'DELETE')] = 6), + (n[(t[7] = 'TRACE')] = 7), + (n[(t[8] = 'CONNECT')] = 8), + (n[(t[9] = 'PATCH')] = 9), + n)), e ) })()), (e.Location = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.line = 0), @@ -39921,8 +47775,12 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.line && e.hasOwnProperty('line') && t.uint32(8).uint32(e.line), - null != e.column && e.hasOwnProperty('column') && t.uint32(16).uint32(e.column), + null != e.line && + e.hasOwnProperty('line') && + t.uint32(8).uint32(e.line), + null != e.column && + e.hasOwnProperty('column') && + t.uint32(16).uint32(e.column), t ) }), @@ -39931,7 +47789,12 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.Location(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.Location(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: @@ -39947,29 +47810,43 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { return 'object' != typeof e || null === e ? 'object expected' - : null != e.line && e.hasOwnProperty('line') && !a.isInteger(e.line) + : null != e.line && + e.hasOwnProperty('line') && + !a.isInteger(e.line) ? 'line: integer expected' - : null != e.column && e.hasOwnProperty('column') && !a.isInteger(e.column) + : null != e.column && + e.hasOwnProperty('column') && + !a.isInteger(e.column) ? 'column: integer expected' : null }), (e.fromObject = function(e) { if (e instanceof s.Trace.Location) return e var t = new s.Trace.Location() - return null != e.line && (t.line = e.line >>> 0), null != e.column && (t.column = e.column >>> 0), t + return ( + null != e.line && (t.line = e.line >>> 0), + null != e.column && (t.column = e.column >>> 0), + t + ) }), (e.toObject = function(e, t) { t || (t = {}) var n = {} return ( t.defaults && ((n.line = 0), (n.column = 0)), - null != e.line && e.hasOwnProperty('line') && (n.line = e.line), - null != e.column && e.hasOwnProperty('column') && (n.column = e.column), + null != e.line && + e.hasOwnProperty('line') && + (n.line = e.line), + null != e.column && + e.hasOwnProperty('column') && + (n.column = e.column), n ) }), @@ -39982,7 +47859,8 @@ and limitations under the License. (e.Node = (function() { function e(e) { if (((this.error = []), (this.child = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } var t return ( @@ -40006,21 +47884,44 @@ and limitations under the License. (e.encode = function(e, t) { if ( (t || (t = o.create()), - null != e.responseName && e.hasOwnProperty('responseName') && t.uint32(10).string(e.responseName), - null != e.index && e.hasOwnProperty('index') && t.uint32(16).uint32(e.index), - null != e.type && e.hasOwnProperty('type') && t.uint32(26).string(e.type), + null != e.responseName && + e.hasOwnProperty('responseName') && + t.uint32(10).string(e.responseName), + null != e.index && + e.hasOwnProperty('index') && + t.uint32(16).uint32(e.index), + null != e.type && + e.hasOwnProperty('type') && + t.uint32(26).string(e.type), null != e.cachePolicy && e.hasOwnProperty('cachePolicy') && - s.Trace.CachePolicy.encode(e.cachePolicy, t.uint32(42).fork()).ldelim(), - null != e.startTime && e.hasOwnProperty('startTime') && t.uint32(64).uint64(e.startTime), - null != e.endTime && e.hasOwnProperty('endTime') && t.uint32(72).uint64(e.endTime), + s.Trace.CachePolicy.encode( + e.cachePolicy, + t.uint32(42).fork(), + ).ldelim(), + null != e.startTime && + e.hasOwnProperty('startTime') && + t.uint32(64).uint64(e.startTime), + null != e.endTime && + e.hasOwnProperty('endTime') && + t.uint32(72).uint64(e.endTime), null != e.error && e.error.length) ) - for (var n = 0; n < e.error.length; ++n) s.Trace.Error.encode(e.error[n], t.uint32(90).fork()).ldelim() + for (var n = 0; n < e.error.length; ++n) + s.Trace.Error.encode( + e.error[n], + t.uint32(90).fork(), + ).ldelim() if (null != e.child && e.child.length) - for (n = 0; n < e.child.length; ++n) s.Trace.Node.encode(e.child[n], t.uint32(98).fork()).ldelim() + for (n = 0; n < e.child.length; ++n) + s.Trace.Node.encode( + e.child[n], + t.uint32(98).fork(), + ).ldelim() return ( - null != e.parentType && e.hasOwnProperty('parentType') && t.uint32(106).string(e.parentType), + null != e.parentType && + e.hasOwnProperty('parentType') && + t.uint32(106).string(e.parentType), null != e.originalFieldName && e.hasOwnProperty('originalFieldName') && t.uint32(114).string(e.originalFieldName), @@ -40032,7 +47933,12 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.Node(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.Node(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: @@ -40060,10 +47966,12 @@ and limitations under the License. r.endTime = e.uint64() break case 11: - ;(r.error && r.error.length) || (r.error = []), r.error.push(s.Trace.Error.decode(e, e.uint32())) + ;(r.error && r.error.length) || (r.error = []), + r.error.push(s.Trace.Error.decode(e, e.uint32())) break case 12: - ;(r.child && r.child.length) || (r.child = []), r.child.push(s.Trace.Node.decode(e, e.uint32())) + ;(r.child && r.child.length) || (r.child = []), + r.child.push(s.Trace.Node.decode(e, e.uint32())) break default: e.skipType(7 & l) @@ -40072,47 +47980,83 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' var t = {} - if (null != e.responseName && e.hasOwnProperty('responseName') && ((t.id = 1), !a.isString(e.responseName))) + if ( + null != e.responseName && + e.hasOwnProperty('responseName') && + ((t.id = 1), !a.isString(e.responseName)) + ) return 'responseName: string expected' if (null != e.index && e.hasOwnProperty('index')) { if (1 === t.id) return 'id: multiple values' - if (((t.id = 1), !a.isInteger(e.index))) return 'index: integer expected' + if (((t.id = 1), !a.isInteger(e.index))) + return 'index: integer expected' } - if (null != e.originalFieldName && e.hasOwnProperty('originalFieldName') && !a.isString(e.originalFieldName)) + if ( + null != e.originalFieldName && + e.hasOwnProperty('originalFieldName') && + !a.isString(e.originalFieldName) + ) return 'originalFieldName: string expected' - if (null != e.type && e.hasOwnProperty('type') && !a.isString(e.type)) return 'type: string expected' - if (null != e.parentType && e.hasOwnProperty('parentType') && !a.isString(e.parentType)) + if ( + null != e.type && + e.hasOwnProperty('type') && + !a.isString(e.type) + ) + return 'type: string expected' + if ( + null != e.parentType && + e.hasOwnProperty('parentType') && + !a.isString(e.parentType) + ) return 'parentType: string expected' - if (null != e.cachePolicy && e.hasOwnProperty('cachePolicy') && (r = s.Trace.CachePolicy.verify(e.cachePolicy))) + if ( + null != e.cachePolicy && + e.hasOwnProperty('cachePolicy') && + (r = s.Trace.CachePolicy.verify(e.cachePolicy)) + ) return 'cachePolicy.' + r if ( null != e.startTime && e.hasOwnProperty('startTime') && - !(a.isInteger(e.startTime) || (e.startTime && a.isInteger(e.startTime.low) && a.isInteger(e.startTime.high))) + !( + a.isInteger(e.startTime) || + (e.startTime && + a.isInteger(e.startTime.low) && + a.isInteger(e.startTime.high)) + ) ) return 'startTime: integer|Long expected' if ( null != e.endTime && e.hasOwnProperty('endTime') && - !(a.isInteger(e.endTime) || (e.endTime && a.isInteger(e.endTime.low) && a.isInteger(e.endTime.high))) + !( + a.isInteger(e.endTime) || + (e.endTime && + a.isInteger(e.endTime.low) && + a.isInteger(e.endTime.high)) + ) ) return 'endTime: integer|Long expected' if (null != e.error && e.hasOwnProperty('error')) { if (!Array.isArray(e.error)) return 'error: array expected' for (var n = 0; n < e.error.length; ++n) { - if ((r = s.Trace.Error.verify(e.error[n]))) return 'error.' + r + if ((r = s.Trace.Error.verify(e.error[n]))) + return 'error.' + r } } if (null != e.child && e.hasOwnProperty('child')) { if (!Array.isArray(e.child)) return 'child: array expected' for (n = 0; n < e.child.length; ++n) { var r - if ((r = s.Trace.Node.verify(e.child[n]))) return 'child.' + r + if ((r = s.Trace.Node.verify(e.child[n]))) + return 'child.' + r } } return null @@ -40121,49 +48065,66 @@ and limitations under the License. if (e instanceof s.Trace.Node) return e var t = new s.Trace.Node() if ( - (null != e.responseName && (t.responseName = String(e.responseName)), + (null != e.responseName && + (t.responseName = String(e.responseName)), null != e.index && (t.index = e.index >>> 0), - null != e.originalFieldName && (t.originalFieldName = String(e.originalFieldName)), + null != e.originalFieldName && + (t.originalFieldName = String(e.originalFieldName)), null != e.type && (t.type = String(e.type)), null != e.parentType && (t.parentType = String(e.parentType)), null != e.cachePolicy) ) { - if ('object' != typeof e.cachePolicy) throw TypeError('.Trace.Node.cachePolicy: object expected') + if ('object' != typeof e.cachePolicy) + throw TypeError('.Trace.Node.cachePolicy: object expected') t.cachePolicy = s.Trace.CachePolicy.fromObject(e.cachePolicy) } if ( (null != e.startTime && (a.Long - ? ((t.startTime = a.Long.fromValue(e.startTime)).unsigned = !0) + ? ((t.startTime = a.Long.fromValue( + e.startTime, + )).unsigned = !0) : 'string' == typeof e.startTime ? (t.startTime = parseInt(e.startTime, 10)) : 'number' == typeof e.startTime ? (t.startTime = e.startTime) : 'object' == typeof e.startTime && - (t.startTime = new a.LongBits(e.startTime.low >>> 0, e.startTime.high >>> 0).toNumber(!0))), + (t.startTime = new a.LongBits( + e.startTime.low >>> 0, + e.startTime.high >>> 0, + ).toNumber(!0))), null != e.endTime && (a.Long - ? ((t.endTime = a.Long.fromValue(e.endTime)).unsigned = !0) + ? ((t.endTime = a.Long.fromValue( + e.endTime, + )).unsigned = !0) : 'string' == typeof e.endTime ? (t.endTime = parseInt(e.endTime, 10)) : 'number' == typeof e.endTime ? (t.endTime = e.endTime) : 'object' == typeof e.endTime && - (t.endTime = new a.LongBits(e.endTime.low >>> 0, e.endTime.high >>> 0).toNumber(!0))), + (t.endTime = new a.LongBits( + e.endTime.low >>> 0, + e.endTime.high >>> 0, + ).toNumber(!0))), e.error) ) { - if (!Array.isArray(e.error)) throw TypeError('.Trace.Node.error: array expected') + if (!Array.isArray(e.error)) + throw TypeError('.Trace.Node.error: array expected') t.error = [] for (var n = 0; n < e.error.length; ++n) { - if ('object' != typeof e.error[n]) throw TypeError('.Trace.Node.error: object expected') + if ('object' != typeof e.error[n]) + throw TypeError('.Trace.Node.error: object expected') t.error[n] = s.Trace.Error.fromObject(e.error[n]) } } if (e.child) { - if (!Array.isArray(e.child)) throw TypeError('.Trace.Node.child: array expected') + if (!Array.isArray(e.child)) + throw TypeError('.Trace.Node.child: array expected') t.child = [] for (n = 0; n < e.child.length; ++n) { - if ('object' != typeof e.child[n]) throw TypeError('.Trace.Node.child: object expected') + if ('object' != typeof e.child[n]) + throw TypeError('.Trace.Node.child: object expected') t.child[n] = s.Trace.Node.fromObject(e.child[n]) } } @@ -40172,57 +48133,92 @@ and limitations under the License. (e.toObject = function(e, t) { t || (t = {}) var n = {} - if (((t.arrays || t.defaults) && ((n.error = []), (n.child = [])), t.defaults)) { + if ( + ((t.arrays || t.defaults) && ((n.error = []), (n.child = [])), + t.defaults) + ) { if (((n.type = ''), (n.cachePolicy = null), a.Long)) { var r = new a.Long(0, 0, !0) - n.startTime = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.startTime = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.startTime = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.endTime = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.endTime = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.endTime = t.longs === String ? '0' : 0 ;(n.parentType = ''), (n.originalFieldName = '') } if ( (null != e.responseName && e.hasOwnProperty('responseName') && - ((n.responseName = e.responseName), t.oneofs && (n.id = 'responseName')), - null != e.index && e.hasOwnProperty('index') && ((n.index = e.index), t.oneofs && (n.id = 'index')), - null != e.type && e.hasOwnProperty('type') && (n.type = e.type), + ((n.responseName = e.responseName), + t.oneofs && (n.id = 'responseName')), + null != e.index && + e.hasOwnProperty('index') && + ((n.index = e.index), t.oneofs && (n.id = 'index')), + null != e.type && + e.hasOwnProperty('type') && + (n.type = e.type), null != e.cachePolicy && e.hasOwnProperty('cachePolicy') && - (n.cachePolicy = s.Trace.CachePolicy.toObject(e.cachePolicy, t)), + (n.cachePolicy = s.Trace.CachePolicy.toObject( + e.cachePolicy, + t, + )), null != e.startTime && e.hasOwnProperty('startTime') && ('number' == typeof e.startTime - ? (n.startTime = t.longs === String ? String(e.startTime) : e.startTime) + ? (n.startTime = + t.longs === String + ? String(e.startTime) + : e.startTime) : (n.startTime = t.longs === String ? a.Long.prototype.toString.call(e.startTime) : t.longs === Number - ? new a.LongBits(e.startTime.low >>> 0, e.startTime.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.startTime.low >>> 0, + e.startTime.high >>> 0, + ).toNumber(!0) : e.startTime)), null != e.endTime && e.hasOwnProperty('endTime') && ('number' == typeof e.endTime - ? (n.endTime = t.longs === String ? String(e.endTime) : e.endTime) + ? (n.endTime = + t.longs === String ? String(e.endTime) : e.endTime) : (n.endTime = t.longs === String ? a.Long.prototype.toString.call(e.endTime) : t.longs === Number - ? new a.LongBits(e.endTime.low >>> 0, e.endTime.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.endTime.low >>> 0, + e.endTime.high >>> 0, + ).toNumber(!0) : e.endTime)), e.error && e.error.length) ) { n.error = [] - for (var l = 0; l < e.error.length; ++l) n.error[l] = s.Trace.Error.toObject(e.error[l], t) + for (var l = 0; l < e.error.length; ++l) + n.error[l] = s.Trace.Error.toObject(e.error[l], t) } if (e.child && e.child.length) { n.child = [] - for (l = 0; l < e.child.length; ++l) n.child[l] = s.Trace.Node.toObject(e.child[l], t) + for (l = 0; l < e.child.length; ++l) + n.child[l] = s.Trace.Node.toObject(e.child[l], t) } return ( - null != e.parentType && e.hasOwnProperty('parentType') && (n.parentType = e.parentType), + null != e.parentType && + e.hasOwnProperty('parentType') && + (n.parentType = e.parentType), null != e.originalFieldName && e.hasOwnProperty('originalFieldName') && (n.originalFieldName = e.originalFieldName), @@ -40237,7 +48233,9 @@ and limitations under the License. })()), (e.QueryPlanNode = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } var t return ( @@ -40246,7 +48244,9 @@ and limitations under the License. (e.prototype.fetch = null), (e.prototype.flatten = null), Object.defineProperty(e.prototype, 'node', { - get: a.oneOfGetter((t = ['sequence', 'parallel', 'fetch', 'flatten'])), + get: a.oneOfGetter( + (t = ['sequence', 'parallel', 'fetch', 'flatten']), + ), set: a.oneOfSetter(t), }), (e.create = function(t) { @@ -40257,16 +48257,28 @@ and limitations under the License. t || (t = o.create()), null != e.sequence && e.hasOwnProperty('sequence') && - s.Trace.QueryPlanNode.SequenceNode.encode(e.sequence, t.uint32(10).fork()).ldelim(), + s.Trace.QueryPlanNode.SequenceNode.encode( + e.sequence, + t.uint32(10).fork(), + ).ldelim(), null != e.parallel && e.hasOwnProperty('parallel') && - s.Trace.QueryPlanNode.ParallelNode.encode(e.parallel, t.uint32(18).fork()).ldelim(), + s.Trace.QueryPlanNode.ParallelNode.encode( + e.parallel, + t.uint32(18).fork(), + ).ldelim(), null != e.fetch && e.hasOwnProperty('fetch') && - s.Trace.QueryPlanNode.FetchNode.encode(e.fetch, t.uint32(26).fork()).ldelim(), + s.Trace.QueryPlanNode.FetchNode.encode( + e.fetch, + t.uint32(26).fork(), + ).ldelim(), null != e.flatten && e.hasOwnProperty('flatten') && - s.Trace.QueryPlanNode.FlattenNode.encode(e.flatten, t.uint32(34).fork()).ldelim(), + s.Trace.QueryPlanNode.FlattenNode.encode( + e.flatten, + t.uint32(34).fork(), + ).ldelim(), t ) }), @@ -40275,20 +48287,37 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.QueryPlanNode(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.QueryPlanNode(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: - r.sequence = s.Trace.QueryPlanNode.SequenceNode.decode(e, e.uint32()) + r.sequence = s.Trace.QueryPlanNode.SequenceNode.decode( + e, + e.uint32(), + ) break case 2: - r.parallel = s.Trace.QueryPlanNode.ParallelNode.decode(e, e.uint32()) + r.parallel = s.Trace.QueryPlanNode.ParallelNode.decode( + e, + e.uint32(), + ) break case 3: - r.fetch = s.Trace.QueryPlanNode.FetchNode.decode(e, e.uint32()) + r.fetch = s.Trace.QueryPlanNode.FetchNode.decode( + e, + e.uint32(), + ) break case 4: - r.flatten = s.Trace.QueryPlanNode.FlattenNode.decode(e, e.uint32()) + r.flatten = s.Trace.QueryPlanNode.FlattenNode.decode( + e, + e.uint32(), + ) break default: e.skipType(7 & l) @@ -40297,7 +48326,9 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' @@ -40305,21 +48336,34 @@ and limitations under the License. if ( null != e.sequence && e.hasOwnProperty('sequence') && - ((t.node = 1), (n = s.Trace.QueryPlanNode.SequenceNode.verify(e.sequence))) + ((t.node = 1), + (n = s.Trace.QueryPlanNode.SequenceNode.verify(e.sequence))) ) return 'sequence.' + n if (null != e.parallel && e.hasOwnProperty('parallel')) { if (1 === t.node) return 'node: multiple values' - if (((t.node = 1), (n = s.Trace.QueryPlanNode.ParallelNode.verify(e.parallel)))) return 'parallel.' + n + if ( + ((t.node = 1), + (n = s.Trace.QueryPlanNode.ParallelNode.verify(e.parallel))) + ) + return 'parallel.' + n } if (null != e.fetch && e.hasOwnProperty('fetch')) { if (1 === t.node) return 'node: multiple values' - if (((t.node = 1), (n = s.Trace.QueryPlanNode.FetchNode.verify(e.fetch)))) return 'fetch.' + n + if ( + ((t.node = 1), + (n = s.Trace.QueryPlanNode.FetchNode.verify(e.fetch))) + ) + return 'fetch.' + n } if (null != e.flatten && e.hasOwnProperty('flatten')) { if (1 === t.node) return 'node: multiple values' var n - if (((t.node = 1), (n = s.Trace.QueryPlanNode.FlattenNode.verify(e.flatten)))) return 'flatten.' + n + if ( + ((t.node = 1), + (n = s.Trace.QueryPlanNode.FlattenNode.verify(e.flatten))) + ) + return 'flatten.' + n } return null }), @@ -40327,20 +48371,38 @@ and limitations under the License. if (e instanceof s.Trace.QueryPlanNode) return e var t = new s.Trace.QueryPlanNode() if (null != e.sequence) { - if ('object' != typeof e.sequence) throw TypeError('.Trace.QueryPlanNode.sequence: object expected') - t.sequence = s.Trace.QueryPlanNode.SequenceNode.fromObject(e.sequence) + if ('object' != typeof e.sequence) + throw TypeError( + '.Trace.QueryPlanNode.sequence: object expected', + ) + t.sequence = s.Trace.QueryPlanNode.SequenceNode.fromObject( + e.sequence, + ) } if (null != e.parallel) { - if ('object' != typeof e.parallel) throw TypeError('.Trace.QueryPlanNode.parallel: object expected') - t.parallel = s.Trace.QueryPlanNode.ParallelNode.fromObject(e.parallel) + if ('object' != typeof e.parallel) + throw TypeError( + '.Trace.QueryPlanNode.parallel: object expected', + ) + t.parallel = s.Trace.QueryPlanNode.ParallelNode.fromObject( + e.parallel, + ) } if (null != e.fetch) { - if ('object' != typeof e.fetch) throw TypeError('.Trace.QueryPlanNode.fetch: object expected') + if ('object' != typeof e.fetch) + throw TypeError( + '.Trace.QueryPlanNode.fetch: object expected', + ) t.fetch = s.Trace.QueryPlanNode.FetchNode.fromObject(e.fetch) } if (null != e.flatten) { - if ('object' != typeof e.flatten) throw TypeError('.Trace.QueryPlanNode.flatten: object expected') - t.flatten = s.Trace.QueryPlanNode.FlattenNode.fromObject(e.flatten) + if ('object' != typeof e.flatten) + throw TypeError( + '.Trace.QueryPlanNode.flatten: object expected', + ) + t.flatten = s.Trace.QueryPlanNode.FlattenNode.fromObject( + e.flatten, + ) } return t }), @@ -40350,18 +48412,32 @@ and limitations under the License. return ( null != e.sequence && e.hasOwnProperty('sequence') && - ((n.sequence = s.Trace.QueryPlanNode.SequenceNode.toObject(e.sequence, t)), + ((n.sequence = s.Trace.QueryPlanNode.SequenceNode.toObject( + e.sequence, + t, + )), t.oneofs && (n.node = 'sequence')), null != e.parallel && e.hasOwnProperty('parallel') && - ((n.parallel = s.Trace.QueryPlanNode.ParallelNode.toObject(e.parallel, t)), + ((n.parallel = s.Trace.QueryPlanNode.ParallelNode.toObject( + e.parallel, + t, + )), t.oneofs && (n.node = 'parallel')), null != e.fetch && e.hasOwnProperty('fetch') && - ((n.fetch = s.Trace.QueryPlanNode.FetchNode.toObject(e.fetch, t)), t.oneofs && (n.node = 'fetch')), + ((n.fetch = s.Trace.QueryPlanNode.FetchNode.toObject( + e.fetch, + t, + )), + t.oneofs && (n.node = 'fetch')), null != e.flatten && e.hasOwnProperty('flatten') && - ((n.flatten = s.Trace.QueryPlanNode.FlattenNode.toObject(e.flatten, t)), t.oneofs && (n.node = 'flatten')), + ((n.flatten = s.Trace.QueryPlanNode.FlattenNode.toObject( + e.flatten, + t, + )), + t.oneofs && (n.node = 'flatten')), n ) }), @@ -40371,7 +48447,8 @@ and limitations under the License. (e.SequenceNode = (function() { function e(e) { if (((this.nodes = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.nodes = a.emptyArray), @@ -40379,9 +48456,14 @@ and limitations under the License. return new e(t) }), (e.encode = function(e, t) { - if ((t || (t = o.create()), null != e.nodes && e.nodes.length)) + if ( + (t || (t = o.create()), null != e.nodes && e.nodes.length) + ) for (var n = 0; n < e.nodes.length; ++n) - s.Trace.QueryPlanNode.encode(e.nodes[n], t.uint32(10).fork()).ldelim() + s.Trace.QueryPlanNode.encode( + e.nodes[n], + t.uint32(10).fork(), + ).ldelim() return t }), (e.encodeDelimited = function(e, t) { @@ -40389,12 +48471,19 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.QueryPlanNode.SequenceNode(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.QueryPlanNode.SequenceNode(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: ;(r.nodes && r.nodes.length) || (r.nodes = []), - r.nodes.push(s.Trace.QueryPlanNode.decode(e, e.uint32())) + r.nodes.push( + s.Trace.QueryPlanNode.decode(e, e.uint32()), + ) break default: e.skipType(7 & l) @@ -40403,12 +48492,17 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), + this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { - if ('object' != typeof e || null === e) return 'object expected' + if ('object' != typeof e || null === e) + return 'object expected' if (null != e.nodes && e.hasOwnProperty('nodes')) { - if (!Array.isArray(e.nodes)) return 'nodes: array expected' + if (!Array.isArray(e.nodes)) + return 'nodes: array expected' for (var t = 0; t < e.nodes.length; ++t) { var n = s.Trace.QueryPlanNode.verify(e.nodes[t]) if (n) return 'nodes.' + n @@ -40417,15 +48511,23 @@ and limitations under the License. return null }), (e.fromObject = function(e) { - if (e instanceof s.Trace.QueryPlanNode.SequenceNode) return e + if (e instanceof s.Trace.QueryPlanNode.SequenceNode) + return e var t = new s.Trace.QueryPlanNode.SequenceNode() if (e.nodes) { - if (!Array.isArray(e.nodes)) throw TypeError('.Trace.QueryPlanNode.SequenceNode.nodes: array expected') + if (!Array.isArray(e.nodes)) + throw TypeError( + '.Trace.QueryPlanNode.SequenceNode.nodes: array expected', + ) t.nodes = [] for (var n = 0; n < e.nodes.length; ++n) { if ('object' != typeof e.nodes[n]) - throw TypeError('.Trace.QueryPlanNode.SequenceNode.nodes: object expected') - t.nodes[n] = s.Trace.QueryPlanNode.fromObject(e.nodes[n]) + throw TypeError( + '.Trace.QueryPlanNode.SequenceNode.nodes: object expected', + ) + t.nodes[n] = s.Trace.QueryPlanNode.fromObject( + e.nodes[n], + ) } } return t @@ -40433,9 +48535,16 @@ and limitations under the License. (e.toObject = function(e, t) { t || (t = {}) var n = {} - if (((t.arrays || t.defaults) && (n.nodes = []), e.nodes && e.nodes.length)) { + if ( + ((t.arrays || t.defaults) && (n.nodes = []), + e.nodes && e.nodes.length) + ) { n.nodes = [] - for (var r = 0; r < e.nodes.length; ++r) n.nodes[r] = s.Trace.QueryPlanNode.toObject(e.nodes[r], t) + for (var r = 0; r < e.nodes.length; ++r) + n.nodes[r] = s.Trace.QueryPlanNode.toObject( + e.nodes[r], + t, + ) } return n }), @@ -40448,7 +48557,8 @@ and limitations under the License. (e.ParallelNode = (function() { function e(e) { if (((this.nodes = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.nodes = a.emptyArray), @@ -40456,9 +48566,14 @@ and limitations under the License. return new e(t) }), (e.encode = function(e, t) { - if ((t || (t = o.create()), null != e.nodes && e.nodes.length)) + if ( + (t || (t = o.create()), null != e.nodes && e.nodes.length) + ) for (var n = 0; n < e.nodes.length; ++n) - s.Trace.QueryPlanNode.encode(e.nodes[n], t.uint32(10).fork()).ldelim() + s.Trace.QueryPlanNode.encode( + e.nodes[n], + t.uint32(10).fork(), + ).ldelim() return t }), (e.encodeDelimited = function(e, t) { @@ -40466,12 +48581,19 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.QueryPlanNode.ParallelNode(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.QueryPlanNode.ParallelNode(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: ;(r.nodes && r.nodes.length) || (r.nodes = []), - r.nodes.push(s.Trace.QueryPlanNode.decode(e, e.uint32())) + r.nodes.push( + s.Trace.QueryPlanNode.decode(e, e.uint32()), + ) break default: e.skipType(7 & l) @@ -40480,12 +48602,17 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), + this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { - if ('object' != typeof e || null === e) return 'object expected' + if ('object' != typeof e || null === e) + return 'object expected' if (null != e.nodes && e.hasOwnProperty('nodes')) { - if (!Array.isArray(e.nodes)) return 'nodes: array expected' + if (!Array.isArray(e.nodes)) + return 'nodes: array expected' for (var t = 0; t < e.nodes.length; ++t) { var n = s.Trace.QueryPlanNode.verify(e.nodes[t]) if (n) return 'nodes.' + n @@ -40494,15 +48621,23 @@ and limitations under the License. return null }), (e.fromObject = function(e) { - if (e instanceof s.Trace.QueryPlanNode.ParallelNode) return e + if (e instanceof s.Trace.QueryPlanNode.ParallelNode) + return e var t = new s.Trace.QueryPlanNode.ParallelNode() if (e.nodes) { - if (!Array.isArray(e.nodes)) throw TypeError('.Trace.QueryPlanNode.ParallelNode.nodes: array expected') + if (!Array.isArray(e.nodes)) + throw TypeError( + '.Trace.QueryPlanNode.ParallelNode.nodes: array expected', + ) t.nodes = [] for (var n = 0; n < e.nodes.length; ++n) { if ('object' != typeof e.nodes[n]) - throw TypeError('.Trace.QueryPlanNode.ParallelNode.nodes: object expected') - t.nodes[n] = s.Trace.QueryPlanNode.fromObject(e.nodes[n]) + throw TypeError( + '.Trace.QueryPlanNode.ParallelNode.nodes: object expected', + ) + t.nodes[n] = s.Trace.QueryPlanNode.fromObject( + e.nodes[n], + ) } } return t @@ -40510,9 +48645,16 @@ and limitations under the License. (e.toObject = function(e, t) { t || (t = {}) var n = {} - if (((t.arrays || t.defaults) && (n.nodes = []), e.nodes && e.nodes.length)) { + if ( + ((t.arrays || t.defaults) && (n.nodes = []), + e.nodes && e.nodes.length) + ) { n.nodes = [] - for (var r = 0; r < e.nodes.length; ++r) n.nodes[r] = s.Trace.QueryPlanNode.toObject(e.nodes[r], t) + for (var r = 0; r < e.nodes.length; ++r) + n.nodes[r] = s.Trace.QueryPlanNode.toObject( + e.nodes[r], + t, + ) } return n }), @@ -40524,13 +48666,17 @@ and limitations under the License. })()), (e.FetchNode = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.serviceName = ''), (e.prototype.traceParsingFailed = !1), (e.prototype.trace = null), - (e.prototype.sentTimeOffset = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.sentTimeOffset = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.prototype.sentTime = null), (e.prototype.receivedTime = null), (e.create = function(t) { @@ -40539,18 +48685,30 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.serviceName && e.hasOwnProperty('serviceName') && t.uint32(10).string(e.serviceName), + null != e.serviceName && + e.hasOwnProperty('serviceName') && + t.uint32(10).string(e.serviceName), null != e.traceParsingFailed && e.hasOwnProperty('traceParsingFailed') && t.uint32(16).bool(e.traceParsingFailed), - null != e.trace && e.hasOwnProperty('trace') && s.Trace.encode(e.trace, t.uint32(26).fork()).ldelim(), - null != e.sentTimeOffset && e.hasOwnProperty('sentTimeOffset') && t.uint32(32).uint64(e.sentTimeOffset), + null != e.trace && + e.hasOwnProperty('trace') && + s.Trace.encode(e.trace, t.uint32(26).fork()).ldelim(), + null != e.sentTimeOffset && + e.hasOwnProperty('sentTimeOffset') && + t.uint32(32).uint64(e.sentTimeOffset), null != e.sentTime && e.hasOwnProperty('sentTime') && - s.google.protobuf.Timestamp.encode(e.sentTime, t.uint32(42).fork()).ldelim(), + s.google.protobuf.Timestamp.encode( + e.sentTime, + t.uint32(42).fork(), + ).ldelim(), null != e.receivedTime && e.hasOwnProperty('receivedTime') && - s.google.protobuf.Timestamp.encode(e.receivedTime, t.uint32(50).fork()).ldelim(), + s.google.protobuf.Timestamp.encode( + e.receivedTime, + t.uint32(50).fork(), + ).ldelim(), t ) }), @@ -40559,7 +48717,12 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.QueryPlanNode.FetchNode(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.QueryPlanNode.FetchNode(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: @@ -40575,10 +48738,16 @@ and limitations under the License. r.sentTimeOffset = e.uint64() break case 5: - r.sentTime = s.google.protobuf.Timestamp.decode(e, e.uint32()) + r.sentTime = s.google.protobuf.Timestamp.decode( + e, + e.uint32(), + ) break case 6: - r.receivedTime = s.google.protobuf.Timestamp.decode(e, e.uint32()) + r.receivedTime = s.google.protobuf.Timestamp.decode( + e, + e.uint32(), + ) break default: e.skipType(7 & l) @@ -40587,11 +48756,19 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), + this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { - if ('object' != typeof e || null === e) return 'object expected' - if (null != e.serviceName && e.hasOwnProperty('serviceName') && !a.isString(e.serviceName)) + if ('object' != typeof e || null === e) + return 'object expected' + if ( + null != e.serviceName && + e.hasOwnProperty('serviceName') && + !a.isString(e.serviceName) + ) return 'serviceName: string expected' if ( null != e.traceParsingFailed && @@ -40600,13 +48777,20 @@ and limitations under the License. ) return 'traceParsingFailed: boolean expected' var t - if (null != e.trace && e.hasOwnProperty('trace') && (t = s.Trace.verify(e.trace))) return 'trace.' + t + if ( + null != e.trace && + e.hasOwnProperty('trace') && + (t = s.Trace.verify(e.trace)) + ) + return 'trace.' + t if ( null != e.sentTimeOffset && e.hasOwnProperty('sentTimeOffset') && !( a.isInteger(e.sentTimeOffset) || - (e.sentTimeOffset && a.isInteger(e.sentTimeOffset.low) && a.isInteger(e.sentTimeOffset.high)) + (e.sentTimeOffset && + a.isInteger(e.sentTimeOffset.low) && + a.isInteger(e.sentTimeOffset.high)) ) ) return 'sentTimeOffset: integer|Long expected' @@ -40628,35 +48812,51 @@ and limitations under the License. if (e instanceof s.Trace.QueryPlanNode.FetchNode) return e var t = new s.Trace.QueryPlanNode.FetchNode() if ( - (null != e.serviceName && (t.serviceName = String(e.serviceName)), - null != e.traceParsingFailed && (t.traceParsingFailed = Boolean(e.traceParsingFailed)), + (null != e.serviceName && + (t.serviceName = String(e.serviceName)), + null != e.traceParsingFailed && + (t.traceParsingFailed = Boolean(e.traceParsingFailed)), null != e.trace) ) { - if ('object' != typeof e.trace) throw TypeError('.Trace.QueryPlanNode.FetchNode.trace: object expected') + if ('object' != typeof e.trace) + throw TypeError( + '.Trace.QueryPlanNode.FetchNode.trace: object expected', + ) t.trace = s.Trace.fromObject(e.trace) } if ( (null != e.sentTimeOffset && (a.Long - ? ((t.sentTimeOffset = a.Long.fromValue(e.sentTimeOffset)).unsigned = !0) + ? ((t.sentTimeOffset = a.Long.fromValue( + e.sentTimeOffset, + )).unsigned = !0) : 'string' == typeof e.sentTimeOffset ? (t.sentTimeOffset = parseInt(e.sentTimeOffset, 10)) : 'number' == typeof e.sentTimeOffset ? (t.sentTimeOffset = e.sentTimeOffset) : 'object' == typeof e.sentTimeOffset && - (t.sentTimeOffset = new a.LongBits(e.sentTimeOffset.low >>> 0, e.sentTimeOffset.high >>> 0).toNumber( - !0, - ))), + (t.sentTimeOffset = new a.LongBits( + e.sentTimeOffset.low >>> 0, + e.sentTimeOffset.high >>> 0, + ).toNumber(!0))), null != e.sentTime) ) { if ('object' != typeof e.sentTime) - throw TypeError('.Trace.QueryPlanNode.FetchNode.sentTime: object expected') - t.sentTime = s.google.protobuf.Timestamp.fromObject(e.sentTime) + throw TypeError( + '.Trace.QueryPlanNode.FetchNode.sentTime: object expected', + ) + t.sentTime = s.google.protobuf.Timestamp.fromObject( + e.sentTime, + ) } if (null != e.receivedTime) { if ('object' != typeof e.receivedTime) - throw TypeError('.Trace.QueryPlanNode.FetchNode.receivedTime: object expected') - t.receivedTime = s.google.protobuf.Timestamp.fromObject(e.receivedTime) + throw TypeError( + '.Trace.QueryPlanNode.FetchNode.receivedTime: object expected', + ) + t.receivedTime = s.google.protobuf.Timestamp.fromObject( + e.receivedTime, + ) } return t }), @@ -40664,34 +48864,62 @@ and limitations under the License. t || (t = {}) var n = {} if (t.defaults) { - if (((n.serviceName = ''), (n.traceParsingFailed = !1), (n.trace = null), a.Long)) { + if ( + ((n.serviceName = ''), + (n.traceParsingFailed = !1), + (n.trace = null), + a.Long) + ) { var r = new a.Long(0, 0, !0) - n.sentTimeOffset = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.sentTimeOffset = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.sentTimeOffset = t.longs === String ? '0' : 0 ;(n.sentTime = null), (n.receivedTime = null) } return ( - null != e.serviceName && e.hasOwnProperty('serviceName') && (n.serviceName = e.serviceName), + null != e.serviceName && + e.hasOwnProperty('serviceName') && + (n.serviceName = e.serviceName), null != e.traceParsingFailed && e.hasOwnProperty('traceParsingFailed') && (n.traceParsingFailed = e.traceParsingFailed), - null != e.trace && e.hasOwnProperty('trace') && (n.trace = s.Trace.toObject(e.trace, t)), + null != e.trace && + e.hasOwnProperty('trace') && + (n.trace = s.Trace.toObject(e.trace, t)), null != e.sentTimeOffset && e.hasOwnProperty('sentTimeOffset') && ('number' == typeof e.sentTimeOffset - ? (n.sentTimeOffset = t.longs === String ? String(e.sentTimeOffset) : e.sentTimeOffset) + ? (n.sentTimeOffset = + t.longs === String + ? String(e.sentTimeOffset) + : e.sentTimeOffset) : (n.sentTimeOffset = t.longs === String - ? a.Long.prototype.toString.call(e.sentTimeOffset) + ? a.Long.prototype.toString.call( + e.sentTimeOffset, + ) : t.longs === Number - ? new a.LongBits(e.sentTimeOffset.low >>> 0, e.sentTimeOffset.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.sentTimeOffset.low >>> 0, + e.sentTimeOffset.high >>> 0, + ).toNumber(!0) : e.sentTimeOffset)), null != e.sentTime && e.hasOwnProperty('sentTime') && - (n.sentTime = s.google.protobuf.Timestamp.toObject(e.sentTime, t)), + (n.sentTime = s.google.protobuf.Timestamp.toObject( + e.sentTime, + t, + )), null != e.receivedTime && e.hasOwnProperty('receivedTime') && - (n.receivedTime = s.google.protobuf.Timestamp.toObject(e.receivedTime, t)), + (n.receivedTime = s.google.protobuf.Timestamp.toObject( + e.receivedTime, + t, + )), n ) }), @@ -40704,7 +48932,8 @@ and limitations under the License. (e.FlattenNode = (function() { function e(e) { if (((this.responsePath = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.responsePath = a.emptyArray), @@ -40713,13 +48942,22 @@ and limitations under the License. return new e(t) }), (e.encode = function(e, t) { - if ((t || (t = o.create()), null != e.responsePath && e.responsePath.length)) + if ( + (t || (t = o.create()), + null != e.responsePath && e.responsePath.length) + ) for (var n = 0; n < e.responsePath.length; ++n) - s.Trace.QueryPlanNode.ResponsePathElement.encode(e.responsePath[n], t.uint32(10).fork()).ldelim() + s.Trace.QueryPlanNode.ResponsePathElement.encode( + e.responsePath[n], + t.uint32(10).fork(), + ).ldelim() return ( null != e.node && e.hasOwnProperty('node') && - s.Trace.QueryPlanNode.encode(e.node, t.uint32(18).fork()).ldelim(), + s.Trace.QueryPlanNode.encode( + e.node, + t.uint32(18).fork(), + ).ldelim(), t ) }), @@ -40728,12 +48966,23 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.QueryPlanNode.FlattenNode(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.QueryPlanNode.FlattenNode(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: - ;(r.responsePath && r.responsePath.length) || (r.responsePath = []), - r.responsePath.push(s.Trace.QueryPlanNode.ResponsePathElement.decode(e, e.uint32())) + ;(r.responsePath && r.responsePath.length) || + (r.responsePath = []), + r.responsePath.push( + s.Trace.QueryPlanNode.ResponsePathElement.decode( + e, + e.uint32(), + ), + ) break case 2: r.node = s.Trace.QueryPlanNode.decode(e, e.uint32()) @@ -40745,18 +48994,35 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), + this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { - if ('object' != typeof e || null === e) return 'object expected' - if (null != e.responsePath && e.hasOwnProperty('responsePath')) { - if (!Array.isArray(e.responsePath)) return 'responsePath: array expected' + if ('object' != typeof e || null === e) + return 'object expected' + if ( + null != e.responsePath && + e.hasOwnProperty('responsePath') + ) { + if (!Array.isArray(e.responsePath)) + return 'responsePath: array expected' for (var t = 0; t < e.responsePath.length; ++t) { - if ((n = s.Trace.QueryPlanNode.ResponsePathElement.verify(e.responsePath[t]))) return 'responsePath.' + n + if ( + (n = s.Trace.QueryPlanNode.ResponsePathElement.verify( + e.responsePath[t], + )) + ) + return 'responsePath.' + n } } var n - if (null != e.node && e.hasOwnProperty('node') && (n = s.Trace.QueryPlanNode.verify(e.node))) + if ( + null != e.node && + e.hasOwnProperty('node') && + (n = s.Trace.QueryPlanNode.verify(e.node)) + ) return 'node.' + n return null }), @@ -40765,16 +49031,27 @@ and limitations under the License. var t = new s.Trace.QueryPlanNode.FlattenNode() if (e.responsePath) { if (!Array.isArray(e.responsePath)) - throw TypeError('.Trace.QueryPlanNode.FlattenNode.responsePath: array expected') + throw TypeError( + '.Trace.QueryPlanNode.FlattenNode.responsePath: array expected', + ) t.responsePath = [] for (var n = 0; n < e.responsePath.length; ++n) { if ('object' != typeof e.responsePath[n]) - throw TypeError('.Trace.QueryPlanNode.FlattenNode.responsePath: object expected') - t.responsePath[n] = s.Trace.QueryPlanNode.ResponsePathElement.fromObject(e.responsePath[n]) + throw TypeError( + '.Trace.QueryPlanNode.FlattenNode.responsePath: object expected', + ) + t.responsePath[ + n + ] = s.Trace.QueryPlanNode.ResponsePathElement.fromObject( + e.responsePath[n], + ) } } if (null != e.node) { - if ('object' != typeof e.node) throw TypeError('.Trace.QueryPlanNode.FlattenNode.node: object expected') + if ('object' != typeof e.node) + throw TypeError( + '.Trace.QueryPlanNode.FlattenNode.node: object expected', + ) t.node = s.Trace.QueryPlanNode.fromObject(e.node) } return t @@ -40789,9 +49066,19 @@ and limitations under the License. ) { n.responsePath = [] for (var r = 0; r < e.responsePath.length; ++r) - n.responsePath[r] = s.Trace.QueryPlanNode.ResponsePathElement.toObject(e.responsePath[r], t) + n.responsePath[ + r + ] = s.Trace.QueryPlanNode.ResponsePathElement.toObject( + e.responsePath[r], + t, + ) } - return null != e.node && e.hasOwnProperty('node') && (n.node = s.Trace.QueryPlanNode.toObject(e.node, t)), n + return ( + null != e.node && + e.hasOwnProperty('node') && + (n.node = s.Trace.QueryPlanNode.toObject(e.node, t)), + n + ) }), (e.prototype.toJSON = function() { return this.constructor.toObject(this, u.util.toJSONOptions) @@ -40801,7 +49088,9 @@ and limitations under the License. })()), (e.ResponsePathElement = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } var t return ( @@ -40817,8 +49106,12 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.fieldName && e.hasOwnProperty('fieldName') && t.uint32(10).string(e.fieldName), - null != e.index && e.hasOwnProperty('index') && t.uint32(16).uint32(e.index), + null != e.fieldName && + e.hasOwnProperty('fieldName') && + t.uint32(10).string(e.fieldName), + null != e.index && + e.hasOwnProperty('index') && + t.uint32(16).uint32(e.index), t ) }), @@ -40828,7 +49121,8 @@ and limitations under the License. (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) for ( - var n = void 0 === t ? e.len : e.pos + t, r = new s.Trace.QueryPlanNode.ResponsePathElement(); + var n = void 0 === t ? e.len : e.pos + t, + r = new s.Trace.QueryPlanNode.ResponsePathElement(); e.pos < n; ) { @@ -40847,24 +49141,37 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), + this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { - if ('object' != typeof e || null === e) return 'object expected' + if ('object' != typeof e || null === e) + return 'object expected' var t = {} - if (null != e.fieldName && e.hasOwnProperty('fieldName') && ((t.id = 1), !a.isString(e.fieldName))) + if ( + null != e.fieldName && + e.hasOwnProperty('fieldName') && + ((t.id = 1), !a.isString(e.fieldName)) + ) return 'fieldName: string expected' if (null != e.index && e.hasOwnProperty('index')) { if (1 === t.id) return 'id: multiple values' - if (((t.id = 1), !a.isInteger(e.index))) return 'index: integer expected' + if (((t.id = 1), !a.isInteger(e.index))) + return 'index: integer expected' } return null }), (e.fromObject = function(e) { - if (e instanceof s.Trace.QueryPlanNode.ResponsePathElement) return e + if (e instanceof s.Trace.QueryPlanNode.ResponsePathElement) + return e var t = new s.Trace.QueryPlanNode.ResponsePathElement() return ( - null != e.fieldName && (t.fieldName = String(e.fieldName)), null != e.index && (t.index = e.index >>> 0), t + null != e.fieldName && + (t.fieldName = String(e.fieldName)), + null != e.index && (t.index = e.index >>> 0), + t ) }), (e.toObject = function(e, t) { @@ -40873,8 +49180,11 @@ and limitations under the License. return ( null != e.fieldName && e.hasOwnProperty('fieldName') && - ((n.fieldName = e.fieldName), t.oneofs && (n.id = 'fieldName')), - null != e.index && e.hasOwnProperty('index') && ((n.index = e.index), t.oneofs && (n.id = 'index')), + ((n.fieldName = e.fieldName), + t.oneofs && (n.id = 'fieldName')), + null != e.index && + e.hasOwnProperty('index') && + ((n.index = e.index), t.oneofs && (n.id = 'index')), n ) }), @@ -40892,7 +49202,9 @@ and limitations under the License. })()), (s.ReportHeader = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.service = ''), @@ -40909,14 +49221,30 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.service && e.hasOwnProperty('service') && t.uint32(26).string(e.service), - null != e.hostname && e.hasOwnProperty('hostname') && t.uint32(42).string(e.hostname), - null != e.agentVersion && e.hasOwnProperty('agentVersion') && t.uint32(50).string(e.agentVersion), - null != e.serviceVersion && e.hasOwnProperty('serviceVersion') && t.uint32(58).string(e.serviceVersion), - null != e.runtimeVersion && e.hasOwnProperty('runtimeVersion') && t.uint32(66).string(e.runtimeVersion), - null != e.uname && e.hasOwnProperty('uname') && t.uint32(74).string(e.uname), - null != e.schemaTag && e.hasOwnProperty('schemaTag') && t.uint32(82).string(e.schemaTag), - null != e.schemaHash && e.hasOwnProperty('schemaHash') && t.uint32(90).string(e.schemaHash), + null != e.service && + e.hasOwnProperty('service') && + t.uint32(26).string(e.service), + null != e.hostname && + e.hasOwnProperty('hostname') && + t.uint32(42).string(e.hostname), + null != e.agentVersion && + e.hasOwnProperty('agentVersion') && + t.uint32(50).string(e.agentVersion), + null != e.serviceVersion && + e.hasOwnProperty('serviceVersion') && + t.uint32(58).string(e.serviceVersion), + null != e.runtimeVersion && + e.hasOwnProperty('runtimeVersion') && + t.uint32(66).string(e.runtimeVersion), + null != e.uname && + e.hasOwnProperty('uname') && + t.uint32(74).string(e.uname), + null != e.schemaTag && + e.hasOwnProperty('schemaTag') && + t.uint32(82).string(e.schemaTag), + null != e.schemaHash && + e.hasOwnProperty('schemaHash') && + t.uint32(90).string(e.schemaHash), t ) }), @@ -40925,7 +49253,12 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.ReportHeader(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.ReportHeader(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 3: @@ -40959,26 +49292,44 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { return 'object' != typeof e || null === e ? 'object expected' - : null != e.service && e.hasOwnProperty('service') && !a.isString(e.service) + : null != e.service && + e.hasOwnProperty('service') && + !a.isString(e.service) ? 'service: string expected' - : null != e.hostname && e.hasOwnProperty('hostname') && !a.isString(e.hostname) + : null != e.hostname && + e.hasOwnProperty('hostname') && + !a.isString(e.hostname) ? 'hostname: string expected' - : null != e.agentVersion && e.hasOwnProperty('agentVersion') && !a.isString(e.agentVersion) + : null != e.agentVersion && + e.hasOwnProperty('agentVersion') && + !a.isString(e.agentVersion) ? 'agentVersion: string expected' - : null != e.serviceVersion && e.hasOwnProperty('serviceVersion') && !a.isString(e.serviceVersion) + : null != e.serviceVersion && + e.hasOwnProperty('serviceVersion') && + !a.isString(e.serviceVersion) ? 'serviceVersion: string expected' - : null != e.runtimeVersion && e.hasOwnProperty('runtimeVersion') && !a.isString(e.runtimeVersion) + : null != e.runtimeVersion && + e.hasOwnProperty('runtimeVersion') && + !a.isString(e.runtimeVersion) ? 'runtimeVersion: string expected' - : null != e.uname && e.hasOwnProperty('uname') && !a.isString(e.uname) + : null != e.uname && + e.hasOwnProperty('uname') && + !a.isString(e.uname) ? 'uname: string expected' - : null != e.schemaTag && e.hasOwnProperty('schemaTag') && !a.isString(e.schemaTag) + : null != e.schemaTag && + e.hasOwnProperty('schemaTag') && + !a.isString(e.schemaTag) ? 'schemaTag: string expected' - : null != e.schemaHash && e.hasOwnProperty('schemaHash') && !a.isString(e.schemaHash) + : null != e.schemaHash && + e.hasOwnProperty('schemaHash') && + !a.isString(e.schemaHash) ? 'schemaHash: string expected' : null }), @@ -40988,9 +49339,12 @@ and limitations under the License. return ( null != e.service && (t.service = String(e.service)), null != e.hostname && (t.hostname = String(e.hostname)), - null != e.agentVersion && (t.agentVersion = String(e.agentVersion)), - null != e.serviceVersion && (t.serviceVersion = String(e.serviceVersion)), - null != e.runtimeVersion && (t.runtimeVersion = String(e.runtimeVersion)), + null != e.agentVersion && + (t.agentVersion = String(e.agentVersion)), + null != e.serviceVersion && + (t.serviceVersion = String(e.serviceVersion)), + null != e.runtimeVersion && + (t.runtimeVersion = String(e.runtimeVersion)), null != e.uname && (t.uname = String(e.uname)), null != e.schemaTag && (t.schemaTag = String(e.schemaTag)), null != e.schemaHash && (t.schemaHash = String(e.schemaHash)), @@ -41010,14 +49364,30 @@ and limitations under the License. (n.uname = ''), (n.schemaTag = ''), (n.schemaHash = '')), - null != e.service && e.hasOwnProperty('service') && (n.service = e.service), - null != e.hostname && e.hasOwnProperty('hostname') && (n.hostname = e.hostname), - null != e.agentVersion && e.hasOwnProperty('agentVersion') && (n.agentVersion = e.agentVersion), - null != e.serviceVersion && e.hasOwnProperty('serviceVersion') && (n.serviceVersion = e.serviceVersion), - null != e.runtimeVersion && e.hasOwnProperty('runtimeVersion') && (n.runtimeVersion = e.runtimeVersion), - null != e.uname && e.hasOwnProperty('uname') && (n.uname = e.uname), - null != e.schemaTag && e.hasOwnProperty('schemaTag') && (n.schemaTag = e.schemaTag), - null != e.schemaHash && e.hasOwnProperty('schemaHash') && (n.schemaHash = e.schemaHash), + null != e.service && + e.hasOwnProperty('service') && + (n.service = e.service), + null != e.hostname && + e.hasOwnProperty('hostname') && + (n.hostname = e.hostname), + null != e.agentVersion && + e.hasOwnProperty('agentVersion') && + (n.agentVersion = e.agentVersion), + null != e.serviceVersion && + e.hasOwnProperty('serviceVersion') && + (n.serviceVersion = e.serviceVersion), + null != e.runtimeVersion && + e.hasOwnProperty('runtimeVersion') && + (n.runtimeVersion = e.runtimeVersion), + null != e.uname && + e.hasOwnProperty('uname') && + (n.uname = e.uname), + null != e.schemaTag && + e.hasOwnProperty('schemaTag') && + (n.schemaTag = e.schemaTag), + null != e.schemaHash && + e.hasOwnProperty('schemaHash') && + (n.schemaHash = e.schemaHash), n ) }), @@ -41030,28 +49400,39 @@ and limitations under the License. (s.PathErrorStats = (function() { function e(e) { if (((this.children = {}), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.children = a.emptyObject), (e.prototype.errorsCount = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.requestsWithErrorsCount = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.requestsWithErrorsCount = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.create = function(t) { return new e(t) }), (e.encode = function(e, t) { - if ((t || (t = o.create()), null != e.children && e.hasOwnProperty('children'))) + if ( + (t || (t = o.create()), + null != e.children && e.hasOwnProperty('children')) + ) for (var n = Object.keys(e.children), r = 0; r < n.length; ++r) t .uint32(10) .fork() .uint32(10) .string(n[r]), - s.PathErrorStats.encode(e.children[n[r]], t.uint32(18).fork()) + s.PathErrorStats.encode( + e.children[n[r]], + t.uint32(18).fork(), + ) .ldelim() .ldelim() return ( - null != e.errorsCount && e.hasOwnProperty('errorsCount') && t.uint32(32).uint64(e.errorsCount), + null != e.errorsCount && + e.hasOwnProperty('errorsCount') && + t.uint32(32).uint64(e.errorsCount), null != e.requestsWithErrorsCount && e.hasOwnProperty('requestsWithErrorsCount') && t.uint32(40).uint64(e.requestsWithErrorsCount), @@ -41063,7 +49444,13 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n, r = void 0 === t ? e.len : e.pos + t, l = new s.PathErrorStats(); e.pos < r; ) { + for ( + var n, + r = void 0 === t ? e.len : e.pos + t, + l = new s.PathErrorStats(); + e.pos < r; + + ) { var u = e.uint32() switch (u >>> 3) { case 1: @@ -41086,13 +49473,19 @@ and limitations under the License. return l }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' if (null != e.children && e.hasOwnProperty('children')) { if (!a.isObject(e.children)) return 'children: object expected' - for (var t = Object.keys(e.children), n = 0; n < t.length; ++n) { + for ( + var t = Object.keys(e.children), n = 0; + n < t.length; + ++n + ) { var r = s.PathErrorStats.verify(e.children[t[n]]) if (r) return 'children.' + r } @@ -41101,7 +49494,9 @@ and limitations under the License. e.hasOwnProperty('errorsCount') && !( a.isInteger(e.errorsCount) || - (e.errorsCount && a.isInteger(e.errorsCount.low) && a.isInteger(e.errorsCount.high)) + (e.errorsCount && + a.isInteger(e.errorsCount.low) && + a.isInteger(e.errorsCount.high)) ) ? 'errorsCount: integer|Long expected' : null != e.requestsWithErrorsCount && @@ -41119,28 +49514,46 @@ and limitations under the License. if (e instanceof s.PathErrorStats) return e var t = new s.PathErrorStats() if (e.children) { - if ('object' != typeof e.children) throw TypeError('.PathErrorStats.children: object expected') + if ('object' != typeof e.children) + throw TypeError('.PathErrorStats.children: object expected') t.children = {} - for (var n = Object.keys(e.children), r = 0; r < n.length; ++r) { - if ('object' != typeof e.children[n[r]]) throw TypeError('.PathErrorStats.children: object expected') - t.children[n[r]] = s.PathErrorStats.fromObject(e.children[n[r]]) + for ( + var n = Object.keys(e.children), r = 0; + r < n.length; + ++r + ) { + if ('object' != typeof e.children[n[r]]) + throw TypeError('.PathErrorStats.children: object expected') + t.children[n[r]] = s.PathErrorStats.fromObject( + e.children[n[r]], + ) } } return ( null != e.errorsCount && (a.Long - ? ((t.errorsCount = a.Long.fromValue(e.errorsCount)).unsigned = !0) + ? ((t.errorsCount = a.Long.fromValue( + e.errorsCount, + )).unsigned = !0) : 'string' == typeof e.errorsCount ? (t.errorsCount = parseInt(e.errorsCount, 10)) : 'number' == typeof e.errorsCount ? (t.errorsCount = e.errorsCount) : 'object' == typeof e.errorsCount && - (t.errorsCount = new a.LongBits(e.errorsCount.low >>> 0, e.errorsCount.high >>> 0).toNumber(!0))), + (t.errorsCount = new a.LongBits( + e.errorsCount.low >>> 0, + e.errorsCount.high >>> 0, + ).toNumber(!0))), null != e.requestsWithErrorsCount && (a.Long - ? ((t.requestsWithErrorsCount = a.Long.fromValue(e.requestsWithErrorsCount)).unsigned = !0) + ? ((t.requestsWithErrorsCount = a.Long.fromValue( + e.requestsWithErrorsCount, + )).unsigned = !0) : 'string' == typeof e.requestsWithErrorsCount - ? (t.requestsWithErrorsCount = parseInt(e.requestsWithErrorsCount, 10)) + ? (t.requestsWithErrorsCount = parseInt( + e.requestsWithErrorsCount, + 10, + )) : 'number' == typeof e.requestsWithErrorsCount ? (t.requestsWithErrorsCount = e.requestsWithErrorsCount) : 'object' == typeof e.requestsWithErrorsCount && @@ -41155,41 +49568,70 @@ and limitations under the License. t || (t = {}) var n, r = {} - if (((t.objects || t.defaults) && (r.children = {}), t.defaults)) { + if ( + ((t.objects || t.defaults) && (r.children = {}), t.defaults) + ) { if (a.Long) { var l = new a.Long(0, 0, !0) - r.errorsCount = t.longs === String ? l.toString() : t.longs === Number ? l.toNumber() : l + r.errorsCount = + t.longs === String + ? l.toString() + : t.longs === Number + ? l.toNumber() + : l } else r.errorsCount = t.longs === String ? '0' : 0 if (a.Long) { l = new a.Long(0, 0, !0) - r.requestsWithErrorsCount = t.longs === String ? l.toString() : t.longs === Number ? l.toNumber() : l + r.requestsWithErrorsCount = + t.longs === String + ? l.toString() + : t.longs === Number + ? l.toNumber() + : l } else r.requestsWithErrorsCount = t.longs === String ? '0' : 0 } if (e.children && (n = Object.keys(e.children)).length) { r.children = {} - for (var u = 0; u < n.length; ++u) r.children[n[u]] = s.PathErrorStats.toObject(e.children[n[u]], t) + for (var u = 0; u < n.length; ++u) + r.children[n[u]] = s.PathErrorStats.toObject( + e.children[n[u]], + t, + ) } return ( null != e.errorsCount && e.hasOwnProperty('errorsCount') && ('number' == typeof e.errorsCount - ? (r.errorsCount = t.longs === String ? String(e.errorsCount) : e.errorsCount) + ? (r.errorsCount = + t.longs === String + ? String(e.errorsCount) + : e.errorsCount) : (r.errorsCount = t.longs === String ? a.Long.prototype.toString.call(e.errorsCount) : t.longs === Number - ? new a.LongBits(e.errorsCount.low >>> 0, e.errorsCount.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.errorsCount.low >>> 0, + e.errorsCount.high >>> 0, + ).toNumber(!0) : e.errorsCount)), null != e.requestsWithErrorsCount && e.hasOwnProperty('requestsWithErrorsCount') && ('number' == typeof e.requestsWithErrorsCount ? (r.requestsWithErrorsCount = - t.longs === String ? String(e.requestsWithErrorsCount) : e.requestsWithErrorsCount) + t.longs === String + ? String(e.requestsWithErrorsCount) + : e.requestsWithErrorsCount) : (r.requestsWithErrorsCount = t.longs === String - ? a.Long.prototype.toString.call(e.requestsWithErrorsCount) + ? a.Long.prototype.toString.call( + e.requestsWithErrorsCount, + ) : t.longs === Number - ? new a.LongBits(e.requestsWithErrorsCount.low >>> 0, e.requestsWithErrorsCount.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.requestsWithErrorsCount.low >>> 0, + e.requestsWithErrorsCount.high >>> 0, + ).toNumber(!0) : e.requestsWithErrorsCount)), r ) @@ -41215,7 +49657,8 @@ and limitations under the License. (this.privateCacheTtlCount = []), e) ) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.latencyCount = a.emptyArray), @@ -41227,19 +49670,28 @@ and limitations under the License. (e.prototype.forbiddenOperationCountPerVersion = a.emptyObject), (e.prototype.cacheLatencyCount = a.emptyArray), (e.prototype.rootErrorStats = null), - (e.prototype.requestsWithErrorsCount = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.requestsWithErrorsCount = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.prototype.publicCacheTtlCount = a.emptyArray), (e.prototype.privateCacheTtlCount = a.emptyArray), (e.create = function(t) { return new e(t) }), (e.encode = function(e, t) { - if ((t || (t = o.create()), null != e.latencyCount && e.latencyCount.length)) { + if ( + (t || (t = o.create()), + null != e.latencyCount && e.latencyCount.length) + ) { t.uint32(10).fork() - for (var n = 0; n < e.latencyCount.length; ++n) t.int64(e.latencyCount[n]) + for (var n = 0; n < e.latencyCount.length; ++n) + t.int64(e.latencyCount[n]) t.ldelim() } - if (null != e.requestsCountPerVersion && e.hasOwnProperty('requestsCountPerVersion')) { + if ( + null != e.requestsCountPerVersion && + e.hasOwnProperty('requestsCountPerVersion') + ) { var r = Object.keys(e.requestsCountPerVersion) for (n = 0; n < r.length; ++n) t.uint32(26) @@ -41250,8 +49702,15 @@ and limitations under the License. .uint64(e.requestsCountPerVersion[r[n]]) .ldelim() } - if (null != e.cacheHitsPerVersion && e.hasOwnProperty('cacheHitsPerVersion')) - for (r = Object.keys(e.cacheHitsPerVersion), n = 0; n < r.length; ++n) + if ( + null != e.cacheHitsPerVersion && + e.hasOwnProperty('cacheHitsPerVersion') + ) + for ( + r = Object.keys(e.cacheHitsPerVersion), n = 0; + n < r.length; + ++n + ) t.uint32(34) .fork() .uint32(10) @@ -41261,29 +49720,45 @@ and limitations under the License. .ldelim() if (null != e.cacheLatencyCount && e.cacheLatencyCount.length) { t.uint32(42).fork() - for (n = 0; n < e.cacheLatencyCount.length; ++n) t.int64(e.cacheLatencyCount[n]) + for (n = 0; n < e.cacheLatencyCount.length; ++n) + t.int64(e.cacheLatencyCount[n]) t.ldelim() } if ( (null != e.rootErrorStats && e.hasOwnProperty('rootErrorStats') && - s.PathErrorStats.encode(e.rootErrorStats, t.uint32(50).fork()).ldelim(), + s.PathErrorStats.encode( + e.rootErrorStats, + t.uint32(50).fork(), + ).ldelim(), null != e.requestsWithErrorsCount && e.hasOwnProperty('requestsWithErrorsCount') && t.uint32(56).uint64(e.requestsWithErrorsCount), null != e.publicCacheTtlCount && e.publicCacheTtlCount.length) ) { t.uint32(66).fork() - for (n = 0; n < e.publicCacheTtlCount.length; ++n) t.int64(e.publicCacheTtlCount[n]) + for (n = 0; n < e.publicCacheTtlCount.length; ++n) + t.int64(e.publicCacheTtlCount[n]) t.ldelim() } - if (null != e.privateCacheTtlCount && e.privateCacheTtlCount.length) { + if ( + null != e.privateCacheTtlCount && + e.privateCacheTtlCount.length + ) { t.uint32(74).fork() - for (n = 0; n < e.privateCacheTtlCount.length; ++n) t.int64(e.privateCacheTtlCount[n]) + for (n = 0; n < e.privateCacheTtlCount.length; ++n) + t.int64(e.privateCacheTtlCount[n]) t.ldelim() } - if (null != e.persistedQueryHitsPerVersion && e.hasOwnProperty('persistedQueryHitsPerVersion')) - for (r = Object.keys(e.persistedQueryHitsPerVersion), n = 0; n < r.length; ++n) + if ( + null != e.persistedQueryHitsPerVersion && + e.hasOwnProperty('persistedQueryHitsPerVersion') + ) + for ( + r = Object.keys(e.persistedQueryHitsPerVersion), n = 0; + n < r.length; + ++n + ) t.uint32(82) .fork() .uint32(10) @@ -41291,8 +49766,15 @@ and limitations under the License. .uint32(16) .uint64(e.persistedQueryHitsPerVersion[r[n]]) .ldelim() - if (null != e.persistedQueryMissesPerVersion && e.hasOwnProperty('persistedQueryMissesPerVersion')) - for (r = Object.keys(e.persistedQueryMissesPerVersion), n = 0; n < r.length; ++n) + if ( + null != e.persistedQueryMissesPerVersion && + e.hasOwnProperty('persistedQueryMissesPerVersion') + ) + for ( + r = Object.keys(e.persistedQueryMissesPerVersion), n = 0; + n < r.length; + ++n + ) t.uint32(90) .fork() .uint32(10) @@ -41300,8 +49782,15 @@ and limitations under the License. .uint32(16) .uint64(e.persistedQueryMissesPerVersion[r[n]]) .ldelim() - if (null != e.registeredOperationCountPerVersion && e.hasOwnProperty('registeredOperationCountPerVersion')) - for (r = Object.keys(e.registeredOperationCountPerVersion), n = 0; n < r.length; ++n) + if ( + null != e.registeredOperationCountPerVersion && + e.hasOwnProperty('registeredOperationCountPerVersion') + ) + for ( + r = Object.keys(e.registeredOperationCountPerVersion), n = 0; + n < r.length; + ++n + ) t.uint32(98) .fork() .uint32(10) @@ -41309,8 +49798,15 @@ and limitations under the License. .uint32(16) .uint64(e.registeredOperationCountPerVersion[r[n]]) .ldelim() - if (null != e.forbiddenOperationCountPerVersion && e.hasOwnProperty('forbiddenOperationCountPerVersion')) - for (r = Object.keys(e.forbiddenOperationCountPerVersion), n = 0; n < r.length; ++n) + if ( + null != e.forbiddenOperationCountPerVersion && + e.hasOwnProperty('forbiddenOperationCountPerVersion') + ) + for ( + r = Object.keys(e.forbiddenOperationCountPerVersion), n = 0; + n < r.length; + ++n + ) t.uint32(106) .fork() .uint32(10) @@ -41325,59 +49821,81 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n, r = void 0 === t ? e.len : e.pos + t, l = new s.ClientNameStats(); e.pos < r; ) { + for ( + var n, + r = void 0 === t ? e.len : e.pos + t, + l = new s.ClientNameStats(); + e.pos < r; + + ) { var u = e.uint32() switch (u >>> 3) { case 1: - if (((l.latencyCount && l.latencyCount.length) || (l.latencyCount = []), 2 == (7 & u))) - for (var o = e.uint32() + e.pos; e.pos < o; ) l.latencyCount.push(e.int64()) + if ( + ((l.latencyCount && l.latencyCount.length) || + (l.latencyCount = []), + 2 == (7 & u)) + ) + for (var o = e.uint32() + e.pos; e.pos < o; ) + l.latencyCount.push(e.int64()) else l.latencyCount.push(e.int64()) break case 3: e.skip().pos++, - l.requestsCountPerVersion === a.emptyObject && (l.requestsCountPerVersion = {}), + l.requestsCountPerVersion === a.emptyObject && + (l.requestsCountPerVersion = {}), (n = e.string()), e.pos++, (l.requestsCountPerVersion[n] = e.uint64()) break case 4: e.skip().pos++, - l.cacheHitsPerVersion === a.emptyObject && (l.cacheHitsPerVersion = {}), + l.cacheHitsPerVersion === a.emptyObject && + (l.cacheHitsPerVersion = {}), (n = e.string()), e.pos++, (l.cacheHitsPerVersion[n] = e.uint64()) break case 10: e.skip().pos++, - l.persistedQueryHitsPerVersion === a.emptyObject && (l.persistedQueryHitsPerVersion = {}), + l.persistedQueryHitsPerVersion === a.emptyObject && + (l.persistedQueryHitsPerVersion = {}), (n = e.string()), e.pos++, (l.persistedQueryHitsPerVersion[n] = e.uint64()) break case 11: e.skip().pos++, - l.persistedQueryMissesPerVersion === a.emptyObject && (l.persistedQueryMissesPerVersion = {}), + l.persistedQueryMissesPerVersion === a.emptyObject && + (l.persistedQueryMissesPerVersion = {}), (n = e.string()), e.pos++, (l.persistedQueryMissesPerVersion[n] = e.uint64()) break case 12: e.skip().pos++, - l.registeredOperationCountPerVersion === a.emptyObject && (l.registeredOperationCountPerVersion = {}), + l.registeredOperationCountPerVersion === a.emptyObject && + (l.registeredOperationCountPerVersion = {}), (n = e.string()), e.pos++, (l.registeredOperationCountPerVersion[n] = e.uint64()) break case 13: e.skip().pos++, - l.forbiddenOperationCountPerVersion === a.emptyObject && (l.forbiddenOperationCountPerVersion = {}), + l.forbiddenOperationCountPerVersion === a.emptyObject && + (l.forbiddenOperationCountPerVersion = {}), (n = e.string()), e.pos++, (l.forbiddenOperationCountPerVersion[n] = e.uint64()) break case 5: - if (((l.cacheLatencyCount && l.cacheLatencyCount.length) || (l.cacheLatencyCount = []), 2 == (7 & u))) - for (o = e.uint32() + e.pos; e.pos < o; ) l.cacheLatencyCount.push(e.int64()) + if ( + ((l.cacheLatencyCount && l.cacheLatencyCount.length) || + (l.cacheLatencyCount = []), + 2 == (7 & u)) + ) + for (o = e.uint32() + e.pos; e.pos < o; ) + l.cacheLatencyCount.push(e.int64()) else l.cacheLatencyCount.push(e.int64()) break case 6: @@ -41387,15 +49905,25 @@ and limitations under the License. l.requestsWithErrorsCount = e.uint64() break case 8: - if (((l.publicCacheTtlCount && l.publicCacheTtlCount.length) || (l.publicCacheTtlCount = []), 2 == (7 & u))) - for (o = e.uint32() + e.pos; e.pos < o; ) l.publicCacheTtlCount.push(e.int64()) + if ( + ((l.publicCacheTtlCount && + l.publicCacheTtlCount.length) || + (l.publicCacheTtlCount = []), + 2 == (7 & u)) + ) + for (o = e.uint32() + e.pos; e.pos < o; ) + l.publicCacheTtlCount.push(e.int64()) else l.publicCacheTtlCount.push(e.int64()) break case 9: if ( - ((l.privateCacheTtlCount && l.privateCacheTtlCount.length) || (l.privateCacheTtlCount = []), 2 == (7 & u)) + ((l.privateCacheTtlCount && + l.privateCacheTtlCount.length) || + (l.privateCacheTtlCount = []), + 2 == (7 & u)) ) - for (o = e.uint32() + e.pos; e.pos < o; ) l.privateCacheTtlCount.push(e.int64()) + for (o = e.uint32() + e.pos; e.pos < o; ) + l.privateCacheTtlCount.push(e.int64()) else l.privateCacheTtlCount.push(e.int64()) break default: @@ -41405,23 +49933,32 @@ and limitations under the License. return l }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' if (null != e.latencyCount && e.hasOwnProperty('latencyCount')) { - if (!Array.isArray(e.latencyCount)) return 'latencyCount: array expected' + if (!Array.isArray(e.latencyCount)) + return 'latencyCount: array expected' for (var t = 0; t < e.latencyCount.length; ++t) if ( !( a.isInteger(e.latencyCount[t]) || - (e.latencyCount[t] && a.isInteger(e.latencyCount[t].low) && a.isInteger(e.latencyCount[t].high)) + (e.latencyCount[t] && + a.isInteger(e.latencyCount[t].low) && + a.isInteger(e.latencyCount[t].high)) ) ) return 'latencyCount: integer|Long[] expected' } - if (null != e.requestsCountPerVersion && e.hasOwnProperty('requestsCountPerVersion')) { - if (!a.isObject(e.requestsCountPerVersion)) return 'requestsCountPerVersion: object expected' + if ( + null != e.requestsCountPerVersion && + e.hasOwnProperty('requestsCountPerVersion') + ) { + if (!a.isObject(e.requestsCountPerVersion)) + return 'requestsCountPerVersion: object expected' var n = Object.keys(e.requestsCountPerVersion) for (t = 0; t < n.length; ++t) if ( @@ -41434,9 +49971,17 @@ and limitations under the License. ) return 'requestsCountPerVersion: integer|Long{k:string} expected' } - if (null != e.cacheHitsPerVersion && e.hasOwnProperty('cacheHitsPerVersion')) { - if (!a.isObject(e.cacheHitsPerVersion)) return 'cacheHitsPerVersion: object expected' - for (n = Object.keys(e.cacheHitsPerVersion), t = 0; t < n.length; ++t) + if ( + null != e.cacheHitsPerVersion && + e.hasOwnProperty('cacheHitsPerVersion') + ) { + if (!a.isObject(e.cacheHitsPerVersion)) + return 'cacheHitsPerVersion: object expected' + for ( + n = Object.keys(e.cacheHitsPerVersion), t = 0; + t < n.length; + ++t + ) if ( !( a.isInteger(e.cacheHitsPerVersion[n[t]]) || @@ -41447,9 +49992,17 @@ and limitations under the License. ) return 'cacheHitsPerVersion: integer|Long{k:string} expected' } - if (null != e.persistedQueryHitsPerVersion && e.hasOwnProperty('persistedQueryHitsPerVersion')) { - if (!a.isObject(e.persistedQueryHitsPerVersion)) return 'persistedQueryHitsPerVersion: object expected' - for (n = Object.keys(e.persistedQueryHitsPerVersion), t = 0; t < n.length; ++t) + if ( + null != e.persistedQueryHitsPerVersion && + e.hasOwnProperty('persistedQueryHitsPerVersion') + ) { + if (!a.isObject(e.persistedQueryHitsPerVersion)) + return 'persistedQueryHitsPerVersion: object expected' + for ( + n = Object.keys(e.persistedQueryHitsPerVersion), t = 0; + t < n.length; + ++t + ) if ( !( a.isInteger(e.persistedQueryHitsPerVersion[n[t]]) || @@ -41460,48 +50013,87 @@ and limitations under the License. ) return 'persistedQueryHitsPerVersion: integer|Long{k:string} expected' } - if (null != e.persistedQueryMissesPerVersion && e.hasOwnProperty('persistedQueryMissesPerVersion')) { - if (!a.isObject(e.persistedQueryMissesPerVersion)) return 'persistedQueryMissesPerVersion: object expected' - for (n = Object.keys(e.persistedQueryMissesPerVersion), t = 0; t < n.length; ++t) + if ( + null != e.persistedQueryMissesPerVersion && + e.hasOwnProperty('persistedQueryMissesPerVersion') + ) { + if (!a.isObject(e.persistedQueryMissesPerVersion)) + return 'persistedQueryMissesPerVersion: object expected' + for ( + n = Object.keys(e.persistedQueryMissesPerVersion), t = 0; + t < n.length; + ++t + ) if ( !( a.isInteger(e.persistedQueryMissesPerVersion[n[t]]) || (e.persistedQueryMissesPerVersion[n[t]] && - a.isInteger(e.persistedQueryMissesPerVersion[n[t]].low) && - a.isInteger(e.persistedQueryMissesPerVersion[n[t]].high)) + a.isInteger( + e.persistedQueryMissesPerVersion[n[t]].low, + ) && + a.isInteger( + e.persistedQueryMissesPerVersion[n[t]].high, + )) ) ) return 'persistedQueryMissesPerVersion: integer|Long{k:string} expected' } - if (null != e.registeredOperationCountPerVersion && e.hasOwnProperty('registeredOperationCountPerVersion')) { + if ( + null != e.registeredOperationCountPerVersion && + e.hasOwnProperty('registeredOperationCountPerVersion') + ) { if (!a.isObject(e.registeredOperationCountPerVersion)) return 'registeredOperationCountPerVersion: object expected' - for (n = Object.keys(e.registeredOperationCountPerVersion), t = 0; t < n.length; ++t) + for ( + n = Object.keys(e.registeredOperationCountPerVersion), t = 0; + t < n.length; + ++t + ) if ( !( a.isInteger(e.registeredOperationCountPerVersion[n[t]]) || (e.registeredOperationCountPerVersion[n[t]] && - a.isInteger(e.registeredOperationCountPerVersion[n[t]].low) && - a.isInteger(e.registeredOperationCountPerVersion[n[t]].high)) + a.isInteger( + e.registeredOperationCountPerVersion[n[t]].low, + ) && + a.isInteger( + e.registeredOperationCountPerVersion[n[t]].high, + )) ) ) return 'registeredOperationCountPerVersion: integer|Long{k:string} expected' } - if (null != e.forbiddenOperationCountPerVersion && e.hasOwnProperty('forbiddenOperationCountPerVersion')) { - if (!a.isObject(e.forbiddenOperationCountPerVersion)) return 'forbiddenOperationCountPerVersion: object expected' - for (n = Object.keys(e.forbiddenOperationCountPerVersion), t = 0; t < n.length; ++t) + if ( + null != e.forbiddenOperationCountPerVersion && + e.hasOwnProperty('forbiddenOperationCountPerVersion') + ) { + if (!a.isObject(e.forbiddenOperationCountPerVersion)) + return 'forbiddenOperationCountPerVersion: object expected' + for ( + n = Object.keys(e.forbiddenOperationCountPerVersion), t = 0; + t < n.length; + ++t + ) if ( !( a.isInteger(e.forbiddenOperationCountPerVersion[n[t]]) || (e.forbiddenOperationCountPerVersion[n[t]] && - a.isInteger(e.forbiddenOperationCountPerVersion[n[t]].low) && - a.isInteger(e.forbiddenOperationCountPerVersion[n[t]].high)) + a.isInteger( + e.forbiddenOperationCountPerVersion[n[t]].low, + ) && + a.isInteger( + e.forbiddenOperationCountPerVersion[n[t]].high, + )) ) ) return 'forbiddenOperationCountPerVersion: integer|Long{k:string} expected' } - if (null != e.cacheLatencyCount && e.hasOwnProperty('cacheLatencyCount')) { - if (!Array.isArray(e.cacheLatencyCount)) return 'cacheLatencyCount: array expected' + if ( + null != e.cacheLatencyCount && + e.hasOwnProperty('cacheLatencyCount') + ) { + if (!Array.isArray(e.cacheLatencyCount)) + return 'cacheLatencyCount: array expected' for (t = 0; t < e.cacheLatencyCount.length; ++t) if ( !( @@ -41513,7 +50105,10 @@ and limitations under the License. ) return 'cacheLatencyCount: integer|Long[] expected' } - if (null != e.rootErrorStats && e.hasOwnProperty('rootErrorStats')) { + if ( + null != e.rootErrorStats && + e.hasOwnProperty('rootErrorStats') + ) { var r = s.PathErrorStats.verify(e.rootErrorStats) if (r) return 'rootErrorStats.' + r } @@ -41528,8 +50123,12 @@ and limitations under the License. ) ) return 'requestsWithErrorsCount: integer|Long expected' - if (null != e.publicCacheTtlCount && e.hasOwnProperty('publicCacheTtlCount')) { - if (!Array.isArray(e.publicCacheTtlCount)) return 'publicCacheTtlCount: array expected' + if ( + null != e.publicCacheTtlCount && + e.hasOwnProperty('publicCacheTtlCount') + ) { + if (!Array.isArray(e.publicCacheTtlCount)) + return 'publicCacheTtlCount: array expected' for (t = 0; t < e.publicCacheTtlCount.length; ++t) if ( !( @@ -41541,8 +50140,12 @@ and limitations under the License. ) return 'publicCacheTtlCount: integer|Long[] expected' } - if (null != e.privateCacheTtlCount && e.hasOwnProperty('privateCacheTtlCount')) { - if (!Array.isArray(e.privateCacheTtlCount)) return 'privateCacheTtlCount: array expected' + if ( + null != e.privateCacheTtlCount && + e.hasOwnProperty('privateCacheTtlCount') + ) { + if (!Array.isArray(e.privateCacheTtlCount)) + return 'privateCacheTtlCount: array expected' for (t = 0; t < e.privateCacheTtlCount.length; ++t) if ( !( @@ -41560,30 +50163,46 @@ and limitations under the License. if (e instanceof s.ClientNameStats) return e var t = new s.ClientNameStats() if (e.latencyCount) { - if (!Array.isArray(e.latencyCount)) throw TypeError('.ClientNameStats.latencyCount: array expected') + if (!Array.isArray(e.latencyCount)) + throw TypeError( + '.ClientNameStats.latencyCount: array expected', + ) t.latencyCount = [] for (var n = 0; n < e.latencyCount.length; ++n) a.Long - ? ((t.latencyCount[n] = a.Long.fromValue(e.latencyCount[n])).unsigned = !1) + ? ((t.latencyCount[n] = a.Long.fromValue( + e.latencyCount[n], + )).unsigned = !1) : 'string' == typeof e.latencyCount[n] ? (t.latencyCount[n] = parseInt(e.latencyCount[n], 10)) : 'number' == typeof e.latencyCount[n] ? (t.latencyCount[n] = e.latencyCount[n]) : 'object' == typeof e.latencyCount[n] && - (t.latencyCount[n] = new a.LongBits(e.latencyCount[n].low >>> 0, e.latencyCount[n].high >>> 0).toNumber()) + (t.latencyCount[n] = new a.LongBits( + e.latencyCount[n].low >>> 0, + e.latencyCount[n].high >>> 0, + ).toNumber()) } if (e.requestsCountPerVersion) { if ('object' != typeof e.requestsCountPerVersion) - throw TypeError('.ClientNameStats.requestsCountPerVersion: object expected') + throw TypeError( + '.ClientNameStats.requestsCountPerVersion: object expected', + ) t.requestsCountPerVersion = {} var r = Object.keys(e.requestsCountPerVersion) for (n = 0; n < r.length; ++n) a.Long - ? ((t.requestsCountPerVersion[r[n]] = a.Long.fromValue(e.requestsCountPerVersion[r[n]])).unsigned = !0) + ? ((t.requestsCountPerVersion[r[n]] = a.Long.fromValue( + e.requestsCountPerVersion[r[n]], + )).unsigned = !0) : 'string' == typeof e.requestsCountPerVersion[r[n]] - ? (t.requestsCountPerVersion[r[n]] = parseInt(e.requestsCountPerVersion[r[n]], 10)) + ? (t.requestsCountPerVersion[r[n]] = parseInt( + e.requestsCountPerVersion[r[n]], + 10, + )) : 'number' == typeof e.requestsCountPerVersion[r[n]] - ? (t.requestsCountPerVersion[r[n]] = e.requestsCountPerVersion[r[n]]) + ? (t.requestsCountPerVersion[r[n]] = + e.requestsCountPerVersion[r[n]]) : 'object' == typeof e.requestsCountPerVersion[r[n]] && (t.requestsCountPerVersion[r[n]] = new a.LongBits( e.requestsCountPerVersion[r[n]].low >>> 0, @@ -41592,15 +50211,27 @@ and limitations under the License. } if (e.cacheHitsPerVersion) { if ('object' != typeof e.cacheHitsPerVersion) - throw TypeError('.ClientNameStats.cacheHitsPerVersion: object expected') + throw TypeError( + '.ClientNameStats.cacheHitsPerVersion: object expected', + ) t.cacheHitsPerVersion = {} - for (r = Object.keys(e.cacheHitsPerVersion), n = 0; n < r.length; ++n) + for ( + r = Object.keys(e.cacheHitsPerVersion), n = 0; + n < r.length; + ++n + ) a.Long - ? ((t.cacheHitsPerVersion[r[n]] = a.Long.fromValue(e.cacheHitsPerVersion[r[n]])).unsigned = !0) + ? ((t.cacheHitsPerVersion[r[n]] = a.Long.fromValue( + e.cacheHitsPerVersion[r[n]], + )).unsigned = !0) : 'string' == typeof e.cacheHitsPerVersion[r[n]] - ? (t.cacheHitsPerVersion[r[n]] = parseInt(e.cacheHitsPerVersion[r[n]], 10)) + ? (t.cacheHitsPerVersion[r[n]] = parseInt( + e.cacheHitsPerVersion[r[n]], + 10, + )) : 'number' == typeof e.cacheHitsPerVersion[r[n]] - ? (t.cacheHitsPerVersion[r[n]] = e.cacheHitsPerVersion[r[n]]) + ? (t.cacheHitsPerVersion[r[n]] = + e.cacheHitsPerVersion[r[n]]) : 'object' == typeof e.cacheHitsPerVersion[r[n]] && (t.cacheHitsPerVersion[r[n]] = new a.LongBits( e.cacheHitsPerVersion[r[n]].low >>> 0, @@ -41609,17 +50240,27 @@ and limitations under the License. } if (e.persistedQueryHitsPerVersion) { if ('object' != typeof e.persistedQueryHitsPerVersion) - throw TypeError('.ClientNameStats.persistedQueryHitsPerVersion: object expected') + throw TypeError( + '.ClientNameStats.persistedQueryHitsPerVersion: object expected', + ) t.persistedQueryHitsPerVersion = {} - for (r = Object.keys(e.persistedQueryHitsPerVersion), n = 0; n < r.length; ++n) + for ( + r = Object.keys(e.persistedQueryHitsPerVersion), n = 0; + n < r.length; + ++n + ) a.Long ? ((t.persistedQueryHitsPerVersion[r[n]] = a.Long.fromValue( e.persistedQueryHitsPerVersion[r[n]], )).unsigned = !0) : 'string' == typeof e.persistedQueryHitsPerVersion[r[n]] - ? (t.persistedQueryHitsPerVersion[r[n]] = parseInt(e.persistedQueryHitsPerVersion[r[n]], 10)) + ? (t.persistedQueryHitsPerVersion[r[n]] = parseInt( + e.persistedQueryHitsPerVersion[r[n]], + 10, + )) : 'number' == typeof e.persistedQueryHitsPerVersion[r[n]] - ? (t.persistedQueryHitsPerVersion[r[n]] = e.persistedQueryHitsPerVersion[r[n]]) + ? (t.persistedQueryHitsPerVersion[r[n]] = + e.persistedQueryHitsPerVersion[r[n]]) : 'object' == typeof e.persistedQueryHitsPerVersion[r[n]] && (t.persistedQueryHitsPerVersion[r[n]] = new a.LongBits( e.persistedQueryHitsPerVersion[r[n]].low >>> 0, @@ -41628,18 +50269,31 @@ and limitations under the License. } if (e.persistedQueryMissesPerVersion) { if ('object' != typeof e.persistedQueryMissesPerVersion) - throw TypeError('.ClientNameStats.persistedQueryMissesPerVersion: object expected') + throw TypeError( + '.ClientNameStats.persistedQueryMissesPerVersion: object expected', + ) t.persistedQueryMissesPerVersion = {} - for (r = Object.keys(e.persistedQueryMissesPerVersion), n = 0; n < r.length; ++n) + for ( + r = Object.keys(e.persistedQueryMissesPerVersion), n = 0; + n < r.length; + ++n + ) a.Long - ? ((t.persistedQueryMissesPerVersion[r[n]] = a.Long.fromValue( + ? ((t.persistedQueryMissesPerVersion[ + r[n] + ] = a.Long.fromValue( e.persistedQueryMissesPerVersion[r[n]], )).unsigned = !0) : 'string' == typeof e.persistedQueryMissesPerVersion[r[n]] - ? (t.persistedQueryMissesPerVersion[r[n]] = parseInt(e.persistedQueryMissesPerVersion[r[n]], 10)) + ? (t.persistedQueryMissesPerVersion[r[n]] = parseInt( + e.persistedQueryMissesPerVersion[r[n]], + 10, + )) : 'number' == typeof e.persistedQueryMissesPerVersion[r[n]] - ? (t.persistedQueryMissesPerVersion[r[n]] = e.persistedQueryMissesPerVersion[r[n]]) - : 'object' == typeof e.persistedQueryMissesPerVersion[r[n]] && + ? (t.persistedQueryMissesPerVersion[r[n]] = + e.persistedQueryMissesPerVersion[r[n]]) + : 'object' == + typeof e.persistedQueryMissesPerVersion[r[n]] && (t.persistedQueryMissesPerVersion[r[n]] = new a.LongBits( e.persistedQueryMissesPerVersion[r[n]].low >>> 0, e.persistedQueryMissesPerVersion[r[n]].high >>> 0, @@ -41647,50 +50301,92 @@ and limitations under the License. } if (e.registeredOperationCountPerVersion) { if ('object' != typeof e.registeredOperationCountPerVersion) - throw TypeError('.ClientNameStats.registeredOperationCountPerVersion: object expected') + throw TypeError( + '.ClientNameStats.registeredOperationCountPerVersion: object expected', + ) t.registeredOperationCountPerVersion = {} - for (r = Object.keys(e.registeredOperationCountPerVersion), n = 0; n < r.length; ++n) + for ( + r = Object.keys(e.registeredOperationCountPerVersion), n = 0; + n < r.length; + ++n + ) a.Long - ? ((t.registeredOperationCountPerVersion[r[n]] = a.Long.fromValue( + ? ((t.registeredOperationCountPerVersion[ + r[n] + ] = a.Long.fromValue( e.registeredOperationCountPerVersion[r[n]], )).unsigned = !0) - : 'string' == typeof e.registeredOperationCountPerVersion[r[n]] - ? (t.registeredOperationCountPerVersion[r[n]] = parseInt(e.registeredOperationCountPerVersion[r[n]], 10)) - : 'number' == typeof e.registeredOperationCountPerVersion[r[n]] - ? (t.registeredOperationCountPerVersion[r[n]] = e.registeredOperationCountPerVersion[r[n]]) - : 'object' == typeof e.registeredOperationCountPerVersion[r[n]] && - (t.registeredOperationCountPerVersion[r[n]] = new a.LongBits( + : 'string' == + typeof e.registeredOperationCountPerVersion[r[n]] + ? (t.registeredOperationCountPerVersion[r[n]] = parseInt( + e.registeredOperationCountPerVersion[r[n]], + 10, + )) + : 'number' == + typeof e.registeredOperationCountPerVersion[r[n]] + ? (t.registeredOperationCountPerVersion[r[n]] = + e.registeredOperationCountPerVersion[r[n]]) + : 'object' == + typeof e.registeredOperationCountPerVersion[r[n]] && + (t.registeredOperationCountPerVersion[ + r[n] + ] = new a.LongBits( e.registeredOperationCountPerVersion[r[n]].low >>> 0, e.registeredOperationCountPerVersion[r[n]].high >>> 0, ).toNumber(!0)) } if (e.forbiddenOperationCountPerVersion) { if ('object' != typeof e.forbiddenOperationCountPerVersion) - throw TypeError('.ClientNameStats.forbiddenOperationCountPerVersion: object expected') + throw TypeError( + '.ClientNameStats.forbiddenOperationCountPerVersion: object expected', + ) t.forbiddenOperationCountPerVersion = {} - for (r = Object.keys(e.forbiddenOperationCountPerVersion), n = 0; n < r.length; ++n) + for ( + r = Object.keys(e.forbiddenOperationCountPerVersion), n = 0; + n < r.length; + ++n + ) a.Long - ? ((t.forbiddenOperationCountPerVersion[r[n]] = a.Long.fromValue( + ? ((t.forbiddenOperationCountPerVersion[ + r[n] + ] = a.Long.fromValue( e.forbiddenOperationCountPerVersion[r[n]], )).unsigned = !0) - : 'string' == typeof e.forbiddenOperationCountPerVersion[r[n]] - ? (t.forbiddenOperationCountPerVersion[r[n]] = parseInt(e.forbiddenOperationCountPerVersion[r[n]], 10)) - : 'number' == typeof e.forbiddenOperationCountPerVersion[r[n]] - ? (t.forbiddenOperationCountPerVersion[r[n]] = e.forbiddenOperationCountPerVersion[r[n]]) - : 'object' == typeof e.forbiddenOperationCountPerVersion[r[n]] && - (t.forbiddenOperationCountPerVersion[r[n]] = new a.LongBits( + : 'string' == + typeof e.forbiddenOperationCountPerVersion[r[n]] + ? (t.forbiddenOperationCountPerVersion[r[n]] = parseInt( + e.forbiddenOperationCountPerVersion[r[n]], + 10, + )) + : 'number' == + typeof e.forbiddenOperationCountPerVersion[r[n]] + ? (t.forbiddenOperationCountPerVersion[r[n]] = + e.forbiddenOperationCountPerVersion[r[n]]) + : 'object' == + typeof e.forbiddenOperationCountPerVersion[r[n]] && + (t.forbiddenOperationCountPerVersion[ + r[n] + ] = new a.LongBits( e.forbiddenOperationCountPerVersion[r[n]].low >>> 0, e.forbiddenOperationCountPerVersion[r[n]].high >>> 0, ).toNumber(!0)) } if (e.cacheLatencyCount) { - if (!Array.isArray(e.cacheLatencyCount)) throw TypeError('.ClientNameStats.cacheLatencyCount: array expected') + if (!Array.isArray(e.cacheLatencyCount)) + throw TypeError( + '.ClientNameStats.cacheLatencyCount: array expected', + ) t.cacheLatencyCount = [] for (n = 0; n < e.cacheLatencyCount.length; ++n) a.Long - ? ((t.cacheLatencyCount[n] = a.Long.fromValue(e.cacheLatencyCount[n])).unsigned = !1) + ? ((t.cacheLatencyCount[n] = a.Long.fromValue( + e.cacheLatencyCount[n], + )).unsigned = !1) : 'string' == typeof e.cacheLatencyCount[n] - ? (t.cacheLatencyCount[n] = parseInt(e.cacheLatencyCount[n], 10)) + ? (t.cacheLatencyCount[n] = parseInt( + e.cacheLatencyCount[n], + 10, + )) : 'number' == typeof e.cacheLatencyCount[n] ? (t.cacheLatencyCount[n] = e.cacheLatencyCount[n]) : 'object' == typeof e.cacheLatencyCount[n] && @@ -41700,15 +50396,23 @@ and limitations under the License. ).toNumber()) } if (null != e.rootErrorStats) { - if ('object' != typeof e.rootErrorStats) throw TypeError('.ClientNameStats.rootErrorStats: object expected') + if ('object' != typeof e.rootErrorStats) + throw TypeError( + '.ClientNameStats.rootErrorStats: object expected', + ) t.rootErrorStats = s.PathErrorStats.fromObject(e.rootErrorStats) } if ( (null != e.requestsWithErrorsCount && (a.Long - ? ((t.requestsWithErrorsCount = a.Long.fromValue(e.requestsWithErrorsCount)).unsigned = !0) + ? ((t.requestsWithErrorsCount = a.Long.fromValue( + e.requestsWithErrorsCount, + )).unsigned = !0) : 'string' == typeof e.requestsWithErrorsCount - ? (t.requestsWithErrorsCount = parseInt(e.requestsWithErrorsCount, 10)) + ? (t.requestsWithErrorsCount = parseInt( + e.requestsWithErrorsCount, + 10, + )) : 'number' == typeof e.requestsWithErrorsCount ? (t.requestsWithErrorsCount = e.requestsWithErrorsCount) : 'object' == typeof e.requestsWithErrorsCount && @@ -41718,13 +50422,21 @@ and limitations under the License. ).toNumber(!0))), e.publicCacheTtlCount) ) { - if (!Array.isArray(e.publicCacheTtlCount)) throw TypeError('.ClientNameStats.publicCacheTtlCount: array expected') + if (!Array.isArray(e.publicCacheTtlCount)) + throw TypeError( + '.ClientNameStats.publicCacheTtlCount: array expected', + ) t.publicCacheTtlCount = [] for (n = 0; n < e.publicCacheTtlCount.length; ++n) a.Long - ? ((t.publicCacheTtlCount[n] = a.Long.fromValue(e.publicCacheTtlCount[n])).unsigned = !1) + ? ((t.publicCacheTtlCount[n] = a.Long.fromValue( + e.publicCacheTtlCount[n], + )).unsigned = !1) : 'string' == typeof e.publicCacheTtlCount[n] - ? (t.publicCacheTtlCount[n] = parseInt(e.publicCacheTtlCount[n], 10)) + ? (t.publicCacheTtlCount[n] = parseInt( + e.publicCacheTtlCount[n], + 10, + )) : 'number' == typeof e.publicCacheTtlCount[n] ? (t.publicCacheTtlCount[n] = e.publicCacheTtlCount[n]) : 'object' == typeof e.publicCacheTtlCount[n] && @@ -41735,13 +50447,20 @@ and limitations under the License. } if (e.privateCacheTtlCount) { if (!Array.isArray(e.privateCacheTtlCount)) - throw TypeError('.ClientNameStats.privateCacheTtlCount: array expected') + throw TypeError( + '.ClientNameStats.privateCacheTtlCount: array expected', + ) t.privateCacheTtlCount = [] for (n = 0; n < e.privateCacheTtlCount.length; ++n) a.Long - ? ((t.privateCacheTtlCount[n] = a.Long.fromValue(e.privateCacheTtlCount[n])).unsigned = !1) + ? ((t.privateCacheTtlCount[n] = a.Long.fromValue( + e.privateCacheTtlCount[n], + )).unsigned = !1) : 'string' == typeof e.privateCacheTtlCount[n] - ? (t.privateCacheTtlCount[n] = parseInt(e.privateCacheTtlCount[n], 10)) + ? (t.privateCacheTtlCount[n] = parseInt( + e.privateCacheTtlCount[n], + 10, + )) : 'number' == typeof e.privateCacheTtlCount[n] ? (t.privateCacheTtlCount[n] = e.privateCacheTtlCount[n]) : 'object' == typeof e.privateCacheTtlCount[n] && @@ -41773,29 +50492,47 @@ and limitations under the License. ) if (((r.rootErrorStats = null), a.Long)) { var l = new a.Long(0, 0, !0) - r.requestsWithErrorsCount = t.longs === String ? l.toString() : t.longs === Number ? l.toNumber() : l + r.requestsWithErrorsCount = + t.longs === String + ? l.toString() + : t.longs === Number + ? l.toNumber() + : l } else r.requestsWithErrorsCount = t.longs === String ? '0' : 0 if (e.latencyCount && e.latencyCount.length) { r.latencyCount = [] for (var u = 0; u < e.latencyCount.length; ++u) 'number' == typeof e.latencyCount[u] - ? (r.latencyCount[u] = t.longs === String ? String(e.latencyCount[u]) : e.latencyCount[u]) + ? (r.latencyCount[u] = + t.longs === String + ? String(e.latencyCount[u]) + : e.latencyCount[u]) : (r.latencyCount[u] = t.longs === String ? a.Long.prototype.toString.call(e.latencyCount[u]) : t.longs === Number - ? new a.LongBits(e.latencyCount[u].low >>> 0, e.latencyCount[u].high >>> 0).toNumber() + ? new a.LongBits( + e.latencyCount[u].low >>> 0, + e.latencyCount[u].high >>> 0, + ).toNumber() : e.latencyCount[u]) } - if (e.requestsCountPerVersion && (n = Object.keys(e.requestsCountPerVersion)).length) { + if ( + e.requestsCountPerVersion && + (n = Object.keys(e.requestsCountPerVersion)).length + ) { r.requestsCountPerVersion = {} for (u = 0; u < n.length; ++u) 'number' == typeof e.requestsCountPerVersion[n[u]] ? (r.requestsCountPerVersion[n[u]] = - t.longs === String ? String(e.requestsCountPerVersion[n[u]]) : e.requestsCountPerVersion[n[u]]) + t.longs === String + ? String(e.requestsCountPerVersion[n[u]]) + : e.requestsCountPerVersion[n[u]]) : (r.requestsCountPerVersion[n[u]] = t.longs === String - ? a.Long.prototype.toString.call(e.requestsCountPerVersion[n[u]]) + ? a.Long.prototype.toString.call( + e.requestsCountPerVersion[n[u]], + ) : t.longs === Number ? new a.LongBits( e.requestsCountPerVersion[n[u]].low >>> 0, @@ -41803,15 +50540,22 @@ and limitations under the License. ).toNumber(!0) : e.requestsCountPerVersion[n[u]]) } - if (e.cacheHitsPerVersion && (n = Object.keys(e.cacheHitsPerVersion)).length) { + if ( + e.cacheHitsPerVersion && + (n = Object.keys(e.cacheHitsPerVersion)).length + ) { r.cacheHitsPerVersion = {} for (u = 0; u < n.length; ++u) 'number' == typeof e.cacheHitsPerVersion[n[u]] ? (r.cacheHitsPerVersion[n[u]] = - t.longs === String ? String(e.cacheHitsPerVersion[n[u]]) : e.cacheHitsPerVersion[n[u]]) + t.longs === String + ? String(e.cacheHitsPerVersion[n[u]]) + : e.cacheHitsPerVersion[n[u]]) : (r.cacheHitsPerVersion[n[u]] = t.longs === String - ? a.Long.prototype.toString.call(e.cacheHitsPerVersion[n[u]]) + ? a.Long.prototype.toString.call( + e.cacheHitsPerVersion[n[u]], + ) : t.longs === Number ? new a.LongBits( e.cacheHitsPerVersion[n[u]].low >>> 0, @@ -41823,28 +50567,46 @@ and limitations under the License. r.cacheLatencyCount = [] for (u = 0; u < e.cacheLatencyCount.length; ++u) 'number' == typeof e.cacheLatencyCount[u] - ? (r.cacheLatencyCount[u] = t.longs === String ? String(e.cacheLatencyCount[u]) : e.cacheLatencyCount[u]) + ? (r.cacheLatencyCount[u] = + t.longs === String + ? String(e.cacheLatencyCount[u]) + : e.cacheLatencyCount[u]) : (r.cacheLatencyCount[u] = t.longs === String - ? a.Long.prototype.toString.call(e.cacheLatencyCount[u]) + ? a.Long.prototype.toString.call( + e.cacheLatencyCount[u], + ) : t.longs === Number - ? new a.LongBits(e.cacheLatencyCount[u].low >>> 0, e.cacheLatencyCount[u].high >>> 0).toNumber() + ? new a.LongBits( + e.cacheLatencyCount[u].low >>> 0, + e.cacheLatencyCount[u].high >>> 0, + ).toNumber() : e.cacheLatencyCount[u]) } if ( (null != e.rootErrorStats && e.hasOwnProperty('rootErrorStats') && - (r.rootErrorStats = s.PathErrorStats.toObject(e.rootErrorStats, t)), + (r.rootErrorStats = s.PathErrorStats.toObject( + e.rootErrorStats, + t, + )), null != e.requestsWithErrorsCount && e.hasOwnProperty('requestsWithErrorsCount') && ('number' == typeof e.requestsWithErrorsCount ? (r.requestsWithErrorsCount = - t.longs === String ? String(e.requestsWithErrorsCount) : e.requestsWithErrorsCount) + t.longs === String + ? String(e.requestsWithErrorsCount) + : e.requestsWithErrorsCount) : (r.requestsWithErrorsCount = t.longs === String - ? a.Long.prototype.toString.call(e.requestsWithErrorsCount) + ? a.Long.prototype.toString.call( + e.requestsWithErrorsCount, + ) : t.longs === Number - ? new a.LongBits(e.requestsWithErrorsCount.low >>> 0, e.requestsWithErrorsCount.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.requestsWithErrorsCount.low >>> 0, + e.requestsWithErrorsCount.high >>> 0, + ).toNumber(!0) : e.requestsWithErrorsCount)), e.publicCacheTtlCount && e.publicCacheTtlCount.length) ) { @@ -41852,12 +50614,19 @@ and limitations under the License. for (u = 0; u < e.publicCacheTtlCount.length; ++u) 'number' == typeof e.publicCacheTtlCount[u] ? (r.publicCacheTtlCount[u] = - t.longs === String ? String(e.publicCacheTtlCount[u]) : e.publicCacheTtlCount[u]) + t.longs === String + ? String(e.publicCacheTtlCount[u]) + : e.publicCacheTtlCount[u]) : (r.publicCacheTtlCount[u] = t.longs === String - ? a.Long.prototype.toString.call(e.publicCacheTtlCount[u]) + ? a.Long.prototype.toString.call( + e.publicCacheTtlCount[u], + ) : t.longs === Number - ? new a.LongBits(e.publicCacheTtlCount[u].low >>> 0, e.publicCacheTtlCount[u].high >>> 0).toNumber() + ? new a.LongBits( + e.publicCacheTtlCount[u].low >>> 0, + e.publicCacheTtlCount[u].high >>> 0, + ).toNumber() : e.publicCacheTtlCount[u]) } if (e.privateCacheTtlCount && e.privateCacheTtlCount.length) { @@ -41865,23 +50634,37 @@ and limitations under the License. for (u = 0; u < e.privateCacheTtlCount.length; ++u) 'number' == typeof e.privateCacheTtlCount[u] ? (r.privateCacheTtlCount[u] = - t.longs === String ? String(e.privateCacheTtlCount[u]) : e.privateCacheTtlCount[u]) + t.longs === String + ? String(e.privateCacheTtlCount[u]) + : e.privateCacheTtlCount[u]) : (r.privateCacheTtlCount[u] = t.longs === String - ? a.Long.prototype.toString.call(e.privateCacheTtlCount[u]) + ? a.Long.prototype.toString.call( + e.privateCacheTtlCount[u], + ) : t.longs === Number - ? new a.LongBits(e.privateCacheTtlCount[u].low >>> 0, e.privateCacheTtlCount[u].high >>> 0).toNumber() + ? new a.LongBits( + e.privateCacheTtlCount[u].low >>> 0, + e.privateCacheTtlCount[u].high >>> 0, + ).toNumber() : e.privateCacheTtlCount[u]) } - if (e.persistedQueryHitsPerVersion && (n = Object.keys(e.persistedQueryHitsPerVersion)).length) { + if ( + e.persistedQueryHitsPerVersion && + (n = Object.keys(e.persistedQueryHitsPerVersion)).length + ) { r.persistedQueryHitsPerVersion = {} for (u = 0; u < n.length; ++u) 'number' == typeof e.persistedQueryHitsPerVersion[n[u]] ? (r.persistedQueryHitsPerVersion[n[u]] = - t.longs === String ? String(e.persistedQueryHitsPerVersion[n[u]]) : e.persistedQueryHitsPerVersion[n[u]]) + t.longs === String + ? String(e.persistedQueryHitsPerVersion[n[u]]) + : e.persistedQueryHitsPerVersion[n[u]]) : (r.persistedQueryHitsPerVersion[n[u]] = t.longs === String - ? a.Long.prototype.toString.call(e.persistedQueryHitsPerVersion[n[u]]) + ? a.Long.prototype.toString.call( + e.persistedQueryHitsPerVersion[n[u]], + ) : t.longs === Number ? new a.LongBits( e.persistedQueryHitsPerVersion[n[u]].low >>> 0, @@ -41889,7 +50672,10 @@ and limitations under the License. ).toNumber(!0) : e.persistedQueryHitsPerVersion[n[u]]) } - if (e.persistedQueryMissesPerVersion && (n = Object.keys(e.persistedQueryMissesPerVersion)).length) { + if ( + e.persistedQueryMissesPerVersion && + (n = Object.keys(e.persistedQueryMissesPerVersion)).length + ) { r.persistedQueryMissesPerVersion = {} for (u = 0; u < n.length; ++u) 'number' == typeof e.persistedQueryMissesPerVersion[n[u]] @@ -41899,7 +50685,9 @@ and limitations under the License. : e.persistedQueryMissesPerVersion[n[u]]) : (r.persistedQueryMissesPerVersion[n[u]] = t.longs === String - ? a.Long.prototype.toString.call(e.persistedQueryMissesPerVersion[n[u]]) + ? a.Long.prototype.toString.call( + e.persistedQueryMissesPerVersion[n[u]], + ) : t.longs === Number ? new a.LongBits( e.persistedQueryMissesPerVersion[n[u]].low >>> 0, @@ -41907,7 +50695,10 @@ and limitations under the License. ).toNumber(!0) : e.persistedQueryMissesPerVersion[n[u]]) } - if (e.registeredOperationCountPerVersion && (n = Object.keys(e.registeredOperationCountPerVersion)).length) { + if ( + e.registeredOperationCountPerVersion && + (n = Object.keys(e.registeredOperationCountPerVersion)).length + ) { r.registeredOperationCountPerVersion = {} for (u = 0; u < n.length; ++u) 'number' == typeof e.registeredOperationCountPerVersion[n[u]] @@ -41917,15 +50708,22 @@ and limitations under the License. : e.registeredOperationCountPerVersion[n[u]]) : (r.registeredOperationCountPerVersion[n[u]] = t.longs === String - ? a.Long.prototype.toString.call(e.registeredOperationCountPerVersion[n[u]]) + ? a.Long.prototype.toString.call( + e.registeredOperationCountPerVersion[n[u]], + ) : t.longs === Number ? new a.LongBits( - e.registeredOperationCountPerVersion[n[u]].low >>> 0, - e.registeredOperationCountPerVersion[n[u]].high >>> 0, + e.registeredOperationCountPerVersion[n[u]].low >>> + 0, + e.registeredOperationCountPerVersion[n[u]] + .high >>> 0, ).toNumber(!0) : e.registeredOperationCountPerVersion[n[u]]) } - if (e.forbiddenOperationCountPerVersion && (n = Object.keys(e.forbiddenOperationCountPerVersion)).length) { + if ( + e.forbiddenOperationCountPerVersion && + (n = Object.keys(e.forbiddenOperationCountPerVersion)).length + ) { r.forbiddenOperationCountPerVersion = {} for (u = 0; u < n.length; ++u) 'number' == typeof e.forbiddenOperationCountPerVersion[n[u]] @@ -41935,11 +50733,15 @@ and limitations under the License. : e.forbiddenOperationCountPerVersion[n[u]]) : (r.forbiddenOperationCountPerVersion[n[u]] = t.longs === String - ? a.Long.prototype.toString.call(e.forbiddenOperationCountPerVersion[n[u]]) + ? a.Long.prototype.toString.call( + e.forbiddenOperationCountPerVersion[n[u]], + ) : t.longs === Number ? new a.LongBits( - e.forbiddenOperationCountPerVersion[n[u]].low >>> 0, - e.forbiddenOperationCountPerVersion[n[u]].high >>> 0, + e.forbiddenOperationCountPerVersion[n[u]].low >>> + 0, + e.forbiddenOperationCountPerVersion[n[u]].high >>> + 0, ).toNumber(!0) : e.forbiddenOperationCountPerVersion[n[u]]) } @@ -41960,33 +50762,52 @@ and limitations under the License. (this.privateCacheTtlCount = []), e) ) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.latencyCount = a.emptyArray), (e.prototype.requestCount = a.Long ? a.Long.fromBits(0, 0, !0) : 0), (e.prototype.cacheHits = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.persistedQueryHits = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.persistedQueryMisses = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.persistedQueryHits = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), + (e.prototype.persistedQueryMisses = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.prototype.cacheLatencyCount = a.emptyArray), (e.prototype.rootErrorStats = null), - (e.prototype.requestsWithErrorsCount = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.requestsWithErrorsCount = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.prototype.publicCacheTtlCount = a.emptyArray), (e.prototype.privateCacheTtlCount = a.emptyArray), - (e.prototype.registeredOperationCount = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.forbiddenOperationCount = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.registeredOperationCount = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), + (e.prototype.forbiddenOperationCount = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.create = function(t) { return new e(t) }), (e.encode = function(e, t) { - if ((t || (t = o.create()), null != e.latencyCount && e.latencyCount.length)) { + if ( + (t || (t = o.create()), + null != e.latencyCount && e.latencyCount.length) + ) { t.uint32(10).fork() - for (var n = 0; n < e.latencyCount.length; ++n) t.int64(e.latencyCount[n]) + for (var n = 0; n < e.latencyCount.length; ++n) + t.int64(e.latencyCount[n]) t.ldelim() } if ( - (null != e.requestCount && e.hasOwnProperty('requestCount') && t.uint32(16).uint64(e.requestCount), - null != e.cacheHits && e.hasOwnProperty('cacheHits') && t.uint32(24).uint64(e.cacheHits), + (null != e.requestCount && + e.hasOwnProperty('requestCount') && + t.uint32(16).uint64(e.requestCount), + null != e.cacheHits && + e.hasOwnProperty('cacheHits') && + t.uint32(24).uint64(e.cacheHits), null != e.persistedQueryHits && e.hasOwnProperty('persistedQueryHits') && t.uint32(32).uint64(e.persistedQueryHits), @@ -41996,25 +50817,34 @@ and limitations under the License. null != e.cacheLatencyCount && e.cacheLatencyCount.length) ) { t.uint32(50).fork() - for (n = 0; n < e.cacheLatencyCount.length; ++n) t.int64(e.cacheLatencyCount[n]) + for (n = 0; n < e.cacheLatencyCount.length; ++n) + t.int64(e.cacheLatencyCount[n]) t.ldelim() } if ( (null != e.rootErrorStats && e.hasOwnProperty('rootErrorStats') && - s.PathErrorStats.encode(e.rootErrorStats, t.uint32(58).fork()).ldelim(), + s.PathErrorStats.encode( + e.rootErrorStats, + t.uint32(58).fork(), + ).ldelim(), null != e.requestsWithErrorsCount && e.hasOwnProperty('requestsWithErrorsCount') && t.uint32(64).uint64(e.requestsWithErrorsCount), null != e.publicCacheTtlCount && e.publicCacheTtlCount.length) ) { t.uint32(74).fork() - for (n = 0; n < e.publicCacheTtlCount.length; ++n) t.int64(e.publicCacheTtlCount[n]) + for (n = 0; n < e.publicCacheTtlCount.length; ++n) + t.int64(e.publicCacheTtlCount[n]) t.ldelim() } - if (null != e.privateCacheTtlCount && e.privateCacheTtlCount.length) { + if ( + null != e.privateCacheTtlCount && + e.privateCacheTtlCount.length + ) { t.uint32(82).fork() - for (n = 0; n < e.privateCacheTtlCount.length; ++n) t.int64(e.privateCacheTtlCount[n]) + for (n = 0; n < e.privateCacheTtlCount.length; ++n) + t.int64(e.privateCacheTtlCount[n]) t.ldelim() } return ( @@ -42032,12 +50862,22 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.QueryLatencyStats(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.QueryLatencyStats(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: - if (((r.latencyCount && r.latencyCount.length) || (r.latencyCount = []), 2 == (7 & l))) - for (var u = e.uint32() + e.pos; e.pos < u; ) r.latencyCount.push(e.int64()) + if ( + ((r.latencyCount && r.latencyCount.length) || + (r.latencyCount = []), + 2 == (7 & l)) + ) + for (var u = e.uint32() + e.pos; e.pos < u; ) + r.latencyCount.push(e.int64()) else r.latencyCount.push(e.int64()) break case 2: @@ -42053,8 +50893,13 @@ and limitations under the License. r.persistedQueryMisses = e.uint64() break case 6: - if (((r.cacheLatencyCount && r.cacheLatencyCount.length) || (r.cacheLatencyCount = []), 2 == (7 & l))) - for (u = e.uint32() + e.pos; e.pos < u; ) r.cacheLatencyCount.push(e.int64()) + if ( + ((r.cacheLatencyCount && r.cacheLatencyCount.length) || + (r.cacheLatencyCount = []), + 2 == (7 & l)) + ) + for (u = e.uint32() + e.pos; e.pos < u; ) + r.cacheLatencyCount.push(e.int64()) else r.cacheLatencyCount.push(e.int64()) break case 7: @@ -42064,15 +50909,25 @@ and limitations under the License. r.requestsWithErrorsCount = e.uint64() break case 9: - if (((r.publicCacheTtlCount && r.publicCacheTtlCount.length) || (r.publicCacheTtlCount = []), 2 == (7 & l))) - for (u = e.uint32() + e.pos; e.pos < u; ) r.publicCacheTtlCount.push(e.int64()) + if ( + ((r.publicCacheTtlCount && + r.publicCacheTtlCount.length) || + (r.publicCacheTtlCount = []), + 2 == (7 & l)) + ) + for (u = e.uint32() + e.pos; e.pos < u; ) + r.publicCacheTtlCount.push(e.int64()) else r.publicCacheTtlCount.push(e.int64()) break case 10: if ( - ((r.privateCacheTtlCount && r.privateCacheTtlCount.length) || (r.privateCacheTtlCount = []), 2 == (7 & l)) + ((r.privateCacheTtlCount && + r.privateCacheTtlCount.length) || + (r.privateCacheTtlCount = []), + 2 == (7 & l)) ) - for (u = e.uint32() + e.pos; e.pos < u; ) r.privateCacheTtlCount.push(e.int64()) + for (u = e.uint32() + e.pos; e.pos < u; ) + r.privateCacheTtlCount.push(e.int64()) else r.privateCacheTtlCount.push(e.int64()) break case 11: @@ -42088,17 +50943,22 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' if (null != e.latencyCount && e.hasOwnProperty('latencyCount')) { - if (!Array.isArray(e.latencyCount)) return 'latencyCount: array expected' + if (!Array.isArray(e.latencyCount)) + return 'latencyCount: array expected' for (var t = 0; t < e.latencyCount.length; ++t) if ( !( a.isInteger(e.latencyCount[t]) || - (e.latencyCount[t] && a.isInteger(e.latencyCount[t].low) && a.isInteger(e.latencyCount[t].high)) + (e.latencyCount[t] && + a.isInteger(e.latencyCount[t].low) && + a.isInteger(e.latencyCount[t].high)) ) ) return 'latencyCount: integer|Long[] expected' @@ -42108,14 +50968,21 @@ and limitations under the License. e.hasOwnProperty('requestCount') && !( a.isInteger(e.requestCount) || - (e.requestCount && a.isInteger(e.requestCount.low) && a.isInteger(e.requestCount.high)) + (e.requestCount && + a.isInteger(e.requestCount.low) && + a.isInteger(e.requestCount.high)) ) ) return 'requestCount: integer|Long expected' if ( null != e.cacheHits && e.hasOwnProperty('cacheHits') && - !(a.isInteger(e.cacheHits) || (e.cacheHits && a.isInteger(e.cacheHits.low) && a.isInteger(e.cacheHits.high))) + !( + a.isInteger(e.cacheHits) || + (e.cacheHits && + a.isInteger(e.cacheHits.low) && + a.isInteger(e.cacheHits.high)) + ) ) return 'cacheHits: integer|Long expected' if ( @@ -42123,7 +50990,9 @@ and limitations under the License. e.hasOwnProperty('persistedQueryHits') && !( a.isInteger(e.persistedQueryHits) || - (e.persistedQueryHits && a.isInteger(e.persistedQueryHits.low) && a.isInteger(e.persistedQueryHits.high)) + (e.persistedQueryHits && + a.isInteger(e.persistedQueryHits.low) && + a.isInteger(e.persistedQueryHits.high)) ) ) return 'persistedQueryHits: integer|Long expected' @@ -42132,12 +51001,18 @@ and limitations under the License. e.hasOwnProperty('persistedQueryMisses') && !( a.isInteger(e.persistedQueryMisses) || - (e.persistedQueryMisses && a.isInteger(e.persistedQueryMisses.low) && a.isInteger(e.persistedQueryMisses.high)) + (e.persistedQueryMisses && + a.isInteger(e.persistedQueryMisses.low) && + a.isInteger(e.persistedQueryMisses.high)) ) ) return 'persistedQueryMisses: integer|Long expected' - if (null != e.cacheLatencyCount && e.hasOwnProperty('cacheLatencyCount')) { - if (!Array.isArray(e.cacheLatencyCount)) return 'cacheLatencyCount: array expected' + if ( + null != e.cacheLatencyCount && + e.hasOwnProperty('cacheLatencyCount') + ) { + if (!Array.isArray(e.cacheLatencyCount)) + return 'cacheLatencyCount: array expected' for (t = 0; t < e.cacheLatencyCount.length; ++t) if ( !( @@ -42149,7 +51024,10 @@ and limitations under the License. ) return 'cacheLatencyCount: integer|Long[] expected' } - if (null != e.rootErrorStats && e.hasOwnProperty('rootErrorStats')) { + if ( + null != e.rootErrorStats && + e.hasOwnProperty('rootErrorStats') + ) { var n = s.PathErrorStats.verify(e.rootErrorStats) if (n) return 'rootErrorStats.' + n } @@ -42164,8 +51042,12 @@ and limitations under the License. ) ) return 'requestsWithErrorsCount: integer|Long expected' - if (null != e.publicCacheTtlCount && e.hasOwnProperty('publicCacheTtlCount')) { - if (!Array.isArray(e.publicCacheTtlCount)) return 'publicCacheTtlCount: array expected' + if ( + null != e.publicCacheTtlCount && + e.hasOwnProperty('publicCacheTtlCount') + ) { + if (!Array.isArray(e.publicCacheTtlCount)) + return 'publicCacheTtlCount: array expected' for (t = 0; t < e.publicCacheTtlCount.length; ++t) if ( !( @@ -42177,8 +51059,12 @@ and limitations under the License. ) return 'publicCacheTtlCount: integer|Long[] expected' } - if (null != e.privateCacheTtlCount && e.hasOwnProperty('privateCacheTtlCount')) { - if (!Array.isArray(e.privateCacheTtlCount)) return 'privateCacheTtlCount: array expected' + if ( + null != e.privateCacheTtlCount && + e.hasOwnProperty('privateCacheTtlCount') + ) { + if (!Array.isArray(e.privateCacheTtlCount)) + return 'privateCacheTtlCount: array expected' for (t = 0; t < e.privateCacheTtlCount.length; ++t) if ( !( @@ -42214,42 +51100,65 @@ and limitations under the License. if (e instanceof s.QueryLatencyStats) return e var t = new s.QueryLatencyStats() if (e.latencyCount) { - if (!Array.isArray(e.latencyCount)) throw TypeError('.QueryLatencyStats.latencyCount: array expected') + if (!Array.isArray(e.latencyCount)) + throw TypeError( + '.QueryLatencyStats.latencyCount: array expected', + ) t.latencyCount = [] for (var n = 0; n < e.latencyCount.length; ++n) a.Long - ? ((t.latencyCount[n] = a.Long.fromValue(e.latencyCount[n])).unsigned = !1) + ? ((t.latencyCount[n] = a.Long.fromValue( + e.latencyCount[n], + )).unsigned = !1) : 'string' == typeof e.latencyCount[n] ? (t.latencyCount[n] = parseInt(e.latencyCount[n], 10)) : 'number' == typeof e.latencyCount[n] ? (t.latencyCount[n] = e.latencyCount[n]) : 'object' == typeof e.latencyCount[n] && - (t.latencyCount[n] = new a.LongBits(e.latencyCount[n].low >>> 0, e.latencyCount[n].high >>> 0).toNumber()) + (t.latencyCount[n] = new a.LongBits( + e.latencyCount[n].low >>> 0, + e.latencyCount[n].high >>> 0, + ).toNumber()) } if ( (null != e.requestCount && (a.Long - ? ((t.requestCount = a.Long.fromValue(e.requestCount)).unsigned = !0) + ? ((t.requestCount = a.Long.fromValue( + e.requestCount, + )).unsigned = !0) : 'string' == typeof e.requestCount ? (t.requestCount = parseInt(e.requestCount, 10)) : 'number' == typeof e.requestCount ? (t.requestCount = e.requestCount) : 'object' == typeof e.requestCount && - (t.requestCount = new a.LongBits(e.requestCount.low >>> 0, e.requestCount.high >>> 0).toNumber(!0))), + (t.requestCount = new a.LongBits( + e.requestCount.low >>> 0, + e.requestCount.high >>> 0, + ).toNumber(!0))), null != e.cacheHits && (a.Long - ? ((t.cacheHits = a.Long.fromValue(e.cacheHits)).unsigned = !0) + ? ((t.cacheHits = a.Long.fromValue( + e.cacheHits, + )).unsigned = !0) : 'string' == typeof e.cacheHits ? (t.cacheHits = parseInt(e.cacheHits, 10)) : 'number' == typeof e.cacheHits ? (t.cacheHits = e.cacheHits) : 'object' == typeof e.cacheHits && - (t.cacheHits = new a.LongBits(e.cacheHits.low >>> 0, e.cacheHits.high >>> 0).toNumber(!0))), + (t.cacheHits = new a.LongBits( + e.cacheHits.low >>> 0, + e.cacheHits.high >>> 0, + ).toNumber(!0))), null != e.persistedQueryHits && (a.Long - ? ((t.persistedQueryHits = a.Long.fromValue(e.persistedQueryHits)).unsigned = !0) + ? ((t.persistedQueryHits = a.Long.fromValue( + e.persistedQueryHits, + )).unsigned = !0) : 'string' == typeof e.persistedQueryHits - ? (t.persistedQueryHits = parseInt(e.persistedQueryHits, 10)) + ? (t.persistedQueryHits = parseInt( + e.persistedQueryHits, + 10, + )) : 'number' == typeof e.persistedQueryHits ? (t.persistedQueryHits = e.persistedQueryHits) : 'object' == typeof e.persistedQueryHits && @@ -42259,9 +51168,14 @@ and limitations under the License. ).toNumber(!0))), null != e.persistedQueryMisses && (a.Long - ? ((t.persistedQueryMisses = a.Long.fromValue(e.persistedQueryMisses)).unsigned = !0) + ? ((t.persistedQueryMisses = a.Long.fromValue( + e.persistedQueryMisses, + )).unsigned = !0) : 'string' == typeof e.persistedQueryMisses - ? (t.persistedQueryMisses = parseInt(e.persistedQueryMisses, 10)) + ? (t.persistedQueryMisses = parseInt( + e.persistedQueryMisses, + 10, + )) : 'number' == typeof e.persistedQueryMisses ? (t.persistedQueryMisses = e.persistedQueryMisses) : 'object' == typeof e.persistedQueryMisses && @@ -42271,13 +51185,21 @@ and limitations under the License. ).toNumber(!0))), e.cacheLatencyCount) ) { - if (!Array.isArray(e.cacheLatencyCount)) throw TypeError('.QueryLatencyStats.cacheLatencyCount: array expected') + if (!Array.isArray(e.cacheLatencyCount)) + throw TypeError( + '.QueryLatencyStats.cacheLatencyCount: array expected', + ) t.cacheLatencyCount = [] for (n = 0; n < e.cacheLatencyCount.length; ++n) a.Long - ? ((t.cacheLatencyCount[n] = a.Long.fromValue(e.cacheLatencyCount[n])).unsigned = !1) + ? ((t.cacheLatencyCount[n] = a.Long.fromValue( + e.cacheLatencyCount[n], + )).unsigned = !1) : 'string' == typeof e.cacheLatencyCount[n] - ? (t.cacheLatencyCount[n] = parseInt(e.cacheLatencyCount[n], 10)) + ? (t.cacheLatencyCount[n] = parseInt( + e.cacheLatencyCount[n], + 10, + )) : 'number' == typeof e.cacheLatencyCount[n] ? (t.cacheLatencyCount[n] = e.cacheLatencyCount[n]) : 'object' == typeof e.cacheLatencyCount[n] && @@ -42287,15 +51209,23 @@ and limitations under the License. ).toNumber()) } if (null != e.rootErrorStats) { - if ('object' != typeof e.rootErrorStats) throw TypeError('.QueryLatencyStats.rootErrorStats: object expected') + if ('object' != typeof e.rootErrorStats) + throw TypeError( + '.QueryLatencyStats.rootErrorStats: object expected', + ) t.rootErrorStats = s.PathErrorStats.fromObject(e.rootErrorStats) } if ( (null != e.requestsWithErrorsCount && (a.Long - ? ((t.requestsWithErrorsCount = a.Long.fromValue(e.requestsWithErrorsCount)).unsigned = !0) + ? ((t.requestsWithErrorsCount = a.Long.fromValue( + e.requestsWithErrorsCount, + )).unsigned = !0) : 'string' == typeof e.requestsWithErrorsCount - ? (t.requestsWithErrorsCount = parseInt(e.requestsWithErrorsCount, 10)) + ? (t.requestsWithErrorsCount = parseInt( + e.requestsWithErrorsCount, + 10, + )) : 'number' == typeof e.requestsWithErrorsCount ? (t.requestsWithErrorsCount = e.requestsWithErrorsCount) : 'object' == typeof e.requestsWithErrorsCount && @@ -42306,13 +51236,20 @@ and limitations under the License. e.publicCacheTtlCount) ) { if (!Array.isArray(e.publicCacheTtlCount)) - throw TypeError('.QueryLatencyStats.publicCacheTtlCount: array expected') + throw TypeError( + '.QueryLatencyStats.publicCacheTtlCount: array expected', + ) t.publicCacheTtlCount = [] for (n = 0; n < e.publicCacheTtlCount.length; ++n) a.Long - ? ((t.publicCacheTtlCount[n] = a.Long.fromValue(e.publicCacheTtlCount[n])).unsigned = !1) + ? ((t.publicCacheTtlCount[n] = a.Long.fromValue( + e.publicCacheTtlCount[n], + )).unsigned = !1) : 'string' == typeof e.publicCacheTtlCount[n] - ? (t.publicCacheTtlCount[n] = parseInt(e.publicCacheTtlCount[n], 10)) + ? (t.publicCacheTtlCount[n] = parseInt( + e.publicCacheTtlCount[n], + 10, + )) : 'number' == typeof e.publicCacheTtlCount[n] ? (t.publicCacheTtlCount[n] = e.publicCacheTtlCount[n]) : 'object' == typeof e.publicCacheTtlCount[n] && @@ -42323,13 +51260,20 @@ and limitations under the License. } if (e.privateCacheTtlCount) { if (!Array.isArray(e.privateCacheTtlCount)) - throw TypeError('.QueryLatencyStats.privateCacheTtlCount: array expected') + throw TypeError( + '.QueryLatencyStats.privateCacheTtlCount: array expected', + ) t.privateCacheTtlCount = [] for (n = 0; n < e.privateCacheTtlCount.length; ++n) a.Long - ? ((t.privateCacheTtlCount[n] = a.Long.fromValue(e.privateCacheTtlCount[n])).unsigned = !1) + ? ((t.privateCacheTtlCount[n] = a.Long.fromValue( + e.privateCacheTtlCount[n], + )).unsigned = !1) : 'string' == typeof e.privateCacheTtlCount[n] - ? (t.privateCacheTtlCount[n] = parseInt(e.privateCacheTtlCount[n], 10)) + ? (t.privateCacheTtlCount[n] = parseInt( + e.privateCacheTtlCount[n], + 10, + )) : 'number' == typeof e.privateCacheTtlCount[n] ? (t.privateCacheTtlCount[n] = e.privateCacheTtlCount[n]) : 'object' == typeof e.privateCacheTtlCount[n] && @@ -42341,9 +51285,14 @@ and limitations under the License. return ( null != e.registeredOperationCount && (a.Long - ? ((t.registeredOperationCount = a.Long.fromValue(e.registeredOperationCount)).unsigned = !0) + ? ((t.registeredOperationCount = a.Long.fromValue( + e.registeredOperationCount, + )).unsigned = !0) : 'string' == typeof e.registeredOperationCount - ? (t.registeredOperationCount = parseInt(e.registeredOperationCount, 10)) + ? (t.registeredOperationCount = parseInt( + e.registeredOperationCount, + 10, + )) : 'number' == typeof e.registeredOperationCount ? (t.registeredOperationCount = e.registeredOperationCount) : 'object' == typeof e.registeredOperationCount && @@ -42353,9 +51302,14 @@ and limitations under the License. ).toNumber(!0))), null != e.forbiddenOperationCount && (a.Long - ? ((t.forbiddenOperationCount = a.Long.fromValue(e.forbiddenOperationCount)).unsigned = !0) + ? ((t.forbiddenOperationCount = a.Long.fromValue( + e.forbiddenOperationCount, + )).unsigned = !0) : 'string' == typeof e.forbiddenOperationCount - ? (t.forbiddenOperationCount = parseInt(e.forbiddenOperationCount, 10)) + ? (t.forbiddenOperationCount = parseInt( + e.forbiddenOperationCount, + 10, + )) : 'number' == typeof e.forbiddenOperationCount ? (t.forbiddenOperationCount = e.forbiddenOperationCount) : 'object' == typeof e.forbiddenOperationCount && @@ -42379,113 +51333,196 @@ and limitations under the License. ) { if (a.Long) { var r = new a.Long(0, 0, !0) - n.requestCount = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.requestCount = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.requestCount = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.cacheHits = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.cacheHits = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.cacheHits = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.persistedQueryHits = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.persistedQueryHits = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.persistedQueryHits = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.persistedQueryMisses = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.persistedQueryMisses = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.persistedQueryMisses = t.longs === String ? '0' : 0 if (((n.rootErrorStats = null), a.Long)) { r = new a.Long(0, 0, !0) - n.requestsWithErrorsCount = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.requestsWithErrorsCount = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.requestsWithErrorsCount = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.registeredOperationCount = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.registeredOperationCount = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.registeredOperationCount = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.forbiddenOperationCount = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.forbiddenOperationCount = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.forbiddenOperationCount = t.longs === String ? '0' : 0 } if (e.latencyCount && e.latencyCount.length) { n.latencyCount = [] for (var l = 0; l < e.latencyCount.length; ++l) 'number' == typeof e.latencyCount[l] - ? (n.latencyCount[l] = t.longs === String ? String(e.latencyCount[l]) : e.latencyCount[l]) + ? (n.latencyCount[l] = + t.longs === String + ? String(e.latencyCount[l]) + : e.latencyCount[l]) : (n.latencyCount[l] = t.longs === String ? a.Long.prototype.toString.call(e.latencyCount[l]) : t.longs === Number - ? new a.LongBits(e.latencyCount[l].low >>> 0, e.latencyCount[l].high >>> 0).toNumber() + ? new a.LongBits( + e.latencyCount[l].low >>> 0, + e.latencyCount[l].high >>> 0, + ).toNumber() : e.latencyCount[l]) } if ( (null != e.requestCount && e.hasOwnProperty('requestCount') && ('number' == typeof e.requestCount - ? (n.requestCount = t.longs === String ? String(e.requestCount) : e.requestCount) + ? (n.requestCount = + t.longs === String + ? String(e.requestCount) + : e.requestCount) : (n.requestCount = t.longs === String ? a.Long.prototype.toString.call(e.requestCount) : t.longs === Number - ? new a.LongBits(e.requestCount.low >>> 0, e.requestCount.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.requestCount.low >>> 0, + e.requestCount.high >>> 0, + ).toNumber(!0) : e.requestCount)), null != e.cacheHits && e.hasOwnProperty('cacheHits') && ('number' == typeof e.cacheHits - ? (n.cacheHits = t.longs === String ? String(e.cacheHits) : e.cacheHits) + ? (n.cacheHits = + t.longs === String ? String(e.cacheHits) : e.cacheHits) : (n.cacheHits = t.longs === String ? a.Long.prototype.toString.call(e.cacheHits) : t.longs === Number - ? new a.LongBits(e.cacheHits.low >>> 0, e.cacheHits.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.cacheHits.low >>> 0, + e.cacheHits.high >>> 0, + ).toNumber(!0) : e.cacheHits)), null != e.persistedQueryHits && e.hasOwnProperty('persistedQueryHits') && ('number' == typeof e.persistedQueryHits - ? (n.persistedQueryHits = t.longs === String ? String(e.persistedQueryHits) : e.persistedQueryHits) + ? (n.persistedQueryHits = + t.longs === String + ? String(e.persistedQueryHits) + : e.persistedQueryHits) : (n.persistedQueryHits = t.longs === String ? a.Long.prototype.toString.call(e.persistedQueryHits) : t.longs === Number - ? new a.LongBits(e.persistedQueryHits.low >>> 0, e.persistedQueryHits.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.persistedQueryHits.low >>> 0, + e.persistedQueryHits.high >>> 0, + ).toNumber(!0) : e.persistedQueryHits)), null != e.persistedQueryMisses && e.hasOwnProperty('persistedQueryMisses') && ('number' == typeof e.persistedQueryMisses - ? (n.persistedQueryMisses = t.longs === String ? String(e.persistedQueryMisses) : e.persistedQueryMisses) + ? (n.persistedQueryMisses = + t.longs === String + ? String(e.persistedQueryMisses) + : e.persistedQueryMisses) : (n.persistedQueryMisses = t.longs === String - ? a.Long.prototype.toString.call(e.persistedQueryMisses) + ? a.Long.prototype.toString.call( + e.persistedQueryMisses, + ) : t.longs === Number - ? new a.LongBits(e.persistedQueryMisses.low >>> 0, e.persistedQueryMisses.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.persistedQueryMisses.low >>> 0, + e.persistedQueryMisses.high >>> 0, + ).toNumber(!0) : e.persistedQueryMisses)), e.cacheLatencyCount && e.cacheLatencyCount.length) ) { n.cacheLatencyCount = [] for (l = 0; l < e.cacheLatencyCount.length; ++l) 'number' == typeof e.cacheLatencyCount[l] - ? (n.cacheLatencyCount[l] = t.longs === String ? String(e.cacheLatencyCount[l]) : e.cacheLatencyCount[l]) + ? (n.cacheLatencyCount[l] = + t.longs === String + ? String(e.cacheLatencyCount[l]) + : e.cacheLatencyCount[l]) : (n.cacheLatencyCount[l] = t.longs === String - ? a.Long.prototype.toString.call(e.cacheLatencyCount[l]) + ? a.Long.prototype.toString.call( + e.cacheLatencyCount[l], + ) : t.longs === Number - ? new a.LongBits(e.cacheLatencyCount[l].low >>> 0, e.cacheLatencyCount[l].high >>> 0).toNumber() + ? new a.LongBits( + e.cacheLatencyCount[l].low >>> 0, + e.cacheLatencyCount[l].high >>> 0, + ).toNumber() : e.cacheLatencyCount[l]) } if ( (null != e.rootErrorStats && e.hasOwnProperty('rootErrorStats') && - (n.rootErrorStats = s.PathErrorStats.toObject(e.rootErrorStats, t)), + (n.rootErrorStats = s.PathErrorStats.toObject( + e.rootErrorStats, + t, + )), null != e.requestsWithErrorsCount && e.hasOwnProperty('requestsWithErrorsCount') && ('number' == typeof e.requestsWithErrorsCount ? (n.requestsWithErrorsCount = - t.longs === String ? String(e.requestsWithErrorsCount) : e.requestsWithErrorsCount) + t.longs === String + ? String(e.requestsWithErrorsCount) + : e.requestsWithErrorsCount) : (n.requestsWithErrorsCount = t.longs === String - ? a.Long.prototype.toString.call(e.requestsWithErrorsCount) + ? a.Long.prototype.toString.call( + e.requestsWithErrorsCount, + ) : t.longs === Number - ? new a.LongBits(e.requestsWithErrorsCount.low >>> 0, e.requestsWithErrorsCount.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.requestsWithErrorsCount.low >>> 0, + e.requestsWithErrorsCount.high >>> 0, + ).toNumber(!0) : e.requestsWithErrorsCount)), e.publicCacheTtlCount && e.publicCacheTtlCount.length) ) { @@ -42493,12 +51530,19 @@ and limitations under the License. for (l = 0; l < e.publicCacheTtlCount.length; ++l) 'number' == typeof e.publicCacheTtlCount[l] ? (n.publicCacheTtlCount[l] = - t.longs === String ? String(e.publicCacheTtlCount[l]) : e.publicCacheTtlCount[l]) + t.longs === String + ? String(e.publicCacheTtlCount[l]) + : e.publicCacheTtlCount[l]) : (n.publicCacheTtlCount[l] = t.longs === String - ? a.Long.prototype.toString.call(e.publicCacheTtlCount[l]) + ? a.Long.prototype.toString.call( + e.publicCacheTtlCount[l], + ) : t.longs === Number - ? new a.LongBits(e.publicCacheTtlCount[l].low >>> 0, e.publicCacheTtlCount[l].high >>> 0).toNumber() + ? new a.LongBits( + e.publicCacheTtlCount[l].low >>> 0, + e.publicCacheTtlCount[l].high >>> 0, + ).toNumber() : e.publicCacheTtlCount[l]) } if (e.privateCacheTtlCount && e.privateCacheTtlCount.length) { @@ -42506,12 +51550,19 @@ and limitations under the License. for (l = 0; l < e.privateCacheTtlCount.length; ++l) 'number' == typeof e.privateCacheTtlCount[l] ? (n.privateCacheTtlCount[l] = - t.longs === String ? String(e.privateCacheTtlCount[l]) : e.privateCacheTtlCount[l]) + t.longs === String + ? String(e.privateCacheTtlCount[l]) + : e.privateCacheTtlCount[l]) : (n.privateCacheTtlCount[l] = t.longs === String - ? a.Long.prototype.toString.call(e.privateCacheTtlCount[l]) + ? a.Long.prototype.toString.call( + e.privateCacheTtlCount[l], + ) : t.longs === Number - ? new a.LongBits(e.privateCacheTtlCount[l].low >>> 0, e.privateCacheTtlCount[l].high >>> 0).toNumber() + ? new a.LongBits( + e.privateCacheTtlCount[l].low >>> 0, + e.privateCacheTtlCount[l].high >>> 0, + ).toNumber() : e.privateCacheTtlCount[l]) } return ( @@ -42519,25 +51570,37 @@ and limitations under the License. e.hasOwnProperty('registeredOperationCount') && ('number' == typeof e.registeredOperationCount ? (n.registeredOperationCount = - t.longs === String ? String(e.registeredOperationCount) : e.registeredOperationCount) + t.longs === String + ? String(e.registeredOperationCount) + : e.registeredOperationCount) : (n.registeredOperationCount = t.longs === String - ? a.Long.prototype.toString.call(e.registeredOperationCount) - : t.longs === Number - ? new a.LongBits(e.registeredOperationCount.low >>> 0, e.registeredOperationCount.high >>> 0).toNumber( - !0, + ? a.Long.prototype.toString.call( + e.registeredOperationCount, ) + : t.longs === Number + ? new a.LongBits( + e.registeredOperationCount.low >>> 0, + e.registeredOperationCount.high >>> 0, + ).toNumber(!0) : e.registeredOperationCount)), null != e.forbiddenOperationCount && e.hasOwnProperty('forbiddenOperationCount') && ('number' == typeof e.forbiddenOperationCount ? (n.forbiddenOperationCount = - t.longs === String ? String(e.forbiddenOperationCount) : e.forbiddenOperationCount) + t.longs === String + ? String(e.forbiddenOperationCount) + : e.forbiddenOperationCount) : (n.forbiddenOperationCount = t.longs === String - ? a.Long.prototype.toString.call(e.forbiddenOperationCount) + ? a.Long.prototype.toString.call( + e.forbiddenOperationCount, + ) : t.longs === Number - ? new a.LongBits(e.forbiddenOperationCount.low >>> 0, e.forbiddenOperationCount.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.forbiddenOperationCount.low >>> 0, + e.forbiddenOperationCount.high >>> 0, + ).toNumber(!0) : e.forbiddenOperationCount)), n ) @@ -42550,7 +51613,9 @@ and limitations under the License. })()), (s.StatsContext = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.clientReferenceId = ''), @@ -42562,9 +51627,15 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.clientReferenceId && e.hasOwnProperty('clientReferenceId') && t.uint32(10).string(e.clientReferenceId), - null != e.clientName && e.hasOwnProperty('clientName') && t.uint32(18).string(e.clientName), - null != e.clientVersion && e.hasOwnProperty('clientVersion') && t.uint32(26).string(e.clientVersion), + null != e.clientReferenceId && + e.hasOwnProperty('clientReferenceId') && + t.uint32(10).string(e.clientReferenceId), + null != e.clientName && + e.hasOwnProperty('clientName') && + t.uint32(18).string(e.clientName), + null != e.clientVersion && + e.hasOwnProperty('clientVersion') && + t.uint32(26).string(e.clientVersion), t ) }), @@ -42573,7 +51644,12 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.StatsContext(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.StatsContext(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: @@ -42592,16 +51668,24 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { return 'object' != typeof e || null === e ? 'object expected' - : null != e.clientReferenceId && e.hasOwnProperty('clientReferenceId') && !a.isString(e.clientReferenceId) + : null != e.clientReferenceId && + e.hasOwnProperty('clientReferenceId') && + !a.isString(e.clientReferenceId) ? 'clientReferenceId: string expected' - : null != e.clientName && e.hasOwnProperty('clientName') && !a.isString(e.clientName) + : null != e.clientName && + e.hasOwnProperty('clientName') && + !a.isString(e.clientName) ? 'clientName: string expected' - : null != e.clientVersion && e.hasOwnProperty('clientVersion') && !a.isString(e.clientVersion) + : null != e.clientVersion && + e.hasOwnProperty('clientVersion') && + !a.isString(e.clientVersion) ? 'clientVersion: string expected' : null }), @@ -42609,9 +51693,11 @@ and limitations under the License. if (e instanceof s.StatsContext) return e var t = new s.StatsContext() return ( - null != e.clientReferenceId && (t.clientReferenceId = String(e.clientReferenceId)), + null != e.clientReferenceId && + (t.clientReferenceId = String(e.clientReferenceId)), null != e.clientName && (t.clientName = String(e.clientName)), - null != e.clientVersion && (t.clientVersion = String(e.clientVersion)), + null != e.clientVersion && + (t.clientVersion = String(e.clientVersion)), t ) }), @@ -42619,12 +51705,19 @@ and limitations under the License. t || (t = {}) var n = {} return ( - t.defaults && ((n.clientReferenceId = ''), (n.clientName = ''), (n.clientVersion = '')), + t.defaults && + ((n.clientReferenceId = ''), + (n.clientName = ''), + (n.clientVersion = '')), null != e.clientReferenceId && e.hasOwnProperty('clientReferenceId') && (n.clientReferenceId = e.clientReferenceId), - null != e.clientName && e.hasOwnProperty('clientName') && (n.clientName = e.clientName), - null != e.clientVersion && e.hasOwnProperty('clientVersion') && (n.clientVersion = e.clientVersion), + null != e.clientName && + e.hasOwnProperty('clientName') && + (n.clientName = e.clientName), + null != e.clientVersion && + e.hasOwnProperty('clientVersion') && + (n.clientVersion = e.clientVersion), n ) }), @@ -42636,7 +51729,9 @@ and limitations under the License. })()), (s.ContextualizedQueryLatencyStats = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.queryLatencyStats = null), @@ -42649,10 +51744,16 @@ and limitations under the License. t || (t = o.create()), null != e.queryLatencyStats && e.hasOwnProperty('queryLatencyStats') && - s.QueryLatencyStats.encode(e.queryLatencyStats, t.uint32(10).fork()).ldelim(), + s.QueryLatencyStats.encode( + e.queryLatencyStats, + t.uint32(10).fork(), + ).ldelim(), null != e.context && e.hasOwnProperty('context') && - s.StatsContext.encode(e.context, t.uint32(18).fork()).ldelim(), + s.StatsContext.encode( + e.context, + t.uint32(18).fork(), + ).ldelim(), t ) }), @@ -42661,11 +51762,19 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.ContextualizedQueryLatencyStats(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.ContextualizedQueryLatencyStats(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: - r.queryLatencyStats = s.QueryLatencyStats.decode(e, e.uint32()) + r.queryLatencyStats = s.QueryLatencyStats.decode( + e, + e.uint32(), + ) break case 2: r.context = s.StatsContext.decode(e, e.uint32()) @@ -42677,7 +51786,9 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' @@ -42688,7 +51799,11 @@ and limitations under the License. (t = s.QueryLatencyStats.verify(e.queryLatencyStats)) ) return 'queryLatencyStats.' + t - if (null != e.context && e.hasOwnProperty('context') && (t = s.StatsContext.verify(e.context))) + if ( + null != e.context && + e.hasOwnProperty('context') && + (t = s.StatsContext.verify(e.context)) + ) return 'context.' + t return null }), @@ -42697,11 +51812,18 @@ and limitations under the License. var t = new s.ContextualizedQueryLatencyStats() if (null != e.queryLatencyStats) { if ('object' != typeof e.queryLatencyStats) - throw TypeError('.ContextualizedQueryLatencyStats.queryLatencyStats: object expected') - t.queryLatencyStats = s.QueryLatencyStats.fromObject(e.queryLatencyStats) + throw TypeError( + '.ContextualizedQueryLatencyStats.queryLatencyStats: object expected', + ) + t.queryLatencyStats = s.QueryLatencyStats.fromObject( + e.queryLatencyStats, + ) } if (null != e.context) { - if ('object' != typeof e.context) throw TypeError('.ContextualizedQueryLatencyStats.context: object expected') + if ('object' != typeof e.context) + throw TypeError( + '.ContextualizedQueryLatencyStats.context: object expected', + ) t.context = s.StatsContext.fromObject(e.context) } return t @@ -42710,11 +51832,17 @@ and limitations under the License. t || (t = {}) var n = {} return ( - t.defaults && ((n.queryLatencyStats = null), (n.context = null)), + t.defaults && + ((n.queryLatencyStats = null), (n.context = null)), null != e.queryLatencyStats && e.hasOwnProperty('queryLatencyStats') && - (n.queryLatencyStats = s.QueryLatencyStats.toObject(e.queryLatencyStats, t)), - null != e.context && e.hasOwnProperty('context') && (n.context = s.StatsContext.toObject(e.context, t)), + (n.queryLatencyStats = s.QueryLatencyStats.toObject( + e.queryLatencyStats, + t, + )), + null != e.context && + e.hasOwnProperty('context') && + (n.context = s.StatsContext.toObject(e.context, t)), n ) }), @@ -42727,7 +51855,8 @@ and limitations under the License. (s.ContextualizedTypeStats = (function() { function e(e) { if (((this.perTypeStat = {}), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.context = null), @@ -42740,10 +51869,17 @@ and limitations under the License. (t || (t = o.create()), null != e.context && e.hasOwnProperty('context') && - s.StatsContext.encode(e.context, t.uint32(10).fork()).ldelim(), + s.StatsContext.encode( + e.context, + t.uint32(10).fork(), + ).ldelim(), null != e.perTypeStat && e.hasOwnProperty('perTypeStat')) ) - for (var n = Object.keys(e.perTypeStat), r = 0; r < n.length; ++r) + for ( + var n = Object.keys(e.perTypeStat), r = 0; + r < n.length; + ++r + ) t .uint32(18) .fork() @@ -42759,7 +51895,13 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n, r = void 0 === t ? e.len : e.pos + t, l = new s.ContextualizedTypeStats(); e.pos < r; ) { + for ( + var n, + r = void 0 === t ? e.len : e.pos + t, + l = new s.ContextualizedTypeStats(); + e.pos < r; + + ) { var u = e.uint32() switch (u >>> 3) { case 1: @@ -42779,17 +51921,29 @@ and limitations under the License. return l }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.context && e.hasOwnProperty('context') && (r = s.StatsContext.verify(e.context))) + if ( + null != e.context && + e.hasOwnProperty('context') && + (r = s.StatsContext.verify(e.context)) + ) return 'context.' + r if (null != e.perTypeStat && e.hasOwnProperty('perTypeStat')) { - if (!a.isObject(e.perTypeStat)) return 'perTypeStat: object expected' - for (var t = Object.keys(e.perTypeStat), n = 0; n < t.length; ++n) { + if (!a.isObject(e.perTypeStat)) + return 'perTypeStat: object expected' + for ( + var t = Object.keys(e.perTypeStat), n = 0; + n < t.length; + ++n + ) { var r - if ((r = s.TypeStat.verify(e.perTypeStat[t[n]]))) return 'perTypeStat.' + r + if ((r = s.TypeStat.verify(e.perTypeStat[t[n]]))) + return 'perTypeStat.' + r } } return null @@ -42798,16 +51952,30 @@ and limitations under the License. if (e instanceof s.ContextualizedTypeStats) return e var t = new s.ContextualizedTypeStats() if (null != e.context) { - if ('object' != typeof e.context) throw TypeError('.ContextualizedTypeStats.context: object expected') + if ('object' != typeof e.context) + throw TypeError( + '.ContextualizedTypeStats.context: object expected', + ) t.context = s.StatsContext.fromObject(e.context) } if (e.perTypeStat) { - if ('object' != typeof e.perTypeStat) throw TypeError('.ContextualizedTypeStats.perTypeStat: object expected') + if ('object' != typeof e.perTypeStat) + throw TypeError( + '.ContextualizedTypeStats.perTypeStat: object expected', + ) t.perTypeStat = {} - for (var n = Object.keys(e.perTypeStat), r = 0; r < n.length; ++r) { + for ( + var n = Object.keys(e.perTypeStat), r = 0; + r < n.length; + ++r + ) { if ('object' != typeof e.perTypeStat[n[r]]) - throw TypeError('.ContextualizedTypeStats.perTypeStat: object expected') - t.perTypeStat[n[r]] = s.TypeStat.fromObject(e.perTypeStat[n[r]]) + throw TypeError( + '.ContextualizedTypeStats.perTypeStat: object expected', + ) + t.perTypeStat[n[r]] = s.TypeStat.fromObject( + e.perTypeStat[n[r]], + ) } } return t @@ -42819,11 +51987,17 @@ and limitations under the License. if ( ((t.objects || t.defaults) && (r.perTypeStat = {}), t.defaults && (r.context = null), - null != e.context && e.hasOwnProperty('context') && (r.context = s.StatsContext.toObject(e.context, t)), + null != e.context && + e.hasOwnProperty('context') && + (r.context = s.StatsContext.toObject(e.context, t)), e.perTypeStat && (n = Object.keys(e.perTypeStat)).length) ) { r.perTypeStat = {} - for (var l = 0; l < n.length; ++l) r.perTypeStat[n[l]] = s.TypeStat.toObject(e.perTypeStat[n[l]], t) + for (var l = 0; l < n.length; ++l) + r.perTypeStat[n[l]] = s.TypeStat.toObject( + e.perTypeStat[n[l]], + t, + ) } return r }), @@ -42836,14 +52010,17 @@ and limitations under the License. (s.FieldStat = (function() { function e(e) { if (((this.latencyCount = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.name = ''), (e.prototype.returnType = ''), (e.prototype.errorsCount = a.Long ? a.Long.fromBits(0, 0, !0) : 0), (e.prototype.count = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.requestsWithErrorsCount = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.requestsWithErrorsCount = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.prototype.latencyCount = a.emptyArray), (e.create = function(t) { return new e(t) @@ -42851,17 +52028,26 @@ and limitations under the License. (e.encode = function(e, t) { if ( (t || (t = o.create()), - null != e.name && e.hasOwnProperty('name') && t.uint32(18).string(e.name), - null != e.returnType && e.hasOwnProperty('returnType') && t.uint32(26).string(e.returnType), - null != e.errorsCount && e.hasOwnProperty('errorsCount') && t.uint32(32).uint64(e.errorsCount), - null != e.count && e.hasOwnProperty('count') && t.uint32(40).uint64(e.count), + null != e.name && + e.hasOwnProperty('name') && + t.uint32(18).string(e.name), + null != e.returnType && + e.hasOwnProperty('returnType') && + t.uint32(26).string(e.returnType), + null != e.errorsCount && + e.hasOwnProperty('errorsCount') && + t.uint32(32).uint64(e.errorsCount), + null != e.count && + e.hasOwnProperty('count') && + t.uint32(40).uint64(e.count), null != e.requestsWithErrorsCount && e.hasOwnProperty('requestsWithErrorsCount') && t.uint32(48).uint64(e.requestsWithErrorsCount), null != e.latencyCount && e.latencyCount.length) ) { t.uint32(66).fork() - for (var n = 0; n < e.latencyCount.length; ++n) t.int64(e.latencyCount[n]) + for (var n = 0; n < e.latencyCount.length; ++n) + t.int64(e.latencyCount[n]) t.ldelim() } return t @@ -42871,7 +52057,11 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.FieldStat(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, r = new s.FieldStat(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 2: @@ -42890,8 +52080,13 @@ and limitations under the License. r.requestsWithErrorsCount = e.uint64() break case 8: - if (((r.latencyCount && r.latencyCount.length) || (r.latencyCount = []), 2 == (7 & l))) - for (var u = e.uint32() + e.pos; e.pos < u; ) r.latencyCount.push(e.int64()) + if ( + ((r.latencyCount && r.latencyCount.length) || + (r.latencyCount = []), + 2 == (7 & l)) + ) + for (var u = e.uint32() + e.pos; e.pos < u; ) + r.latencyCount.push(e.int64()) else r.latencyCount.push(e.int64()) break default: @@ -42901,26 +52096,44 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.name && e.hasOwnProperty('name') && !a.isString(e.name)) return 'name: string expected' - if (null != e.returnType && e.hasOwnProperty('returnType') && !a.isString(e.returnType)) + if ( + null != e.name && + e.hasOwnProperty('name') && + !a.isString(e.name) + ) + return 'name: string expected' + if ( + null != e.returnType && + e.hasOwnProperty('returnType') && + !a.isString(e.returnType) + ) return 'returnType: string expected' if ( null != e.errorsCount && e.hasOwnProperty('errorsCount') && !( a.isInteger(e.errorsCount) || - (e.errorsCount && a.isInteger(e.errorsCount.low) && a.isInteger(e.errorsCount.high)) + (e.errorsCount && + a.isInteger(e.errorsCount.low) && + a.isInteger(e.errorsCount.high)) ) ) return 'errorsCount: integer|Long expected' if ( null != e.count && e.hasOwnProperty('count') && - !(a.isInteger(e.count) || (e.count && a.isInteger(e.count.low) && a.isInteger(e.count.high))) + !( + a.isInteger(e.count) || + (e.count && + a.isInteger(e.count.low) && + a.isInteger(e.count.high)) + ) ) return 'count: integer|Long expected' if ( @@ -42935,12 +52148,15 @@ and limitations under the License. ) return 'requestsWithErrorsCount: integer|Long expected' if (null != e.latencyCount && e.hasOwnProperty('latencyCount')) { - if (!Array.isArray(e.latencyCount)) return 'latencyCount: array expected' + if (!Array.isArray(e.latencyCount)) + return 'latencyCount: array expected' for (var t = 0; t < e.latencyCount.length; ++t) if ( !( a.isInteger(e.latencyCount[t]) || - (e.latencyCount[t] && a.isInteger(e.latencyCount[t].low) && a.isInteger(e.latencyCount[t].high)) + (e.latencyCount[t] && + a.isInteger(e.latencyCount[t].low) && + a.isInteger(e.latencyCount[t].high)) ) ) return 'latencyCount: integer|Long[] expected' @@ -42955,13 +52171,18 @@ and limitations under the License. null != e.returnType && (t.returnType = String(e.returnType)), null != e.errorsCount && (a.Long - ? ((t.errorsCount = a.Long.fromValue(e.errorsCount)).unsigned = !0) + ? ((t.errorsCount = a.Long.fromValue( + e.errorsCount, + )).unsigned = !0) : 'string' == typeof e.errorsCount ? (t.errorsCount = parseInt(e.errorsCount, 10)) : 'number' == typeof e.errorsCount ? (t.errorsCount = e.errorsCount) : 'object' == typeof e.errorsCount && - (t.errorsCount = new a.LongBits(e.errorsCount.low >>> 0, e.errorsCount.high >>> 0).toNumber(!0))), + (t.errorsCount = new a.LongBits( + e.errorsCount.low >>> 0, + e.errorsCount.high >>> 0, + ).toNumber(!0))), null != e.count && (a.Long ? ((t.count = a.Long.fromValue(e.count)).unsigned = !0) @@ -42970,12 +52191,20 @@ and limitations under the License. : 'number' == typeof e.count ? (t.count = e.count) : 'object' == typeof e.count && - (t.count = new a.LongBits(e.count.low >>> 0, e.count.high >>> 0).toNumber(!0))), + (t.count = new a.LongBits( + e.count.low >>> 0, + e.count.high >>> 0, + ).toNumber(!0))), null != e.requestsWithErrorsCount && (a.Long - ? ((t.requestsWithErrorsCount = a.Long.fromValue(e.requestsWithErrorsCount)).unsigned = !0) + ? ((t.requestsWithErrorsCount = a.Long.fromValue( + e.requestsWithErrorsCount, + )).unsigned = !0) : 'string' == typeof e.requestsWithErrorsCount - ? (t.requestsWithErrorsCount = parseInt(e.requestsWithErrorsCount, 10)) + ? (t.requestsWithErrorsCount = parseInt( + e.requestsWithErrorsCount, + 10, + )) : 'number' == typeof e.requestsWithErrorsCount ? (t.requestsWithErrorsCount = e.requestsWithErrorsCount) : 'object' == typeof e.requestsWithErrorsCount && @@ -42985,49 +52214,82 @@ and limitations under the License. ).toNumber(!0))), e.latencyCount) ) { - if (!Array.isArray(e.latencyCount)) throw TypeError('.FieldStat.latencyCount: array expected') + if (!Array.isArray(e.latencyCount)) + throw TypeError('.FieldStat.latencyCount: array expected') t.latencyCount = [] for (var n = 0; n < e.latencyCount.length; ++n) a.Long - ? ((t.latencyCount[n] = a.Long.fromValue(e.latencyCount[n])).unsigned = !1) + ? ((t.latencyCount[n] = a.Long.fromValue( + e.latencyCount[n], + )).unsigned = !1) : 'string' == typeof e.latencyCount[n] ? (t.latencyCount[n] = parseInt(e.latencyCount[n], 10)) : 'number' == typeof e.latencyCount[n] ? (t.latencyCount[n] = e.latencyCount[n]) : 'object' == typeof e.latencyCount[n] && - (t.latencyCount[n] = new a.LongBits(e.latencyCount[n].low >>> 0, e.latencyCount[n].high >>> 0).toNumber()) + (t.latencyCount[n] = new a.LongBits( + e.latencyCount[n].low >>> 0, + e.latencyCount[n].high >>> 0, + ).toNumber()) } return t }), (e.toObject = function(e, t) { t || (t = {}) var n = {} - if (((t.arrays || t.defaults) && (n.latencyCount = []), t.defaults)) { + if ( + ((t.arrays || t.defaults) && (n.latencyCount = []), t.defaults) + ) { if (((n.name = ''), (n.returnType = ''), a.Long)) { var r = new a.Long(0, 0, !0) - n.errorsCount = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.errorsCount = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.errorsCount = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.count = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.count = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.count = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.requestsWithErrorsCount = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.requestsWithErrorsCount = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.requestsWithErrorsCount = t.longs === String ? '0' : 0 } if ( - (null != e.name && e.hasOwnProperty('name') && (n.name = e.name), - null != e.returnType && e.hasOwnProperty('returnType') && (n.returnType = e.returnType), + (null != e.name && + e.hasOwnProperty('name') && + (n.name = e.name), + null != e.returnType && + e.hasOwnProperty('returnType') && + (n.returnType = e.returnType), null != e.errorsCount && e.hasOwnProperty('errorsCount') && ('number' == typeof e.errorsCount - ? (n.errorsCount = t.longs === String ? String(e.errorsCount) : e.errorsCount) + ? (n.errorsCount = + t.longs === String + ? String(e.errorsCount) + : e.errorsCount) : (n.errorsCount = t.longs === String ? a.Long.prototype.toString.call(e.errorsCount) : t.longs === Number - ? new a.LongBits(e.errorsCount.low >>> 0, e.errorsCount.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.errorsCount.low >>> 0, + e.errorsCount.high >>> 0, + ).toNumber(!0) : e.errorsCount)), null != e.count && e.hasOwnProperty('count') && @@ -43037,30 +52299,46 @@ and limitations under the License. t.longs === String ? a.Long.prototype.toString.call(e.count) : t.longs === Number - ? new a.LongBits(e.count.low >>> 0, e.count.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.count.low >>> 0, + e.count.high >>> 0, + ).toNumber(!0) : e.count)), null != e.requestsWithErrorsCount && e.hasOwnProperty('requestsWithErrorsCount') && ('number' == typeof e.requestsWithErrorsCount ? (n.requestsWithErrorsCount = - t.longs === String ? String(e.requestsWithErrorsCount) : e.requestsWithErrorsCount) + t.longs === String + ? String(e.requestsWithErrorsCount) + : e.requestsWithErrorsCount) : (n.requestsWithErrorsCount = t.longs === String - ? a.Long.prototype.toString.call(e.requestsWithErrorsCount) + ? a.Long.prototype.toString.call( + e.requestsWithErrorsCount, + ) : t.longs === Number - ? new a.LongBits(e.requestsWithErrorsCount.low >>> 0, e.requestsWithErrorsCount.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.requestsWithErrorsCount.low >>> 0, + e.requestsWithErrorsCount.high >>> 0, + ).toNumber(!0) : e.requestsWithErrorsCount)), e.latencyCount && e.latencyCount.length) ) { n.latencyCount = [] for (var l = 0; l < e.latencyCount.length; ++l) 'number' == typeof e.latencyCount[l] - ? (n.latencyCount[l] = t.longs === String ? String(e.latencyCount[l]) : e.latencyCount[l]) + ? (n.latencyCount[l] = + t.longs === String + ? String(e.latencyCount[l]) + : e.latencyCount[l]) : (n.latencyCount[l] = t.longs === String ? a.Long.prototype.toString.call(e.latencyCount[l]) : t.longs === Number - ? new a.LongBits(e.latencyCount[l].low >>> 0, e.latencyCount[l].high >>> 0).toNumber() + ? new a.LongBits( + e.latencyCount[l].low >>> 0, + e.latencyCount[l].high >>> 0, + ).toNumber() : e.latencyCount[l]) } return n @@ -43074,7 +52352,8 @@ and limitations under the License. (s.TypeStat = (function() { function e(e) { if (((this.field = []), (this.perFieldStat = {}), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.name = ''), @@ -43086,10 +52365,13 @@ and limitations under the License. (e.encode = function(e, t) { if ( (t || (t = o.create()), - null != e.name && e.hasOwnProperty('name') && t.uint32(10).string(e.name), + null != e.name && + e.hasOwnProperty('name') && + t.uint32(10).string(e.name), null != e.field && e.field.length) ) - for (var n = 0; n < e.field.length; ++n) s.FieldStat.encode(e.field[n], t.uint32(18).fork()).ldelim() + for (var n = 0; n < e.field.length; ++n) + s.FieldStat.encode(e.field[n], t.uint32(18).fork()).ldelim() if (null != e.perFieldStat && e.hasOwnProperty('perFieldStat')) { var r = Object.keys(e.perFieldStat) for (n = 0; n < r.length; ++n) @@ -43098,7 +52380,10 @@ and limitations under the License. .fork() .uint32(10) .string(r[n]), - s.FieldStat.encode(e.perFieldStat[r[n]], t.uint32(18).fork()) + s.FieldStat.encode( + e.perFieldStat[r[n]], + t.uint32(18).fork(), + ) .ldelim() .ldelim() } @@ -43109,14 +52394,21 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n, r = void 0 === t ? e.len : e.pos + t, l = new s.TypeStat(); e.pos < r; ) { + for ( + var n, + r = void 0 === t ? e.len : e.pos + t, + l = new s.TypeStat(); + e.pos < r; + + ) { var u = e.uint32() switch (u >>> 3) { case 1: l.name = e.string() break case 2: - ;(l.field && l.field.length) || (l.field = []), l.field.push(s.FieldStat.decode(e, e.uint32())) + ;(l.field && l.field.length) || (l.field = []), + l.field.push(s.FieldStat.decode(e, e.uint32())) break case 3: e.skip().pos++, @@ -43132,11 +52424,18 @@ and limitations under the License. return l }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.name && e.hasOwnProperty('name') && !a.isString(e.name)) return 'name: string expected' + if ( + null != e.name && + e.hasOwnProperty('name') && + !a.isString(e.name) + ) + return 'name: string expected' if (null != e.field && e.hasOwnProperty('field')) { if (!Array.isArray(e.field)) return 'field: array expected' for (var t = 0; t < e.field.length; ++t) { @@ -43144,11 +52443,13 @@ and limitations under the License. } } if (null != e.perFieldStat && e.hasOwnProperty('perFieldStat')) { - if (!a.isObject(e.perFieldStat)) return 'perFieldStat: object expected' + if (!a.isObject(e.perFieldStat)) + return 'perFieldStat: object expected' var n = Object.keys(e.perFieldStat) for (t = 0; t < n.length; ++t) { var r - if ((r = s.FieldStat.verify(e.perFieldStat[n[t]]))) return 'perFieldStat.' + r + if ((r = s.FieldStat.verify(e.perFieldStat[n[t]]))) + return 'perFieldStat.' + r } } return null @@ -43157,20 +52458,26 @@ and limitations under the License. if (e instanceof s.TypeStat) return e var t = new s.TypeStat() if ((null != e.name && (t.name = String(e.name)), e.field)) { - if (!Array.isArray(e.field)) throw TypeError('.TypeStat.field: array expected') + if (!Array.isArray(e.field)) + throw TypeError('.TypeStat.field: array expected') t.field = [] for (var n = 0; n < e.field.length; ++n) { - if ('object' != typeof e.field[n]) throw TypeError('.TypeStat.field: object expected') + if ('object' != typeof e.field[n]) + throw TypeError('.TypeStat.field: object expected') t.field[n] = s.FieldStat.fromObject(e.field[n]) } } if (e.perFieldStat) { - if ('object' != typeof e.perFieldStat) throw TypeError('.TypeStat.perFieldStat: object expected') + if ('object' != typeof e.perFieldStat) + throw TypeError('.TypeStat.perFieldStat: object expected') t.perFieldStat = {} var r = Object.keys(e.perFieldStat) for (n = 0; n < r.length; ++n) { - if ('object' != typeof e.perFieldStat[r[n]]) throw TypeError('.TypeStat.perFieldStat: object expected') - t.perFieldStat[r[n]] = s.FieldStat.fromObject(e.perFieldStat[r[n]]) + if ('object' != typeof e.perFieldStat[r[n]]) + throw TypeError('.TypeStat.perFieldStat: object expected') + t.perFieldStat[r[n]] = s.FieldStat.fromObject( + e.perFieldStat[r[n]], + ) } } return t @@ -43187,11 +52494,16 @@ and limitations under the License. e.field && e.field.length) ) { r.field = [] - for (var l = 0; l < e.field.length; ++l) r.field[l] = s.FieldStat.toObject(e.field[l], t) + for (var l = 0; l < e.field.length; ++l) + r.field[l] = s.FieldStat.toObject(e.field[l], t) } if (e.perFieldStat && (n = Object.keys(e.perFieldStat)).length) { r.perFieldStat = {} - for (l = 0; l < n.length; ++l) r.perFieldStat[n[l]] = s.FieldStat.toObject(e.perFieldStat[n[l]], t) + for (l = 0; l < n.length; ++l) + r.perFieldStat[n[l]] = s.FieldStat.toObject( + e.perFieldStat[n[l]], + t, + ) } return r }), @@ -43211,7 +52523,8 @@ and limitations under the License. (this.typeStatsWithContext = []), e) ) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.perClientName = a.emptyObject), @@ -43223,18 +52536,29 @@ and limitations under the License. return new e(t) }), (e.encode = function(e, t) { - if ((t || (t = o.create()), null != e.perClientName && e.hasOwnProperty('perClientName'))) - for (var n = Object.keys(e.perClientName), r = 0; r < n.length; ++r) + if ( + (t || (t = o.create()), + null != e.perClientName && e.hasOwnProperty('perClientName')) + ) + for ( + var n = Object.keys(e.perClientName), r = 0; + r < n.length; + ++r + ) t .uint32(10) .fork() .uint32(10) .string(n[r]), - s.ClientNameStats.encode(e.perClientName[n[r]], t.uint32(18).fork()) + s.ClientNameStats.encode( + e.perClientName[n[r]], + t.uint32(18).fork(), + ) .ldelim() .ldelim() if (null != e.perType && e.perType.length) - for (r = 0; r < e.perType.length; ++r) s.TypeStat.encode(e.perType[r], t.uint32(18).fork()).ldelim() + for (r = 0; r < e.perType.length; ++r) + s.TypeStat.encode(e.perType[r], t.uint32(18).fork()).ldelim() if (null != e.perTypeStat && e.hasOwnProperty('perTypeStat')) for (n = Object.keys(e.perTypeStat), r = 0; r < n.length; ++r) t @@ -43245,12 +52569,24 @@ and limitations under the License. s.TypeStat.encode(e.perTypeStat[n[r]], t.uint32(18).fork()) .ldelim() .ldelim() - if (null != e.queryStatsWithContext && e.queryStatsWithContext.length) + if ( + null != e.queryStatsWithContext && + e.queryStatsWithContext.length + ) for (r = 0; r < e.queryStatsWithContext.length; ++r) - s.ContextualizedQueryLatencyStats.encode(e.queryStatsWithContext[r], t.uint32(34).fork()).ldelim() - if (null != e.typeStatsWithContext && e.typeStatsWithContext.length) + s.ContextualizedQueryLatencyStats.encode( + e.queryStatsWithContext[r], + t.uint32(34).fork(), + ).ldelim() + if ( + null != e.typeStatsWithContext && + e.typeStatsWithContext.length + ) for (r = 0; r < e.typeStatsWithContext.length; ++r) - s.ContextualizedTypeStats.encode(e.typeStatsWithContext[r], t.uint32(42).fork()).ldelim() + s.ContextualizedTypeStats.encode( + e.typeStatsWithContext[r], + t.uint32(42).fork(), + ).ldelim() return t }), (e.encodeDelimited = function(e, t) { @@ -43258,22 +52594,37 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n, r = void 0 === t ? e.len : e.pos + t, l = new s.QueryStats(); e.pos < r; ) { + for ( + var n, + r = void 0 === t ? e.len : e.pos + t, + l = new s.QueryStats(); + e.pos < r; + + ) { var u = e.uint32() switch (u >>> 3) { case 1: e.skip().pos++, - l.perClientName === a.emptyObject && (l.perClientName = {}), + l.perClientName === a.emptyObject && + (l.perClientName = {}), (n = e.string()), e.pos++, - (l.perClientName[n] = s.ClientNameStats.decode(e, e.uint32())) + (l.perClientName[n] = s.ClientNameStats.decode( + e, + e.uint32(), + )) break case 4: - ;(l.queryStatsWithContext && l.queryStatsWithContext.length) || (l.queryStatsWithContext = []), - l.queryStatsWithContext.push(s.ContextualizedQueryLatencyStats.decode(e, e.uint32())) + ;(l.queryStatsWithContext && + l.queryStatsWithContext.length) || + (l.queryStatsWithContext = []), + l.queryStatsWithContext.push( + s.ContextualizedQueryLatencyStats.decode(e, e.uint32()), + ) break case 2: - ;(l.perType && l.perType.length) || (l.perType = []), l.perType.push(s.TypeStat.decode(e, e.uint32())) + ;(l.perType && l.perType.length) || (l.perType = []), + l.perType.push(s.TypeStat.decode(e, e.uint32())) break case 3: e.skip().pos++, @@ -43283,8 +52634,12 @@ and limitations under the License. (l.perTypeStat[n] = s.TypeStat.decode(e, e.uint32())) break case 5: - ;(l.typeStatsWithContext && l.typeStatsWithContext.length) || (l.typeStatsWithContext = []), - l.typeStatsWithContext.push(s.ContextualizedTypeStats.decode(e, e.uint32())) + ;(l.typeStatsWithContext && + l.typeStatsWithContext.length) || + (l.typeStatsWithContext = []), + l.typeStatsWithContext.push( + s.ContextualizedTypeStats.decode(e, e.uint32()), + ) break default: e.skipType(7 & u) @@ -43293,40 +52648,71 @@ and limitations under the License. return l }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.perClientName && e.hasOwnProperty('perClientName')) { - if (!a.isObject(e.perClientName)) return 'perClientName: object expected' - for (var t = Object.keys(e.perClientName), n = 0; n < t.length; ++n) { - if ((r = s.ClientNameStats.verify(e.perClientName[t[n]]))) return 'perClientName.' + r + if ( + null != e.perClientName && + e.hasOwnProperty('perClientName') + ) { + if (!a.isObject(e.perClientName)) + return 'perClientName: object expected' + for ( + var t = Object.keys(e.perClientName), n = 0; + n < t.length; + ++n + ) { + if ((r = s.ClientNameStats.verify(e.perClientName[t[n]]))) + return 'perClientName.' + r } } - if (null != e.queryStatsWithContext && e.hasOwnProperty('queryStatsWithContext')) { - if (!Array.isArray(e.queryStatsWithContext)) return 'queryStatsWithContext: array expected' + if ( + null != e.queryStatsWithContext && + e.hasOwnProperty('queryStatsWithContext') + ) { + if (!Array.isArray(e.queryStatsWithContext)) + return 'queryStatsWithContext: array expected' for (n = 0; n < e.queryStatsWithContext.length; ++n) { - if ((r = s.ContextualizedQueryLatencyStats.verify(e.queryStatsWithContext[n]))) + if ( + (r = s.ContextualizedQueryLatencyStats.verify( + e.queryStatsWithContext[n], + )) + ) return 'queryStatsWithContext.' + r } } if (null != e.perType && e.hasOwnProperty('perType')) { if (!Array.isArray(e.perType)) return 'perType: array expected' for (n = 0; n < e.perType.length; ++n) { - if ((r = s.TypeStat.verify(e.perType[n]))) return 'perType.' + r + if ((r = s.TypeStat.verify(e.perType[n]))) + return 'perType.' + r } } if (null != e.perTypeStat && e.hasOwnProperty('perTypeStat')) { - if (!a.isObject(e.perTypeStat)) return 'perTypeStat: object expected' + if (!a.isObject(e.perTypeStat)) + return 'perTypeStat: object expected' for (t = Object.keys(e.perTypeStat), n = 0; n < t.length; ++n) { - if ((r = s.TypeStat.verify(e.perTypeStat[t[n]]))) return 'perTypeStat.' + r + if ((r = s.TypeStat.verify(e.perTypeStat[t[n]]))) + return 'perTypeStat.' + r } } - if (null != e.typeStatsWithContext && e.hasOwnProperty('typeStatsWithContext')) { - if (!Array.isArray(e.typeStatsWithContext)) return 'typeStatsWithContext: array expected' + if ( + null != e.typeStatsWithContext && + e.hasOwnProperty('typeStatsWithContext') + ) { + if (!Array.isArray(e.typeStatsWithContext)) + return 'typeStatsWithContext: array expected' for (n = 0; n < e.typeStatsWithContext.length; ++n) { var r - if ((r = s.ContextualizedTypeStats.verify(e.typeStatsWithContext[n]))) return 'typeStatsWithContext.' + r + if ( + (r = s.ContextualizedTypeStats.verify( + e.typeStatsWithContext[n], + )) + ) + return 'typeStatsWithContext.' + r } } return null @@ -43335,45 +52721,79 @@ and limitations under the License. if (e instanceof s.QueryStats) return e var t = new s.QueryStats() if (e.perClientName) { - if ('object' != typeof e.perClientName) throw TypeError('.QueryStats.perClientName: object expected') + if ('object' != typeof e.perClientName) + throw TypeError('.QueryStats.perClientName: object expected') t.perClientName = {} - for (var n = Object.keys(e.perClientName), r = 0; r < n.length; ++r) { - if ('object' != typeof e.perClientName[n[r]]) throw TypeError('.QueryStats.perClientName: object expected') - t.perClientName[n[r]] = s.ClientNameStats.fromObject(e.perClientName[n[r]]) + for ( + var n = Object.keys(e.perClientName), r = 0; + r < n.length; + ++r + ) { + if ('object' != typeof e.perClientName[n[r]]) + throw TypeError( + '.QueryStats.perClientName: object expected', + ) + t.perClientName[n[r]] = s.ClientNameStats.fromObject( + e.perClientName[n[r]], + ) } } if (e.queryStatsWithContext) { - if (!Array.isArray(e.queryStatsWithContext)) throw TypeError('.QueryStats.queryStatsWithContext: array expected') + if (!Array.isArray(e.queryStatsWithContext)) + throw TypeError( + '.QueryStats.queryStatsWithContext: array expected', + ) t.queryStatsWithContext = [] for (r = 0; r < e.queryStatsWithContext.length; ++r) { if ('object' != typeof e.queryStatsWithContext[r]) - throw TypeError('.QueryStats.queryStatsWithContext: object expected') - t.queryStatsWithContext[r] = s.ContextualizedQueryLatencyStats.fromObject(e.queryStatsWithContext[r]) + throw TypeError( + '.QueryStats.queryStatsWithContext: object expected', + ) + t.queryStatsWithContext[ + r + ] = s.ContextualizedQueryLatencyStats.fromObject( + e.queryStatsWithContext[r], + ) } } if (e.perType) { - if (!Array.isArray(e.perType)) throw TypeError('.QueryStats.perType: array expected') + if (!Array.isArray(e.perType)) + throw TypeError('.QueryStats.perType: array expected') t.perType = [] for (r = 0; r < e.perType.length; ++r) { - if ('object' != typeof e.perType[r]) throw TypeError('.QueryStats.perType: object expected') + if ('object' != typeof e.perType[r]) + throw TypeError('.QueryStats.perType: object expected') t.perType[r] = s.TypeStat.fromObject(e.perType[r]) } } if (e.perTypeStat) { - if ('object' != typeof e.perTypeStat) throw TypeError('.QueryStats.perTypeStat: object expected') + if ('object' != typeof e.perTypeStat) + throw TypeError('.QueryStats.perTypeStat: object expected') t.perTypeStat = {} for (n = Object.keys(e.perTypeStat), r = 0; r < n.length; ++r) { - if ('object' != typeof e.perTypeStat[n[r]]) throw TypeError('.QueryStats.perTypeStat: object expected') - t.perTypeStat[n[r]] = s.TypeStat.fromObject(e.perTypeStat[n[r]]) + if ('object' != typeof e.perTypeStat[n[r]]) + throw TypeError('.QueryStats.perTypeStat: object expected') + t.perTypeStat[n[r]] = s.TypeStat.fromObject( + e.perTypeStat[n[r]], + ) } } if (e.typeStatsWithContext) { - if (!Array.isArray(e.typeStatsWithContext)) throw TypeError('.QueryStats.typeStatsWithContext: array expected') + if (!Array.isArray(e.typeStatsWithContext)) + throw TypeError( + '.QueryStats.typeStatsWithContext: array expected', + ) t.typeStatsWithContext = [] for (r = 0; r < e.typeStatsWithContext.length; ++r) { if ('object' != typeof e.typeStatsWithContext[r]) - throw TypeError('.QueryStats.typeStatsWithContext: object expected') - t.typeStatsWithContext[r] = s.ContextualizedTypeStats.fromObject(e.typeStatsWithContext[r]) + throw TypeError( + '.QueryStats.typeStatsWithContext: object expected', + ) + t.typeStatsWithContext[ + r + ] = s.ContextualizedTypeStats.fromObject( + e.typeStatsWithContext[r], + ) } } return t @@ -43383,30 +52803,53 @@ and limitations under the License. var n, r = {} if ( - ((t.arrays || t.defaults) && ((r.perType = []), (r.queryStatsWithContext = []), (r.typeStatsWithContext = [])), - (t.objects || t.defaults) && ((r.perClientName = {}), (r.perTypeStat = {})), + ((t.arrays || t.defaults) && + ((r.perType = []), + (r.queryStatsWithContext = []), + (r.typeStatsWithContext = [])), + (t.objects || t.defaults) && + ((r.perClientName = {}), (r.perTypeStat = {})), e.perClientName && (n = Object.keys(e.perClientName)).length) ) { r.perClientName = {} - for (var l = 0; l < n.length; ++l) r.perClientName[n[l]] = s.ClientNameStats.toObject(e.perClientName[n[l]], t) + for (var l = 0; l < n.length; ++l) + r.perClientName[n[l]] = s.ClientNameStats.toObject( + e.perClientName[n[l]], + t, + ) } if (e.perType && e.perType.length) { r.perType = [] - for (l = 0; l < e.perType.length; ++l) r.perType[l] = s.TypeStat.toObject(e.perType[l], t) + for (l = 0; l < e.perType.length; ++l) + r.perType[l] = s.TypeStat.toObject(e.perType[l], t) } if (e.perTypeStat && (n = Object.keys(e.perTypeStat)).length) { r.perTypeStat = {} - for (l = 0; l < n.length; ++l) r.perTypeStat[n[l]] = s.TypeStat.toObject(e.perTypeStat[n[l]], t) + for (l = 0; l < n.length; ++l) + r.perTypeStat[n[l]] = s.TypeStat.toObject( + e.perTypeStat[n[l]], + t, + ) } if (e.queryStatsWithContext && e.queryStatsWithContext.length) { r.queryStatsWithContext = [] for (l = 0; l < e.queryStatsWithContext.length; ++l) - r.queryStatsWithContext[l] = s.ContextualizedQueryLatencyStats.toObject(e.queryStatsWithContext[l], t) + r.queryStatsWithContext[ + l + ] = s.ContextualizedQueryLatencyStats.toObject( + e.queryStatsWithContext[l], + t, + ) } if (e.typeStatsWithContext && e.typeStatsWithContext.length) { r.typeStatsWithContext = [] for (l = 0; l < e.typeStatsWithContext.length; ++l) - r.typeStatsWithContext[l] = s.ContextualizedTypeStats.toObject(e.typeStatsWithContext[l], t) + r.typeStatsWithContext[ + l + ] = s.ContextualizedTypeStats.toObject( + e.typeStatsWithContext[l], + t, + ) } return r }), @@ -43419,7 +52862,8 @@ and limitations under the License. (s.TracesReport = (function() { function e(e) { if (((this.trace = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.header = null), @@ -43430,10 +52874,13 @@ and limitations under the License. (e.encode = function(e, t) { if ( (t || (t = o.create()), - null != e.header && e.hasOwnProperty('header') && s.ReportHeader.encode(e.header, t.uint32(10).fork()).ldelim(), + null != e.header && + e.hasOwnProperty('header') && + s.ReportHeader.encode(e.header, t.uint32(10).fork()).ldelim(), null != e.trace && e.trace.length) ) - for (var n = 0; n < e.trace.length; ++n) s.Trace.encode(e.trace[n], t.uint32(18).fork()).ldelim() + for (var n = 0; n < e.trace.length; ++n) + s.Trace.encode(e.trace[n], t.uint32(18).fork()).ldelim() return t }), (e.encodeDelimited = function(e, t) { @@ -43441,14 +52888,20 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.TracesReport(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.TracesReport(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: r.header = s.ReportHeader.decode(e, e.uint32()) break case 2: - ;(r.trace && r.trace.length) || (r.trace = []), r.trace.push(s.Trace.decode(e, e.uint32())) + ;(r.trace && r.trace.length) || (r.trace = []), + r.trace.push(s.Trace.decode(e, e.uint32())) break default: e.skipType(7 & l) @@ -43457,11 +52910,18 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.header && e.hasOwnProperty('header') && (n = s.ReportHeader.verify(e.header))) return 'header.' + n + if ( + null != e.header && + e.hasOwnProperty('header') && + (n = s.ReportHeader.verify(e.header)) + ) + return 'header.' + n if (null != e.trace && e.hasOwnProperty('trace')) { if (!Array.isArray(e.trace)) return 'trace: array expected' for (var t = 0; t < e.trace.length; ++t) { @@ -43475,14 +52935,17 @@ and limitations under the License. if (e instanceof s.TracesReport) return e var t = new s.TracesReport() if (null != e.header) { - if ('object' != typeof e.header) throw TypeError('.TracesReport.header: object expected') + if ('object' != typeof e.header) + throw TypeError('.TracesReport.header: object expected') t.header = s.ReportHeader.fromObject(e.header) } if (e.trace) { - if (!Array.isArray(e.trace)) throw TypeError('.TracesReport.trace: array expected') + if (!Array.isArray(e.trace)) + throw TypeError('.TracesReport.trace: array expected') t.trace = [] for (var n = 0; n < e.trace.length; ++n) { - if ('object' != typeof e.trace[n]) throw TypeError('.TracesReport.trace: object expected') + if ('object' != typeof e.trace[n]) + throw TypeError('.TracesReport.trace: object expected') t.trace[n] = s.Trace.fromObject(e.trace[n]) } } @@ -43494,11 +52957,14 @@ and limitations under the License. if ( ((t.arrays || t.defaults) && (n.trace = []), t.defaults && (n.header = null), - null != e.header && e.hasOwnProperty('header') && (n.header = s.ReportHeader.toObject(e.header, t)), + null != e.header && + e.hasOwnProperty('header') && + (n.header = s.ReportHeader.toObject(e.header, t)), e.trace && e.trace.length) ) { n.trace = [] - for (var r = 0; r < e.trace.length; ++r) n.trace[r] = s.Trace.toObject(e.trace[r], t) + for (var r = 0; r < e.trace.length; ++r) + n.trace[r] = s.Trace.toObject(e.trace[r], t) } return n }), @@ -43510,7 +52976,9 @@ and limitations under the License. })()), (s.Field = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.name = ''), @@ -43521,8 +52989,12 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.name && e.hasOwnProperty('name') && t.uint32(18).string(e.name), - null != e.returnType && e.hasOwnProperty('returnType') && t.uint32(26).string(e.returnType), + null != e.name && + e.hasOwnProperty('name') && + t.uint32(18).string(e.name), + null != e.returnType && + e.hasOwnProperty('returnType') && + t.uint32(26).string(e.returnType), t ) }), @@ -43531,7 +53003,11 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Field(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, r = new s.Field(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 2: @@ -43547,21 +53023,31 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { return 'object' != typeof e || null === e ? 'object expected' - : null != e.name && e.hasOwnProperty('name') && !a.isString(e.name) + : null != e.name && + e.hasOwnProperty('name') && + !a.isString(e.name) ? 'name: string expected' - : null != e.returnType && e.hasOwnProperty('returnType') && !a.isString(e.returnType) + : null != e.returnType && + e.hasOwnProperty('returnType') && + !a.isString(e.returnType) ? 'returnType: string expected' : null }), (e.fromObject = function(e) { if (e instanceof s.Field) return e var t = new s.Field() - return null != e.name && (t.name = String(e.name)), null != e.returnType && (t.returnType = String(e.returnType)), t + return ( + null != e.name && (t.name = String(e.name)), + null != e.returnType && (t.returnType = String(e.returnType)), + t + ) }), (e.toObject = function(e, t) { t || (t = {}) @@ -43569,7 +53055,9 @@ and limitations under the License. return ( t.defaults && ((n.name = ''), (n.returnType = '')), null != e.name && e.hasOwnProperty('name') && (n.name = e.name), - null != e.returnType && e.hasOwnProperty('returnType') && (n.returnType = e.returnType), + null != e.returnType && + e.hasOwnProperty('returnType') && + (n.returnType = e.returnType), n ) }), @@ -43582,7 +53070,8 @@ and limitations under the License. (s.Type = (function() { function e(e) { if (((this.field = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.name = ''), @@ -43593,10 +53082,13 @@ and limitations under the License. (e.encode = function(e, t) { if ( (t || (t = o.create()), - null != e.name && e.hasOwnProperty('name') && t.uint32(10).string(e.name), + null != e.name && + e.hasOwnProperty('name') && + t.uint32(10).string(e.name), null != e.field && e.field.length) ) - for (var n = 0; n < e.field.length; ++n) s.Field.encode(e.field[n], t.uint32(18).fork()).ldelim() + for (var n = 0; n < e.field.length; ++n) + s.Field.encode(e.field[n], t.uint32(18).fork()).ldelim() return t }), (e.encodeDelimited = function(e, t) { @@ -43604,14 +53096,19 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Type(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, r = new s.Type(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: r.name = e.string() break case 2: - ;(r.field && r.field.length) || (r.field = []), r.field.push(s.Field.decode(e, e.uint32())) + ;(r.field && r.field.length) || (r.field = []), + r.field.push(s.Field.decode(e, e.uint32())) break default: e.skipType(7 & l) @@ -43620,11 +53117,18 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.name && e.hasOwnProperty('name') && !a.isString(e.name)) return 'name: string expected' + if ( + null != e.name && + e.hasOwnProperty('name') && + !a.isString(e.name) + ) + return 'name: string expected' if (null != e.field && e.hasOwnProperty('field')) { if (!Array.isArray(e.field)) return 'field: array expected' for (var t = 0; t < e.field.length; ++t) { @@ -43638,10 +53142,12 @@ and limitations under the License. if (e instanceof s.Type) return e var t = new s.Type() if ((null != e.name && (t.name = String(e.name)), e.field)) { - if (!Array.isArray(e.field)) throw TypeError('.Type.field: array expected') + if (!Array.isArray(e.field)) + throw TypeError('.Type.field: array expected') t.field = [] for (var n = 0; n < e.field.length; ++n) { - if ('object' != typeof e.field[n]) throw TypeError('.Type.field: object expected') + if ('object' != typeof e.field[n]) + throw TypeError('.Type.field: object expected') t.field[n] = s.Field.fromObject(e.field[n]) } } @@ -43657,7 +53163,8 @@ and limitations under the License. e.field && e.field.length) ) { n.field = [] - for (var r = 0; r < e.field.length; ++r) n.field[r] = s.Field.toObject(e.field[r], t) + for (var r = 0; r < e.field.length; ++r) + n.field[r] = s.Field.toObject(e.field[r], t) } return n }), @@ -43669,20 +53176,38 @@ and limitations under the License. })()), (s.MemStats = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.totalBytes = a.Long ? a.Long.fromBits(0, 0, !0) : 0), (e.prototype.stackBytes = a.Long ? a.Long.fromBits(0, 0, !0) : 0), (e.prototype.heapBytes = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.heapReleasedBytes = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.gcOverheadBytes = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.stackUsedBytes = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.heapAllocatedBytes = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.heapAllocatedObjects = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.heapAllocatedBytesDelta = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.heapAllocatedObjectsDelta = a.Long ? a.Long.fromBits(0, 0, !0) : 0), - (e.prototype.heapFreedObjectsDelta = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.heapReleasedBytes = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), + (e.prototype.gcOverheadBytes = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), + (e.prototype.stackUsedBytes = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), + (e.prototype.heapAllocatedBytes = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), + (e.prototype.heapAllocatedObjects = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), + (e.prototype.heapAllocatedBytesDelta = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), + (e.prototype.heapAllocatedObjectsDelta = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), + (e.prototype.heapFreedObjectsDelta = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.prototype.gcStwNsDelta = a.Long ? a.Long.fromBits(0, 0, !0) : 0), (e.prototype.gcCountDelta = a.Long ? a.Long.fromBits(0, 0, !0) : 0), (e.create = function(t) { @@ -43691,11 +53216,21 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.totalBytes && e.hasOwnProperty('totalBytes') && t.uint32(8).uint64(e.totalBytes), - null != e.stackBytes && e.hasOwnProperty('stackBytes') && t.uint32(16).uint64(e.stackBytes), - null != e.heapBytes && e.hasOwnProperty('heapBytes') && t.uint32(24).uint64(e.heapBytes), - null != e.gcOverheadBytes && e.hasOwnProperty('gcOverheadBytes') && t.uint32(32).uint64(e.gcOverheadBytes), - null != e.stackUsedBytes && e.hasOwnProperty('stackUsedBytes') && t.uint32(40).uint64(e.stackUsedBytes), + null != e.totalBytes && + e.hasOwnProperty('totalBytes') && + t.uint32(8).uint64(e.totalBytes), + null != e.stackBytes && + e.hasOwnProperty('stackBytes') && + t.uint32(16).uint64(e.stackBytes), + null != e.heapBytes && + e.hasOwnProperty('heapBytes') && + t.uint32(24).uint64(e.heapBytes), + null != e.gcOverheadBytes && + e.hasOwnProperty('gcOverheadBytes') && + t.uint32(32).uint64(e.gcOverheadBytes), + null != e.stackUsedBytes && + e.hasOwnProperty('stackUsedBytes') && + t.uint32(40).uint64(e.stackUsedBytes), null != e.heapAllocatedBytes && e.hasOwnProperty('heapAllocatedBytes') && t.uint32(48).uint64(e.heapAllocatedBytes), @@ -43711,9 +53246,15 @@ and limitations under the License. null != e.heapFreedObjectsDelta && e.hasOwnProperty('heapFreedObjectsDelta') && t.uint32(80).uint64(e.heapFreedObjectsDelta), - null != e.gcStwNsDelta && e.hasOwnProperty('gcStwNsDelta') && t.uint32(88).uint64(e.gcStwNsDelta), - null != e.gcCountDelta && e.hasOwnProperty('gcCountDelta') && t.uint32(96).uint64(e.gcCountDelta), - null != e.heapReleasedBytes && e.hasOwnProperty('heapReleasedBytes') && t.uint32(104).uint64(e.heapReleasedBytes), + null != e.gcStwNsDelta && + e.hasOwnProperty('gcStwNsDelta') && + t.uint32(88).uint64(e.gcStwNsDelta), + null != e.gcCountDelta && + e.hasOwnProperty('gcCountDelta') && + t.uint32(96).uint64(e.gcCountDelta), + null != e.heapReleasedBytes && + e.hasOwnProperty('heapReleasedBytes') && + t.uint32(104).uint64(e.heapReleasedBytes), t ) }), @@ -43722,7 +53263,11 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.MemStats(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, r = new s.MemStats(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: @@ -43771,7 +53316,9 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { return 'object' != typeof e || null === e @@ -43780,46 +53327,63 @@ and limitations under the License. e.hasOwnProperty('totalBytes') && !( a.isInteger(e.totalBytes) || - (e.totalBytes && a.isInteger(e.totalBytes.low) && a.isInteger(e.totalBytes.high)) + (e.totalBytes && + a.isInteger(e.totalBytes.low) && + a.isInteger(e.totalBytes.high)) ) ? 'totalBytes: integer|Long expected' : null != e.stackBytes && e.hasOwnProperty('stackBytes') && !( a.isInteger(e.stackBytes) || - (e.stackBytes && a.isInteger(e.stackBytes.low) && a.isInteger(e.stackBytes.high)) + (e.stackBytes && + a.isInteger(e.stackBytes.low) && + a.isInteger(e.stackBytes.high)) ) ? 'stackBytes: integer|Long expected' : null != e.heapBytes && e.hasOwnProperty('heapBytes') && - !(a.isInteger(e.heapBytes) || (e.heapBytes && a.isInteger(e.heapBytes.low) && a.isInteger(e.heapBytes.high))) + !( + a.isInteger(e.heapBytes) || + (e.heapBytes && + a.isInteger(e.heapBytes.low) && + a.isInteger(e.heapBytes.high)) + ) ? 'heapBytes: integer|Long expected' : null != e.heapReleasedBytes && e.hasOwnProperty('heapReleasedBytes') && !( a.isInteger(e.heapReleasedBytes) || - (e.heapReleasedBytes && a.isInteger(e.heapReleasedBytes.low) && a.isInteger(e.heapReleasedBytes.high)) + (e.heapReleasedBytes && + a.isInteger(e.heapReleasedBytes.low) && + a.isInteger(e.heapReleasedBytes.high)) ) ? 'heapReleasedBytes: integer|Long expected' : null != e.gcOverheadBytes && e.hasOwnProperty('gcOverheadBytes') && !( a.isInteger(e.gcOverheadBytes) || - (e.gcOverheadBytes && a.isInteger(e.gcOverheadBytes.low) && a.isInteger(e.gcOverheadBytes.high)) + (e.gcOverheadBytes && + a.isInteger(e.gcOverheadBytes.low) && + a.isInteger(e.gcOverheadBytes.high)) ) ? 'gcOverheadBytes: integer|Long expected' : null != e.stackUsedBytes && e.hasOwnProperty('stackUsedBytes') && !( a.isInteger(e.stackUsedBytes) || - (e.stackUsedBytes && a.isInteger(e.stackUsedBytes.low) && a.isInteger(e.stackUsedBytes.high)) + (e.stackUsedBytes && + a.isInteger(e.stackUsedBytes.low) && + a.isInteger(e.stackUsedBytes.high)) ) ? 'stackUsedBytes: integer|Long expected' : null != e.heapAllocatedBytes && e.hasOwnProperty('heapAllocatedBytes') && !( a.isInteger(e.heapAllocatedBytes) || - (e.heapAllocatedBytes && a.isInteger(e.heapAllocatedBytes.low) && a.isInteger(e.heapAllocatedBytes.high)) + (e.heapAllocatedBytes && + a.isInteger(e.heapAllocatedBytes.low) && + a.isInteger(e.heapAllocatedBytes.high)) ) ? 'heapAllocatedBytes: integer|Long expected' : null != e.heapAllocatedObjects && @@ -43862,14 +53426,18 @@ and limitations under the License. e.hasOwnProperty('gcStwNsDelta') && !( a.isInteger(e.gcStwNsDelta) || - (e.gcStwNsDelta && a.isInteger(e.gcStwNsDelta.low) && a.isInteger(e.gcStwNsDelta.high)) + (e.gcStwNsDelta && + a.isInteger(e.gcStwNsDelta.low) && + a.isInteger(e.gcStwNsDelta.high)) ) ? 'gcStwNsDelta: integer|Long expected' : null != e.gcCountDelta && e.hasOwnProperty('gcCountDelta') && !( a.isInteger(e.gcCountDelta) || - (e.gcCountDelta && a.isInteger(e.gcCountDelta.low) && a.isInteger(e.gcCountDelta.high)) + (e.gcCountDelta && + a.isInteger(e.gcCountDelta.low) && + a.isInteger(e.gcCountDelta.high)) ) ? 'gcCountDelta: integer|Long expected' : null @@ -43880,34 +53448,51 @@ and limitations under the License. return ( null != e.totalBytes && (a.Long - ? ((t.totalBytes = a.Long.fromValue(e.totalBytes)).unsigned = !0) + ? ((t.totalBytes = a.Long.fromValue( + e.totalBytes, + )).unsigned = !0) : 'string' == typeof e.totalBytes ? (t.totalBytes = parseInt(e.totalBytes, 10)) : 'number' == typeof e.totalBytes ? (t.totalBytes = e.totalBytes) : 'object' == typeof e.totalBytes && - (t.totalBytes = new a.LongBits(e.totalBytes.low >>> 0, e.totalBytes.high >>> 0).toNumber(!0))), + (t.totalBytes = new a.LongBits( + e.totalBytes.low >>> 0, + e.totalBytes.high >>> 0, + ).toNumber(!0))), null != e.stackBytes && (a.Long - ? ((t.stackBytes = a.Long.fromValue(e.stackBytes)).unsigned = !0) + ? ((t.stackBytes = a.Long.fromValue( + e.stackBytes, + )).unsigned = !0) : 'string' == typeof e.stackBytes ? (t.stackBytes = parseInt(e.stackBytes, 10)) : 'number' == typeof e.stackBytes ? (t.stackBytes = e.stackBytes) : 'object' == typeof e.stackBytes && - (t.stackBytes = new a.LongBits(e.stackBytes.low >>> 0, e.stackBytes.high >>> 0).toNumber(!0))), + (t.stackBytes = new a.LongBits( + e.stackBytes.low >>> 0, + e.stackBytes.high >>> 0, + ).toNumber(!0))), null != e.heapBytes && (a.Long - ? ((t.heapBytes = a.Long.fromValue(e.heapBytes)).unsigned = !0) + ? ((t.heapBytes = a.Long.fromValue( + e.heapBytes, + )).unsigned = !0) : 'string' == typeof e.heapBytes ? (t.heapBytes = parseInt(e.heapBytes, 10)) : 'number' == typeof e.heapBytes ? (t.heapBytes = e.heapBytes) : 'object' == typeof e.heapBytes && - (t.heapBytes = new a.LongBits(e.heapBytes.low >>> 0, e.heapBytes.high >>> 0).toNumber(!0))), + (t.heapBytes = new a.LongBits( + e.heapBytes.low >>> 0, + e.heapBytes.high >>> 0, + ).toNumber(!0))), null != e.heapReleasedBytes && (a.Long - ? ((t.heapReleasedBytes = a.Long.fromValue(e.heapReleasedBytes)).unsigned = !0) + ? ((t.heapReleasedBytes = a.Long.fromValue( + e.heapReleasedBytes, + )).unsigned = !0) : 'string' == typeof e.heapReleasedBytes ? (t.heapReleasedBytes = parseInt(e.heapReleasedBytes, 10)) : 'number' == typeof e.heapReleasedBytes @@ -43919,29 +53504,42 @@ and limitations under the License. ).toNumber(!0))), null != e.gcOverheadBytes && (a.Long - ? ((t.gcOverheadBytes = a.Long.fromValue(e.gcOverheadBytes)).unsigned = !0) + ? ((t.gcOverheadBytes = a.Long.fromValue( + e.gcOverheadBytes, + )).unsigned = !0) : 'string' == typeof e.gcOverheadBytes ? (t.gcOverheadBytes = parseInt(e.gcOverheadBytes, 10)) : 'number' == typeof e.gcOverheadBytes ? (t.gcOverheadBytes = e.gcOverheadBytes) : 'object' == typeof e.gcOverheadBytes && - (t.gcOverheadBytes = new a.LongBits(e.gcOverheadBytes.low >>> 0, e.gcOverheadBytes.high >>> 0).toNumber( - !0, - ))), + (t.gcOverheadBytes = new a.LongBits( + e.gcOverheadBytes.low >>> 0, + e.gcOverheadBytes.high >>> 0, + ).toNumber(!0))), null != e.stackUsedBytes && (a.Long - ? ((t.stackUsedBytes = a.Long.fromValue(e.stackUsedBytes)).unsigned = !0) + ? ((t.stackUsedBytes = a.Long.fromValue( + e.stackUsedBytes, + )).unsigned = !0) : 'string' == typeof e.stackUsedBytes ? (t.stackUsedBytes = parseInt(e.stackUsedBytes, 10)) : 'number' == typeof e.stackUsedBytes ? (t.stackUsedBytes = e.stackUsedBytes) : 'object' == typeof e.stackUsedBytes && - (t.stackUsedBytes = new a.LongBits(e.stackUsedBytes.low >>> 0, e.stackUsedBytes.high >>> 0).toNumber(!0))), + (t.stackUsedBytes = new a.LongBits( + e.stackUsedBytes.low >>> 0, + e.stackUsedBytes.high >>> 0, + ).toNumber(!0))), null != e.heapAllocatedBytes && (a.Long - ? ((t.heapAllocatedBytes = a.Long.fromValue(e.heapAllocatedBytes)).unsigned = !0) + ? ((t.heapAllocatedBytes = a.Long.fromValue( + e.heapAllocatedBytes, + )).unsigned = !0) : 'string' == typeof e.heapAllocatedBytes - ? (t.heapAllocatedBytes = parseInt(e.heapAllocatedBytes, 10)) + ? (t.heapAllocatedBytes = parseInt( + e.heapAllocatedBytes, + 10, + )) : 'number' == typeof e.heapAllocatedBytes ? (t.heapAllocatedBytes = e.heapAllocatedBytes) : 'object' == typeof e.heapAllocatedBytes && @@ -43951,9 +53549,14 @@ and limitations under the License. ).toNumber(!0))), null != e.heapAllocatedObjects && (a.Long - ? ((t.heapAllocatedObjects = a.Long.fromValue(e.heapAllocatedObjects)).unsigned = !0) + ? ((t.heapAllocatedObjects = a.Long.fromValue( + e.heapAllocatedObjects, + )).unsigned = !0) : 'string' == typeof e.heapAllocatedObjects - ? (t.heapAllocatedObjects = parseInt(e.heapAllocatedObjects, 10)) + ? (t.heapAllocatedObjects = parseInt( + e.heapAllocatedObjects, + 10, + )) : 'number' == typeof e.heapAllocatedObjects ? (t.heapAllocatedObjects = e.heapAllocatedObjects) : 'object' == typeof e.heapAllocatedObjects && @@ -43963,9 +53566,14 @@ and limitations under the License. ).toNumber(!0))), null != e.heapAllocatedBytesDelta && (a.Long - ? ((t.heapAllocatedBytesDelta = a.Long.fromValue(e.heapAllocatedBytesDelta)).unsigned = !0) + ? ((t.heapAllocatedBytesDelta = a.Long.fromValue( + e.heapAllocatedBytesDelta, + )).unsigned = !0) : 'string' == typeof e.heapAllocatedBytesDelta - ? (t.heapAllocatedBytesDelta = parseInt(e.heapAllocatedBytesDelta, 10)) + ? (t.heapAllocatedBytesDelta = parseInt( + e.heapAllocatedBytesDelta, + 10, + )) : 'number' == typeof e.heapAllocatedBytesDelta ? (t.heapAllocatedBytesDelta = e.heapAllocatedBytesDelta) : 'object' == typeof e.heapAllocatedBytesDelta && @@ -43975,11 +53583,17 @@ and limitations under the License. ).toNumber(!0))), null != e.heapAllocatedObjectsDelta && (a.Long - ? ((t.heapAllocatedObjectsDelta = a.Long.fromValue(e.heapAllocatedObjectsDelta)).unsigned = !0) + ? ((t.heapAllocatedObjectsDelta = a.Long.fromValue( + e.heapAllocatedObjectsDelta, + )).unsigned = !0) : 'string' == typeof e.heapAllocatedObjectsDelta - ? (t.heapAllocatedObjectsDelta = parseInt(e.heapAllocatedObjectsDelta, 10)) + ? (t.heapAllocatedObjectsDelta = parseInt( + e.heapAllocatedObjectsDelta, + 10, + )) : 'number' == typeof e.heapAllocatedObjectsDelta - ? (t.heapAllocatedObjectsDelta = e.heapAllocatedObjectsDelta) + ? (t.heapAllocatedObjectsDelta = + e.heapAllocatedObjectsDelta) : 'object' == typeof e.heapAllocatedObjectsDelta && (t.heapAllocatedObjectsDelta = new a.LongBits( e.heapAllocatedObjectsDelta.low >>> 0, @@ -43987,9 +53601,14 @@ and limitations under the License. ).toNumber(!0))), null != e.heapFreedObjectsDelta && (a.Long - ? ((t.heapFreedObjectsDelta = a.Long.fromValue(e.heapFreedObjectsDelta)).unsigned = !0) + ? ((t.heapFreedObjectsDelta = a.Long.fromValue( + e.heapFreedObjectsDelta, + )).unsigned = !0) : 'string' == typeof e.heapFreedObjectsDelta - ? (t.heapFreedObjectsDelta = parseInt(e.heapFreedObjectsDelta, 10)) + ? (t.heapFreedObjectsDelta = parseInt( + e.heapFreedObjectsDelta, + 10, + )) : 'number' == typeof e.heapFreedObjectsDelta ? (t.heapFreedObjectsDelta = e.heapFreedObjectsDelta) : 'object' == typeof e.heapFreedObjectsDelta && @@ -43999,22 +53618,32 @@ and limitations under the License. ).toNumber(!0))), null != e.gcStwNsDelta && (a.Long - ? ((t.gcStwNsDelta = a.Long.fromValue(e.gcStwNsDelta)).unsigned = !0) + ? ((t.gcStwNsDelta = a.Long.fromValue( + e.gcStwNsDelta, + )).unsigned = !0) : 'string' == typeof e.gcStwNsDelta ? (t.gcStwNsDelta = parseInt(e.gcStwNsDelta, 10)) : 'number' == typeof e.gcStwNsDelta ? (t.gcStwNsDelta = e.gcStwNsDelta) : 'object' == typeof e.gcStwNsDelta && - (t.gcStwNsDelta = new a.LongBits(e.gcStwNsDelta.low >>> 0, e.gcStwNsDelta.high >>> 0).toNumber(!0))), + (t.gcStwNsDelta = new a.LongBits( + e.gcStwNsDelta.low >>> 0, + e.gcStwNsDelta.high >>> 0, + ).toNumber(!0))), null != e.gcCountDelta && (a.Long - ? ((t.gcCountDelta = a.Long.fromValue(e.gcCountDelta)).unsigned = !0) + ? ((t.gcCountDelta = a.Long.fromValue( + e.gcCountDelta, + )).unsigned = !0) : 'string' == typeof e.gcCountDelta ? (t.gcCountDelta = parseInt(e.gcCountDelta, 10)) : 'number' == typeof e.gcCountDelta ? (t.gcCountDelta = e.gcCountDelta) : 'object' == typeof e.gcCountDelta && - (t.gcCountDelta = new a.LongBits(e.gcCountDelta.low >>> 0, e.gcCountDelta.high >>> 0).toNumber(!0))), + (t.gcCountDelta = new a.LongBits( + e.gcCountDelta.low >>> 0, + e.gcCountDelta.high >>> 0, + ).toNumber(!0))), t ) }), @@ -44024,147 +53653,266 @@ and limitations under the License. if (t.defaults) { if (a.Long) { var r = new a.Long(0, 0, !0) - n.totalBytes = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.totalBytes = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.totalBytes = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.stackBytes = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.stackBytes = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.stackBytes = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.heapBytes = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.heapBytes = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.heapBytes = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.gcOverheadBytes = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.gcOverheadBytes = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.gcOverheadBytes = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.stackUsedBytes = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.stackUsedBytes = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.stackUsedBytes = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.heapAllocatedBytes = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.heapAllocatedBytes = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.heapAllocatedBytes = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.heapAllocatedObjects = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.heapAllocatedObjects = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.heapAllocatedObjects = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.heapAllocatedBytesDelta = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.heapAllocatedBytesDelta = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.heapAllocatedBytesDelta = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.heapAllocatedObjectsDelta = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r - } else n.heapAllocatedObjectsDelta = t.longs === String ? '0' : 0 + n.heapAllocatedObjectsDelta = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r + } else + n.heapAllocatedObjectsDelta = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.heapFreedObjectsDelta = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.heapFreedObjectsDelta = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.heapFreedObjectsDelta = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.gcStwNsDelta = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.gcStwNsDelta = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.gcStwNsDelta = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.gcCountDelta = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.gcCountDelta = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.gcCountDelta = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.heapReleasedBytes = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.heapReleasedBytes = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.heapReleasedBytes = t.longs === String ? '0' : 0 } return ( null != e.totalBytes && e.hasOwnProperty('totalBytes') && ('number' == typeof e.totalBytes - ? (n.totalBytes = t.longs === String ? String(e.totalBytes) : e.totalBytes) + ? (n.totalBytes = + t.longs === String + ? String(e.totalBytes) + : e.totalBytes) : (n.totalBytes = t.longs === String ? a.Long.prototype.toString.call(e.totalBytes) : t.longs === Number - ? new a.LongBits(e.totalBytes.low >>> 0, e.totalBytes.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.totalBytes.low >>> 0, + e.totalBytes.high >>> 0, + ).toNumber(!0) : e.totalBytes)), null != e.stackBytes && e.hasOwnProperty('stackBytes') && ('number' == typeof e.stackBytes - ? (n.stackBytes = t.longs === String ? String(e.stackBytes) : e.stackBytes) + ? (n.stackBytes = + t.longs === String + ? String(e.stackBytes) + : e.stackBytes) : (n.stackBytes = t.longs === String ? a.Long.prototype.toString.call(e.stackBytes) : t.longs === Number - ? new a.LongBits(e.stackBytes.low >>> 0, e.stackBytes.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.stackBytes.low >>> 0, + e.stackBytes.high >>> 0, + ).toNumber(!0) : e.stackBytes)), null != e.heapBytes && e.hasOwnProperty('heapBytes') && ('number' == typeof e.heapBytes - ? (n.heapBytes = t.longs === String ? String(e.heapBytes) : e.heapBytes) + ? (n.heapBytes = + t.longs === String ? String(e.heapBytes) : e.heapBytes) : (n.heapBytes = t.longs === String ? a.Long.prototype.toString.call(e.heapBytes) : t.longs === Number - ? new a.LongBits(e.heapBytes.low >>> 0, e.heapBytes.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.heapBytes.low >>> 0, + e.heapBytes.high >>> 0, + ).toNumber(!0) : e.heapBytes)), null != e.gcOverheadBytes && e.hasOwnProperty('gcOverheadBytes') && ('number' == typeof e.gcOverheadBytes - ? (n.gcOverheadBytes = t.longs === String ? String(e.gcOverheadBytes) : e.gcOverheadBytes) + ? (n.gcOverheadBytes = + t.longs === String + ? String(e.gcOverheadBytes) + : e.gcOverheadBytes) : (n.gcOverheadBytes = t.longs === String ? a.Long.prototype.toString.call(e.gcOverheadBytes) : t.longs === Number - ? new a.LongBits(e.gcOverheadBytes.low >>> 0, e.gcOverheadBytes.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.gcOverheadBytes.low >>> 0, + e.gcOverheadBytes.high >>> 0, + ).toNumber(!0) : e.gcOverheadBytes)), null != e.stackUsedBytes && e.hasOwnProperty('stackUsedBytes') && ('number' == typeof e.stackUsedBytes - ? (n.stackUsedBytes = t.longs === String ? String(e.stackUsedBytes) : e.stackUsedBytes) + ? (n.stackUsedBytes = + t.longs === String + ? String(e.stackUsedBytes) + : e.stackUsedBytes) : (n.stackUsedBytes = t.longs === String ? a.Long.prototype.toString.call(e.stackUsedBytes) : t.longs === Number - ? new a.LongBits(e.stackUsedBytes.low >>> 0, e.stackUsedBytes.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.stackUsedBytes.low >>> 0, + e.stackUsedBytes.high >>> 0, + ).toNumber(!0) : e.stackUsedBytes)), null != e.heapAllocatedBytes && e.hasOwnProperty('heapAllocatedBytes') && ('number' == typeof e.heapAllocatedBytes - ? (n.heapAllocatedBytes = t.longs === String ? String(e.heapAllocatedBytes) : e.heapAllocatedBytes) + ? (n.heapAllocatedBytes = + t.longs === String + ? String(e.heapAllocatedBytes) + : e.heapAllocatedBytes) : (n.heapAllocatedBytes = t.longs === String ? a.Long.prototype.toString.call(e.heapAllocatedBytes) : t.longs === Number - ? new a.LongBits(e.heapAllocatedBytes.low >>> 0, e.heapAllocatedBytes.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.heapAllocatedBytes.low >>> 0, + e.heapAllocatedBytes.high >>> 0, + ).toNumber(!0) : e.heapAllocatedBytes)), null != e.heapAllocatedObjects && e.hasOwnProperty('heapAllocatedObjects') && ('number' == typeof e.heapAllocatedObjects - ? (n.heapAllocatedObjects = t.longs === String ? String(e.heapAllocatedObjects) : e.heapAllocatedObjects) + ? (n.heapAllocatedObjects = + t.longs === String + ? String(e.heapAllocatedObjects) + : e.heapAllocatedObjects) : (n.heapAllocatedObjects = t.longs === String - ? a.Long.prototype.toString.call(e.heapAllocatedObjects) + ? a.Long.prototype.toString.call( + e.heapAllocatedObjects, + ) : t.longs === Number - ? new a.LongBits(e.heapAllocatedObjects.low >>> 0, e.heapAllocatedObjects.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.heapAllocatedObjects.low >>> 0, + e.heapAllocatedObjects.high >>> 0, + ).toNumber(!0) : e.heapAllocatedObjects)), null != e.heapAllocatedBytesDelta && e.hasOwnProperty('heapAllocatedBytesDelta') && ('number' == typeof e.heapAllocatedBytesDelta ? (n.heapAllocatedBytesDelta = - t.longs === String ? String(e.heapAllocatedBytesDelta) : e.heapAllocatedBytesDelta) + t.longs === String + ? String(e.heapAllocatedBytesDelta) + : e.heapAllocatedBytesDelta) : (n.heapAllocatedBytesDelta = t.longs === String - ? a.Long.prototype.toString.call(e.heapAllocatedBytesDelta) + ? a.Long.prototype.toString.call( + e.heapAllocatedBytesDelta, + ) : t.longs === Number - ? new a.LongBits(e.heapAllocatedBytesDelta.low >>> 0, e.heapAllocatedBytesDelta.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.heapAllocatedBytesDelta.low >>> 0, + e.heapAllocatedBytesDelta.high >>> 0, + ).toNumber(!0) : e.heapAllocatedBytesDelta)), null != e.heapAllocatedObjectsDelta && e.hasOwnProperty('heapAllocatedObjectsDelta') && ('number' == typeof e.heapAllocatedObjectsDelta ? (n.heapAllocatedObjectsDelta = - t.longs === String ? String(e.heapAllocatedObjectsDelta) : e.heapAllocatedObjectsDelta) + t.longs === String + ? String(e.heapAllocatedObjectsDelta) + : e.heapAllocatedObjectsDelta) : (n.heapAllocatedObjectsDelta = t.longs === String - ? a.Long.prototype.toString.call(e.heapAllocatedObjectsDelta) + ? a.Long.prototype.toString.call( + e.heapAllocatedObjectsDelta, + ) : t.longs === Number ? new a.LongBits( e.heapAllocatedObjectsDelta.low >>> 0, @@ -44174,42 +53922,68 @@ and limitations under the License. null != e.heapFreedObjectsDelta && e.hasOwnProperty('heapFreedObjectsDelta') && ('number' == typeof e.heapFreedObjectsDelta - ? (n.heapFreedObjectsDelta = t.longs === String ? String(e.heapFreedObjectsDelta) : e.heapFreedObjectsDelta) + ? (n.heapFreedObjectsDelta = + t.longs === String + ? String(e.heapFreedObjectsDelta) + : e.heapFreedObjectsDelta) : (n.heapFreedObjectsDelta = t.longs === String - ? a.Long.prototype.toString.call(e.heapFreedObjectsDelta) + ? a.Long.prototype.toString.call( + e.heapFreedObjectsDelta, + ) : t.longs === Number - ? new a.LongBits(e.heapFreedObjectsDelta.low >>> 0, e.heapFreedObjectsDelta.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.heapFreedObjectsDelta.low >>> 0, + e.heapFreedObjectsDelta.high >>> 0, + ).toNumber(!0) : e.heapFreedObjectsDelta)), null != e.gcStwNsDelta && e.hasOwnProperty('gcStwNsDelta') && ('number' == typeof e.gcStwNsDelta - ? (n.gcStwNsDelta = t.longs === String ? String(e.gcStwNsDelta) : e.gcStwNsDelta) + ? (n.gcStwNsDelta = + t.longs === String + ? String(e.gcStwNsDelta) + : e.gcStwNsDelta) : (n.gcStwNsDelta = t.longs === String ? a.Long.prototype.toString.call(e.gcStwNsDelta) : t.longs === Number - ? new a.LongBits(e.gcStwNsDelta.low >>> 0, e.gcStwNsDelta.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.gcStwNsDelta.low >>> 0, + e.gcStwNsDelta.high >>> 0, + ).toNumber(!0) : e.gcStwNsDelta)), null != e.gcCountDelta && e.hasOwnProperty('gcCountDelta') && ('number' == typeof e.gcCountDelta - ? (n.gcCountDelta = t.longs === String ? String(e.gcCountDelta) : e.gcCountDelta) + ? (n.gcCountDelta = + t.longs === String + ? String(e.gcCountDelta) + : e.gcCountDelta) : (n.gcCountDelta = t.longs === String ? a.Long.prototype.toString.call(e.gcCountDelta) : t.longs === Number - ? new a.LongBits(e.gcCountDelta.low >>> 0, e.gcCountDelta.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.gcCountDelta.low >>> 0, + e.gcCountDelta.high >>> 0, + ).toNumber(!0) : e.gcCountDelta)), null != e.heapReleasedBytes && e.hasOwnProperty('heapReleasedBytes') && ('number' == typeof e.heapReleasedBytes - ? (n.heapReleasedBytes = t.longs === String ? String(e.heapReleasedBytes) : e.heapReleasedBytes) + ? (n.heapReleasedBytes = + t.longs === String + ? String(e.heapReleasedBytes) + : e.heapReleasedBytes) : (n.heapReleasedBytes = t.longs === String ? a.Long.prototype.toString.call(e.heapReleasedBytes) : t.longs === Number - ? new a.LongBits(e.heapReleasedBytes.low >>> 0, e.heapReleasedBytes.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.heapReleasedBytes.low >>> 0, + e.heapReleasedBytes.high >>> 0, + ).toNumber(!0) : e.heapReleasedBytes)), n ) @@ -44222,7 +53996,9 @@ and limitations under the License. })()), (s.TimeStats = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.uptimeNs = a.Long ? a.Long.fromBits(0, 0, !0) : 0), @@ -44235,10 +54011,18 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.uptimeNs && e.hasOwnProperty('uptimeNs') && t.uint32(8).uint64(e.uptimeNs), - null != e.realNsDelta && e.hasOwnProperty('realNsDelta') && t.uint32(16).uint64(e.realNsDelta), - null != e.userNsDelta && e.hasOwnProperty('userNsDelta') && t.uint32(24).uint64(e.userNsDelta), - null != e.sysNsDelta && e.hasOwnProperty('sysNsDelta') && t.uint32(32).uint64(e.sysNsDelta), + null != e.uptimeNs && + e.hasOwnProperty('uptimeNs') && + t.uint32(8).uint64(e.uptimeNs), + null != e.realNsDelta && + e.hasOwnProperty('realNsDelta') && + t.uint32(16).uint64(e.realNsDelta), + null != e.userNsDelta && + e.hasOwnProperty('userNsDelta') && + t.uint32(24).uint64(e.userNsDelta), + null != e.sysNsDelta && + e.hasOwnProperty('sysNsDelta') && + t.uint32(32).uint64(e.sysNsDelta), t ) }), @@ -44247,7 +54031,11 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.TimeStats(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, r = new s.TimeStats(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: @@ -44269,34 +54057,47 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { return 'object' != typeof e || null === e ? 'object expected' : null != e.uptimeNs && e.hasOwnProperty('uptimeNs') && - !(a.isInteger(e.uptimeNs) || (e.uptimeNs && a.isInteger(e.uptimeNs.low) && a.isInteger(e.uptimeNs.high))) + !( + a.isInteger(e.uptimeNs) || + (e.uptimeNs && + a.isInteger(e.uptimeNs.low) && + a.isInteger(e.uptimeNs.high)) + ) ? 'uptimeNs: integer|Long expected' : null != e.realNsDelta && e.hasOwnProperty('realNsDelta') && !( a.isInteger(e.realNsDelta) || - (e.realNsDelta && a.isInteger(e.realNsDelta.low) && a.isInteger(e.realNsDelta.high)) + (e.realNsDelta && + a.isInteger(e.realNsDelta.low) && + a.isInteger(e.realNsDelta.high)) ) ? 'realNsDelta: integer|Long expected' : null != e.userNsDelta && e.hasOwnProperty('userNsDelta') && !( a.isInteger(e.userNsDelta) || - (e.userNsDelta && a.isInteger(e.userNsDelta.low) && a.isInteger(e.userNsDelta.high)) + (e.userNsDelta && + a.isInteger(e.userNsDelta.low) && + a.isInteger(e.userNsDelta.high)) ) ? 'userNsDelta: integer|Long expected' : null != e.sysNsDelta && e.hasOwnProperty('sysNsDelta') && !( a.isInteger(e.sysNsDelta) || - (e.sysNsDelta && a.isInteger(e.sysNsDelta.low) && a.isInteger(e.sysNsDelta.high)) + (e.sysNsDelta && + a.isInteger(e.sysNsDelta.low) && + a.isInteger(e.sysNsDelta.high)) ) ? 'sysNsDelta: integer|Long expected' : null @@ -44307,40 +54108,60 @@ and limitations under the License. return ( null != e.uptimeNs && (a.Long - ? ((t.uptimeNs = a.Long.fromValue(e.uptimeNs)).unsigned = !0) + ? ((t.uptimeNs = a.Long.fromValue( + e.uptimeNs, + )).unsigned = !0) : 'string' == typeof e.uptimeNs ? (t.uptimeNs = parseInt(e.uptimeNs, 10)) : 'number' == typeof e.uptimeNs ? (t.uptimeNs = e.uptimeNs) : 'object' == typeof e.uptimeNs && - (t.uptimeNs = new a.LongBits(e.uptimeNs.low >>> 0, e.uptimeNs.high >>> 0).toNumber(!0))), + (t.uptimeNs = new a.LongBits( + e.uptimeNs.low >>> 0, + e.uptimeNs.high >>> 0, + ).toNumber(!0))), null != e.realNsDelta && (a.Long - ? ((t.realNsDelta = a.Long.fromValue(e.realNsDelta)).unsigned = !0) + ? ((t.realNsDelta = a.Long.fromValue( + e.realNsDelta, + )).unsigned = !0) : 'string' == typeof e.realNsDelta ? (t.realNsDelta = parseInt(e.realNsDelta, 10)) : 'number' == typeof e.realNsDelta ? (t.realNsDelta = e.realNsDelta) : 'object' == typeof e.realNsDelta && - (t.realNsDelta = new a.LongBits(e.realNsDelta.low >>> 0, e.realNsDelta.high >>> 0).toNumber(!0))), + (t.realNsDelta = new a.LongBits( + e.realNsDelta.low >>> 0, + e.realNsDelta.high >>> 0, + ).toNumber(!0))), null != e.userNsDelta && (a.Long - ? ((t.userNsDelta = a.Long.fromValue(e.userNsDelta)).unsigned = !0) + ? ((t.userNsDelta = a.Long.fromValue( + e.userNsDelta, + )).unsigned = !0) : 'string' == typeof e.userNsDelta ? (t.userNsDelta = parseInt(e.userNsDelta, 10)) : 'number' == typeof e.userNsDelta ? (t.userNsDelta = e.userNsDelta) : 'object' == typeof e.userNsDelta && - (t.userNsDelta = new a.LongBits(e.userNsDelta.low >>> 0, e.userNsDelta.high >>> 0).toNumber(!0))), + (t.userNsDelta = new a.LongBits( + e.userNsDelta.low >>> 0, + e.userNsDelta.high >>> 0, + ).toNumber(!0))), null != e.sysNsDelta && (a.Long - ? ((t.sysNsDelta = a.Long.fromValue(e.sysNsDelta)).unsigned = !0) + ? ((t.sysNsDelta = a.Long.fromValue( + e.sysNsDelta, + )).unsigned = !0) : 'string' == typeof e.sysNsDelta ? (t.sysNsDelta = parseInt(e.sysNsDelta, 10)) : 'number' == typeof e.sysNsDelta ? (t.sysNsDelta = e.sysNsDelta) : 'object' == typeof e.sysNsDelta && - (t.sysNsDelta = new a.LongBits(e.sysNsDelta.low >>> 0, e.sysNsDelta.high >>> 0).toNumber(!0))), + (t.sysNsDelta = new a.LongBits( + e.sysNsDelta.low >>> 0, + e.sysNsDelta.high >>> 0, + ).toNumber(!0))), t ) }), @@ -44350,61 +54171,103 @@ and limitations under the License. if (t.defaults) { if (a.Long) { var r = new a.Long(0, 0, !0) - n.uptimeNs = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.uptimeNs = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.uptimeNs = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.realNsDelta = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.realNsDelta = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.realNsDelta = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.userNsDelta = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.userNsDelta = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.userNsDelta = t.longs === String ? '0' : 0 if (a.Long) { r = new a.Long(0, 0, !0) - n.sysNsDelta = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r + n.sysNsDelta = + t.longs === String + ? r.toString() + : t.longs === Number + ? r.toNumber() + : r } else n.sysNsDelta = t.longs === String ? '0' : 0 } return ( null != e.uptimeNs && e.hasOwnProperty('uptimeNs') && ('number' == typeof e.uptimeNs - ? (n.uptimeNs = t.longs === String ? String(e.uptimeNs) : e.uptimeNs) + ? (n.uptimeNs = + t.longs === String ? String(e.uptimeNs) : e.uptimeNs) : (n.uptimeNs = t.longs === String ? a.Long.prototype.toString.call(e.uptimeNs) : t.longs === Number - ? new a.LongBits(e.uptimeNs.low >>> 0, e.uptimeNs.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.uptimeNs.low >>> 0, + e.uptimeNs.high >>> 0, + ).toNumber(!0) : e.uptimeNs)), null != e.realNsDelta && e.hasOwnProperty('realNsDelta') && ('number' == typeof e.realNsDelta - ? (n.realNsDelta = t.longs === String ? String(e.realNsDelta) : e.realNsDelta) + ? (n.realNsDelta = + t.longs === String + ? String(e.realNsDelta) + : e.realNsDelta) : (n.realNsDelta = t.longs === String ? a.Long.prototype.toString.call(e.realNsDelta) : t.longs === Number - ? new a.LongBits(e.realNsDelta.low >>> 0, e.realNsDelta.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.realNsDelta.low >>> 0, + e.realNsDelta.high >>> 0, + ).toNumber(!0) : e.realNsDelta)), null != e.userNsDelta && e.hasOwnProperty('userNsDelta') && ('number' == typeof e.userNsDelta - ? (n.userNsDelta = t.longs === String ? String(e.userNsDelta) : e.userNsDelta) + ? (n.userNsDelta = + t.longs === String + ? String(e.userNsDelta) + : e.userNsDelta) : (n.userNsDelta = t.longs === String ? a.Long.prototype.toString.call(e.userNsDelta) : t.longs === Number - ? new a.LongBits(e.userNsDelta.low >>> 0, e.userNsDelta.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.userNsDelta.low >>> 0, + e.userNsDelta.high >>> 0, + ).toNumber(!0) : e.userNsDelta)), null != e.sysNsDelta && e.hasOwnProperty('sysNsDelta') && ('number' == typeof e.sysNsDelta - ? (n.sysNsDelta = t.longs === String ? String(e.sysNsDelta) : e.sysNsDelta) + ? (n.sysNsDelta = + t.longs === String + ? String(e.sysNsDelta) + : e.sysNsDelta) : (n.sysNsDelta = t.longs === String ? a.Long.prototype.toString.call(e.sysNsDelta) : t.longs === Number - ? new a.LongBits(e.sysNsDelta.low >>> 0, e.sysNsDelta.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.sysNsDelta.low >>> 0, + e.sysNsDelta.high >>> 0, + ).toNumber(!0) : e.sysNsDelta)), n ) @@ -44417,8 +54280,14 @@ and limitations under the License. })()), (s.StatsReport = (function() { function e(e) { - if (((this.perQuery = {}), (this.legacyPerQueryImplicitOperationName = {}), (this.type = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if ( + ((this.perQuery = {}), + (this.legacyPerQueryImplicitOperationName = {}), + (this.type = []), + e) + ) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.header = null), @@ -44426,7 +54295,9 @@ and limitations under the License. (e.prototype.timeStats = null), (e.prototype.startTime = null), (e.prototype.endTime = null), - (e.prototype.realtimeDuration = a.Long ? a.Long.fromBits(0, 0, !0) : 0), + (e.prototype.realtimeDuration = a.Long + ? a.Long.fromBits(0, 0, !0) + : 0), (e.prototype.perQuery = a.emptyObject), (e.prototype.legacyPerQueryImplicitOperationName = a.emptyObject), (e.prototype.type = a.emptyArray), @@ -44436,31 +54307,53 @@ and limitations under the License. (e.encode = function(e, t) { if ( (t || (t = o.create()), - null != e.header && e.hasOwnProperty('header') && s.ReportHeader.encode(e.header, t.uint32(10).fork()).ldelim(), - null != e.memStats && e.hasOwnProperty('memStats') && s.MemStats.encode(e.memStats, t.uint32(18).fork()).ldelim(), + null != e.header && + e.hasOwnProperty('header') && + s.ReportHeader.encode(e.header, t.uint32(10).fork()).ldelim(), + null != e.memStats && + e.hasOwnProperty('memStats') && + s.MemStats.encode(e.memStats, t.uint32(18).fork()).ldelim(), null != e.timeStats && e.hasOwnProperty('timeStats') && s.TimeStats.encode(e.timeStats, t.uint32(26).fork()).ldelim(), null != e.startTime && e.hasOwnProperty('startTime') && - s.google.protobuf.Timestamp.encode(e.startTime, t.uint32(66).fork()).ldelim(), + s.google.protobuf.Timestamp.encode( + e.startTime, + t.uint32(66).fork(), + ).ldelim(), null != e.endTime && e.hasOwnProperty('endTime') && - s.google.protobuf.Timestamp.encode(e.endTime, t.uint32(74).fork()).ldelim(), - null != e.realtimeDuration && e.hasOwnProperty('realtimeDuration') && t.uint32(80).uint64(e.realtimeDuration), - null != e.legacyPerQueryImplicitOperationName && e.hasOwnProperty('legacyPerQueryImplicitOperationName')) + s.google.protobuf.Timestamp.encode( + e.endTime, + t.uint32(74).fork(), + ).ldelim(), + null != e.realtimeDuration && + e.hasOwnProperty('realtimeDuration') && + t.uint32(80).uint64(e.realtimeDuration), + null != e.legacyPerQueryImplicitOperationName && + e.hasOwnProperty('legacyPerQueryImplicitOperationName')) ) - for (var n = Object.keys(e.legacyPerQueryImplicitOperationName), r = 0; r < n.length; ++r) + for ( + var n = Object.keys(e.legacyPerQueryImplicitOperationName), + r = 0; + r < n.length; + ++r + ) t .uint32(98) .fork() .uint32(10) .string(n[r]), - s.QueryStats.encode(e.legacyPerQueryImplicitOperationName[n[r]], t.uint32(18).fork()) + s.QueryStats.encode( + e.legacyPerQueryImplicitOperationName[n[r]], + t.uint32(18).fork(), + ) .ldelim() .ldelim() if (null != e.type && e.type.length) - for (r = 0; r < e.type.length; ++r) s.Type.encode(e.type[r], t.uint32(106).fork()).ldelim() + for (r = 0; r < e.type.length; ++r) + s.Type.encode(e.type[r], t.uint32(106).fork()).ldelim() if (null != e.perQuery && e.hasOwnProperty('perQuery')) for (n = Object.keys(e.perQuery), r = 0; r < n.length; ++r) t @@ -44478,7 +54371,13 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n, r = void 0 === t ? e.len : e.pos + t, l = new s.StatsReport(); e.pos < r; ) { + for ( + var n, + r = void 0 === t ? e.len : e.pos + t, + l = new s.StatsReport(); + e.pos < r; + + ) { var u = e.uint32() switch (u >>> 3) { case 1: @@ -44491,10 +54390,16 @@ and limitations under the License. l.timeStats = s.TimeStats.decode(e, e.uint32()) break case 8: - l.startTime = s.google.protobuf.Timestamp.decode(e, e.uint32()) + l.startTime = s.google.protobuf.Timestamp.decode( + e, + e.uint32(), + ) break case 9: - l.endTime = s.google.protobuf.Timestamp.decode(e, e.uint32()) + l.endTime = s.google.protobuf.Timestamp.decode( + e, + e.uint32(), + ) break case 10: l.realtimeDuration = e.uint64() @@ -44508,13 +54413,17 @@ and limitations under the License. break case 12: e.skip().pos++, - l.legacyPerQueryImplicitOperationName === a.emptyObject && (l.legacyPerQueryImplicitOperationName = {}), + l.legacyPerQueryImplicitOperationName === a.emptyObject && + (l.legacyPerQueryImplicitOperationName = {}), (n = e.string()), e.pos++, - (l.legacyPerQueryImplicitOperationName[n] = s.QueryStats.decode(e, e.uint32())) + (l.legacyPerQueryImplicitOperationName[ + n + ] = s.QueryStats.decode(e, e.uint32())) break case 13: - ;(l.type && l.type.length) || (l.type = []), l.type.push(s.Type.decode(e, e.uint32())) + ;(l.type && l.type.length) || (l.type = []), + l.type.push(s.Type.decode(e, e.uint32())) break default: e.skipType(7 & u) @@ -44523,39 +54432,80 @@ and limitations under the License. return l }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.header && e.hasOwnProperty('header') && (r = s.ReportHeader.verify(e.header))) return 'header.' + r - if (null != e.memStats && e.hasOwnProperty('memStats') && (r = s.MemStats.verify(e.memStats))) + if ( + null != e.header && + e.hasOwnProperty('header') && + (r = s.ReportHeader.verify(e.header)) + ) + return 'header.' + r + if ( + null != e.memStats && + e.hasOwnProperty('memStats') && + (r = s.MemStats.verify(e.memStats)) + ) return 'memStats.' + r - if (null != e.timeStats && e.hasOwnProperty('timeStats') && (r = s.TimeStats.verify(e.timeStats))) + if ( + null != e.timeStats && + e.hasOwnProperty('timeStats') && + (r = s.TimeStats.verify(e.timeStats)) + ) return 'timeStats.' + r - if (null != e.startTime && e.hasOwnProperty('startTime') && (r = s.google.protobuf.Timestamp.verify(e.startTime))) + if ( + null != e.startTime && + e.hasOwnProperty('startTime') && + (r = s.google.protobuf.Timestamp.verify(e.startTime)) + ) return 'startTime.' + r - if (null != e.endTime && e.hasOwnProperty('endTime') && (r = s.google.protobuf.Timestamp.verify(e.endTime))) + if ( + null != e.endTime && + e.hasOwnProperty('endTime') && + (r = s.google.protobuf.Timestamp.verify(e.endTime)) + ) return 'endTime.' + r if ( null != e.realtimeDuration && e.hasOwnProperty('realtimeDuration') && !( a.isInteger(e.realtimeDuration) || - (e.realtimeDuration && a.isInteger(e.realtimeDuration.low) && a.isInteger(e.realtimeDuration.high)) + (e.realtimeDuration && + a.isInteger(e.realtimeDuration.low) && + a.isInteger(e.realtimeDuration.high)) ) ) return 'realtimeDuration: integer|Long expected' if (null != e.perQuery && e.hasOwnProperty('perQuery')) { if (!a.isObject(e.perQuery)) return 'perQuery: object expected' - for (var t = Object.keys(e.perQuery), n = 0; n < t.length; ++n) { - if ((r = s.QueryStats.verify(e.perQuery[t[n]]))) return 'perQuery.' + r + for ( + var t = Object.keys(e.perQuery), n = 0; + n < t.length; + ++n + ) { + if ((r = s.QueryStats.verify(e.perQuery[t[n]]))) + return 'perQuery.' + r } } - if (null != e.legacyPerQueryImplicitOperationName && e.hasOwnProperty('legacyPerQueryImplicitOperationName')) { + if ( + null != e.legacyPerQueryImplicitOperationName && + e.hasOwnProperty('legacyPerQueryImplicitOperationName') + ) { if (!a.isObject(e.legacyPerQueryImplicitOperationName)) return 'legacyPerQueryImplicitOperationName: object expected' - for (t = Object.keys(e.legacyPerQueryImplicitOperationName), n = 0; n < t.length; ++n) { - if ((r = s.QueryStats.verify(e.legacyPerQueryImplicitOperationName[t[n]]))) + for ( + t = Object.keys(e.legacyPerQueryImplicitOperationName), n = 0; + n < t.length; + ++n + ) { + if ( + (r = s.QueryStats.verify( + e.legacyPerQueryImplicitOperationName[t[n]], + )) + ) return 'legacyPerQueryImplicitOperationName.' + r } } @@ -44572,63 +54522,94 @@ and limitations under the License. if (e instanceof s.StatsReport) return e var t = new s.StatsReport() if (null != e.header) { - if ('object' != typeof e.header) throw TypeError('.StatsReport.header: object expected') + if ('object' != typeof e.header) + throw TypeError('.StatsReport.header: object expected') t.header = s.ReportHeader.fromObject(e.header) } if (null != e.memStats) { - if ('object' != typeof e.memStats) throw TypeError('.StatsReport.memStats: object expected') + if ('object' != typeof e.memStats) + throw TypeError('.StatsReport.memStats: object expected') t.memStats = s.MemStats.fromObject(e.memStats) } if (null != e.timeStats) { - if ('object' != typeof e.timeStats) throw TypeError('.StatsReport.timeStats: object expected') + if ('object' != typeof e.timeStats) + throw TypeError('.StatsReport.timeStats: object expected') t.timeStats = s.TimeStats.fromObject(e.timeStats) } if (null != e.startTime) { - if ('object' != typeof e.startTime) throw TypeError('.StatsReport.startTime: object expected') - t.startTime = s.google.protobuf.Timestamp.fromObject(e.startTime) + if ('object' != typeof e.startTime) + throw TypeError('.StatsReport.startTime: object expected') + t.startTime = s.google.protobuf.Timestamp.fromObject( + e.startTime, + ) } if (null != e.endTime) { - if ('object' != typeof e.endTime) throw TypeError('.StatsReport.endTime: object expected') + if ('object' != typeof e.endTime) + throw TypeError('.StatsReport.endTime: object expected') t.endTime = s.google.protobuf.Timestamp.fromObject(e.endTime) } if ( (null != e.realtimeDuration && (a.Long - ? ((t.realtimeDuration = a.Long.fromValue(e.realtimeDuration)).unsigned = !0) + ? ((t.realtimeDuration = a.Long.fromValue( + e.realtimeDuration, + )).unsigned = !0) : 'string' == typeof e.realtimeDuration ? (t.realtimeDuration = parseInt(e.realtimeDuration, 10)) : 'number' == typeof e.realtimeDuration ? (t.realtimeDuration = e.realtimeDuration) : 'object' == typeof e.realtimeDuration && - (t.realtimeDuration = new a.LongBits(e.realtimeDuration.low >>> 0, e.realtimeDuration.high >>> 0).toNumber( - !0, - ))), + (t.realtimeDuration = new a.LongBits( + e.realtimeDuration.low >>> 0, + e.realtimeDuration.high >>> 0, + ).toNumber(!0))), e.perQuery) ) { - if ('object' != typeof e.perQuery) throw TypeError('.StatsReport.perQuery: object expected') + if ('object' != typeof e.perQuery) + throw TypeError('.StatsReport.perQuery: object expected') t.perQuery = {} - for (var n = Object.keys(e.perQuery), r = 0; r < n.length; ++r) { - if ('object' != typeof e.perQuery[n[r]]) throw TypeError('.StatsReport.perQuery: object expected') + for ( + var n = Object.keys(e.perQuery), r = 0; + r < n.length; + ++r + ) { + if ('object' != typeof e.perQuery[n[r]]) + throw TypeError('.StatsReport.perQuery: object expected') t.perQuery[n[r]] = s.QueryStats.fromObject(e.perQuery[n[r]]) } } if (e.legacyPerQueryImplicitOperationName) { if ('object' != typeof e.legacyPerQueryImplicitOperationName) - throw TypeError('.StatsReport.legacyPerQueryImplicitOperationName: object expected') + throw TypeError( + '.StatsReport.legacyPerQueryImplicitOperationName: object expected', + ) t.legacyPerQueryImplicitOperationName = {} - for (n = Object.keys(e.legacyPerQueryImplicitOperationName), r = 0; r < n.length; ++r) { - if ('object' != typeof e.legacyPerQueryImplicitOperationName[n[r]]) - throw TypeError('.StatsReport.legacyPerQueryImplicitOperationName: object expected') - t.legacyPerQueryImplicitOperationName[n[r]] = s.QueryStats.fromObject( + for ( + n = Object.keys(e.legacyPerQueryImplicitOperationName), r = 0; + r < n.length; + ++r + ) { + if ( + 'object' != + typeof e.legacyPerQueryImplicitOperationName[n[r]] + ) + throw TypeError( + '.StatsReport.legacyPerQueryImplicitOperationName: object expected', + ) + t.legacyPerQueryImplicitOperationName[ + n[r] + ] = s.QueryStats.fromObject( e.legacyPerQueryImplicitOperationName[n[r]], ) } } if (e.type) { - if (!Array.isArray(e.type)) throw TypeError('.StatsReport.type: array expected') + if (!Array.isArray(e.type)) + throw TypeError('.StatsReport.type: array expected') t.type = [] for (r = 0; r < e.type.length; ++r) { - if ('object' != typeof e.type[r]) throw TypeError('.StatsReport.type: object expected') + if ('object' != typeof e.type[r]) + throw TypeError('.StatsReport.type: object expected') t.type[r] = s.Type.fromObject(e.type[r]) } } @@ -44640,51 +54621,87 @@ and limitations under the License. r = {} if ( ((t.arrays || t.defaults) && (r.type = []), - (t.objects || t.defaults) && ((r.legacyPerQueryImplicitOperationName = {}), (r.perQuery = {})), + (t.objects || t.defaults) && + ((r.legacyPerQueryImplicitOperationName = {}), + (r.perQuery = {})), t.defaults) ) if ( - ((r.header = null), (r.memStats = null), (r.timeStats = null), (r.startTime = null), (r.endTime = null), a.Long) + ((r.header = null), + (r.memStats = null), + (r.timeStats = null), + (r.startTime = null), + (r.endTime = null), + a.Long) ) { var l = new a.Long(0, 0, !0) - r.realtimeDuration = t.longs === String ? l.toString() : t.longs === Number ? l.toNumber() : l + r.realtimeDuration = + t.longs === String + ? l.toString() + : t.longs === Number + ? l.toNumber() + : l } else r.realtimeDuration = t.longs === String ? '0' : 0 if ( - (null != e.header && e.hasOwnProperty('header') && (r.header = s.ReportHeader.toObject(e.header, t)), - null != e.memStats && e.hasOwnProperty('memStats') && (r.memStats = s.MemStats.toObject(e.memStats, t)), - null != e.timeStats && e.hasOwnProperty('timeStats') && (r.timeStats = s.TimeStats.toObject(e.timeStats, t)), + (null != e.header && + e.hasOwnProperty('header') && + (r.header = s.ReportHeader.toObject(e.header, t)), + null != e.memStats && + e.hasOwnProperty('memStats') && + (r.memStats = s.MemStats.toObject(e.memStats, t)), + null != e.timeStats && + e.hasOwnProperty('timeStats') && + (r.timeStats = s.TimeStats.toObject(e.timeStats, t)), null != e.startTime && e.hasOwnProperty('startTime') && - (r.startTime = s.google.protobuf.Timestamp.toObject(e.startTime, t)), + (r.startTime = s.google.protobuf.Timestamp.toObject( + e.startTime, + t, + )), null != e.endTime && e.hasOwnProperty('endTime') && - (r.endTime = s.google.protobuf.Timestamp.toObject(e.endTime, t)), + (r.endTime = s.google.protobuf.Timestamp.toObject( + e.endTime, + t, + )), null != e.realtimeDuration && e.hasOwnProperty('realtimeDuration') && ('number' == typeof e.realtimeDuration - ? (r.realtimeDuration = t.longs === String ? String(e.realtimeDuration) : e.realtimeDuration) + ? (r.realtimeDuration = + t.longs === String + ? String(e.realtimeDuration) + : e.realtimeDuration) : (r.realtimeDuration = t.longs === String ? a.Long.prototype.toString.call(e.realtimeDuration) : t.longs === Number - ? new a.LongBits(e.realtimeDuration.low >>> 0, e.realtimeDuration.high >>> 0).toNumber(!0) + ? new a.LongBits( + e.realtimeDuration.low >>> 0, + e.realtimeDuration.high >>> 0, + ).toNumber(!0) : e.realtimeDuration)), - e.legacyPerQueryImplicitOperationName && (n = Object.keys(e.legacyPerQueryImplicitOperationName)).length) + e.legacyPerQueryImplicitOperationName && + (n = Object.keys(e.legacyPerQueryImplicitOperationName)) + .length) ) { r.legacyPerQueryImplicitOperationName = {} for (var u = 0; u < n.length; ++u) - r.legacyPerQueryImplicitOperationName[n[u]] = s.QueryStats.toObject( + r.legacyPerQueryImplicitOperationName[ + n[u] + ] = s.QueryStats.toObject( e.legacyPerQueryImplicitOperationName[n[u]], t, ) } if (e.type && e.type.length) { r.type = [] - for (u = 0; u < e.type.length; ++u) r.type[u] = s.Type.toObject(e.type[u], t) + for (u = 0; u < e.type.length; ++u) + r.type[u] = s.Type.toObject(e.type[u], t) } if (e.perQuery && (n = Object.keys(e.perQuery)).length) { r.perQuery = {} - for (u = 0; u < n.length; ++u) r.perQuery[n[u]] = s.QueryStats.toObject(e.perQuery[n[u]], t) + for (u = 0; u < n.length; ++u) + r.perQuery[n[u]] = s.QueryStats.toObject(e.perQuery[n[u]], t) } return r }), @@ -44697,7 +54714,8 @@ and limitations under the License. (s.FullTracesReport = (function() { function e(e) { if (((this.tracesPerQuery = {}), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.header = null), @@ -44708,10 +54726,16 @@ and limitations under the License. (e.encode = function(e, t) { if ( (t || (t = o.create()), - null != e.header && e.hasOwnProperty('header') && s.ReportHeader.encode(e.header, t.uint32(10).fork()).ldelim(), + null != e.header && + e.hasOwnProperty('header') && + s.ReportHeader.encode(e.header, t.uint32(10).fork()).ldelim(), null != e.tracesPerQuery && e.hasOwnProperty('tracesPerQuery')) ) - for (var n = Object.keys(e.tracesPerQuery), r = 0; r < n.length; ++r) + for ( + var n = Object.keys(e.tracesPerQuery), r = 0; + r < n.length; + ++r + ) t .uint32(42) .fork() @@ -44727,7 +54751,13 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n, r = void 0 === t ? e.len : e.pos + t, l = new s.FullTracesReport(); e.pos < r; ) { + for ( + var n, + r = void 0 === t ? e.len : e.pos + t, + l = new s.FullTracesReport(); + e.pos < r; + + ) { var u = e.uint32() switch (u >>> 3) { case 1: @@ -44735,7 +54765,8 @@ and limitations under the License. break case 5: e.skip().pos++, - l.tracesPerQuery === a.emptyObject && (l.tracesPerQuery = {}), + l.tracesPerQuery === a.emptyObject && + (l.tracesPerQuery = {}), (n = e.string()), e.pos++, (l.tracesPerQuery[n] = s.Traces.decode(e, e.uint32())) @@ -44747,16 +54778,32 @@ and limitations under the License. return l }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' - if (null != e.header && e.hasOwnProperty('header') && (r = s.ReportHeader.verify(e.header))) return 'header.' + r - if (null != e.tracesPerQuery && e.hasOwnProperty('tracesPerQuery')) { - if (!a.isObject(e.tracesPerQuery)) return 'tracesPerQuery: object expected' - for (var t = Object.keys(e.tracesPerQuery), n = 0; n < t.length; ++n) { + if ( + null != e.header && + e.hasOwnProperty('header') && + (r = s.ReportHeader.verify(e.header)) + ) + return 'header.' + r + if ( + null != e.tracesPerQuery && + e.hasOwnProperty('tracesPerQuery') + ) { + if (!a.isObject(e.tracesPerQuery)) + return 'tracesPerQuery: object expected' + for ( + var t = Object.keys(e.tracesPerQuery), n = 0; + n < t.length; + ++n + ) { var r - if ((r = s.Traces.verify(e.tracesPerQuery[t[n]]))) return 'tracesPerQuery.' + r + if ((r = s.Traces.verify(e.tracesPerQuery[t[n]]))) + return 'tracesPerQuery.' + r } } return null @@ -44765,16 +54812,28 @@ and limitations under the License. if (e instanceof s.FullTracesReport) return e var t = new s.FullTracesReport() if (null != e.header) { - if ('object' != typeof e.header) throw TypeError('.FullTracesReport.header: object expected') + if ('object' != typeof e.header) + throw TypeError('.FullTracesReport.header: object expected') t.header = s.ReportHeader.fromObject(e.header) } if (e.tracesPerQuery) { - if ('object' != typeof e.tracesPerQuery) throw TypeError('.FullTracesReport.tracesPerQuery: object expected') + if ('object' != typeof e.tracesPerQuery) + throw TypeError( + '.FullTracesReport.tracesPerQuery: object expected', + ) t.tracesPerQuery = {} - for (var n = Object.keys(e.tracesPerQuery), r = 0; r < n.length; ++r) { + for ( + var n = Object.keys(e.tracesPerQuery), r = 0; + r < n.length; + ++r + ) { if ('object' != typeof e.tracesPerQuery[n[r]]) - throw TypeError('.FullTracesReport.tracesPerQuery: object expected') - t.tracesPerQuery[n[r]] = s.Traces.fromObject(e.tracesPerQuery[n[r]]) + throw TypeError( + '.FullTracesReport.tracesPerQuery: object expected', + ) + t.tracesPerQuery[n[r]] = s.Traces.fromObject( + e.tracesPerQuery[n[r]], + ) } } return t @@ -44786,11 +54845,17 @@ and limitations under the License. if ( ((t.objects || t.defaults) && (r.tracesPerQuery = {}), t.defaults && (r.header = null), - null != e.header && e.hasOwnProperty('header') && (r.header = s.ReportHeader.toObject(e.header, t)), + null != e.header && + e.hasOwnProperty('header') && + (r.header = s.ReportHeader.toObject(e.header, t)), e.tracesPerQuery && (n = Object.keys(e.tracesPerQuery)).length) ) { r.tracesPerQuery = {} - for (var l = 0; l < n.length; ++l) r.tracesPerQuery[n[l]] = s.Traces.toObject(e.tracesPerQuery[n[l]], t) + for (var l = 0; l < n.length; ++l) + r.tracesPerQuery[n[l]] = s.Traces.toObject( + e.tracesPerQuery[n[l]], + t, + ) } return r }), @@ -44803,7 +54868,8 @@ and limitations under the License. (s.Traces = (function() { function e(e) { if (((this.trace = []), e)) - for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.trace = a.emptyArray), @@ -44812,7 +54878,8 @@ and limitations under the License. }), (e.encode = function(e, t) { if ((t || (t = o.create()), null != e.trace && e.trace.length)) - for (var n = 0; n < e.trace.length; ++n) s.Trace.encode(e.trace[n], t.uint32(10).fork()).ldelim() + for (var n = 0; n < e.trace.length; ++n) + s.Trace.encode(e.trace[n], t.uint32(10).fork()).ldelim() return t }), (e.encodeDelimited = function(e, t) { @@ -44820,11 +54887,16 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.Traces(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, r = new s.Traces(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: - ;(r.trace && r.trace.length) || (r.trace = []), r.trace.push(s.Trace.decode(e, e.uint32())) + ;(r.trace && r.trace.length) || (r.trace = []), + r.trace.push(s.Trace.decode(e, e.uint32())) break default: e.skipType(7 & l) @@ -44833,7 +54905,9 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' @@ -44850,10 +54924,12 @@ and limitations under the License. if (e instanceof s.Traces) return e var t = new s.Traces() if (e.trace) { - if (!Array.isArray(e.trace)) throw TypeError('.Traces.trace: array expected') + if (!Array.isArray(e.trace)) + throw TypeError('.Traces.trace: array expected') t.trace = [] for (var n = 0; n < e.trace.length; ++n) { - if ('object' != typeof e.trace[n]) throw TypeError('.Traces.trace: object expected') + if ('object' != typeof e.trace[n]) + throw TypeError('.Traces.trace: object expected') t.trace[n] = s.Trace.fromObject(e.trace[n]) } } @@ -44862,9 +54938,13 @@ and limitations under the License. (e.toObject = function(e, t) { t || (t = {}) var n = {} - if (((t.arrays || t.defaults) && (n.trace = []), e.trace && e.trace.length)) { + if ( + ((t.arrays || t.defaults) && (n.trace = []), + e.trace && e.trace.length) + ) { n.trace = [] - for (var r = 0; r < e.trace.length; ++r) n.trace[r] = s.Trace.toObject(e.trace[r], t) + for (var r = 0; r < e.trace.length; ++r) + n.trace[r] = s.Trace.toObject(e.trace[r], t) } return n }), @@ -44876,7 +54956,9 @@ and limitations under the License. })()), (s.TraceV1 = (function() { function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( (e.prototype.header = null), @@ -44887,8 +54969,12 @@ and limitations under the License. (e.encode = function(e, t) { return ( t || (t = o.create()), - null != e.header && e.hasOwnProperty('header') && s.ReportHeader.encode(e.header, t.uint32(10).fork()).ldelim(), - null != e.trace && e.hasOwnProperty('trace') && s.Trace.encode(e.trace, t.uint32(18).fork()).ldelim(), + null != e.header && + e.hasOwnProperty('header') && + s.ReportHeader.encode(e.header, t.uint32(10).fork()).ldelim(), + null != e.trace && + e.hasOwnProperty('trace') && + s.Trace.encode(e.trace, t.uint32(18).fork()).ldelim(), t ) }), @@ -44897,7 +54983,11 @@ and limitations under the License. }), (e.decode = function(e, t) { e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.TraceV1(); e.pos < n; ) { + for ( + var n = void 0 === t ? e.len : e.pos + t, r = new s.TraceV1(); + e.pos < n; + + ) { var l = e.uint32() switch (l >>> 3) { case 1: @@ -44913,24 +55003,38 @@ and limitations under the License. return r }), (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) }), (e.verify = function(e) { if ('object' != typeof e || null === e) return 'object expected' var t - if (null != e.header && e.hasOwnProperty('header') && (t = s.ReportHeader.verify(e.header))) return 'header.' + t - if (null != e.trace && e.hasOwnProperty('trace') && (t = s.Trace.verify(e.trace))) return 'trace.' + t + if ( + null != e.header && + e.hasOwnProperty('header') && + (t = s.ReportHeader.verify(e.header)) + ) + return 'header.' + t + if ( + null != e.trace && + e.hasOwnProperty('trace') && + (t = s.Trace.verify(e.trace)) + ) + return 'trace.' + t return null }), (e.fromObject = function(e) { if (e instanceof s.TraceV1) return e var t = new s.TraceV1() if (null != e.header) { - if ('object' != typeof e.header) throw TypeError('.TraceV1.header: object expected') + if ('object' != typeof e.header) + throw TypeError('.TraceV1.header: object expected') t.header = s.ReportHeader.fromObject(e.header) } if (null != e.trace) { - if ('object' != typeof e.trace) throw TypeError('.TraceV1.trace: object expected') + if ('object' != typeof e.trace) + throw TypeError('.TraceV1.trace: object expected') t.trace = s.Trace.fromObject(e.trace) } return t @@ -44940,8 +55044,12 @@ and limitations under the License. var n = {} return ( t.defaults && ((n.header = null), (n.trace = null)), - null != e.header && e.hasOwnProperty('header') && (n.header = s.ReportHeader.toObject(e.header, t)), - null != e.trace && e.hasOwnProperty('trace') && (n.trace = s.Trace.toObject(e.trace, t)), + null != e.header && + e.hasOwnProperty('header') && + (n.header = s.ReportHeader.toObject(e.header, t)), + null != e.trace && + e.hasOwnProperty('trace') && + (n.trace = s.Trace.toObject(e.trace, t)), n ) }), @@ -44951,108 +55059,146 @@ and limitations under the License. e ) })()), - (s.google = (((l = {}).protobuf = (((r = {}).Timestamp = (function() { - function e(e) { - if (e) for (var t = Object.keys(e), n = 0; n < t.length; ++n) null != e[t[n]] && (this[t[n]] = e[t[n]]) - } - return ( - (e.prototype.seconds = a.Long ? a.Long.fromBits(0, 0, !1) : 0), - (e.prototype.nanos = 0), - (e.create = function(t) { - return new e(t) - }), - (e.encode = function(e, t) { - return ( - t || (t = o.create()), - null != e.seconds && e.hasOwnProperty('seconds') && t.uint32(8).int64(e.seconds), - null != e.nanos && e.hasOwnProperty('nanos') && t.uint32(16).int32(e.nanos), - t - ) - }), - (e.encodeDelimited = function(e, t) { - return this.encode(e, t).ldelim() - }), - (e.decode = function(e, t) { - e instanceof i || (e = i.create(e)) - for (var n = void 0 === t ? e.len : e.pos + t, r = new s.google.protobuf.Timestamp(); e.pos < n; ) { - var l = e.uint32() - switch (l >>> 3) { - case 1: - r.seconds = e.int64() - break - case 2: - r.nanos = e.int32() - break - default: - e.skipType(7 & l) - } - } - return r - }), - (e.decodeDelimited = function(e) { - return e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) - }), - (e.verify = function(e) { - return 'object' != typeof e || null === e - ? 'object expected' - : null != e.seconds && - e.hasOwnProperty('seconds') && - !(a.isInteger(e.seconds) || (e.seconds && a.isInteger(e.seconds.low) && a.isInteger(e.seconds.high))) - ? 'seconds: integer|Long expected' - : null != e.nanos && e.hasOwnProperty('nanos') && !a.isInteger(e.nanos) - ? 'nanos: integer expected' - : null - }), - (e.fromObject = function(e) { - if (e instanceof s.google.protobuf.Timestamp) return e - var t = new s.google.protobuf.Timestamp() - return ( - null != e.seconds && - (a.Long - ? ((t.seconds = a.Long.fromValue(e.seconds)).unsigned = !1) - : 'string' == typeof e.seconds - ? (t.seconds = parseInt(e.seconds, 10)) - : 'number' == typeof e.seconds - ? (t.seconds = e.seconds) - : 'object' == typeof e.seconds && - (t.seconds = new a.LongBits(e.seconds.low >>> 0, e.seconds.high >>> 0).toNumber())), - null != e.nanos && (t.nanos = 0 | e.nanos), - t - ) - }), - (e.toObject = function(e, t) { - t || (t = {}) - var n = {} - if (t.defaults) { - if (a.Long) { - var r = new a.Long(0, 0, !1) - n.seconds = t.longs === String ? r.toString() : t.longs === Number ? r.toNumber() : r - } else n.seconds = t.longs === String ? '0' : 0 - n.nanos = 0 + (s.google = + (((l = {}).protobuf = + (((r = {}).Timestamp = (function() { + function e(e) { + if (e) + for (var t = Object.keys(e), n = 0; n < t.length; ++n) + null != e[t[n]] && (this[t[n]] = e[t[n]]) } return ( - null != e.seconds && - e.hasOwnProperty('seconds') && - ('number' == typeof e.seconds - ? (n.seconds = t.longs === String ? String(e.seconds) : e.seconds) - : (n.seconds = + (e.prototype.seconds = a.Long ? a.Long.fromBits(0, 0, !1) : 0), + (e.prototype.nanos = 0), + (e.create = function(t) { + return new e(t) + }), + (e.encode = function(e, t) { + return ( + t || (t = o.create()), + null != e.seconds && + e.hasOwnProperty('seconds') && + t.uint32(8).int64(e.seconds), + null != e.nanos && + e.hasOwnProperty('nanos') && + t.uint32(16).int32(e.nanos), + t + ) + }), + (e.encodeDelimited = function(e, t) { + return this.encode(e, t).ldelim() + }), + (e.decode = function(e, t) { + e instanceof i || (e = i.create(e)) + for ( + var n = void 0 === t ? e.len : e.pos + t, + r = new s.google.protobuf.Timestamp(); + e.pos < n; + + ) { + var l = e.uint32() + switch (l >>> 3) { + case 1: + r.seconds = e.int64() + break + case 2: + r.nanos = e.int32() + break + default: + e.skipType(7 & l) + } + } + return r + }), + (e.decodeDelimited = function(e) { + return ( + e instanceof i || (e = new i(e)), this.decode(e, e.uint32()) + ) + }), + (e.verify = function(e) { + return 'object' != typeof e || null === e + ? 'object expected' + : null != e.seconds && + e.hasOwnProperty('seconds') && + !( + a.isInteger(e.seconds) || + (e.seconds && + a.isInteger(e.seconds.low) && + a.isInteger(e.seconds.high)) + ) + ? 'seconds: integer|Long expected' + : null != e.nanos && + e.hasOwnProperty('nanos') && + !a.isInteger(e.nanos) + ? 'nanos: integer expected' + : null + }), + (e.fromObject = function(e) { + if (e instanceof s.google.protobuf.Timestamp) return e + var t = new s.google.protobuf.Timestamp() + return ( + null != e.seconds && + (a.Long + ? ((t.seconds = a.Long.fromValue( + e.seconds, + )).unsigned = !1) + : 'string' == typeof e.seconds + ? (t.seconds = parseInt(e.seconds, 10)) + : 'number' == typeof e.seconds + ? (t.seconds = e.seconds) + : 'object' == typeof e.seconds && + (t.seconds = new a.LongBits( + e.seconds.low >>> 0, + e.seconds.high >>> 0, + ).toNumber())), + null != e.nanos && (t.nanos = 0 | e.nanos), + t + ) + }), + (e.toObject = function(e, t) { + t || (t = {}) + var n = {} + if (t.defaults) { + if (a.Long) { + var r = new a.Long(0, 0, !1) + n.seconds = t.longs === String - ? a.Long.prototype.toString.call(e.seconds) + ? r.toString() : t.longs === Number - ? new a.LongBits(e.seconds.low >>> 0, e.seconds.high >>> 0).toNumber() - : e.seconds)), - null != e.nanos && e.hasOwnProperty('nanos') && (n.nanos = e.nanos), - n + ? r.toNumber() + : r + } else n.seconds = t.longs === String ? '0' : 0 + n.nanos = 0 + } + return ( + null != e.seconds && + e.hasOwnProperty('seconds') && + ('number' == typeof e.seconds + ? (n.seconds = + t.longs === String ? String(e.seconds) : e.seconds) + : (n.seconds = + t.longs === String + ? a.Long.prototype.toString.call(e.seconds) + : t.longs === Number + ? new a.LongBits( + e.seconds.low >>> 0, + e.seconds.high >>> 0, + ).toNumber() + : e.seconds)), + null != e.nanos && + e.hasOwnProperty('nanos') && + (n.nanos = e.nanos), + n + ) + }), + (e.prototype.toJSON = function() { + return this.constructor.toObject(this, u.util.toJSONOptions) + }), + e ) - }), - (e.prototype.toJSON = function() { - return this.constructor.toObject(this, u.util.toJSONOptions) - }), - e - ) - })()), - r)), - l)), + })()), + r)), + l)), (e.exports = s) }, function(e, t, n) { @@ -45086,7 +55232,12 @@ and limitations under the License. if (u) if (((u = !1), e)) i(e) else { - for (var t = new Array(arguments.length - 1), n = 0; n < t.length; ) t[n++] = arguments[n] + for ( + var t = new Array(arguments.length - 1), n = 0; + n < t.length; + + ) + t[n++] = arguments[n] l.apply(null, t) } } @@ -45108,7 +55259,10 @@ and limitations under the License. return Math.ceil(3 * e.length) / 4 - n } for (var l = new Array(64), u = new Array(123), i = 0; i < 64; ) - u[(l[i] = i < 26 ? i + 65 : i < 52 ? i + 71 : i < 62 ? i - 4 : (i - 59) | 43)] = i++ + u[ + (l[i] = + i < 26 ? i + 65 : i < 52 ? i + 71 : i < 62 ? i - 4 : (i - 59) | 43) + ] = i++ r.encode = function(e, t, n) { for (var r, u = null, i = [], o = 0, a = 0; t < n; ) { var s = e[t++] @@ -45122,12 +55276,15 @@ and limitations under the License. case 2: ;(i[o++] = l[r | (s >> 6)]), (i[o++] = l[63 & s]), (a = 0) } - o > 8191 && ((u || (u = [])).push(String.fromCharCode.apply(String, i)), (o = 0)) + o > 8191 && + ((u || (u = [])).push(String.fromCharCode.apply(String, i)), + (o = 0)) } return ( a && ((i[o++] = l[r]), (i[o++] = 61), 1 === a && (i[o++] = 61)), u - ? (o && u.push(String.fromCharCode.apply(String, i.slice(0, o))), u.join('')) + ? (o && u.push(String.fromCharCode.apply(String, i.slice(0, o))), + u.join('')) : String.fromCharCode.apply(String, i.slice(0, o)) ) } @@ -45154,7 +55311,9 @@ and limitations under the License. return n - l }), (r.test = function(e) { - return /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e) + return /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test( + e, + ) }) }, function(e, t, n) { @@ -45164,18 +55323,27 @@ and limitations under the License. } ;(e.exports = r), (r.prototype.on = function(e, t, n) { - return (this._listeners[e] || (this._listeners[e] = [])).push({ fn: t, ctx: n || this }), this + return ( + (this._listeners[e] || (this._listeners[e] = [])).push({ + fn: t, + ctx: n || this, + }), + this + ) }), (r.prototype.off = function(e, t) { if (void 0 === e) this._listeners = {} else if (void 0 === t) this._listeners[e] = [] - else for (var n = this._listeners[e], r = 0; r < n.length; ) n[r].fn === t ? n.splice(r, 1) : ++r + else + for (var n = this._listeners[e], r = 0; r < n.length; ) + n[r].fn === t ? n.splice(r, 1) : ++r return this }), (r.prototype.emit = function(e) { var t = this._listeners[e] if (t) { - for (var n = [], r = 1; r < arguments.length; ) n.push(arguments[r++]) + for (var n = [], r = 1; r < arguments.length; ) + n.push(arguments[r++]) for (r = 0; r < t.length; ) t[r].fn.apply(t[r++].ctx, n) } return this @@ -45191,16 +55359,36 @@ and limitations under the License. n = new Uint8Array(t.buffer), r = 128 === n[3] function l(e, r, l) { - ;(t[0] = e), (r[l] = n[0]), (r[l + 1] = n[1]), (r[l + 2] = n[2]), (r[l + 3] = n[3]) + ;(t[0] = e), + (r[l] = n[0]), + (r[l + 1] = n[1]), + (r[l + 2] = n[2]), + (r[l + 3] = n[3]) } function u(e, r, l) { - ;(t[0] = e), (r[l] = n[3]), (r[l + 1] = n[2]), (r[l + 2] = n[1]), (r[l + 3] = n[0]) + ;(t[0] = e), + (r[l] = n[3]), + (r[l + 1] = n[2]), + (r[l + 2] = n[1]), + (r[l + 3] = n[0]) } function i(e, r) { - return (n[0] = e[r]), (n[1] = e[r + 1]), (n[2] = e[r + 2]), (n[3] = e[r + 3]), t[0] + return ( + (n[0] = e[r]), + (n[1] = e[r + 1]), + (n[2] = e[r + 2]), + (n[3] = e[r + 3]), + t[0] + ) } function o(e, r) { - return (n[3] = e[r]), (n[2] = e[r + 1]), (n[1] = e[r + 2]), (n[0] = e[r + 3]), t[0] + return ( + (n[3] = e[r]), + (n[2] = e[r + 1]), + (n[1] = e[r + 2]), + (n[0] = e[r + 3]), + t[0] + ) } ;(e.writeFloatLE = r ? l : u), (e.writeFloatBE = r ? u : l), @@ -45210,13 +55398,28 @@ and limitations under the License. : (function() { function t(e, t, n, r) { var l = t < 0 ? 1 : 0 - if ((l && (t = -t), 0 === t)) e(1 / t > 0 ? 0 : 2147483648, n, r) + if ((l && (t = -t), 0 === t)) + e(1 / t > 0 ? 0 : 2147483648, n, r) else if (isNaN(t)) e(2143289344, n, r) - else if (t > 3.4028234663852886e38) e(((l << 31) | 2139095040) >>> 0, n, r) - else if (t < 1.1754943508222875e-38) e(((l << 31) | Math.round(t / 1.401298464324817e-45)) >>> 0, n, r) + else if (t > 3.4028234663852886e38) + e(((l << 31) | 2139095040) >>> 0, n, r) + else if (t < 1.1754943508222875e-38) + e( + ((l << 31) | Math.round(t / 1.401298464324817e-45)) >>> 0, + n, + r, + ) else { var u = Math.floor(Math.log(t) / Math.LN2) - e(((l << 31) | ((u + 127) << 23) | (8388607 & Math.round(t * Math.pow(2, -u) * 8388608))) >>> 0, n, r) + e( + ((l << 31) | + ((u + 127) << 23) | + (8388607 & + Math.round(t * Math.pow(2, -u) * 8388608))) >>> + 0, + n, + r, + ) } } function n(e, t, n) { @@ -45298,18 +55501,32 @@ and limitations under the License. : (function() { function t(e, t, n, r, l, u) { var i = r < 0 ? 1 : 0 - if ((i && (r = -r), 0 === r)) e(0, l, u + t), e(1 / r > 0 ? 0 : 2147483648, l, u + n) + if ((i && (r = -r), 0 === r)) + e(0, l, u + t), e(1 / r > 0 ? 0 : 2147483648, l, u + n) else if (isNaN(r)) e(0, l, u + t), e(2146959360, l, u + n) - else if (r > 1.7976931348623157e308) e(0, l, u + t), e(((i << 31) | 2146435072) >>> 0, l, u + n) + else if (r > 1.7976931348623157e308) + e(0, l, u + t), e(((i << 31) | 2146435072) >>> 0, l, u + n) else { var o if (r < 2.2250738585072014e-308) - e((o = r / 5e-324) >>> 0, l, u + t), e(((i << 31) | (o / 4294967296)) >>> 0, l, u + n) + e((o = r / 5e-324) >>> 0, l, u + t), + e(((i << 31) | (o / 4294967296)) >>> 0, l, u + n) else { var a = Math.floor(Math.log(r) / Math.LN2) 1024 === a && (a = 1023), - e((4503599627370496 * (o = r * Math.pow(2, -a))) >>> 0, l, u + t), - e(((i << 31) | ((a + 1023) << 20) | ((1048576 * o) & 1048575)) >>> 0, l, u + n) + e( + (4503599627370496 * (o = r * Math.pow(2, -a))) >>> 0, + l, + u + t, + ), + e( + ((i << 31) | + ((a + 1023) << 20) | + ((1048576 * o) & 1048575)) >>> + 0, + l, + u + n, + ) } } } @@ -45336,16 +55553,26 @@ and limitations under the License. ) } function l(e, t, n) { - ;(t[n] = 255 & e), (t[n + 1] = (e >>> 8) & 255), (t[n + 2] = (e >>> 16) & 255), (t[n + 3] = e >>> 24) + ;(t[n] = 255 & e), + (t[n + 1] = (e >>> 8) & 255), + (t[n + 2] = (e >>> 16) & 255), + (t[n + 3] = e >>> 24) } function u(e, t, n) { - ;(t[n] = e >>> 24), (t[n + 1] = (e >>> 16) & 255), (t[n + 2] = (e >>> 8) & 255), (t[n + 3] = 255 & e) + ;(t[n] = e >>> 24), + (t[n + 1] = (e >>> 16) & 255), + (t[n + 2] = (e >>> 8) & 255), + (t[n + 3] = 255 & e) } function i(e, t) { - return (e[t] | (e[t + 1] << 8) | (e[t + 2] << 16) | (e[t + 3] << 24)) >>> 0 + return ( + (e[t] | (e[t + 1] << 8) | (e[t + 2] << 16) | (e[t + 3] << 24)) >>> 0 + ) } function o(e, t) { - return ((e[t] << 24) | (e[t + 1] << 16) | (e[t + 2] << 8) | e[t + 3]) >>> 0 + return ( + ((e[t] << 24) | (e[t + 1] << 16) | (e[t + 2] << 8) | e[t + 3]) >>> 0 + ) } e.exports = r(r) }, @@ -45382,13 +55609,22 @@ and limitations under the License. : r > 191 && r < 224 ? (u[i++] = ((31 & r) << 6) | (63 & e[t++])) : r > 239 && r < 365 - ? ((r = (((7 & r) << 18) | ((63 & e[t++]) << 12) | ((63 & e[t++]) << 6) | (63 & e[t++])) - 65536), + ? ((r = + (((7 & r) << 18) | + ((63 & e[t++]) << 12) | + ((63 & e[t++]) << 6) | + (63 & e[t++])) - + 65536), (u[i++] = 55296 + (r >> 10)), (u[i++] = 56320 + (1023 & r))) - : (u[i++] = ((15 & r) << 12) | ((63 & e[t++]) << 6) | (63 & e[t++])), - i > 8191 && ((l || (l = [])).push(String.fromCharCode.apply(String, u)), (i = 0)) + : (u[i++] = + ((15 & r) << 12) | ((63 & e[t++]) << 6) | (63 & e[t++])), + i > 8191 && + ((l || (l = [])).push(String.fromCharCode.apply(String, u)), + (i = 0)) return l - ? (i && l.push(String.fromCharCode.apply(String, u.slice(0, i))), l.join('')) + ? (i && l.push(String.fromCharCode.apply(String, u.slice(0, i))), + l.join('')) : String.fromCharCode.apply(String, u.slice(0, i)) }), (r.write = function(e, t, n) { @@ -45397,14 +55633,17 @@ and limitations under the License. ? (t[n++] = r) : r < 2048 ? ((t[n++] = (r >> 6) | 192), (t[n++] = (63 & r) | 128)) - : 55296 == (64512 & r) && 56320 == (64512 & (l = e.charCodeAt(i + 1))) + : 55296 == (64512 & r) && + 56320 == (64512 & (l = e.charCodeAt(i + 1))) ? ((r = 65536 + ((1023 & r) << 10) + (1023 & l)), ++i, (t[n++] = (r >> 18) | 240), (t[n++] = ((r >> 12) & 63) | 128), (t[n++] = ((r >> 6) & 63) | 128), (t[n++] = (63 & r) | 128)) - : ((t[n++] = (r >> 12) | 224), (t[n++] = ((r >> 6) & 63) | 128), (t[n++] = (63 & r) | 128)) + : ((t[n++] = (r >> 12) | 224), + (t[n++] = ((r >> 6) & 63) | 128), + (t[n++] = (63 & r) | 128)) return n - u }) }, @@ -45447,7 +55686,13 @@ and limitations under the License. t && (e = -e) var n = e >>> 0, r = ((e - n) / 4294967296) >>> 0 - return t && ((r = ~r >>> 0), (n = ~n >>> 0), ++n > 4294967295 && ((n = 0), ++r > 4294967295 && (r = 0))), new l(n, r) + return ( + t && + ((r = ~r >>> 0), + (n = ~n >>> 0), + ++n > 4294967295 && ((n = 0), ++r > 4294967295 && (r = 0))), + new l(n, r) + ) }), (l.from = function(e) { if ('number' == typeof e) return l.fromNumber(e) @@ -45475,8 +55720,16 @@ and limitations under the License. return e === i ? u : new l( - (o.call(e, 0) | (o.call(e, 1) << 8) | (o.call(e, 2) << 16) | (o.call(e, 3) << 24)) >>> 0, - (o.call(e, 4) | (o.call(e, 5) << 8) | (o.call(e, 6) << 16) | (o.call(e, 7) << 24)) >>> 0, + (o.call(e, 0) | + (o.call(e, 1) << 8) | + (o.call(e, 2) << 16) | + (o.call(e, 3) << 24)) >>> + 0, + (o.call(e, 4) | + (o.call(e, 5) << 8) | + (o.call(e, 6) << 16) | + (o.call(e, 7) << 24)) >>> + 0, ) }), (l.prototype.toHash = function() { @@ -45493,11 +55746,19 @@ and limitations under the License. }), (l.prototype.zzEncode = function() { var e = this.hi >> 31 - return (this.hi = (((this.hi << 1) | (this.lo >>> 31)) ^ e) >>> 0), (this.lo = ((this.lo << 1) ^ e) >>> 0), this + return ( + (this.hi = (((this.hi << 1) | (this.lo >>> 31)) ^ e) >>> 0), + (this.lo = ((this.lo << 1) ^ e) >>> 0), + this + ) }), (l.prototype.zzDecode = function() { var e = -(1 & this.lo) - return (this.lo = (((this.lo >>> 1) | (this.hi << 31)) ^ e) >>> 0), (this.hi = ((this.hi >>> 1) ^ e) >>> 0), this + return ( + (this.lo = (((this.lo >>> 1) | (this.hi << 31)) ^ e) >>> 0), + (this.hi = ((this.hi >>> 1) ^ e) >>> 0), + this + ) }), (l.prototype.length = function() { var e = this.lo, @@ -45571,7 +55832,10 @@ and limitations under the License. l.Buffer && (u.prototype._slice = l.Buffer.prototype.slice), (u.prototype.string = function() { var e = this.uint32() - return this.buf.utf8Slice(this.pos, (this.pos = Math.min(this.pos + e, this.len))) + return this.buf.utf8Slice( + this.pos, + (this.pos = Math.min(this.pos + e, this.len)), + ) }) }, function(e, t, n) { @@ -45583,29 +55847,43 @@ and limitations under the License. e.exports = l var r = n(65) function l(e, t, n) { - if ('function' != typeof e) throw TypeError('rpcImpl must be a function') - r.EventEmitter.call(this), (this.rpcImpl = e), (this.requestDelimited = Boolean(t)), (this.responseDelimited = Boolean(n)) - } - ;((l.prototype = Object.create(r.EventEmitter.prototype)).constructor = l), + if ('function' != typeof e) + throw TypeError('rpcImpl must be a function') + r.EventEmitter.call(this), + (this.rpcImpl = e), + (this.requestDelimited = Boolean(t)), + (this.responseDelimited = Boolean(n)) + } + ;((l.prototype = Object.create( + r.EventEmitter.prototype, + )).constructor = l), (l.prototype.rpcCall = function e(t, n, l, u, i) { if (!u) throw TypeError('request must be specified') var o = this if (!i) return r.asPromise(e, o, t, n, l, u) if (o.rpcImpl) try { - return o.rpcImpl(t, n[o.requestDelimited ? 'encodeDelimited' : 'encode'](u).finish(), function(e, n) { - if (e) return o.emit('error', e, t), i(e) - if (null !== n) { - if (!(n instanceof l)) - try { - n = l[o.responseDelimited ? 'decodeDelimited' : 'decode'](n) - } catch (e) { - return o.emit('error', e, t), i(e) - } - return o.emit('data', n, t), i(null, n) - } - o.end(!0) - }) + return o.rpcImpl( + t, + n[o.requestDelimited ? 'encodeDelimited' : 'encode']( + u, + ).finish(), + function(e, n) { + if (e) return o.emit('error', e, t), i(e) + if (null !== n) { + if (!(n instanceof l)) + try { + n = l[ + o.responseDelimited ? 'decodeDelimited' : 'decode' + ](n) + } catch (e) { + return o.emit('error', e, t), i(e) + } + return o.emit('data', n, t), i(null, n) + } + o.end(!0) + }, + ) } catch (e) { return ( o.emit('error', e, t), @@ -45620,7 +55898,13 @@ and limitations under the License. }, 0) }), (l.prototype.end = function(e) { - return this.rpcImpl && (e || this.rpcImpl(null, null, null), (this.rpcImpl = null), this.emit('end').off()), this + return ( + this.rpcImpl && + (e || this.rpcImpl(null, null, null), + (this.rpcImpl = null), + this.emit('end').off()), + this + ) }) }, function(e, t, n) { @@ -45637,7 +55921,11 @@ and limitations under the License. l(e || new Error('Aborted')) } function a(e, t) { - e.bail ? o(e) : i.retry(e) ? u.onRetry && u.onRetry(e, t) : l(i.mainError()) + e.bail + ? o(e) + : i.retry(e) + ? u.onRetry && u.onRetry(e, t) + : l(i.mainError()) } i.attempt(function(t) { var r @@ -45662,14 +55950,26 @@ and limitations under the License. var r = n(560) ;(t.operation = function(e) { var n = t.timeouts(e) - return new r(n, { forever: e && e.forever, unref: e && e.unref, maxRetryTime: e && e.maxRetryTime }) + return new r(n, { + forever: e && e.forever, + unref: e && e.unref, + maxRetryTime: e && e.maxRetryTime, + }) }), (t.timeouts = function(e) { if (e instanceof Array) return [].concat(e) - var t = { retries: 10, factor: 2, minTimeout: 1e3, maxTimeout: 1 / 0, randomize: !1 } + var t = { + retries: 10, + factor: 2, + minTimeout: 1e3, + maxTimeout: 1 / 0, + randomize: !1, + } for (var n in e) t[n] = e[n] - if (t.minTimeout > t.maxTimeout) throw new Error('minTimeout is greater than maxTimeout') - for (var r = [], l = 0; l < t.retries; l++) r.push(this.createTimeout(l, t)) + if (t.minTimeout > t.maxTimeout) + throw new Error('minTimeout is greater than maxTimeout') + for (var r = [], l = 0; l < t.retries; l++) + r.push(this.createTimeout(l, t)) return ( e && e.forever && !r.length && r.push(this.createTimeout(l, t)), r.sort(function(e, t) { @@ -45694,7 +55994,9 @@ and limitations under the License. u = Array.prototype.slice.call(arguments, 1), i = u.pop() u.push(function(e) { - l.retry(e) || (e && (arguments[0] = l.mainError()), i.apply(this, arguments)) + l.retry(e) || + (e && (arguments[0] = l.mainError()), + i.apply(this, arguments)) }), l.attempt(function() { r.apply(e, u) @@ -45718,20 +56020,28 @@ and limitations under the License. (this._operationTimeoutCb = null), (this._timeout = null), (this._operationStart = null), - this._options.forever && (this._cachedTimeouts = this._timeouts.slice(0)) + this._options.forever && + (this._cachedTimeouts = this._timeouts.slice(0)) } ;(e.exports = n), (n.prototype.reset = function() { ;(this._attempts = 1), (this._timeouts = this._originalTimeouts) }), (n.prototype.stop = function() { - this._timeout && clearTimeout(this._timeout), (this._timeouts = []), (this._cachedTimeouts = null) + this._timeout && clearTimeout(this._timeout), + (this._timeouts = []), + (this._cachedTimeouts = null) }), (n.prototype.retry = function(e) { if ((this._timeout && clearTimeout(this._timeout), !e)) return !1 var t = new Date().getTime() if (e && t - this._operationStart >= this._maxRetryTime) - return this._errors.unshift(new Error('RetryOperation timeout occurred')), !1 + return ( + this._errors.unshift( + new Error('RetryOperation timeout occurred'), + ), + !1 + ) this._errors.push(e) var n = this._timeouts.shift() if (void 0 === n) { @@ -45753,7 +56063,10 @@ and limitations under the License. return this._options.unref && l.unref(), !0 }), (n.prototype.attempt = function(e, t) { - ;(this._fn = e), t && (t.timeout && (this._operationTimeout = t.timeout), t.cb && (this._operationTimeoutCb = t.cb)) + ;(this._fn = e), + t && + (t.timeout && (this._operationTimeout = t.timeout), + t.cb && (this._operationTimeoutCb = t.cb)) var n = this this._operationTimeoutCb && (this._timeout = setTimeout(function() { @@ -45763,10 +56076,12 @@ and limitations under the License. this._fn(this._attempts) }), (n.prototype.try = function(e) { - console.log('Using RetryOperation.try() is deprecated'), this.attempt(e) + console.log('Using RetryOperation.try() is deprecated'), + this.attempt(e) }), (n.prototype.start = function(e) { - console.log('Using RetryOperation.start() is deprecated'), this.attempt(e) + console.log('Using RetryOperation.start() is deprecated'), + this.attempt(e) }), (n.prototype.start = n.prototype.try), (n.prototype.errors = function() { @@ -45777,7 +56092,11 @@ and limitations under the License. }), (n.prototype.mainError = function() { if (0 === this._errors.length) return null - for (var e = {}, t = null, n = 0, r = 0; r < this._errors.length; r++) { + for ( + var e = {}, t = null, n = 0, r = 0; + r < this._errors.length; + r++ + ) { var l = this._errors[r], u = l.message, i = (e[u] || 0) + 1 @@ -45795,8 +56114,16 @@ and limitations under the License. i = 'apollographql-client-reference-id', o = 'apollographql-client-version' function a({ request: e }) { - return e.http && e.http.headers && (e.http.headers.get(u) || e.http.headers.get(o) || e.http.headers.get(i)) - ? { clientName: e.http.headers.get(u), clientVersion: e.http.headers.get(o), clientReferenceId: e.http.headers.get(i) } + return e.http && + e.http.headers && + (e.http.headers.get(u) || + e.http.headers.get(o) || + e.http.headers.get(i)) + ? { + clientName: e.http.headers.get(u), + clientVersion: e.http.headers.get(o), + clientReferenceId: e.http.headers.get(i), + } : e.extensions && e.extensions.clientInfo ? e.extensions.clientInfo : {} @@ -45844,7 +56171,9 @@ and limitations under the License. try { l.variablesJson[e] = void 0 === u[e] ? '' : JSON.stringify(u[e]) } catch (t) { - l.variablesJson[e] = JSON.stringify('[Unable to convert value to JSON]') + l.variablesJson[e] = JSON.stringify( + '[Unable to convert value to JSON]', + ) } }), l @@ -45856,8 +56185,10 @@ and limitations under the License. const t = l.toLowerCase() if ( !( - ('exceptNames' in n && n.exceptNames.some((e) => e.toLowerCase() === t)) || - ('onlyNames' in n && !n.onlyNames.some((e) => e.toLowerCase() === t)) + ('exceptNames' in n && + n.exceptNames.some((e) => e.toLowerCase() === t)) || + ('onlyNames' in n && + !n.onlyNames.some((e) => e.toLowerCase() === t)) ) ) switch (l) { @@ -45876,23 +56207,39 @@ and limitations under the License. (this.options = Object.assign({}, e)), (this.addTrace = t), (this.generateClientInfo = e.generateClientInfo || a), - (this.treeBuilder = new l.EngineReportingTreeBuilder({ rewriteError: e.rewriteError })) + (this.treeBuilder = new l.EngineReportingTreeBuilder({ + rewriteError: e.rewriteError, + })) } requestDidStart(e) { - this.treeBuilder.startTiming(), (e.requestContext.metrics.startHrTime = this.treeBuilder.startHrTime) + this.treeBuilder.startTiming(), + (e.requestContext.metrics.startHrTime = this.treeBuilder.startHrTime) const t = e.requestContext.queryHash ;(this.queryString = e.queryString), (this.documentAST = e.parsedQuery), (this.treeBuilder.trace.http = new r.Trace.HTTP({ - method: r.Trace.HTTP.Method[e.request.method] || r.Trace.HTTP.Method.UNKNOWN, + method: + r.Trace.HTTP.Method[e.request.method] || + r.Trace.HTTP.Method.UNKNOWN, host: null, path: null, })), this.options.sendHeaders && - (c(this.treeBuilder.trace.http, e.request.headers, this.options.sendHeaders), - e.requestContext.metrics.persistedQueryHit && (this.treeBuilder.trace.persistedQueryHit = !0), - e.requestContext.metrics.persistedQueryRegister && (this.treeBuilder.trace.persistedQueryRegister = !0)), - e.variables && (this.treeBuilder.trace.details = s(e.variables, this.options.sendVariableValues, e.queryString)) + (c( + this.treeBuilder.trace.http, + e.request.headers, + this.options.sendHeaders, + ), + e.requestContext.metrics.persistedQueryHit && + (this.treeBuilder.trace.persistedQueryHit = !0), + e.requestContext.metrics.persistedQueryRegister && + (this.treeBuilder.trace.persistedQueryRegister = !0)), + e.variables && + (this.treeBuilder.trace.details = s( + e.variables, + this.options.sendVariableValues, + e.queryString, + )) const n = this.generateClientInfo(e.requestContext) if (n) { const { clientName: e, clientVersion: t, clientReferenceId: r } = n @@ -45902,13 +56249,20 @@ and limitations under the License. } return () => { this.treeBuilder.stopTiming(), - (this.treeBuilder.trace.fullQueryCacheHit = !!e.requestContext.metrics.responseCacheHit), - (this.treeBuilder.trace.forbiddenOperation = !!e.requestContext.metrics.forbiddenOperation), - (this.treeBuilder.trace.registeredOperation = !!e.requestContext.metrics.registeredOperation) - const n = this.explicitOperationName || e.requestContext.operationName || '', + (this.treeBuilder.trace.fullQueryCacheHit = !!e.requestContext + .metrics.responseCacheHit), + (this.treeBuilder.trace.forbiddenOperation = !!e.requestContext + .metrics.forbiddenOperation), + (this.treeBuilder.trace.registeredOperation = !!e.requestContext + .metrics.registeredOperation) + const n = + this.explicitOperationName || + e.requestContext.operationName || + '', r = this.documentAST || e.requestContext.document e.requestContext.metrics.queryPlanTrace && - (this.treeBuilder.trace.queryPlan = e.requestContext.metrics.queryPlanTrace), + (this.treeBuilder.trace.queryPlan = + e.requestContext.metrics.queryPlanTrace), this.addTrace({ operationName: n, queryHash: t, @@ -45920,7 +56274,8 @@ and limitations under the License. } } executionDidStart(e) { - e.executionArgs.operationName && (this.explicitOperationName = e.executionArgs.operationName), + e.executionArgs.operationName && + (this.explicitOperationName = e.executionArgs.operationName), (this.documentAST = e.executionArgs.document) } willResolveField(e, t, n, r) { @@ -45938,7 +56293,8 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }) var r = n(563) ;(t.defaultEngineReportingSignature = r.defaultEngineReportingSignature), - (t.defaultOperationRegistrySignature = r.defaultOperationRegistrySignature), + (t.defaultOperationRegistrySignature = + r.defaultOperationRegistrySignature), (t.operationHash = r.operationHash), (function(e) { for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]) @@ -45950,10 +56306,18 @@ and limitations under the License. const r = n(103), l = n(564) ;(t.defaultEngineReportingSignature = function(e, t) { - return l.printWithReducedWhitespace(l.sortAST(l.removeAliases(l.hideLiterals(l.dropUnusedDefinitions(e, t))))) + return l.printWithReducedWhitespace( + l.sortAST( + l.removeAliases(l.hideLiterals(l.dropUnusedDefinitions(e, t))), + ), + ) }), (t.defaultOperationRegistrySignature = function(e, t) { - return l.printWithReducedWhitespace(l.sortAST(l.hideStringAndNumericLiterals(l.dropUnusedDefinitions(e, t)))) + return l.printWithReducedWhitespace( + l.sortAST( + l.hideStringAndNumericLiterals(l.dropUnusedDefinitions(e, t)), + ), + ) }), (t.operationHash = function(e) { return r @@ -45999,34 +56363,64 @@ and limitations under the License. }), (t.sortAST = function(e) { return l.visit(e, { - Document: (e) => Object.assign({}, e, { definitions: o.default(e.definitions, 'kind', 'name.value') }), + Document: (e) => + Object.assign({}, e, { + definitions: o.default(e.definitions, 'kind', 'name.value'), + }), OperationDefinition: (e) => - Object.assign({}, e, { variableDefinitions: a(e.variableDefinitions, 'variable.name.value') }), - SelectionSet: (e) => Object.assign({}, e, { selections: o.default(e.selections, 'kind', 'name.value') }), - Field: (e) => Object.assign({}, e, { arguments: a(e.arguments, 'name.value') }), - FragmentSpread: (e) => Object.assign({}, e, { directives: a(e.directives, 'name.value') }), - InlineFragment: (e) => Object.assign({}, e, { directives: a(e.directives, 'name.value') }), + Object.assign({}, e, { + variableDefinitions: a( + e.variableDefinitions, + 'variable.name.value', + ), + }), + SelectionSet: (e) => + Object.assign({}, e, { + selections: o.default(e.selections, 'kind', 'name.value'), + }), + Field: (e) => + Object.assign({}, e, { arguments: a(e.arguments, 'name.value') }), + FragmentSpread: (e) => + Object.assign({}, e, { + directives: a(e.directives, 'name.value'), + }), + InlineFragment: (e) => + Object.assign({}, e, { + directives: a(e.directives, 'name.value'), + }), FragmentDefinition: (e) => Object.assign({}, e, { directives: a(e.directives, 'name.value'), - variableDefinitions: a(e.variableDefinitions, 'variable.name.value'), + variableDefinitions: a( + e.variableDefinitions, + 'variable.name.value', + ), }), - Directive: (e) => Object.assign({}, e, { arguments: a(e.arguments, 'name.value') }), + Directive: (e) => + Object.assign({}, e, { arguments: a(e.arguments, 'name.value') }), }) }), (t.removeAliases = function(e) { - return l.visit(e, { Field: (e) => Object.assign({}, e, { alias: void 0 }) }) + return l.visit(e, { + Field: (e) => Object.assign({}, e, { alias: void 0 }), + }) }), (t.printWithReducedWhitespace = function(e) { const t = l.visit(e, { - StringValue: (e) => Object.assign({}, e, { value: Buffer.from(e.value, 'utf8').toString('hex'), block: !1 }), + StringValue: (e) => + Object.assign({}, e, { + value: Buffer.from(e.value, 'utf8').toString('hex'), + block: !1, + }), }) return u .print(t) .replace(/\s+/g, ' ') .replace(/([^_a-zA-Z0-9]) /g, (e, t) => t) .replace(/ ([^_a-zA-Z0-9])/g, (e, t) => t) - .replace(/"([a-f0-9]+)"/g, (e, t) => JSON.stringify(Buffer.from(t, 'hex').toString('utf8'))) + .replace(/"([a-f0-9]+)"/g, (e, t) => + JSON.stringify(Buffer.from(t, 'hex').toString('utf8')), + ) }) }, function(e, t, n) { @@ -46062,15 +56456,21 @@ and limitations under the License. j = /^\[object .+?Constructor\]$/, C = /^(?:0|[1-9]\d*)$/, N = {} - ;(N['[object Float32Array]'] = N['[object Float64Array]'] = N['[object Int8Array]'] = N['[object Int16Array]'] = N[ - '[object Int32Array]' - ] = N['[object Uint8Array]'] = N['[object Uint8ClampedArray]'] = N['[object Uint16Array]'] = N[ + ;(N['[object Float32Array]'] = N['[object Float64Array]'] = N[ + '[object Int8Array]' + ] = N['[object Int16Array]'] = N['[object Int32Array]'] = N[ + '[object Uint8Array]' + ] = N['[object Uint8ClampedArray]'] = N['[object Uint16Array]'] = N[ '[object Uint32Array]' ] = !0), - (N[s] = N[c] = N[O] = N[d] = N[D] = N[f] = N[p] = N[h] = N[y] = N[_] = N[g] = N[v] = N[b] = N[T] = N[ - '[object WeakMap]' - ] = !1) - var A = 'object' == typeof global && global && global.Object === Object && global, + (N[s] = N[c] = N[O] = N[d] = N[D] = N[f] = N[p] = N[h] = N[y] = N[ + _ + ] = N[g] = N[v] = N[b] = N[T] = N['[object WeakMap]'] = !1) + var A = + 'object' == typeof global && + global && + global.Object === Object && + global, P = 'object' == typeof self && self && self.Object === Object && self, x = A || P || Function('return this')(), Y = t && !t.nodeType && t, @@ -46083,15 +56483,18 @@ and limitations under the License. })(), B = R && R.isTypedArray function H(e, t) { - for (var n = -1, r = e ? e.length : 0, l = Array(r); ++n < r; ) l[n] = t(e[n], n, e) + for (var n = -1, r = e ? e.length : 0, l = Array(r); ++n < r; ) + l[n] = t(e[n], n, e) return l } function V(e, t) { - for (var n = -1, r = t.length, l = e.length; ++n < r; ) e[l + n] = t[n] + for (var n = -1, r = t.length, l = e.length; ++n < r; ) + e[l + n] = t[n] return e } function Q(e, t) { - for (var n = -1, r = e ? e.length : 0; ++n < r; ) if (t(e[n], n, e)) return !0 + for (var n = -1, r = e ? e.length : 0; ++n < r; ) + if (t(e[n], n, e)) return !0 return !1 } function U(e) { @@ -46134,7 +56537,9 @@ and limitations under the License. Z = Function.prototype, X = Object.prototype, ee = x['__core-js_shared__'], - te = ($ = /[^.]+$/.exec((ee && ee.keys && ee.keys.IE_PROTO) || '')) ? 'Symbol(src)_1.' + $ : '', + te = ($ = /[^.]+$/.exec((ee && ee.keys && ee.keys.IE_PROTO) || '')) + ? 'Symbol(src)_1.' + $ + : '', ne = Z.toString, re = X.hasOwnProperty, le = X.toString, @@ -46143,7 +56548,10 @@ and limitations under the License. ne .call(re) .replace(/[\\^$.*+?()[\]{}|]/g, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + + .replace( + /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, + '$1.*?', + ) + '$', ), ie = x.Symbol, @@ -46151,11 +56559,12 @@ and limitations under the License. ae = X.propertyIsEnumerable, se = K.splice, ce = ie ? ie.isConcatSpreadable : void 0, - de = ((z = Object.keys), - (J = Object), - function(e) { - return z(J(e)) - }), + de = + ((z = Object.keys), + (J = Object), + function(e) { + return z(J(e)) + }), fe = Math.max, pe = ze(x, 'DataView'), he = ze(x, 'Map'), @@ -46213,7 +56622,10 @@ and limitations under the License. : [], r = n.length, l = !!r - for (var u in e) (!t && !re.call(e, u)) || (l && ('length' == u || Ze(u, r))) || n.push(u) + for (var u in e) + (!t && !re.call(e, u)) || + (l && ('length' == u || Ze(u, r))) || + n.push(u) return n } function Ae(e, t) { @@ -46247,7 +56659,9 @@ and limitations under the License. (Se.prototype.delete = function(e) { var t = this.__data__, n = Ae(t, e) - return !(n < 0 || (n == t.length - 1 ? t.pop() : se.call(t, n, 1), 0)) + return !( + n < 0 || (n == t.length - 1 ? t.pop() : se.call(t, n, 1), 0) + ) }), (Se.prototype.get = function(e) { var t = this.__data__, @@ -46263,7 +56677,11 @@ and limitations under the License. return r < 0 ? n.push([e, t]) : (n[r][1] = t), this }), (ke.prototype.clear = function() { - this.__data__ = { hash: new Me(), map: new (he || Se)(), string: new Me() } + this.__data__ = { + hash: new Me(), + map: new (he || Se)(), + string: new Me(), + } }), (ke.prototype.delete = function(e) { return $e(this, e).delete(e) @@ -46306,15 +56724,20 @@ and limitations under the License. }) var Pe, xe, - Ye = ((Pe = function(e, t) { - return e && Ie(e, t, gt) - }), - function(e, t) { - if (null == e) return e - if (!dt(e)) return Pe(e, t) - for (var n = e.length, r = xe ? n : -1, l = Object(e); (xe ? r-- : ++r < n) && !1 !== t(l[r], r, l); ); - return e - }) + Ye = + ((Pe = function(e, t) { + return e && Ie(e, t, gt) + }), + function(e, t) { + if (null == e) return e + if (!dt(e)) return Pe(e, t) + for ( + var n = e.length, r = xe ? n : -1, l = Object(e); + (xe ? r-- : ++r < n) && !1 !== t(l[r], r, l); + + ); + return e + }) var Ie = (function(e) { return function(t, n, r) { for (var l = -1, u = Object(t), i = r(t), o = i.length; o--; ) { @@ -46325,7 +56748,12 @@ and limitations under the License. } })() function Fe(e, t) { - for (var n = 0, r = (t = et(t, e) ? [t] : qe(t)).length; null != e && n < r; ) e = e[lt(t[n++])] + for ( + var n = 0, r = (t = et(t, e) ? [t] : qe(t)).length; + null != e && n < r; + + ) + e = e[lt(t[n++])] return n && n == r ? e : void 0 } function Re(e, t) { @@ -46354,16 +56782,25 @@ and limitations under the License. : (function(e, t, n, r, l, o, a) { switch (n) { case D: - if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1 + if ( + e.byteLength != t.byteLength || + e.byteOffset != t.byteOffset + ) + return !1 ;(e = e.buffer), (t = t.buffer) case O: - return !(e.byteLength != t.byteLength || !r(new oe(e), new oe(t))) + return !( + e.byteLength != t.byteLength || + !r(new oe(e), new oe(t)) + ) case d: case f: case _: return at(+e, +t) case p: - return e.name == t.name && e.message == t.message + return ( + e.name == t.name && e.message == t.message + ) case v: case T: return e == t + '' @@ -46371,7 +56808,8 @@ and limitations under the License. var s = W case b: var c = o & i - if ((s || (s = G), e.size != t.size && !c)) return !1 + if ((s || (s = G), e.size != t.size && !c)) + return !1 var h = a.get(e) if (h) return h == t ;(o |= u), a.set(e, t) @@ -46413,7 +56851,8 @@ and limitations under the License. f = a[d] var y = e[f], _ = t[f] - if (r) var g = o ? r(_, y, f, t, e, u) : r(y, _, f, e, t, u) + if (r) + var g = o ? r(_, y, f, t, e, u) : r(y, _, f, e, t, u) if (!(void 0 === g ? y === _ || n(y, _, r, l, u) : g)) { h = !1 break @@ -46426,7 +56865,12 @@ and limitations under the License. v != b && 'constructor' in e && 'constructor' in t && - !('function' == typeof v && v instanceof v && 'function' == typeof b && b instanceof b) && + !( + 'function' == typeof v && + v instanceof v && + 'function' == typeof b && + b instanceof b + ) && (h = !1) } return u.delete(e), u.delete(t), h @@ -46474,7 +56918,12 @@ and limitations under the License. e = e[i] } if (r) return r - return !!(u = e ? e.length : 0) && pt(u) && Ze(i, u) && (ct(e) || st(e)) + return ( + !!(u = e ? e.length : 0) && + pt(u) && + Ze(i, u) && + (ct(e) || st(e)) + ) })(e, t, Re) ) })(n, e) @@ -46503,7 +56952,8 @@ and limitations under the License. if (null == e) return !o for (e = Object(e); l--; ) { var s = n[l] - if (a && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) return !1 + if (a && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) + return !1 } for (; ++l < o; ) { var c = (s = n[l])[0], @@ -46514,7 +56964,8 @@ and limitations under the License. } else { var p = new Ce() if (r) var h = r(d, f, c, e, t, p) - if (!(void 0 === h ? Be(f, d, r, u | i, p) : h)) return !1 + if (!(void 0 === h ? Be(f, d, r, u | i, p) : h)) + return !1 } } return !0 @@ -46535,12 +56986,18 @@ and limitations under the License. var t, n } function Qe(e) { - if (((n = (t = e) && t.constructor), (r = ('function' == typeof n && n.prototype) || X), t !== r)) return de(e) + if ( + ((n = (t = e) && t.constructor), + (r = ('function' == typeof n && n.prototype) || X), + t !== r) + ) + return de(e) var t, n, r, l = [] - for (var u in Object(e)) re.call(e, u) && 'constructor' != u && l.push(u) + for (var u in Object(e)) + re.call(e, u) && 'constructor' != u && l.push(u) return l } function Ue(e, t, n) { @@ -46604,8 +57061,22 @@ and limitations under the License. o = null === t, a = t == t, s = yt(t) - if ((!o && !s && !u && e > t) || (u && i && a && !o && !s) || (r && i && a) || (!n && a) || !l) return 1 - if ((!r && !u && !s && e < t) || (s && n && l && !r && !u) || (o && n && l) || (!i && l) || !a) return -1 + if ( + (!o && !s && !u && e > t) || + (u && i && a && !o && !s) || + (r && i && a) || + (!n && a) || + !l + ) + return 1 + if ( + (!r && !u && !s && e < t) || + (s && n && l && !r && !u) || + (o && n && l) || + (!i && l) || + !a + ) + return -1 } return 0 } @@ -46631,7 +57102,8 @@ and limitations under the License. if (h) { if ( !Q(t, function(e, t) { - if (!h.has(t) && (m === e || n(m, e, r, l, o))) return h.add(t) + if (!h.has(t) && (m === e || n(m, e, r, l, o))) + return h.add(t) }) ) { p = !1 @@ -46648,7 +57120,10 @@ and limitations under the License. var n, r, l = e.__data__ - return ('string' == (r = typeof (n = t)) || 'number' == r || 'symbol' == r || 'boolean' == r + return ('string' == (r = typeof (n = t)) || + 'number' == r || + 'symbol' == r || + 'boolean' == r ? '__proto__' !== n : null === n) ? l['string' == typeof t ? 'string' : 'hash'] @@ -46667,18 +57142,34 @@ and limitations under the License. return ct(e) || st(e) || !!(ce && e && e[ce]) } function Ze(e, t) { - return !!(t = null == t ? a : t) && ('number' == typeof e || C.test(e)) && e > -1 && e % 1 == 0 && e < t + return ( + !!(t = null == t ? a : t) && + ('number' == typeof e || C.test(e)) && + e > -1 && + e % 1 == 0 && + e < t + ) } function Xe(e, t, n) { if (!ht(n)) return !1 var r = typeof t - return !!('number' == r ? dt(n) && Ze(t, n.length) : 'string' == r && t in n) && at(n[t], e) + return ( + !!('number' == r + ? dt(n) && Ze(t, n.length) + : 'string' == r && t in n) && at(n[t], e) + ) } function et(e, t) { if (ct(e)) return !1 var n = typeof e return ( - !('number' != n && 'symbol' != n && 'boolean' != n && null != e && !yt(e)) || + !( + 'number' != n && + 'symbol' != n && + 'boolean' != n && + null != e && + !yt(e) + ) || (L.test(e) || !E.test(e) || (null != t && e in Object(t))) ) } @@ -46754,7 +57245,15 @@ and limitations under the License. return ( (t = fe(void 0 === t ? e.length - 1 : t, 0)), function() { - for (var n = arguments, r = -1, l = fe(n.length - t, 0), u = Array(l); ++r < l; ) u[r] = n[t + r] + for ( + var n = arguments, + r = -1, + l = fe(n.length - t, 0), + u = Array(l); + ++r < l; + + ) + u[r] = n[t + r] r = -1 for (var i = Array(t + 1); ++r < t; ) i[r] = n[r] return ( @@ -46779,7 +57278,9 @@ and limitations under the License. if (null == e) return [] var n = t.length return ( - n > 1 && Xe(e, t[0], t[1]) ? (t = []) : n > 2 && Xe(t[0], t[1], t[2]) && (t = [t[0]]), + n > 1 && Xe(e, t[0], t[1]) + ? (t = []) + : n > 2 && Xe(t[0], t[1], t[2]) && (t = [t[0]]), Ue( e, (function e(t, n, r, l, u) { @@ -46787,7 +57288,11 @@ and limitations under the License. o = t.length for (r || (r = Ke), u || (u = []); ++i < o; ) { var a = t[i] - n > 0 && r(a) ? (n > 1 ? e(a, n - 1, r, l, u) : V(u, a)) : l || (u[u.length] = a) + n > 0 && r(a) + ? n > 1 + ? e(a, n - 1, r, l, u) + : V(u, a) + : l || (u[u.length] = a) } return u })(t, 1), @@ -46796,7 +57301,8 @@ and limitations under the License. ) }) function ot(e, t) { - if ('function' != typeof e || (t && 'function' != typeof t)) throw new TypeError(r) + if ('function' != typeof e || (t && 'function' != typeof t)) + throw new TypeError(r) var n = function() { var r = arguments, l = t ? t.apply(this, r) : r[0], @@ -46860,7 +57366,10 @@ and limitations under the License. function r(e) { for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]) } - Object.defineProperty(t, '__esModule', { value: !0 }), r(n(567)), r(n(241)), r(n(569)) + Object.defineProperty(t, '__esModule', { value: !0 }), + r(n(567)), + r(n(241)), + r(n(569)) }, function(e, t, n) { 'use strict' @@ -46871,10 +57380,18 @@ and limitations under the License. i = n(241), o = n(116), a = n(103), - s = ['PossibleTypeExtensions', 'KnownTypeNames', 'UniqueDirectivesPerLocation'], + s = [ + 'PossibleTypeExtensions', + 'KnownTypeNames', + 'UniqueDirectivesPerLocation', + ], c = o.specifiedSDLRules.filter((e) => !s.includes(e.name)) function d(e) { - return Array.isArray(e) ? e.map((e) => (u.isNode(e) && u.isDocumentNode(e) ? { typeDefs: e } : e)) : [{ typeDefs: e }] + return Array.isArray(e) + ? e.map((e) => + u.isNode(e) && u.isDocumentNode(e) ? { typeDefs: e } : e, + ) + : [{ typeDefs: e }] } ;(t.modulesFromSDL = d), (t.buildSchemaFromSDL = function(e, t) { @@ -46913,10 +57430,17 @@ and limitations under the License. if ( ((g = r.extendSchema( g, - { kind: r.Kind.DOCUMENT, definitions: [...Object.values(s).flat(), ...v, ...m] }, + { + kind: r.Kind.DOCUMENT, + definitions: [...Object.values(s).flat(), ...v, ...m], + }, + { assumeValidSDL: !0 }, + )), + (g = r.extendSchema( + g, + { kind: r.Kind.DOCUMENT, definitions: Object.values(h).flat() }, { assumeValidSDL: !0 }, )), - (g = r.extendSchema(g, { kind: r.Kind.DOCUMENT, definitions: Object.values(h).flat() }, { assumeValidSDL: !0 })), y.length > 0 || _.length > 0) ) { b = {} @@ -46925,8 +57449,19 @@ and limitations under the License. .filter(a.isNotNullOrUndefined) .flat() for (const { operation: t, type: n } of e) b[t] = n.name.value - } else b = { query: 'Query', mutation: 'Mutation', subscription: 'Subscription' } - g = new r.GraphQLSchema(Object.assign({}, g.toConfig(), a.mapValues(b, (e) => (e ? g.getType(e) : void 0)))) + } else + b = { + query: 'Query', + mutation: 'Mutation', + subscription: 'Subscription', + } + g = new r.GraphQLSchema( + Object.assign( + {}, + g.toConfig(), + a.mapValues(b, (e) => (e ? g.getType(e) : void 0)), + ), + ) for (const e of n) e.resolvers && p(g, e.resolvers) return g }) @@ -46936,12 +57471,15 @@ and limitations under the License. [r.Kind.INTERFACE_TYPE_EXTENSION]: r.Kind.INTERFACE_TYPE_DEFINITION, [r.Kind.UNION_TYPE_EXTENSION]: r.Kind.UNION_TYPE_DEFINITION, [r.Kind.ENUM_TYPE_EXTENSION]: r.Kind.ENUM_TYPE_DEFINITION, - [r.Kind.INPUT_OBJECT_TYPE_EXTENSION]: r.Kind.INPUT_OBJECT_TYPE_DEFINITION, + [r.Kind.INPUT_OBJECT_TYPE_EXTENSION]: + r.Kind.INPUT_OBJECT_TYPE_DEFINITION, } function p(e, t) { for (const [n, l] of Object.entries(t)) { const t = e.getType(n) - if (r.isAbstractType(t)) for (const [e, n] of Object.entries(l)) e.startsWith('__') && (t[e.substring(2)] = n) + if (r.isAbstractType(t)) + for (const [e, n] of Object.entries(l)) + e.startsWith('__') && (t[e.substring(2)] = n) if (r.isScalarType(t)) for (const e in l) t[e] = l[e] if (r.isEnumType(t)) { const e = t.getValues(), @@ -46956,7 +57494,12 @@ and limitations under the License. name: e.name, } }), - Object.assign(t, new r.GraphQLEnumType(Object.assign({}, t.toConfig(), { values: n }))) + Object.assign( + t, + new r.GraphQLEnumType( + Object.assign({}, t.toConfig(), { values: n }), + ), + ) } if (!r.isObjectType(t)) continue const u = t.getFields() @@ -47011,16 +57554,23 @@ and limitations under the License. if (r.isObjectType(e)) { const t = e.toConfig() return new r.GraphQLObjectType( - Object.assign({}, t, { interfaces: () => t.interfaces.map(a), fields: () => c(t.fields) }), + Object.assign({}, t, { + interfaces: () => t.interfaces.map(a), + fields: () => c(t.fields), + }), ) } if (r.isInterfaceType(e)) { const t = e.toConfig() - return new r.GraphQLInterfaceType(Object.assign({}, t, { fields: () => c(t.fields) })) + return new r.GraphQLInterfaceType( + Object.assign({}, t, { fields: () => c(t.fields) }), + ) } if (r.isUnionType(e)) { const t = e.toConfig() - return new r.GraphQLUnionType(Object.assign({}, t, { types: () => t.types.map(a) })) + return new r.GraphQLUnionType( + Object.assign({}, t, { types: () => t.types.map(a) }), + ) } if (r.isInputObjectType(e)) { const t = e.toConfig() @@ -47028,7 +57578,9 @@ and limitations under the License. Object.assign({}, t, { fields: () => (function(e) { - return l.mapValues(e, (e) => Object.assign({}, e, { type: o(e.type) })) + return l.mapValues(e, (e) => + Object.assign({}, e, { type: o(e.type) }), + ) })(t.fields), }), ) @@ -47036,7 +57588,11 @@ and limitations under the License. return e } function o(e) { - return r.isListType(e) ? new r.GraphQLList(o(e.ofType)) : r.isNonNullType(e) ? new r.GraphQLNonNull(o(e.ofType)) : a(e) + return r.isListType(e) + ? new r.GraphQLList(o(e.ofType)) + : r.isNonNullType(e) + ? new r.GraphQLNonNull(o(e.ofType)) + : a(e) } function a(e) { const t = n[e.name] @@ -47046,10 +57602,17 @@ and limitations under the License. return e ? a(e) : void 0 } function c(e) { - return l.mapValues(e, (e) => Object.assign({}, e, { type: o(e.type), args: e.args ? d(e.args) : void 0 })) + return l.mapValues(e, (e) => + Object.assign({}, e, { + type: o(e.type), + args: e.args ? d(e.args) : void 0, + }), + ) } function d(e) { - return l.mapValues(e, (e) => Object.assign({}, e, { type: o(e.type) })) + return l.mapValues(e, (e) => + Object.assign({}, e, { type: o(e.type) }), + ) } } }, @@ -47067,11 +57630,15 @@ and limitations under the License. constructor(e) { ;(this.enabled = !1), (this.done = !1), - (this.treeBuilder = new l.EngineReportingTreeBuilder({ rewriteError: e.rewriteError })) + (this.treeBuilder = new l.EngineReportingTreeBuilder({ + rewriteError: e.rewriteError, + })) } requestDidStart(e) { const t = e.requestContext.request.http - t && 'ftv1' === t.headers.get('apollo-federation-include-trace') && (this.enabled = !0), + t && + 'ftv1' === t.headers.get('apollo-federation-include-trace') && + (this.enabled = !0), this.enabled && this.treeBuilder.startTiming() } willResolveField(e, t, n, r) { @@ -47085,7 +57652,10 @@ and limitations under the License. if (this.done) throw Error('format called twice?') this.treeBuilder.stopTiming(), (this.done = !0) const e = r.Trace.encode(this.treeBuilder.trace).finish() - return ['ftv1', Buffer.from(e, e.byteOffset, e.byteLength).toString('base64')] + return [ + 'ftv1', + Buffer.from(e, e.byteOffset, e.byteLength).toString('base64'), + ] } } }, @@ -47104,13 +57674,15 @@ and limitations under the License. return t >= e.length ? u : Number(e[t]) }), (this.offset = function(n) { - if ((t += n) < 0) throw new Error('Seeking past start of the buffer') + if ((t += n) < 0) + throw new Error('Seeking past start of the buffer') if (t > e.length) throw new Error('Seeking past EOF') }), (this.match = function(n) { if (n.length > t + e.length) return !1 var r - for (r = 0; r < n.length; r += 1) if (Number(e[t + r]) !== n[r]) return !1 + for (r = 0; r < n.length; r += 1) + if (Number(e[t + r]) !== n[r]) return !1 return !0 }) } @@ -47119,7 +57691,8 @@ and limitations under the License. this.emit = function(n) { var r, l = u - for (r = 0; r < arguments.length; ++r) (l = Number(arguments[r])), (e[t++] = l) + for (r = 0; r < arguments.length; ++r) + (l = Number(arguments[r])), (e[t++] = l) return l } } @@ -47185,11 +57758,22 @@ and limitations under the License. } d.prototype = Error.prototype var m = [ - { encodings: [{ labels: ['unicode-1-1-utf-8', 'utf-8', 'utf8'], name: 'utf-8' }], heading: 'The Encoding' }, { encodings: [ - { labels: ['864', 'cp864', 'csibm864', 'ibm864'], name: 'ibm864' }, - { labels: ['866', 'cp866', 'csibm866', 'ibm866'], name: 'ibm866' }, + { labels: ['unicode-1-1-utf-8', 'utf-8', 'utf8'], name: 'utf-8' }, + ], + heading: 'The Encoding', + }, + { + encodings: [ + { + labels: ['864', 'cp864', 'csibm864', 'ibm864'], + name: 'ibm864', + }, + { + labels: ['866', 'cp866', 'csibm866', 'ibm866'], + name: 'ibm866', + }, { labels: [ 'csisolatin2', @@ -47297,21 +57881,70 @@ and limitations under the License. ], name: 'iso-8859-8', }, - { labels: ['csiso88598i', 'iso-8859-8-i', 'logical'], name: 'iso-8859-8-i' }, { - labels: ['csisolatin6', 'iso-8859-10', 'iso-ir-157', 'iso8859-10', 'iso885910', 'l6', 'latin6'], + labels: ['csiso88598i', 'iso-8859-8-i', 'logical'], + name: 'iso-8859-8-i', + }, + { + labels: [ + 'csisolatin6', + 'iso-8859-10', + 'iso-ir-157', + 'iso8859-10', + 'iso885910', + 'l6', + 'latin6', + ], name: 'iso-8859-10', }, - { labels: ['iso-8859-13', 'iso8859-13', 'iso885913'], name: 'iso-8859-13' }, - { labels: ['iso-8859-14', 'iso8859-14', 'iso885914'], name: 'iso-8859-14' }, - { labels: ['csisolatin9', 'iso-8859-15', 'iso8859-15', 'iso885915', 'iso_8859-15', 'l9'], name: 'iso-8859-15' }, + { + labels: ['iso-8859-13', 'iso8859-13', 'iso885913'], + name: 'iso-8859-13', + }, + { + labels: ['iso-8859-14', 'iso8859-14', 'iso885914'], + name: 'iso-8859-14', + }, + { + labels: [ + 'csisolatin9', + 'iso-8859-15', + 'iso8859-15', + 'iso885915', + 'iso_8859-15', + 'l9', + ], + name: 'iso-8859-15', + }, { labels: ['iso-8859-16'], name: 'iso-8859-16' }, - { labels: ['cskoi8r', 'koi', 'koi8', 'koi8-r', 'koi8_r'], name: 'koi8-r' }, + { + labels: ['cskoi8r', 'koi', 'koi8', 'koi8-r', 'koi8_r'], + name: 'koi8-r', + }, { labels: ['koi8-u'], name: 'koi8-u' }, - { labels: ['csmacintosh', 'mac', 'macintosh', 'x-mac-roman'], name: 'macintosh' }, - { labels: ['dos-874', 'iso-8859-11', 'iso8859-11', 'iso885911', 'tis-620', 'windows-874'], name: 'windows-874' }, - { labels: ['cp1250', 'windows-1250', 'x-cp1250'], name: 'windows-1250' }, - { labels: ['cp1251', 'windows-1251', 'x-cp1251'], name: 'windows-1251' }, + { + labels: ['csmacintosh', 'mac', 'macintosh', 'x-mac-roman'], + name: 'macintosh', + }, + { + labels: [ + 'dos-874', + 'iso-8859-11', + 'iso8859-11', + 'iso885911', + 'tis-620', + 'windows-874', + ], + name: 'windows-874', + }, + { + labels: ['cp1250', 'windows-1250', 'x-cp1250'], + name: 'windows-1250', + }, + { + labels: ['cp1251', 'windows-1251', 'x-cp1251'], + name: 'windows-1251', + }, { labels: [ 'ansi_x3.4-1968', @@ -47334,7 +57967,10 @@ and limitations under the License. ], name: 'windows-1252', }, - { labels: ['cp1253', 'windows-1253', 'x-cp1253'], name: 'windows-1253' }, + { + labels: ['cp1253', 'windows-1253', 'x-cp1253'], + name: 'windows-1253', + }, { labels: [ 'cp1254', @@ -47352,11 +57988,26 @@ and limitations under the License. ], name: 'windows-1254', }, - { labels: ['cp1255', 'windows-1255', 'x-cp1255'], name: 'windows-1255' }, - { labels: ['cp1256', 'windows-1256', 'x-cp1256'], name: 'windows-1256' }, - { labels: ['cp1257', 'windows-1257', 'x-cp1257'], name: 'windows-1257' }, - { labels: ['cp1258', 'windows-1258', 'x-cp1258'], name: 'windows-1258' }, - { labels: ['x-mac-cyrillic', 'x-mac-ukrainian'], name: 'x-mac-cyrillic' }, + { + labels: ['cp1255', 'windows-1255', 'x-cp1255'], + name: 'windows-1255', + }, + { + labels: ['cp1256', 'windows-1256', 'x-cp1256'], + name: 'windows-1256', + }, + { + labels: ['cp1257', 'windows-1257', 'x-cp1257'], + name: 'windows-1257', + }, + { + labels: ['cp1258', 'windows-1258', 'x-cp1258'], + name: 'windows-1258', + }, + { + labels: ['x-mac-cyrillic', 'x-mac-ukrainian'], + name: 'x-mac-cyrillic', + }, ], heading: 'Legacy single-byte encodings', }, @@ -47382,15 +58033,31 @@ and limitations under the License. heading: 'Legacy multi-byte Chinese (simplified) encodings', }, { - encodings: [{ labels: ['big5', 'big5-hkscs', 'cn-big5', 'csbig5', 'x-x-big5'], name: 'big5' }], + encodings: [ + { + labels: ['big5', 'big5-hkscs', 'cn-big5', 'csbig5', 'x-x-big5'], + name: 'big5', + }, + ], heading: 'Legacy multi-byte Chinese (traditional) encodings', }, { encodings: [ - { labels: ['cseucpkdfmtjapanese', 'euc-jp', 'x-euc-jp'], name: 'euc-jp' }, + { + labels: ['cseucpkdfmtjapanese', 'euc-jp', 'x-euc-jp'], + name: 'euc-jp', + }, { labels: ['csiso2022jp', 'iso-2022-jp'], name: 'iso-2022-jp' }, { - labels: ['csshiftjis', 'ms_kanji', 'shift-jis', 'shift_jis', 'sjis', 'windows-31j', 'x-sjis'], + labels: [ + 'csshiftjis', + 'ms_kanji', + 'shift-jis', + 'shift_jis', + 'sjis', + 'windows-31j', + 'x-sjis', + ], name: 'shift_jis', }, ], @@ -47418,7 +58085,15 @@ and limitations under the License. }, { encodings: [ - { labels: ['csiso2022kr', 'iso-2022-cn', 'iso-2022-cn-ext', 'iso-2022-kr'], name: 'replacement' }, + { + labels: [ + 'csiso2022kr', + 'iso-2022-cn', + 'iso-2022-cn-ext', + 'iso-2022-kr', + ], + name: 'replacement', + }, { labels: ['utf-16be'], name: 'utf-16be' }, { labels: ['utf-16', 'utf-16le'], name: 'utf-16le' }, { labels: ['x-user-defined'], name: 'x-user-defined' }, @@ -47472,9 +58147,12 @@ and limitations under the License. w.prototype = { decode: function(e, t) { ;(t = Object(t)), - this._streaming || ((this._decoder = this._encoding.getDecoder(this._options)), (this._BOMseen = !1)), + this._streaming || + ((this._decoder = this._encoding.getDecoder(this._options)), + (this._BOMseen = !1)), (this._streaming = Boolean(t.stream)) - for (var n, r = new o(e), l = new c(); r.get() !== u; ) null !== (n = this._decoder.decode(r)) && n !== i && l.emit(n) + for (var n, r = new o(e), l = new c(); r.get() !== u; ) + null !== (n = this._decoder.decode(r)) && n !== i && l.emit(n) if (!this._streaming) { do { null !== (n = this._decoder.decode(r)) && n !== i && l.emit(n) @@ -47485,7 +58163,10 @@ and limitations under the License. return ( !this._BOMseen && a.length && - ((this._BOMseen = !0), -1 !== O.indexOf(this.encoding) && 65279 === a.charCodeAt(0) && (a = a.substring(1))), + ((this._BOMseen = !0), + -1 !== O.indexOf(this.encoding) && + 65279 === a.charCodeAt(0) && + (a = a.substring(1))), a ) }, @@ -47498,7 +58179,9 @@ and limitations under the License. (t = Object(t)), (this._encoding = h(e)), null === this._encoding || - ('utf-8' !== this._encoding.name && 'utf-16le' !== this._encoding.name && 'utf-16be' !== this._encoding.name)) + ('utf-8' !== this._encoding.name && + 'utf-16le' !== this._encoding.name && + 'utf-16be' !== this._encoding.name)) ) throw new TypeError('Unknown encoding: ' + e) return ( @@ -47534,11 +58217,19 @@ and limitations under the License. } return (n *= Math.pow(64, l)), null } - if (!r(s, 128, 191)) return (n = 0), (l = 0), (o = 0), (a = 0), e.offset(-1), f(t) - if (((o += 1), (n += (s - 128) * Math.pow(64, l - o)), o !== l)) return null + if (!r(s, 128, 191)) + return (n = 0), (l = 0), (o = 0), (a = 0), e.offset(-1), f(t) + if (((o += 1), (n += (s - 128) * Math.pow(64, l - o)), o !== l)) + return null var c = n, d = a - return (n = 0), (l = 0), (o = 0), (a = 0), r(c, d, 1114111) && !r(c, 55296, 57343) ? c : f(t) + return ( + (n = 0), + (l = 0), + (o = 0), + (a = 0), + r(c, d, 1114111) && !r(c, 55296, 57343) ? c : f(t) + ) } } function L(e) { @@ -47591,7 +58282,13 @@ and limitations under the License. var s, c = t.get() if (c === u && 0 === l && 0 === o && 0 === a) return i - if ((c !== u || (0 === l && 0 === o && 0 === a) || ((l = 0), (o = 0), (a = 0), f(n)), t.offset(1), 0 !== a)) + if ( + (c !== u || + (0 === l && 0 === o && 0 === a) || + ((l = 0), (o = 0), (a = 0), f(n)), + t.offset(1), + 0 !== a) + ) return ( (s = null), r(c, 48, 57) && @@ -47607,13 +58304,18 @@ and limitations under the License. ;(n = u[0]), (r = u[1]) } return r + e - n - })(10 * (126 * (10 * (l - 129) + (o - 48)) + (a - 129)) + c - 48)), + })( + 10 * (126 * (10 * (l - 129) + (o - 48)) + (a - 129)) + c - 48, + )), (l = 0), (o = 0), (a = 0), null === s ? (t.offset(-3), f(n)) : s ) - if (0 !== o) return r(c, 129, 254) ? ((a = c), null) : (t.offset(-2), (l = 0), (o = 0), f(n)) + if (0 !== o) + return r(c, 129, 254) + ? ((a = c), null) + : (t.offset(-2), (l = 0), (o = 0), f(n)) if (0 !== l) { if (r(c, 48, 57) && e) return (o = c), null var d = l, @@ -47621,13 +58323,20 @@ and limitations under the License. l = 0 var h = c < 127 ? 64 : 65 return ( - (r(c, 64, 126) || r(c, 128, 254)) && (p = 190 * (d - 129) + (c - h)), + (r(c, 64, 126) || r(c, 128, 254)) && + (p = 190 * (d - 129) + (c - h)), (s = null === p ? null : g(p, b.gbk)), null === p && t.offset(-1), null === s ? f(n) : s ) } - return r(c, 0, 127) ? c : 128 === c ? 8364 : r(c, 129, 254) ? ((l = c), null) : f(n) + return r(c, 0, 127) + ? c + : 128 === c + ? 8364 + : r(c, 129, 254) + ? ((l = c), null) + : f(n) } } function j(e, t) { @@ -47696,7 +58405,11 @@ and limitations under the License. var a = l l = 0 var s = null - return r(o, 33, 126) && (s = g(190 * (a - 1) + (o + 63), b.gbk)), 10 === o && (n = !1), null === s ? f(t) : s + return ( + r(o, 33, 126) && (s = g(190 * (a - 1) + (o + 63), b.gbk)), + 10 === o && (n = !1), + null === s ? f(t) : s + ) } return 126 === o ? ((l = 126), null) @@ -47715,7 +58428,8 @@ and limitations under the License. this.encode = function(e, n) { var o = n.get() if (o === i) return u - if ((n.offset(1), r(o, 0, 127) && t)) return n.offset(-1), (t = !1), e.emit(126, 125) + if ((n.offset(1), r(o, 0, 127) && t)) + return n.offset(-1), (t = !1), e.emit(126, 125) if (126 === o) return e.emit(126, 126) if (r(o, 0, 127)) return e.emit(o) if (!t) return n.offset(-1), (t = !0), e.emit(126, 123) @@ -47743,7 +58457,12 @@ and limitations under the License. c = null n = 0 var d = a < 127 ? 64 : 98 - if (((r(a, 64, 126) || r(a, 161, 254)) && (c = 157 * (s - 129) + (a - d)), 1133 === c)) return (l = 772), 202 + if ( + ((r(a, 64, 126) || r(a, 161, 254)) && + (c = 157 * (s - 129) + (a - d)), + 1133 === c) + ) + return (l = 772), 202 if (1135 === c) return (l = 780), 202 if (1164 === c) return (l = 772), 234 if (1166 === c) return (l = 780), 234 @@ -47784,7 +58503,9 @@ and limitations under the License. ? ((o = l), (l = 0), (a = null), - r(o, 161, 254) && r(s, 161, 254) && (a = g(94 * (o - 161) + s - 161, b.jis0212)), + r(o, 161, 254) && + r(s, 161, 254) && + (a = g(94 * (o - 161) + s - 161, b.jis0212)), r(s, 161, 254) || e.offset(-1), null === a ? f(t) : a) : 142 === n && r(s, 161, 223) @@ -47795,7 +58516,9 @@ and limitations under the License. ? ((o = n), (n = 0), (a = null), - r(o, 161, 254) && r(s, 161, 254) && (a = g(94 * (o - 161) + s - 161, b.jis0208)), + r(o, 161, 254) && + r(s, 161, 254) && + (a = g(94 * (o - 161) + s - 161, b.jis0208)), r(s, 161, 254) || e.offset(-1), null === a ? f(t) : a) : r(s, 0, 127) @@ -47838,9 +58561,17 @@ and limitations under the License. switch ((y !== u && e.offset(1), p)) { default: case n: - return 27 === y ? ((p = l), null) : r(y, 0, 127) ? y : y === u ? i : f(t) + return 27 === y + ? ((p = l), null) + : r(y, 0, 127) + ? y + : y === u + ? i + : f(t) case l: - return 36 === y || 40 === y ? ((m = y), (p = o), null) : (y !== u && e.offset(-1), (p = n), f(t)) + return 36 === y || 40 === y + ? ((m = y), (p = o), null) + : (y !== u && e.offset(-1), (p = n), f(t)) case o: var _ = m return ( @@ -47856,16 +58587,35 @@ and limitations under the License. : ((h = !1), (p = s), null) ) case a: - return 68 === y ? ((h = !0), (p = s), null) : (y === u ? e.offset(-2) : e.offset(-3), (p = n), f(t)) + return 68 === y + ? ((h = !0), (p = s), null) + : (y === u ? e.offset(-2) : e.offset(-3), (p = n), f(t)) case s: - return 10 === y ? ((p = n), f(t, 10)) : 27 === y ? ((p = l), null) : y === u ? i : ((m = y), (p = c), null) + return 10 === y + ? ((p = n), f(t, 10)) + : 27 === y + ? ((p = l), null) + : y === u + ? i + : ((m = y), (p = c), null) case c: if (((p = s), y === u)) return f(t) var v = null, T = 94 * (m - 33) + y - 33 - return r(m, 33, 126) && r(y, 33, 126) && (v = g(T, !1 === h ? b.jis0208 : b.jis0212)), null === v ? f(t) : v + return ( + r(m, 33, 126) && + r(y, 33, 126) && + (v = g(T, !1 === h ? b.jis0208 : b.jis0212)), + null === v ? f(t) : v + ) case d: - return 27 === y ? ((p = l), null) : r(y, 33, 95) ? 65377 + y - 33 : y === u ? i : f(t) + return 27 === y + ? ((p = l), null) + : r(y, 33, 95) + ? 65377 + y - 33 + : y === u + ? i + : f(t) } } } @@ -47878,12 +58628,15 @@ and limitations under the License. this.encode = function(e, s) { var c = s.get() if (c === i) return u - if ((s.offset(1), (r(c, 0, 127) || 165 === c || 8254 === c) && a !== t)) + if ( + (s.offset(1), (r(c, 0, 127) || 165 === c || 8254 === c) && a !== t) + ) return s.offset(-1), (a = t), e.emit(27, 40, 66) if (r(c, 0, 127)) return e.emit(c) if (165 === c) return e.emit(92) if (8254 === c) return e.emit(126) - if (r(c, 65377, 65439) && a !== o) return s.offset(-1), (a = o), e.emit(27, 40, 73) + if (r(c, 65377, 65439) && a !== o) + return s.offset(-1), (a = o), e.emit(27, 40, 73) if (r(c, 65377, 65439)) return e.emit(c - 65377 - 33) if (a !== n) return s.offset(-1), (a = n), e.emit(27, 36, 66) var d = v(c, b.jis0208) @@ -47903,12 +58656,21 @@ and limitations under the License. if ((e.offset(1), 0 !== n)) { var o = n if (((n = 0), r(l, 64, 126) || r(l, 128, 252))) { - var a = g(188 * (o - (o < 160 ? 129 : 193)) + l - (l < 127 ? 64 : 65), b.jis0208) + var a = g( + 188 * (o - (o < 160 ? 129 : 193)) + l - (l < 127 ? 64 : 65), + b.jis0208, + ) return null === a ? f(t) : a } return e.offset(-1), f(t) } - return r(l, 0, 128) ? l : r(l, 161, 223) ? 65377 + l - 161 : r(l, 129, 159) || r(l, 224, 252) ? ((n = l), null) : f(t) + return r(l, 0, 128) + ? l + : r(l, 161, 223) + ? 65377 + l - 161 + : r(l, 129, 159) || r(l, 224, 252) + ? ((n = l), null) + : f(t) } } function B(e) { @@ -47947,7 +58709,9 @@ and limitations under the License. ? (a = s + 26 + l - 97) : r(l, 129, 254) && (a = s + 26 + 26 + l - 129) } - r(o, 199, 253) && r(l, 161, 254) && (a = 12460 + 94 * (o - 199) + (l - 161)) + r(o, 199, 253) && + r(l, 161, 254) && + (a = 12460 + 94 * (o - 199) + (l - 161)) var c = null === a ? null : g(a, b['euc-kr']) return null === a && e.offset(-1), null === c ? f(t) : c } @@ -47969,7 +58733,9 @@ and limitations under the License. var c = (a = s % 178) < 26 ? 65 : a < 52 ? 71 : 77 return e.emit(o, a + c) } - return (o = l((s -= 12460), 94) + 199), (a = (s % 94) + 161), e.emit(o, a) + return ( + (o = l((s -= 12460), 94) + 199), (a = (s % 94) + 161), e.emit(o, a) + ) } } function Q(e, t) { @@ -47984,9 +58750,18 @@ and limitations under the License. if ((t.offset(1), null === l)) return (l = s), null if (((a = e ? (l << 8) + s : (s << 8) + l), (l = null), null !== o)) { var c = o - return (o = null), r(a, 56320, 57343) ? 65536 + 1024 * (c - 55296) + (a - 56320) : (t.offset(-2), f(n)) + return ( + (o = null), + r(a, 56320, 57343) + ? 65536 + 1024 * (c - 55296) + (a - 56320) + : (t.offset(-2), f(n)) + ) } - return r(a, 55296, 56319) ? ((o = a), null) : r(a, 56320, 57343) ? f(n) : a + return r(a, 55296, 56319) + ? ((o = a), null) + : r(a, 56320, 57343) + ? f(n) + : a } } function U(e, t) { @@ -48008,9 +58783,11 @@ and limitations under the License. encode: function(e, t) { ;(e = e ? String(e) : ''), (t = Object(t)), - this._streaming || (this._encoder = this._encoding.getEncoder(this._options)), + this._streaming || + (this._encoder = this._encoding.getEncoder(this._options)), (this._streaming = Boolean(t.stream)) - for (var n = [], r = new a(n), l = new s(e); l.get() !== i; ) this._encoder.encode(r, l) + for (var n = [], r = new a(n), l = new s(e); l.get() !== i; ) + this._encoder.encode(r, l) if (!this._streaming) { var o do { @@ -133471,7 +144248,8 @@ and limitations under the License. ;(e._done = !0), e.emit('finish') })) } - if ('string' != typeof l) throw new Error('Multipart: Boundary not found') + if ('string' != typeof l) + throw new Error('Multipart: Boundary not found') var D, E, L = g && 'number' == typeof g.fieldSize ? g.fieldSize : 1048576, @@ -133483,7 +144261,11 @@ and limitations under the License. N = 0, A = 0, P = !1 - ;(this._needDrain = !1), (this._pause = !1), (this._cb = void 0), (this._nparts = 0), (this._boy = e) + ;(this._needDrain = !1), + (this._pause = !1), + (this._cb = void 0), + (this._nparts = 0), + (this._boy = e) var x = { boundary: l, maxHeaderPairs: g && g.headerPairs } w.highWaterMark && (x.partHwm = w.highWaterMark), t.highWaterMark && (x.highWaterMark = t.highWaterMark), @@ -133498,7 +144280,11 @@ and limitations under the License. .on('part', function t(l) { if (++_._nparts > j) return ( - _.parser.removeListener('part', t), _.parser.on('part', m), (e.hitPartsLimit = !0), e.emit('partsLimit'), m(l) + _.parser.removeListener('part', t), + _.parser.on('part', m), + (e.hitPartsLimit = !0), + e.emit('partsLimit'), + m(l) ) if (E) { var u = E @@ -133520,17 +144306,31 @@ and limitations under the License. g = h[n][1].toLowerCase() break } - if ((void 0 === u && (u = 'text/plain'), void 0 === g && (g = b), !t['content-disposition'])) return m(l) - if (((h = i(t['content-disposition'][0])), !c.test(h[0]))) return m(l) + if ( + (void 0 === u && (u = 'text/plain'), + void 0 === g && (g = b), + !t['content-disposition']) + ) + return m(l) + if (((h = i(t['content-disposition'][0])), !c.test(h[0]))) + return m(l) for (n = 0, r = h.length; n < r; ++n) p.test(h[n][0]) ? (s = o(h[n][1], 'binary', 'utf8')) - : f.test(h[n][0]) && ((j = o(h[n][1], 'binary', 'utf8')), T || (j = a(j))) + : f.test(h[n][0]) && + ((j = o(h[n][1], 'binary', 'utf8')), T || (j = a(j))) if ( - ((v = t['content-transfer-encoding'] ? t['content-transfer-encoding'][0].toLowerCase() : '7bit'), + ((v = t['content-transfer-encoding'] + ? t['content-transfer-encoding'][0].toLowerCase() + : '7bit'), 'application/octet-stream' === u || void 0 !== j) ) { - if (C === S) return e.hitFilesLimit || ((e.hitFilesLimit = !0), e.emit('filesLimit')), m(l) + if (C === S) + return ( + e.hitFilesLimit || + ((e.hitFilesLimit = !0), e.emit('filesLimit')), + m(l) + ) if ((++C, !e._events.file)) return void _.parser._ignore() ++A var I = new y(w) @@ -133542,7 +144342,10 @@ and limitations under the License. } }), (I._read = function(e) { - if (_._pause && ((_._pause = !1), _._cb && !_._needDrain)) { + if ( + _._pause && + ((_._pause = !1), _._cb && !_._needDrain) + ) { var t = _._cb ;(_._cb = void 0), t() } @@ -133551,14 +144354,22 @@ and limitations under the License. (P = function(e) { if ((Y += e.length) > M) { var t = M - (Y - e.length) - t > 0 && I.push(e.slice(0, t)), I.emit('limit'), (I.truncated = !0), l.removeAllListeners('data') + t > 0 && I.push(e.slice(0, t)), + I.emit('limit'), + (I.truncated = !0), + l.removeAllListeners('data') } else I.push(e) || (_._pause = !0) }), (x = function() { ;(D = void 0), I.push(null) }) } else { - if (N === k) return e.hitFieldsLimit || ((e.hitFieldsLimit = !0), e.emit('fieldsLimit')), m(l) + if (N === k) + return ( + e.hitFieldsLimit || + ((e.hitFieldsLimit = !0), e.emit('fieldsLimit')), + m(l) + ) ++N, ++A var F = '', R = !1 @@ -133566,11 +144377,17 @@ and limitations under the License. (P = function(e) { if ((Y += e.length) > L) { var t = L - (Y - e.length) - ;(F += e.toString('binary', 0, t)), (R = !0), l.removeAllListeners('data') + ;(F += e.toString('binary', 0, t)), + (R = !0), + l.removeAllListeners('data') } else F += e.toString('binary') }), (x = function() { - ;(E = void 0), F.length && (F = o(F, 'binary', g)), e.emit('field', s, F, !1, R, v, u), --A, O() + ;(E = void 0), + F.length && (F = o(F, 'binary', g)), + e.emit('field', s, F, !1, R, v, u), + --A, + O() }) } ;(l._readableState.sync = !1), l.on('data', P), l.on('end', x) @@ -133595,7 +144412,9 @@ and limitations under the License. ;(h.detect = /^multipart\/form-data/i), (h.prototype.write = function(e, t) { var n - ;(n = this.parser.write(e)) && !this._pause ? t() : ((this._needDrain = !n), (this._cb = t)) + ;(n = this.parser.write(e)) && !this._pause + ? t() + : ((this._needDrain = !n), (this._cb = t)) }), (h.prototype.end = function() { var e = this @@ -133620,8 +144439,14 @@ and limitations under the License. c = function() {} function d(e) { if (!(this instanceof d)) return new d(e) - if ((r.call(this, e), !e || (!e.headerFirst && 'string' != typeof e.boundary))) throw new TypeError('Boundary required') - 'string' == typeof e.boundary ? this.setBoundary(e.boundary) : (this._bparser = void 0), + if ( + (r.call(this, e), + !e || (!e.headerFirst && 'string' != typeof e.boundary)) + ) + throw new TypeError('Boundary required') + 'string' == typeof e.boundary + ? this.setBoundary(e.boundary) + : (this._bparser = void 0), (this._headerFirst = e.headerFirst) var t = this ;(this._dashes = 0), @@ -133635,7 +144460,8 @@ and limitations under the License. (this._part = void 0), (this._cb = void 0), (this._ignoreData = !1), - (this._partOpts = 'number' == typeof e.partHwm ? { highWaterMark: e.partHwm } : {}), + (this._partOpts = + 'number' == typeof e.partHwm ? { highWaterMark: e.partHwm } : {}), (this._pause = !1), (this._hparser = new o(e)), this._hparser.on('header', function(e) { @@ -133644,17 +144470,29 @@ and limitations under the License. } l(d, r), (d.prototype.emit = function(e) { - if ('finish' !== e || this._realFinish) r.prototype.emit.apply(this, arguments) + if ('finish' !== e || this._realFinish) + r.prototype.emit.apply(this, arguments) else if (!this._finished) { var t = this process.nextTick(function() { - if ((t.emit('error', new Error('Unexpected end of multipart data')), t._part && !t._ignoreData)) { + if ( + (t.emit('error', new Error('Unexpected end of multipart data')), + t._part && !t._ignoreData) + ) { var e = t._isPreamble ? 'Preamble' : 'Part' return ( - t._part.emit('error', new Error(e + ' terminated early due to unexpected end of multipart data')), + t._part.emit( + 'error', + new Error( + e + + ' terminated early due to unexpected end of multipart data', + ), + ), t._part.push(null), void process.nextTick(function() { - ;(t._realFinish = !0), t.emit('finish'), (t._realFinish = !1) + ;(t._realFinish = !0), + t.emit('finish'), + (t._realFinish = !1) }) ) } @@ -133666,7 +144504,10 @@ and limitations under the License. if (!this._hparser && !this._bparser) return n() if (this._headerFirst && this._isPreamble) { this._part || - ((this._part = new i(this._partOpts)), this._events.preamble ? this.emit('preamble', this._part) : this._ignore()) + ((this._part = new i(this._partOpts)), + this._events.preamble + ? this.emit('preamble', this._part) + : this._ignore()) var r = this._hparser.push(e) if (this._inHeader || void 0 === r || !(r < e.length)) return n() e = e.slice(r) @@ -133676,7 +144517,9 @@ and limitations under the License. this._pause ? (this._cb = n) : n() }), (d.prototype.reset = function() { - ;(this._part = void 0), (this._bparser = void 0), (this._hparser = void 0) + ;(this._part = void 0), + (this._bparser = void 0), + (this._hparser = void 0) }), (d.prototype.setBoundary = function(e) { var t = this @@ -133686,7 +144529,11 @@ and limitations under the License. }) }), (d.prototype._ignore = function() { - this._part && !this._ignoreData && ((this._ignoreData = !0), this._part.on('error', c), this._part.resume()) + this._part && + !this._ignoreData && + ((this._ignoreData = !0), + this._part.on('error', c), + this._part.resume()) }), (d.prototype._oninfo = function(e, t, n, r) { var l, @@ -133704,10 +144551,15 @@ and limitations under the License. } if ( (2 === this._dashes && - (n + c < r && this._events.trailer && this.emit('trailer', t.slice(n + c, r)), + (n + c < r && + this._events.trailer && + this.emit('trailer', t.slice(n + c, r)), this.reset(), (this._finished = !0), - 0 === s._parts && ((s._realFinish = !0), s.emit('finish'), (s._realFinish = !1))), + 0 === s._parts && + ((s._realFinish = !0), + s.emit('finish'), + (s._realFinish = !1))), this._dashes) ) return @@ -133725,12 +144577,16 @@ and limitations under the License. n < r && !this._ignoreData && (this._isPreamble || !this._inHeader - ? (l && this._part.push(l), this._part.push(t.slice(n, r)) || (this._pause = !0)) + ? (l && this._part.push(l), + this._part.push(t.slice(n, r)) || (this._pause = !0)) : !this._isPreamble && this._inHeader && (l && this._hparser.push(l), (u = this._hparser.push(t.slice(n, r))), - !this._inHeader && void 0 !== u && u < r && this._oninfo(!1, t, n + u, r))), + !this._inHeader && + void 0 !== u && + u < r && + this._oninfo(!1, t, n + u, r))), e && (this._hparser.reset(), this._isPreamble @@ -133738,7 +144594,11 @@ and limitations under the License. : (++this._parts, this._part.on('end', function() { 0 == --s._parts && - (s._finished ? ((s._realFinish = !0), s.emit('finish'), (s._realFinish = !1)) : s._unpause()) + (s._finished + ? ((s._realFinish = !0), + s.emit('finish'), + (s._realFinish = !1)) + : s._unpause()) })), this._part.push(null), (this._part = void 0), @@ -133777,7 +144637,8 @@ and limitations under the License. ;(this.nread = 0), (this.maxed = !1), (this.npairs = 0), - (this.maxHeaderPairs = e && 'number' == typeof e.maxHeaderPairs ? e.maxHeaderPairs : s), + (this.maxHeaderPairs = + e && 'number' == typeof e.maxHeaderPairs ? e.maxHeaderPairs : s), (this.buffer = ''), (this.header = {}), (this.finished = !1), @@ -133785,7 +144646,9 @@ and limitations under the License. this.ss.on('info', function(e, n, r, l) { n && !t.maxed && - (t.nread + (l - r) > c ? ((l = c - t.nread), (t.nread = c)) : (t.nread += l - r), + (t.nread + (l - r) > c + ? ((l = c - t.nread), (t.nread = c)) + : (t.nread += l - r), t.nread === c && (t.maxed = !0), (t.buffer += n.toString('binary', r, l))), e && t._finish() @@ -133797,10 +144660,14 @@ and limitations under the License. if (this.finished) return t }), (d.prototype.reset = function() { - ;(this.finished = !1), (this.buffer = ''), (this.header = {}), this.ss.reset() + ;(this.finished = !1), + (this.buffer = ''), + (this.header = {}), + this.ss.reset() }), (d.prototype._finish = function() { - this.buffer && this._parseHeader(), (this.ss.matches = this.ss.maxMatches) + this.buffer && this._parseHeader(), + (this.ss.matches = this.ss.maxMatches) var e = this.header ;(this.header = {}), (this.buffer = ''), @@ -133811,9 +144678,14 @@ and limitations under the License. }), (d.prototype._parseHeader = function() { if (this.npairs !== this.maxHeaderPairs) { - for (var e, t, n = this.buffer.split(o), r = n.length, l = !1, u = 0; u < r; ++u) + for ( + var e, t, n = this.buffer.split(o), r = n.length, l = !1, u = 0; + u < r; + ++u + ) if (0 !== n[u].length) - if ('\t' === n[u][0] || ' ' === n[u][0]) this.header[t][this.header[t].length - 1] += n[u] + if ('\t' === n[u][0] || ' ' === n[u][0]) + this.header[t][this.header[t].length - 1] += n[u] else { if (!(e = a.exec(n[u]))) { ;(this.buffer = n[u]), (l = !0) @@ -133845,9 +144717,12 @@ and limitations under the License. l = t.limits, o = (t.headers, t.parsedConType) ;(this.boy = e), - (this.fieldSizeLimit = l && 'number' == typeof l.fieldSize ? l.fieldSize : 1048576), - (this.fieldNameSizeLimit = l && 'number' == typeof l.fieldNameSize ? l.fieldNameSize : 100), - (this.fieldsLimit = l && 'number' == typeof l.fields ? l.fields : 1 / 0) + (this.fieldSizeLimit = + l && 'number' == typeof l.fieldSize ? l.fieldSize : 1048576), + (this.fieldNameSizeLimit = + l && 'number' == typeof l.fieldNameSize ? l.fieldNameSize : 100), + (this.fieldsLimit = + l && 'number' == typeof l.fields ? l.fields : 1 / 0) for (var a = 0, s = o.length; a < s; ++a) if (Array.isArray(o[a]) && u.test(o[a][0])) { n = o[a][1].toLowerCase() @@ -133870,7 +144745,11 @@ and limitations under the License. ;(i.detect = /^application\/x-www-form-urlencoded/i), (i.prototype.write = function(e, t) { if (this._fields === this.fieldsLimit) - return this.boy.hitFieldsLimit || ((this.boy.hitFieldsLimit = !0), this.boy.emit('fieldsLimit')), t() + return ( + this.boy.hitFieldsLimit || + ((this.boy.hitFieldsLimit = !0), this.boy.emit('fieldsLimit')), + t() + ) for (var n, r, u, i = 0, o = e.length; i < o; ) if ('key' === this._state) { for (n = r = void 0, u = i; u < o; ++u) { @@ -133882,14 +144761,18 @@ and limitations under the License. r = u break } - if (this._checkingBytes && this._bytesKey === this.fieldNameSizeLimit) { + if ( + this._checkingBytes && + this._bytesKey === this.fieldNameSizeLimit + ) { this._hitLimit = !0 break } this._checkingBytes && ++this._bytesKey } if (void 0 !== n) - n > i && (this._key += this.decoder.write(e.toString('binary', i, n))), + n > i && + (this._key += this.decoder.write(e.toString('binary', i, n))), (this._state = 'val'), (this._hitLimit = !1), (this._checkingBytes = !0), @@ -133903,32 +144786,55 @@ and limitations under the License. var a, s = this._keyTrunc if ( - ((a = r > i ? (this._key += this.decoder.write(e.toString('binary', i, r))) : this._key), + ((a = + r > i + ? (this._key += this.decoder.write( + e.toString('binary', i, r), + )) + : this._key), (this._hitLimit = !1), (this._checkingBytes = !0), (this._key = ''), (this._bytesKey = 0), (this._keyTrunc = !1), this.decoder.reset(), - a.length && this.boy.emit('field', l(a, 'binary', this.charset), '', s, !1), + a.length && + this.boy.emit( + 'field', + l(a, 'binary', this.charset), + '', + s, + !1, + ), (i = r + 1), this._fields === this.fieldsLimit) ) return t() } else this._hitLimit - ? (u > i && (this._key += this.decoder.write(e.toString('binary', i, u))), + ? (u > i && + (this._key += this.decoder.write( + e.toString('binary', i, u), + )), (i = u), - (this._bytesKey = this._key.length) === this.fieldNameSizeLimit && + (this._bytesKey = this._key.length) === + this.fieldNameSizeLimit && ((this._checkingBytes = !1), (this._keyTrunc = !0))) - : (i < o && (this._key += this.decoder.write(e.toString('binary', i))), (i = o)) + : (i < o && + (this._key += this.decoder.write( + e.toString('binary', i), + )), + (i = o)) } else { for (r = void 0, u = i; u < o; ++u) { if ((this._checkingBytes || ++i, 38 === e[u])) { r = u break } - if (this._checkingBytes && this._bytesVal === this.fieldSizeLimit) { + if ( + this._checkingBytes && + this._bytesVal === this.fieldSizeLimit + ) { this._hitLimit = !0 break } @@ -133937,7 +144843,10 @@ and limitations under the License. if (void 0 !== r) { if ( (++this._fields, - r > i && (this._val += this.decoder.write(e.toString('binary', i, r))), + r > i && + (this._val += this.decoder.write( + e.toString('binary', i, r), + )), this.boy.emit( 'field', l(this._key, 'binary', this.charset), @@ -133958,19 +144867,33 @@ and limitations under the License. return t() } else this._hitLimit - ? (u > i && (this._val += this.decoder.write(e.toString('binary', i, u))), + ? (u > i && + (this._val += this.decoder.write( + e.toString('binary', i, u), + )), (i = u), (('' === this._val && 0 === this.fieldSizeLimit) || - (this._bytesVal = this._val.length) === this.fieldSizeLimit) && + (this._bytesVal = this._val.length) === + this.fieldSizeLimit) && ((this._checkingBytes = !1), (this._valTrunc = !0))) - : (i < o && (this._val += this.decoder.write(e.toString('binary', i))), (i = o)) + : (i < o && + (this._val += this.decoder.write( + e.toString('binary', i), + )), + (i = o)) } t() }), (i.prototype.end = function() { this.boy._done || ('key' === this._state && this._key.length > 0 - ? this.boy.emit('field', l(this._key, 'binary', this.charset), '', this._keyTrunc, !1) + ? this.boy.emit( + 'field', + l(this._key, 'binary', this.charset), + '', + this._keyTrunc, + !1, + ) : 'val' === this._state && this.boy.emit( 'field', @@ -133996,7 +144919,11 @@ and limitations under the License. module.exports = depd var basePath = process.cwd() function containsNamespace(e, t) { - for (var n = e.split(/[ ,]+/), r = String(t).toLowerCase(), l = 0; l < n.length; l++) { + for ( + var n = e.split(/[ ,]+/), r = String(t).toLowerCase(), l = 0; + l < n.length; + l++ + ) { var u = n[l] if (u && ('*' === u || u.toLowerCase() === r)) return !0 } @@ -134026,7 +144953,8 @@ and limitations under the License. function createStackString(e) { var t = this.name + ': ' + this.namespace this.message && (t += ' deprecated ' + this.message) - for (var n = 0; n < e.length; n++) t += '\n at ' + callSiteToString(e[n]) + for (var n = 0; n < e.length; n++) + t += '\n at ' + callSiteToString(e[n]) return t } function depd(e) { @@ -134047,10 +144975,16 @@ and limitations under the License. ) } function isignored(e) { - return !!process.noDeprecation || containsNamespace(process.env.NO_DEPRECATION || '', e) + return ( + !!process.noDeprecation || + containsNamespace(process.env.NO_DEPRECATION || '', e) + ) } function istraced(e) { - return !!process.traceDeprecation || containsNamespace(process.env.TRACE_DEPRECATION || '', e) + return ( + !!process.traceDeprecation || + containsNamespace(process.env.TRACE_DEPRECATION || '', e) + ) } function log(e, t) { var n = 0 !== eventListenerCount(process, 'deprecation') @@ -134064,7 +144998,11 @@ and limitations under the License. s = getStack(), c = this._file for ( - t ? ((i = t), ((u = callSiteLocation(s[1])).name = i.name), (c = u[0])) : (u = i = callSiteLocation(s[(o = 2)])); + t + ? ((i = t), + ((u = callSiteLocation(s[1])).name = i.name), + (c = u[0])) + : (u = i = callSiteLocation(s[(o = 2)])); o < s.length; o++ ) @@ -134075,11 +145013,20 @@ and limitations under the License. if (!(void 0 !== d && d in this._warned)) { this._warned[d] = !0 var f = e - if ((f || (f = u !== i && u.name ? defaultMessage(u) : defaultMessage(i)), n)) { + if ( + (f || + (f = u !== i && u.name ? defaultMessage(u) : defaultMessage(i)), + n) + ) { var p = DeprecationError(this._namespace, f, s.slice(o)) process.emit('deprecation', p) } else { - var h = (process.stderr.isTTY ? formatColor : formatPlain).call(this, f, r, s.slice(o)) + var h = (process.stderr.isTTY ? formatColor : formatPlain).call( + this, + f, + r, + s.slice(o), + ) process.stderr.write(h + '\n', 'utf8') } } @@ -134099,12 +145046,18 @@ and limitations under the License. n || (n = '') var r = t.getThis(), l = r && t.getTypeName() - return 'Object' === l && (l = void 0), 'Function' === l && (l = r.name || l), l && t.getMethodName() ? l + '.' + n : n + return ( + 'Object' === l && (l = void 0), + 'Function' === l && (l = r.name || l), + l && t.getMethodName() ? l + '.' + n : n + ) } function formatPlain(e, t, n) { - var r = new Date().toUTCString() + ' ' + this._namespace + ' deprecated ' + e + var r = + new Date().toUTCString() + ' ' + this._namespace + ' deprecated ' + e if (this._traced) { - for (var l = 0; l < n.length; l++) r += '\n at ' + callSiteToString(n[l]) + for (var l = 0; l < n.length; l++) + r += '\n at ' + callSiteToString(n[l]) return r } return t && (r += ' at ' + formatLocation(t)), r @@ -134112,7 +145065,8 @@ and limitations under the License. function formatColor(e, t, n) { var r = '' + this._namespace + ' deprecated ' + e + '' if (this._traced) { - for (var l = 0; l < n.length; l++) r += '\n at ' + callSiteToString(n[l]) + '' + for (var l = 0; l < n.length; l++) + r += '\n at ' + callSiteToString(n[l]) + '' return r } return t && (r += ' ' + formatLocation(t) + ''), r @@ -134134,25 +145088,31 @@ and limitations under the License. return t } function wrapfunction(fn, message) { - if ('function' != typeof fn) throw new TypeError('argument fn must be a function') + if ('function' != typeof fn) + throw new TypeError('argument fn must be a function') var args = createArgumentsString(fn.length), deprecate = this, stack = getStack(), site = callSiteLocation(stack[1]) site.name = fn.name var deprecatedfn = eval( - '(function (' + args + ') {\n"use strict"\nlog.call(deprecate, message, site)\nreturn fn.apply(this, arguments)\n})', + '(function (' + + args + + ') {\n"use strict"\nlog.call(deprecate, message, site)\nreturn fn.apply(this, arguments)\n})', ) return deprecatedfn } function wrapproperty(e, t, n) { - if (!e || ('object' != typeof e && 'function' != typeof e)) throw new TypeError('argument obj must be object') + if (!e || ('object' != typeof e && 'function' != typeof e)) + throw new TypeError('argument obj must be object') var r = Object.getOwnPropertyDescriptor(e, t) if (!r) throw new TypeError('must call property on owner object') - if (!r.configurable) throw new TypeError('property must be configurable') + if (!r.configurable) + throw new TypeError('property must be configurable') var l = this, u = callSiteLocation(getStack()[1]) - ;(u.name = t), 'value' in r && (r = convertDataDescriptorToAccessor(e, t, n)) + ;(u.name = t), + 'value' in r && (r = convertDataDescriptorToAccessor(e, t, n)) var i = r.get, o = r.set 'function' == typeof i && @@ -134170,9 +145130,24 @@ and limitations under the License. l = new Error() return ( Object.defineProperty(l, 'constructor', { value: DeprecationError }), - Object.defineProperty(l, 'message', { configurable: !0, enumerable: !1, value: t, writable: !0 }), - Object.defineProperty(l, 'name', { enumerable: !1, configurable: !0, value: 'DeprecationError', writable: !0 }), - Object.defineProperty(l, 'namespace', { configurable: !0, enumerable: !1, value: e, writable: !0 }), + Object.defineProperty(l, 'message', { + configurable: !0, + enumerable: !1, + value: t, + writable: !0, + }), + Object.defineProperty(l, 'name', { + enumerable: !1, + configurable: !0, + value: 'DeprecationError', + writable: !0, + }), + Object.defineProperty(l, 'namespace', { + configurable: !0, + enumerable: !1, + value: e, + writable: !0, + }), Object.defineProperty(l, 'stack', { configurable: !0, enumerable: !1, @@ -134224,9 +145199,16 @@ and limitations under the License. r ? (a && 0 !== r.indexOf(a) && (i += a + '.'), (i += r), - o && r.lastIndexOf('.' + o) !== r.length - o.length - 1 && (i += ' [as ' + o + ']')) + o && + r.lastIndexOf('.' + o) !== r.length - o.length - 1 && + (i += ' [as ' + o + ']')) : (i += a + '.' + (o || '')) - } else l ? (i += 'new ' + (r || '')) : r ? (i += r) : ((t = !1), (i += n)) + } else + l + ? (i += 'new ' + (r || '')) + : r + ? (i += r) + : ((t = !1), (i += n)) var s t && (i += ' (' + n + ')') return i @@ -134268,13 +145250,15 @@ and limitations under the License. if (!l[e]) throw new Error('invalid status code: ' + e) return e } - if ('string' != typeof e) throw new TypeError('code must be a number or string') + if ('string' != typeof e) + throw new TypeError('code must be a number or string') var t = parseInt(e, 10) if (!isNaN(t)) { if (!l[t]) throw new Error('invalid status code: ' + t) return t } - if (!(t = l[e.toLowerCase()])) throw new Error('invalid status message: "' + e + '"') + if (!(t = l[e.toLowerCase()])) + throw new Error('invalid status message: "' + e + '"') return t } ;(e.exports = l), @@ -134290,7 +145274,15 @@ and limitations under the License. n ) })(l, r)), - (l.redirect = { 300: !0, 301: !0, 302: !0, 303: !0, 305: !0, 307: !0, 308: !0 }), + (l.redirect = { + 300: !0, + 301: !0, + 302: !0, + 303: !0, + 305: !0, + 307: !0, + 308: !0, + }), (l.empty = { 204: !0, 205: !0, 304: !0 }), (l.retry = { 502: !0, 503: !0, 504: !0 }) }, @@ -134320,7 +145312,11 @@ and limitations under the License. function r(e) { for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]) } - Object.defineProperty(t, '__esModule', { value: !0 }), r(n(587)), r(n(594)), r(n(109)), r(n(146)) + Object.defineProperty(t, '__esModule', { value: !0 }), + r(n(587)), + r(n(594)), + r(n(109)), + r(n(146)) }, function(e, t, n) { 'use strict' @@ -134329,7 +145325,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e }, l = @@ -134393,7 +145390,12 @@ and limitations under the License. if ( ((n = 1), r && - (l = 2 & u[0] ? r.return : u[0] ? r.throw || ((l = r.return) && l.call(r), 0) : r.next) && + (l = + 2 & u[0] + ? r.return + : u[0] + ? r.throw || ((l = r.return) && l.call(r), 0) + : r.next) && !(l = l.call(r, u[1])).done) ) return l @@ -134411,11 +145413,17 @@ and limitations under the License. ;(u = i.ops.pop()), i.trys.pop() continue default: - if (!(l = (l = i.trys).length > 0 && l[l.length - 1]) && (6 === u[0] || 2 === u[0])) { + if ( + !(l = (l = i.trys).length > 0 && l[l.length - 1]) && + (6 === u[0] || 2 === u[0]) + ) { i = 0 continue } - if (3 === u[0] && (!l || (u[1] > l[0] && u[1] < l[3]))) { + if ( + 3 === u[0] && + (!l || (u[1] > l[0] && u[1] < l[3])) + ) { i.label = u[1] break } @@ -134443,7 +145451,12 @@ and limitations under the License. } } Object.defineProperty(t, '__esModule', { value: !0 }) - var i = 'undefined' != typeof global ? global : 'undefined' != typeof window ? window : {}, + var i = + 'undefined' != typeof global + ? global + : 'undefined' != typeof window + ? window + : {}, o = i.WebSocket || i.MozWebSocket, a = n(588), s = n(589), @@ -134473,7 +145486,9 @@ and limitations under the License. w = l.inactivityTimeout, O = void 0 === w ? 0 : w if (((this.wsImpl = n || o), !this.wsImpl)) - throw new Error('Unable to find native implementation, or alternative implementation for WebSocket!') + throw new Error( + 'Unable to find native implementation, or alternative implementation for WebSocket!', + ) ;(this.wsProtocols = r || m.GRAPHQL_WS), (this.connectionCallback = i), (this.url = e), @@ -134498,7 +145513,9 @@ and limitations under the License. return ( Object.defineProperty(e.prototype, 'status', { get: function() { - return null === this.client ? this.wsImpl.CLOSED : this.client.readyState + return null === this.client + ? this.wsImpl.CLOSED + : this.client.readyState }, enumerable: !0, configurable: !0, @@ -134514,7 +145531,11 @@ and limitations under the License. this.clearMaxConnectTimeout(), this.clearTryReconnectTimeout(), this.unsubscribeAll(), - this.sendMessage(void 0, _.default.GQL_CONNECTION_TERMINATE, null)), + this.sendMessage( + void 0, + _.default.GQL_CONNECTION_TERMINATE, + null, + )), this.client.close(), (this.client = null), this.eventEmitter.emit('disconnected'), @@ -134535,7 +145556,11 @@ and limitations under the License. var a = r(t, i, o) return ( (n = l(e, function(e, t) { - null === e && null === t ? a.complete && a.complete() : e ? a.error && a.error(e[0]) : a.next && a.next(t) + null === e && null === t + ? a.complete && a.complete() + : e + ? a.error && a.error(e[0]) + : a.next && a.next(t) })), { unsubscribe: function() { @@ -134597,7 +145622,9 @@ and limitations under the License. return ( e.map(function(e) { if ('function' != typeof e.applyMiddleware) - throw new Error('Middleware must implement the applyMiddleware function.') + throw new Error( + 'Middleware must implement the applyMiddleware function.', + ) t.middlewares.push(e) }), this @@ -134626,7 +145653,8 @@ and limitations under the License. .then(function(e) { n.checkOperationOptions(e, t), n.operations[r] && - ((n.operations[r] = { options: e, handler: t }), n.sendMessage(r, _.default.GQL_START, e)) + ((n.operations[r] = { options: e, handler: t }), + n.sendMessage(r, _.default.GQL_START, e)) }) .catch(function(e) { n.unsubscribe(r), t(n.formatErrors(e)) @@ -134655,16 +145683,23 @@ and limitations under the License. }), (e.prototype.clearCheckConnectionInterval = function() { this.checkConnectionIntervalId && - (clearInterval(this.checkConnectionIntervalId), (this.checkConnectionIntervalId = null)) + (clearInterval(this.checkConnectionIntervalId), + (this.checkConnectionIntervalId = null)) }), (e.prototype.clearMaxConnectTimeout = function() { - this.maxConnectTimeoutId && (clearTimeout(this.maxConnectTimeoutId), (this.maxConnectTimeoutId = null)) + this.maxConnectTimeoutId && + (clearTimeout(this.maxConnectTimeoutId), + (this.maxConnectTimeoutId = null)) }), (e.prototype.clearTryReconnectTimeout = function() { - this.tryReconnectTimeoutId && (clearTimeout(this.tryReconnectTimeoutId), (this.tryReconnectTimeoutId = null)) + this.tryReconnectTimeoutId && + (clearTimeout(this.tryReconnectTimeoutId), + (this.tryReconnectTimeoutId = null)) }), (e.prototype.clearInactivityTimeout = function() { - this.inactivityTimeoutId && (clearTimeout(this.inactivityTimeoutId), (this.inactivityTimeoutId = null)) + this.inactivityTimeoutId && + (clearTimeout(this.inactivityTimeoutId), + (this.inactivityTimeoutId = null)) }), (e.prototype.setInactivityTimeout = function() { var e = this @@ -134680,7 +145715,11 @@ and limitations under the License. l = e.operationName if (!n) throw new Error('Must provide a query.') if (!t) throw new Error('Must provide an handler.') - if ((!c.default(n) && !p.getOperationAST(n, l)) || (l && !c.default(l)) || (r && !d.default(r))) + if ( + (!c.default(n) && !p.getOperationAST(n, l)) || + (l && !c.default(l)) || + (r && !d.default(r)) + ) throw new Error( 'Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.', ) @@ -134689,7 +145728,15 @@ and limitations under the License. return { id: e, type: t, - payload: n && n.query ? r({}, n, { query: 'string' == typeof n.query ? n.query : f.print(n.query) }) : n, + payload: + n && n.query + ? r({}, n, { + query: + 'string' == typeof n.query + ? n.query + : f.print(n.query), + }) + : n, } }), (e.prototype.formatErrors = function(e) { @@ -134699,7 +145746,13 @@ and limitations under the License. ? this.formatErrors(e.errors) : e && e.message ? [e] - : [{ name: 'FormatedError', message: 'Unknown error', originalError: e }] + : [ + { + name: 'FormatedError', + message: 'Unknown error', + originalError: e, + }, + ] }), (e.prototype.sendMessage = function(e, t, n) { this.sendMessageRaw(this.buildMessage(e, t, n)) @@ -134711,7 +145764,10 @@ and limitations under the License. try { JSON.parse(t) } catch (t) { - this.eventEmitter.emit('error', new Error('Message must be JSON-serializable. Got: ' + e)) + this.eventEmitter.emit( + 'error', + new Error('Message must be JSON-serializable. Got: ' + e), + ) } this.client.send(t) break @@ -134734,10 +145790,19 @@ and limitations under the License. }), (e.prototype.tryReconnect = function() { var e = this - if (this.reconnect && !(this.backoff.attempts >= this.reconnectionAttempts)) { + if ( + this.reconnect && + !(this.backoff.attempts >= this.reconnectionAttempts) + ) { this.reconnecting || (Object.keys(this.operations).forEach(function(t) { - e.unsentMessagesQueue.push(e.buildMessage(t, _.default.GQL_START, e.operations[t].options)) + e.unsentMessagesQueue.push( + e.buildMessage( + t, + _.default.GQL_START, + e.operations[t].options, + ), + ) }), (this.reconnecting = !0)), this.clearTryReconnectTimeout() @@ -134755,13 +145820,16 @@ and limitations under the License. (this.unsentMessagesQueue = []) }), (e.prototype.checkConnection = function() { - this.wasKeepAliveReceived ? (this.wasKeepAliveReceived = !1) : this.reconnecting || this.close(!1, !0) + this.wasKeepAliveReceived + ? (this.wasKeepAliveReceived = !1) + : this.reconnecting || this.close(!1, !0) }), (e.prototype.checkMaxConnectTimeout = function() { var e = this this.clearMaxConnectTimeout(), (this.maxConnectTimeoutId = setTimeout(function() { - e.status !== e.wsImpl.OPEN && ((e.reconnecting = !0), e.close(!1, !0)) + e.status !== e.wsImpl.OPEN && + ((e.reconnecting = !0), e.close(!1, !0)) }, this.maxConnectTimeGenerator.duration())) }), (e.prototype.connect = function() { @@ -134777,21 +145845,34 @@ and limitations under the License. if (this.status !== this.wsImpl.OPEN) return [3, 4] this.clearMaxConnectTimeout(), (this.closedByUser = !1), - this.eventEmitter.emit(this.reconnecting ? 'reconnecting' : 'connecting'), + this.eventEmitter.emit( + this.reconnecting ? 'reconnecting' : 'connecting', + ), (n.label = 1) case 1: - return n.trys.push([1, 3, , 4]), [4, this.connectionParams()] + return ( + n.trys.push([1, 3, , 4]), + [4, this.connectionParams()] + ) case 2: return ( (e = n.sent()), - this.sendMessage(void 0, _.default.GQL_CONNECTION_INIT, e), + this.sendMessage( + void 0, + _.default.GQL_CONNECTION_INIT, + e, + ), this.flushUnsentMessagesQueue(), [3, 4] ) case 3: return ( (t = n.sent()), - this.sendMessage(void 0, _.default.GQL_CONNECTION_ERROR, t), + this.sendMessage( + void 0, + _.default.GQL_CONNECTION_ERROR, + t, + ), this.flushUnsentMessagesQueue(), [3, 4] ) @@ -134819,34 +145900,59 @@ and limitations under the License. } catch (t) { throw new Error('Message must be JSON-parseable. Got: ' + e) } - if (-1 === [_.default.GQL_DATA, _.default.GQL_COMPLETE, _.default.GQL_ERROR].indexOf(t.type) || this.operations[n]) + if ( + -1 === + [ + _.default.GQL_DATA, + _.default.GQL_COMPLETE, + _.default.GQL_ERROR, + ].indexOf(t.type) || + this.operations[n] + ) switch (t.type) { case _.default.GQL_CONNECTION_ERROR: - this.connectionCallback && this.connectionCallback(t.payload) + this.connectionCallback && + this.connectionCallback(t.payload) break case _.default.GQL_CONNECTION_ACK: - this.eventEmitter.emit(this.reconnecting ? 'reconnected' : 'connected'), + this.eventEmitter.emit( + this.reconnecting ? 'reconnected' : 'connected', + ), (this.reconnecting = !1), this.backoff.reset(), this.maxConnectTimeGenerator.reset(), this.connectionCallback && this.connectionCallback() break case _.default.GQL_COMPLETE: - this.operations[n].handler(null, null), delete this.operations[n] + this.operations[n].handler(null, null), + delete this.operations[n] break case _.default.GQL_ERROR: - this.operations[n].handler(this.formatErrors(t.payload), null), delete this.operations[n] + this.operations[n].handler( + this.formatErrors(t.payload), + null, + ), + delete this.operations[n] break case _.default.GQL_DATA: - var l = t.payload.errors ? r({}, t.payload, { errors: this.formatErrors(t.payload.errors) }) : t.payload + var l = t.payload.errors + ? r({}, t.payload, { + errors: this.formatErrors(t.payload.errors), + }) + : t.payload this.operations[n].handler(null, l) break case _.default.GQL_CONNECTION_KEEP_ALIVE: var u = void 0 === this.wasKeepAliveReceived ;(this.wasKeepAliveReceived = !0), u && this.checkConnection(), - this.checkConnectionIntervalId && (clearInterval(this.checkConnectionIntervalId), this.checkConnection()), - (this.checkConnectionIntervalId = setInterval(this.checkConnection.bind(this), this.wsTimeout)) + this.checkConnectionIntervalId && + (clearInterval(this.checkConnectionIntervalId), + this.checkConnection()), + (this.checkConnectionIntervalId = setInterval( + this.checkConnection.bind(this), + this.wsTimeout, + )) break default: throw new Error('Invalid message type!') @@ -134855,7 +145961,9 @@ and limitations under the License. }), (e.prototype.unsubscribe = function(e) { this.operations[e] && - (delete this.operations[e], this.setInactivityTimeout(), this.sendMessage(e, _.default.GQL_STOP, void 0)) + (delete this.operations[e], + this.setInactivityTimeout(), + this.sendMessage(e, _.default.GQL_STOP, void 0)) }), e ) @@ -134903,7 +146011,8 @@ and limitations under the License. ;(this.fn = e), (this.context = t), (this.once = n || !1) } function o(e, t, n, r, u) { - if ('function' != typeof n) throw new TypeError('The listener must be a function') + if ('function' != typeof n) + throw new TypeError('The listener must be a function') var o = new i(n, r || e, u), a = l ? l + t : t return ( @@ -134921,21 +146030,26 @@ and limitations under the License. function s() { ;(this._events = new u()), (this._eventsCount = 0) } - Object.create && ((u.prototype = Object.create(null)), new u().__proto__ || (l = !1)), + Object.create && + ((u.prototype = Object.create(null)), new u().__proto__ || (l = !1)), (s.prototype.eventNames = function() { var e, t, n = [] if (0 === this._eventsCount) return n - for (t in (e = this._events)) r.call(e, t) && n.push(l ? t.slice(1) : t) - return Object.getOwnPropertySymbols ? n.concat(Object.getOwnPropertySymbols(e)) : n + for (t in (e = this._events)) + r.call(e, t) && n.push(l ? t.slice(1) : t) + return Object.getOwnPropertySymbols + ? n.concat(Object.getOwnPropertySymbols(e)) + : n }), (s.prototype.listeners = function(e) { var t = l ? l + e : e, n = this._events[t] if (!n) return [] if (n.fn) return [n.fn] - for (var r = 0, u = n.length, i = new Array(u); r < u; r++) i[r] = n[r].fn + for (var r = 0, u = n.length, i = new Array(u); r < u; r++) + i[r] = n[r].fn return i }), (s.prototype.listenerCount = function(e) { @@ -134965,13 +146079,16 @@ and limitations under the License. case 6: return c.fn.call(c.context, t, n, r, u, i), !0 } - for (s = 1, a = new Array(d - 1); s < d; s++) a[s - 1] = arguments[s] + for (s = 1, a = new Array(d - 1); s < d; s++) + a[s - 1] = arguments[s] c.fn.apply(c.context, a) } else { var f, p = c.length for (s = 0; s < p; s++) - switch ((c[s].once && this.removeListener(e, c[s].fn, void 0, !0), d)) { + switch ( + (c[s].once && this.removeListener(e, c[s].fn, void 0, !0), d) + ) { case 1: c[s].fn.call(c[s].context) break @@ -134985,7 +146102,9 @@ and limitations under the License. c[s].fn.call(c[s].context, t, n, r) break default: - if (!a) for (f = 1, a = new Array(d - 1); f < d; f++) a[f - 1] = arguments[f] + if (!a) + for (f = 1, a = new Array(d - 1); f < d; f++) + a[f - 1] = arguments[f] c[s].fn.apply(c[s].context, a) } } @@ -135002,18 +146121,27 @@ and limitations under the License. if (!this._events[u]) return this if (!t) return a(this, u), this var i = this._events[u] - if (i.fn) i.fn !== t || (r && !i.once) || (n && i.context !== n) || a(this, u) + if (i.fn) + i.fn !== t || (r && !i.once) || (n && i.context !== n) || a(this, u) else { for (var o = 0, s = [], c = i.length; o < c; o++) - (i[o].fn !== t || (r && !i[o].once) || (n && i[o].context !== n)) && s.push(i[o]) - s.length ? (this._events[u] = 1 === s.length ? s[0] : s) : a(this, u) + (i[o].fn !== t || + (r && !i[o].once) || + (n && i[o].context !== n)) && + s.push(i[o]) + s.length + ? (this._events[u] = 1 === s.length ? s[0] : s) + : a(this, u) } return this }), (s.prototype.removeAllListeners = function(e) { var t return ( - e ? ((t = l ? l + e : e), this._events[t] && a(this, t)) : ((this._events = new u()), (this._eventsCount = 0)), this + e + ? ((t = l ? l + e : e), this._events[t] && a(this, t)) + : ((this._events = new u()), (this._eventsCount = 0)), + this ) }), (s.prototype.off = s.prototype.removeListener), @@ -135036,7 +146164,13 @@ and limitations under the License. var r, l = n(408) r = - 'undefined' != typeof self ? self : 'undefined' != typeof window ? window : 'undefined' != typeof global ? global : e + 'undefined' != typeof self + ? self + : 'undefined' != typeof window + ? window + : 'undefined' != typeof global + ? global + : e var u = Object(l.a)(r) t.default = u }.call(this, n(592)(e)) @@ -135099,27 +146233,41 @@ and limitations under the License. (this.onConnect = s), (this.onDisconnect = c), (this.keepAlive = d), - f(t) ? (this.wsServer = t) : (this.wsServer = new r.Server(t || {})) + f(t) + ? (this.wsServer = t) + : (this.wsServer = new r.Server(t || {})) var p = function(e, t) { if ( ((e.upgradeReq = t), void 0 === e.protocol || - (-1 === e.protocol.indexOf(u.GRAPHQL_WS) && -1 === e.protocol.indexOf(u.GRAPHQL_SUBSCRIPTIONS))) + (-1 === e.protocol.indexOf(u.GRAPHQL_WS) && + -1 === e.protocol.indexOf(u.GRAPHQL_SUBSCRIPTIONS))) ) e.close(1002) else { var r = Object.create(null) - ;(r.initPromise = Promise.resolve(!0)), (r.isLegacy = !1), (r.socket = e), (r.request = t), (r.operations = {}) + ;(r.initPromise = Promise.resolve(!0)), + (r.isLegacy = !1), + (r.socket = e), + (r.request = t), + (r.operations = {}) var i = function(t) { t && - (n.sendError(r, '', { message: t.message ? t.message : t }, l.default.GQL_CONNECTION_ERROR), + (n.sendError( + r, + '', + { message: t.message ? t.message : t }, + l.default.GQL_CONNECTION_ERROR, + ), setTimeout(function() { r.socket.close(1011) }, 10)), n.onClose(r), n.onDisconnect && n.onDisconnect(e, r) } - e.on('error', i), e.on('close', i), e.on('message', n.onMessage(r)) + e.on('error', i), + e.on('close', i), + e.on('message', n.onMessage(r)) } } this.wsServer.on('connection', p), @@ -135146,15 +146294,22 @@ and limitations under the License. n = e.subscribe, r = e.schema, l = e.rootValue - if (!t) throw new Error('Must provide `execute` for websocket server constructor.') - ;(this.schema = r), (this.rootValue = l), (this.execute = t), (this.subscribe = n) + if (!t) + throw new Error( + 'Must provide `execute` for websocket server constructor.', + ) + ;(this.schema = r), + (this.rootValue = l), + (this.execute = t), + (this.subscribe = n) }), (e.prototype.unsubscribe = function(e, t) { e.operations && e.operations[t] && (e.operations[t].return && e.operations[t].return(), delete e.operations[t], - this.onOperationComplete && this.onOperationComplete(e.socket, t)) + this.onOperationComplete && + this.onOperationComplete(e.socket, t)) }), (e.prototype.onClose = function(e) { var t = this @@ -135169,7 +146324,12 @@ and limitations under the License. try { u = d.parseLegacyProtocolMessage(e, JSON.parse(n)) } catch (n) { - return void t.sendError(e, null, { message: n.message }, l.default.GQL_CONNECTION_ERROR) + return void t.sendError( + e, + null, + { message: n.message }, + l.default.GQL_CONNECTION_ERROR, + ) } var f = u.id switch (u.type) { @@ -135184,16 +146344,32 @@ and limitations under the License. })), e.initPromise .then(function(n) { - if (!1 === n) throw new Error('Prohibited connection!') - if ((t.sendMessage(e, void 0, l.default.GQL_CONNECTION_ACK, void 0), t.keepAlive)) { + if (!1 === n) + throw new Error('Prohibited connection!') + if ( + (t.sendMessage( + e, + void 0, + l.default.GQL_CONNECTION_ACK, + void 0, + ), + t.keepAlive) + ) { t.sendKeepAlive(e) var u = setInterval(function() { - e.socket.readyState === r.OPEN ? t.sendKeepAlive(e) : clearInterval(u) + e.socket.readyState === r.OPEN + ? t.sendKeepAlive(e) + : clearInterval(u) }, t.keepAlive) } }) .catch(function(n) { - t.sendError(e, f, { message: n.message }, l.default.GQL_CONNECTION_ERROR), + t.sendError( + e, + f, + { message: n.message }, + l.default.GQL_CONNECTION_ERROR, + ), setTimeout(function() { e.socket.close(1011) }, 10) @@ -135210,14 +146386,22 @@ and limitations under the License. query: u.payload.query, variables: u.payload.variables, operationName: u.payload.operationName, - context: i.default(n) ? Object.assign(Object.create(Object.getPrototypeOf(n)), n) : {}, + context: i.default(n) + ? Object.assign( + Object.create(Object.getPrototypeOf(n)), + n, + ) + : {}, formatResponse: void 0, formatError: void 0, callback: void 0, schema: t.schema, }, d = Promise.resolve(r) - if (((e.operations[f] = a.createEmptyIterable()), t.onOperation)) { + if ( + ((e.operations[f] = a.createEmptyIterable()), + t.onOperation) + ) { var p = u d = Promise.resolve(t.onOperation(p, r, e.socket)) } @@ -135225,25 +146409,51 @@ and limitations under the License. d .then(function(n) { if ('object' != typeof n) { - var l = 'Invalid params returned from onOperation! return values must be an object!' - throw (t.sendError(e, f, { message: l }), new Error(l)) + var l = + 'Invalid params returned from onOperation! return values must be an object!' + throw (t.sendError(e, f, { message: l }), + new Error(l)) } if (!n.schema) { l = 'Missing schema information. The GraphQL schema should be provided either statically in the `SubscriptionServer` constructor or as a property on the object returned from onOperation!' - throw (t.sendError(e, f, { message: l }), new Error(l)) + throw (t.sendError(e, f, { message: l }), + new Error(l)) } var u, - i = 'string' != typeof r.query ? r.query : o.parse(r.query), + i = + 'string' != typeof r.query + ? r.query + : o.parse(r.query), a = o.validate(n.schema, i, t.specifiedRules) - if (a.length > 0) u = Promise.resolve({ errors: a }) + if (a.length > 0) + u = Promise.resolve({ errors: a }) else { var d = t.execute - t.subscribe && c.isASubscriptionOperation(i, n.operationName) && (d = t.subscribe), - (u = Promise.resolve(d(n.schema, i, t.rootValue, n.context, n.variables, n.operationName))) + t.subscribe && + c.isASubscriptionOperation( + i, + n.operationName, + ) && + (d = t.subscribe), + (u = Promise.resolve( + d( + n.schema, + i, + t.rootValue, + n.context, + n.variables, + n.operationName, + ), + )) } return u.then(function(e) { - return { executionIterable: s.isAsyncIterable(e) ? e : s.createAsyncIterator([e]), params: n } + return { + executionIterable: s.isAsyncIterable(e) + ? e + : s.createAsyncIterator([e]), + params: n, + } }) }) .then(function(n) { @@ -135257,12 +146467,20 @@ and limitations under the License. try { r = u.formatResponse(n, u) } catch (e) { - console.error('Error in formatError function:', e) + console.error( + 'Error in formatError function:', + e, + ) } t.sendMessage(e, f, l.default.GQL_DATA, r) }) .then(function() { - t.sendMessage(e, f, l.default.GQL_COMPLETE, null) + t.sendMessage( + e, + f, + l.default.GQL_COMPLETE, + null, + ) }) .catch(function(n) { var r = n @@ -135270,9 +146488,16 @@ and limitations under the License. try { r = u.formatError(n, u) } catch (e) { - console.error('Error in formatError function: ', e) + console.error( + 'Error in formatError function: ', + e, + ) } - 0 === Object.keys(n).length && (r = { name: n.name, message: n.message }), + 0 === Object.keys(n).length && + (r = { + name: n.name, + message: n.message, + }), t.sendError(e, f, r) }), r @@ -135282,11 +146507,18 @@ and limitations under the License. e.operations[f] = t }) .then(function() { - t.sendMessage(e, f, l.default.SUBSCRIPTION_SUCCESS, void 0) + t.sendMessage( + e, + f, + l.default.SUBSCRIPTION_SUCCESS, + void 0, + ) }) .catch(function(n) { n.errors - ? t.sendMessage(e, f, l.default.GQL_DATA, { errors: n.errors }) + ? t.sendMessage(e, f, l.default.GQL_DATA, { + errors: n.errors, + }) : t.sendError(e, f, { message: n.message }), t.unsubscribe(e, f) }), @@ -135294,7 +146526,8 @@ and limitations under the License. ) }) .catch(function(n) { - t.sendError(e, f, { message: n.message }), t.unsubscribe(e, f) + t.sendError(e, f, { message: n.message }), + t.unsubscribe(e, f) }) break case l.default.GQL_STOP: @@ -135308,15 +146541,29 @@ and limitations under the License. (e.prototype.sendKeepAlive = function(e) { e.isLegacy ? this.sendMessage(e, void 0, l.default.KEEP_ALIVE, void 0) - : this.sendMessage(e, void 0, l.default.GQL_CONNECTION_KEEP_ALIVE, void 0) + : this.sendMessage( + e, + void 0, + l.default.GQL_CONNECTION_KEEP_ALIVE, + void 0, + ) }), (e.prototype.sendMessage = function(e, t, n, l) { - var u = d.parseLegacyProtocolMessage(e, { type: n, id: t, payload: l }) - u && e.socket.readyState === r.OPEN && e.socket.send(JSON.stringify(u)) + var u = d.parseLegacyProtocolMessage(e, { + type: n, + id: t, + payload: l, + }) + u && + e.socket.readyState === r.OPEN && + e.socket.send(JSON.stringify(u)) }), (e.prototype.sendError = function(e, t, n, r) { var u = r || l.default.GQL_ERROR - if (-1 === [l.default.GQL_CONNECTION_ERROR, l.default.GQL_ERROR].indexOf(u)) + if ( + -1 === + [l.default.GQL_CONNECTION_ERROR, l.default.GQL_ERROR].indexOf(u) + ) throw new Error( 'overrideDefaultErrorType should be one of the allowed error messages GQL_CONNECTION_ERROR or GQL_ERROR', ) @@ -135330,7 +146577,10 @@ and limitations under the License. function(e, t, n) { 'use strict' const r = n(245) - ;(r.Server = n(600)), (r.Receiver = n(247)), (r.Sender = n(249)), (e.exports = r) + ;(r.Server = n(600)), + (r.Receiver = n(247)), + (r.Sender = n(249)), + (e.exports = r) }, function(e, t) { e.exports = require('net') @@ -135394,7 +146644,10 @@ and limitations under the License. } class u extends r { constructor(e, t, n) { - super('close', n), (this.wasClean = n._closeFrameReceived && n._closeFrameSent), (this.reason = t), (this.code = e) + super('close', n), + (this.wasClean = n._closeFrameReceived && n._closeFrameSent), + (this.reason = t), + (this.code = e) } } class i extends r { @@ -135434,7 +146687,8 @@ and limitations under the License. }, removeEventListener(e, t) { const n = this.listeners(e) - for (var r = 0; r < n.length; r++) (n[r] !== t && n[r]._listener !== t) || this.removeListener(e, n[r]) + for (var r = 0; r < n.length; r++) + (n[r] !== t && n[r]._listener !== t) || this.removeListener(e, n[r]) }, } e.exports = a @@ -135455,7 +146709,14 @@ and limitations under the License. function f(e, t, n, r) { e.writable && ((n = n || u.STATUS_CODES[t]), - (r = Object.assign({ Connection: 'close', 'Content-type': 'text/html', 'Content-Length': Buffer.byteLength(n) }, r)), + (r = Object.assign( + { + Connection: 'close', + 'Content-type': 'text/html', + 'Content-Length': Buffer.byteLength(n), + }, + r, + )), e.write( `HTTP/1.1 ${t} ${u.STATUS_CODES[t]}\r\n` + Object.keys(r) @@ -135491,11 +146752,17 @@ and limitations under the License. !e.server && !e.noServer) ) - throw new TypeError('One of the "port", "server", or "noServer" options must be specified') + throw new TypeError( + 'One of the "port", "server", or "noServer" options must be specified', + ) null != e.port ? ((this._server = u.createServer((e, t) => { const n = u.STATUS_CODES[426] - t.writeHead(426, { 'Content-Length': n.length, 'Content-Type': 'text/plain' }), t.end(n) + t.writeHead(426, { + 'Content-Length': n.length, + 'Content-Type': 'text/plain', + }), + t.end(n) })), this._server.listen(e.port, e.host, e.backlog, t)) : e.server && (this._server = e.server), @@ -135519,18 +146786,26 @@ and limitations under the License. (this.options = e) } address() { - if (this.options.noServer) throw new Error('The server is operating in "noServer" mode') + if (this.options.noServer) + throw new Error('The server is operating in "noServer" mode') return this._server ? this._server.address() : null } close(e) { if (this.clients) for (const e of this.clients) e.terminate() const t = this._server - if (t && (this._removeListeners(), (this._removeListeners = this._server = null), null != this.options.port)) + if ( + t && + (this._removeListeners(), + (this._removeListeners = this._server = null), + null != this.options.port) + ) return t.close(e) e && e() } shouldHandle(e) { - return !this.options.path || i.parse(e.url).pathname === this.options.path + return ( + !this.options.path || i.parse(e.url).pathname === this.options.path + ) } handleUpgrade(e, t, n, r) { t.on('error', d) @@ -135545,17 +146820,23 @@ and limitations under the License. ) return f(t, 400) if (this.options.perMessageDeflate) { - const n = new o(this.options.perMessageDeflate, !0, this.options.maxPayload) + const n = new o( + this.options.perMessageDeflate, + !0, + this.options.maxPayload, + ) try { const r = a.parse(e.headers['sec-websocket-extensions']) - r[o.extensionName] && (n.accept(r[o.extensionName]), (u[o.extensionName] = n)) + r[o.extensionName] && + (n.accept(r[o.extensionName]), (u[o.extensionName] = n)) } catch (e) { return f(t, 400) } } if (this.options.verifyClient) { const i = { - origin: e.headers[`${8 === l ? 'sec-websocket-origin' : 'origin'}`], + origin: + e.headers[`${8 === l ? 'sec-websocket-origin' : 'origin'}`], secure: !(!e.connection.authorized && !e.connection.encrypted), req: e, } @@ -135584,7 +146865,9 @@ and limitations under the License. if ( (p && ((p = p.trim().split(/ *, */)), - (p = this.options.handleProtocols ? this.options.handleProtocols(p, t) : p[0]) && + (p = this.options.handleProtocols + ? this.options.handleProtocols(p, t) + : p[0]) && (i.push(`Sec-WebSocket-Protocol: ${p}`), (f.protocol = p))), e[o.extensionName]) ) { @@ -135596,7 +146879,9 @@ and limitations under the License. n.write(i.concat('\r\n').join('\r\n')), n.removeListener('error', d), f.setSocket(n, r, this.options.maxPayload), - this.clients && (this.clients.add(f), f.on('close', () => this.clients.delete(f))), + this.clients && + (this.clients.add(f), + f.on('close', () => this.clients.delete(f))), u(f) } } @@ -135641,7 +146926,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e } Object.defineProperty(t, '__esModule', { value: !0 }) @@ -135650,13 +146936,18 @@ and limitations under the License. var n = t switch (t.type) { case l.default.INIT: - ;(e.isLegacy = !0), (n = r({}, t, { type: l.default.GQL_CONNECTION_INIT })) + ;(e.isLegacy = !0), + (n = r({}, t, { type: l.default.GQL_CONNECTION_INIT })) break case l.default.SUBSCRIPTION_START: n = { id: t.id, type: l.default.GQL_START, - payload: { query: t.query, operationName: t.operationName, variables: t.variables }, + payload: { + query: t.query, + operationName: t.operationName, + variables: t.variables, + }, } break case l.default.SUBSCRIPTION_END: @@ -135667,7 +146958,12 @@ and limitations under the License. break case l.default.GQL_CONNECTION_ERROR: e.isLegacy && - (n = r({}, t, { type: l.default.INIT_FAIL, payload: t.payload.message ? { error: t.payload.message } : t.payload })) + (n = r({}, t, { + type: l.default.INIT_FAIL, + payload: t.payload.message + ? { error: t.payload.message } + : t.payload, + })) break case l.default.GQL_ERROR: e.isLegacy && (n = r({}, t, { type: l.default.SUBSCRIPTION_FAIL })) @@ -135709,7 +147005,8 @@ and limitations under the License. var t = l(e) if (u[t]) return u[t] var n = r(e, { experimentalFragmentVariables: a }) - if (!n || 'Document' !== n.kind) throw new Error('Not a valid GraphQL document.') + if (!n || 'Document' !== n.kind) + throw new Error('Not a valid GraphQL document.') return ( (n = (function e(t, n) { var r = Object.prototype.toString.call(t) @@ -135718,7 +147015,8 @@ and limitations under the License. return e(t, n) }) if ('[object Object]' !== r) throw new Error('Unexpected input.') - n && t.loc && delete t.loc, t.loc && (delete t.loc.startToken, delete t.loc.endToken) + n && t.loc && delete t.loc, + t.loc && (delete t.loc.startToken, delete t.loc.endToken) var l, u, i, @@ -135726,11 +147024,18 @@ and limitations under the License. for (l in o) o.hasOwnProperty(l) && ((u = t[o[l]]), - ('[object Object]' !== (i = Object.prototype.toString.call(u)) && '[object Array]' !== i) || (t[o[l]] = e(u, !0))) + ('[object Object]' !== + (i = Object.prototype.toString.call(u)) && + '[object Array]' !== i) || + (t[o[l]] = e(u, !0))) return t })( (n = (function(e) { - for (var t, n = {}, r = [], u = 0; u < e.definitions.length; u++) { + for ( + var t, n = {}, r = [], u = 0; + u < e.definitions.length; + u++ + ) { var a = e.definitions[u] if ('FragmentDefinition' === a.kind) { var s = a.name.value, @@ -135757,11 +147062,17 @@ and limitations under the License. } function c() { for ( - var e = Array.prototype.slice.call(arguments), t = e[0], n = 'string' == typeof t ? t : t[0], r = 1; + var e = Array.prototype.slice.call(arguments), + t = e[0], + n = 'string' == typeof t ? t : t[0], + r = 1; r < e.length; r++ ) - e[r] && e[r].kind && 'Document' === e[r].kind ? (n += e[r].loc.source.body) : (n += e[r]), (n += t[r]) + e[r] && e[r].kind && 'Document' === e[r].kind + ? (n += e[r].loc.source.body) + : (n += e[r]), + (n += t[r]) return s(n) } ;(c.default = c), @@ -135831,7 +147142,10 @@ and limitations under the License. t.ApolloServer = class extends l.ApolloServerBase { constructor(e) { ;(process.env.ENGINE_API_KEY || e.engine) && - (e.engine = Object.assign({ sendReportsImmediately: !0 }, 'boolean' != typeof e.engine ? e.engine : {})), + (e.engine = Object.assign( + { sendReportsImmediately: !0 }, + 'boolean' != typeof e.engine ? e.engine : {}, + )), super(e) } createGraphQLServerOptions(e, t) { @@ -135845,17 +147159,28 @@ and limitations under the License. (e.methods && ('string' == typeof e.methods ? n.set('access-control-allow-methods', e.methods) - : Array.isArray(e.methods) && n.set('access-control-allow-methods', e.methods.join(','))), + : Array.isArray(e.methods) && + n.set('access-control-allow-methods', e.methods.join(','))), e.allowedHeaders && ('string' == typeof e.allowedHeaders ? n.set('access-control-allow-headers', e.allowedHeaders) - : Array.isArray(e.allowedHeaders) && n.set('access-control-allow-headers', e.allowedHeaders.join(','))), + : Array.isArray(e.allowedHeaders) && + n.set( + 'access-control-allow-headers', + e.allowedHeaders.join(','), + )), e.exposedHeaders && ('string' == typeof e.exposedHeaders ? n.set('access-control-expose-headers', e.exposedHeaders) - : Array.isArray(e.exposedHeaders) && n.set('access-control-expose-headers', e.exposedHeaders.join(','))), - e.credentials && n.set('access-control-allow-credentials', 'true'), - 'number' == typeof e.maxAge && n.set('access-control-max-age', e.maxAge.toString())), + : Array.isArray(e.exposedHeaders) && + n.set( + 'access-control-expose-headers', + e.exposedHeaders.join(','), + )), + e.credentials && + n.set('access-control-allow-credentials', 'true'), + 'number' == typeof e.maxAge && + n.set('access-control-max-age', e.maxAge.toString())), (l, a, s) => { const c = new o.Headers(l.headers), d = new o.Headers(n) @@ -135864,20 +147189,31 @@ and limitations under the License. 'string' == typeof e.origin ? d.set('access-control-allow-origin', e.origin) : t && - ('boolean' == typeof e.origin || (Array.isArray(e.origin) && t && e.origin.includes(t))) && + ('boolean' == typeof e.origin || + (Array.isArray(e.origin) && t && e.origin.includes(t))) && d.set('access-control-allow-origin', t) const n = c.get('access-control-request-headers') - !e.allowedHeaders && n && d.set('access-control-allow-headers', n) + !e.allowedHeaders && + n && + d.set('access-control-allow-headers', n) } const f = Array.from(d).reduce((e, [t, n]) => ((e[t] = n), e), {}) if ('OPTIONS' === l.httpMethod) return ( - (a.callbackWaitsForEmptyEventLoop = !1), s(null, { body: '', statusCode: 204, headers: Object.assign({}, f) }) + (a.callbackWaitsForEmptyEventLoop = !1), + s(null, { + body: '', + statusCode: 204, + headers: Object.assign({}, f), + }) ) if (this.playgroundOptions && 'GET' === l.httpMethod) { const e = l.headers.Accept || l.headers.accept if (e && e.includes('text/html')) { - const e = l.path || (l.requestContext && l.requestContext.path) || '/', + const e = + l.path || + (l.requestContext && l.requestContext.path) || + '/', t = Object.assign({ endpoint: e }, this.playgroundOptions) return s(null, { body: u.renderPlaygroundPage(t), @@ -135891,7 +147227,13 @@ and limitations under the License. return yield t, this.createGraphQLServerOptions(l, a) }), )(l, a, (e, t) => { - s(e, t && Object.assign({}, t, { headers: Object.assign({}, t.headers, f) })) + s( + e, + t && + Object.assign({}, t, { + headers: Object.assign({}, t.headers, f), + }), + ) }) } ) @@ -135911,7 +147253,8 @@ and limitations under the License. Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) - for (var l in (t = arguments[n])) Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) + for (var l in (t = arguments[n])) + Object.prototype.hasOwnProperty.call(t, l) && (e[l] = t[l]) return e } Object.defineProperty(t, '__esModule', { value: !0 }) @@ -135927,7 +147270,9 @@ and limitations under the License. '/graphql-playground-react' + (t ? '@' + t : '') + '/build/static/css/index.css" />\n ' + - ('string' == typeof l ? '' : '') + + ('string' == typeof l + ? '' + : '') + '\n ' + (void 0 === l ? '$/i, d = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i, f = /^[a-z\d]+$/, @@ -136980,7 +148434,8 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { - if (((0, r.default)(e), !e || e.length >= 2083 || /[\s<>]/.test(e))) return !1 + if (((0, r.default)(e), !e || e.length >= 2083 || /[\s<>]/.test(e))) + return !1 if (0 === e.indexOf('mailto:')) return !1 var n, o, d, f, p, h, m, y if ( @@ -136991,7 +148446,11 @@ and limitations under the License. (e = m.shift()), (m = e.split('://')).length > 1) ) { - if (((n = m.shift().toLowerCase()), t.require_valid_protocol && -1 === t.protocols.indexOf(n))) return !1 + if ( + ((n = m.shift().toLowerCase()), + t.require_valid_protocol && -1 === t.protocols.indexOf(n)) + ) + return !1 } else { if (t.require_protocol) return !1 if ('//' === e.substr(0, 2)) { @@ -137000,17 +148459,35 @@ and limitations under the License. } } if ('' === (e = m.join('://'))) return !1 - if (((m = e.split('/')), '' === (e = m.shift()) && !t.require_host)) return !0 + if (((m = e.split('/')), '' === (e = m.shift()) && !t.require_host)) + return !0 if ((m = e.split('@')).length > 1) { if (t.disallow_auth) return !1 - if ((o = m.shift()).indexOf(':') >= 0 && o.split(':').length > 2) return !1 + if ((o = m.shift()).indexOf(':') >= 0 && o.split(':').length > 2) + return !1 } ;(f = m.join('@')), (h = null), (y = null) var _ = f.match(s) - _ ? ((d = ''), (y = _[1]), (h = _[2] || null)) : ((m = f.split(':')), (d = m.shift()), m.length && (h = m.join(':'))) - if (null !== h && ((p = parseInt(h, 10)), !/^[0-9]+$/.test(h) || p <= 0 || p > 65535)) return !1 - if (!((0, u.default)(d) || (0, l.default)(d, t) || (y && (0, u.default)(y, 6)))) return !1 - if (((d = d || y), t.host_whitelist && !c(d, t.host_whitelist))) return !1 + _ + ? ((d = ''), (y = _[1]), (h = _[2] || null)) + : ((m = f.split(':')), + (d = m.shift()), + m.length && (h = m.join(':'))) + if ( + null !== h && + ((p = parseInt(h, 10)), !/^[0-9]+$/.test(h) || p <= 0 || p > 65535) + ) + return !1 + if ( + !( + (0, u.default)(d) || + (0, l.default)(d, t) || + (y && (0, u.default)(y, 6)) + ) + ) + return !1 + if (((d = d || y), t.host_whitelist && !c(d, t.host_whitelist))) + return !1 if (t.host_blacklist && c(d, t.host_blacklist)) return !1 return !0 }) @@ -137035,7 +148512,13 @@ and limitations under the License. function c(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n] - if (e === r || ((l = r), '[object RegExp]' === Object.prototype.toString.call(l) && r.test(e))) return !0 + if ( + e === r || + ((l = r), + '[object RegExp]' === Object.prototype.toString.call(l) && + r.test(e)) + ) + return !0 } var l return !1 @@ -137088,7 +148571,10 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 'en-US' + var t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : 'en-US' if (((0, l.default)(e), t in u.alpha)) return u.alpha[t].test(e) throw new Error("Invalid locale '".concat(t, "'")) }), @@ -137103,8 +148589,12 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 'en-US' - if (((0, l.default)(e), t in u.alphanumeric)) return u.alphanumeric[t].test(e) + var t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : 'en-US' + if (((0, l.default)(e), t in u.alphanumeric)) + return u.alphanumeric[t].test(e) throw new Error("Invalid locale '".concat(t, "'")) }), (t.locales = void 0) @@ -137208,7 +148698,10 @@ and limitations under the License. (t.default = function(e, t) { ;(0, l.default)(e), (t = t || {}) var n = new RegExp( - '^(?:[-+])?(?:[0-9]+)?(?:\\'.concat(t.locale ? u.decimal[t.locale] : '.', '[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$'), + '^(?:[-+])?(?:[0-9]+)?(?:\\'.concat( + t.locale ? u.decimal[t.locale] : '.', + '[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$', + ), ) if ('' === e || '.' === e || '-' === e || '+' === e) return !1 var r = parseFloat(e.replace(',', '.')) @@ -137231,7 +148724,9 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { - if (((0, l.default)(e), (t = (0, r.default)(t, a)).locale in i.decimal)) + if ( + ((0, l.default)(e), (t = (0, r.default)(t, a)).locale in i.decimal) + ) return ( !(0, u.default)(s, e.replace(/ /g, '')) && (function(e) { @@ -137306,7 +148801,10 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { - return (0, l.default)(e), new RegExp('^[a-f0-9]{'.concat(u[t], '}$')).test(e) + return ( + (0, l.default)(e), + new RegExp('^[a-f0-9]{'.concat(u[t], '}$')).test(e) + ) }) var r, l = (r = n(7)) && r.__esModule ? r : { default: r } @@ -137358,7 +148856,10 @@ and limitations under the License. return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) @@ -137369,7 +148870,13 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { - return (0, r.default)(e), 0 === ((t = (0, l.default)(t, i)).ignore_whitespace ? e.trim().length : e.length) + return ( + (0, r.default)(e), + 0 === + ((t = (0, l.default)(t, i)).ignore_whitespace + ? e.trim().length + : e.length) + ) }) var r = u(n(7)), l = u(n(66)) @@ -137384,7 +148891,10 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { var n, r - ;(0, l.default)(e), 'object' === u(t) ? ((n = t.min || 0), (r = t.max)) : ((n = arguments[1]), (r = arguments[2])) + ;(0, l.default)(e), + 'object' === u(t) + ? ((n = t.min || 0), (r = t.max)) + : ((n = arguments[1]), (r = arguments[2])) var i = e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g) || [], o = e.length - i.length return o >= n && (void 0 === r || o <= r) @@ -137398,7 +148908,10 @@ and limitations under the License. return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) @@ -137409,7 +148922,10 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 'all' + var t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : 'all' ;(0, l.default)(e) var n = u[t] return n && n.test(e) @@ -137441,7 +148957,10 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : String(new Date()) + var t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : String(new Date()) ;(0, r.default)(e) var n = (0, l.default)(t), u = (0, l.default)(e) @@ -137458,7 +148977,10 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : String(new Date()) + var t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : String(new Date()) ;(0, r.default)(e) var n = (0, l.default)(t), u = (0, l.default)(e) @@ -137476,9 +148998,13 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { var n - if (((0, r.default)(e), '[object Array]' === Object.prototype.toString.call(t))) { + if ( + ((0, r.default)(e), + '[object Array]' === Object.prototype.toString.call(t)) + ) { var u = [] - for (n in t) ({}.hasOwnProperty.call(t, n) && (u[n] = (0, l.default)(t[n]))) + for (n in t) + ({}.hasOwnProperty.call(t, n) && (u[n] = (0, l.default)(t[n]))) return u.indexOf(e) >= 0 } if ('object' === i(t)) return t.hasOwnProperty(e) @@ -137497,7 +149023,10 @@ and limitations under the License. return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) @@ -137512,7 +149041,10 @@ and limitations under the License. var t = e.replace(/[- ]+/g, '') if (!u.test(t)) return !1 for (var n, r, i, o = 0, a = t.length - 1; a >= 0; a--) - (n = t.substring(a, a + 1)), (r = parseInt(n, 10)), (o += i && (r *= 2) >= 10 ? (r % 10) + 1 : r), (i = !i) + (n = t.substring(a, a + 1)), + (r = parseInt(n, 10)), + (o += i && (r *= 2) >= 10 ? (r % 10) + 1 : r), + (i = !i) return !(o % 10 != 0 || !t) }) var r, @@ -137524,7 +149056,10 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 'any' + var t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : 'any' if (((0, l.default)(e), t in u)) return u[t](e) if ('any' === t) { for (var n in u) @@ -137548,9 +149083,31 @@ and limitations under the License. return t[e] }) return n.endsWith( - ['T', 'R', 'W', 'A', 'G', 'M', 'Y', 'F', 'P', 'D', 'X', 'B', 'N', 'J', 'Z', 'S', 'Q', 'V', 'H', 'L', 'C', 'K', 'E'][ - r % 23 - ], + [ + 'T', + 'R', + 'W', + 'A', + 'G', + 'M', + 'Y', + 'F', + 'P', + 'D', + 'X', + 'B', + 'N', + 'J', + 'Z', + 'S', + 'Q', + 'V', + 'H', + 'L', + 'C', + 'K', + 'E', + ][r % 23], ) }, } @@ -137573,7 +149130,10 @@ and limitations under the License. a >= 0; a-- ) - (t = r.substring(a, a + 1)), (n = parseInt(t, 10)), (i += o && (n *= 2) >= 10 ? n + 1 : n), (o = !o) + (t = r.substring(a, a + 1)), + (n = parseInt(t, 10)), + (i += o && (n *= 2) >= 10 ? n + 1 : n), + (o = !o) return parseInt(e.substr(e.length - 1), 10) === (1e4 - i) % 10 }) var r, @@ -137585,7 +149145,8 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function e(t) { - var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '' + var n = + arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '' ;(0, l.default)(t) n = String(n) if (!n) return e(t, 10) || e(t, 13) @@ -137595,7 +149156,11 @@ and limitations under the License. if ('10' === n) { if (!u.test(r)) return !1 for (s = 0; s < 9; s++) a += (s + 1) * r.charAt(s) - if (('X' === r.charAt(9) ? (a += 100) : (a += 10 * r.charAt(9)), a % 11 == 0)) return !!r + if ( + ('X' === r.charAt(9) ? (a += 100) : (a += 10 * r.charAt(9)), + a % 11 == 0) + ) + return !!r } else if ('13' === n) { if (!i.test(r)) return !1 for (s = 0; s < 12; s++) a += o[s % 2] * r.charAt(s) @@ -137614,15 +149179,22 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {} + var t = + arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {} ;(0, l.default)(e) var n = u if ( ((n = t.require_hyphen ? n.replace('?', '') : n), - !(n = t.case_sensitive ? new RegExp(n) : new RegExp(n, 'i')).test(e)) + !(n = t.case_sensitive ? new RegExp(n) : new RegExp(n, 'i')).test( + e, + )) ) return !1 - for (var r = e.replace('-', '').toUpperCase(), i = 0, o = 0; o < r.length; o++) { + for ( + var r = e.replace('-', '').toUpperCase(), i = 0, o = 0; + o < r.length; + o++ + ) { var a = r[o] i += ('X' === a ? 10 : +a) * (8 - o) } @@ -137637,7 +149209,8 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t, n) { - if (((0, l.default)(e), n && n.strictMode && !e.startsWith('+'))) return !1 + if (((0, l.default)(e), n && n.strictMode && !e.startsWith('+'))) + return !1 if (Array.isArray(t)) return t.some(function(t) { if (u.hasOwnProperty(t)) { @@ -137732,7 +149305,9 @@ and limitations under the License. 'zh-CN': /^((\+|00)86)?1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/, 'zh-TW': /^(\+?886\-?|0)?9\d{8}$/, } - ;(u['en-CA'] = u['en-US']), (u['fr-BE'] = u['nl-BE']), (u['zh-HK'] = u['en-HK']) + ;(u['en-CA'] = u['en-US']), + (u['fr-BE'] = u['nl-BE']), + (u['zh-HK'] = u['en-HK']) var i = Object.keys(u) t.locales = i }, @@ -137747,8 +149322,13 @@ and limitations under the License. e.digits_after_decimal.forEach(function(e, n) { 0 !== n && (t = ''.concat(t, '|\\d{').concat(e, '}')) }) - var n = '(\\'.concat(e.symbol.replace(/\./g, '\\.'), ')').concat(e.require_symbol ? '' : '?'), - r = '[1-9]\\d{0,2}(\\'.concat(e.thousands_separator, '\\d{3})*'), + var n = '(\\' + .concat(e.symbol.replace(/\./g, '\\.'), ')') + .concat(e.require_symbol ? '' : '?'), + r = '[1-9]\\d{0,2}(\\'.concat( + e.thousands_separator, + '\\d{3})*', + ), l = '('.concat(['0', '[1-9]\\d*', r].join('|'), ')?'), u = '(\\' .concat(e.decimal_separator, '(') @@ -137758,7 +149338,9 @@ and limitations under the License. return ( e.allow_negatives && !e.parens_for_negatives && - (e.negative_sign_after_digits ? (i += '-?') : e.negative_sign_before_digits && (i = '-?' + i)), + (e.negative_sign_after_digits + ? (i += '-?') + : e.negative_sign_before_digits && (i = '-?' + i)), e.allow_negative_sign_placeholder ? (i = '( (?!\\-))?'.concat(i)) : e.allow_space_after_symbol @@ -137768,7 +149350,9 @@ and limitations under the License. e.allow_negatives && (e.parens_for_negatives ? (i = '(\\('.concat(i, '\\)|').concat(i, ')')) - : e.negative_sign_before_digits || e.negative_sign_after_digits || (i = '-?' + i)), + : e.negative_sign_before_digits || + e.negative_sign_after_digits || + (i = '-?' + i)), new RegExp('^(?!-? )(?=.*\\d)'.concat(i, '$')) ) })((t = (0, r.default)(t, i))).test(e) @@ -137830,7 +149414,11 @@ and limitations under the License. ) return ( !isNaN(c.getUTCFullYear()) && - (!i || !o || (c.getUTCFullYear() === u && c.getUTCMonth() + 1 === i && c.getUTCDate() === o)) + (!i || + !o || + (c.getUTCFullYear() === u && + c.getUTCMonth() + 1 === i && + c.getUTCDate() === o)) ) } ;(e.exports = t.default), (e.exports.default = t.default) @@ -138605,7 +150193,9 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { ;(0, r.default)(e) - var n = t ? '\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F' : '\\x00-\\x1F\\x7F' + var n = t + ? '\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F' + : '\\x00-\\x1F\\x7F' return (0, l.default)(e, n) }) var r = u(n(7)), @@ -138619,7 +150209,10 @@ and limitations under the License. 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { - return (0, l.default)(e), e.replace(new RegExp('[^'.concat(t, ']+'), 'g'), '') + return ( + (0, l.default)(e), + e.replace(new RegExp('[^'.concat(t, ']+'), 'g'), '') + ) }) var r, l = (r = n(7)) && r.__esModule ? r : { default: r } @@ -138630,7 +150223,8 @@ and limitations under the License. Object.defineProperty(t, '__esModule', { value: !0 }), (t.default = function(e, t) { ;(0, l.default)(e) - for (var n = e.length - 1; n >= 0; n--) if (-1 === t.indexOf(e[n])) return !1 + for (var n = e.length - 1; n >= 0; n--) + if (-1 === t.indexOf(e[n])) return !1 return !0 }) var r, @@ -138645,31 +150239,48 @@ and limitations under the License. var n = e.split('@'), r = n.pop(), d = [n.join('@'), r] - if (((d[1] = d[1].toLowerCase()), 'gmail.com' === d[1] || 'googlemail.com' === d[1])) { + if ( + ((d[1] = d[1].toLowerCase()), + 'gmail.com' === d[1] || 'googlemail.com' === d[1]) + ) { if ( (t.gmail_remove_subaddress && (d[0] = d[0].split('+')[0]), t.gmail_remove_dots && (d[0] = d[0].replace(/\.+/g, c)), !d[0].length) ) return !1 - ;(t.all_lowercase || t.gmail_lowercase) && (d[0] = d[0].toLowerCase()), + ;(t.all_lowercase || t.gmail_lowercase) && + (d[0] = d[0].toLowerCase()), (d[1] = t.gmail_convert_googlemaildotcom ? 'gmail.com' : d[1]) } else if (i.indexOf(d[1]) >= 0) { - if ((t.icloud_remove_subaddress && (d[0] = d[0].split('+')[0]), !d[0].length)) return !1 - ;(t.all_lowercase || t.icloud_lowercase) && (d[0] = d[0].toLowerCase()) + if ( + (t.icloud_remove_subaddress && (d[0] = d[0].split('+')[0]), + !d[0].length) + ) + return !1 + ;(t.all_lowercase || t.icloud_lowercase) && + (d[0] = d[0].toLowerCase()) } else if (o.indexOf(d[1]) >= 0) { - if ((t.outlookdotcom_remove_subaddress && (d[0] = d[0].split('+')[0]), !d[0].length)) return !1 - ;(t.all_lowercase || t.outlookdotcom_lowercase) && (d[0] = d[0].toLowerCase()) + if ( + (t.outlookdotcom_remove_subaddress && (d[0] = d[0].split('+')[0]), + !d[0].length) + ) + return !1 + ;(t.all_lowercase || t.outlookdotcom_lowercase) && + (d[0] = d[0].toLowerCase()) } else if (a.indexOf(d[1]) >= 0) { if (t.yahoo_remove_subaddress) { var f = d[0].split('-') d[0] = f.length > 1 ? f.slice(0, -1).join('-') : f[0] } if (!d[0].length) return !1 - ;(t.all_lowercase || t.yahoo_lowercase) && (d[0] = d[0].toLowerCase()) + ;(t.all_lowercase || t.yahoo_lowercase) && + (d[0] = d[0].toLowerCase()) } else s.indexOf(d[1]) >= 0 - ? ((t.all_lowercase || t.yandex_lowercase) && (d[0] = d[0].toLowerCase()), (d[1] = 'yandex.ru')) + ? ((t.all_lowercase || t.yandex_lowercase) && + (d[0] = d[0].toLowerCase()), + (d[1] = 'yandex.ru')) : t.all_lowercase && (d[0] = d[0].toLowerCase()) return d.join('@') }) @@ -138785,7 +150396,14 @@ and limitations under the License. 'yahoo.it', 'ymail.com', ], - s = ['yandex.ru', 'yandex.ua', 'yandex.kz', 'yandex.com', 'yandex.by', 'ya.ru'] + s = [ + 'yandex.ru', + 'yandex.ua', + 'yandex.kz', + 'yandex.com', + 'yandex.by', + 'ya.ru', + ] function c(e) { return e.length > 1 ? e : '' } @@ -139168,7 +150786,11 @@ and limitations under the License. var t = e.key || e const n = Object.keys(e) .map(function(e) { - return { boolean: 'bools', string: 'strings', number: 'numbers' }[e] + return { + boolean: 'bools', + string: 'strings', + number: 'numbers', + }[e] }) .filter(Boolean) .pop() @@ -139228,13 +150850,21 @@ and limitations under the License. v.aliases[e].concat(e).forEach(function(t) { if (/-/.test(t) && c['camel-case-expansion']) { var n = r(t) - n !== e && -1 === v.aliases[e].indexOf(n) && (v.aliases[e].push(n), (y[n] = !0)) + n !== e && + -1 === v.aliases[e].indexOf(n) && + (v.aliases[e].push(n), (y[n] = !0)) } }), v.aliases[e].concat(e).forEach(function(t) { - if (t.length > 1 && /[A-Z]/.test(t) && c['camel-case-expansion']) { + if ( + t.length > 1 && + /[A-Z]/.test(t) && + c['camel-case-expansion'] + ) { var n = l(t, '-') - n !== e && -1 === v.aliases[e].indexOf(n) && (v.aliases[e].push(n), (y[n] = !0)) + n !== e && + -1 === v.aliases[e].indexOf(n) && + (v.aliases[e].push(n), (y[n] = !0)) } }), v.aliases[e].forEach(function(t) { @@ -139270,28 +150900,41 @@ and limitations under the License. k, j, C = e[D] - if (C.match(/^--.+=/) || (!c['short-option-groups'] && C.match(/^-.+=/))) + if ( + C.match(/^--.+=/) || + (!c['short-option-groups'] && C.match(/^-.+=/)) + ) Q((S = C.match(/^--?([^=]+)=([\s\S]*)$/))[1], v.nargs) ? (e.splice(D + 1, 0, S[2]), (D = A(D, S[1], e))) : Q(S[1], v.arrays) && e.length > D + 1 ? (e.splice(D + 1, 0, S[2]), (D = P(D, S[1], e))) : x(S[1], S[2]) - else if (C.match(T) && c['boolean-negation']) x((L = C.match(T)[1]), !1) - else if (C.match(/^--.+/) || (!c['short-option-groups'] && C.match(/^-.+/))) + else if (C.match(T) && c['boolean-negation']) + x((L = C.match(T)[1]), !1) + else if ( + C.match(/^--.+/) || + (!c['short-option-groups'] && C.match(/^-.+/)) + ) Q((L = C.match(/^--?(.+)/)[1]), v.nargs) ? (D = A(D, L, e)) : Q(L, v.arrays) && e.length > D + 1 ? (D = P(D, L, e)) - : void 0 === (k = e[D + 1]) || (k.match(/^-/) && !k.match(b)) || Q(L, v.bools) || Q(L, v.counts) + : void 0 === (k = e[D + 1]) || + (k.match(/^-/) && !k.match(b)) || + Q(L, v.bools) || + Q(L, v.counts) ? /^(true|false)$/.test(k) ? (x(L, k), D++) : x(L, U(L)) : (x(L, k), D++) - else if (C.match(/^-.\..+=/)) x((S = C.match(/^-([^=]+)=([\s\S]*)$/))[1], S[2]) + else if (C.match(/^-.\..+=/)) + x((S = C.match(/^-([^=]+)=([\s\S]*)$/))[1], S[2]) else if (C.match(/^-.\..+/)) (k = e[D + 1]), (L = C.match(/^-(.\..+)/)[1]), - void 0 === k || k.match(/^-/) || Q(L, v.bools) || Q(L, v.counts) ? x(L, U(L)) : (x(L, k), D++) + void 0 === k || k.match(/^-/) || Q(L, v.bools) || Q(L, v.counts) + ? x(L, U(L)) + : (x(L, k), D++) else if (C.match(/^-[^-]+/) && !C.match(b)) { ;(M = C.slice(1, -1).split('')), (E = !1) for (var N = 0; N < M.length; N++) { @@ -139306,7 +150949,10 @@ and limitations under the License. break } if ('-' !== k) { - if (/[A-Za-z]/.test(M[N]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(k)) { + if ( + /[A-Za-z]/.test(M[N]) && + /^-?\d+(\.\d*)?(e-?\d+)?$/.test(k) + ) { x(M[N], k), (E = !0) break } @@ -139324,7 +150970,10 @@ and limitations under the License. ? (D = A(D, L, e)) : Q(L, v.arrays) && e.length > D + 1 ? (D = P(D, L, e)) - : void 0 === (k = e[D + 1]) || (/^(-|--)[^-]/.test(k) && !k.match(b)) || Q(L, v.bools) || Q(L, v.counts) + : void 0 === (k = e[D + 1]) || + (/^(-|--)[^-]/.test(k) && !k.match(b)) || + Q(L, v.bools) || + Q(L, v.counts) ? /^(true|false)$/.test(k) ? (x(L, k), D++) : x(L, U(L)) @@ -139389,7 +151038,8 @@ and limitations under the License. }) .join('.') !(function e(t, n) { - ;(v.aliases[t] && v.aliases[t].length) || ((v.aliases[t] = [n]), (y[n] = !0)) + ;(v.aliases[t] && v.aliases[t].length) || + ((v.aliases[t] = [n]), (y[n] = !0)) ;(v.aliases[n] && v.aliases[n].length) || e(n, t) })(e, n) } @@ -139422,11 +151072,15 @@ and limitations under the License. ("'" !== t[0] && '"' !== t[0]) || t[t.length - 1] !== t[0] || (t = t.substring(1, t.length - 1)), - (Q(e, v.bools) || Q(e, v.counts)) && 'string' == typeof t && (t = 'true' === t) + (Q(e, v.bools) || Q(e, v.counts)) && + 'string' == typeof t && + (t = 'true' === t) var n = I(e, t) return ( Q(e, v.counts) && (W(n) || 'boolean' == typeof n) && (n = s), - Q(e, v.normalize) && Q(e, v.arrays) && (n = Array.isArray(t) ? t.map(u.normalize) : u.normalize(t)), + Q(e, v.normalize) && + Q(e, v.arrays) && + (n = Array.isArray(t) ? t.map(u.normalize) : u.normalize(t)), n ) } @@ -139435,7 +151089,8 @@ and limitations under the License. ;((null != (n = t) && ('number' == typeof n || !!/^0x[0-9a-f]+$/i.test(n) || - (!(n.length > 1 && '0' === n[0]) && /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(n))) && + (!(n.length > 1 && '0' === n[0]) && + /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(n))) && c['parse-numbers'] && Number.isSafeInteger(Math.floor(t))) || (!W(t) && Q(e, v.numbers))) && @@ -139448,9 +151103,15 @@ and limitations under the License. Object.keys(e).forEach(function(n) { var r = e[n], l = t ? t + '.' + n : n - 'object' == typeof r && null !== r && !Array.isArray(r) && c['dot-notation'] + 'object' == typeof r && + null !== r && + !Array.isArray(r) && + c['dot-notation'] ? F(r, l) - : (!H(w, l.split('.')) || v.defaulted[l] || (v.arrays[l] && c['combine-arrays'])) && x(l, r) + : (!H(w, l.split('.')) || + v.defaulted[l] || + (v.arrays[l] && c['combine-arrays'])) && + x(l, r) }) } function R(e, t) { @@ -139461,7 +151122,9 @@ and limitations under the License. var u = l.split('__').map(function(e, t) { return 0 === t && (e = e.substring(n.length)), r(e) }) - !((t && v.configs[u.join('.')]) || !t) || (H(e, u) && !v.defaulted[u.join('.')]) || x(u.join('.'), process.env[l]) + !((t && v.configs[u.join('.')]) || !t) || + (H(e, u) && !v.defaulted[u.join('.')]) || + x(u.join('.'), process.env[l]) } }) } @@ -139490,7 +151153,8 @@ and limitations under the License. t.slice(0, -1).forEach(function(e, t) { 'object' == typeof r && void 0 === r[e] && (r[e] = {}), 'object' != typeof r[e] || Array.isArray(r[e]) - ? (Array.isArray(r[e]) ? r[e].push({}) : (r[e] = [r[e], {}]), (r = r[e][r[e].length - 1])) + ? (Array.isArray(r[e]) ? r[e].push({}) : (r[e] = [r[e], {}]), + (r = r[e][r[e].length - 1])) : (r = r[e]) }) var l = t[t.length - 1], @@ -139501,13 +151165,21 @@ and limitations under the License. ? (r[l] = s(r[l])) : Array.isArray(r[l]) ? o && u && i - ? (r[l] = c['flatten-duplicate-arrays'] ? r[l].concat(n) : (Array.isArray(r[l][0]) ? r[l] : [r[l]]).concat([n])) + ? (r[l] = c['flatten-duplicate-arrays'] + ? r[l].concat(n) + : (Array.isArray(r[l][0]) ? r[l] : [r[l]]).concat([n])) : o || Boolean(u) !== Boolean(i) ? (r[l] = r[l].concat([n])) : (r[l] = n) : void 0 === r[l] && u ? (r[l] = i ? n : [n]) - : o && !(void 0 === r[l] || Q(l, v.bools) || Q(t.join('.'), v.bools) || Q(l, v.counts)) + : o && + !( + void 0 === r[l] || + Q(l, v.bools) || + Q(t.join('.'), v.bools) || + Q(l, v.counts) + ) ? (r[l] = [r[l], n]) : (r[l] = n) } @@ -139526,7 +151198,11 @@ and limitations under the License. : q( (function(e) { var t = 'boolean' - Q(e, v.strings) ? (t = 'string') : Q(e, v.numbers) ? (t = 'number') : Q(e, v.arrays) && (t = 'array') + Q(e, v.strings) + ? (t = 'string') + : Q(e, v.numbers) + ? (t = 'number') + : Q(e, v.arrays) && (t = 'array') return t })(e), ) @@ -139574,7 +151250,10 @@ and limitations under the License. var t, n = {} Object.keys(e).forEach(function(r) { - if (!n.hasOwnProperty(r) && 'function' == typeof (t = Q(r, v.coercions))) + if ( + !n.hasOwnProperty(r) && + 'function' == typeof (t = Q(r, v.coercions)) + ) try { var l = t(e[r]) ;[].concat(v.aliases[r] || [], r).forEach((t) => { @@ -139598,7 +151277,13 @@ and limitations under the License. O.forEach(function(e) { w[m].push(e) }), - { argv: w, error: g, aliases: v.aliases, newAliases: y, configuration: c } + { + argv: w, + error: g, + aliases: v.aliases, + newAliases: y, + configuration: c, + } ) } function s(e) { @@ -139615,7 +151300,8 @@ and limitations under the License. function(e, t, n) { 'use strict' const r = (e, t) => { - if ('string' != typeof e && !Array.isArray(e)) throw new TypeError('Expected the input to be `string | string[]`') + if ('string' != typeof e && !Array.isArray(e)) + throw new TypeError('Expected the input to be `string | string[]`') t = Object.assign({ pascalCase: !1 }, t) return 0 === (e = Array.isArray(e) @@ -139637,16 +151323,24 @@ and limitations under the License. for (let l = 0; l < e.length; l++) { const u = e[l] t && /[a-zA-Z]/.test(u) && u.toUpperCase() === u - ? ((e = e.slice(0, l) + '-' + e.slice(l)), (t = !1), (r = n), (n = !0), l++) + ? ((e = e.slice(0, l) + '-' + e.slice(l)), + (t = !1), + (r = n), + (n = !0), + l++) : n && r && /[a-zA-Z]/.test(u) && u.toLowerCase() === u - ? ((e = e.slice(0, l - 1) + '-' + e.slice(l - 1)), (r = n), (n = !1), (t = !0)) + ? ((e = e.slice(0, l - 1) + '-' + e.slice(l - 1)), + (r = n), + (n = !1), + (t = !0)) : ((t = u.toLowerCase() === u && u.toUpperCase() !== u), (r = n), (n = u.toUpperCase() === u && u.toLowerCase() !== u)) } return e })(e)), - ((e) => (t.pascalCase ? e.charAt(0).toUpperCase() + e.slice(1) : e))( + ((e) => + t.pascalCase ? e.charAt(0).toUpperCase() + e.slice(1) : e)( (e = e .replace(/^[_.\- ]+/, '') .toLowerCase() @@ -139673,10 +151367,16 @@ and limitations under the License. e.exports = function(e) { if (Array.isArray(e)) return e e = e.trim() - for (var t = 0, n = null, r = null, l = null, u = [], i = 0; i < e.length; i++) + for ( + var t = 0, n = null, r = null, l = null, u = [], i = 0; + i < e.length; + i++ + ) (n = r), ' ' !== (r = e.charAt(i)) || l - ? (r === l ? (u[t] || (u[t] = ''), (l = null)) : ("'" !== r && '"' !== r) || l || (l = r), + ? (r === l + ? (u[t] || (u[t] = ''), (l = null)) + : ("'" !== r && '"' !== r) || l || (l = r), u[t] || (u[t] = ''), (u[t] += r)) : ' ' !== n && t++ @@ -139727,11 +151427,17 @@ and limitations under the License. k = /^\[object .+?Constructor\]$/, j = /^(?:0|[1-9]\d*)$/, C = {} - ;(C[u] = C['[object Array]'] = C[_] = C[g] = C[i] = C[o] = C[v] = C[b] = C[T] = C[w] = C[O] = C[c] = C[d] = C[f] = C[ - p - ] = C[h] = C[m] = C[y] = C[D] = C[E] = C[L] = C[M] = !0), + ;(C[u] = C['[object Array]'] = C[_] = C[g] = C[i] = C[o] = C[v] = C[ + b + ] = C[T] = C[w] = C[O] = C[c] = C[d] = C[f] = C[p] = C[h] = C[m] = C[ + y + ] = C[D] = C[E] = C[L] = C[M] = !0), (C['[object Error]'] = C[a] = C['[object WeakMap]'] = !1) - var N = 'object' == typeof global && global && global.Object === Object && global, + var N = + 'object' == typeof global && + global && + global.Object === Object && + global, A = 'object' == typeof self && self && self.Object === Object && self, P = N || A || Function('return this')(), x = t && !t.nodeType && t, @@ -139787,7 +151493,9 @@ and limitations under the License. G = Function.prototype, $ = Object.prototype, z = P['__core-js_shared__'], - J = (q = /[^.]+$/.exec((z && z.keys && z.keys.IE_PROTO) || '')) ? 'Symbol(src)_1.' + q : '', + J = (q = /[^.]+$/.exec((z && z.keys && z.keys.IE_PROTO) || '')) + ? 'Symbol(src)_1.' + q + : '', K = G.toString, Z = $.hasOwnProperty, X = $.toString, @@ -139795,7 +151503,10 @@ and limitations under the License. '^' + K.call(Z) .replace(/[\\^$.*+?()[\]{}|]/g, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + + .replace( + /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, + '$1.*?', + ) + '$', ), te = I ? P.Buffer : void 0, @@ -139871,7 +151582,10 @@ and limitations under the License. : [], r = n.length, l = !!r - for (var i in e) (!t && !Z.call(e, i)) || (l && ('length' == i || Re(i, r))) || n.push(i) + for (var i in e) + (!t && !Z.call(e, i)) || + (l && ('length' == i || Re(i, r))) || + n.push(i) return n } function ke(e, t, n) { @@ -139892,7 +151606,10 @@ and limitations under the License. ((N = (function(e) { var t = e.length, n = e.constructor(t) - t && 'string' == typeof e[0] && Z.call(e, 'index') && ((n.index = e.index), (n.input = e.input)) + t && + 'string' == typeof e[0] && + Z.call(e, 'index') && + ((n.index = e.index), (n.input = e.input)) return n })(e)), !t) @@ -139917,7 +151634,9 @@ and limitations under the License. if (H(e)) return k ? e : {} if ( ((N = (function(e) { - return 'function' != typeof e.constructor || Be(e) ? {} : ((t = le(e)), Ge(t) ? ue(t) : {}) + return 'function' != typeof e.constructor || Be(e) + ? {} + : ((t = le(e)), Ge(t) ? ue(t) : {}) var t })(x ? {} : e)), !t) @@ -139966,7 +151685,13 @@ and limitations under the License. case m: return new l(e) case p: - return ((s = new (a = e).constructor(a.source, S.exec(a))).lastIndex = a.lastIndex), s + return ( + ((s = new (a = e).constructor( + a.source, + S.exec(a), + )).lastIndex = a.lastIndex), + s + ) case h: return (function(e, t, n) { return B(t ? n(U(e), !0) : U(e), R, new e.constructor()) @@ -139990,7 +151715,12 @@ and limitations under the License. return Qe(e) ? r : (function(e, t) { - for (var n = -1, r = t.length, l = e.length; ++n < r; ) e[l + n] = t[n] + for ( + var n = -1, r = t.length, l = e.length; + ++n < r; + + ) + e[l + n] = t[n] return e })(r, n(e)) })(e, $e, Ie) @@ -139998,7 +151728,11 @@ and limitations under the License. : $e(e) return ( (function(e, t) { - for (var n = -1, r = e ? e.length : 0; ++n < r && !1 !== t(e[n], n, e); ); + for ( + var n = -1, r = e ? e.length : 0; + ++n < r && !1 !== t(e[n], n, e); + + ); })(I || e, function(l, u) { I && (l = e[(u = l)]), ke(N, u, Ce(l, t, n, r, u, e, j)) }), @@ -140006,7 +151740,10 @@ and limitations under the License. ) } function Ne(e) { - return !(!Ge(e) || ((t = e), J && J in t)) && (We(e) || H(e) ? ee : k).test(He(e)) + return ( + !(!Ge(e) || ((t = e), J && J in t)) && + (We(e) || H(e) ? ee : k).test(He(e)) + ) var t } function Ae(e) { @@ -140026,7 +151763,10 @@ and limitations under the License. var n, r, l = e.__data__ - return ('string' == (r = typeof (n = t)) || 'number' == r || 'symbol' == r || 'boolean' == r + return ('string' == (r = typeof (n = t)) || + 'number' == r || + 'symbol' == r || + 'boolean' == r ? '__proto__' !== n : null === n) ? l['string' == typeof t ? 'string' : 'hash'] @@ -140065,7 +151805,9 @@ and limitations under the License. (Ee.prototype.delete = function(e) { var t = this.__data__, n = je(t, e) - return !(n < 0 || (n == t.length - 1 ? t.pop() : oe.call(t, n, 1), 0)) + return !( + n < 0 || (n == t.length - 1 ? t.pop() : oe.call(t, n, 1), 0) + ) }), (Ee.prototype.get = function(e) { var t = this.__data__, @@ -140081,7 +151823,11 @@ and limitations under the License. return r < 0 ? n.push([e, t]) : (n[r][1] = t), this }), (Le.prototype.clear = function() { - this.__data__ = { hash: new De(), map: new (fe || Ee)(), string: new De() } + this.__data__ = { + hash: new De(), + map: new (fe || Ee)(), + string: new De(), + } }), (Le.prototype.delete = function(e) { return xe(this, e).delete(e) @@ -140125,7 +151871,13 @@ and limitations under the License. return X.call(e) } function Re(e, t) { - return !!(t = null == t ? l : t) && ('number' == typeof e || j.test(e)) && e > -1 && e % 1 == 0 && e < t + return ( + !!(t = null == t ? l : t) && + ('number' == typeof e || j.test(e)) && + e > -1 && + e % 1 == 0 && + e < t + ) } function Be(e) { var t = e && e.constructor @@ -140198,7 +151950,8 @@ and limitations under the License. : (function(e) { if (!Be(e)) return ce(e) var t = [] - for (var n in Object(e)) Z.call(e, n) && 'constructor' != n && t.push(n) + for (var n in Object(e)) + Z.call(e, n) && 'constructor' != n && t.push(n) return t })(e) } @@ -140230,7 +151983,9 @@ and limitations under the License. let t = l[2] || '' const n = t.length - 1, u = '"' === t[0] && '"' === t[n] - ;("'" === t[0] && "'" === t[n]) || u ? ((t = t.substring(1, n)), u && (t = t.replace(a, i))) : (t = t.trim()), + ;("'" === t[0] && "'" === t[n]) || u + ? ((t = t.substring(1, n)), u && (t = t.replace(a, i))) + : (t = t.trim()), (r[e] = t) } else n && u(`did not match key and value when parsing line ${t + 1}: ${e}`) }), @@ -140241,13 +151996,19 @@ and limitations under the License. let t = l.resolve(process.cwd(), '.env'), n = 'utf8', i = !1 - e && (null != e.path && (t = e.path), null != e.encoding && (n = e.encoding), null != e.debug && (i = !0)) + e && + (null != e.path && (t = e.path), + null != e.encoding && (n = e.encoding), + null != e.debug && (i = !0)) try { const e = s(r.readFileSync(t, { encoding: n }), { debug: i }) return ( Object.keys(e).forEach(function(t) { process.env.hasOwnProperty(t) - ? i && u(`"${t}" is already defined in \`process.env\` and will not be overwritten`) + ? i && + u( + `"${t}" is already defined in \`process.env\` and will not be overwritten`, + ) : (process.env[t] = e[t]) }), { parsed: e } @@ -140261,7 +152022,10 @@ and limitations under the License. function(e, t, n) { 'use strict' n.r(t) - var r = 'function' == typeof Symbol ? Symbol.for('nodejs.util.inspect.custom') : void 0 + var r = + 'function' == typeof Symbol + ? Symbol.for('nodejs.util.inspect.custom') + : void 0 function l(e) { return (l = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator @@ -140269,7 +152033,10 @@ and limitations under the License. return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) @@ -140299,8 +152066,18 @@ and limitations under the License. return (function(e, t) { if (0 === e.length) return '[]' if (t.length > i) return '[Array]' - for (var n = Math.min(u, e.length), r = e.length - n, l = [], a = 0; a < n; ++a) l.push(o(e[a], t)) - 1 === r ? l.push('... 1 more item') : r > 1 && l.push('... '.concat(r, ' more items')) + for ( + var n = Math.min(u, e.length), + r = e.length - n, + l = [], + a = 0; + a < n; + ++a + ) + l.push(o(e[a], t)) + 1 === r + ? l.push('... 1 more item') + : r > 1 && l.push('... '.concat(r, ' more items')) return '[' + l.join(', ') + ']' })(e, n) return (function(e, t) { @@ -140314,7 +152091,10 @@ and limitations under the License. .call(e) .replace(/^\[object /, '') .replace(/]$/, '') - if ('Object' === t && 'function' == typeof e.constructor) { + if ( + 'Object' === t && + 'function' == typeof e.constructor + ) { var n = e.constructor.name if ('string' == typeof n) return n } @@ -140341,8 +152121,13 @@ and limitations under the License. } } function a(e) { - var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : e.prototype.toString - ;(e.prototype.toJSON = t), (e.prototype.inspect = t), r && (e.prototype[r] = t) + var t = + arguments.length > 1 && void 0 !== arguments[1] + ? arguments[1] + : e.prototype.toString + ;(e.prototype.toJSON = t), + (e.prototype.inspect = t), + r && (e.prototype[r] = t) } function s(e, t) { if (!Boolean(e)) throw new Error(t) @@ -140352,11 +152137,17 @@ and limitations under the License. ;(this.body = e), (this.name = t || 'GraphQL request'), (this.locationOffset = n || { line: 1, column: 1 }), - this.locationOffset.line > 0 || s(0, 'line in locationOffset is 1-indexed and must be positive'), - this.locationOffset.column > 0 || s(0, 'column in locationOffset is 1-indexed and must be positive') + this.locationOffset.line > 0 || + s(0, 'line in locationOffset is 1-indexed and must be positive'), + this.locationOffset.column > 0 || + s(0, 'column in locationOffset is 1-indexed and must be positive') } function f(e, t) { - for (var n, r = /\r\n|[\n\r]/g, l = 1, u = t + 1; (n = r.exec(e.body)) && n.index < t; ) + for ( + var n, r = /\r\n|[\n\r]/g, l = 1, u = t + 1; + (n = r.exec(e.body)) && n.index < t; + + ) (l += 1), (u = t + 1 - (n.index + n[0].length)) return { line: l, column: u } } @@ -140385,7 +152176,11 @@ and limitations under the License. l = !1, u = void 0 try { - for (var i, o = t[Symbol.iterator](); !(r = (i = o.next()).done); r = !0) { + for ( + var i, o = t[Symbol.iterator](); + !(r = (i = o.next()).done); + r = !0 + ) { var a = i.value, s = a[0] n = Math.max(n, s.length) @@ -140425,13 +152220,22 @@ and limitations under the License. return typeof e } : function(e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype ? 'symbol' : typeof e })(e) } function y(e, t, n, r, l, u, i) { - var o = Array.isArray(t) ? (0 !== t.length ? t : void 0) : t ? [t] : void 0, + var o = Array.isArray(t) + ? 0 !== t.length + ? t + : void 0 + : t + ? [t] + : void 0, a = n if (!a && o) { var s = o[0] @@ -140469,10 +152273,18 @@ and limitations under the License. extensions: { value: p || void 0, enumerable: Boolean(p) }, }), u && u.stack - ? Object.defineProperty(this, 'stack', { value: u.stack, writable: !0, configurable: !0 }) + ? Object.defineProperty(this, 'stack', { + value: u.stack, + writable: !0, + configurable: !0, + }) : Error.captureStackTrace ? Error.captureStackTrace(this, y) - : Object.defineProperty(this, 'stack', { value: Error().stack, writable: !0, configurable: !0 }) + : Object.defineProperty(this, 'stack', { + value: Error().stack, + writable: !0, + configurable: !0, + }) } function _(e, t, n) { return new y('Syntax Error: '.concat(n), void 0, e, [t]) @@ -140483,7 +152295,8 @@ and limitations under the License. for (var t = null, n = 1; n < e.length; n++) { var r = e[n], l = v(r) - if (l !== r.length && ((null === t || l < t) && 0 === (t = l))) break + if (l !== r.length && ((null === t || l < t) && 0 === (t = l))) + break } return null === t ? 0 : t })(t) @@ -140501,7 +152314,16 @@ and limitations under the License. } function T(e, t) { var n = new L(D.SOF, 0, 0, 0, 0, null) - return { source: e, options: t, lastToken: n, token: n, line: 1, lineStart: 0, advance: w, lookahead: O } + return { + source: e, + options: t, + lastToken: n, + token: n, + line: 1, + lineStart: 0, + advance: w, + lookahead: O, + } } function w() { return (this.lastToken = this.token), (this.token = this.lookahead()) @@ -140534,9 +152356,14 @@ and limitations under the License. r = !1, l = void 0 try { - for (var u, i = e.nodes[Symbol.iterator](); !(n = (u = i.next()).done); n = !0) { + for ( + var u, i = e.nodes[Symbol.iterator](); + !(n = (u = i.next()).done); + n = !0 + ) { var o = u.value - o.loc && t.push(p(o.loc.source, f(o.loc.source, o.loc.start))) + o.loc && + t.push(p(o.loc.source, f(o.loc.source, o.loc.start))) } } catch (e) { ;(r = !0), (l = e) @@ -140553,7 +152380,11 @@ and limitations under the License. c = !1, d = void 0 try { - for (var h, m = e.locations[Symbol.iterator](); !(s = (h = m.next()).done); s = !0) { + for ( + var h, m = e.locations[Symbol.iterator](); + !(s = (h = m.next()).done); + s = !0 + ) { var y = h.value t.push(p(a, y)) } @@ -140567,7 +152398,9 @@ and limitations under the License. } } } - return 0 === t.length ? e.message : [e.message].concat(t).join('\n\n') + '\n' + return 0 === t.length + ? e.message + : [e.message].concat(t).join('\n\n') + '\n' })(this) }, }, @@ -140630,7 +152463,9 @@ and limitations under the License. else if (10 === u) ++l, ++n.line, (n.lineStart = l) else { if (13 !== u) break - 10 === e.charCodeAt(l + 1) ? (l += 2) : ++l, ++n.line, (n.lineStart = l) + 10 === e.charCodeAt(l + 1) ? (l += 2) : ++l, + ++n.line, + (n.lineStart = l) } } return l @@ -140661,7 +152496,8 @@ and limitations under the License. case 41: return new L(D.PAREN_R, u, u + 1, i, o, t) case 46: - if (46 === r.charCodeAt(u + 1) && 46 === r.charCodeAt(u + 2)) return new L(D.SPREAD, u, u + 3, i, o, t) + if (46 === r.charCodeAt(u + 1) && 46 === r.charCodeAt(u + 2)) + return new L(D.SPREAD, u, u + 3, i, o, t) break case 58: return new L(D.COLON, u, u + 1, i, o, t) @@ -140741,7 +152577,10 @@ and limitations under the License. ; o !== i && !isNaN((a = u.charCodeAt(o))) && - (95 === a || (a >= 48 && a <= 57) || (a >= 65 && a <= 90) || (a >= 97 && a <= 122)); + (95 === a || + (a >= 48 && a <= 57) || + (a >= 65 && a <= 90) || + (a >= 97 && a <= 122)); ) ++o @@ -140766,11 +152605,25 @@ and limitations under the License. 45 === o && (o = i.charCodeAt(++a)) if (48 === o) { if ((o = i.charCodeAt(++a)) >= 48 && o <= 57) - throw _(e, a, 'Invalid number, unexpected digit after 0: '.concat(M(o), '.')) + throw _( + e, + a, + 'Invalid number, unexpected digit after 0: '.concat( + M(o), + '.', + ), + ) } else (a = k(e, a, o)), (o = i.charCodeAt(a)) - 46 === o && ((s = !0), (o = i.charCodeAt(++a)), (a = k(e, a, o)), (o = i.charCodeAt(a))) + 46 === o && + ((s = !0), + (o = i.charCodeAt(++a)), + (a = k(e, a, o)), + (o = i.charCodeAt(a))) ;(69 !== o && 101 !== o) || - ((s = !0), (43 !== (o = i.charCodeAt(++a)) && 45 !== o) || (o = i.charCodeAt(++a)), (a = k(e, a, o))) + ((s = !0), + (43 !== (o = i.charCodeAt(++a)) && 45 !== o) || + (o = i.charCodeAt(++a)), + (a = k(e, a, o))) return new L(s ? D.FLOAT : D.INT, t, a, r, l, u, i.slice(t, a)) })(n, u, a, i, o, t) case 34: @@ -140782,15 +152635,31 @@ and limitations under the License. s = 0, c = '' for (; o < i.length && !isNaN((s = i.charCodeAt(o))); ) { - if (34 === s && 34 === i.charCodeAt(o + 1) && 34 === i.charCodeAt(o + 2)) - return (c += i.slice(a, o)), new L(D.BLOCK_STRING, t, o + 3, n, r, l, g(c)) + if ( + 34 === s && + 34 === i.charCodeAt(o + 1) && + 34 === i.charCodeAt(o + 2) + ) + return ( + (c += i.slice(a, o)), + new L(D.BLOCK_STRING, t, o + 3, n, r, l, g(c)) + ) if (s < 32 && 9 !== s && 10 !== s && 13 !== s) - throw _(e, o, 'Invalid character within String: '.concat(M(s), '.')) + throw _( + e, + o, + 'Invalid character within String: '.concat(M(s), '.'), + ) 10 === s ? (++o, ++u.line, (u.lineStart = o)) : 13 === s - ? (10 === i.charCodeAt(o + 1) ? (o += 2) : ++o, ++u.line, (u.lineStart = o)) - : 92 === s && 34 === i.charCodeAt(o + 1) && 34 === i.charCodeAt(o + 2) && 34 === i.charCodeAt(o + 3) + ? (10 === i.charCodeAt(o + 1) ? (o += 2) : ++o, + ++u.line, + (u.lineStart = o)) + : 92 === s && + 34 === i.charCodeAt(o + 1) && + 34 === i.charCodeAt(o + 2) && + 34 === i.charCodeAt(o + 3) ? ((c += i.slice(a, o) + '"""'), (a = o += 4)) : ++o } @@ -140802,11 +152671,29 @@ and limitations under the License. o = i, a = 0, s = '' - for (; i < u.length && !isNaN((a = u.charCodeAt(i))) && 10 !== a && 13 !== a; ) { - if (34 === a) return (s += u.slice(o, i)), new L(D.STRING, t, i + 1, n, r, l, s) - if (a < 32 && 9 !== a) throw _(e, i, 'Invalid character within String: '.concat(M(a), '.')) + for ( + ; + i < u.length && + !isNaN((a = u.charCodeAt(i))) && + 10 !== a && + 13 !== a; + + ) { + if (34 === a) + return ( + (s += u.slice(o, i)), + new L(D.STRING, t, i + 1, n, r, l, s) + ) + if (a < 32 && 9 !== a) + throw _( + e, + i, + 'Invalid character within String: '.concat(M(a), '.'), + ) if ((++i, 92 === a)) { - switch (((s += u.slice(o, i - 1)), (a = u.charCodeAt(i)))) { + switch ( + ((s += u.slice(o, i - 1)), (a = u.charCodeAt(i))) + ) { case 34: s += '"' break @@ -140832,17 +152719,30 @@ and limitations under the License. s += '\t' break case 117: - var c = ((d = u.charCodeAt(i + 1)), - (f = u.charCodeAt(i + 2)), - (p = u.charCodeAt(i + 3)), - (h = u.charCodeAt(i + 4)), - (j(d) << 12) | (j(f) << 8) | (j(p) << 4) | j(h)) + var c = + ((d = u.charCodeAt(i + 1)), + (f = u.charCodeAt(i + 2)), + (p = u.charCodeAt(i + 3)), + (h = u.charCodeAt(i + 4)), + (j(d) << 12) | (j(f) << 8) | (j(p) << 4) | j(h)) if (c < 0) - throw _(e, i, 'Invalid character escape sequence: ' + '\\u'.concat(u.slice(i + 1, i + 5), '.')) + throw _( + e, + i, + 'Invalid character escape sequence: ' + + '\\u'.concat(u.slice(i + 1, i + 5), '.'), + ) ;(s += String.fromCharCode(c)), (i += 4) break default: - throw _(e, i, 'Invalid character escape sequence: \\'.concat(String.fromCharCode(a), '.')) + throw _( + e, + i, + 'Invalid character escape sequence: \\'.concat( + String.fromCharCode(a), + '.', + ), + ) } o = ++i } @@ -140855,8 +152755,10 @@ and limitations under the License. n, u, (function(e) { - if (e < 32 && 9 !== e && 10 !== e && 13 !== e) return 'Cannot contain the invalid character '.concat(M(e), '.') - if (39 === e) return 'Unexpected single quote character (\'), did you mean to use a double quote (")?' + if (e < 32 && 9 !== e && 10 !== e && 13 !== e) + return 'Cannot contain the invalid character '.concat(M(e), '.') + if (39 === e) + return 'Unexpected single quote character (\'), did you mean to use a double quote (")?' return 'Cannot parse the unexpected character '.concat(M(e), '.') })(a), ) @@ -140871,13 +152773,28 @@ and limitations under the License. } while (u >= 48 && u <= 57) return l } - throw _(e, l, 'Invalid number, expected digit but got: '.concat(M(u), '.')) + throw _( + e, + l, + 'Invalid number, expected digit but got: '.concat(M(u), '.'), + ) } function j(e) { - return e >= 48 && e <= 57 ? e - 48 : e >= 65 && e <= 70 ? e - 55 : e >= 97 && e <= 102 ? e - 87 : -1 + return e >= 48 && e <= 57 + ? e - 48 + : e >= 65 && e <= 70 + ? e - 55 + : e >= 97 && e <= 102 + ? e - 87 + : -1 } a(L, function() { - return { kind: this.kind, value: this.value, line: this.line, column: this.column } + return { + kind: this.kind, + value: this.value, + line: this.line, + column: this.column, + } }) var C = Object.freeze({ NAME: 'Name', @@ -140947,10 +152864,17 @@ and limitations under the License. }) function A(e, t) { var n = 'string' == typeof e ? new d(e) : e - if (!(n instanceof d)) throw new TypeError('Must provide Source. Received: '.concat(o(n, []))) + if (!(n instanceof d)) + throw new TypeError( + 'Must provide Source. Received: '.concat(o(n, [])), + ) return (function(e) { var t = e.token - return { kind: C.DOCUMENT, definitions: Me(e, D.SOF, I, D.EOF), loc: ge(e, t) } + return { + kind: C.DOCUMENT, + definitions: Me(e, D.SOF, I, D.EOF), + loc: ge(e, t), + } })(T(n, t || {})) } function P(e, t) { @@ -140996,9 +152920,16 @@ and limitations under the License. var t = e.token Oe(e, 'extend'), Oe(e, 'schema') var n = ee(e, !0), - r = be(e, D.BRACE_L) ? Me(e, D.BRACE_L, oe, D.BRACE_R) : [] + r = be(e, D.BRACE_L) + ? Me(e, D.BRACE_L, oe, D.BRACE_R) + : [] if (0 === n.length && 0 === r.length) throw Ee(e) - return { kind: C.SCHEMA_EXTENSION, directives: n, operationTypes: r, loc: ge(e, t) } + return { + kind: C.SCHEMA_EXTENSION, + directives: n, + operationTypes: r, + loc: ge(e, t), + } })(e) case 'scalar': return (function(e) { @@ -141007,7 +152938,12 @@ and limitations under the License. var n = Y(e), r = ee(e, !0) if (0 === r.length) throw Ee(e) - return { kind: C.SCALAR_TYPE_EXTENSION, name: n, directives: r, loc: ge(e, t) } + return { + kind: C.SCALAR_TYPE_EXTENSION, + name: n, + directives: r, + loc: ge(e, t), + } })(e) case 'type': return (function(e) { @@ -141017,8 +152953,16 @@ and limitations under the License. r = ae(e), l = ee(e, !0), u = se(e) - if (0 === r.length && 0 === l.length && 0 === u.length) throw Ee(e) - return { kind: C.OBJECT_TYPE_EXTENSION, name: n, interfaces: r, directives: l, fields: u, loc: ge(e, t) } + if (0 === r.length && 0 === l.length && 0 === u.length) + throw Ee(e) + return { + kind: C.OBJECT_TYPE_EXTENSION, + name: n, + interfaces: r, + directives: l, + fields: u, + loc: ge(e, t), + } })(e) case 'interface': return (function(e) { @@ -141028,7 +152972,13 @@ and limitations under the License. r = ee(e, !0), l = se(e) if (0 === r.length && 0 === l.length) throw Ee(e) - return { kind: C.INTERFACE_TYPE_EXTENSION, name: n, directives: r, fields: l, loc: ge(e, t) } + return { + kind: C.INTERFACE_TYPE_EXTENSION, + name: n, + directives: r, + fields: l, + loc: ge(e, t), + } })(e) case 'union': return (function(e) { @@ -141038,7 +152988,13 @@ and limitations under the License. r = ee(e, !0), l = pe(e) if (0 === r.length && 0 === l.length) throw Ee(e) - return { kind: C.UNION_TYPE_EXTENSION, name: n, directives: r, types: l, loc: ge(e, t) } + return { + kind: C.UNION_TYPE_EXTENSION, + name: n, + directives: r, + types: l, + loc: ge(e, t), + } })(e) case 'enum': return (function(e) { @@ -141048,7 +153004,13 @@ and limitations under the License. r = ee(e, !0), l = he(e) if (0 === r.length && 0 === l.length) throw Ee(e) - return { kind: C.ENUM_TYPE_EXTENSION, name: n, directives: r, values: l, loc: ge(e, t) } + return { + kind: C.ENUM_TYPE_EXTENSION, + name: n, + directives: r, + values: l, + loc: ge(e, t), + } })(e) case 'input': return (function(e) { @@ -141058,7 +153020,13 @@ and limitations under the License. r = ee(e, !0), l = ye(e) if (0 === r.length && 0 === l.length) throw Ee(e) - return { kind: C.INPUT_OBJECT_TYPE_EXTENSION, name: n, directives: r, fields: l, loc: ge(e, t) } + return { + kind: C.INPUT_OBJECT_TYPE_EXTENSION, + name: n, + directives: r, + fields: l, + loc: ge(e, t), + } })(e) } throw Ee(e, t) @@ -141080,7 +153048,9 @@ and limitations under the License. case 'fragment': return (function(e) { var t = e.token - if ((Oe(e, 'fragment'), e.options.experimentalFragmentVariables)) + if ( + (Oe(e, 'fragment'), e.options.experimentalFragmentVariables) + ) return { kind: C.FRAGMENT_DEFINITION, name: z(e), @@ -141162,7 +153132,11 @@ and limitations under the License. } function U(e) { var t = e.token - return { kind: C.SELECTION_SET, selections: Me(e, D.BRACE_L, q, D.BRACE_R), loc: ge(e, t) } + return { + kind: C.SELECTION_SET, + selections: Me(e, D.BRACE_L, q, D.BRACE_R), + loc: ge(e, t), + } } function q(e) { return be(e, D.SPREAD) @@ -141170,7 +153144,13 @@ and limitations under the License. var t = e.token Te(e, D.SPREAD) var n = De(e, 'on') - if (!n && be(e, D.NAME)) return { kind: C.FRAGMENT_SPREAD, name: z(e), directives: ee(e, !1), loc: ge(e, t) } + if (!n && be(e, D.NAME)) + return { + kind: C.FRAGMENT_SPREAD, + name: z(e), + directives: ee(e, !1), + loc: ge(e, t), + } return { kind: C.INLINE_FRAGMENT, typeCondition: n ? re(e) : void 0, @@ -141203,11 +153183,19 @@ and limitations under the License. function G(e) { var t = e.token, n = Y(e) - return Te(e, D.COLON), { kind: C.ARGUMENT, name: n, value: J(e, !1), loc: ge(e, t) } + return ( + Te(e, D.COLON), + { kind: C.ARGUMENT, name: n, value: J(e, !1), loc: ge(e, t) } + ) } function $(e) { var t = e.token - return { kind: C.ARGUMENT, name: Y(e), value: (Te(e, D.COLON), Z(e)), loc: ge(e, t) } + return { + kind: C.ARGUMENT, + name: Y(e), + value: (Te(e, D.COLON), Z(e)), + loc: ge(e, t), + } } function z(e) { if ('on' === e.token.value) throw Ee(e) @@ -141220,7 +153208,11 @@ and limitations under the License. return (function(e, t) { var n = e.token, r = t ? Z : X - return { kind: C.LIST, values: Le(e, D.BRACKET_L, r, D.BRACKET_R), loc: ge(e, n) } + return { + kind: C.LIST, + values: Le(e, D.BRACKET_L, r, D.BRACKET_R), + loc: ge(e, n), + } })(e, t) case D.BRACE_L: return (function(e, t) { @@ -141234,7 +153226,15 @@ and limitations under the License. return (function(e, t) { var n = e.token, r = Y(e) - return Te(e, D.COLON), { kind: C.OBJECT_FIELD, name: r, value: J(e, t), loc: ge(e, n) } + return ( + Te(e, D.COLON), + { + kind: C.OBJECT_FIELD, + name: r, + value: J(e, t), + loc: ge(e, n), + } + ) })(e, t) }, D.BRACE_R, @@ -141251,7 +153251,8 @@ and limitations under the License. return K(e) case D.NAME: return 'true' === n.value || 'false' === n.value - ? (e.advance(), { kind: C.BOOLEAN, value: 'true' === n.value, loc: ge(e, n) }) + ? (e.advance(), + { kind: C.BOOLEAN, value: 'true' === n.value, loc: ge(e, n) }) : 'null' === n.value ? (e.advance(), { kind: C.NULL, loc: ge(e, n) }) : (e.advance(), { kind: C.ENUM, value: n.value, loc: ge(e, n) }) @@ -141262,7 +153263,15 @@ and limitations under the License. } function K(e) { var t = e.token - return e.advance(), { kind: C.STRING, value: t.value, block: t.kind === D.BLOCK_STRING, loc: ge(e, t) } + return ( + e.advance(), + { + kind: C.STRING, + value: t.value, + block: t.kind === D.BLOCK_STRING, + loc: ge(e, t), + } + ) } function Z(e) { return J(e, !0) @@ -141276,14 +153285,19 @@ and limitations under the License. } function te(e, t) { var n = e.token - return Te(e, D.AT), { kind: C.DIRECTIVE, name: Y(e), arguments: W(e, t), loc: ge(e, n) } + return ( + Te(e, D.AT), + { kind: C.DIRECTIVE, name: Y(e), arguments: W(e, t), loc: ge(e, n) } + ) } function ne(e) { var t, n = e.token return ( we(e, D.BRACKET_L) - ? ((t = ne(e)), Te(e, D.BRACKET_R), (t = { kind: C.LIST_TYPE, type: t, loc: ge(e, n) })) + ? ((t = ne(e)), + Te(e, D.BRACKET_R), + (t = { kind: C.LIST_TYPE, type: t, loc: ge(e, n) })) : (t = re(e)), we(e, D.BANG) ? { kind: C.NON_NULL_TYPE, type: t, loc: ge(e, n) } : t ) @@ -141302,7 +153316,12 @@ and limitations under the License. Oe(e, 'schema') var n = ee(e, !0), r = Me(e, D.BRACE_L, oe, D.BRACE_R) - return { kind: C.SCHEMA_DEFINITION, directives: n, operationTypes: r, loc: ge(e, t) } + return { + kind: C.SCHEMA_DEFINITION, + directives: n, + operationTypes: r, + loc: ge(e, t), + } })(e) case 'scalar': return (function(e) { @@ -141311,7 +153330,13 @@ and limitations under the License. Oe(e, 'scalar') var r = Y(e), l = ee(e, !0) - return { kind: C.SCALAR_TYPE_DEFINITION, description: n, name: r, directives: l, loc: ge(e, t) } + return { + kind: C.SCALAR_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + loc: ge(e, t), + } })(e) case 'type': return (function(e) { @@ -141340,7 +153365,14 @@ and limitations under the License. var r = Y(e), l = ee(e, !0), u = se(e) - return { kind: C.INTERFACE_TYPE_DEFINITION, description: n, name: r, directives: l, fields: u, loc: ge(e, t) } + return { + kind: C.INTERFACE_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + fields: u, + loc: ge(e, t), + } })(e) case 'union': return (function(e) { @@ -141350,7 +153382,14 @@ and limitations under the License. var r = Y(e), l = ee(e, !0), u = pe(e) - return { kind: C.UNION_TYPE_DEFINITION, description: n, name: r, directives: l, types: u, loc: ge(e, t) } + return { + kind: C.UNION_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + types: u, + loc: ge(e, t), + } })(e) case 'enum': return (function(e) { @@ -141360,7 +153399,14 @@ and limitations under the License. var r = Y(e), l = ee(e, !0), u = he(e) - return { kind: C.ENUM_TYPE_DEFINITION, description: n, name: r, directives: l, values: u, loc: ge(e, t) } + return { + kind: C.ENUM_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + values: u, + loc: ge(e, t), + } })(e) case 'input': return (function(e) { @@ -141370,7 +153416,14 @@ and limitations under the License. var r = Y(e), l = ee(e, !0), u = ye(e) - return { kind: C.INPUT_OBJECT_TYPE_DEFINITION, description: n, name: r, directives: l, fields: u, loc: ge(e, t) } + return { + kind: C.INPUT_OBJECT_TYPE_DEFINITION, + description: n, + name: r, + directives: l, + fields: u, + loc: ge(e, t), + } })(e) case 'directive': return (function(e) { @@ -141388,7 +153441,14 @@ and limitations under the License. } while (we(e, D.PIPE)) return t })(e) - return { kind: C.DIRECTIVE_DEFINITION, description: n, name: r, arguments: l, locations: u, loc: ge(e, t) } + return { + kind: C.DIRECTIVE_DEFINITION, + description: n, + name: r, + arguments: l, + locations: u, + loc: ge(e, t), + } })(e) } throw Ee(e, t) @@ -141404,7 +153464,12 @@ and limitations under the License. n = B(e) Te(e, D.COLON) var r = re(e) - return { kind: C.OPERATION_TYPE_DEFINITION, operation: n, type: r, loc: ge(e, t) } + return { + kind: C.OPERATION_TYPE_DEFINITION, + operation: n, + type: r, + loc: ge(e, t), + } } function ae(e) { var t = [] @@ -141412,12 +153477,17 @@ and limitations under the License. we(e, D.AMP) do { t.push(re(e)) - } while (we(e, D.AMP) || (e.options.allowLegacySDLImplementsInterfaces && be(e, D.NAME))) + } while ( + we(e, D.AMP) || + (e.options.allowLegacySDLImplementsInterfaces && be(e, D.NAME)) + ) } return t } function se(e) { - return e.options.allowLegacySDLEmptyFields && be(e, D.BRACE_L) && e.lookahead().kind === D.BRACE_R + return e.options.allowLegacySDLEmptyFields && + be(e, D.BRACE_L) && + e.lookahead().kind === D.BRACE_R ? (e.advance(), e.advance(), []) : be(e, D.BRACE_L) ? Me(e, D.BRACE_L, ce, D.BRACE_R) @@ -141431,7 +153501,15 @@ and limitations under the License. Te(e, D.COLON) var u = ne(e), i = ee(e, !0) - return { kind: C.FIELD_DEFINITION, description: n, name: r, arguments: l, type: u, directives: i, loc: ge(e, t) } + return { + kind: C.FIELD_DEFINITION, + description: n, + name: r, + arguments: l, + type: u, + directives: i, + loc: ge(e, t), + } } function de(e) { return be(e, D.PAREN_L) ? Me(e, D.PAREN_L, fe, D.PAREN_R) : [] @@ -141445,7 +153523,15 @@ and limitations under the License. u = ne(e) we(e, D.EQUALS) && (l = Z(e)) var i = ee(e, !0) - return { kind: C.INPUT_VALUE_DEFINITION, description: n, name: r, type: u, defaultValue: l, directives: i, loc: ge(e, t) } + return { + kind: C.INPUT_VALUE_DEFINITION, + description: n, + name: r, + type: u, + defaultValue: l, + directives: i, + loc: ge(e, t), + } } function pe(e) { var t = [] @@ -141465,7 +153551,13 @@ and limitations under the License. n = ie(e), r = Y(e), l = ee(e, !0) - return { kind: C.ENUM_VALUE_DEFINITION, description: n, name: r, directives: l, loc: ge(e, t) } + return { + kind: C.ENUM_VALUE_DEFINITION, + description: n, + name: r, + directives: l, + loc: ge(e, t), + } } function ye(e) { return be(e, D.BRACE_L) ? Me(e, D.BRACE_L, fe, D.BRACE_R) : [] @@ -141480,7 +153572,11 @@ and limitations under the License. if (!e.options.noLocation) return new ve(t, e.lastToken, e.source) } function ve(e, t, n) { - ;(this.start = e.start), (this.end = t.end), (this.startToken = e), (this.endToken = t), (this.source = n) + ;(this.start = e.start), + (this.end = t.end), + (this.startToken = e), + (this.endToken = t), + (this.source = n) } function be(e, t) { return e.token.kind === t @@ -141488,7 +153584,11 @@ and limitations under the License. function Te(e, t) { var n = e.token if (n.kind === t) return e.advance(), n - throw _(e.source, n.start, 'Expected '.concat(t, ', found ').concat(E(n))) + throw _( + e.source, + n.start, + 'Expected '.concat(t, ', found ').concat(E(n)), + ) } function we(e, t) { var n = e.token @@ -141497,7 +153597,11 @@ and limitations under the License. function Oe(e, t) { var n = e.token if (n.kind === D.NAME && n.value === t) return e.advance(), n - throw _(e.source, n.start, 'Expected "'.concat(t, '", found ').concat(E(n))) + throw _( + e.source, + n.start, + 'Expected "'.concat(t, '", found ').concat(E(n)), + ) } function De(e, t) { var n = e.token @@ -141556,7 +153660,11 @@ and limitations under the License. }, d = function(e, t, n) { var r = new Error(n) - throw ((r.name = 'ServerError'), (r.response = e), (r.statusCode = e.status), (r.result = t), r) + throw ((r.name = 'ServerError'), + (r.response = e), + (r.statusCode = e.status), + (r.result = t), + r) }, f = function(e, t) { var n @@ -141575,12 +153683,22 @@ and limitations under the License. r = e.fetch, l = e.includeExtensions, p = e.useGETForQueries, - h = Object(u.c)(e, ['uri', 'fetch', 'includeExtensions', 'useGETForQueries']) + h = Object(u.c)(e, [ + 'uri', + 'fetch', + 'includeExtensions', + 'useGETForQueries', + ]) !(function(e) { if (!e && 'undefined' == typeof fetch) throw new s.a(1) })(r), r || (r = fetch) - var m = { http: { includeExtensions: l }, options: h.fetchOptions, credentials: h.credentials, headers: h.headers } + var m = { + http: { includeExtensions: l }, + options: h.fetchOptions, + credentials: h.credentials, + headers: h.headers, + } return new i.ApolloLink(function(e) { var t = (function(e, t) { var n = e.getContext().uri @@ -141592,17 +153710,29 @@ and limitations under the License. var h = l.clientAwareness, y = h.name, _ = h.version - y && (s['apollographql-client-name'] = y), _ && (s['apollographql-client-version'] = _) + y && (s['apollographql-client-name'] = y), + _ && (s['apollographql-client-version'] = _) } var g, v = Object(u.a)({}, s, l.headers), - b = { http: l.http, options: l.fetchOptions, credentials: l.credentials, headers: v }, + b = { + http: l.http, + options: l.fetchOptions, + credentials: l.credentials, + headers: v, + }, T = (function(e, t) { - for (var n = [], r = 2; r < arguments.length; r++) n[r - 2] = arguments[r] - var l = Object(u.a)({}, t.options, { headers: t.headers, credentials: t.credentials }), + for (var n = [], r = 2; r < arguments.length; r++) + n[r - 2] = arguments[r] + var l = Object(u.a)({}, t.options, { + headers: t.headers, + credentials: t.credentials, + }), i = t.http n.forEach(function(e) { - ;(l = Object(u.a)({}, l, e.options, { headers: Object(u.a)({}, l.headers, e.headers) })), + ;(l = Object(u.a)({}, l, e.options, { + headers: Object(u.a)({}, l.headers, e.headers), + })), e.credentials && (l.credentials = e.credentials), (i = Object(u.a)({}, i, e.http)) }) @@ -141621,7 +153751,8 @@ and limitations under the License. O = T.body if (!w.signal) { var D = (function() { - if ('undefined' == typeof AbortController) return { controller: !1, signal: !1 } + if ('undefined' == typeof AbortController) + return { controller: !1, signal: !1 } var e = new AbortController() return { controller: e, signal: e.signal } })(), @@ -141632,7 +153763,10 @@ and limitations under the License. if ( (p && !e.query.definitions.some(function(e) { - return 'OperationDefinition' === e.kind && 'mutation' === e.operation + return ( + 'OperationDefinition' === e.kind && + 'mutation' === e.operation + ) }) && (w.method = 'GET'), 'GET' === w.method) @@ -141707,7 +153841,13 @@ and limitations under the License. }) .then(function(t) { return ( - e.status >= 300 && d(e, t, 'Response not successful: Received status code ' + e.status), + e.status >= 300 && + d( + e, + t, + 'Response not successful: Received status code ' + + e.status, + ), Array.isArray(t) || t.hasOwnProperty('data') || t.hasOwnProperty('errors') || @@ -141731,7 +153871,12 @@ and limitations under the License. return n.next(e), n.complete(), e }) .catch(function(e) { - 'AbortError' !== e.name && (e.result && e.result.errors && e.result.data && n.next(e.result), n.error(e)) + 'AbortError' !== e.name && + (e.result && + e.result.errors && + e.result.data && + n.next(e.result), + n.error(e)) }), function() { g && g.abort() @@ -141785,9 +153930,15 @@ and limitations under the License. b = (function() { var e = g(function*() { const e = new h({ - uri: `https://${y.a.get('shopify.shopName')}.myshopify.com/api/graphql`, + uri: `https://${y.a.get( + 'shopify.shopName', + )}.myshopify.com/api/graphql`, fetch: m.default, - headers: { 'X-Shopify-Storefront-Access-Token': y.a.get('shopify.accessToken') }, + headers: { + 'X-Shopify-Storefront-Access-Token': y.a.get( + 'shopify.accessToken', + ), + }, }) return yield v(e) }) @@ -141798,7 +153949,11 @@ and limitations under the License. T = (function() { var e = g(function*() { const e = new h({ - uri: `https://${y.a.get('sanity.projectId')}.api.sanity.io/v1/graphql/${y.a.get('sanity.dataset')}/default\n `, + uri: `https://${y.a.get( + 'sanity.projectId', + )}.api.sanity.io/v1/graphql/${y.a.get( + 'sanity.dataset', + )}/default\n `, fetch: m.default, }), t = yield v(e) @@ -141840,30 +153995,44 @@ and limitations under the License. } const E = (function() { var e, - t = ((e = function*(e, t) { - const n = yield O(), - l = new r.ApolloServer({ schema: n, introspection: !0, playground: !0 }).createHandler({ - cors: { origin: '*', credentials: !0, allowedHeaders: ['ContentType', 'content-type', 'Origin', 'Accept'] }, + t = + ((e = function*(e, t) { + const n = yield O(), + l = new r.ApolloServer({ + schema: n, + introspection: !0, + playground: !0, + }).createHandler({ + cors: { + origin: '*', + credentials: !0, + allowedHeaders: [ + 'ContentType', + 'content-type', + 'Origin', + 'Accept', + ], + }, + }) + return yield ((e, t, n) => + new Promise((r, l) => { + n(e, t, (e, t) => (e ? l(e) : r(t))) + }))(e, t, l) + }), + function() { + var t = this, + n = arguments + return new Promise(function(r, l) { + var u = e.apply(t, n) + function i(e) { + D(u, r, l, i, o, 'next', e) + } + function o(e) { + D(u, r, l, i, o, 'throw', e) + } + i(void 0) }) - return yield ((e, t, n) => - new Promise((r, l) => { - n(e, t, (e, t) => (e ? l(e) : r(t))) - }))(e, t, l) - }), - function() { - var t = this, - n = arguments - return new Promise(function(r, l) { - var u = e.apply(t, n) - function i(e) { - D(u, r, l, i, o, 'next', e) - } - function o(e) { - D(u, r, l, i, o, 'throw', e) - } - i(void 0) }) - }) return function(e, n) { return t.apply(this, arguments) }