{"version":3,"sources":["webpack:///./node_modules/jsonp/index.js","webpack:///./node_modules/ms/index.js","webpack:///./node_modules/gatsby-plugin-mailchimp/index.js","webpack:///./node_modules/email-validator/index.js","webpack:///./node_modules/debug/src/browser.js","webpack:///./src/assets/images/logos/cuidarme-amarme.png","webpack:///./src/hooks/use-blog-categories.js","webpack:///./node_modules/debug/src/debug.js","webpack:///./src/components/blog/categories-top.js","webpack:///./src/components/blog/categories-main.js","webpack:///./src/components/blog/categories-grid.js","webpack:///./src/components/blog/right-sidebar.js","webpack:///./src/pages/blog.js"],"names":["debug","module","exports","url","opts","fn","script","timer","prefix","id","name","count","param","timeout","enc","encodeURIComponent","target","document","getElementsByTagName","head","setTimeout","cleanup","Error","parentNode","removeChild","window","noop","clearTimeout","data","indexOf","replace","createElement","src","insertBefore","s","m","h","d","plural","ms","n","Math","floor","ceil","val","options","type","length","str","String","match","exec","parseFloat","toLowerCase","parse","isNaN","long","round","fmtShort","JSON","stringify","Object","defineProperty","value","obj","_jsonp","require","__esModule","default","_emailValidator","subscribeEmailToMailchimp","_ref","Promise","resolve","reject","err","convertListFields","fields","queryParams","field","prototype","hasOwnProperty","call","fieldTransformed","substring","toUpperCase","concat","_default","email","endpointOverride","isEmailValid","validate","emailEncoded","result","msg","endpoint","__GATSBY_PLUGIN_MAILCHIMP_ADDRESS__","__GATSBY_PLUGIN_MAILCHIMP_TIMEOUT__","arguments","tester","test","parts","split","some","part","load","r","storage","e","process","DEBUG","log","console","Function","apply","formatArgs","args","useColors","this","namespace","humanize","diff","c","color","splice","index","lastC","save","namespaces","removeItem","documentElement","style","WebkitAppearance","firebug","exception","table","navigator","userAgent","parseInt","RegExp","$1","chrome","local","localStorage","localstorage","colors","formatters","j","v","message","enable","useBlogCategories","useStaticQuery","allStrapiBlogCategoria","edges","prevTime","createDebug","enabled","self","curr","Date","prev","Array","i","coerce","unshift","format","formatter","logFn","bind","hash","charCodeAt","abs","selectColor","init","stack","disable","names","skips","len","push","substr","CategoriesTop","props","categories","className","node","imagen_principal","publicURL","nombre","alt","to","slug","defaultProps","strapiId","CategoriesMain","slice","map","category","key","role","icono_principal","CategoriesGrid","RightSidebar","socialNetworks","useState","setEmail","setResult","submitText","setSubmitText","handleSubmit","preventDefault","addToMailchimp","res","item","link","customClass","icono","onSubmit","htmlFor","aria-label","aria-describedby","placeholder","onChange","content","appId","wait","href","tabs","height","smallHeader","adaptContainerWidth","tipo","link_id","logoCuidarmeAmarme","BlogPage","asmetHome","useAsmetHome","allCategories","mainCategories","filter","destacado","nonMainCategories","topCategories","gridCategories","el","includes","simpleLayout","meta","og_tipo","og_titulo","redes_sociales"],"mappings":"gFAIA,IAAIA,EAAQ,EAAQ,OAAR,CAAiB,SAM7BC,EAAOC,QA4BP,SAAeC,EAAKC,EAAMC,GACpB,mBAAqBD,IACvBC,EAAKD,EACLA,EAAO,IAEJA,IAAMA,EAAO,IAClB,IASIE,EACAC,EAVAC,EAASJ,EAAKI,QAAU,OAIxBC,EAAKL,EAAKM,MAAQF,EAASG,IAC3BC,EAAQR,EAAKQ,OAAS,WACtBC,EAAU,MAAQT,EAAKS,QAAUT,EAAKS,QAAU,IAChDC,EAAMC,mBACNC,EAASC,SAASC,qBAAqB,UAAU,IAAMD,SAASE,KAGhEN,IACFN,EAAQa,YAAW,WACjBC,IACIhB,GAAIA,EAAG,IAAIiB,MAAM,cACpBT,IAEL,SAASQ,IACHf,EAAOiB,YAAYjB,EAAOiB,WAAWC,YAAYlB,GACrDmB,OAAOhB,GAAMiB,EACTnB,GAAOoB,aAAapB,GAsB1B,OAfAkB,OAAOhB,GAAM,SAAUmB,GACrB5B,EAAM,YAAa4B,GACnBP,IACIhB,GAAIA,EAAG,KAAMuB,IAKnBzB,GADAA,KAASA,EAAI0B,QAAQ,KAAO,IAAM,KAAOjB,EAAQ,IAAME,EAAIL,IACjDqB,QAAQ,KAAM,KACxB9B,EAAM,iBAAkBG,IAGxBG,EAASW,SAASc,cAAc,WACzBC,IAAM7B,EACba,EAAOO,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,EAAcE,QAAO,SAAU1C,GACpD,OAAOA,EAASZ,KAAKuD,aAEjBC,EAAoBJ,EAAcE,QAAO,SAAU1C,GACvD,OAAQA,EAASZ,KAAKuD,aAElBE,EAAgBD,EAAkB9C,MAAM,EAAG,GAC3CgD,EAAiBF,EAAkBF,QAAO,SAAUK,GACxD,OAAQF,EAAcG,SAASD,MAGjC,OACE,kBAAC,IAAM,CACLE,cAAc,EACdC,KAAM,CACJC,QAAS,OACTC,UAAW,SAGb,yBAAKjP,GAAG,kBAAkBgL,UAAU,kBAClC,yBAAKA,UAAU,8BACb,yBAAKA,UAAU,kBACb,yBACEzJ,IAAK0M,EACL5C,IAAI,qBACJL,UAAU,qBAKlB,kBAAC,EAAc,CAACD,WAAYuD,IAC5B,kBAAC,EAAa,CAACvD,WAAY2D,IAC3B,yBAAK1D,UAAU,kBACb,yBAAKA,UAAU,OACb,kBAAC,EAAc,CAACD,WAAY4D,IAC5B,kBAAC,EAAY,CAACxC,eAAgBgC,EAAUe","file":"component---src-pages-blog-js-a7eae1a2122dd88eb746.js","sourcesContent":["/**\n * Module dependencies\n */\n\nvar debug = require('debug')('jsonp');\n\n/**\n * Module exports.\n */\n\nmodule.exports = jsonp;\n\n/**\n * Callback index.\n */\n\nvar count = 0;\n\n/**\n * Noop function.\n */\n\nfunction noop() {}\n\n/**\n * JSONP handler\n *\n * Options:\n * - param {String} qs parameter (`callback`)\n * - prefix {String} qs parameter (`__jp`)\n * - name {String} qs parameter (`prefix` + incr)\n * - timeout {Number} how long after a timeout error is emitted (`60000`)\n *\n * @param {String} url\n * @param {Object|Function} optional options / callback\n * @param {Function} optional callback\n */\n\nfunction jsonp(url, opts, fn) {\n if ('function' == typeof opts) {\n fn = opts;\n opts = {};\n }\n if (!opts) opts = {};\n var prefix = opts.prefix || '__jp';\n\n // use the callback name that was passed if one was provided.\n // otherwise generate a unique name by incrementing our counter.\n var id = opts.name || prefix + count++;\n var param = opts.param || 'callback';\n var timeout = null != opts.timeout ? opts.timeout : 60000;\n var enc = encodeURIComponent;\n var target = document.getElementsByTagName('script')[0] || document.head;\n var script;\n var timer;\n if (timeout) {\n timer = setTimeout(function () {\n cleanup();\n if (fn) fn(new Error('Timeout'));\n }, timeout);\n }\n function cleanup() {\n if (script.parentNode) script.parentNode.removeChild(script);\n window[id] = noop;\n if (timer) clearTimeout(timer);\n }\n function cancel() {\n if (window[id]) {\n cleanup();\n }\n }\n window[id] = function (data) {\n debug('jsonp got', data);\n cleanup();\n if (fn) fn(null, data);\n };\n\n // add qs component\n url += (~url.indexOf('?') ? '&' : '?') + param + '=' + enc(id);\n url = url.replace('?&', '?');\n debug('jsonp req \"%s\"', url);\n\n // create script\n script = document.createElement('script');\n script.src = url;\n target.parentNode.insertBefore(script, target);\n return cancel;\n}","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function (val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isNaN(val) === false) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val));\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n if (ms >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (ms >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (ms >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (ms >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n return plural(ms, d, 'day') || plural(ms, h, 'hour') || plural(ms, m, 'minute') || plural(ms, s, 'second') || ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) {\n return;\n }\n if (ms < n * 1.5) {\n return Math.floor(ms / n) + ' ' + name;\n }\n return Math.ceil(ms / n) + ' ' + name + 's';\n}","'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true,\n});\nexports['default'] = void 0;\n\nvar _jsonp = _interopRequireDefault(require('jsonp'));\n\nvar _emailValidator = require('email-validator');\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\n/**\n * Make a jsonp request to user's mailchimp list\n * `param` object avoids CORS issues\n * timeout to 3.5s so user isn't waiting forever\n * usually occurs w/ privacy plugins enabled\n * 3.5s is a bit longer than the time it would take on a Slow 3G connection\n *\n * @param {String} url - concatenated string of user's gatsby-config.js\n * options, along with any MC list fields as query params.\n *\n * @return {Promise} - a promise that resolves a data object\n * or rejects an error object\n */\nvar subscribeEmailToMailchimp = function subscribeEmailToMailchimp(_ref) {\n var url = _ref.url,\n timeout = _ref.timeout;\n return new Promise(function(resolve, reject) {\n return (0, _jsonp['default'])(\n url,\n {\n param: 'c',\n timeout: timeout,\n },\n function(err, data) {\n if (err) reject(err);\n if (data) resolve(data);\n },\n );\n });\n};\n/**\n * Build a query string of MC list fields\n *\n * @param {Object} fields - a list of mailchimp audience field labels\n * and their values. We uppercase because that's what MC requires.\n * NOTE: GROUPS stay as lowercase (ex: MC uses group field names as `group[21269]`)\n *\n * @return {String} - `&FIELD1=value1&FIELD2=value2&group[21265][2]=group1`\n */\n\nvar convertListFields = function convertListFields(fields) {\n var queryParams = '';\n\n for (var field in fields) {\n if (Object.prototype.hasOwnProperty.call(fields, field)) {\n // If this is a list group, not user field then keep lowercase, as per MC reqs\n // https://github.com/benjaminhoffman/gatsby-plugin-mailchimp/blob/master/README.md#groups\n var fieldTransformed = field.substring(0, 6) === 'group[' ? field : field.toUpperCase();\n queryParams = queryParams.concat(\n '&'.concat(fieldTransformed, '=').concat(fields[field]),\n );\n }\n }\n\n return queryParams;\n};\n/**\n * Subscribe an email address to a Mailchimp email list.\n * We use ES5 function syntax (instead of arrow) because we need `arguments.length`\n *\n * @param {String} email - required; the email address you want to subscribe\n * @param {Object} fields - optional; add'l info (columns) you want included w/ this subscriber\n * @param {String} endpointOverride - optional; if you want to override the default MC mailing list\n * that's listed in your gatsby-config, pass the list in here\n *\n * @return {Object} -\n * {\n * result: (`success` || `error`)\n * msg: (`Thank you for subscribing!` || `The email you entered is not valid.`),\n * }\n */\n\nvar addToMailchimp = function addToMailchimp(email, fields, endpointOverride) {\n var isEmailValid = (0, _emailValidator.validate)(email);\n var emailEncoded = encodeURIComponent(email);\n\n if (!isEmailValid) {\n return Promise.resolve({\n result: 'error',\n msg: 'The email you entered is not valid.',\n });\n }\n\n var endpoint = __GATSBY_PLUGIN_MAILCHIMP_ADDRESS__; // eslint-disable-line no-undef\n\n var timeout = __GATSBY_PLUGIN_MAILCHIMP_TIMEOUT__; // eslint-disable-line no-undef\n // The following tests for whether you passed in a `fields` object. If\n // there are only two params and the second is a string, then we can safely\n // assume the second param is a MC mailing list, and not a fields object.\n\n if (arguments.length < 3 && typeof fields === 'string') {\n endpoint = fields;\n } else if (typeof endpointOverride === 'string') {\n endpoint = endpointOverride;\n } // Generates MC endpoint for our jsonp request. We have to\n // change `/post` to `/post-json` otherwise, MC returns an error\n\n endpoint = endpoint.replace(/\\/post/g, '/post-json');\n var queryParams = '&EMAIL='.concat(emailEncoded).concat(convertListFields(fields));\n var url = ''.concat(endpoint).concat(queryParams);\n return subscribeEmailToMailchimp({\n url: url,\n timeout: timeout,\n });\n};\n\nvar _default = addToMailchimp;\nexports['default'] = _default;\n","\"use strict\";\n\nvar tester = /^[-!#$%&'*+\\/0-9=?A-Z^_a-z{|}~](\\.?[-!#$%&'*+\\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\\.?[a-zA-Z0-9])*\\.[a-zA-Z](-?[a-zA-Z0-9])+$/;\n// Thanks to:\n// http://fightingforalostcause.net/misc/2006/compare-email-regex.php\n// http://thedailywtf.com/Articles/Validating_Email_Addresses.aspx\n// http://stackoverflow.com/questions/201323/what-is-the-best-regular-expression-for-validating-email-addresses/201378#201378\nexports.validate = function (email) {\n if (!email) return false;\n if (email.length > 254) return false;\n var valid = tester.test(email);\n if (!valid) return false;\n\n // Further checking of some things regex can't handle\n var parts = email.split(\"@\");\n if (parts[0].length > 64) return false;\n var domainParts = parts[1].split(\".\");\n if (domainParts.some(function (part) {\n return part.length > 63;\n })) return false;\n return true;\n};","/**\n * This is the web browser implementation of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome && 'undefined' != typeof chrome.storage ? chrome.storage.local : localstorage();\n\n/**\n * Colors.\n */\n\nexports.colors = ['lightseagreen', 'forestgreen', 'goldenrod', 'dodgerblue', 'darkorchid', 'crimson'];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\nfunction useColors() {\n // NB: In an Electron preload script, document will be defined but not fully\n // initialized. Since we know we're in Chrome, we'll just detect this case\n // explicitly\n if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {\n return true;\n }\n\n // is webkit? http://stackoverflow.com/a/16459606/376773\n // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n return typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n typeof window !== 'undefined' && window.console && (window.console.firebug || window.console.exception && window.console.table) ||\n // is firefox >= v31?\n // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31 ||\n // double check webkit in userAgent just in case we are in a worker\n typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/);\n}\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nexports.formatters.j = function (v) {\n try {\n return JSON.stringify(v);\n } catch (err) {\n return '[UnexpectedJSONParseError]: ' + err.message;\n }\n};\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n var useColors = this.useColors;\n args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports.humanize(this.diff);\n if (!useColors) return;\n var c = 'color: ' + this.color;\n args.splice(1, 0, c, 'color: inherit');\n\n // the final \"%c\" is somewhat tricky, because there could be other\n // arguments passed either before or after the %c, so we need to\n // figure out the correct index to insert the CSS into\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-zA-Z%]/g, function (match) {\n if ('%%' === match) return;\n index++;\n if ('%c' === match) {\n // we only are interested in the *last* %c\n // (the user may have provided their own)\n lastC = index;\n }\n });\n args.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.log()` when available.\n * No-op when `console.log` is not a \"function\".\n *\n * @api public\n */\n\nfunction log() {\n // this hackery is required for IE8/9, where\n // the `console.log` function doesn't have 'apply'\n return 'object' === typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments);\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\n\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch (e) {}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch (e) {}\n\n // If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n if (!r && typeof process !== 'undefined' && 'env' in process) {\n r = process.env.DEBUG;\n }\n return r;\n}\n\n/**\n * Enable namespaces listed in `localStorage.debug` initially.\n */\n\nexports.enable(load());\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}","module.exports = __webpack_public_path__ + \"static/cuidarme-amarme-720b2369320f1900747b39026416be93.png\";","import { useStaticQuery, graphql } from \"gatsby\"\n\nexport const useBlogCategories = () => {\n const data = useStaticQuery(\n graphql`\n query CategoryQuery {\n allStrapiBlogCategoria {\n edges {\n node {\n strapiId\n slug\n nombre\n destacado\n icono_principal {\n publicURL\n }\n imagen_principal {\n publicURL\n }\n }\n }\n }\n }\n `\n )\n return data.allStrapiBlogCategoria.edges\n}\n","/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = createDebug.debug = createDebug['default'] = createDebug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n */\n\nexports.formatters = {};\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n * @param {String} namespace\n * @return {Number}\n * @api private\n */\n\nfunction selectColor(namespace) {\n var hash = 0,\n i;\n for (i in namespace) {\n hash = (hash << 5) - hash + namespace.charCodeAt(i);\n hash |= 0; // Convert to 32bit integer\n }\n\n return exports.colors[Math.abs(hash) % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction createDebug(namespace) {\n function debug() {\n // disabled?\n if (!debug.enabled) return;\n var self = debug;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // turn the `arguments` into a proper Array\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n args[0] = exports.coerce(args[0]);\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %O\n args.unshift('%O');\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n // apply env-specific formatting (colors, etc.)\n exports.formatArgs.call(self, args);\n var logFn = debug.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n debug.namespace = namespace;\n debug.enabled = exports.enabled(namespace);\n debug.useColors = exports.useColors();\n debug.color = selectColor(namespace);\n\n // env-specific initialization logic for debug instances\n if ('function' === typeof exports.init) {\n exports.init(debug);\n }\n return debug;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n exports.names = [];\n exports.skips = [];\n var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n var len = split.length;\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}","import React from \"react\"\nimport { Link } from \"gatsby\"\nimport PropTypes from \"prop-types\"\n\nconst CategoriesTop = props => {\n const { categories } = props\n return (\n
\n
\n
\n
\n \n
\n

{categories[0].node.nombre}

\n \n Ver más\n \n
\n
\n
\n\n
\n
\n \n
\n

{categories[1].node.nombre}

\n \n Ver más\n \n
\n
\n
\n
\n
\n )\n}\n\nCategoriesTop.propTypes = {\n categories: PropTypes.arrayOf(\n PropTypes.shape({\n node: PropTypes.shape({\n strapiId: PropTypes.string.isRequired,\n slug: PropTypes.string.isRequired,\n nombre: PropTypes.string.isRequired,\n imagen_principal: PropTypes.shape({\n publicURL: PropTypes.string.isRequired,\n }),\n }),\n })\n ).isRequired,\n}\n\nCategoriesTop.defaultProps = {\n categories: [\n {\n node: {\n strapiId: \"5fc67111b2b37d04310d0a31\",\n slug: `nombre-categoria`,\n nombre: \"Categoría\",\n imagen_principal: {\n publicURL: `http://placehold.it/465x465?text=Categoría`,\n },\n },\n },\n {\n node: {\n strapiId: \"5fc6711ab2b37d04310d0a32\",\n slug: `nombre-categoria`,\n nombre: \"Categoría\",\n imagen_principal: {\n publicURL: `http://placehold.it/800x465?text=Categoría`,\n },\n },\n },\n ],\n}\n\nexport default CategoriesTop\n","import React from \"react\"\nimport { Link } from \"gatsby\"\nimport PropTypes from \"prop-types\"\n\nconst CategoriesMain = props => {\n const { categories } = props\n return (\n
\n
\n
\n {categories.slice(0, 6).map((category, index) => {\n return (\n
\n \n
\n \n
\n
\n {category.node.nombre}\n
\n \n
\n )\n })}\n
\n
\n
\n )\n}\n\nCategoriesMain.propTypes = {\n categories: PropTypes.arrayOf(\n PropTypes.shape({\n node: PropTypes.shape({\n strapiId: PropTypes.string.isRequired,\n slug: PropTypes.string.isRequired,\n nombre: PropTypes.string.isRequired,\n icono_principal: PropTypes.shape({\n publicURL: PropTypes.string.isRequired,\n }),\n }),\n })\n ).isRequired,\n}\n\nCategoriesMain.defaultProps = {\n categories: [\n {\n node: {\n strapiId: \"5fc67108b2b37d04310d0a30\",\n slug: `nombre-categoria`,\n nombre: \"Categoría\",\n icono_principal: {\n publicURL: \"http://placehold.it/100x100\",\n },\n },\n },\n {\n node: {\n strapiId: \"5fc67111b2b37d04310d0a31\",\n slug: `nombre-categoria`,\n nombre: \"Categoría\",\n icono_principal: null,\n },\n },\n {\n node: {\n strapiId: \"5fc6711ab2b37d04310d0a32\",\n slug: `nombre-categoria`,\n nombre: \"Categoría\",\n icono_principal: null,\n },\n },\n {\n node: {\n strapiId: \"5fc67123b2b37d04310d0a33\",\n slug: `nombre-categoria`,\n nombre: \"Categoría\",\n icono_principal: null,\n },\n },\n {\n node: {\n strapiId: \"5fc6712bb2b37d04310d0a34\",\n slug: `nombre-categoria`,\n nombre: \"Categoría\",\n icono_principal: null,\n },\n },\n ],\n}\n\nexport default CategoriesMain\n","import React from \"react\"\nimport { Link } from \"gatsby\"\nimport PropTypes from \"prop-types\"\n\nconst CategoriesGrid = props => {\n const { categories } = props\n return (\n
\n
\n {categories.map((category, i) => {\n return (\n \n
\n \n
\n

{category.node.nombre}

\n Ver más\n
\n
\n
\n )\n })}\n
\n \n )\n}\n\nCategoriesGrid.propTypes = {\n categories: PropTypes.arrayOf(\n PropTypes.shape({\n node: PropTypes.shape({\n strapiId: PropTypes.string.isRequired,\n slug: PropTypes.string.isRequired,\n nombre: PropTypes.string.isRequired,\n imagen_principal: PropTypes.shape({\n publicURL: PropTypes.string.isRequired,\n }),\n }),\n })\n ).isRequired,\n}\n\nCategoriesGrid.defaultProps = {\n categories: [\n {\n node: {\n nombre: `Categoría`,\n slug: `nombre-categoria`,\n strapiId: \"5fc67108b2b37d04310d0a30\",\n imagen_principal: {\n publicURL: `http://placehold.it/800x465?text=Categoría`,\n },\n },\n },\n {\n node: {\n nombre: `Categoría`,\n slug: `nombre-categoria`,\n strapiId: \"5fc67108b2b37d04310d0a30\",\n imagen_principal: {\n publicURL: `http://placehold.it/465x465?text=Categoría`,\n },\n },\n },\n {\n node: {\n nombre: `Categoría`,\n slug: `nombre-categoria`,\n strapiId: \"5fc67108b2b37d04310d0a30\",\n imagen_principal: {\n publicURL: `http://placehold.it/465x465?text=Categoría`,\n },\n },\n },\n {\n node: {\n nombre: `Categoría`,\n slug: `nombre-categoria`,\n strapiId: \"5fc67108b2b37d04310d0a30\",\n imagen_principal: {\n publicURL: `http://placehold.it/800x465?text=Categoría`,\n },\n },\n },\n {\n node: {\n nombre: `Categoría`,\n slug: `nombre-categoria`,\n strapiId: \"5fc67108b2b37d04310d0a30\",\n imagen_principal: {\n publicURL: `http://placehold.it/465x465?text=Categoría`,\n },\n },\n },\n {\n node: {\n nombre: `Categoría`,\n slug: `nombre-categoria`,\n strapiId: \"5fc67108b2b37d04310d0a30\",\n imagen_principal: {\n publicURL: `http://placehold.it/465x465?text=Categoría`,\n },\n },\n },\n ],\n}\n\nexport default CategoriesGrid\n","import React, { useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport addToMailchimp from \"gatsby-plugin-mailchimp\"\nimport { FacebookProvider, Page } from \"react-facebook\"\n\n// Components\nimport CustomLink from \"../elements/custom-link\"\nimport ContentToHTML from \"../elements/content-html\"\n\nconst RightSidebar = props => {\n const { socialNetworks } = props\n\n const [email, setEmail] = useState(\"\")\n const [result, setResult] = useState(null)\n const [submitText, setSubmitText] = useState(\"Enviar\")\n\n const handleSubmit = async e => {\n setSubmitText(\"Validando...\")\n e.preventDefault()\n const res = await addToMailchimp(email)\n setResult(res)\n setSubmitText(\"Enviar\")\n }\n\n return (\n
\n
\n
\n {socialNetworks.map((item, index) => {\n return (\n \n {item.nombre}\n \n )\n })}\n
\n
\n \n
\n

Suscríbete

\n \n setEmail(e.target.value)}\n />\n {result ? (\n result.result === \"success\" ? (\n \n Se ha agregado exitosamente a nuestro Blog.\n \n ) : (\n \n \n \n )\n ) : (\n \n Datos protegidos bajo la ley 1581 de 2012\n \n )}\n
\n \n {submitText}\n \n \n
\n
\n
\n \n \n \n
\n
\n
\n
\n )\n}\n\nRightSidebar.propTypes = {\n socialNetworks: PropTypes.arrayOf(\n PropTypes.shape({\n nombre: PropTypes.string.isRequired,\n tipo: PropTypes.string.isRequired,\n link_id: PropTypes.string.isRequired,\n icono: PropTypes.shape({\n publicURL: PropTypes.string.isRequired,\n }).isRequired,\n })\n ).isRequired,\n}\n\nRightSidebar.defaultProps = {\n socialNetworks: [\n {\n nombre: \"Twitter\",\n tipo: \"Externo\",\n link_id: \"/\",\n icono: {\n publicURL:\n \"/static/70a607edb2a909936b47d4dd978a4209/e270282bad4ab2907233f099d1db3a9c.png\",\n },\n },\n ],\n}\n\nexport default RightSidebar\n","import React from \"react\"\n\n// Layout\nimport Layout from \"../components/layout\"\n// Components\nimport CategoriesTop from \"../components/blog/categories-top\"\nimport CategoriesMain from \"../components/blog/categories-main\"\nimport CategoriesGrid from \"../components/blog/categories-grid\"\nimport RightSidebar from \"../components/blog/right-sidebar\"\n// Hooks\nimport { useAsmetHome } from \"../hooks/use-asmet-home\"\nimport { useBlogCategories } from \"../hooks/use-blog-categories\"\n\nconst logoCuidarmeAmarme = require(\"../assets/images/logos/cuidarme-amarme.png\")\n\nconst BlogPage = () => {\n const asmetHome = useAsmetHome()\n const allCategories = useBlogCategories()\n const mainCategories = allCategories.filter(function (category) {\n return category.node.destacado\n })\n const nonMainCategories = allCategories.filter(function (category) {\n return !category.node.destacado\n })\n const topCategories = nonMainCategories.slice(0, 2)\n const gridCategories = nonMainCategories.filter(function (el) {\n return !topCategories.includes(el)\n })\n\n return (\n \n
\n
\n
\n \n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n )\n}\n\nexport default BlogPage\n"],"sourceRoot":""}