/**
 * Add Content Security Policy headers.
 *
 * @param array $headers Current headers.
 *
 * @return array
 */
function sovos_add_csp_headers( array $headers = array() ): array {
    if ( is_user_logged_in() ) {
        // Only apply CSP to non-logged in users.
        return $headers;
    }

    $header = array(
        'base-uri'        => array( "'none'" ),
        'default-src'     => array( "'self'", 'https://*.crazyegg.com' ),
        'connect-src'     => array( 
            "'self'", 
            'https:', 
            'ws:', 
            'wss:', 
            'https://*.crazyegg.com',
            'https://adsrvr.org',
            'https://insight.adsrvr.org',
        ),
        'img-src'         => array( 
            "'self'", 
            'https:', 
            'data:', 
            'blob:', 
            'https://*.sovos.com', 
            'https://sovos.com', 
            'https://cdn.bfldr.com', 
            'https://*.crazyegg.com',
            'https://adsrvr.org',
            'https://insight.adsrvr.org',
        ),
        'media-src'       => array( "'self'", 'data:', 'blob:', 'https://*.sovos.com' ),
        'object-src'      => array( "'none'" ),
        'script-src'      => array( 
            "'self'", 
            "'unsafe-inline'", 
            "'unsafe-eval'", 
            'https:', 
            'data:',
            'https://adsrvr.org',
            'https://insight.adsrvr.org',
        ),
        'style-src'       => array( "'self'", "'unsafe-inline'", 'https:' ),
        'font-src'        => array( "'self'", 'data:', 'https:' ),
        'worker-src'      => array( "'self'", 'blob:' ),
        'frame-src'       => array(
            "'self'",
            'https://*.sovos.com',
            'https://sovos.com',
            'https://*.youtube.com',
            'https://*.marketo.com',
            'https://fast.wistia.com',
            'https://fast.wistia.net',
            'https://js.driftt.com',
            'https://www.google.com',
            'https://www.googletagmanager.com',
            'https://documentcloud.adobe.com',
            'https://*.flowpaper.com',
            'https://e.infogram.com',
            'https://td.doubleclick.net',
            'https://recruit.hirebridge.com',
            'https://maps.google.com',
            'https://app.getreprise.com',
            'https://cdn.bfldr.com',
            'https://*.crazyegg.com',
            'https://*.1mind.com',
            'https://adsrvr.org',
            'https://insight.adsrvr.org',
        ),
        'frame-ancestors' => array(
            "'self'",
            'https://*.sovos.com',
            'https://sovos.com',
            'https://*.1mind.com',
        ),
    );

    $csp_policy = 'upgrade-insecure-requests; ';
    foreach ( $header as $directive => $sources ) {
        $csp_policy .= $directive . ' ' . implode( ' ', $sources ) . '; ';
    }

    $headers['Content-Security-Policy'] = trim( $csp_policy );

    return $headers;
}<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//sovos.com/es/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://sovos.com/es/post-sitemap.xml</loc>
		<lastmod>2026-09-09T14:47:06+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/page-sitemap.xml</loc>
		<lastmod>2026-09-16T19:01:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/sovos_study-sitemap.xml</loc>
		<lastmod>2024-06-28T20:26:12+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/sovos_event-sitemap.xml</loc>
		<lastmod>2026-04-15T18:51:38+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/sovos_webinar-sitemap.xml</loc>
		<lastmod>2026-09-09T21:04:21+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/sovos_leadership-sitemap.xml</loc>
		<lastmod>2024-06-18T16:13:14+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/sovos_update-sitemap.xml</loc>
		<lastmod>2026-09-09T10:25:14+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/sovos_contentlibrary-sitemap.xml</loc>
		<lastmod>2026-09-04T13:34:55+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/sovos_press-sitemap.xml</loc>
		<lastmod>2026-04-30T20:27:52+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/sovos_media-sitemap.xml</loc>
		<lastmod>2026-09-10T12:43:41+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/integration-partner-sitemap.xml</loc>
		<lastmod>2026-08-12T09:24:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://sovos.com/es/integration-type-sitemap.xml</loc>
		<lastmod>2026-08-12T09:24:40+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->