{"version":3,"file":"jquery.serializejson-DCgI4RTM.js","sources":["../../../node_modules/jquery-serializejson/jquery.serializejson.js"],"sourcesContent":["/*!\n SerializeJSON jQuery plugin.\n https://github.com/marioizquierdo/jquery.serializeJSON\n version 3.2.1 (Feb, 2021)\n\n Copyright (c) 2012-2021 Mario Izquierdo\n Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)\n and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.\n*/\n(function (factory) {\n /* global define, require, module */\n if (typeof define === \"function\" && define.amd) { // AMD. Register as an anonymous module.\n define([\"jquery\"], factory);\n } else if (typeof exports === \"object\") { // Node/CommonJS\n var jQuery = require(\"jquery\");\n module.exports = factory(jQuery);\n } else { // Browser globals (zepto supported)\n factory(window.jQuery || window.Zepto || window.$); // Zepto supported on browsers as well\n }\n\n}(function ($) {\n \"use strict\";\n\n var rCRLF = /\\r?\\n/g;\n var rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i;\n var rsubmittable = /^(?:input|select|textarea|keygen)/i;\n var rcheckableType = /^(?:checkbox|radio)$/i;\n\n $.fn.serializeJSON = function (options) {\n var f = $.serializeJSON;\n var $form = this; // NOTE: the set of matched elements is most likely a form, but it could also be a group of inputs\n var opts = f.setupOpts(options); // validate options and apply defaults\n var typeFunctions = $.extend({}, opts.defaultTypes, opts.customTypes);\n\n // Make a list with {name, value, el} for each input element\n var serializedArray = f.serializeArray($form, opts);\n\n // Convert the serializedArray into a serializedObject with nested keys\n var serializedObject = {};\n $.each(serializedArray, function (_i, obj) {\n\n var nameSansType = obj.name;\n var type = $(obj.el).attr(\"data-value-type\");\n\n if (!type && !opts.disableColonTypes) { // try getting the type from the input name\n var p = f.splitType(obj.name); // \"foo:string\" => [\"foo\", \"string\"]\n nameSansType = p[0];\n type = p[1];\n }\n if (type === \"skip\") {\n return; // ignore fields with type skip\n }\n if (!type) {\n type = opts.defaultType; // \"string\" by default\n }\n\n var typedValue = f.applyTypeFunc(obj.name, obj.value, type, obj.el, typeFunctions); // Parse type as string, number, etc.\n\n if (!typedValue && f.shouldSkipFalsy(obj.name, nameSansType, type, obj.el, opts)) {\n return; // ignore falsy inputs if specified in the options\n }\n\n var keys = f.splitInputNameIntoKeysArray(nameSansType);\n f.deepSet(serializedObject, keys, typedValue, opts);\n });\n return serializedObject;\n };\n\n // Use $.serializeJSON as namespace for the auxiliar functions\n // and to define defaults\n $.serializeJSON = {\n defaultOptions: {}, // reassign to override option defaults for all serializeJSON calls\n\n defaultBaseOptions: { // do not modify, use defaultOptions instead\n checkboxUncheckedValue: undefined, // to include that value for unchecked checkboxes (instead of ignoring them)\n useIntKeysAsArrayIndex: false, // name=\"foo[2]\" value=\"v\" => {foo: [null, null, \"v\"]}, instead of {foo: [\"2\": \"v\"]}\n\n skipFalsyValuesForTypes: [], // skip serialization of falsy values for listed value types\n skipFalsyValuesForFields: [], // skip serialization of falsy values for listed field names\n\n disableColonTypes: false, // do not interpret \":type\" suffix as a type\n customTypes: {}, // extends defaultTypes\n defaultTypes: {\n \"string\": function(str) { return String(str); },\n \"number\": function(str) { return Number(str); },\n \"boolean\": function(str) { var falses = [\"false\", \"null\", \"undefined\", \"\", \"0\"]; return falses.indexOf(str) === -1; },\n \"null\": function(str) { var falses = [\"false\", \"null\", \"undefined\", \"\", \"0\"]; return falses.indexOf(str) === -1 ? str : null; },\n \"array\": function(str) { return JSON.parse(str); },\n \"object\": function(str) { return JSON.parse(str); },\n \"skip\": null // skip is a special type used to ignore fields\n },\n defaultType: \"string\",\n },\n\n // Validate and set defaults\n setupOpts: function(options) {\n if (options == null) options = {};\n var f = $.serializeJSON;\n\n // Validate\n var validOpts = [\n \"checkboxUncheckedValue\",\n \"useIntKeysAsArrayIndex\",\n\n \"skipFalsyValuesForTypes\",\n \"skipFalsyValuesForFields\",\n\n \"disableColonTypes\",\n \"customTypes\",\n \"defaultTypes\",\n \"defaultType\"\n ];\n for (var opt in options) {\n if (validOpts.indexOf(opt) === -1) {\n throw new Error(\"serializeJSON ERROR: invalid option '\" + opt + \"'. Please use one of \" + validOpts.join(\", \"));\n }\n }\n\n // Helper to get options or defaults\n return $.extend({}, f.defaultBaseOptions, f.defaultOptions, options);\n },\n\n // Just like jQuery's serializeArray method, returns an array of objects with name and value.\n // but also includes the dom element (el) and is handles unchecked checkboxes if the option or data attribute are provided.\n serializeArray: function($form, opts) {\n if (opts == null) { opts = {}; }\n var f = $.serializeJSON;\n\n return $form.map(function() {\n var elements = $.prop(this, \"elements\"); // handle propHook \"elements\" to filter or add form elements\n return elements ? $.makeArray(elements) : this;\n\n }).filter(function() {\n var $el = $(this);\n var type = this.type;\n\n // Filter with the standard W3C rules for successful controls: http://www.w3.org/TR/html401/interact/forms.html#h-17.13.2\n return this.name && // must contain a name attribute\n !$el.is(\":disabled\") && // must not be disable (use .is(\":disabled\") so that fieldset[disabled] works)\n rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) && // only serialize submittable fields (and not buttons)\n (this.checked || !rcheckableType.test(type) || f.getCheckboxUncheckedValue($el, opts) != null); // skip unchecked checkboxes (unless using opts)\n\n }).map(function(_i, el) {\n var $el = $(this);\n var val = $el.val();\n var type = this.type; // \"input\", \"select\", \"textarea\", \"checkbox\", etc.\n\n if (val == null) {\n return null;\n }\n\n if (rcheckableType.test(type) && !this.checked) {\n val = f.getCheckboxUncheckedValue($el, opts);\n }\n\n if (isArray(val)) {\n return $.map(val, function(val) {\n return { name: el.name, value: val.replace(rCRLF, \"\\r\\n\"), el: el };\n } );\n }\n\n return { name: el.name, value: val.replace(rCRLF, \"\\r\\n\"), el: el };\n\n }).get();\n },\n\n getCheckboxUncheckedValue: function($el, opts) {\n var val = $el.attr(\"data-unchecked-value\");\n if (val == null) {\n val = opts.checkboxUncheckedValue;\n }\n return val;\n },\n\n // Parse value with type function\n applyTypeFunc: function(name, strVal, type, el, typeFunctions) {\n var typeFunc = typeFunctions[type];\n if (!typeFunc) { // quick feedback to user if there is a typo or missconfiguration\n throw new Error(\"serializeJSON ERROR: Invalid type \" + type + \" found in input name '\" + name + \"', please use one of \" + objectKeys(typeFunctions).join(\", \"));\n }\n return typeFunc(strVal, el);\n },\n\n // Splits a field name into the name and the type. Examples:\n // \"foo\" => [\"foo\", \"\"]\n // \"foo:boolean\" => [\"foo\", \"boolean\"]\n // \"foo[bar]:null\" => [\"foo[bar]\", \"null\"]\n splitType : function(name) {\n var parts = name.split(\":\");\n if (parts.length > 1) {\n var t = parts.pop();\n return [parts.join(\":\"), t];\n } else {\n return [name, \"\"];\n }\n },\n\n // Check if this input should be skipped when it has a falsy value,\n // depending on the options to skip values by name or type, and the data-skip-falsy attribute.\n shouldSkipFalsy: function(name, nameSansType, type, el, opts) {\n var skipFromDataAttr = $(el).attr(\"data-skip-falsy\");\n if (skipFromDataAttr != null) {\n return skipFromDataAttr !== \"false\"; // any value is true, except the string \"false\"\n }\n\n var optForFields = opts.skipFalsyValuesForFields;\n if (optForFields && (optForFields.indexOf(nameSansType) !== -1 || optForFields.indexOf(name) !== -1)) {\n return true;\n }\n\n var optForTypes = opts.skipFalsyValuesForTypes;\n if (optForTypes && optForTypes.indexOf(type) !== -1) {\n return true;\n }\n\n return false;\n },\n\n // Split the input name in programatically readable keys.\n // Examples:\n // \"foo\" => [\"foo\"]\n // \"[foo]\" => [\"foo\"]\n // \"foo[inn][bar]\" => [\"foo\", \"inn\", \"bar\"]\n // \"foo[inn[bar]]\" => [\"foo\", \"inn\", \"bar\"]\n // \"foo[inn][arr][0]\" => [\"foo\", \"inn\", \"arr\", \"0\"]\n // \"arr[][val]\" => [\"arr\", \"\", \"val\"]\n splitInputNameIntoKeysArray: function(nameWithNoType) {\n var keys = nameWithNoType.split(\"[\"); // split string into array\n keys = $.map(keys, function (key) { return key.replace(/\\]/g, \"\"); }); // remove closing brackets\n if (keys[0] === \"\") { keys.shift(); } // ensure no opening bracket (\"[foo][inn]\" should be same as \"foo[inn]\")\n return keys;\n },\n\n // Set a value in an object or array, using multiple keys to set in a nested object or array.\n // This is the main function of the script, that allows serializeJSON to use nested keys.\n // Examples:\n //\n // deepSet(obj, [\"foo\"], v) // obj[\"foo\"] = v\n // deepSet(obj, [\"foo\", \"inn\"], v) // obj[\"foo\"][\"inn\"] = v // Create the inner obj[\"foo\"] object, if needed\n // deepSet(obj, [\"foo\", \"inn\", \"123\"], v) // obj[\"foo\"][\"arr\"][\"123\"] = v //\n //\n // deepSet(obj, [\"0\"], v) // obj[\"0\"] = v\n // deepSet(arr, [\"0\"], v, {useIntKeysAsArrayIndex: true}) // arr[0] = v\n // deepSet(arr, [\"\"], v) // arr.push(v)\n // deepSet(obj, [\"arr\", \"\"], v) // obj[\"arr\"].push(v)\n //\n // arr = [];\n // deepSet(arr, [\"\", v] // arr => [v]\n // deepSet(arr, [\"\", \"foo\"], v) // arr => [v, {foo: v}]\n // deepSet(arr, [\"\", \"bar\"], v) // arr => [v, {foo: v, bar: v}]\n // deepSet(arr, [\"\", \"bar\"], v) // arr => [v, {foo: v, bar: v}, {bar: v}]\n //\n deepSet: function (o, keys, value, opts) {\n if (opts == null) { opts = {}; }\n var f = $.serializeJSON;\n if (isUndefined(o)) { throw new Error(\"ArgumentError: param 'o' expected to be an object or array, found undefined\"); }\n if (!keys || keys.length === 0) { throw new Error(\"ArgumentError: param 'keys' expected to be an array with least one element\"); }\n\n var key = keys[0];\n\n // Only one key, then it's not a deepSet, just assign the value in the object or add it to the array.\n if (keys.length === 1) {\n if (key === \"\") { // push values into an array (o must be an array)\n o.push(value);\n } else {\n o[key] = value; // keys can be object keys (strings) or array indexes (numbers)\n }\n return;\n }\n\n var nextKey = keys[1]; // nested key\n var tailKeys = keys.slice(1); // list of all other nested keys (nextKey is first)\n\n if (key === \"\") { // push nested objects into an array (o must be an array)\n var lastIdx = o.length - 1;\n var lastVal = o[lastIdx];\n\n // if the last value is an object or array, and the new key is not set yet\n if (isObject(lastVal) && isUndefined(f.deepGet(lastVal, tailKeys))) {\n key = lastIdx; // then set the new value as a new attribute of the same object\n } else {\n key = lastIdx + 1; // otherwise, add a new element in the array\n }\n }\n\n if (nextKey === \"\") { // \"\" is used to push values into the nested array \"array[]\"\n if (isUndefined(o[key]) || !isArray(o[key])) {\n o[key] = []; // define (or override) as array to push values\n }\n } else {\n if (opts.useIntKeysAsArrayIndex && isValidArrayIndex(nextKey)) { // if 1, 2, 3 ... then use an array, where nextKey is the index\n if (isUndefined(o[key]) || !isArray(o[key])) {\n o[key] = []; // define (or override) as array, to insert values using int keys as array indexes\n }\n } else { // nextKey is going to be the nested object's attribute\n if (isUndefined(o[key]) || !isObject(o[key])) {\n o[key] = {}; // define (or override) as object, to set nested properties\n }\n }\n }\n\n // Recursively set the inner object\n f.deepSet(o[key], tailKeys, value, opts);\n },\n\n deepGet: function (o, keys) {\n var f = $.serializeJSON;\n if (isUndefined(o) || isUndefined(keys) || keys.length === 0 || (!isObject(o) && !isArray(o))) {\n return o;\n }\n var key = keys[0];\n if (key === \"\") { // \"\" means next array index (used by deepSet)\n return undefined;\n }\n if (keys.length === 1) {\n return o[key];\n }\n var tailKeys = keys.slice(1);\n return f.deepGet(o[key], tailKeys);\n }\n };\n\n // polyfill Object.keys to get option keys in IE<9\n var objectKeys = function(obj) {\n if (Object.keys) {\n return Object.keys(obj);\n } else {\n var key, keys = [];\n for (key in obj) { keys.push(key); }\n return keys;\n }\n };\n\n var isObject = function(obj) { return obj === Object(obj); }; // true for Objects and Arrays\n var isUndefined = function(obj) { return obj === void 0; }; // safe check for undefined values\n var isValidArrayIndex = function(val) { return /^[0-9]+$/.test(String(val)); }; // 1,2,3,4 ... are valid array indexes\n var isArray = Array.isArray || function(obj) { return Object.prototype.toString.call(obj) === \"[object Array]\"; };\n}));\n"],"names":["factory","jQuery","require$$0","module","$","rCRLF","rsubmitterTypes","rsubmittable","rcheckableType","options","f","$form","opts","typeFunctions","serializedArray","serializedObject","_i","obj","nameSansType","type","p","typedValue","keys","str","falses","validOpts","opt","elements","$el","el","val","isArray","name","strVal","typeFunc","objectKeys","parts","t","skipFromDataAttr","optForFields","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