{“ast”:null,“code”:“// Copyright Joyent, Inc. and other Node contributors.n//n// Permission is hereby granted, free of charge, to any person obtaining an// copy of this software and associated documentation files (then// "Software"), to deal in the Software without restriction, includingn// without limitation the rights to use, copy, modify, merge, publish,n// distribute, sublicense, and/or sell copies of the Software, and to permitn// persons to whom the Software is furnished to do so, subject to then// following conditions:n//n// The above copyright notice and this permission notice shall be includedn// in all copies or substantial portions of the Software.n//n// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSn// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OFn// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. INn// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT ORn// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THEn// USE OR OTHER DEALINGS IN THE SOFTWARE.n'use strict';nnfunction _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }nnvar stringifyPrimitive = function stringifyPrimitive(v) {n switch (_typeof(v)) {n case 'string':n return v;nn case 'boolean':n return v ? 'true' : 'false';nn case 'number':n return isFinite(v) ? v : '';nn default:n return '';n }n};nnmodule.exports = function (obj, sep, eq, name) {n sep = sep || '&';n eq = eq || '=';nn if (obj === null) {n obj = undefined;n }nn if (_typeof(obj) === 'object') {n return map(objectKeys(obj), function (k) {n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;nn if (isArray(obj)) {n return map(obj, function (v) {n return ks + encodeURIComponent(stringifyPrimitive(v));n }).join(sep);n } else {n return ks + encodeURIComponent(stringifyPrimitive(obj));n }n }).join(sep);n }nn if (!name) return '';n return encodeURIComponent(stringifyPrimitive(name)) + eq + encodeURIComponent(stringifyPrimitive(obj));n};nnvar isArray = Array.isArray || function (xs) {n return Object.prototype.toString.call(xs) === '[object Array]';n};nnfunction map(xs, f) {n if (xs.map) return xs.map(f);n var res = [];nn for (var i = 0; i < xs.length; i++) {n res.push(f(xs, i));n }nn return res;n}nnvar objectKeys = Object.keys || function (obj) {n var res = [];nn for (var key in obj) {n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);n }nn return res;n};”,“map”:null,“metadata”:{},“sourceType”:“module”}