CINXE.COM
P脿gina no trobada | enciclopedia.cat
<!DOCTYPE html> <html lang="ca" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# "> <head> <script> /*window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('consent', 'default', { 'ad_storage': 'denied', 'analytics_storage': 'denied', 'wait_for_update': 1500 //milliseconds }); gtag('set', 'ads_data_redaction', true);*/ </script> <meta charset="utf-8" /> <script async src="https://www.googletagmanager.com/gtag/js?id=G-25SGBGPBS0" type="application/json" id="cookies_google_analytics_tracking_file"></script> <script type="application/json" id="cookies_google_analytics_tracking_script">window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments)};gtag("js", new Date());gtag("set", "developer_id.dMDhkMT", true);gtag("config", "G-25SGBGPBS0", {"groups":"default","page_location":"/404.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer});</script> <link rel="canonical" href="https://www.enciclopedia.cat/" /> <link rel="shortlink" href="https://www.enciclopedia.cat/" /> <link rel="manifest" href="/manifest.json" /> <meta name="theme-color" content="#ffffff" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="default" /> <meta name="Generator" content="Drupal 8 (https://www.drupal.org)" /> <meta name="MobileOptimized" content="width" /> <meta name="HandheldFriendly" content="true" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta http-equiv="x-ua-compatible" content="ie=edge" /> <link rel="apple-touch-icon" sizes="192x192" href="/sites/default/files/pwa/Logos_enciclopedia512_new.pngcopy.png" /> <link href="/iphone5_splash.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="/iphone6_splash.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="/iphoneplus_splash.png" media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" /> <link href="/iphonex_splash.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" /> <link href="/iphonexr_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="/iphonexsmax_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" /> <link href="/ipad_splash.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="/ipadpro1_splash.png" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="/ipadpro2_splash.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link href="/ipadpro3_splash.png" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" /> <link rel="shortcut icon" href="/sites/default/files/favicon.png" type="image/png" /> <script>window.a2a_config=window.a2a_config||{};a2a_config.callbacks=[];a2a_config.overlays=[];a2a_config.templates={};</script> <title>P脿gina no trobada | enciclopedia.cat</title> <link rel="stylesheet" media="all" href="/sites/default/files/css/css_QQRdKwFCEMVzY7hwujxSzaXk66uAsvozA_mMZprmd4g.css" /> <link rel="stylesheet" media="all" href="/sites/default/files/css/css_tsE5Bk3OOhZ_jt3Oya_xrILMB60H8vNk8Gq0fs1eI4s.css" /> <link rel="stylesheet" media="all" href="//stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" /> <link rel="stylesheet" media="all" href="/sites/default/files/css/css_j78NvHgS0ulDRYyayNmesFgyFCNtieocwGysQawas5k.css" /> <link rel="stylesheet" media="all" href="//stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" /> <link rel="stylesheet" media="all" href="//use.fontawesome.com/releases/v5.13.0/css/all.css" /> <link rel="stylesheet" media="all" href="/sites/default/files/css/css_y0ifvFTJn3OpgwHT5WKDDy7_cLBXaDbcecFM0yx9f2Y.css" /> <link rel="stylesheet" media="print" href="/sites/default/files/css/css_Y4H_4BqmgyCtG7E7YdseTs2qvy9C34c51kBamDdgark.css" /> <!--[if lte IE 8]> <script src="/sites/default/files/js/js_VtafjXmRvoUgAzqzYTA3Wrjkx9wcWhjP0G4ZnnqRamA.js"></script> <![endif]--> <script src="https://use.fontawesome.com/releases/v5.13.1/js/all.js" defer crossorigin="anonymous"></script> <script src="https://use.fontawesome.com/releases/v5.13.1/js/v4-shims.js" defer crossorigin="anonymous"></script> </head> <body class="layout-no-sidebars path-enciclopedies scrolled"> <a href="#main-content" class="visually-hidden focusable skip-link"> V茅s al contingut </a> <div class="dialog-off-canvas-main-canvas" data-off-canvas-main-canvas> <div id="page-wrapper"> <div id="page"> <header id="header" class="header sticky-top " role="banner" aria-label="Cap莽alera del lloc"> <nav class="navbar" id="navbar-top-sup"> <div class="container hidden-elements"> <section class="row region region-top-header"> <div id="block-menutop" class="top-megamenu col-lg-4 col-md-4 col-sm-4 block block-block-content block-block-content59818b2a-b42f-4584-a6ad-7f1a6d851b10"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><ul class="nav nav-tabs"><li class="we-mega-menu-li"><a class="we-mega-menu-li" href="/qui-som" title="Qui som">Qui som</a></li> <li class="we-mega-menu-li"><a class="we-mega-menu-li" href="/blog" title="Blog">Blog</a></li> <li class="we-mega-menu-li"><a class="we-mega-menu-li" href="/formularis/contacta" title="Contacte">Contacte</a></li> <li class="we-mega-menu-li"><a class="we-mega-menu-li" href="/ajuda" title="Ajuda">Ajuda</a></li> </ul></div> </div> </div> <div id="block-gec-socialtop--2" class="social-top col-lg-8 col-md-8 col-sm-8 block block-block-content block-block-content5fbb0da2-c68c-4be1-93ce-7bb9b948f7c0"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><a class="link-top-right" href="https://www.enciclopedia.cat/divulcat">Divulcat</a><a class="link-top-right" href="https://www.diccionari.cat/">Diccionari.cat</a><a href="https://www.facebook.com/Enciclopediacat" target="_blank"><i class="fab fa-facebook-f fa-lg"></i></a> <a href="https://twitter.com/enciclopediaCAT" target="_blank"><i class="fab fa-twitter fa-lg"></i></a><!-- <a class="login-link" href="/user"><i class="fas fa-user"></i> Perfil</a> --></div> </div> </div> <div id="block-gec-userlogin" class="display-none block-user-login block block-user block-user-login-block" role="form"> <div class="content"> <form class="user-login-form" data-drupal-selector="user-login-form" action="/system/404?destination=/" method="post" id="user-login-form" accept-charset="UTF-8"> <fieldset class="js-form-item js-form-type-email form-type-email js-form-item-name form-item-name form-group"> <label for="edit-name" class="js-form-required form-required">Correu electr貌nic</label> <input autocorrect="none" autocapitalize="none" spellcheck="false" data-drupal-selector="edit-name" type="email" id="edit-name" name="name" value="" size="15" maxlength="254" class="form-email required form-control" required="required" aria-required="true" /> </fieldset> <fieldset class="js-form-item js-form-type-password form-type-password js-form-item-pass form-item-pass form-group"> <label for="edit-pass" class="js-form-required form-required">Contrasenya</label> <input data-drupal-selector="edit-pass" type="password" id="edit-pass" name="pass" size="15" maxlength="128" class="required form-control" required="required" aria-required="true" /> </fieldset> <input autocomplete="off" data-drupal-selector="form-du5phkdw0ck6t2ziylvewawry2fj6n18qrt3u3y2dl4" type="hidden" name="form_build_id" value="form-Du5PhkdW0ck6T2ziYLVewaWrY2Fj6N18QRt3U3Y2Dl4" class="form-control" /> <input data-drupal-selector="edit-user-login-form" type="hidden" name="form_id" value="user_login_form" class="form-control" /> <div data-drupal-selector="edit-actions" class="form-actions js-form-wrapper form-group" id="edit-actions"><input data-drupal-selector="edit-submit" type="submit" id="edit-submit" name="op" value="Entra" class="button js-form-submit form-submit btn btn-primary form-control" /> </div> </form> <div class="item-list"><ul class="list-group"><li class="list-group-item"><a href="/user/password" title="Envia instruccions per restablir la contrasenya per correu electr貌nic." class="request-password-link">Canvi de contrasenya</a></li></ul></div> </div> </div> </section> </div> </nav> <nav class="navbar sticky-top" id="navbar-top"> <div class="container"> <section class="row region region-top-header"> <div id="block-menutop" class="top-megamenu col-lg-4 col-md-4 col-sm-4 block block-block-content block-block-content59818b2a-b42f-4584-a6ad-7f1a6d851b10"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><ul class="nav nav-tabs"><li class="we-mega-menu-li"><a class="we-mega-menu-li" href="/qui-som" title="Qui som">Qui som</a></li> <li class="we-mega-menu-li"><a class="we-mega-menu-li" href="/blog" title="Blog">Blog</a></li> <li class="we-mega-menu-li"><a class="we-mega-menu-li" href="/formularis/contacta" title="Contacte">Contacte</a></li> <li class="we-mega-menu-li"><a class="we-mega-menu-li" href="/ajuda" title="Ajuda">Ajuda</a></li> </ul></div> </div> </div> <div id="block-gec-socialtop--2" class="social-top col-lg-8 col-md-8 col-sm-8 block block-block-content block-block-content5fbb0da2-c68c-4be1-93ce-7bb9b948f7c0"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><a class="link-top-right" href="https://www.enciclopedia.cat/divulcat">Divulcat</a><a class="link-top-right" href="https://www.diccionari.cat/">Diccionari.cat</a><a href="https://www.facebook.com/Enciclopediacat" target="_blank"><i class="fab fa-facebook-f fa-lg"></i></a> <a href="https://twitter.com/enciclopediaCAT" target="_blank"><i class="fab fa-twitter fa-lg"></i></a><!-- <a class="login-link" href="/user"><i class="fas fa-user"></i> Perfil</a> --></div> </div> </div> <div id="block-gec-userlogin" class="display-none block-user-login block block-user block-user-login-block" role="form"> <div class="content"> <form class="user-login-form" data-drupal-selector="user-login-form" action="/system/404?destination=/" method="post" id="user-login-form" accept-charset="UTF-8"> <fieldset class="js-form-item js-form-type-email form-type-email js-form-item-name form-item-name form-group"> <label for="edit-name" class="js-form-required form-required">Correu electr貌nic</label> <input autocorrect="none" autocapitalize="none" spellcheck="false" data-drupal-selector="edit-name" type="email" id="edit-name" name="name" value="" size="15" maxlength="254" class="form-email required form-control" required="required" aria-required="true" /> </fieldset> <fieldset class="js-form-item js-form-type-password form-type-password js-form-item-pass form-item-pass form-group"> <label for="edit-pass" class="js-form-required form-required">Contrasenya</label> <input data-drupal-selector="edit-pass" type="password" id="edit-pass" name="pass" size="15" maxlength="128" class="required form-control" required="required" aria-required="true" /> </fieldset> <input autocomplete="off" data-drupal-selector="form-du5phkdw0ck6t2ziylvewawry2fj6n18qrt3u3y2dl4" type="hidden" name="form_build_id" value="form-Du5PhkdW0ck6T2ziYLVewaWrY2Fj6N18QRt3U3Y2Dl4" class="form-control" /> <input data-drupal-selector="edit-user-login-form" type="hidden" name="form_id" value="user_login_form" class="form-control" /> <div data-drupal-selector="edit-actions" class="form-actions js-form-wrapper form-group" id="edit-actions"><input data-drupal-selector="edit-submit" type="submit" id="edit-submit" name="op" value="Entra" class="button js-form-submit form-submit btn btn-primary form-control" /> </div> </form> <div class="item-list"><ul class="list-group"><li class="list-group-item"><a href="/user/password" title="Envia instruccions per restablir la contrasenya per correu electr貌nic." class="request-password-link">Canvi de contrasenya</a></li></ul></div> </div> </div> </section> </div> <div class="form-inline navbar-form ml-auto"> <section class="row region region-top-header-form"> <div id="block-megamenuobres" class="bk-gray-50 block block-block-content block-block-content5bf9a4ee-6762-4033-b44e-60104976c7f4"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><div class="container"> <div class="row"> <div class="col-md-3"> <h2>Enciclop猫dia</h2> <p><a href="/gran-enciclopedia-catalana?search_api_fulltext=&field_faceta_cerca_1=938">Gran enciclop猫dia catalana</a></p> <p><a href="/esportpedia?search_api_fulltext=&field_faceta_cerca_1=1001">Esportp猫dia - Enciclop猫dia de l鈥檈sport catal脿</a></p> <p><a href="/gran-enciclopedia-de-la-musica?search_api_fulltext=&field_faceta_cerca_1=1224">Gran enciclop猫dia de la m煤sica</a></p> <p><a href="/diccionari-de-la-literatura-catalana?search_api_fulltext=&field_faceta_cerca_1=1218">Diccionari de la literatura catalana</a></p> <p><a href="/diccionari-dhistoriografia-catalana?search_api_fulltext=&field_faceta_cerca_1=1219">Diccionari d鈥檋istoriografia catalana</a></p> <p><a href="/diccionari-del-cinema-catalunya?search_api_fulltext=&field_faceta_cerca_1=1225">Diccionari del cinema a Catalunya</a></p> <p><a href="/diccionari-dels-partits-politics-de-catalunya-segle-xx?search_api_fulltext=&field_faceta_cerca_1=1162">Diccionari dels partits pol铆tics de Catalunya, segle XX</a></p> <h2>Cronologia</h2> <p><a href="/cronologia">Cronologia dels Pa茂sos Catalans i del M贸n</a></p> <h2>Estad铆stiques</h2> <p><a href="/estadistiques">El m贸n en xifres</a></p> </div> <div class="col-md-3"> <h2>Obres tem脿tiques</h2> <h3>Tem脿tica general</h3> <p><a href="/temes-dactualitat">Temes d'actualitat</a></p> <p><a href="/enciclopedia-tematica-proa?search_api_fulltext=&field_faceta_cerca_1=4774">Enciclop猫dia tem脿tica Proa</a></p> <h3>Antropologia i societat</h3> <p><a href="/atles-de-la-diversitat?search_api_fulltext=&field_faceta_cerca_1=4796">Atles de la diversitat</a></p> <p><a href="/atles-de-la-presencia-catalana-al-mon?search_api_fulltext=&field_faceta_cerca_1=4806">Atles de la pres猫ncia catalana al m贸n</a></p> <p><a href="/tradicionari?search_api_fulltext=&field_faceta_cerca_1=4777">Tradicionari</a></p> <h3>Art</h3> <p><a href="/art-de-catalunya?search_api_fulltext=&field_faceta_cerca_1=4773">Art de Catalunya</a></p> <p><a href="/del-roma-al-romanic?search_api_fulltext=&field_faceta_cerca_1=4769">Del rom脿 al rom脿nic</a></p> <p><a href="/catalunya-romanica?search_api_fulltext=&field_faceta_cerca_1=4765">Catalunya Rom脿nica</a></p> <p><a href="/art-gotic-a-catalunya?search_api_fulltext=&field_faceta_cerca_1=4808">L'Art g貌tic a Catalunya</a></p> <p><a href="/el-modernisme?search_api_fulltext=&field_faceta_cerca_1=4816">El Modernisme</a></p> </div> <div class="col-md-3 sin-h2"> <h3>Economia</h3> <p><a href="/caixes-i-bancs-de-catalunya?search_api_fulltext=&field_faceta_cerca_1=4811">Caixes i bancs de Catalunya</a></p> <p><a href="/fabriques-i-empresaris?search_api_fulltext=&field_faceta_cerca_1=4770">F脿briques i empresaris</a></p> <p><a href="/historia-economica-de-la-catalunya-contemporania?search_api_fulltext=&field_faceta_cerca_1=4813">Hist貌ria econ貌mica de la Catalunya contempor脿nia</a></p> <p><a href="/tecnics-i-tecnologia-en-el-desenvolupament-de-la-catalunya-contemporania?search_api_fulltext=&field_faceta_cerca_1=4812">T猫cnics i tecnologia en el desenvolupament de la Catalunya contempor脿nia</a></p> <h3>Educaci贸</h3> <p><a href="https://www.enciclopedia.cat/aprendre-a-aprendre?search_api_fulltext=&field_faceta_cerca_1=87">Aprendre a aprendre</a></p> <h3>Geografia</h3> <p><a href="/comarques-de-catalunya?search_api_fulltext=&field_faceta_cerca_1=4800">Comarques de Catalunya</a></p> </div> <div class="col-md-3 sin-h2"> <h3>Hist貌ria i pol铆tica</h3> <p><a href="/atles-electoral-de-la-segona-republica-a-catalunya?search_api_fulltext=&field_faceta_cerca_1=4814">Atles electoral de la Segona Rep煤blica a Catalunya</a></p> <p><a href="/historia-politica-societat-i-cultura-dels-pa%C3%AFsos-catalans?search_api_fulltext=&field_faceta_cerca_1=4809">Hist貌ria. Pol铆tica, societat i cultura dels Pa茂sos Catalans</a></p> <p><a href="/historia-de-la-generalitat-de-catalunya-i-dels-seus-presidents?search_api_fulltext=&field_faceta_cerca_1=4799">Hist貌ria de la Generalitat de Catalunya i els seus presidents</a></p> <p><a href="/lluis-companys-president-de-catalunya?search_api_fulltext=&field_faceta_cerca_1=4815">Llu铆s Companys, president de Catalunya</a></p> <h3>Llengua</h3> <p><a href="/llibre-estil-enciclopedia-catalana?search_api_fulltext=&field_faceta_cerca_1=4795">Llibre d'estil</a></p> <h3>Medicina</h3> <p><a href="/enciclopedia-de-medicina-i-salut?search_api_fulltext=&field_faceta_cerca_1=68">Enciclop猫dia de medicina i salut</a></p> <h3>Natura i ecologia</h3> <p><a href="/biosfera?search_api_fulltext=&field_faceta_cerca_1=4805">Biosfera</a></p> <p><a href="/historia-natural-dels-paisos-catalans?search_api_fulltext=&field_faceta_cerca_1=4807">Hist貌ria natural dels Pa茂sos Catalans</a></p> </div> </div> </div> </div> </div> </div> </section> </div> </nav> <nav class="navbar navbar-expand-lg" id="navbar-main"> <section class="region region-header"> <div id="block-logomenu" class="container block block-blockgroup block-block-grouplogo-menu"> <div class="content"> <div class="logo col-lg-5 col-md-5 col-sm-5 justify-content-start"> <a href="/" title="Inici" rel="home" class="navbar-brand"> <img src="/sites/default/files/logo-enciclopedia_0.png" alt="Inici" class="img-fluid d-inline-block align-top" /> </a> <div class="align-top site-name-slogan"> El teu portal del coneixement </div> </div> <div id="block-megamenu" class="btn-megamenu col-lg-7 col-md-7 col-sm-7 justify-content-end block block-we-megamenu block-we-megamenu-blocktotes-les-obres"> <div class="content"> <div class="region-we-mega-menu"> <a class="navbar-toggle collapsed"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <nav class="totes-les-obres navbar navbar-default navbar-we-mega-menu mobile-collapse hover-action" data-menu-name="totes-les-obres" data-block-theme="gec" data-style="Default" data-animation="None" data-delay="" data-duration="" data-autoarrow="" data-alwayshowsubmenu="1" data-action="hover" data-mobile-collapse="0"> <div class="container-fluid"> <ul class="we-mega-menu-ul nav nav-tabs"> <li class="we-mega-menu-li" data-level="0" data-element-type="we-mega-menu-li" description="" data-id="866cbe71-0b8f-40bf-826a-97006f97ab12" data-submenu="0" hide-sub-when-collapse="0"> <a class="we-mega-menu-li" title="" href="/actualitat" target=""> Temes d'actualitat </a> </li><li class="we-mega-menu-li obres right dropdown-menu" data-level="0" data-element-type="we-mega-menu-li" description="" data-id="29912ba8-439b-4252-854b-81ca1b7ccc38" data-submenu="1" hide-sub-when-collapse="" data-group="0" data-class="obres" data-icon="" data-caption="" data-alignsub="right" data-target=""> <a href='#' data-drupal-link-system-path="<front>" class="we-megamenu-nolink"> Obres</a> <div class="we-mega-menu-submenu" data-element-type="we-mega-menu-submenu" data-submenu-width="991" data-class="" style="width: 991px"> <div class="we-mega-menu-submenu-inner"> <div class="we-mega-menu-row" data-element-type="we-mega-menu-row" data-custom-row="1"> <div class="we-mega-menu-col span12" data-element-type="we-mega-menu-col" data-width="12" data-block="megamenuobres" data-blocktitle="0" data-hidewhencollapse="0" data-class=""> <div class="type-of-block"><div class="block-inner"><div id="block-megamenuobres" class="bk-gray-50 block block-block-content block-block-content5bf9a4ee-6762-4033-b44e-60104976c7f4"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><div class="container"> <div class="row"> <div class="col-md-3"> <h2>Enciclop猫dia</h2> <p><a href="/gran-enciclopedia-catalana?search_api_fulltext=&field_faceta_cerca_1=938">Gran enciclop猫dia catalana</a></p> <p><a href="/esportpedia?search_api_fulltext=&field_faceta_cerca_1=1001">Esportp猫dia - Enciclop猫dia de l鈥檈sport catal脿</a></p> <p><a href="/gran-enciclopedia-de-la-musica?search_api_fulltext=&field_faceta_cerca_1=1224">Gran enciclop猫dia de la m煤sica</a></p> <p><a href="/diccionari-de-la-literatura-catalana?search_api_fulltext=&field_faceta_cerca_1=1218">Diccionari de la literatura catalana</a></p> <p><a href="/diccionari-dhistoriografia-catalana?search_api_fulltext=&field_faceta_cerca_1=1219">Diccionari d鈥檋istoriografia catalana</a></p> <p><a href="/diccionari-del-cinema-catalunya?search_api_fulltext=&field_faceta_cerca_1=1225">Diccionari del cinema a Catalunya</a></p> <p><a href="/diccionari-dels-partits-politics-de-catalunya-segle-xx?search_api_fulltext=&field_faceta_cerca_1=1162">Diccionari dels partits pol铆tics de Catalunya, segle XX</a></p> <h2>Cronologia</h2> <p><a href="/cronologia">Cronologia dels Pa茂sos Catalans i del M贸n</a></p> <h2>Estad铆stiques</h2> <p><a href="/estadistiques">El m贸n en xifres</a></p> </div> <div class="col-md-3"> <h2>Obres tem脿tiques</h2> <h3>Tem脿tica general</h3> <p><a href="/temes-dactualitat">Temes d'actualitat</a></p> <p><a href="/enciclopedia-tematica-proa?search_api_fulltext=&field_faceta_cerca_1=4774">Enciclop猫dia tem脿tica Proa</a></p> <h3>Antropologia i societat</h3> <p><a href="/atles-de-la-diversitat?search_api_fulltext=&field_faceta_cerca_1=4796">Atles de la diversitat</a></p> <p><a href="/atles-de-la-presencia-catalana-al-mon?search_api_fulltext=&field_faceta_cerca_1=4806">Atles de la pres猫ncia catalana al m贸n</a></p> <p><a href="/tradicionari?search_api_fulltext=&field_faceta_cerca_1=4777">Tradicionari</a></p> <h3>Art</h3> <p><a href="/art-de-catalunya?search_api_fulltext=&field_faceta_cerca_1=4773">Art de Catalunya</a></p> <p><a href="/del-roma-al-romanic?search_api_fulltext=&field_faceta_cerca_1=4769">Del rom脿 al rom脿nic</a></p> <p><a href="/catalunya-romanica?search_api_fulltext=&field_faceta_cerca_1=4765">Catalunya Rom脿nica</a></p> <p><a href="/art-gotic-a-catalunya?search_api_fulltext=&field_faceta_cerca_1=4808">L'Art g貌tic a Catalunya</a></p> <p><a href="/el-modernisme?search_api_fulltext=&field_faceta_cerca_1=4816">El Modernisme</a></p> </div> <div class="col-md-3 sin-h2"> <h3>Economia</h3> <p><a href="/caixes-i-bancs-de-catalunya?search_api_fulltext=&field_faceta_cerca_1=4811">Caixes i bancs de Catalunya</a></p> <p><a href="/fabriques-i-empresaris?search_api_fulltext=&field_faceta_cerca_1=4770">F脿briques i empresaris</a></p> <p><a href="/historia-economica-de-la-catalunya-contemporania?search_api_fulltext=&field_faceta_cerca_1=4813">Hist貌ria econ貌mica de la Catalunya contempor脿nia</a></p> <p><a href="/tecnics-i-tecnologia-en-el-desenvolupament-de-la-catalunya-contemporania?search_api_fulltext=&field_faceta_cerca_1=4812">T猫cnics i tecnologia en el desenvolupament de la Catalunya contempor脿nia</a></p> <h3>Educaci贸</h3> <p><a href="https://www.enciclopedia.cat/aprendre-a-aprendre?search_api_fulltext=&field_faceta_cerca_1=87">Aprendre a aprendre</a></p> <h3>Geografia</h3> <p><a href="/comarques-de-catalunya?search_api_fulltext=&field_faceta_cerca_1=4800">Comarques de Catalunya</a></p> </div> <div class="col-md-3 sin-h2"> <h3>Hist貌ria i pol铆tica</h3> <p><a href="/atles-electoral-de-la-segona-republica-a-catalunya?search_api_fulltext=&field_faceta_cerca_1=4814">Atles electoral de la Segona Rep煤blica a Catalunya</a></p> <p><a href="/historia-politica-societat-i-cultura-dels-pa%C3%AFsos-catalans?search_api_fulltext=&field_faceta_cerca_1=4809">Hist貌ria. Pol铆tica, societat i cultura dels Pa茂sos Catalans</a></p> <p><a href="/historia-de-la-generalitat-de-catalunya-i-dels-seus-presidents?search_api_fulltext=&field_faceta_cerca_1=4799">Hist貌ria de la Generalitat de Catalunya i els seus presidents</a></p> <p><a href="/lluis-companys-president-de-catalunya?search_api_fulltext=&field_faceta_cerca_1=4815">Llu铆s Companys, president de Catalunya</a></p> <h3>Llengua</h3> <p><a href="/llibre-estil-enciclopedia-catalana?search_api_fulltext=&field_faceta_cerca_1=4795">Llibre d'estil</a></p> <h3>Medicina</h3> <p><a href="/enciclopedia-de-medicina-i-salut?search_api_fulltext=&field_faceta_cerca_1=68">Enciclop猫dia de medicina i salut</a></p> <h3>Natura i ecologia</h3> <p><a href="/biosfera?search_api_fulltext=&field_faceta_cerca_1=4805">Biosfera</a></p> <p><a href="/historia-natural-dels-paisos-catalans?search_api_fulltext=&field_faceta_cerca_1=4807">Hist貌ria natural dels Pa茂sos Catalans</a></p> </div> </div> </div> </div> </div> </div> </div></div> </div> </div> </div> </div> </li> </ul> </div> </nav> </div> </div> </div> <div id="block-searchmobile" class="display-none block-btn-search block block-block-content block-block-contentac4dbdb1-34a3-422e-a808-b34ca42c0aa2"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><a class="btn-search" href="#"><i class="fas fa-search"></i></a></div> </div> </div> </div> </div> <div class="views-exposed-form block-cerca-home justify-content-center bk-gray-50 block block-views block-views-exposed-filter-blockcerca-gec-solr-page-1" data-drupal-selector="views-exposed-form-cerca-gec-solr-page-1" id="block-exposedformcerca-gec-solrpage-1-2"> <div class="content"> <form action="/cerca/gec" method="get" id="views-exposed-form-cerca-gec-solr-page-1" accept-charset="UTF-8"> <div class="form-row"> <fieldset class="js-form-item js-form-type-search-api-autocomplete form-type-search-api-autocomplete js-form-item-search-api-fulltext form-item-search-api-fulltext form-no-label form-group"> <input placeholder="Cerca" data-drupal-selector="edit-search-api-fulltext" data-search-api-autocomplete-search="cerca_gec_solr" class="form-autocomplete form-control" data-autocomplete-path="/search_api_autocomplete/cerca_gec_solr?display=page_1&&filter=search_api_fulltext" type="text" id="edit-search-api-fulltext" name="search_api_fulltext" value="" size="30" maxlength="128" /> </fieldset> <fieldset class="js-form-item js-form-type-select form-type-select js-form-item-field-faceta-cerca-1 form-item-field-faceta-cerca-1 form-no-label form-group"> <select data-drupal-selector="edit-field-faceta-cerca-1" id="edit-field-faceta-cerca-1" name="field_faceta_cerca_1" class="form-select custom-select"><option value="All" selected="selected">- Tot -</option><option value="938">Gran enciclop猫dia catalana</option><option value="87">Aprendre a aprendre</option><option value="4773">Art de Catalunya</option><option value="4796">Atles de la diversitat</option><option value="4806">Atles de la pres猫ncia catalana al m贸n</option><option value="4814">Atles electoral Segona Republica a Catalunya</option><option value="4805">Biosfera</option><option value="4811">Caixes i bancs de Catalunya</option><option value="4765">Catalunya rom脿nica</option><option value="4800">Comarques de Catalunya</option><option value="4769">Del rom脿 al rom脿nic</option><option value="1218">Diccionari de la literatura catalana</option><option value="1225">Diccionari del cinema a Catalunya</option><option value="1162">Diccionari dels partits pol铆tics de Catalunya, segle XX</option><option value="1219">Diccionari d鈥檋istoriografia catalana</option><option value="4816">El Modernisme</option><option value="68">Enciclop猫dia de medicina i salut</option><option value="4774">Enciclop猫dia tem脿tica PROA</option><option value="1001">Esportp猫dia</option><option value="4770">F脿briques i empresaris</option><option value="1224">Gran enciclop猫dia de la m煤sica</option><option value="4799">Hist貌ria de la Generalitat de Catalunya i dels seus presidents</option><option value="4813">Hist貌ria econ貌mica de la Catalunya contempor脿nia</option><option value="4807">Hist貌ria natural dels Pa茂sos Catalans</option><option value="4809">Hist貌ria. Pol铆tica, societat i cultura dels Pa茂sos Catalans</option><option value="4795">Llibre d鈥檈stil d鈥橢nciclop猫dia Catalana</option><option value="4815">Llu铆s Companys, president de Catalunya</option><option value="4808">L鈥橝rt g貌tic a Catalunya</option><option value="4812">T猫cnics i tecnologia en el desenvolupament de la Catalunya contempor脿nia</option><option value="4981">Temes d鈥檃ctualitat</option><option value="4777">Tradicionari</option></select> </fieldset> <div data-drupal-selector="edit-actions" class="form-actions js-form-wrapper form-group" id="edit-actions"><input data-drupal-selector="edit-submit-cerca-gec-solr" type="submit" id="edit-submit-cerca-gec-solr" value="Cerca" class="button js-form-submit form-submit btn btn-primary form-control" /> </div> </div> </form> </div> </div> </section> </nav> </header> <div class="highlighted"> <aside class="container-fluid section clearfix" role="complementary"> <section class="region region-highlighted"> <div data-drupal-messages-fallback class="hidden"></div> </section> </aside> </div> <div id="main-wrapper" class="layout-main-wrapper clearfix"> <div id="main" class="container-fluid"> <div class="row row-offcanvas row-offcanvas-left clearfix"> <main class="main-content col" id="content" role="main"> <section class="section"> <a id="main-content" tabindex="-1"></a> <section class="region region-content"> <div id="block-gec-content" class="block block-system block-system-main-block"> <div class="content"> La p脿gina sol路licitada no s'ha pogut trobar. </div> </div> </section> </section> </main> </div> </div> </div> <div class="featured-bottom"> <aside class="container clearfix" role="complementary"> <section class="row region region-featured-bottom-first"> <div id="block-logoenciclopediafooter" class="block block-block-content block-block-contentb710a73d-8a96-4694-81e9-38e159e4a48d"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><div><img alt="enciclop猫dia" data-entity-type="file" src="/sites/default/files/logo-enciclopedia_0.png" width="202px" class="align-left" /></div> </div> </div> </div> </section> <section class="row region region-featured-bottom-second"> <div id="block-socialprefooter" class="social-footer sf-icons block block-block-content block-block-content04769818-edd9-4120-894a-c0bc5ac41063"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><a href="https://twitter.com/enciclopediaCAT" target="_blank"><i class="fab fa-twitter fa-lg" ></i></a> <a href="https://www.facebook.com/Enciclopediacat" target="_blank"><i class="fab fa-facebook-square fa-lg"></i></a></div> </div> </div> </section> <section class="row region region-featured-bottom-third"> <div id="block-subscriutealanewsletter" class="newsletter-block block block-block-content block-block-content8615aaa8-991d-4975-ad60-9de6ddd733ff"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><a class="btn btn-featured-bottom" href="https://grupenciclopedia.cat/landings/subscriu-te-al-butlleti-enciclopediacat/">Vols subscriure't al butllet铆 d'Enciclop猫dia.cat?</a></p> </div> </div> </div> </section> </aside> </div> <footer class="site-footer"> <div class="container"> <div class="site-footer__top clearfix"> <div class="row"> <section class="row region region-footer-first"> <div id="block-grupenciclopediafooter" class="block block-block-content block-block-contentd9da7727-6e04-4b48-a9a6-8df93e14da45"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><div><a href="https://grupenciclopedia.cat/"><img alt="Grup enciclop猫dia" data-entity-type="file" data-entity-uuid="648e3d36-8a51-48ff-a874-3d837d3c19f9" src="/sites/default/files/inline-images/GRUPENCICLOPEDIA.png" /></a></div> </div> </div> </div> <div id="block-socialfooter" class="social-footer sf-icons block block-block-content block-block-content9244dc12-40b3-4380-b1c0-9cb9771e658c"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><a href="https://www.instagram.com/grupenciclopedia/" target="_blank"><i class="fab fa-instagram fa-lg"></i></a> <a href="https://twitter.com/Genciclopedia" target="_blank"><i class="fab fa-twitter fa-lg" ></i></a> <a href="https://www.facebook.com/GrupEnciclopediaCatalana/" target="_blank"><i class="fab fa-facebook-square fa-lg"></i></a> <a href="https://www.youtube.com/user/enciclopediaCAT/playlists" target="_blank"><i class="fab fa-youtube fa-lg"></i></a></div> </div> </div> <div id="block-gec-legalfooter" class="legal-footer block block-block-content block-block-content142a2073-fe9a-4070-9888-7f7c537240d5"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><a href="https://grupenciclopedia.cat/avis-legal/">Av铆s legal</a> <a class="last-legal" href="https://grupenciclopedia.cat/avis-de-cookies/">Galetes</a>聽<br /><a href="https://area.portaldelempleado.com/#/denuncia/enciclopediacatalanasl">Den煤ncies</a>聽<a class="last-legal" href="https://grupenciclopedia.cat/politica-privacitat/">Privacitat</a></p> </div> </div> </div> </section> <section class="row region region-footer-second"> <div id="block-editorials-2" class="menu-block block block-block-content block-block-contenta39a44af-8374-4451-ba2f-7f520392e3a6"> <h2>Segells editorials</h2> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><ul><li><a href="https://grupenciclopedia.cat/diccionaris-de-lenciclopedia/">Diccionaris de l`Enciclop猫dia</a></li> <li><a href="https://grupenciclopedia.cat/enciclopediallibres/">Enciclop猫dia</a></li> </ul></div> </div> </div> </section> <section class="row region region-footer-third"> <div id="block-educacio-2" class="menu-block block block-block-content block-block-content4bc3acc0-8552-4add-9d24-39ab2ce65765"> <h2>Educaci贸</h2> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><ul><li><a href="https://text-lagalera.cat/">Text</a></li> <li><a href="https://www.lecturaenveualta.cat/">Certamen de Lectura<br /> en Veu Alta</a></li> </ul></div> </div> </div> </section> <section class="row region region-footer-fourth"> <div id="block-apps-2" class="menu-block block block-block-content block-block-content57b17e9a-5ada-4142-8fac-314e18e8a3ee"> <h2>Obres de refer猫ncia</h2> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><ul><li><a href="https://enciclopediaart.cat/">Enciclop猫dia Art</a></li> <li><a href="https://enciclopediaart.cat/obres/grans-obres/">Grans obres</a></li> </ul></div> </div> </div> </section> <section class="row region region-footer-fifth"> <div id="block-diccionaris-2" class="menu-block block block-block-content block-block-content30932508-cbc1-4fd5-b3c1-0e51f514039e"> <h2>Coneixement</h2> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><ul><li><a href="https://www.enciclopedia.cat/">Enciclop猫dia.cat</a></li> <li><a href="http://diccionari.cat/">Diccionari.cat</a></li> <li><a href="https://www.enciclopedia.cat/divulcat/">Divulcat</a></li> </ul></div> </div> </div> <div id="block-recolectorscript" class="block block-block-content block-block-contentc8df65e9-57b7-4d51-90ac-65dc26b2fbd5"> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><script> var retryArr = []; var pluginCode = 'eyJ0YXJnZXRzIjpbeyJpZCI6IjYwYTUzMjAyYTA2ZDI2Nzg4NzgyNWI5MyIsIm5hbWUiOiJFbmNpY2xvcGVkaWFEN1VybCIsInNlbGVjdG9yIjoiaHR0cHM6Ly93d3cuZW5jaWNsb3BlZGlhLmNhdC8qIiwidHlwZVNlbGVjdG9yIjoiTmFtZSIsImFjdGlvbiI6ImFjY2VzcyJ9LHsiaWQiOiI2MGE1MzY3N2EwNmQyNjc4ODc4MjVkOTMiLCJuYW1lIjoiRW5jaWNsb3BlZGlhRDdPYnJhIiwic2VsZWN0b3IiOiJlZGl0LWN1c3RvbS1zZWFyY2gtcGF0aHMiLCJ0eXBlU2VsZWN0b3IiOiJJZCIsImFjdGlvbiI6ImNoYW5nZSJ9LHsiaWQiOiI2MGE1M2E3M2EwNmQyNjc4ODc4MjYxZTciLCJuYW1lIjoiQXJ0aWN1bG9UaXR1bG9ENyIsInNlbGVjdG9yIjoiLnBhZ2Utbm9kZSAucGFnZS1oZWFkZXIiLCJ0eXBlU2VsZWN0b3IiOiJxdWVyeSIsImFjdGlvbiI6ImFjY2VzcyJ9LHsiaWQiOiI2MGE1M2FjYmEwNmQyNjc4ODc4MjYyNDUiLCJuYW1lIjoiTWV0YWRhZGVzRDciLCJzZWxlY3RvciI6Ii5wYWdlLW5vZGUgI2Jsb2NrLXZpZXdzLWZpdHhhLWRldGFsbC1hcnRpY2xlLWJsb2NrIC5maWVsZC1jb250ZW50IiwidHlwZVNlbGVjdG9yIjoicXVlcnkiLCJhY3Rpb24iOiJhY2Nlc3MifSx7ImlkIjoiNjBhNTNiOWNhMDZkMjY3ODg3ODI2MzE2IiwibmFtZSI6IkVuY2ljbG9wZWRpYUQ3Q2VyY2FHZW5lcmFsIiwic2VsZWN0b3IiOiIuc2VhcmNoLWZvcm0gLmZvcm0tdHlwZS10ZXh0ZmllbGQgaW5wdXQiLCJ0eXBlU2VsZWN0b3IiOiJxdWVyeSIsImFjdGlvbiI6ImNoYW5nZSJ9XSwidG9rZW4iOiIxNXFhOXM2NnFsYzZ2ejJqaXVnbmlwIiwiZW5kcG9pbnQiOiJodHRwczovL3d3dy5lbmNpY2xvcGVkaWEuY2F0L3YxL2VuZHBvaW50In0='; function random() { return Math.random().toString(36).substr(2); // Eliminar '0.' }; function token() { return random() + random(); // Para hacer el token m谩s largo }; var token = token(); decodePlugin(pluginCode); function decodePlugin(code){ var decode = decodeURIComponent(escape(window.atob( code ))); decode = JSON.parse(decode || '{}'); getFieldsData(decode) console.log('decode',decode) } function getFieldsData(fieldsData) { console.log('token',token); for (const field of fieldsData.targets) { var selector = field.selector; if(field.typeSelector === "Name" && field.action != 'access' && field.selector){ var selector_ = document.getElementsByName(field.selector); selector_ = selector_[0].id; selector = selector_; } var id = field.id; var name = field.name.replace(/ /g, ''); var action = field.action; var selectorValue = null; var url = location.href; var endpoint = fieldsData.endpoint; if(action && field.typeSelector && selector && url && endpoint && token){ var createMethod = ''; var script = "var field"+name+" = "+JSON.stringify(fieldsData)+";"; script += "var target"+name+" = "+JSON.stringify({id:id,action:action,name:field.name,selector:selector,value:'',tokenSend:token})+";"; if(action != 'access'){ if(field.typeSelector === 'query'){ createMethod = "selectElement"+name+" = document.querySelectorAll('"+selector+"');"; createMethod += "if(selectElement"+name+"){"; createMethod += "for (var i = 0; i < selectElement"+name+".length; i++) {"; createMethod += "const element = selectElement"+name+"[i];"; createMethod += "element.addEventListener('"+action+"', (event) => {"; createMethod += "target"+name+".value = event.target.textContent;"; createMethod += "field"+name+".targets = target"+name+";"; createMethod += "field"+name+".url = '"+url+"';"; createMethod += "if(target"+name+".value != '' && target"+name+".value != undefined && target"+name+".value != 'undefined'){"; createMethod += "sendDataRecolector(field"+name+",'"+endpoint+"');"; createMethod += "}"; //createMethod += "// console.log('"+name+"',event,event.target,event.target.textContent,event.target.classList);"; createMethod += "});"; createMethod += "}"; createMethod += "}"; createMethod += "else{"; createMethod += "setTimeout(function(){ "; createMethod += "console.log('2sec');"; createMethod += "if(selectElement" + name + "){"; createMethod += "for (var i = 0; i < selectElement" + name + ".length; i++) {"; createMethod += "const element = selectElement" + name + "[i];"; createMethod += "element.addEventListener('" + action + "', (event) => {"; createMethod += "target" + name + ".value = event.target.textContent;"; createMethod += "field" + name + ".targets = target" + name + ";"; createMethod += "field" + name + ".url = '" + url + "';"; createMethod += "if(target" + name + ".value != '' && target" + name + ".value != undefined && target" + name + ".value != 'undefined'){"; createMethod += "sendDataRecolector(field" + name + ",'" + endpoint + "');"; createMethod += "}"; createMethod += "});"; createMethod += "}"; createMethod += "}"; createMethod += "}, 2000);"; createMethod += "}"; }else{ createMethod = "var selectElement"+name+" = document.getElementById('"+selector+"');"; createMethod += "if(selectElement"+name+"){"; createMethod += "selectElement"+name+".addEventListener('"+action+"', (event) => {"; createMethod += "console.log('"+name+"',event.target.value);"; createMethod += "target"+name+".value = document.getElementById('"+selector+"').value;"; createMethod += "field"+name+".targets = target"+name+";"; createMethod += "field"+name+".url = '"+url+"';"; createMethod += "console.log('field"+name+"',field"+name+");"; createMethod += "if(target"+name+".value != '' && target"+name+".value != undefined && target"+name+".value != 'undefined'){"; createMethod += "sendDataRecolector(field"+name+",'"+endpoint+"');"; createMethod += "}"; createMethod += "});"; createMethod += "}"; createMethod += "else{"; createMethod += "setTimeout(function(){"; createMethod += "console.log('2sec');"; createMethod += "if(selectElement" + name + "){"; createMethod += "selectElement" + name + ".addEventListener('" + action + "', (event) => {"; createMethod += "console.log('" + name + "',event.target.value);"; createMethod += "target" + name + ".value = document.getElementById('" + selector + "').value;"; createMethod += "field" + name + ".targets = target" + name + ";"; createMethod += "field" + name + ".url = '" + url + "';"; createMethod += "console.log('field" + name + "',field" + name + ");"; createMethod += "if(target" + name + ".value != '' && target" + name + ".value != undefined && target" + name + ".value != 'undefined'){"; createMethod += "sendDataRecolector(field" + name + ",'" + endpoint + "');"; createMethod += "}"; createMethod += "});"; createMethod += "}"; createMethod += "}, 2000);"; createMethod += "}"; } }else{ if(url === selector){ createMethod = "if('"+url+"' === '"+selector+"'){"; createMethod += "target"+name+".value = '"+selector+"';"; createMethod += "field"+name+".targets = target"+name+";"; createMethod += "field"+name+".url = '"+url+"';"; createMethod += "if(target"+name+".value != '' && target"+name+".value != undefined && target"+name+".value != 'undefined'){"; createMethod += "sendDataRecolector(field"+name+",'"+endpoint+"');"; createMethod += "}"; createMethod += "}"; }else if (selector.indexOf('*') != -1 && url.indexOf(selector.replace('*', '')) != -1 ){ createMethod = "if('"+url.indexOf(selector.replace('*', ''))+"' != -1){"; createMethod += "target"+name+".value = '"+selector+"';"; createMethod += "field"+name+".targets = target"+name+";"; createMethod += "field"+name+".url = '"+url+"';"; createMethod += "if(target"+name+".value != '' && target"+name+".value != undefined && target"+name+".value != 'undefined'){"; createMethod += "sendDataRecolector(field"+name+",'"+endpoint+"');"; createMethod += "}"; createMethod += "}"; } if(field.typeSelector === 'query'){ script = ''; createMethod = "var selectElement"+name+" = document.querySelectorAll('"+selector+"');"; createMethod += "if(selectElement"+name+"){"; createMethod += "selectElement"+name+".forEach(e => {"; createMethod += "var field"+name+" = "+JSON.stringify(fieldsData)+";"; createMethod += "field"+name+".url = '"+url+"';"; createMethod += "var target"+name+" = "+JSON.stringify({id:id,action:action,name:field.name,selector:selector,value:'',tokenSend:token})+";"; createMethod += "target"+name+".value = e.textContent;"; createMethod += "field"+name+".targets = target"+name+";"; createMethod += "if(target"+name+".value != '' && target"+name+".value != undefined && target"+name+".value != 'undefined'){"; createMethod += "sendDataRecolector(field"+name+",'"+endpoint+"');"; createMethod += "}"; createMethod += "});"; createMethod += "}"; } }; if(createMethod){ script = script+createMethod; // creamos una etiqueta script var s = document.createElement("script"); // indicamos en el atributo src el fichero que quieres cargar s.innerHTML = script; // lo a帽adimos al documento (y se ejecuta automaticamente) document.querySelector("body").appendChild(s); console.log(field); } } } } function sendDataRecolector(obj, url,method = 'POST'){ console.log('entro',obj,url) // return false var jsonData = obj; var newXHR = new XMLHttpRequest(); newXHR.addEventListener( 'load', reqListener ); newXHR.open( method, url ); newXHR.setRequestHeader( 'Content-Type', 'application/json' ); var formattedJsonData = JSON.stringify( jsonData ); console.log( jsonData ); newXHR.send( formattedJsonData ); } function reqListener () { console.log( this.response ); } </script></div> </div> </div> </section> <section class="row region region-footer-sixth"> <div id="block-distribucio" class="menu-block block block-block-content block-block-contentbf9eb217-8410-409e-bce1-5ca509591a20"> <h2>Distribuci贸</h2> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><ul><li><a href="https://www.agorallibres.cat/">脌gora</a></li> </ul></div> </div> </div> </section> </div> </div> </div> <div class="bottom-footer"> <div class="container"> <div class="site-footer__top clearfix"> <div class="row"> <section class="row region region-footer-seventh"> <div id="block-cookiesui" class="block block-cookies block-cookies-ui-block"> <div class="content"> <div id="cookiesjsr"></div> </div> </div> </section> <section class="row region region-footer-eighth"> <div id="block-infoenciclopedia" class="info-enciclopedia-footer block block-block-content block-block-contentf7870aab-6fbe-4925-9fa2-d68862763df8"> <h2>Contacte</h2> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Carrer de Josep Pla, 95<br /> 08019 Barcelona<br /> Tel猫fon: 934 120 030<br /> Tel猫fon d'atenci贸 al subscriptor:<br /> 934 126 124<br /> comunicacio@enciclopedia.cat</p> </div> </div> </div> </section> <section class="row region region-footer-ninth"> <div id="block-subscriures" class="newsletter-block block block-block-content block-block-content479259d2-ed77-4404-9117-9e4a6cd0b1cc"> <h2>Subscriu-te als butlletins del Grup Enciclop猫dia</h2> <div class="content"> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><a class="btn btn-featured-bottom" href="https://grupenciclopedia.cat/landings/subscripcio-butlletins-grup-enciclopedia/#">Tria quin vols rebre</a></p> </div> </div> </div> </section> </div> </div> </div> </div> </footer> </div> </div> </div> <script type="application/json" data-drupal-selector="drupal-settings-json">{"path":{"baseUrl":"\/","scriptPath":null,"pathPrefix":"","currentPath":"","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"ca"},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"ajaxPageState":{"libraries":"addtoany\/addtoany,back_to_top\/back_to_top_icon,back_to_top\/back_to_top_js,bootstrap_barrio\/bootstrap_cdn,bootstrap_barrio\/fontawesome,bootstrap_barrio\/form,bootstrap_barrio\/global-styling,bootstrap_barrio\/messages_white,collapsiblock\/core,cookies\/cookiesjsr,cookies\/cookiesjsr.styles,cookies_ga\/analytics,core\/html5shiv,fontawesome\/fontawesome.svg.shim,gec\/bootstrap_cdn,gec\/global-styling,google_analytics\/google_analytics,pwa\/serviceworker,search_api_autocomplete\/search_api_autocomplete,simple_responsive_table\/global-styling,system\/base,we_megamenu\/form.we-mega-menu-frontend","theme":"gec","theme_token":null},"ajaxTrustedUrl":{"form_action_p_pvdeGsVG5zNF_XLGPTvYSKCf43t8qZYSwcfZl2uzM":true,"\/cerca\/gec":true},"back_to_top":{"back_to_top_button_trigger":100,"back_to_top_prevent_on_mobile":true,"back_to_top_prevent_in_admin":false,"back_to_top_button_type":"image","back_to_top_button_text":"Back to top"},"google_analytics":{"account":"G-25SGBGPBS0","trackOutbound":true,"trackMailto":true,"trackTel":true,"trackDownload":true,"trackDownloadExtensions":"7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip"},"pwa":{"cache_version":"8.x-1.5-v1","installPath":"\/serviceworker-pwa"},"simpleResponsiveTable":{"maxWidth":"767","modulePath":"modules\/simple_responsive_table"},"collapsiblock":{"active_pages":false,"slide_type":1,"slide_speed":200},"cookiesjsr":{"config":{"cookie":{"name":"cookiesjsr","expires":31536000000,"domain":"","sameSite":"Lax","secure":false},"library":{"libBasePath":"\/libraries\/cookiesjsr\/dist","libPath":"\/libraries\/cookiesjsr\/dist\/cookiesjsr.min.js","scrollLimit":250},"callback":{"method":"post","url":"\/cookies\/consent\/callback.json","headers":[]},"interface":{"openSettingsHash":"#editCookieSettings","showDenyAll":false,"denyAllOnLayerClose":false,"settingsAsLink":false,"availableLangs":["en","ca"],"defaultLang":"ca","groupConsent":false,"cookieDocs":false}},"services":{"default":{"id":"default","services":[{"key":"base","type":"default","name":"Necess\u00e0ries","info":{"value":"","format":"full_html"},"uri":"https:\/\/grupenciclopedia.cat\/avis-de-cookies\/","needConsent":false}],"weight":1},"tracking":{"id":"tracking","services":[{"key":"analytics","type":"tracking","name":"Google Analytics","info":[],"uri":"https:\/\/support.google.com\/analytics\/answer\/6004245","needConsent":true}],"weight":10},"performance":{"id":"performance","services":[{"key":"gtag","type":"performance","name":"Google Tag Manager","info":[],"uri":"https:\/\/policies.google.com\/privacy","needConsent":true}],"weight":30},"video":{"id":"video","services":[{"key":"video","type":"video","name":"Video provided by YouTube, Vimeo","info":[],"uri":"https:\/\/policies.google.com\/privacy","needConsent":true}],"weight":40}},"translation":{"langcode":"ca","default_langcode":"en","bannerText":"Les galetes (cookies) s\u00f3n importants per a tu, influeixen en la teva experi\u00e8ncia de navegaci\u00f3, ens ajuden a protegir la teva privacitat i permeten realitzar les peticions que ens sol\u00b7licitis a trav\u00e9s de la web. Utilitzem galetes pr\u00f2pies i de tercers per a analitzar els nostres serveis i mostrar-te publicitat relacionada amb les teves prefer\u00e8ncies sobre la base d\u2019un perfil elaborat amb els teus h\u00e0bits de navegaci\u00f3 (per exemple, p\u00e0gines visitades). Si consents la seva instal\u00b7laci\u00f3 prem \u0022Acceptar Galetes\u0022 o tamb\u00e9 pots configurar les teves prefer\u00e8ncies prement \u0022Par\u00e0metres\u0022. ","privacyPolicy":"Pol\u00edtica de Galetes","privacyUri":"https:\/\/grupenciclopedia.cat\/avis-de-cookies\/","imprint":"","imprintUri":"","cookieDocs":"","cookieDocsUri":"https:\/\/grupenciclopedia.cat\/avis-de-cookies\/","denyAll":"Rebutjar","settings":"Par\u00e0metres","acceptAll":"Acceptar Galetes","allowAll":"Accept all","cookieSettings":"Configurar galetes","close":"Tanca","officialWebsite":"Veure el lloc web oficial","requiredCookies":"Necess\u00e0ries","readMore":"Llegeix m\u00e9s","allowed":"perm\u00e8s","denied":"negat","alwaysActive":"Sempre actives","settingsAllServices":"Configura per a tots els serveis","saveSettings":"Desa","credit":"","_core":{"default_config_hash":"X8VxTkyAAEb9q-EhYz30-BkJ9Ftv5-u1H7BXLXHQe1o"},"default":{"title":"Galetes t\u00e8cniques (necess\u00e0ries)","details":"Aquestes galetes s\u00f3n importants per a donar-te acc\u00e9s segur a zones amb informaci\u00f3 personal o per a recon\u00e8ixer-te quan inicies sessi\u00f3."},"tracking":{"title":"Galetes Anal\u00edtiques","details":"Permeten mesurar, de forma an\u00f2nima, el nombre de visites o l\u2019activitat. Gr\u00e0cies a elles podem millorar constantment la teva experi\u00e8ncia de navegaci\u00f3. Podr\u00e0s disposar d\u2019una millora cont\u00ednua en l\u2019experi\u00e8ncia de navegaci\u00f3."},"performance":{"title":"Galetes de Personalitzaci\u00f3","details":"Aquestes galetes estan relacionades amb caracter\u00edstiques generals com, per exemple, el navegador que utilitzes, i podr\u00e0s disposar d\u2019una experi\u00e8ncia i continguts personalitzats."},"video":{"title":"V\u00eddeo","details":"Video sharing services help to add rich media on the site and increase its visibility."}}},"search_api_autocomplete":{"cerca_gec_solr":{"auto_submit":true}},"user":{"uid":0,"permissionsHash":"4b7488e9910474407e9ca1a8c87e839508d9121f3caf4dd2de6a662419f2264c"}}</script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="/sites/default/files/js/js_RyvVqxI1KcaRKAWwdf177w2sL_s9l_tJY7RLQseVylo.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <script src="/sites/default/files/js/js_0t--QbM9zdcdKkLRh92BYTBnCf-UxXAvWAAAZmPaYEs.js"></script> <script src="https://static.addtoany.com/menu/page.js" async></script> <script src="/sites/default/files/js/js_MjVgfHhCb9q1-yQ-dq55N_ITSN8FJmBKhu7mcNJ_FWg.js"></script> <script src="//stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> <script src="/sites/default/files/js/js_GcfNly5KY0WNSHvElUzmUVBKjQsUdHsKbzJAX5RIzHs.js"></script> <script src="/modules/cookies_PREV/cookies/js/cookiesjsr.conf.js?v=8.9.13"></script> <script src="/libraries/cookiesjsr/dist/cookiesjsr-preloader.min.js?v=8.9.13" defer></script> <script src="/sites/default/files/js/js_AuycnoN7o3iTp58WnQMru8S224Tic6vl4GbF_YNsrl0.js"></script> <script src="//stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script> <script src="/sites/default/files/js/js_uLHz2nO88mZg_kTi2GhAZ41OtvvVygdjSTqgjkxUqas.js"></script> <script> (function($) { $(document).ready(function() { $('[data-toggle=tooltip]').tooltip(); $('[data-toggle=popover]').popover(); }); })(jQuery); </script> </body> </html>